1 2014-12-12 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4 PREFIX, string constant to insert between directory and name.
5 * sysdeps/posix/shm_open.c: Update caller.
6 * sysdeps/posix/shm_unlink.c: Likewise.
7 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9 (SEM_SHM_PREFIX): New macro.
10 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11 [$(have-thread-library) = no].
12 * nptl/Makefile (libpthread-routines): Add shm-directory.
13 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
14 * sysdeps/nptl/shm-directory.h: New file.
15 * sysdeps/posix/shm-directory.c
16 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
20 (__where_is_shmfs): Function removed.
21 (mountpoint, defaultmount, defaultdir, __namedsem_once):
23 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
27 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
28 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29 unconditional for use inside libpthread.
30 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
32 2014-12-12 Roland McGrath <roland@hack.frob.com>
34 * nptl/pthread_getaffinity.c: New file.
35 * nptl/pthread_setaffinity.c: New file.
36 * nptl/pthread_getname.c: New file.
37 * nptl/pthread_setname.c: New file.
39 * nptl/pthread_create.c (START_THREAD_DEFN)
40 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
43 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45 * resolv/res_send.c (send_vc): Disable warning resplen may
46 be used uninitialized.
48 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
51 (ATTR_NULL): New define checks ATTR against NULL.
52 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
53 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
55 2014-12-11 James Lemke <jwlemke@codesourcery.com>
59 (mem2mem_check): Revert my previous change.
60 (malloc_check_get_size): Revert my previous change.
61 (mem2chunk_check): Revert my previous change.
63 2014-12-11 Roland McGrath <roland@hack.frob.com>
65 * sysdeps/posix/shm-directory.c: New file.
66 * sysdeps/posix/shm-directory.h: New file.
67 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
68 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
69 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
70 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
71 Transmute EPERM to EACCES.
72 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
74 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
75 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
77 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
80 pointer and cast to uintptr_t.
81 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
82 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
83 Add cast to avoid warning.
84 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
86 2014-12-11 Joseph Myers <joseph@codesourcery.com>
88 * nptl/semaphore.h: Move to ...
89 * sysdeps/pthread/semaphore.h: ... here.
90 * Makefile (installed-headers): Change nptl/semaphore.h to
91 sysdeps/pthread/semaphore.h.
93 2014-12-11 Roland McGrath <roland@hack.frob.com>
95 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
96 generated error format strings.
98 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
99 -Wformat-extra-args warnings for scanf formats.
100 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
101 test of zero-length format (duh).
102 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
103 corner-case scanf format test.
104 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
105 generated fprintf format string.
106 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
107 corner-case sprintf format tests.
108 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
109 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
110 -Wformat-extra-args warnings throughout.
111 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
112 (CFLAGS-scanf4.c): Likewise.
113 (CFLAGS-scanf7.c): Likewise.
114 (CFLAGS-tst-sprintf.c): Likewise.
115 (CFLAGS-tst-printf.c): Likewise.
116 (CFLAGS-tst-printfsz.c): Likewise.
118 2014-12-11 Joseph Myers <joseph@codesourcery.com>
120 * include/cpio.h: New file.
121 * include/fmtmsg.h: Likewise.
123 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
124 corresponding format argument to size_t.
125 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
127 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
128 corresponding format argument to size_t.
129 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
131 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
132 corresponding format argument to size_t.
133 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
134 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
135 (CFLAGS-tst-mbswcs2.c): Likewise.
136 (CFLAGS-tst-mbswcs3.c): Likewise.
137 (CFLAGS-tst-mbswcs4.c): Likewise.
138 (CFLAGS-tst-mbswcs5.c): Likewise.
139 (CFLAGS-tst-trans.c): Likewise
141 2014-12-11 Roland McGrath <roland@hack.frob.com>
143 * posix/regexbug1.c (main): Use "%s" format with regerror results,
144 rather than assuming they won't contain any '%'s.
146 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
148 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
149 inhibit_loop_to_libcall to avoid recursive calls.
150 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
151 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
153 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
155 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
158 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
160 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
161 integer value instead of boolean.
163 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
165 * malloc/malloc.c: Fix powerof2 check.
167 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
169 * locale/programs/locfile.h (maybe_swap_uint32):
170 Remove inline and add unused attribute.
172 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
174 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
175 Truncating assembler expression to a .long expression.
177 2014-12-11 Andreas Schwab <schwab@suse.de>
179 * elf/rtld.c (struct map_args): Constify str member.
180 (do_preload): Constify fname argument.
182 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
184 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
185 constants definition.
187 2014-12-11 Andreas Schwab <schwab@suse.de>
190 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
191 FORCE_ELISION instead of DO_ELISION.
192 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
194 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
197 * iconvdata/gconv-modules: Remove duplicate entry.
199 2014-12-11 Will Newton <will.newton@linaro.org>
201 Merge gettext 0.19.3 into intl/.
203 This involves a number of cosmetic changes to comments
204 and ANSI function definitions and prototypes throughout
205 all the files. The gettext copyright header is used but
206 with the date ranges taken from the glibc copy.
208 * NEWS: Add gettext merge to 2.21.
209 * intl/bindtextdom.c: Switch to gettext copyright.
210 Use ANSI definitions and prototypes.
211 Use gl_* locking primitives rather than __libc_* ones.
212 Use __builtin_expect rather than __glibc_likely/unlikely.
213 * intl/dcgettext.c: Switch to gettext copyright.
214 Use ANSI definitions and prototypes.
215 * intl/dcigettext.c: Switch to gettext copyright.
216 Use ANSI definitions and prototypes.
217 (INTDIV0_RAISES_SIGFPE): New define.
218 Use gl_* locking primitives rather than __libc_* ones.
219 Include eval-plural.h instead of plural-eval.c.
220 Use __builtin_expect rather than __glibc_likely/unlikely.
221 * intl/dcngettext.c: Switch to gettext copyright.
222 Use ANSI definitions and prototypes.
223 * intl/dgettext.c: Likewise.
224 * intl/dngettext.c: Likewise.
225 * intl/plural-eval.c: Renamed to...
226 * intl/eval-plural.h: ...this.
227 * intl/explodename.c: Switch to gettext copyright.
228 Use ANSI definitions and prototypes.
229 (_nl_explode_name): Use strchr instead of __rawmemchr.
230 * intl/finddomain.c: Switch to gettext copyright.
231 Use ANSI definitions and prototypes.
232 Use gl_* locking primitives rather than __libc_* ones.
233 (_nl_find_domain): Use malloc rather than alloca for
234 allocation of temporary locale name.
235 * intl/gettext.c: Switch to gettext copyright.
236 Use ANSI definitions and prototypes.
237 * intl/gettextP.h: Switch to gettext copyright.
238 Use ANSI definitions and prototypes.
239 Use gl_* locking primitives rather than __libc_* ones.
240 * intl/gmo.h: Switch to gettext copyright.
241 (struct sysdep_string): Move struct segment_pair outside of
243 * intl/hash-string.c: Use ANSI definitions and prototypes.
244 * intl/hash-string.h: Switch to gettext copyright.
245 Use ANSI definitions and prototypes.
246 * intl/l10nflist.c: Switch to gettext copyright.
247 Use ANSI definitions and prototypes.
248 (_nl_normalize_codeset): Avoid integer overflow.
249 * intl/loadinfo.h: Switch to gettext copyright.
250 Use ANSI definitions and prototypes.
251 (LIBINTL_DLL_EXPORTED): New define.
252 (PATH_SEPARATOR): New define.
253 * intl/loadmsgcat.c: Switch to gettext copyright.
254 * intl/localealias.c: Switch to gettext copyright.
255 Use ANSI definitions and prototypes.
256 (_nl_expand_alias): Use PATH_SEPARATOR.
257 * intl/ngettext.c: Switch to gettext copyright.
258 Use ANSI definitions and prototypes.
259 * intl/plural-exp.c: Likewise.
260 * intl/plural-exp.h: Switch to gettext copyright.
261 Use ANSI definitions and prototypes.
262 (struct expression): Move definition of enum operator outside
263 of struct definition.
264 * intl/plural.c: Regenerate.
265 * intl/plural.y: Switch to gettext copyright.
266 Use ANSI definitions and prototypes.
268 * intl/textdomain.c: Switch to gettext copyright.
269 Use ANSI definitions and prototypes.
270 Use gl_* locking primitives rather than __libc_* ones.
272 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
274 * debug/warning-nop.c: Add used atrribute.
276 2014-12-10 Joseph Myers <joseph@codesourcery.com>
278 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
280 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
281 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
282 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
284 2014-12-10 Joseph Myers <joseph@codesourcery.com>
285 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
288 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
289 Undefine after defining function. Define as weak alias of
290 __wcschr. Use libc_hidden_weak.
291 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
292 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
293 (libc_hidden_def): Also define __GI___wcschr alias.
294 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
295 __wcschr and define as weak alias of __wcschr.
296 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
298 [!WCSCHR] (DEFAULT_WCSCHR): Define.
299 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
300 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
301 libc_hidden_weak. Do not use libc_hidden_def.
302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
303 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
305 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
306 [IS_IN (libc)] (wcschr): Define as macro expanding to
308 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
309 [IS_IN (libc)] (__wcschr_power6): Likewise.
310 [IS_IN (libc)] (__wcschr_power7): Likewise.
311 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
313 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
315 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
316 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
317 __wcschr and define as weak alias of __wcschr. Use
318 libc_hidden_builtin_def.
319 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
320 as weak alias of __wcschr. Use libc_hidden_weak.
321 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
323 * time/era.c (_nl_init_era_entries): Likewise.
324 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
326 (test-xfail-XPG3/time.h/linknamespace): Likewise.
327 (test-xfail-XPG4/time.h/linknamespace): Likewise.
329 2014-12-10 Joseph Myers <joseph@codesourcery.com>
331 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
332 format for long int variable.
334 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
337 * manual/search.texi: (Array Sort Function): Remove claim how to make
340 2014-12-10 Andreas Schwab <schwab@suse.de>
343 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
344 user-controlled locks.
346 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
348 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
351 2014-12-10 Joseph Myers <joseph@codesourcery.com>
353 * configure.ac (--disable-werror): New configure option.
354 (enable_werror): New AC_SUBST.
355 * configure: Regenerated.
356 * config.make.in (enable-werror): New variable.
357 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
359 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
360 * manual/install.texi (Configuring and compiling): Document
362 * INSTALL: Regenerated.
363 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
364 (CFLAGS-tst-chk2.c): Likewise.
365 (CFLAGS-tst-chk3.c): Likewise.
366 (CFLAGS-tst-chk4.cc): Likewise.
367 (CFLAGS-tst-chk5.cc): Likewise.
368 (CFLAGS-tst-chk6.cc): Likewise.
369 (CFLAGS-tst-lfschk1.c): Likewise.
370 (CFLAGS-tst-lfschk2.c): Likewise.
371 (CFLAGS-tst-lfschk3.c): Likewise.
372 (CFLAGS-tst-lfschk4.cc): Likewise.
373 (CFLAGS-tst-lfschk5.cc): Likewise.
374 (CFLAGS-tst-lfschk6.cc): Likewise.
376 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
377 (main): Disable -Wdeprecated-declarations around calls to
378 register_printf_function.
380 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
381 (do_test): Disable -Wdiv-by-zero around some calls to
382 fwrite_unlocked and fread_unlocked.
384 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
385 (DIAG_POP_NEEDS_COMMENT): Likewise.
386 (_DIAG_STR1): Likewise.
387 (_DIAG_STR): Likewise.
388 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
389 * stdio-common/bug21.c: Include <libc-internal.h>.
390 (do_test): Disable -Wformat around call to sscanf.
391 * stdio-common/scanf14.c: Include <libc-internal.h>.
392 (main): Disable -Wformat around some calls to scanf functions.
394 2014-12-09 Torvald Riegel <triegel@redhat.com>
396 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
398 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
400 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
401 stack variable alignment.
403 2014-12-06 Joseph Myers <joseph@codesourcery.com>
406 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
407 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
408 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
409 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
410 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
411 __getrlimit instead of getrlimit.
412 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
413 __gettimeofday instead of gettimeofday.
414 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
416 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
418 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
419 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
421 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
422 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
424 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
426 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
427 for wide-character tests.
429 2014-12-04 Roland McGrath <roland@hack.frob.com>
431 * io/openat64.c: #include <libc-internal.h>
432 (__openat64): Prototypify. Use ignore_value on MODE.
433 * io/openat.c: Likewise.
434 * misc/reboot.c: #include <libc-internal.h>
435 (reboot): Prototypify. Use ignore_value on HOWTO.
436 * misc/ptrace.c: #include <libc-internal.h>
437 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
439 2014-12-04 Joseph Myers <joseph@codesourcery.com>
441 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
442 XPG4, UNIX98 and XOPEN2K.
443 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
445 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
447 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
449 * libio/fileops.c: Use ISO C style for function definitions.
450 * libio/iofopen.c: Likewise.
451 * libio/wfileops.c: Likewise.
454 * libio/fileops.c (_IO_new_file_underflow): Unset cached
456 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
457 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
458 (fgets_func): Function pointer to fgets and fgetws.
459 (do_ftell_test): Add test to verify ftell value after read
461 (do_test): Set fgets_func.
463 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
464 O_TRUNC flag for w and w+ modes.
465 (do_rewind_test): Likewise.
466 (do_ftell_test): Likewise.
467 (do_write_test): Likewise.
470 * libio/fileops.c (do_ftell): Seek only when there are
472 * libio/wfileops.c (do_ftell_wide): Likewise.
473 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
475 (do_one_test): Call it.
477 2014-12-03 Joseph Myers <joseph@codesourcery.com>
479 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
480 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
481 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
483 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
484 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
485 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
487 2014-12-02 Joseph Myers <joseph@codesourcery.com>
489 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
491 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
494 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
495 as weak alias of __getifaddrs. Use libc_hidden_weak.
496 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
497 __freeifaddrs. Use libc_hidden_weak.
498 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
499 define as weak alias of __getifaddrs. Use libc_hidden_weak.
500 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
501 __freeifaddrs. Use libc_hidden_weak.
502 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
503 __getifaddrs and define as weak alias of __getifaddrs. Use
505 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
506 __freeifaddrs. Use libc_hidden_weak.
507 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
509 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
510 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
512 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
515 * sysdeps/mips/start.S (__start): Use indirect jump to call
518 2014-12-02 Joseph Myers <joseph@codesourcery.com>
520 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
522 * nptl/tst-mutex1.c: Include <stdbool.h>.
523 [!ATTR] (ATTR_NULL): New macro.
524 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
525 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
526 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
528 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
532 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
533 Change conditional to [__USE_MISC].
536 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
538 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
540 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
542 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
544 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
545 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
546 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
547 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
548 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
549 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
550 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
551 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
552 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
554 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
556 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
558 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
559 Remove strpbrk objects.
560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
561 (__libc_ifunc_impl_list): Remove strpbrk implementation.
562 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
563 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
564 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
565 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
567 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
568 Remove strcspn objects.
569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
570 (__libc_ifunc_impl_list): Remove strcspn implementation.
571 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
572 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
573 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
574 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
576 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
577 Remove strspn objetcs.
578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
579 (__libc_ifunc_impl_list): Remove strspn implementation.
580 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
581 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
582 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
583 * sysdeps/powerpc/powerpc64/strspn.S: New file.
585 2014-12-01 James Lemke <jwlemke@codesourcery.com>
589 (mem2mem_check): Add a terminator to the chain of checking blocks.
590 (malloc_check_get_size): Use it here.
591 (mem2chunk_check): Ditto.
593 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
595 * sysdeps/powerpc/powerpc64/strtok.S: New file.
596 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
598 2014-11-29 Carlos O'Donell <carlos@redhat.com>
600 * bits/ioctl-types.h: Indent preprocessor directives correctly.
602 * nptl/nptl-init.c: Include libc-internal.h.
603 (__pthread_initialize_minimal_internal): Use ROUND_UP.
605 * elf/ldconfig.c (search_dir): Expand comment.
607 2014-11-29 Joseph Myers <joseph@codesourcery.com>
609 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
611 (linknamespace-symlist-stdlibs-tests): Likewise.
612 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
613 instead of $(objpfx)symlist-stdlibs.
614 (linknamespace-libs-isoc): New variable.
615 (linknamespace-libs): Use $(linknamespace-libs-isoc).
616 (linknamespace-libs-ISO): New variable.
617 (linknamespace-libs-ISO99): Likewise.
618 (linknamespace-libs-ISO11): Likewise.
619 (linknamespace-libs-XPG3): Likewise.
620 (linknamespace-libs-XPG4): Likewise.
621 (linknamespace-libs-POSIX): Likewise.
622 (linknamespace-libs-UNIX98): Likewise.
623 (linknamespace-libs-XOPEN2K): Likewise.
624 (linknamespace-libs-POSIX2008): Likewise.
625 (linknamespace-libs-XOPEN2K8): Likewise.
626 ($(objpfx)symlist-stdlibs): Replace by
627 $(linknamespace-symlist-stdlibs-tests). Use
628 $(linknamespace-libs-$*) as set of libraries.
629 ($(linknamespace-header-tests)): Update dependencies. Use
630 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
631 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
632 * conform/linknamespace.pl: Remove comment about considering
633 definitions of symbols from irrelevant libraries.
635 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
638 * elf/dl-tls.c: Include <atomic.h>.
639 (oom): Remove #ifdef SHARED/#endif.
640 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
641 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
642 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
644 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
645 * nptl/Makefile (tests): Add tst-stack4.
646 (modules-names): Add tst-stack4mod.
647 ($(objpfx)tst-stack4): New.
648 (tst-stack4mod.sos): Likewise.
649 ($(objpfx)tst-stack4.out): Likewise.
650 ($(tst-stack4mod.sos)): Likewise.
652 * nptl/tst-stack4.c: New file.
653 * nptl/tst-stack4mod.c: Likewise.
655 2014-11-27 J. Brown <jb999@gmx.de>
657 * sysdeps/x86/bits/string.h: Add recent CPUs.
659 2014-11-27 Joseph Myers <joseph@codesourcery.com>
661 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
664 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
667 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
670 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
672 * nscd/connections.c: Include libc-internal.h because of macro
675 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
677 * string/bits/string3.h (__warn_memset_zero_len): Don't
678 declare for gcc newer than 5.0.
679 (memset): Don't test for zero-length __LEN for gcc newer than
682 2014-11-27 Joseph Myers <joseph@codesourcery.com>
684 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
685 size_t for %zu format.
687 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
690 2014-11-26 Joseph Myers <joseph@codesourcery.com>
692 * include/libc-internal.h (ignore_value): New macro.
693 * nscd/connections.c (restart): Wrap calls to setuid and setgid
696 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
699 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
700 pthread_cleanup_push to void *.
702 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
707 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
710 * libio/bug-rewind.c (do_test): Check fwscanf return values.
711 * libio/bug-rewind2.c (do_test): Likewise.
713 * debug/test-stpcpy_chk-ifunc.c: Remove file.
714 * debug/test-strcpy_chk-ifunc.c: Likewise.
715 * wcsmbs/test-wcschr-ifunc.c: Likewise.
716 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
717 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
718 * wcsmbs/test-wcslen-ifunc.c: Likewise.
719 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
720 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
721 * Rules [$(multi-arch) = no] (tests): Do not filter out
723 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
724 * debug/Makefile (tests-ifunc): Remove variable.
725 (tests): Do not add $(tests-ifunc).
726 * wcsmbs/Makefile (tests-ifunc): Remove variable.
727 (tests): Do not add $(tests-ifunc).
728 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
729 [TEST_IFUNC]: Remove conditionals.
730 * string/test-string.h (TEST_IFUNC): Remove macro.
731 [TEST_IFUNC]: Remove conditionals.
733 * string/test-strchr.c [!WIDE] (L): New macro.
734 [WIDE] (L): Likewise.
735 (check1): Use CHAR instead of char. Use L on string and character
738 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
740 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
742 * sysdeps/powerpc/bits/atomic.h
743 (__arch_atomic_exchange_and_add_32_acq): Add definition.
744 (__arch_atomic_exchange_and_add_32_rel): Likewise.
745 (atomic_exchange_and_add_acq): Likewise.
746 (atomic_exchange_and_add_rel): Likewise.
747 * sysdeps/powerpc/powerpc32/bits/atomic.h
748 (__arch_atomic_exchange_and_add_64_acq): Add definition.
749 (__arch_atomic_exchange_and_add_64_rel): Likewise.
750 * sysdeps/powerpc/powerpc64/bits/atomic.h
751 (__arch_atomic_exchange_and_add_64_acq): Add definition.
752 (__arch_atomic_exchange_and_add_64_rel): Likewise.
754 2014-11-26 Torvald Riegel <triegel@redhat.com>
756 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
757 Change synchronization of __sched_fifo_min_prio and
758 __sched_fifo_max_prio.
759 * nptl/pthread_mutexattr_getprioceiling.c
760 (pthread_mutexattr_getprioceiling): Likewise.
761 * nptl/pthread_mutexattr_setprioceiling.c
762 (pthread_mutexattr_setprioceiling): Likewise.
763 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
764 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
767 2014-11-26 Joseph Myers <joseph@codesourcery.com>
769 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
772 2014-11-25 Joseph Myers <joseph@codesourcery.com>
774 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
775 third argument const.
777 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
779 fnmatch: work around GCC compiler warning bug with uninit var
780 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
781 This works around a bug with x86-64 GCC 4.9.2 and earlier
782 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
783 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
784 used uninitialized in this function [-Wmaybe-uninitialized]".
786 2014-11-25 Joseph Myers <joseph@codesourcery.com>
788 * posix/bug-regex31.c (main): Return RES not 0.
790 2014-11-25 Anton Blanchard <anton@samba.org>
792 * sysdeps/powerpc/bits/atomic.h
793 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
795 2014-11-24 Sterling Augustine <saugustine@google.com>
797 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
799 2014-11-24 Ryan Cumming <etaoins@gmail.com>
802 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
804 2014-11-24 Joseph Myers <joseph@codesourcery.com>
807 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
808 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
810 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
811 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
813 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
815 * string/strncpy.c (strncpy): Improve performance by using memset.
817 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
819 * string/strcpy.c (strcpy):
820 Improve performance by using strlen and memcpy.
822 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
824 * string/strcoll_l.c (get_next_seq): __always_inline.
825 * string/strcoll_l.c (do_compare): __always_inline.
827 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
829 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
831 * include/mqueue.h: Likewise.
832 * include/stdlib.h: Likewise.
834 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
835 (get_null_defines): Adjust.
836 * sunrpc/Makefile: Adjust comment.
837 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
838 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
839 (CFLAGS-interp.c): Likewise.
840 (CFLAGS-ldconfig.c): Likewise.
841 (CPPFLAGS-.os): Likewise.
842 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
843 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
844 * extra-modules.mk (extra-modules.mk): Likewise.
845 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
846 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
847 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
848 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
849 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
850 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
851 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
852 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
853 * iconvdata/Makefile (CPPFLAGS): Likewise.
854 (cpp-srcs-left): Add libof for all iconvdata routines.
855 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
856 * include/assert.h: Likewise.
857 * include/ctype.h: Likewise.
858 * include/errno.h: Likewise.
859 * include/libc-symbols.h: Likewise.
860 * include/math.h: Likewise.
861 * include/netdb.h: Likewise.
862 * include/resolv.h: Likewise.
863 * include/stdio.h: Likewise.
864 * include/stdlib.h: Likewise.
865 * include/string.h: Likewise.
866 * include/sys/stat.h: Likewise.
867 * include/wctype.h: Likewise.
868 * intl/l10nflist.c: Likewise.
869 * libidn/idn-stub.c: Likewise.
870 * libio/libioP.h: Likewise.
871 * nptl/libc_multiple_threads.c: Likewise.
872 * nptl/pthreadP.h: Likewise.
873 * posix/regex_internal.h: Likewise.
874 * resolv/res_hconf.c: Likewise.
875 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
876 * sysdeps/arm/memmove.S: Likewise.
877 * sysdeps/arm/sysdep.h: Likewise.
878 * sysdeps/generic/_itoa.h: Likewise.
879 * sysdeps/generic/symbol-hacks.h: Likewise.
880 * sysdeps/gnu/errlist.awk: Likewise.
881 * sysdeps/gnu/errlist.c: Likewise.
882 * sysdeps/i386/i586/memcpy.S: Likewise.
883 * sysdeps/i386/i586/memset.S: Likewise.
884 * sysdeps/i386/i686/memcpy.S: Likewise.
885 * sysdeps/i386/i686/memmove.S: Likewise.
886 * sysdeps/i386/i686/mempcpy.S: Likewise.
887 * sysdeps/i386/i686/memset.S: Likewise.
888 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
889 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
890 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
891 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
892 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
893 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
894 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
895 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
896 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
897 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
898 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
899 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
900 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
901 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
902 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
903 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
904 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
905 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
906 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
907 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
908 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
909 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
910 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
911 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
912 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
913 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
914 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
915 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
916 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
917 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
918 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
921 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
922 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
923 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
924 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
925 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
926 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
927 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
928 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
929 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
930 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
931 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
932 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
933 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
934 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
935 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
936 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
937 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
938 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
939 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
940 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
941 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
942 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
943 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
944 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
945 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
946 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
947 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
948 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
949 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
950 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
951 * sysdeps/nptl/bits/libc-lock.h: Likewise.
952 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
953 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
954 * sysdeps/posix/closedir.c: Likewise.
955 * sysdeps/posix/opendir.c: Likewise.
956 * sysdeps/posix/readdir.c: Likewise.
957 * sysdeps/posix/rewinddir.c: Likewise.
958 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
959 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
960 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
961 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
962 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
963 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
964 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
965 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
966 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
967 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
968 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
969 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
970 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
971 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
972 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
973 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
974 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
975 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
976 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
977 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
978 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
979 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
980 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
981 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
982 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
983 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
984 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
985 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
986 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
987 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
989 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
990 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
993 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
994 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
995 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
996 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
997 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
998 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
999 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1000 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1001 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1002 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1003 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1004 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1005 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1006 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1007 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1008 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1009 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1010 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1011 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1012 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1013 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1014 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1015 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1016 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1017 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1018 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1019 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1020 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1021 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1022 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1023 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1024 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1025 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1026 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1027 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1028 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1029 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1030 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1031 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1032 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1033 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1034 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1035 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1036 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1037 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1038 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1039 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1040 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1041 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1042 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1043 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1044 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1045 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1046 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1047 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1048 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1049 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1050 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1051 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1052 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1053 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1054 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1056 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1057 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1058 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1059 * sysdeps/unix/alpha/sysdep.S: Likewise.
1060 * sysdeps/unix/alpha/sysdep.h: Likewise.
1061 * sysdeps/unix/make-syscalls.sh: Likewise.
1062 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1063 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1064 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1065 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1066 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1067 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1068 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1069 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1070 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1071 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1072 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1073 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1074 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1075 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1076 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1077 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1078 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1079 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1080 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1081 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1082 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1083 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1084 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1085 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1086 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1087 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1088 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1091 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1092 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1093 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1094 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1095 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1096 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1097 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1100 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1101 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1102 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1103 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1104 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1105 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1106 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1107 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1109 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1110 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1112 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1113 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1114 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1115 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1116 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1117 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1118 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1120 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1121 * sysdeps/x86_64/memcpy.S: Likewise.
1122 * sysdeps/x86_64/memmove.c: Likewise.
1123 * sysdeps/x86_64/memset.S: Likewise.
1124 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1125 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1126 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1127 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1128 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1129 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1130 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1131 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1132 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1133 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1134 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1135 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1136 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1137 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1138 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1139 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1140 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1141 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1142 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1143 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1144 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1145 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1146 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1147 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1148 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1149 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1150 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1151 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1152 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1153 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1154 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1155 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1156 * sysdeps/x86_64/strcmp.S: Likewise.
1158 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1160 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1161 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1162 * elf/rtld-Rules: Likewise.
1163 * elf/setup-vdso.h: Likewise.
1164 * include/assert.h: Likewise.
1165 * include/bits/stdlib-float.h: Likewise.
1166 * include/errno.h: Likewise.
1167 * include/sys/stat.h: Likewise.
1168 * include/unistd.h: Likewise.
1169 * sysdeps/aarch64/setjmp.S: Likewise.
1170 * sysdeps/alpha/setjmp.S: Likewise.
1171 * sysdeps/arm/__longjmp.S: Likewise.
1172 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1173 * sysdeps/arm/setjmp.S: Likewise.
1174 * sysdeps/arm/sysdep.h: Likewise.
1175 * sysdeps/generic/_itoa.h: Likewise.
1176 * sysdeps/generic/dl-sysdep.h: Likewise.
1177 * sysdeps/generic/ldsodefs.h: Likewise.
1178 * sysdeps/i386/dl-tls.h: Likewise.
1179 * sysdeps/i386/setjmp.S: Likewise.
1180 * sysdeps/m68k/setjmp.c: Likewise.
1181 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1182 * sysdeps/mach/hurd/opendir.c: Likewise.
1183 * sysdeps/posix/getcwd.c: Likewise.
1184 * sysdeps/posix/opendir.c: Likewise.
1185 * sysdeps/posix/profil.c: Likewise.
1186 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1187 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1188 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1189 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1190 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1191 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1192 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1193 * sysdeps/s390/dl-tls.h: Likewise.
1194 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1195 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1196 * sysdeps/sh/sh3/setjmp.S: Likewise.
1197 * sysdeps/sh/sh4/setjmp.S: Likewise.
1198 * sysdeps/unix/alpha/sysdep.h: Likewise.
1199 * sysdeps/unix/arm/sysdep.S: Likewise.
1200 * sysdeps/unix/i386/sysdep.S: Likewise.
1201 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1202 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1203 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1204 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1205 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1206 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1207 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1208 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1209 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1210 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1211 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1212 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1213 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1216 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1219 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1220 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1221 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1222 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1223 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1224 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1225 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1226 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1228 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1229 * sysdeps/x86_64/setjmp.S: Likewise.
1231 * include/math.h: Use IS_IN instead of IS_IN_libm.
1232 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1233 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1234 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1235 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1236 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1237 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1238 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1239 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1240 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1241 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1242 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1243 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1244 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1245 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1246 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1247 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1248 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1249 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1250 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1251 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1252 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1253 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1254 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1255 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1256 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1257 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1258 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1259 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1260 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1261 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1262 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1263 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1264 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1275 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1276 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1277 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1278 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1279 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1280 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1286 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1287 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1288 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1289 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1290 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1291 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1292 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1293 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1294 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1295 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1296 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1297 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1298 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1299 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1301 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1303 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1304 * nptl/pthreadP.h: Likewise.
1305 * nptl_db/structs.def: Likewise.
1306 * sysdeps/arm/sysdep.h: Likewise.
1307 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1308 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1309 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1310 * sysdeps/unix/alpha/sysdep.h: Likewise.
1311 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1312 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1313 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1314 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1315 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1316 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1317 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1318 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1319 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1320 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1321 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1322 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1323 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1324 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1327 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1328 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1329 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1332 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1333 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1334 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1335 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1336 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1338 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1339 * nptl/pthreadP.h: Likewise.
1340 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1341 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1342 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1343 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1344 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1345 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1346 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1347 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1348 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1349 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1350 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1351 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1356 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1357 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1358 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1359 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1360 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1361 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1362 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1363 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1365 * dlfcn/dladdr.c: Use IS_IN.
1366 * dlfcn/dladdr1.c: Likewise.
1367 * dlfcn/dlclose.c: Likewise.
1368 * dlfcn/dlerror.c: Likewise.
1369 * dlfcn/dlinfo.c: Likewise.
1370 * dlfcn/dlmopen.c: Likewise.
1371 * dlfcn/dlopen.c: Likewise.
1372 * dlfcn/dlsym.c: Likewise.
1373 * dlfcn/dlvsym.c: Likewise.
1375 * include/ifaddrs.h: Use IS_IN.
1376 * inet/check_pf.c: Likewise.
1377 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1378 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1380 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1382 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1383 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1385 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1386 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1389 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1391 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1392 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1393 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1394 * include/libc-symbols.h (IS_IN_LIB): New macro.
1395 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1396 * include/netdb.h: Likewise.
1397 * include/stap-probe.h: Remove all uses of IN_LIB.
1399 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1400 instead of IN_MODULE.
1401 * include/libc-symbols.h (IN_MODULE): Define using
1403 (PASTE_NAME, PASTE_NAME1): New macros.
1404 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1406 (STAP_PROBE_ASM): Likewise.
1408 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1410 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1411 __mach_init in dlopened libc.
1413 2014-11-22 Mike Frysinger <vapier@gentoo.org>
1415 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1416 * sysdeps/arm/preconfigure: Regenerate.
1418 2014-11-21 Roland McGrath <roland@hack.frob.com>
1420 * nptl/pthread_create.c (__pthread_create_2_1): Set
1421 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1422 when copying values from IATTR into PD.
1424 2014-11-21 Will Newton <will.newton@linaro.org>
1425 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1427 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1428 Refactor inline-asm. Also add comment.
1430 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1431 ElfW macro instead of hardcoded Elf64 types.
1432 (la_aarch64_gnu_pltenter): Likewise.
1433 * sysdeps/aarch64/dl-machine.h
1434 (elf_machine_runtime_setup): Use ElfW(Addr).
1436 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1437 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1438 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1439 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1440 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1441 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1442 (R_AARCH64_TLS_DTPMOD): This.
1443 (R_AARCH64_TLS_DTPREL64): Rename to ...
1444 (R_AARCH64_TLS_DTPREL): This.
1445 (R_AARCH64_TLS_TPREL64): Rename to ...
1446 (R_AARCH64_TLS_TPREL): This.
1447 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1448 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1449 R_AARCH64_TLS_TPREL64.
1450 (elf_machine_rela): Likewise.
1452 2014-11-21 Torvald Riegel <triegel@redhat.com>
1454 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1455 by setting it to 0. 64b atomics are not supported currently.
1457 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1460 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1461 search domain names.
1463 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1467 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1469 * posix/tst-getaddrinfo5.c: New.
1470 * posix/Makefile (tests): Add it.
1472 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1476 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1477 after parsing line but before break_if_match.
1478 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1479 if there is a protocol mismatch.
1481 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1483 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1484 because the potential race is on the user-supplied stream.
1486 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1488 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1489 string literal if not passed a buffer.
1490 * manual/job.texi (ctermid): Update reasoning, note deviation
1491 from posix, suggest mtasurace when not passed a buffer, for
1492 future non-preliminary safety notes.
1494 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1496 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1497 of not passing it a buffer.
1498 Reported by Peng Haitao.
1500 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1502 * manual/Makefile ($(objpfx)stamp-summary): Require
1503 check-safety.sh to pass.
1504 * manual/check-safety.sh: Wish for verification that every
1505 @deftypefn and @deftypefun is followed by a @safety remark.
1507 2014-11-20 Roland McGrath <roland@hack.frob.com>
1509 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1511 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1512 PTHREAD_CANCEL_ASYNCHRONOUS.
1513 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1516 * nptl/default-sched.h: New file.
1517 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1518 * nptl/pthread_create.c: Include it.
1519 (__pthread_create_2_1): Use collect_default_sched instead of making
1520 Linux syscalls here directly.
1522 2014-11-20 Torvald Riegel <triegel@redhat.com>
1524 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1525 __pthread_once): Use C11 atomics.
1527 2014-11-20 Torvald Riegel <triegel@redhat.com>
1529 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1531 2014-11-20 Torvald Riegel <triegel@redhat.com>
1533 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1534 atomic_thread_fence_acquire, atomic_thread_fence_release,
1535 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1536 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1537 atomic_compare_exchange_weak_relaxed,
1538 atomic_compare_exchange_weak_acquire,
1539 atomic_compare_exchange_weak_release,
1540 atomic_exchange_acquire, atomic_exchange_release,
1541 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1542 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1543 atomic_fetch_and_acquire,
1544 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1546 2014-11-20 Torvald Riegel <triegel@redhat.com>
1548 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1549 USE_ATOMIC_COMPILER_BUILTINS): Define.
1550 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1551 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1552 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1553 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1554 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1555 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1556 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1557 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1558 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1559 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1560 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1561 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1562 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1563 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1564 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1565 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1566 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1567 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1568 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1569 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1570 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1571 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1572 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1573 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1574 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1575 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1576 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1577 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1578 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1579 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1580 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1581 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1582 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1583 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1584 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1585 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1586 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1587 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1588 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1589 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1591 2014-11-19 Roland McGrath <roland@hack.frob.com>
1593 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1594 the sched_priority value here. It was already checked when the user
1595 called pthread_attr_setschedparam.
1597 * nptl/tst-bad-schedattr.c: New file.
1598 * nptl/Makefile (tests): Add it.
1600 2014-11-19 Carlos O'Donell <carlos@redhat.com>
1601 Florian Weimer <fweimer@redhat.com>
1602 Joseph Myers <joseph@codesourcery.com>
1603 Adam Conrad <adconrad@0c3.net>
1604 Andreas Schwab <schwab@suse.de>
1605 Brooks <bmoses@google.com>
1608 * wordexp-test.c (__dso_handle): Add prototype.
1609 (__register_atfork): Likewise.
1610 (__app_register_atfork): New function.
1611 (registered_forks): New global.
1612 (register_fork): New function.
1613 (test_case): Add 3 new tests for WRDE_CMDSUB.
1614 (main): Call __app_register_atfork.
1615 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1616 fork count is non-zero fail the test.
1617 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1619 (parse_dollars): Remove check for WRDE_NOCMD.
1620 (parse_dquote): Likewise.
1622 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1624 * Makeconfig (built-modules): List non-library modules to be
1626 (module-cppflags): Include libc-modules.h for
1627 everything except shlib-versions.v.i.
1629 (before-compile): Add libc-modules.h.
1630 ($(common-objpfx)libc-modules.h,
1631 $(common-objpfx)libc-modules.stmp): New targets.
1632 (common-generated): Add libc-modules.h and libc-modules.stmp.
1633 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1634 * include/libc-symbols.h: Don't include libc-modules.h.
1635 * include/libc-modules.h: Remove file.
1636 * scripts/gen-libc-modules.awk: New script to generate
1638 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1639 Depend on libc-modules.stmp.
1641 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1643 * Makeconfig (in-module): Get value of libof set for the
1645 (CPPFLAGS): Use $(in-module).
1646 * Makerules: Don't suffix routine names for nonlib.
1647 * include/libc-modules.h: New file.
1648 * include/libc-symbols.h: Include libc-modules.h
1649 (IS_IN): New macro to replace IS_IN_* macros.
1650 * elf/Makefile: Set libof-* for each routine.
1651 * elf/rtld-Rules: Likewise.
1652 * extra-modules.mk: Likewise.
1653 * iconv/Makefile: Likewise.
1654 * iconvdata/Makefile: Likewise.
1655 * locale/Makefile: Likewise.
1656 * malloc/Makefile: Likewise.
1657 * nss/Makefile: Likewise.
1658 * sysdeps/gnu/Makefile: Likewise.
1659 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1660 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1661 * sysdeps/s390/s390-64/Makefile: Likewise.
1662 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1663 CPPFLAGS for nscd instead of nonlib.
1665 2014-11-18 Roland McGrath <roland@hack.frob.com>
1667 * nptl/createthread.c: New file.
1669 * nptl/createthread.c: Moved ...
1670 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1672 * nptl/createthread.c: Add proper top-line comment.
1673 (do_clone): Folded into ...
1674 (create_thread): ... here. Take new arguments STOPPED_START and
1675 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1676 increment __nptl_threads, do event-reporting logic, do
1677 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1678 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1679 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1680 just send SIGCANCEL.
1681 * nptl/pthread_create.c: Forward-declare create_thread before
1682 including createthread.c.
1683 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1684 declaration, and new macro START_THREAD_SELF to replace argument.
1685 Remove return statement.
1686 (report_thread_creation): New function.
1687 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1688 synchronization logic, and __nptl_nthreads increment here, around
1689 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1690 PD->parent_cancelhandling here, before create_thread. When
1691 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1692 __deallocate_stack, and ENOMEM translation here.
1694 2014-11-18 Joseph Myers <joseph@codesourcery.com>
1697 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1698 (mptwo): Rename to __mptwo.
1699 (__inv): Use __mptwo instead of mptwo.
1700 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1701 (mptwo): Rename to __mptwo.
1702 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1703 of mpone and __mptwo instead of mptwo.
1704 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1706 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1707 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1708 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1709 of mpone and __mptwo instead of mptwo.
1710 (__mpranred): Use __mpone instead of mpone.
1711 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1713 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1714 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1715 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1716 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1717 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1718 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1719 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1720 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1721 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1722 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1723 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1724 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1725 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1726 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1727 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1728 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1729 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1730 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1731 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1733 2014-11-18 Tom de Vries <tom@codesoucery.com>
1735 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1736 replace BSD Handler xref with BSD Signal Handling.
1738 2014-11-17 Richard Henderson <rth@redhat.com>
1740 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1741 (_FP_PACK_RAW_2): Remove.
1742 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1743 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1744 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1745 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1746 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1747 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1748 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1749 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1750 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1751 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1752 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1753 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1754 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1755 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1756 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1757 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1759 2014-11-14 Roland McGrath <roland@hack.frob.com>
1761 * signal/signal.h [__USE_MISC]
1762 (struct sigvec): Remove type.
1763 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1764 (sigvec): Remove declaration.
1765 * sysdeps/posix/sigvec.c: Moved ...
1766 * signal/sigvec.c: ... here, replacing old file.
1767 (struct sigvec): New type, copied from old signal.h definition.
1768 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1769 (__sigvec): Convert definition to prototype.
1770 (sigvec): Replace weak_alias with compat_symbol.
1771 * signal/Versions (libc: GLIBC_2.21): New version set.
1772 * include/signal.h: Remove __sigvec declaration.
1773 * sysdeps/unix/bsd/sigvec.c: Remove file.
1774 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1775 * manual/signal.texi (BSD Handler): Remove subsection.
1776 Move siginterrupt up to ...
1777 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1778 (Blocking in BSD): Fold subsection into its parent.
1779 * NEWS: Mention sigvec removal.
1781 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1783 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1784 (DLA_FMS): Make definition conditional only on [__FMA4__].
1785 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1788 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1789 Make definition conditional only on [PROF].
1790 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1792 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1793 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1795 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1797 * include/signal.h (__sigpause): Move declaration above call to
1799 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1801 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1802 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1804 2014-11-14 David S. Miller <davem@davemloft.net>
1806 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1807 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1809 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1811 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1812 * configure: Regenerated.
1813 * manual/install.texi (Tools for Compilation): Document a
1814 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1815 compiler verified to work.
1816 * INSTALL: Regenerated.
1818 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1819 redeclare with asm name.
1820 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1821 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1822 including <string.h>.
1823 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1824 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1825 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1826 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1827 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1828 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1829 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1831 2014-11-13 Joseph Myers <joseph@codesourcery.com>
1833 * stdlib/strtol.c (__strtol): Use prototype definition.
1836 * stdlib/strtol.c (SYM__): New macro.
1838 (__strtol): Likewise.
1839 (strtol): Rename to __strtol and define as weak alias of
1840 __strtol. Use libc_hidden_weak.
1842 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1844 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1845 Use numbered labels in inline assembly.
1847 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1849 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1850 Add setjmp LIBC_PROBE.
1851 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1853 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1854 Add longjmp, longjmp_target LIBC_PROBE.
1855 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1858 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1860 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1861 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1862 to get rid of unused variable warning.
1864 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1866 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1867 Check for unwind_backtrace == NULL only in SHARED case.
1868 (__backchain_backtrace): Compile only in SHARED case.
1869 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1871 (__backchain_backtrace): Declare as static.
1873 2014-11-12 Roland McGrath <roland@hack.frob.com>
1875 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1876 (__libc_multiple_threads_ptr): Variable moved ...
1877 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1879 2014-11-12 Joseph Myers <joseph@codesourcery.com>
1881 * conform/GlibcConform.pm: New file.
1882 * conform/conformtest.pl: Use GlibcConform module.
1883 * conform/linknamespace.pl: New file.
1884 * conform/list-header-symbols.pl: Likewise.
1885 * conform/Makefile (linknamespace-symlists-base): New variable.
1886 (linknamespace-symlists-tests): Likewise.
1887 (linknamespace-header-base): Likewise.
1888 (linknamespace-header-tests): Likewise.
1889 (tests-special): Add new tests.
1890 ($(linknamespace-symlists-tests)): New rule.
1891 (linknamespace-libs): New variable.
1892 ($(objpfx)symlist-stdlibs): New rule.
1893 ($(linknamespace-header-tests)): Likewise.
1894 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1895 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1896 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1897 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1898 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1899 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1900 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1901 (test-xfail-ISO/math.h/linknamespace): Likewise.
1902 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1903 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1904 (test-xfail-ISO/time.h/linknamespace): Likewise.
1905 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1906 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1907 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1908 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1909 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1910 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1911 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1912 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1913 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1914 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1915 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1916 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1917 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1918 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1919 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1920 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1921 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1922 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1923 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1924 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1925 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1926 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1927 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1928 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1929 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1930 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1931 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1932 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1933 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1934 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1935 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1936 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1937 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1938 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1939 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1940 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1941 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1942 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1943 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1944 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1945 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1946 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1947 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1948 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1949 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1950 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1951 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1952 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1953 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1954 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1955 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1956 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1957 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1958 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1959 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1960 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1961 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1962 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1963 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1964 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1965 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1966 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1967 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1968 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1969 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1970 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1971 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1972 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1973 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1974 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1975 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1976 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1977 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1978 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1979 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1980 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1981 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1982 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1983 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1984 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1985 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1986 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1987 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1988 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1989 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1990 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1991 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1992 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1993 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1994 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1995 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1996 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1997 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1998 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1999 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2000 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2001 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2002 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2003 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2004 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2005 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2006 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2007 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2008 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2009 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2010 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2011 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2012 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2013 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2014 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2015 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2016 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2017 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2018 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2019 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2020 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2021 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2022 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2023 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2024 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2025 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2026 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2027 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2028 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2029 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2030 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2031 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2032 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2033 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2034 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2035 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2036 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2037 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2038 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2039 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2040 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2041 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2042 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2043 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2044 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2045 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2046 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2047 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2048 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2049 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2050 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2051 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2052 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2053 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2054 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2057 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2061 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2062 (memmem): Rename to __memmem and define as weak alias of
2063 __memmem. Use libc_hidden_weak.
2064 (__memmem): Use libc_hidden_def.
2065 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2066 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2070 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2071 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2072 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2073 and define as weak alias of __fgets_unlocked. Use
2075 (__fgets_unlocked): Use libc_hidden_def.
2076 * include/stdio.h (__fgets_unlocked): Declare. Use
2078 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2079 __fgets_unlocked instead of fgets_unlocked.
2080 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2081 (GET_NPROCS_CONF_PARSER): Likewise.
2082 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2083 (GET_NPROCS_CONF_PARSER): Likewise.
2086 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2087 weak alias of __wmemset. Use libc_hidden_weak.
2088 (__wmemset): Use libc_hidden_def.
2089 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2090 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2094 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2095 with asm name __mempcpy.
2096 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2099 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2100 and define as weak alias of __rawmemchr.
2101 (__rawmemchr): Do not define as strong alias of rawmemchr.
2104 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2106 (qsort): Call __qsort_r instead of qsort_r.
2107 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2108 (__qsort_r): Declare. Call libc_hidden_proto.
2109 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2111 * nscd/gai.c (__qsort_r): Define to qsort_r.
2112 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2113 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2114 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2117 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2118 define as weak alias of __malloc_info.
2121 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2122 as weak alias of __rewinddir. Don't use libc_hidden_def.
2123 (__rewinddir): Use libc_hidden_def.
2124 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2125 as weak alias of __rewinddir. Don't use libc_hidden_def.
2126 (__rewinddir): Use libc_hidden_def.
2127 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2128 weak alias of __rewinddir. Don't use libc_hidden_def.
2129 (__rewinddir): Use libc_hidden_def.
2130 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2131 (__rewinddir): Use libc_hidden_proto.
2132 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2134 (__getcwd): Use __rewinddir instead of rewinddir.
2137 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2138 alias of __fileno. Use libc_hidden_weak.
2139 (__fileno): Use libc_hidden_def.
2140 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2141 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2143 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2145 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2146 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2148 (fread_unlocked): Don't use libc_hidden_ver.
2149 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2150 and define as weak alias of __fread_unlocked. Don't use
2152 (__fread_unlocked): Use libc_hidden_def.
2153 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2154 (ftello): Don't use libc_hidden_proto.
2155 (__ftello): Declare. Use libc_hidden_proto.
2156 (fread_unlocked): Don't use libc_hidden_proto.
2157 (__fread_unlocked): Declare. Use libc_hidden_proto.
2158 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2159 and __ftello instead of fileno, fread_unlocked and ftello.
2161 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2163 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2165 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2167 (_dl_start_user): Likewise.
2168 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2170 2014-11-12 Carlos O'Donell <carlos@redhat.com>
2171 Siddhesh Poyarekar <siddhesh@redhat.com>
2173 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2174 Move argv and envp down instead of moving argc up.
2175 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2177 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
2180 * test-skeleton.c (main): Return successful if one of
2181 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2182 * string/tst-strcoll-overflow.c: Define expected status.
2184 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2187 * locale/iso-639.def: Define Bhili and Tulu language codes.
2189 2014-11-11 Alan Hayward <alan.hayward@arm.com>
2191 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2193 2014-11-10 Renlin Li <Renlin.Li@arm.com>
2196 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2198 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2200 * configure.ac: Updated check of minimal required version to
2202 * manual/install.texi (Tools for Compilation): Updated version
2204 * configure: Regenerated.
2205 * INSTALL: Likewise.
2207 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2209 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2212 2014-11-07 Joseph Myers <joseph@codesourcery.com>
2214 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2215 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2216 (__waitpid): Don't define as alias. Use libc_hidden_def not
2218 (waitpid): Define as alias of __waitpid.
2219 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2221 (__waitpid): Don't define as alias. Use libc_hidden_def not
2223 (waitpid): Define as alias of __waitpid.
2224 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2225 __libc_waitpid alias.
2226 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2227 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2229 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2230 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2231 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2233 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2235 (__waitpid): Don't define as alias. Use libc_hidden_def not
2237 (waitpid): Define as alias of __waitpid.
2239 2014-11-06 Carlos O'Donell <carlos@redhat.com>
2241 * manual/llio.texi: Add comment that write safety has been
2244 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2245 (localplt-build-dso): Add elf/ld.so.
2246 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2247 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2250 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2255 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2256 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2257 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2258 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2259 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2260 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2261 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2262 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2263 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2264 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2265 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2267 2014-11-05 Joseph Myers <joseph@codesourcery.com>
2270 * include/libc-symbols.h (INTUSE): Remove macro.
2272 (INTVARDEF): Likewise.
2273 (_INTVARDEF): Likewise.
2274 (INTDEF2): Likewise.
2275 (INTVARDEF2): Likewise.
2276 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2277 rtld_hidden_def instead of INTVARDEF.
2278 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2279 (_dl_starting_up_internal): Remove declaration.
2280 (_dl_starting_up): Use rtld_hidden_proto.
2281 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2283 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2284 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2286 * elf/dl-writev.h (_dl_writev): Likewise.
2287 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2288 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2289 _dl_starting_up_internal.
2291 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2293 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2296 2014-11-05 Will Newton <will.newton@linaro.org>
2298 * benchtests/Makefile: (bench-malloc): Add malloc thread
2299 scalability benchmark.
2300 * benchtests/bench-malloc-threads.c: New file.
2302 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
2304 * sysdeps/aarch64/strchrnul.S: New file.
2306 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2308 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2310 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2312 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2314 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2316 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2318 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2321 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
2323 * catgets/test-gencat.c: Use test-skeleton.c.
2324 * catgets/tst-catgets.c: Likewise.
2325 * csu/tst-empty.c: Likewise.
2326 * elf/tst-audit2.c: Likewise.
2327 * elf/tst-global1.c: Likewise.
2328 * elf/tst-pathopt.c: Likewise.
2329 * elf/tst-piemod1.c: Likewise.
2330 * elf/tst-tls10.c: Likewise.
2331 * elf/tst-tls11.c: Likewise.
2332 * elf/tst-tls12.c: Likewise.
2333 * gnulib/tst-gcc.c: Likewise.
2334 * iconvdata/tst-e2big.c: Likewise.
2335 * iconvdata/tst-loading.c: Likewise.
2336 * iconv/tst-iconv1.c: Likewise.
2337 * iconv/tst-iconv2.c: Likewise.
2338 * inet/test-inet6_opt.c: Likewise.
2339 * inet/tst-gethnm.c: Likewise.
2340 * inet/tst-network.c: Likewise.
2341 * inet/tst-ntoa.c: Likewise.
2342 * intl/tst-codeset.c: Likewise.
2343 * intl/tst-gettext2.c: Likewise.
2344 * intl/tst-gettext3.c: Likewise.
2345 * intl/tst-ngettext.c: Likewise.
2346 * intl/tst-translit.c: Likewise.
2347 * io/test-stat.c: Likewise.
2348 * libio/test-fmemopen.c: Likewise.
2349 * libio/tst-freopen.c: Likewise.
2350 * libio/tst-sscanf.c: Likewise.
2351 * libio/tst-ungetwc1.c: Likewise.
2352 * libio/tst-ungetwc2.c: Likewise.
2353 * libio/tst-widetext.c: Likewise.
2354 * localedata/tst-ctype.c: Likewise.
2355 * localedata/tst-digits.c: Likewise.
2356 * localedata/tst-leaks.c: Likewise.
2357 * localedata/tst-mbswcs1.c: Likewise.
2358 * localedata/tst-mbswcs2.c: Likewise.
2359 * localedata/tst-mbswcs3.c: Likewise.
2360 * localedata/tst-mbswcs4.c: Likewise.
2361 * localedata/tst-mbswcs5.c: Likewise.
2362 * localedata/tst-setlocale.c: Likewise.
2363 * localedata/tst-trans.c: Likewise.
2364 * localedata/tst-wctype.c: Likewise.
2365 * localedata/tst-xlocale1.c: Likewise.
2366 * login/tst-grantpt.c: Likewise.
2367 * malloc/tst-calloc.c: Likewise.
2368 * malloc/tst-malloc.c: Likewise.
2369 * malloc/tst-mallocstate.c: Likewise.
2370 * malloc/tst-mcheck.c: Likewise.
2371 * malloc/tst-mtrace.c: Likewise.
2372 * malloc/tst-obstack.c: Likewise.
2373 * math/atest-exp2.c: Likewise.
2374 * math/atest-exp.c: Likewise.
2375 * math/atest-sincos.c: Likewise.
2376 * math/test-matherr.c: Likewise.
2377 * math/test-misc.c: Likewise.
2378 * math/test-powl.c: Likewise.
2379 * math/tst-definitions.c: Likewise.
2380 * misc/tst-dirname.c: Likewise.
2381 * misc/tst-efgcvt.c: Likewise.
2382 * misc/tst-fdset.c: Likewise.
2383 * misc/tst-hsearch.c: Likewise.
2384 * misc/tst-mntent2.c: Likewise.
2385 * nptl/tst-sem7.c: Likewise.
2386 * nptl/tst-sem8.c: Likewise.
2387 * nptl/tst-sem9.c: Likewise.
2388 * nss/test-netdb.c: Likewise.
2389 * posix/tst-fnmatch.c: Likewise.
2390 * posix/tst-getlogin.c: Likewise.
2391 * posix/tst-gnuglob.c: Likewise.
2392 * posix/tst-mmap.c: Likewise.
2393 * pwd/tst-getpw.c: Likewise.
2394 * resolv/tst-inet_ntop.c: Likewise.
2395 * rt/tst-timer.c: Likewise.
2396 * stdio-common/test-fseek.c: Likewise.
2397 * stdio-common/test-popen.c: Likewise.
2398 * stdio-common/test-vfprintf.c: Likewise.
2399 * stdio-common/tst-cookie.c: Likewise.
2400 * stdio-common/tst-fileno.c: Likewise.
2401 * stdio-common/tst-gets.c: Likewise.
2402 * stdio-common/tst-obprintf.c: Likewise.
2403 * stdio-common/tst-perror.c: Likewise.
2404 * stdio-common/tst-sprintf2.c: Likewise.
2405 * stdio-common/tst-sprintf3.c: Likewise.
2406 * stdio-common/tst-sprintf.c: Likewise.
2407 * stdio-common/tst-swprintf.c: Likewise.
2408 * stdio-common/tst-tmpnam.c: Likewise.
2409 * stdio-common/tst-unbputc.c: Likewise.
2410 * stdio-common/tst-wc-printf.c: Likewise.
2411 * stdlib/tst-environ.c: Likewise.
2412 * stdlib/tst-fmtmsg.c: Likewise.
2413 * stdlib/tst-limits.c: Likewise.
2414 * stdlib/tst-rand48-2.c: Likewise.
2415 * stdlib/tst-rand48.c: Likewise.
2416 * stdlib/tst-random2.c: Likewise.
2417 * stdlib/tst-random.c: Likewise.
2418 * stdlib/tst-strtol.c: Likewise.
2419 * stdlib/tst-strtoll.c: Likewise.
2420 * stdlib/tst-tls-atexit.c: Likewise.
2421 * stdlib/tst-xpg-basename.c: Likewise.
2422 * string/test-ffs.c: Likewise.
2423 * string/tst-bswap.c: Likewise.
2424 * string/tst-inlcall.c: Likewise.
2425 * string/tst-strtok.c: Likewise.
2426 * string/tst-strxfrm.c: Likewise.
2427 * sysdeps/x86_64/tst-audit10.c: Likewise.
2428 * sysdeps/x86_64/tst-audit3.c: Likewise.
2429 * sysdeps/x86_64/tst-audit4.c: Likewise.
2430 * sysdeps/x86_64/tst-audit5.c: Likewise.
2431 * time/tst-ftime_l.c: Likewise.
2432 * time/tst-getdate.c: Likewise.
2433 * time/tst-mktime3.c: Likewise.
2434 * time/tst-mktime.c: Likewise.
2435 * time/tst-posixtz.c: Likewise.
2436 * time/tst-strptime2.c: Likewise.
2437 * time/tst-strptime3.c: Likewise.
2438 * wcsmbs/tst-btowc.c: Likewise.
2439 * wcsmbs/tst-mbrtowc.c: Likewise.
2440 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2441 * wcsmbs/tst-wchar-h.c: Likewise.
2442 * wcsmbs/tst-wcpncpy.c: Likewise.
2443 * wcsmbs/tst-wcrtomb.c: Likewise.
2444 * wcsmbs/tst-wcsnlen.c: Likewise.
2445 * wcsmbs/tst-wcstof.c: Likewise.
2447 2014-11-04 Joseph Myers <joseph@codesourcery.com>
2450 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2452 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2454 (_dl_mcount): Use rtld_hidden_proto.
2455 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2457 * elf/rtld.c (_rtld_global_ro): Likewise.
2460 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2461 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2462 of _dl_init_internal.
2463 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2464 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2465 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2466 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2467 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2468 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2469 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2470 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2471 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2472 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2473 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2474 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2475 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2476 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2477 * sysdeps/tile/dl-start.S (_start): Likewise.
2478 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2479 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2482 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2483 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2484 (rtld_progname): Make macro definition unconditional.
2485 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2487 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2488 (dl_main): Likewise.
2489 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2490 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2491 instead of _dl_argv_internal.
2492 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2493 __GI__dl_argv instead of INTUSE(_dl_argv).
2494 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2495 __GI__dl_argv instead of _dl_argv_internal.
2497 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2498 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2500 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2501 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2503 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2504 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2506 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2507 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2509 2014-11-04 Andreas Schwab <schwab@suse.de>
2511 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2513 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2515 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2516 mtvsrd instruction in binary form.
2518 2014-11-03 Andreas Schwab <schwab@suse.de>
2521 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2522 for less than MB_LEN_MAX use a local buffer of that size.
2523 * libio/tst-fputws.c: New file.
2524 * libio/Makefile (tests): Add tst-fputws.
2526 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2528 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2529 the size of the fpu_fr.fpu_dregs[] array.
2531 2014-11-01 Joseph Myers <joseph@codesourcery.com>
2533 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2534 (__nanosleep): Do not define as alias.
2535 (nanosleep): Define as alias of __nanosleep.
2536 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2537 __libc_nanosleep name.
2539 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2541 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2542 install.texi in comment.
2544 2014-10-31 Torvald Riegel <triegel@redhat.com>
2546 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2547 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2548 ... add here and use lwsync or sync ...
2549 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2550 ... and add here using lwsync.
2552 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2554 * elf/dl-machine-reject-phdr.h: New file.
2555 * elf/dl-load.c: #include that.
2556 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2557 if that returned true.
2559 2014-10-31 Roland McGrath <roland@hack.frob.com>
2562 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2563 gen-as-const-headers chunk. Add a big scare comment after the last
2564 safe place to touch before-compile.
2566 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2568 * manual/install.texi (Tools for Compilation): Update autoconf
2569 version requirements.
2570 * INSTALL: Regenerated.
2572 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2573 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2574 (__libc_pselect): Likewise.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2582 2014-10-31 Torvald Riegel <triegel@redhat.com>
2584 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2585 correct barrier instruction.
2586 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2588 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2591 2014-10-30 Roland McGrath <roland@hack.frob.com>
2593 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2594 after defining inlines. Instead, just use parens to defeat macro
2595 expansion of __isctype in its declaration.
2597 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2599 * include/sys/uio.h (__libc_readv): Remove declaration.
2600 (__libc_writev): Likewise.
2601 * misc/readv.c (__libc_readv): Rename to __readv.
2602 (__readv): Do not define as alias.
2603 (readv): Define as alias of __readv.
2604 * misc/writev.c (__libc_writev): Rename to __writev.
2605 (__writev): Do not define as alias.
2606 (writev): Define as alias of __writev.
2607 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2608 (__readv): Do not define as alias.
2609 (readv): Define unconditionally as alias of __readv.
2610 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2611 (__writev): Do not define as alias.
2612 (writev): Define unconditionally as alias of __writev.
2613 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2615 (writev): Do not define __libc_writev name.
2617 2014-10-30 Roland McGrath <roland@hack.frob.com>
2619 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2620 (convert_charseq): New function, broken out of ...
2621 (use_from_charmap): ... here. Call it.
2622 (use_to_charmap): Use convert_charseq and free instead of duplicating
2623 its code with a variable-length stack struct.
2625 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2627 * include/fcntl.h (__libc_creat): Remove declaration.
2628 * io/creat.c (__libc_creat): Rename to creat.
2629 (creat): Do not define as alias.
2630 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2631 of creat instead of __libc_creat.
2632 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2634 (creat): Do not define as alias.
2635 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2637 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2639 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2642 2014-10-29 Carlos O'Donell <carlos@redhat.com>
2644 * manual/llio.texi: Add comments discussing why write() may be
2645 considered MT-unsafe on Linux.
2647 2014-10-28 Carlos O'Donell <carlos@redhat.com>
2649 * dl-load.c (local_strdup): Remove.
2650 (expand_dynamic_string_token): Use __strdup.
2651 (decompose_rpath): Likewise.
2652 (_dl_map_object): Likewise.
2654 2014-10-28 Joseph Myers <joseph@codesourcery.com>
2657 * sysdeps/generic/unwind-dw2-fde.c
2658 (__register_frame_info_bases_internal): Do not declare.
2659 (__register_frame_info_table_bases_internal): Likewise.
2660 (__deregister_frame_info_bases_internal): Likewise.
2661 (__register_frame_info_bases): Declare and use hidden_proto before
2662 definition. Use hidden_def instead of INTDEF.
2663 (__register_frame_info_table_bases): Likewise.
2664 (__deregister_frame_info_bases): Likewise.
2665 (__register_frame_info): Do not use INTUSE.
2666 (__register_frame): Likewise.
2667 (__register_frame_info_table): Likewise.
2668 (__register_frame_table): Likewise.
2669 (__deregister_frame_info): Likewise.
2670 (__deregister_frame): Likewise.
2672 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2674 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2675 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2677 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2679 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2682 2014-10-27 Joseph Myers <joseph@codesourcery.com>
2685 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2686 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2687 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2688 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2689 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2690 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2691 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2692 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2693 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2694 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2695 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2696 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2697 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2699 (setfsuid): Likewise.
2700 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2701 (setfsuid): Likewise.
2702 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2703 (setfsuid): Likewise.
2704 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2706 (setfsuid): Likewise.
2707 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2708 (setfsuid): Likewise.
2709 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2711 (setfsuid): Likewise.
2713 2014-10-27 Andreas Schwab <schwab@suse.de>
2716 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2717 check for Slow_SSE4_2 feature bit.
2718 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2719 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2720 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2721 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2723 2014-10-24 Roland McGrath <roland@hack.frob.com>
2725 * configure.ac: Validate compiler version with a empirical test of
2726 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2728 * configure: Regenerated.
2730 * inet/htons.c (htons): Prototypify.
2731 * inet/htonl.c (htonl): Likewise.
2733 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2735 * string/strncat.c (strncat): Improve performance by using strlen.
2737 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2739 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2741 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2743 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2744 Call libc_fetestexcept_aarch64.
2746 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2748 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2749 Call libc_feholdexcept_aarch64.
2751 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2753 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2754 Call get_rounding_mode.
2756 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2758 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2761 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2763 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2766 2014-10-24 Joseph Myers <joseph@codesourcery.com>
2769 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2770 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2771 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2772 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2773 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2774 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2775 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2776 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2777 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2778 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2779 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2780 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2781 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2782 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2783 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2784 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2785 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2786 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2787 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2788 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2789 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2790 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2791 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2792 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2793 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2794 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2795 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2796 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2797 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2798 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2799 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2800 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2801 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2802 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2803 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2804 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2805 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2806 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2807 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2808 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2809 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2811 (geteuid): Likewise.
2814 (getresgid): Likewise.
2815 (getresuid): Likewise.
2816 (getgroups): Likewise.
2817 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2818 (geteuid): Likewise.
2821 (getresgid): Likewise.
2822 (getresuid): Likewise.
2823 (getgroups): Likewise.
2824 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2825 (geteuid): Likewise.
2828 (getresgid): Likewise.
2829 (getresuid): Likewise.
2830 (getgroups): Likewise.
2831 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2833 (geteuid): Likewise.
2836 (getresgid): Likewise.
2837 (getresuid): Likewise.
2838 (getgroups): Likewise.
2839 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2840 (geteuid): Likewise.
2843 (getresgid): Likewise.
2844 (getresuid): Likewise.
2845 (getgroups): Likewise.
2846 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2848 (geteuid): Likewise.
2851 (getgroups): Likewise.
2854 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2855 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2856 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2857 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2858 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2859 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2860 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2861 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2862 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2863 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2864 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2865 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2866 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2868 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2871 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2875 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2878 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2883 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2885 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2888 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2890 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2893 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2895 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2896 Remove unused include.
2898 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2900 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2901 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2902 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2903 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2905 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2906 Helge Deller <deller@gmx.de>
2909 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2910 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2911 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2913 2014-10-23 Joseph Myers <joseph@codesourcery.com>
2916 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2917 Remove macro definition.
2918 (__ashrdi3_v_glibc20): Likewise.
2919 (__lshrdi3_v_glibc20): Likewise.
2920 (__cmpdi2_v_glibc20): Likewise.
2921 (__ucmpdi2_v_glibc20): Likewise.
2922 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2923 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2924 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2925 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2926 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2927 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2929 2014-10-22 Roland McGrath <roland@hack.frob.com>
2931 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2932 old GNU extension [0] syntax.
2933 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2934 alloca rather than an array member with variable length.
2935 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2936 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2937 (parse_opt): ... here. Likewise use alloca there.
2938 Validate the -i argument before checking for rootness.
2939 (send_shutdown): New function, broken out of ...
2940 (parse_opt): ... here.
2942 2014-10-22 Roland McGrath <roland@hack.frob.com>
2944 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2945 macro to get at the _rt_local_ro field.
2946 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2947 ([PIC] case) or _dl_hwcap ([!PIC] case).
2948 * sysdeps/arm/setjmp.S: Likewise.
2950 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2951 * sysdeps/arm/configure.ac: New check to define it.
2952 * sysdeps/arm/configure: Regenerated.
2953 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2954 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2955 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2956 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2957 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2958 Use move/movt pair instead of a load.
2959 (LDST_GLOBAL): Macro removed.
2960 (LDR_GLOBAL): New macro replaces it.
2961 (LDR_HIDDEN): New macro.
2962 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2963 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2965 * setjmp/tst-setjmp-static.c: New file.
2966 * setjmp/Makefile (tests): Add it.
2967 (tests-static): New variable.
2969 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2972 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2974 2014-10-21 Joseph Myers <joseph@codesourcery.com>
2977 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2979 2014-10-21 Roland McGrath <roland@hack.frob.com>
2981 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2983 2014-10-20 Roland McGrath <roland@hack.frob.com>
2985 * io/fts.c (dirent_not_directory): New function.
2986 (fts_build): Call it.
2988 2014-10-20 Roland McGrath <roland@hack.frob.com>
2990 * nptl/version.c (__nptl_main): Use normal __write rather than
2992 (banner): Update copyright years.
2994 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2996 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2997 * nptl/pthread_cond_timedwait.c: Likewise.
2998 * nptl/pthread_mutex_timedlock.c: Likewise.
2999 * nptl/sem_timedwait.c: Likewise.
3001 * sysdeps/nptl/bits/libc-lock.h
3002 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3003 (__libc_lock_init_recursive): Return void, not 0.
3004 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3005 (__libc_rwlock_init): Likewise.
3006 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3008 2014-10-20 Torvald Riegel <triegel@redhat.com>
3011 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3012 (__pthread_once_slow): ... here.
3013 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3014 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3016 2014-10-20 Torvald Riegel <triegel@redhat.com>
3019 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3020 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3021 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3022 * nptl/pthread_once.c (__pthread_once): Likewise.
3025 2014-10-20 Joseph Myers <joseph@codesourcery.com>
3028 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3030 (writev): Use __libc_writev as strong name.
3031 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3032 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3034 2014-10-17 Roland McGrath <roland@hack.frob.com>
3036 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3038 * sysdeps/i386/nptl/tls.h
3039 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3040 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3042 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3043 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3044 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3045 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3046 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3047 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3049 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3050 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3052 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3054 (__pthread_mutex_init): ... here. Call it.
3055 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3056 Conditionalize PI cases on [__NR_futex].
3057 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3058 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3059 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3061 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3062 conditional on [SIGSETXID].
3063 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3064 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3065 is defined. Likewise for SIGSETXID.
3066 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3067 Conditionalize definitions on [SIGSETXID].
3068 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3069 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3070 unblocking on [SIGCANCEL].
3072 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3073 [__NR_set_robust_list].
3075 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3077 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3078 (do_compare): Likewise.
3080 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
3083 * string/strcoll_l.c: Don't include stdio.h.
3084 (coll_seq): Remove members idxarr and rulearr.
3085 (get_next_seq_cached): Remove function.
3086 (get_next_seq): Likewise.
3087 (get_next_seq_nocache): Rename to get_next_seq.
3088 (do_compare): Remove function.
3089 (do_compare_nocache): Rename to do_compare.
3090 (STRCOLL): Remove weight and rules cache.
3092 2014-10-16 Roland McGrath <roland@hack.frob.com>
3094 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3095 * sysdeps/arm/sfp-machine.h: ... to here.
3096 * sysdeps/arm/Implies: Remove arm/soft-fp.
3098 2014-10-14 Joseph Myers <joseph@codesourcery.com>
3100 * conform/data/sys/utsname.h-data (*_t): Allow.
3101 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3102 [POSIX] (WEXITED): Do not expect constant.
3103 [POSIX] (WSTOPPED): Likewise.
3104 [POSIX] (WNOHANG): Likewise.
3105 [POSIX] (WNOWAIT): Likewise.
3106 [POSIX] (siginfo_t): Do not expect type or elements.
3107 [POSIX] (pid_t): Do not expect type.
3108 [POSIX] (signal.h): Do not allow header.
3109 [POSIX] (sys/resource.h): Likewise.
3110 [POSIX] (si_*): Do not allow pattern.
3111 [POSIX] (W*): Likewise.
3112 [POSIX] (P_*): Likewise.
3113 [POSIX] (BUS_*): Likewise.
3114 [POSIX] (CLD_*): Likewise.
3115 [POSIX] (FPE_*): Likewise.
3116 [POSIX] (ILL_*): Likewise.
3117 [POSIX] (POLL_*): Likewise.
3118 [POSIX] (SEGV_*): Likewise.
3119 [POSIX] (SI_*): Likewise.
3120 [POSIX] (TRAP_*): Likewise.
3121 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3124 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3127 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3128 infinite loop when __recvmsg returns 0.
3130 2014-10-10 Joseph Myers <joseph@codesourcery.com>
3132 * CANCEL-FCT-WAIVE: Remove file.
3133 * CANCEL-FILE-WAIVE: Likewise.
3136 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3137 instead of INTVARDEF.
3138 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3139 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3140 rtld_hidden_data_def instead of INTVARDEF.
3141 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3142 * elf/dl-deps.c (expand_dst): Likewise.
3143 * elf/dl-load.c (_dl_dst_count): Likewise.
3144 (_dl_dst_substitute): Likewise.
3145 (decompose_rpath): Likewise.
3146 (_dl_init_paths): Likewise.
3147 (open_path): Likewise.
3148 (_dl_map_object): Likewise.
3149 * elf/rtld.c (dl_main): Likewise.
3150 (process_dl_audit): Likewise.
3151 (process_envvars): Likewise.
3152 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3154 (__libc_enable_secure): Use rtld_hidden_proto.
3156 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3159 (add_path): New function broken out of _dl_rtld_di_serinfo.
3160 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3162 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3164 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3165 parentheses around macro arguments.
3166 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3167 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3168 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3169 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3170 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3171 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3172 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3173 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3174 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3175 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3176 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3177 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3178 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3179 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3180 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3181 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3182 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3183 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3184 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3185 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3186 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3187 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3188 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3189 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3190 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3191 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3192 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3193 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3194 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3195 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3196 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3197 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3198 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3199 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3200 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3201 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3203 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3204 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3205 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3206 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3207 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3208 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3209 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3210 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3211 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3212 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3213 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3214 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3215 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3216 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3217 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3218 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3219 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3220 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3221 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3222 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3223 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3224 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3225 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3226 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3227 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3228 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3229 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3230 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3231 (_FP_FRAC_SRS_1): Likewise.
3232 (_FP_FRAC_CLZ_1): Likewise.
3233 (_FP_MUL_MEAT_1_imm): Likewise.
3234 (_FP_MUL_MEAT_1_wide): Likewise.
3235 (_FP_MUL_MEAT_1_hard): Likewise.
3236 (_FP_SQRT_MEAT_1): Likewise.
3237 (_FP_FRAC_ASSEMBLE_1): Likewise.
3238 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3239 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3240 (__FP_CLZ_2): Likewise.
3241 (_FP_MUL_MEAT_2_wide): Likewise.
3242 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3243 (_FP_MUL_MEAT_2_gmp): Likewise.
3244 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3245 (_FP_SQRT_MEAT_2): Likewise.
3246 (_FP_FRAC_ASSEMBLE_2): Likewise.
3247 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3248 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3249 (_FP_FRAC_CLZ_4): Likewise.
3250 (_FP_MUL_MEAT_4_wide): Likewise.
3251 (_FP_MUL_MEAT_4_gmp): Likewise.
3252 (_FP_SQRT_MEAT_4): Likewise.
3253 (_FP_FRAC_ASSEMBLE_4): Likewise.
3254 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3255 * soft-fp/op-common.h (_FP_CMP): Likewise.
3256 (_FP_CMP_EQ): Likewise.
3257 (_FP_CMP_UNORD): Likewise.
3258 (_FP_TO_INT): Likewise.
3259 (_FP_FROM_INT): Likewise.
3260 [!__FP_CLZ] (__FP_CLZ): Likewise.
3261 (_FP_DIV_HELP_imm): Likewise.
3262 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3264 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3265 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3266 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3267 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3268 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3269 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3270 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3271 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3272 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3273 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3274 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3275 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3276 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3277 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3278 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3279 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3280 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3281 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3282 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3283 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3284 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3285 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3286 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3287 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3288 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3289 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3290 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3291 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3292 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3293 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3294 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3295 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3296 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3297 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3298 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3299 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3300 (FP_UNPACK_RAW_SP): Likewise.
3301 (FP_PACK_RAW_S): Likewise.
3302 (FP_PACK_RAW_SP): Likewise.
3303 (FP_UNPACK_S): Likewise.
3304 (FP_UNPACK_SP): Likewise.
3305 (FP_UNPACK_SEMIRAW_S): Likewise.
3306 (FP_UNPACK_SEMIRAW_SP): Likewise.
3307 (FP_PACK_S): Likewise.
3308 (FP_PACK_SP): Likewise.
3309 (FP_PACK_SEMIRAW_S): Likewise.
3310 (FP_PACK_SEMIRAW_SP): Likewise.
3311 (_FP_SQRT_MEAT_S): Likewise.
3312 (FP_CMP_S): Likewise.
3313 (FP_CMP_EQ_S): Likewise.
3314 (FP_CMP_UNORD_S): Likewise.
3315 (FP_TO_INT_S): Likewise.
3316 (FP_FROM_INT_S): Likewise.
3318 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3320 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3321 (FP_EX_INVALID_IMZ): Likewise.
3322 (FP_EX_INVALID_IMZ_FMA): Likewise.
3323 (FP_EX_INVALID_ISI): Likewise.
3324 (FP_EX_INVALID_ZDZ): Likewise.
3325 (FP_EX_INVALID_IDI): Likewise.
3326 (FP_EX_INVALID_SQRT): Likewise.
3327 (FP_EX_INVALID_CVI): Likewise.
3328 (FP_EX_INVALID_VC): Likewise.
3329 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3330 "invalid" exceptions.
3331 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3332 (_FP_ADD_INTERNAL): Likewise.
3333 (_FP_MUL): Likewise.
3334 (_FP_FMA): Likewise.
3335 (_FP_DIV): Likewise.
3336 (_FP_CMP_CHECK_NAN): Likewise.
3337 (_FP_SQRT): Likewise.
3338 (_FP_TO_INT): Likewise.
3339 (FP_EXTEND): Likewise.
3341 2014-10-09 Allan McRae <allan@archlinux.org>
3343 * po/fr.po: Update French translation from translation project.
3345 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3348 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3350 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3351 (__cxa_atexit): Use libc_hidden_proto.
3352 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3355 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3357 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3358 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3359 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3360 [!_ISOMAC] (__iswctype_internal): Likewise.
3361 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3362 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3364 (fcntl): Remove __fcntl_internal alias.
3365 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3366 __connect_internal alias.
3367 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3370 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3371 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3373 (_FP_CHECK_FLUSH_ZERO): New macro.
3374 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3375 (_FP_CMP): Likewise.
3376 (_FP_CMP_EQ): Likewise.
3377 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3379 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3380 (FP_TRUNC): Likewise.
3382 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3383 treated as invalid conversion, not as normal exponent.
3385 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3386 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3387 (_FP_CMP_EQ): Likewise.
3388 (_FP_CMP_UNORD): Likewise.
3389 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3390 (FP_CMP_EQ_D): Likewise.
3391 (FP_CMP_UNORD_D): Likewise.
3392 * soft-fp/extended.h (FP_CMP_E): Likewise.
3393 (FP_CMP_EQ_E): Likewise.
3394 (FP_CMP_UNORD_E): Likewise.
3395 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3396 (FP_CMP_EQ_Q): Likewise.
3397 (FP_CMP_UNORD_Q): Likewise.
3398 * soft-fp/single.h (FP_CMP_S): Likewise.
3399 (FP_CMP_EQ_S): Likewise.
3400 (FP_CMP_UNORD_S): Likewise.
3401 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3402 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3403 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3404 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3405 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3406 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3407 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3408 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3409 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3410 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3411 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3412 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3413 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3415 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3417 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3418 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3420 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3422 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3423 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3424 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3425 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3427 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3429 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3430 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3432 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3434 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3435 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3436 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3437 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3440 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3441 a subnormal result, set the underflow exception if trapping on
3442 underflow is enabled.
3443 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3444 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3445 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3447 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3448 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3449 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3450 * soft-fp/extendxftf2.c (__extendxftf2): Use
3451 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3453 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3454 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3455 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3456 FP_HANDLE_EXCEPTIONS.
3457 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3458 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3459 FP_HANDLE_EXCEPTIONS.
3460 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3461 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3462 FP_HANDLE_EXCEPTIONS.
3463 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3464 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3465 FP_HANDLE_EXCEPTIONS.
3467 2014-10-08 Joseph Myers <joseph@codesourcery.com>
3470 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3471 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3473 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3474 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3476 (__adjtimex): Define using libc_hidden_ver.
3477 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3479 (ntp_gettime): Call __adjtimex directly.
3480 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3482 (ntp_gettimex): Call __adjtimex directly.
3483 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3484 __adjtimex_internal alias.
3486 2014-10-08 Roland McGrath <roland@hack.frob.com>
3489 * nscd/nscd.c (more_help): Rewrite list of tables collection
3490 using xstrdup and asprintf.
3492 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3494 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3495 Roland McGrath <roland@hack.frob.com>
3497 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3498 (do_lookup_unique): ... local function 'enter' here; update callers.
3500 2014-10-06 Joseph Myers <joseph@codesourcery.com>
3502 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3503 compat_symbol calls on [SHARED].
3504 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3505 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3507 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3508 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3509 (oldsetrlimit): Remove.
3510 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3512 (lchown): New syscall entry.
3513 (oldsetrlimit): Remove.
3514 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3515 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3516 (oldsetrlimit): Remove.
3517 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3520 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3521 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3522 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3523 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3524 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3525 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3527 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3532 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3534 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3535 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3536 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3537 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3538 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3540 (__old_sem_post): Likewise.
3542 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
3544 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3545 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3546 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3547 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3548 Use INLINE_VSYSCALL macro.
3549 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3550 __vdso_clock_gettime.
3551 * sysdeps/unix/sysv/linux/tile/init-first.c
3552 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3553 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3554 __vdso_clock_gettime.
3556 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3557 to set up frame more cleanly.
3559 * sysdeps/tile/memcmp.c: New file.
3561 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3563 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3564 * sysdeps/tile/tilegx/strcasestr.c: New file.
3565 * sysdeps/tile/tilegx/strnlen.c: New file.
3566 * sysdeps/tile/tilegx/strstr.c: New file.
3568 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3570 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
3572 * nptl/tst-setuid3.c: Write errors to stdout.
3574 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3577 (preload): New functions broken out of _dl_map_object_deps.
3578 (_dl_map_object_deps): Remove a nested function. Update call sites.
3580 2014-10-01 Joseph Myers <joseph@codesourcery.com>
3583 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3584 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3586 2014-10-01 Steve Ellcey <sellcey@mips.com>
3588 * sysdeps/mips/strcmp.S: New.
3590 2014-09-30 Joseph Myers <joseph@codesourcery.com>
3593 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3595 (mkdirat): Likewise.
3596 (readlinkat): Likewise.
3597 (renameat): Likewise.
3598 (symlinkat): Likewise.
3599 (unlinkat): Likewise.
3600 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3601 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3602 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3603 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3604 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3605 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3606 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3608 2014-09-30 Will Newton <will.newton@linaro.org>
3610 * math/math.h: Define long double math functions if
3611 _LIBC_TEST is defined.
3612 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3614 * localedata/Makefile: Move assignment to tests-special
3615 into an ifdef testing run-built-tests.
3616 * timezone/Makefile: Likewise.
3618 2014-09-29 Joseph Myers <joseph@codesourcery.com>
3620 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3621 with $(BASH) not $(SHELL).
3623 2014-09-29 Carlos O'Donell <carlos@redhat.com>
3624 Matthew LeGendre <legendre1@llnl.gov>
3627 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3630 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3632 * stdio-common/printf_fp.c
3633 (hack_digit): New function, broken out of ...
3634 (__printf_fp): ... local function here. Update call sites.
3635 hack_digit now takes an additional parameter that is a pointer
3636 to a struct of the referenced locals. Those locals moved inside
3637 the struct and references updated.
3639 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3641 * aclocal.m4: Require autoconf 2.69.
3642 * configure: Regenerated.
3643 * sysdeps/aarch64/configure: Likewise.
3644 * sysdeps/alpha/configure: Likewise.
3645 * sysdeps/arm/armv7/configure: Likewise.
3646 * sysdeps/arm/configure: Likewise.
3647 * sysdeps/ia64/configure: Likewise.
3648 * sysdeps/mach/configure: Likewise.
3649 * sysdeps/mips/configure: Likewise.
3650 * sysdeps/s390/configure: Likewise.
3651 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3654 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3656 * sysdeps/ia64/configure.ac: Likewise.
3658 2014-09-26 Joseph Myers <joseph@codesourcery.com>
3660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3661 specify symbol version for ld.so. Do not include entry for
3663 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3664 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3665 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3668 * Makeconfig [$(build-shared) = yes]
3669 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3671 [$(build-shared) = yes && $(soversions.mk-done) = t]
3672 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3673 [$(build-shared) = yes && $(soversions.mk-done) = t]
3674 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3676 [$(build-shared) = yes && $(soversions.mk-done) = t]
3677 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3679 [$(build-shared) = yes && $(soversions.mk-done) = t]
3680 (common-generated): Don't append gnu/lib-names.h and
3681 gnu/lib-names.stmp here.
3682 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3683 (lib-names-h-abi): New variable.
3684 [$(build-shared) = yes && $(soversions.mk-done) = t]
3685 (lib-names-stmp-abi): Likewise.
3686 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3687 abi-variants] (before-compile): Append
3688 $(common-objpfx)$(lib-names-h-abi).
3689 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3690 abi-variants] (common-generated): Append gnu/lib-names.h.
3691 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3692 abi-variants] (install-others-nosubdir): Depend on
3693 $(inst_includedir)/$(lib-names-h-abi).
3694 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3695 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3696 [$(build-shared) = yes && $(soversions.mk-done) = t]
3697 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3698 [$(build-shared) = yes && $(soversions.mk-done) = t]
3699 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3700 [$(build-shared) = yes && $(soversions.mk-done) = t]
3701 (common-generated): Append $(lib-names-h-abi) and
3702 $(lib-names-stmp-abi).
3703 * scripts/lib-names.awk: Do not handle multi being set.
3704 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3706 (abi-lp64_be-ld-soname): Likewise.
3707 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3709 (abi-hard-ld-soname): Likewise.
3710 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3711 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3713 (abi-o32_hard-ld-soname): Likewise.
3714 (abi-o32_soft_2008-ld-soname): Likewise.
3715 (abi-o32_hard_2008-ld-soname): Likewise.
3716 (abi-n32_soft-ld-soname): Likewise.
3717 (abi-n32_hard-ld-soname): Likewise.
3718 (abi-n32_soft_2008-ld-soname): Likewise.
3719 (abi-n32_hard_2008-ld-soname): Likewise.
3720 (abi-n64_soft-ld-soname): Likewise.
3721 (abi-n64_hard-ld-soname): Likewise.
3722 (abi-n64_soft_2008-ld-soname): Likewise.
3723 (abi-n64_hard_2008-ld-soname): Likewise.
3724 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3726 (abi-64-v2-ld-soname): Likewise.
3727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3729 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3731 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3733 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3735 (abi-64-ld-soname): Likewise.
3736 (abi-x32-ld-soname): Likewise.
3737 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3739 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3741 2014-09-23 Joseph Myers <joseph@codesourcery.com>
3744 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3745 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3746 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3747 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3748 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3749 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3750 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3751 syscall entry for GLIBC_2.2 symbol version.
3752 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3755 (setrlimit): Likewise.
3756 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3759 2014-09-23 Will Newton <will.newton@linaro.org>
3761 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3762 _LINUX_ARM_SYSDEP_H include guard too.
3763 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3766 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3768 * sysdeps/unix/sysv/linux/eventfd.c:
3769 Make first argument unsigned.
3770 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3771 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3773 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
3775 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3776 * socket/sys/socket.h: Likewise
3777 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3779 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3781 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3783 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
3785 * time/tst-ftime.c: New test.
3786 * time/Makefile (tests): Add tst-ftime.
3788 2014-09-17 Joseph Myers <joseph@codesourcery.com>
3790 * soft-fp/extended.h: Fix comment formatting.
3791 * soft-fp/op-1.h: Likewise.
3792 * soft-fp/op-2.h: Likewise.
3793 * soft-fp/op-4.h: Likewise.
3794 * soft-fp/op-8.h: Likewise.
3795 * soft-fp/op-common.h: Likewise.
3796 * soft-fp/soft-fp.h: Likewise.
3798 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3800 2014-09-16 Joseph Myers <joseph@codesourcery.com>
3803 * Makeconfig (soversions-default-setname): Remove variable.
3804 ($(common-objpfx)soversions.i): Don't pass default_setname to
3806 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3807 oldest_abi to abi-versions.awk.
3808 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3809 * config.make.in (oldest-abi): Remove variable.
3810 * configure.ac (--enable-oldest-abi): Remove configure option.
3811 * configure: Regenerated.
3812 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3814 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3815 * scripts/soversions.awk: Do not handle default_setname variable.
3816 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3818 * sysdeps/mach/hurd/configure: Regenerated.
3819 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3821 * sysdeps/unix/sysv/linux/configure: Regenerated.
3823 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3825 * elf/Makefile (CFLAGS-interp.c): Remove.
3826 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3828 * elf/interp.c: Include generated runtime-linker.h
3830 * Makerules (lib%.so): Don't include $(+interp) in
3832 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3833 * dlfcn/eval.c: Remove file.
3835 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3839 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3843 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3845 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3846 Jakub Jelinek <jakub@redhat.com>
3849 * libio/stdio.h: Check definition of __fortify_function
3850 instead of __extern_always_inline to include bits/stdio2.h.
3851 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3852 check if __extern_always_inline is defined.
3853 [__USE_MISC || __USE_XOPEN]: Likewise.
3854 [__USE_ISOC99] Likewise.
3855 * misc/sys/cdefs.h (__fortify_function): Define only if
3856 __extern_always_inline is defined.
3857 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3858 __extern_always_inline and __extern_inline only for g++-4.3
3859 and newer or a compatible gcc.
3861 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3864 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3865 last change to handle zero prefix length.
3867 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3869 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3872 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3875 2014-09-13 Allan McRae <allan@archlinux.org>
3877 * po/ru.po: Update Russian translation from translation project.
3879 2014-09-12 Roland McGrath <roland@hack.frob.com>
3881 * locale/programs/locale.c (show_locale_vars): Inline local function
3882 into its sole call site. Clean up some style nits.
3883 (print_item): New function, broken out of ...
3884 (show_info): ... local function here. Clean up style nits.
3886 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3888 (set_class_defaults): ... local function set_default here.
3889 Define set_default as a macro locally to pass constant parameters.
3890 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3891 rather than a shared local.
3893 * stdlib/rpmatch.c (try): New function, broken out of ...
3894 (rpmatch): ... local function here. Also, prototypify definition.
3896 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3898 * scripts/soversions.awk: Do not handle configuration names.
3899 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3900 vendor and os variables to soversions.awk.
3901 * configure.ac: Do not modify gnu-* host_os.
3902 * configure: Regenerated
3903 * shlib-versions: Remove first column with configuration names.
3904 * nptl/shlib-versions: Likewise.
3905 * nptl_db/shlib-versions: Likewise.
3906 * sysdeps/hppa/shlib-versions: Likewise.
3907 * sysdeps/m68k/shlib-versions: Likewise.
3908 * sysdeps/mach/hurd/shlib-versions: Likewise.
3909 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3910 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3911 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3912 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3913 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3914 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3915 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3916 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3919 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3920 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3921 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3922 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3923 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3924 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3925 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3926 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3929 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3932 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3934 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3936 * shlib-versions: Remove OS-specific entries. Moved to files in
3938 * sysdeps/mach/hurd/shlib-versions: New file.
3939 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3941 * nptl/shlib-versions: Remove architecture-specific entries.
3942 Moved to files in sysdeps.
3943 * shlib-versions: Likewise.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3946 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3947 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3948 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3949 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3951 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3952 (UDP_NO_CHECK6_RX): Likewise.
3954 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3956 * sysdeps/posix/sysconf.c (__sysconf): Spell
3957 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3959 2014-08-12 Florian Weimer <fweimer@redhat.com>
3961 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3963 * iconv/Versions (__gconv_transliterate): Export for use from
3965 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3966 (struct __gconv_trans_data, __gconv_trans_fct,
3967 __gconv_trans_context_fct, __gconv_trans_query_fct,
3968 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3970 (struct __gconv_step_data): Remove __trans member.
3971 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3972 longer hidden. Remove unused trans_data argument.
3973 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3974 (__gconv_translit_find): Remove declaration.
3975 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3977 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3978 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3979 trans_data argument. Add hidden definition.
3980 (__gconv_translit_find): Remove.
3981 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3982 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3983 * iconv/skeleton.c: Remove transliteration initialization.
3984 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3985 __gconv_step_data initialization.
3986 * libio/iofwide.c (__libio_translit_): Remove.
3987 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3988 * wcsmbs/btowc.c (__btowc): Likewise.
3989 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3990 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3991 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3992 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3993 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3994 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3995 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3996 * wcsmbs/wctob.c (wctob): Likewise.
3998 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4001 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4002 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4004 * sysdeps/x86/Makefile: Adjust.
4006 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4007 Roland McGrath <roland@hack.frob.com>
4009 * locale/weight.h: Add include guard.
4010 (findidx): Make static rather than auto; take new parameters
4011 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4012 * locale/weightwc.h: Likewise.
4013 * posix/fnmatch_loop.c
4014 (FCT): Change type of EXTRA from int32_t to wint_t.
4015 Don't include either header inside the function.
4016 Call FINDIDX rather than findidx, and pass new arguments.
4017 #undef FINDIDX at the end of the file.
4018 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4019 FINDIDX before including fnmatch_loop.c for the non-wide version.
4020 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4021 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4022 for the wide version.
4023 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4024 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4025 Pass new arguments to findidx.
4026 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4027 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4028 Don't #include it inside the function. Pass new arguments to findidx.
4029 * posix/regex_internal.h
4030 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4031 (re_string_elem_size_at): Don't #include it inside the function.
4032 Pass new arguments to findidx.
4033 * string/strcoll_l.c: #include WEIGHT_H at top level.
4034 (get_next_seq): Don't #include it inside the function.
4035 Pass new arguments to findidx.
4036 (get_next_seq_nocache): Likewise.
4037 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4038 (STRXFRM): Don't #include it inside the function.
4039 Pass new arguments to findidx.
4041 2014-09-11 Florian Weimer <fweimer@redhat.com>
4044 * malloc/malloc.c (unlink): Turn asserts into a call to
4047 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
4050 * libio/wfileops (do_ftell_wide): Free OUT.
4052 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4054 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4056 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4059 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4060 group if the current group is empty.
4062 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4064 * benchtests/bench-memset.c (test_main): Add more test from size
4065 from 32 to 512 bytes.
4066 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4067 Add POWER8 memset object.
4068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4069 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4070 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4072 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4074 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4075 multiarch POWER8 memset optimization.
4076 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4077 POWER8 memset optimization.
4079 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4080 Remove bzero multiarch objects.
4081 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4082 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4083 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4084 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4086 [__bzero]: Redefine to specific name.
4087 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4088 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4089 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4091 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4092 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4094 2014-09-10 Florian Weimer <fweimer@redhat.com>
4096 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4097 warnings into errors.
4099 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4100 __cxa_thread_atexit_impl prototype.
4102 2014-09-09 Steve Ellcey <sellcey@mips.com>
4104 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4105 Fix capitalization of error message.
4107 2014-09-09 Steve Ellcey <sellcey@mips.com>
4109 * sysdeps/mips/preconfigure: Modify ABI tests.
4111 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4113 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4115 2014-09-07 Roland McGrath <roland@hack.frob.com>
4116 Carlos O'Donell <carlos@systemhalted.org>
4118 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4119 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4120 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4121 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4122 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4123 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4124 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4125 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4126 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4127 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4128 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4129 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4130 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4131 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4132 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4133 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4134 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4135 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4136 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4137 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4138 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4139 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4140 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4141 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4142 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4143 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4144 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4145 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4146 Deconditionalize the code that was previously under [RESET_PID].
4147 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4148 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4149 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4150 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4153 2014-09-08 Allan McRae <allan@archlinux.org>
4155 * version.h (RELEASE): Set to "development".
4156 (VERSION): Set to "2.20.90"
4158 2014-09-07 Allan McRae <allan@archlinux.org
4160 * version.h (RELEASE): Set to "stable".
4161 (VERSION): Set to "2.20"
4162 * include/features.h (__GLIBC_MINOR__): Set to 20.
4164 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4167 * po/ko.po: Update Korean translation from translation project.
4169 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4172 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4173 macro for handling signed relocations.
4175 2014-09-03 Florian Weimer <fweimer@redhat.com>
4178 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4179 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4181 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4182 * iconvdata/ibm935.c (BODY): Likewise.
4183 * iconvdata/ibm937.c (BODY): Likewise.
4184 * iconvdata/ibm939.c (BODY): Likewise.
4185 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4187 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4189 * iconvdata/run-iconv-test.sh: New test loop for checking for
4192 2014-09-02 Khem Raj <raj.khem@gmail.com>
4194 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4197 2014-09-01 Allan McRae <allan@archlinux.org>
4199 * po/eo.po: Update Esperanto translation from translation project.
4201 * po/ca.po: Update Catalan translation from translation project.
4203 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4205 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4208 2014-08-27 Mark Wielaard <mjw@redhat.com>
4211 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4212 to call set_thread_area instead of hand written asm.
4213 (__NR_set_thread_area): Removed define.
4214 (TLS_FLAG_WRITABLE): Likewise.
4215 (__ASSUME_SET_THREAD_AREA): Remove check.
4216 (TLS_EBX_ARG): Remove define.
4217 (TLS_LOAD_EBX): Likewise.
4219 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4221 Simplify atomicity of socket creation in bind.
4223 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4224 looking up the name after linking the file.
4226 2014-08-27 Allan McRae <allan@archlinux.org>
4228 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4230 2014-08-26 Florian Weimer <fweimer@redhat.com>
4233 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4234 trans_compare, open_translit, __gconv_translit_find):
4235 Remove module loading code.
4237 2014-08-26 Allan McRae <allan@archlinux.org>
4239 * po/vi.po: Update Vietnamese translation from translation project.
4241 * po/uk.po: Update Ukrainian translation from translation project.
4243 * po/fr.po: Update French translation from translation project.
4245 * po/ru.po: Update Russian translation from translation project.
4247 * po/pl.po: Update Polish translation from translation project.
4249 * po/cs.po: Update Czech translation from translation project.
4251 * po/de.po: Update German translation from translation project.
4253 * po/bg.po: Update Bulgarian translation from translation project.
4255 * po/sv.po: Update Sweedish translation from translation project.
4257 * po/nl.po: Update Dutch translation from translation project.
4259 * po/es.po: Update Spanish translation from translation project.
4261 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4263 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4265 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4266 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4267 (CPPFLAGS-iconvconfig): Likewise.
4268 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4270 * include/libc-symbols.h: Remove unnecessary check for
4272 * nptl/pthreadP.h: Likewise.
4273 * sysdeps/aarch64/setjmp.S: Likewise.
4274 * sysdeps/alpha/setjmp.S: Likewise.
4275 * sysdeps/arm/sysdep.h: Likewise.
4276 * sysdeps/i386/setjmp.S: Likewise.
4277 * sysdeps/m68k/setjmp.c: Likewise.
4278 * sysdeps/posix/getcwd.c: Likewise.
4279 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4280 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4281 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4282 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4283 * sysdeps/sh/sh3/setjmp.S: Likewise.
4284 * sysdeps/sh/sh4/setjmp.S: Likewise.
4285 * sysdeps/unix/alpha/sysdep.h: Likewise.
4286 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4287 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4288 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4289 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4294 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4295 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4297 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4299 * sysdeps/x86_64/setjmp.S: Likewise.
4301 2014-08-13 Joseph Myers <joseph@codesourcery.com>
4304 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4306 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4307 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4309 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4311 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4314 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4315 and __x86_64__ when disabling x87 inline functions.
4317 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4320 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4321 asm statement with __cpuid_count.
4323 2014-08-12 Mike Frysinger <vapier@gentoo.org>
4325 * configure.ac: Change __ehdr_start code to dereference the struct.
4326 Run readelf on the output to look for relocations.
4327 * configure: Regenerated.
4329 2014-08-12 Joseph Myers <joseph@codesourcery.com>
4332 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4334 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4336 2014-08-12 Roland McGrath <roland@hack.frob.com>
4338 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4340 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4343 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4344 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4346 2014-08-12 Sean Anderson <seanga2@gmail.com>
4348 * malloc/malloc.c: Fix typo in comment.
4350 2014-08-09 Allan McRae <allan@archlinux.org>
4352 * Regenerate libc.po.
4354 2014-08-08 Mike Frysinger <vapier@gentoo.org>
4356 * intl/tst-gettext2.sh: Check every lang file for creation.
4358 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4360 * sysdeps/aarch64/fpu/math_private.h
4361 (libc_feholdsetround_noex_aarch64_ctx): New function.
4363 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4365 * sysdeps/arm/armv6/strcpy.S (strcpy):
4366 Fix performance issue in misaligned cases.
4368 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4370 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4371 Move definition from termios.h.
4372 (struct termio): Likewise.
4373 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4374 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4375 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4376 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4378 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4379 Move definition to ioctl-types.h
4380 (struct termio): Likewise.
4381 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4382 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4383 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4384 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4387 2014-08-05 Richard Henderson <rth@redhat.com>
4389 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4391 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4393 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4394 Use __feraiseexcept.
4395 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4396 Protect libm symbols with IS_IN_libm.
4398 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4400 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4402 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4404 2014-08-04 Will Newton <will.newton@linaro.org>
4406 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4409 2014-08-04 Mike Frysinger <vapier@gentoo.org>
4411 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4412 variants for each function.
4414 2014-08-04 Roland McGrath <roland@hack.frob.com>
4416 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4418 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4419 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4421 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4422 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4423 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4424 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4425 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4426 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4427 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4428 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4429 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4430 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4431 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4432 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4433 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4434 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4435 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4436 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4437 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4438 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4439 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4440 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4441 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4442 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4443 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4444 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4445 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4446 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4447 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4448 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4449 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4450 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4451 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4452 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4453 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4454 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4455 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4456 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4457 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4458 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4459 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4460 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4461 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4462 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4463 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4464 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4465 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4466 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4467 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4468 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4469 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4470 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4471 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4472 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4473 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4475 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4476 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4478 2014-08-04 Roland McGrath <roland@hack.frob.com>
4480 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4481 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4482 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4483 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4484 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4485 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4487 2014-08-04 Roland McGrath <roland@hack.frob.com>
4489 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4490 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4491 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4492 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4494 2014-08-04 Roland McGrath <roland@hack.frob.com>
4496 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4497 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4498 (__libc_vfork): Define function under this name.
4499 (__vfork): Define as an alias.
4500 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4501 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4503 2014-08-04 Roland McGrath <roland@hack.frob.com>
4505 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4506 that was previously under [RESET_PID].
4507 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4509 2014-08-04 Andreas Schwab <schwab@suse.de>
4511 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4513 2014-08-03 Mike Frysinger <vapier@gentoo.org>
4515 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4518 2014-08-01 Roland McGrath <roland@hack.frob.com>
4520 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4522 2014-08-01 Richard Henderon <rth@redhat.com>
4524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4525 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4526 typo in exact zero test.
4527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4528 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4529 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4531 2014-08-01 Roland McGrath <roland@hack.frob.com>
4533 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4534 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4535 * sysdeps/arm/sysdep.h: ... here.
4536 [!__ASSEMBLER__]: Include <stdint.h>.
4538 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4540 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4541 (HAVE_WCTYPE_H): Likewise.
4542 (HAVE_ISWCTYPE): Likewise.
4543 (ENABLE_NLS): Likewise.
4544 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4545 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4547 * posix/regex_internal.c: Check if DEBUG is defined and is
4550 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4551 (HAVE_MBSRTOWCS): Likewise.
4552 * posix/fnmatch.c: Include string.h unconditionally.
4554 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4556 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4559 2014-07-31 Roland McGrath <roland@hack.frob.com>
4561 * sysdeps/generic/safe-fatal.h: New file.
4562 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4563 * nptl/forward.c: Include it.
4564 (__pthread_unwind): Use __safe_fatal as default action, rather
4565 than a bogus use of INTERNAL_SYSCALL that could never work.
4567 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4568 * configure.ac (libc_cv_builtin_trap): New test.
4569 * configure: Regenerated.
4570 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4571 (ABORT_INSTRUCTION): Define using __builtin_trap.
4573 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4574 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4575 * sysdeps/nptl/nptl-signals.h: New file.
4576 * nptl/pthreadP.h: Include <nptl-signals.h>.
4578 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4580 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4581 (ONE_DIRECTION): Define.
4582 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4583 (ONE_DIRECTION): Define.
4584 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4585 (ONE_DIRECTION): Define.
4587 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4589 * sysdeps/s390/Makefile: Delete file.
4590 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4591 * sysdeps/s390/__longjmp.c: Delete file.
4592 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4593 Remove fields __flags and __reserved.
4594 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4596 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4597 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4598 * sysdeps/s390/rtld-setjmp.S: Likewise.
4599 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4600 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4601 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4602 * sysdeps/s390/s390-32/setjmp.S: ... here.
4604 (__sigsetjmp): Remove setting __flags field.
4605 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4606 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4607 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4608 * sysdeps/s390/s390-64/setjmp.S: ... here.
4610 (__sigsetjmp): Remove setting __flags field.
4611 * sysdeps/s390/setjmp.S: Delete file.
4612 * sysdeps/s390/sigjmp.c: Likewise.
4613 * sysdeps/s390/v1-longjmp.c: Likewise.
4614 * sysdeps/s390/v1-setjmp.h: Likewise.
4615 * sysdeps/s390/v1-sigjmp.c: Likewise.
4616 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4617 Remove v1-longjmp_chk.
4618 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4619 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4620 Include debug/longjmp_chk.c and add versioning.
4621 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4622 Include nptl/pt-longjmp.c and add versioning.
4623 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4624 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4625 Include __longjmp.c.
4626 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4628 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4629 (__getcontext): Remove setting __flags field.
4631 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4632 Don't restore upper high grps.
4633 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4635 (__swapcontext): Remove setting uc_flags field.
4636 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4638 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4639 Include __longjmp.c.
4640 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4642 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4643 (__getcontext): Remove setting __flags field.
4645 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4646 (__swapcontext): Remove setting uc_flags field.
4647 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4648 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4649 Remove fields uc_high_gprs and __reserved.
4650 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4651 New file with reverted content.
4652 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4653 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4655 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4658 2014-07-31 Andreas Schwab <schwab@suse.de>
4660 * config.h.in (HAVE_IFUNC): Define to 0.
4661 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4664 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4667 memmove-avx-unaligned, memcpy-avx-unaligned and
4668 mempcpy-avx-unaligned.
4669 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4670 Add tests for AVX memcpy functions.
4671 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4672 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4674 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4675 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4677 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4678 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4680 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4681 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4682 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4684 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4687 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4690 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
4693 * manual/llio.texi: Add section about open file description locks.
4694 * manual/examples/ofdlocks.c: Example of open file description
4696 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4697 F_OFD_SETLK, and F_OFD_SETLKW.
4699 2014-07-23 Allan McRae <allan@archlinux.org>
4701 * po/es.po: Update Spanish translation from translation project.
4703 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4705 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4707 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4710 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4711 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4712 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4714 2014-07-17 Joseph Myers <joseph@codesourcery.com>
4717 * math/fesetenv.c (__fesetenv)
4718 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4719 * math/feupdateenv.c (__feupdateenv)
4720 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4722 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4723 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4724 (__ASSUME_SOCKETCALL): Do not define.
4726 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4727 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4728 (__ASSUME_SOCKETCALL): Do not define.
4729 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4730 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4731 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4732 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4733 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4734 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4735 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4736 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4738 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4739 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4740 (__ASSUME_SOCKETCALL): Do not define.
4741 (__ASSUME_IPC64): Define unconditionally.
4742 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4743 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4744 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4745 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4746 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4747 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4748 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4751 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4752 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4753 (__ASSUME_SOCKETCALL): Do not define.
4754 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4755 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4756 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4757 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4758 (__ASSUME_REQUEUE_PI): Define unconditionally.
4759 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4760 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4761 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4762 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4763 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4764 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4766 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4767 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4768 (__ASSUME_SOCKETCALL): Do not define.
4769 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4770 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4771 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4772 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4773 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4774 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4776 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4777 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4778 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4779 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4780 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4781 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4782 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4783 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4784 (__ASSUME_GETCPU_SYSCALL): Likewise.
4786 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4787 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4788 cases for individual architectures.
4789 * sysdeps/gnu/configure: Regenerated.
4790 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4791 LIBC_SLIBDIR_RTLDDIR.
4792 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4793 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4794 LIBC_SLIBDIR_RTLDDIR.
4795 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4797 LIBC_SLIBDIR_RTLDDIR.
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4800 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4801 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4803 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4804 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4806 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4807 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4808 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4809 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4811 * sysdeps/aarch64/shlib-versions: Move to ...
4812 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4813 * sysdeps/alpha/shlib-versions: Move to ...
4814 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4815 * sysdeps/arm/shlib-versions: Move to ...
4816 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4817 * sysdeps/hppa/shlib-versions: Move all contents except for
4818 libgcc_s entry to ...
4819 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4821 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4822 * sysdeps/ia64/shlib-versions: Move to ...
4823 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4825 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4826 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4827 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4828 * sysdeps/microblaze/shlib-versions: Move to ...
4829 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4830 * sysdeps/mips/shlib-versions: Move to ...
4831 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4833 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4834 * sysdeps/tile/shlib-versions: Move to ...
4835 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4836 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4838 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4839 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4841 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4843 2014-07-17 Will Newton <will.newton@linaro.org>
4845 * sysdeps/arm/bits/atomic.h
4846 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4847 (__arch_compare_and_exchange_bool_16_int): Likewise.
4848 (__arch_compare_and_exchange_bool_64_int): Likewise.
4850 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4851 into an #else block.
4853 2014-07-16 Roland McGrath <roland@hack.frob.com>
4855 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4856 just Linux configurations. Test empirically that the compiler sets
4857 __ARM_EABI__, rather than using the tuple to decide.
4858 * sysdeps/arm/preconfigure: Regenerated.
4859 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4860 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4861 contents appended ...
4862 * sysdeps/arm/configure.ac: ... here.
4863 * sysdeps/arm/configure: Regenerated.
4865 2014-07-15 Roland McGrath <roland@hack.frob.com>
4867 * nptl/pthread_kill.c: New file.
4868 * nptl/pthread_sigmask.c: New file.
4869 * nptl/pthread_sigqueue.c: New file.
4871 * sysdeps/nptl/lowlevellock.h: New file.
4872 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4873 * sysdeps/nptl/lowlevellock-futex.h: New file.
4875 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4876 Remove dead declarations.
4878 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4880 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4881 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4883 * sysdeps/x86_64/configure.ac: Likewise.
4884 * sysdeps/i386/configure: Regenerated.
4885 * sysdeps/x86_64/configure: Likewise.
4886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4887 memset-avx2 only if config-cflags-avx2 is yes.
4888 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4889 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4891 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4892 only if HAVE_AVX2_SUPPORT is defined.
4893 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4895 2014-07-14 Alan Modra <amodra@gmail.com>
4898 * elf/elf.h (DT_PPC64_NUM): Correct value.
4899 * NEWS: Add to fixed bug list.
4901 2014-07-13 Jim Meyering <meyering@fb.com>
4904 regex: don't deref NULL upon heap allocation failure
4905 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4906 failure in one more place.
4907 To trigger the segfault, configure grep -with-included-regex,
4908 build it, and run these commands:
4909 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4911 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4913 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4915 2014-07-11 Richard Henderson <rth@redhat.com>
4917 * sysdeps/aarch64/libm-test-ulps: Update.
4919 2014-07-10 Florian Weimer <fweimer@redhat.com>
4922 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4923 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4924 (__nptl_setxid): Initialize error member. Call
4925 __nptl_setxid_error.
4926 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4927 * nptl/descr.h (struct xid_command): Add error member.
4928 * nptl/tst-setuid3.c: New file.
4929 * nptl/Makefile (tests): Add it.
4931 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4933 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4935 (__lll_trylock): Use __lll_base_trylock.
4936 (__lll_cond_trylock): Likewise.
4938 2014-07-10 Roland McGrath <roland@hack.frob.com>
4940 * nptl/pthread_create.c (start_thread): Use atomic_or and
4941 lll_futex_wake directly rather than lll_robust_dead.
4942 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4943 (lll_robust_dead): Macro removed.
4944 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4945 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4946 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4947 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4948 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4949 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4950 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4951 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4952 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4953 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4954 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4955 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4956 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4957 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4958 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4960 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4961 Use atomic_compare_and_exchange_val_acq directly rather than
4963 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4964 (__lll_robust_trylock, lll_robust_trylock): Removed.
4965 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4966 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4967 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4968 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4969 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4970 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4971 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4972 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4973 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4974 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4975 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4976 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4977 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4978 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4980 2014-07-02 Florian Weimer <fweimer@redhat.com>
4982 * manual/locale.texi (Locale Names): New section documenting
4983 locale name syntax. Adjust menu and node chaining accordingly.
4984 (Choosing Locale): Reference Locale Names, Locale Categories.
4985 Mention setting LC_ALL=C. Reflect that name syntax is now
4987 (Locale Categories): New section title. Reference Locale Names.
4988 LC_ALL is an environment variable, but not a category.
4989 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4990 description, now in Locale Name. Reference that section. Locale
4991 name syntax is now documented.
4993 2014-07-02 Florian Weimer <fweimer@redhat.com>
4996 * locale/findlocale.c (name_present, valid_locale_name): New
4998 (_nl_find_locale): Use the loc_name variable to store name
4999 candidates. Call name_present and valid_locale_name to check and
5000 validate locale names. Return an error if the locale is invalid.
5002 2014-07-02 Florian Weimer <fweimer@redhat.com>
5004 * locale/setlocale.c (setlocale): Use strdup for allocating
5005 composite name copy.
5007 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5009 Sync up with gnulib.
5010 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5011 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5012 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5013 and _GL_ARG_NONNULL.
5014 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5015 [!_LIBC]: Include code for Windows and Cygwin.
5016 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5017 Include prototype for int strerror_r.
5018 [!_LIBC] (is_open): New function.
5019 (flush_stdout): New function.
5020 (print_errno_message): Use it.
5022 (error_at_line): Likewise.
5023 (error_tail) Add function attribute macros. Use
5026 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5028 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5030 * io/ftw.c: Include sys/param.h unconditionally.
5032 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5035 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5037 (freecache): New function to free CACHE on exit.
5039 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5042 2014-07-09 David S. Miller <davem@davemloft.net>
5044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5046 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5047 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5048 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5049 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5050 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5051 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5052 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5053 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5054 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5055 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5056 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5057 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5058 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5060 2014-07-09 Andreas Schwab <schwab@suse.de>
5062 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5064 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5065 (do_test): Likewise.
5067 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5069 2014-07-09 Will Newton <will.newton@linaro.org>
5071 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5072 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5073 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5074 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5075 * sysdeps/hppa/start.S (_start): Likewise.
5077 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5079 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5081 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5084 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5086 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5087 after checking that it is non-NULL.
5089 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5091 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5093 * sysdeps/powerpc/memmove.c: Remove file.
5094 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5095 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5096 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5097 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5098 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5099 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5100 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5101 string memmove instead of removed powerpc one.
5103 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5104 [weak_alias]: Fix compiler warning due trailing data.
5105 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5106 [weak_alias]: Likewise.
5107 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5108 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5111 (__libc_ifunc_impl_list): Add memmove functions.
5113 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5115 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5117 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5119 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5121 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5123 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5125 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5127 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5129 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5131 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5133 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5135 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5137 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5139 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5141 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5143 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5145 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5147 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5150 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5152 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5153 to avoid alignment traps in non-cacheable memory.
5154 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5158 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5159 file: multiarch power7 memmove.
5160 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5161 multiarch default memmove.
5162 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5163 multiarch memove for powerpc32/power4.
5165 * string/bcopy.c: Use full path to include memmove.c.
5166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5168 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5169 bcopy for powerpc64.
5170 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5171 bcopy for powerpc64.
5172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5173 and memmove implementations.
5174 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5175 optimized multiarch memmove for POWER7/powerpc64.
5176 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5177 default multiarch memmove for powerpc64.
5178 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5179 multiarch for powerpc64.
5180 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5181 for POWER7/powerpc64.
5182 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5183 memmove for POWER7/powerpc64.
5185 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5188 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5189 __ELF_NATIVE_CLASS equal to 64.
5191 2014-07-07 Roland McGrath <roland@hack.frob.com>
5193 * sysdeps/nptl/lowlevellock.h: File removed.
5195 * NEWS: NPTL is no longer an add-on!
5196 * nptl/internaltypes.h: Moved ...
5197 * sysdeps/nptl/internaltypes.h: ... here.
5198 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5199 * sysdeps/nptl/fork.c: Likewise.
5200 * sysdeps/nptl/gai_misc.h: Likewise.
5201 * sysdeps/nptl/librt-cancellation.c: Likewise.
5202 * sysdeps/nptl/jmp-unwind.c: Likewise.
5203 * sysdeps/nptl/setxid.h: Likewise.
5204 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5205 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5206 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5207 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5208 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5209 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5210 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5211 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5212 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5213 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5214 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5215 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5216 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5217 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5218 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5219 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5220 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5221 * nptl/Makeconfig: Moved ...
5222 * sysdeps/nptl/Makeconfig: ... here.
5223 * nptl/configure: File removed.
5224 * nptl/ANNOUNCE: File removed.
5225 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5226 * sysdeps/unix/sysv/linux/configure: Regenerated.
5228 * nptl/Makefile (routines): Add libc_pthread_init,
5229 libc_multiple_threads, register-atfork and unregister-atfork.
5230 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5231 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5232 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5233 pthread-pi-defines.sym, structsem.sym.
5234 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5235 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5236 [$(subdir) = nptl] (tests): Add tst-setgetname.
5237 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5238 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5239 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5240 [!LIBC_SIGACTION]: Remove aliases.
5241 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5242 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5243 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5244 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5245 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5246 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5247 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5248 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5249 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5250 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5251 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5252 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5253 __libc_allocate_rtsig_private.
5254 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5255 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5256 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5257 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5258 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5259 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5260 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5261 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5262 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5263 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5264 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5265 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5266 * nptl/internaltypes.h: ... here.
5267 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5268 * sysdeps/nptl/jmp-unwind.c: ... here.
5269 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5270 * nptl/libc-lowlevellock.c: ... here.
5271 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5272 * nptl/libc_multiple_threads.c: ... here.
5273 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5274 * nptl/libc_pthread_init.c: ... here.
5275 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5276 * nptl/lowlevelbarrier.sym: ... here.
5277 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5278 * nptl/lowlevelcond.sym: ... here.
5279 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5280 * nptl/lowlevellock.c: ... here.
5281 * nptl/lowlevellock.h: Moved ...
5282 * sysdeps/nptl/lowlevellock.h: ... here.
5283 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5284 * nptl/lowlevelrobustlock.c: ... here.
5285 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5286 * nptl/lowlevelrobustlock.sym: ... here.
5287 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5288 * nptl/lowlevelrwlock.sym: ... here.
5289 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5290 * nptl/pt-fork.c: ... here.
5291 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5292 * nptl/pthread-pi-defines.sym: ... here.
5293 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5294 * nptl/pthread_attr_getaffinity.c: ... here.
5295 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5296 * nptl/pthread_attr_setaffinity.c: ... here.
5297 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5298 * nptl/pthread_mutex_cond_lock.c: ... here.
5299 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5301 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5302 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5303 * nptl/pthread_once.c: ... here, replacing old file.
5304 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5305 * nptl/pthread_yield.c: ... here.
5306 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5307 * nptl/register-atfork.c: ... here.
5308 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5309 * nptl/sem_post.c: ... here.
5310 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5311 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5312 * nptl/sem_timedwait.c: ... here.
5313 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5314 * nptl/sem_trywait.c: ... here.
5315 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5316 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5317 * nptl/sem_wait.c: ... here.
5318 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5319 * nptl/structsem.sym: ... here.
5320 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5321 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5322 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5323 * nptl/unregister-atfork.c: ... here.
5324 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5325 * nptl/unwindbuf.sym: ... here.
5326 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5327 * sysdeps/nptl/fork.c: ... here.
5328 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5329 * sysdeps/nptl/fork.h: ... here.
5330 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5331 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5332 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5333 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5334 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5335 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5336 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5337 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5338 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5339 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5340 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5341 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5342 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5343 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5344 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5345 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5346 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5347 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5348 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5349 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5350 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5351 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5352 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5353 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5354 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5355 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5356 * sysdeps/unix/sysv/linux/raise.c: ... here.
5357 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5358 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5359 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5360 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5361 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5362 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5363 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5364 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5365 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5366 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5367 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5368 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5369 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5370 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5371 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5373 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5375 * sysdeps/generic/memcopy.h: Add comment for
5376 MEMCPY_OK_FOR_FWD_MEMMOVE.
5378 2014-07-04 Will Newton <will.newton@linaro.org>
5380 * string/memchr.c: Merge from gnulib.
5381 [_LIBC]: Remove conditionals.
5382 (__ptr_t): Remove define.
5383 (LONG_MAX_32_BITS): Likewise.
5384 (LONG_MAX): Likewise.
5385 (MEMCHR): Use ANSI prototype and optimize algorithm.
5387 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5389 2014-07-03 Roland McGrath <roland@hack.frob.com>
5391 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5392 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5394 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5395 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5396 in a bare environment with no <stdlib.h> installed.
5397 * sysdeps/nptl/configure: Regenerated.
5399 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5401 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5402 AC_EGREP_CPP for kernel header checks, so they only succeed if
5403 including <linux/version.h> actually works right.
5404 * sysdeps/unix/sysv/linux/configure: Regenerated.
5406 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5407 value so it's not diagnosed as unused.
5409 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5410 thing) with "ifeq ($(subdir),rt)".
5412 2014-07-03 Richard Henderson <rth@redhat.com>
5414 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5415 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5416 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5418 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5419 (math_force_eval): New.
5421 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5422 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5424 * sysdeps/alpha/fpu/s_round.c: Remove file.
5425 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5427 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5428 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5429 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5430 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5431 (_dl_start, print_statistics): Likewise.
5432 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5433 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5435 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5436 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5437 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5438 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5439 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5440 (HP_SMALL_TIMING_AVAIL): Define.
5441 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5442 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5443 (HP_SMALL_TIMING_AVAIL): Define.
5444 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5445 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5447 * sysdeps/aarch64/hp-timing.h: New file.
5449 * sysdeps/generic/hp-timing.h: Remove dead comment.
5450 * sysdeps/generic/hp-timing-common.h: New file.
5451 * sysdeps/alpha/hp-timing.h: Include it.
5452 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5453 * sysdeps/i386/i686/hp-timing.h: Likewise.
5454 * sysdeps/ia64/hp-timing.h: Likewise.
5455 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5456 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5457 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5458 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5459 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5460 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5463 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5464 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5465 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5466 * elf/rtld.c (_dl_start_final): Likewise.
5467 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5468 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5469 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5470 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5471 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5472 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5473 (HP_TIMING_DIFF_INIT): Remove.
5474 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5475 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5476 (HP_TIMING_DIFF_INIT): Remove.
5477 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5478 * sysdeps/i386/i686/hp-timing.c: Remove file.
5479 * sysdeps/x86_64/hp-timing.c: Remove file.
5480 * sysdeps/ia64/hp-timing.c: Remove file.
5481 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5482 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5483 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5484 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5486 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5487 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5488 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5489 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5490 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5491 (HP_TIMING_ACCUM): Remove.
5492 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5493 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5494 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5496 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5497 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5498 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5499 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5500 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5501 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5502 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5503 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5505 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5507 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5509 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5511 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5513 Sync up with gettext.
5514 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5515 [_MSC_VER]: Include malloc.h
5516 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5517 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5518 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5519 TEMP_FAILURE_RETRY. Cast return of alloca.
5520 [!_LIBC] Call gl_rwlock_init.
5521 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5523 2014-07-02 Roland McGrath <roland@hack.frob.com>
5525 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5526 before checking its value.
5528 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5530 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5532 * debug/memcpy_chk.c: Don't include pagecopy.h.
5533 * debug/mempcpy_chk.c: Likewise.
5534 * string/memcpy.c: Likewise.
5535 * string/memmove.c: Likewise.
5536 * sysdeps/powerpc/memmove.c: Likewise.
5537 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5538 definition of PAGE_COPY_FWD_MAYBE here...
5539 * sysdeps/generic/pagecopy.h: ... from here.
5540 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5542 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5543 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5545 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5549 (__libc_ifunc_impl_list): Likewise.
5550 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5551 multiarch strcat for PPC64.
5552 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5553 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5555 2014-07-02 Roland McGrath <roland@hack.frob.com>
5557 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5559 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5561 * intl/loadmsgcat.c: Remove declaration of
5562 get_sysdep_segment_value.
5563 (get_sysdep_segment_value): Use ISO C style.
5564 (_nl_load_domain): Use ISO C style. Get rid of redundant
5565 semicolon. Fix typo and formatting in comment.
5566 (_nl_unload_domain): Use ISO C style.
5568 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5570 2014-07-02 Will Newton <will.newton@linaro.org>
5572 * malloc/obstack.c: Merge from gnulib master.
5573 [HAVE_CONFIG_H]: Remove conditional code.
5574 [!_LIBC]: Include config.h.
5575 [!ELIDE_CODE]: Don't include inttypes.h, include
5576 stdint.h unconditionally.
5577 (print_and_abort): Mark as _Noreturn.
5578 (_obstack_allocated_p): Mark as __attribute_pure__.
5579 (obstack_free): Rename to __obstack_free.
5580 [!__attribute__]: Remove conditional code.
5581 * malloc/obstack.h: Merge from gnulib master.
5582 [__cplusplus]: Move conditional down.
5583 [!__attribute_pure__]: Define __attribute_pure__ here
5584 if it is not already defined.
5585 (_obstack_memory_used): Mark as __attribute_pure__.
5586 [!__obstack_free]: Define as obstack_free.
5587 [__GNUC__]: Remove check for ancient NeXT gcc.
5589 2014-07-02 Will Newton <will.newton@linaro.org>
5590 Paul Eggert <eggert@cs.ucla.edu>
5592 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5594 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5596 * resolv/gethnamaddr.c: Add comment warning that the file is
5599 2014-07-01 Carlos O'Donell <carlos@redhat.com>
5601 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5604 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5605 entry for aio_cancel and aio_cancel64.
5606 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5607 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5608 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5609 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5610 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5611 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5612 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5613 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5614 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5615 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5616 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5617 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5618 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5620 2014-07-01 Roland McGrath <roland@hack.frob.com>
5622 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5623 * nptl/pthread_mutex_lock.c: Likewise.
5624 * nptl/pthread_mutex_timedlock.c: Likewise.
5625 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5627 2014-07-01 Richard henderson <rth@redhat.com>
5629 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5630 (__isnan, __isnanl): Remove.
5631 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5633 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5635 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5637 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5639 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5641 * resolv/nss_dns/dns-host.c (getanswer_r)
5642 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5644 2014-07-01 Joseph Myers <joseph@codesourcery.com>
5646 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5647 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5649 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5650 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5652 2014-07-01 Roland McGrath <roland@hack.frob.com>
5654 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5655 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5657 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5658 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5660 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5661 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5663 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5664 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5666 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5667 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5668 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5669 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5671 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5672 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5673 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5674 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5675 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5677 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5679 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5680 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5681 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5682 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5683 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5684 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5685 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5686 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5687 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5688 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5690 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5691 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5692 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5693 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5694 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5695 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5696 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5697 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5698 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5700 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5701 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5702 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5703 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5704 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5705 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5706 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5707 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5709 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5711 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5712 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5713 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5716 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5720 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5722 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5723 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5725 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5727 * sysdeps/arm/libm-test-ulps: Regenerated.
5729 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5730 Roland McGrath <roland@hack.frob.com>
5732 * test-skeleton.c (signal_handler): Kill the whole process group
5733 before killing the child individually.
5734 (main): Report any failure on `setpgid'.
5736 2014-06-30 Roland McGrath <roland@hack.frob.com>
5738 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5739 from _TLS_H to _ARM_NPTL_TLS_H.
5740 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5741 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5743 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5746 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5747 (__expm1l): Return argument unchanged when small but not
5750 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5752 (_FP_UNPACK_RAW_1_P): Likewise.
5753 (_FP_PACK_RAW_1): Likewise.
5754 (_FP_PACK_RAW_1_P): Likewise.
5755 (_FP_MUL_MEAT_1_wide): Likewise.
5756 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5757 (_FP_MUL_MEAT_1_hard): Likewise.
5758 (_FP_DIV_MEAT_1_imm): Likewise.
5759 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5760 (_FP_DIV_MEAT_1_udiv): Likewise.
5761 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5762 (_FP_UNPACK_RAW_2): Likewise.
5763 (_FP_UNPACK_RAW_2_P): Likewise.
5764 (_FP_PACK_RAW_2): Likewise.
5765 (_FP_PACK_RAW_2_P): Likewise.
5766 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5767 (_FP_MUL_MEAT_2_wide): Likewise.
5768 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5769 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5770 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5771 (_FP_MUL_MEAT_2_gmp): Likewise.
5772 (_FP_DIV_MEAT_2_udiv): Likewise.
5773 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5774 (_FP_FRAC_SRL_4): Likewise.
5775 (_FP_FRAC_SRST_4): Likewise.
5776 (_FP_FRAC_SRS_4): Likewise.
5777 (_FP_UNPACK_RAW_4): Likewise.
5778 (_FP_UNPACK_RAW_4_P): Likewise.
5779 (_FP_PACK_RAW_4): Likewise.
5780 (_FP_PACK_RAW_4_P): Likewise.
5781 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5782 (_FP_MUL_MEAT_4_wide): Likewise.
5783 (_FP_MUL_MEAT_4_gmp): Likewise.
5784 (umul_ppppmnnn): Likewise.
5785 (_FP_DIV_MEAT_4_udiv): Likewise.
5786 (__FP_FRAC_ADD_4): Likewise.
5787 (__FP_FRAC_SUB_3): Likewise.
5788 (__FP_FRAC_SUB_4): Likewise.
5789 (__FP_FRAC_DEC_3): Likewise.
5790 (__FP_FRAC_DEC_4): Likewise.
5791 (__FP_FRAC_ADDI_4): Likewise.
5792 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5793 (_FP_FRAC_SRL_8): Likewise.
5794 (_FP_FRAC_SRS_8): Likewise.
5796 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5798 (FP_UNPACK_RAW_EP): Likewise.
5799 (FP_PACK_RAW_E): Likewise.
5800 (FP_PACK_RAW_EP): Likewise.
5801 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5802 (_FP_ISSIGNAN): Likewise.
5803 (_FP_ADD_INTERNAL): Likewise.
5804 (_FP_FMA): Likewise.
5805 (_FP_CMP): Likewise.
5806 (_FP_SQRT): Likewise.
5807 (_FP_TO_INT): Likewise.
5808 (_FP_FROM_INT): Likewise.
5809 (FP_EXTEND): Likewise.
5810 (_FP_DIV_MEAT_N_loop): Likewise.
5812 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5814 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5817 2014-06-29 Joseph Myers <joseph@codesourcery.com>
5820 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5821 result with correct sign in case of exponents that produce
5822 overflow except for X very close to 1.
5824 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5826 mktime: merge #if/#ifdef usage from glibc
5827 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5828 as that works with both Glibc's and Gnulib's style.
5829 See thread starting at Siddhesh Poyarekar's bug report at:
5830 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5832 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5834 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5835 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5836 * sysdeps/tile/tilegx/memmove.c: Remove file.
5838 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5840 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5841 abi-name definition.
5842 * scripts/soversions.awk: Do not handle or generate ABI lines.
5843 * shlib-versions: Remove ABI entries.
5844 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5845 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5847 2014-06-27 Roland McGrath <roland@hack.frob.com>
5849 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5850 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5851 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5852 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5853 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5854 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5855 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5857 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5859 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5860 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5861 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5862 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5863 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5864 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5865 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5866 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5867 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5868 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5869 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5870 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5871 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5873 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5874 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5875 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5876 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5877 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5878 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5880 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5881 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5883 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5884 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5885 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5886 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5888 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5889 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5890 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5891 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5892 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5893 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5894 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5895 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5897 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5898 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5899 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5900 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5902 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5903 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5905 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5906 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5907 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5908 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5910 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5912 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5913 Identical file removed.
5914 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5916 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5917 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5918 Identical file removed.
5919 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5920 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5921 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5923 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5924 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5925 Identical file removed.
5926 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5927 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5928 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5929 Identical file removed.
5930 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5931 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5932 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5933 Identical file removed.
5934 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5935 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5936 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5937 Identical file removed.
5938 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5940 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5941 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5942 Identical file removed.
5943 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5945 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5946 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5947 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5948 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5949 Identical file removed.
5950 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5952 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5954 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5955 Identical file removed.
5956 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5958 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5959 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5960 Identical file removed.
5961 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5963 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5964 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5965 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5966 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5967 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5968 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5970 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5971 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5972 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5974 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5975 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5976 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5977 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5978 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5980 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
5983 * nscd/nscd.c (monitor_child): Return exit status of child
5984 instead of return value from wait syscall.
5986 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5988 * configure.ac (libc_commonpagesize): Remove variable.
5989 (libc_relro_required): Likewise.
5990 (libc_cv_z_relro): Remove configure test.
5991 * configure: Regenerated.
5992 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5994 (libc_relro_required): Likewise.
5995 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5996 (libc_relro_required): Likewise.
5997 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5998 (libc_relro_required): Likewise.
5999 * sysdeps/arm/preconfigure: Regenerated.
6000 * sysdeps/ia64/preconfigure: Remove file.
6001 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6003 (libc_relro_required): Likewise.
6007 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6008 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6009 recompute overflowing results in original rounding mode.
6010 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6011 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6012 recompute overflowing results in original rounding mode.
6013 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6014 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6015 recompute overflowing results in original rounding mode.
6016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6017 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6018 recompute overflowing results in original rounding mode.
6019 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6020 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6021 recompute overflowing results in original rounding mode.
6022 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6023 (libc_feholdsetround_ctx): New macro.
6024 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6025 * sysdeps/i386/fpu/libm-test-ulps: Update.
6026 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6028 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6030 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6031 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6032 corresponding .cpsetup call.
6034 2014-06-26 Roland McGrath <roland@hack.frob.com>
6036 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6037 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6038 * sysdeps/arm/Makefile [$(subdir) = csu]
6039 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6040 (static-only-routines): Add aeabi_read_tp here.
6041 (shared-only-routines): Add libc-aeabi_read_tp here.
6042 (CFLAGS-libc-start.c): Add -fexceptions here.
6043 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6044 (sysdep_routines, static-only-routines, shared-only-routines):
6045 Don't add to these here.
6046 (CFLAGS-libc-start.c): Likewise.
6048 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6049 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6050 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6051 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6052 * sysdeps/arm/Makefile [$(subdir) = rt]
6053 (librt-sysdep_routines, librt-shared-only-routines):
6054 Append rt-aeabi_unwind_cpp_pr1 here.
6055 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6056 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6057 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6058 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6059 Append nptl-aeabi_unwind_cpp_pr1 here.
6060 (tests): Filter out tst-cleanupx4 here.
6061 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6062 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6063 Don't do those here.
6065 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6067 * scripts/list-sources.sh: Do not handle ports specially.
6069 2014-06-26 Roland McGrath <roland@hack.frob.com>
6071 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6072 * sysdeps/arm/feupdateenv.c: Likewise.
6074 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6076 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6078 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6079 trailing whitespace removed.
6080 * scripts/config.guess: Update to version 2014-03-23.
6081 * scripts/config.sub: Update to version 2014-05-01
6082 * scripts/install-sh: Update to version 2013-12-25.23.
6083 * scripts/move-if-change: Update from gnulib.
6085 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6087 * debug/memmove_chk.c: Remove pagecopy.h include.
6089 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6091 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6092 identical to gnulib mktime.
6094 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6096 * configure.ac: Do not test for machine being rs6000. Do not test
6098 * configure: Regenerated.
6100 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6102 * configure: Regenerated.
6103 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6104 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6105 Remove configure test.
6106 * sysdeps/arm/configure: Regenerated.
6107 * sysdeps/nptl/configure.ac: Do not check
6108 libc_cv_asm_cfi_directives.
6109 * sysdeps/nptl/configure: Regenerated.
6110 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6111 * sysdeps/x86_64/nptl/configure: Remove generated file.
6112 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6114 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6116 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6118 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6119 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6120 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6123 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6124 instead of whether it is defined.
6125 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6126 * sysdeps/hppa/dl-machine.h: Likewise.
6127 * sysdeps/ia64/dl-machine.h: Likewise.
6128 * sysdeps/m68k/dl-machine.h: Likewise.
6129 * sysdeps/microblaze/dl-machine.h: Likewise.
6130 * sysdeps/mips/dl-machine.: Likewise.
6131 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6132 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6133 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6134 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6135 * sysdeps/sh/dl-machine.h: Likewise.
6136 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6137 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6138 * sysdeps/tile/dl-machine.h: Likewise.
6139 * sysdeps/x86_64/dl-machine.h: Likewise.
6141 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6143 (verify_persistent_db): Likewise.
6145 2014-06-26 Roland McGrath <roland@hack.frob.com>
6147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6148 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6150 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6153 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6156 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6158 Identical file removed.
6159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6160 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6162 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6164 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6166 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6168 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6171 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6173 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6175 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6178 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6180 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6182 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6184 Identical file removed.
6185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6186 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6188 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6191 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6194 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6196 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6198 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6200 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6202 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6205 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6208 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6210 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6213 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6215 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6217 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6219 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6220 * sysdeps/unix/sysv/linux/s390/Versions
6221 (libpthread: GLIBC_2.19): New version set.
6222 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6223 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6224 (librt: GLIBC_2.3.3): New version set.
6225 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6226 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6227 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6228 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6229 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6230 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6231 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6232 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6233 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6234 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6235 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6236 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6237 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6238 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6239 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6240 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6241 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6242 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6243 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6244 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6245 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6246 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6247 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6248 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6249 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6250 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6251 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6252 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6253 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6254 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6255 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6256 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6257 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6258 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6259 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6260 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6261 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6262 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6263 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6264 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6265 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6266 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6267 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6268 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6269 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6271 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6272 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6273 (__libc_vfork): Define the function under this name.
6274 [!NOT_IN_libc] (__vfork): Make this an alias.
6275 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6276 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6277 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6278 (__libc_vfork): Define the function under this name.
6279 [!NOT_IN_libc] (__vfork): Make this an alias.
6280 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6281 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6282 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6283 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6284 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6285 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6287 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6288 code that was previously under [RESET_PID].
6289 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6290 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6291 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6293 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6294 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6295 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6296 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6297 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6298 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6299 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6300 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6301 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6302 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6303 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6305 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6306 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6307 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6308 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6309 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6310 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6311 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6312 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6313 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6314 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6315 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6316 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6317 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6318 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6319 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6320 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6321 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6322 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6323 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6324 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6325 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6326 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6327 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6328 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6329 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6330 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6331 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6332 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6333 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6335 2014-06-25 Roland McGrath <roland@hack.frob.com>
6337 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6338 that was previously under [RESET_PID].
6339 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6341 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6343 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6344 not undefine and redefine.
6345 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6346 [O_CLOEXEC]: Make code unconditional.
6347 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6348 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6349 <kernel-features.h>.
6350 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6351 conditional variable definition.
6352 (shm_open) [O_CLOEXEC]: Make code unconditional.
6353 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6356 * configure.ac (USE_REGPARMS): Don't define here.
6357 * configure: Regenerated.
6358 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6359 * sysdeps/i386/configure: Regenerated.
6361 * nptl/createthread.c: Don't include kernel-features.h.
6362 * nptl/pthread_cancel.c: Likewise.
6363 * nptl/pthread_condattr_setclock.c: Likewise.
6364 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6365 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6366 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6367 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6368 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6369 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6370 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6371 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6372 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6373 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6374 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6375 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6376 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6377 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6378 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6379 * nscd/gai.c: Likewise.
6380 * nss/nss_db/db-open.c: Likewise.
6381 * sysdeps/generic/ldsodefs.h: Likewise.
6382 * sysdeps/sh/nptl/tls.h: Likewise.
6383 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6384 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6385 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6386 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6387 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6388 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6389 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6390 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6391 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6392 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6393 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6394 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6395 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6396 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6397 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6398 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6399 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6400 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6401 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6402 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6403 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6404 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6405 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6406 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6407 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6408 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6409 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6410 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6411 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6412 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6413 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6414 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6415 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6416 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6417 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6418 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6419 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6420 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6421 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6422 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6423 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6424 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6425 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6426 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6427 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6428 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6429 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6430 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6431 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6432 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6433 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6434 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6435 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6436 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6437 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6438 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6439 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6440 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6463 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6464 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6465 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6466 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6467 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6468 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6469 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6470 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6471 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6472 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6473 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6474 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6475 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6476 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6477 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6478 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6479 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6480 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6481 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6482 * sysdeps/unix/sysv/linux/system.c: Likewise.
6483 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6484 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6485 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6486 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6487 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6488 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6489 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6491 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6492 * configure: Regenerated.
6493 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6495 * configure.ac (base_machine): Do not set specially for particular
6497 * configure: Regenerated.
6498 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6499 settings from configure.ac.
6500 * sysdeps/i386/preconfigure: New file.
6501 * sysdeps/s390/preconfigure: Likewise.
6502 * sysdeps/sh/preconfigure: Likewise.
6503 * sysdeps/sparc/preconfigure: Likewise.
6505 2014-06-25 Roland McGrath <roland@hack.frob.com>
6507 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6508 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6509 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6510 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6511 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6512 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6513 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6514 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6515 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6516 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6517 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6518 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6519 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6520 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6521 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6522 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6523 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6524 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6525 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6527 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6528 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6529 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6530 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6531 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6532 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6533 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6534 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6535 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6536 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6537 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6538 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6539 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6540 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6541 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6542 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6543 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6544 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6545 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6546 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6547 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6548 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6549 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6550 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6551 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6552 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6553 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6554 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6555 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6556 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6557 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6558 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6559 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6560 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6561 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6562 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6563 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6564 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6567 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6569 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6572 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6575 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6577 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6580 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6582 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6584 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6586 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6589 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6592 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6594 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6597 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6599 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6601 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6603 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6605 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6608 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6611 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6613 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6616 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6618 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6620 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6622 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6625 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6628 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6630 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6633 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6635 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6637 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6639 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6641 * timezone/checktab.awk: Update from tzcode 2014e.
6642 * timezone/private.h: Likewise.
6643 * timezone/tzfile.h: Likewise.
6644 * timezone/zdump.c: Likewise.
6645 * timezone/zic.c: Likewise.
6647 * sysdeps/unix/sysv/linux/kernel-features.h
6648 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6649 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6650 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6651 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6652 Remove conditional code.
6654 2014-06-25 Will Newton <will.newton@linaro.org>
6656 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6657 (_dl_arm_cap_flags): Add HWCAP2 values.
6658 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6659 (_DL_HWCAP_COUNT): Increase to 37.
6660 (_DL_HWCAP_LAST): New define.
6661 (_DL_HWCAP2_LAST): New define.
6662 (_dl_procinfo): Add support for printing
6664 (_dl_string_hwcap): Use _dl_hwcap_string.
6666 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6670 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6672 * README: Do not mention ports directory.
6674 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6676 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6677 <kernel-features.h>.
6678 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6679 conditional variable definition.
6680 (__futimes): Update comment.
6681 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6682 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6685 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6686 arguments close to 0.
6687 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6689 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6691 * math/auto-libm-test-in: Add more tests of exp10.
6692 * math/auto-libm-test-out: Regenerated.
6693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6695 * sysdeps/unix/sysv/linux/kernel-features.h
6696 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6697 * sysdeps/unix/sysv/linux/readv.c: Do not include
6698 <kernel-features.h>.
6699 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6700 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6701 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6703 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6705 * sysdeps/unix/sysv/linux/writev.c: Do not include
6706 <kernel-features.h>.
6707 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6708 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6709 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6711 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6714 2014-06-25 Will Newton <will.newton@linaro.org>
6716 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6717 comment changes throughout the file. Remove checks
6718 for HAVE_*_H definitions that are not required.
6719 (__gen_tempname): Call abort if an unknown kind value is
6722 2014-06-25 Andreas Schwab <schwab@suse.de>
6725 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6726 scalbln, scalblnf, scalblnl in libc.
6728 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6731 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6732 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6733 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6735 2014-06-24 Roland McGrath <roland@hack.frob.com>
6737 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6738 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6739 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6740 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6742 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6743 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6745 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6746 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6747 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6748 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6749 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6750 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6751 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6752 * sysdeps/x86/bits/semaphore.h: ... here.
6753 * sysdeps/x86/nptl/elide.h: Moved ...
6754 * sysdeps/x86/elide.h: ... here.
6755 * sysdeps/x86_64/nptl/Implies: File removed.
6756 * sysdeps/i386/nptl/Implies: File removed.
6758 2014-06-24 Joseph Myers <joseph@codesourcery.com>
6761 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6762 return the argument for normal arguments with exponent below -64.
6763 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6765 * math/auto-libm-test-in: Add another test of expm1.
6766 * math/auto-libm-test-out: Regenerated.
6769 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6770 calling __erfcl for arguments at least 16.
6771 * math/auto-libm-test-in: Add more tests of erf.
6772 * math/auto-libm-test-out: Regenerated.
6774 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6775 individual architectures.
6776 * sysdeps/unix/sysv/linux/configure: Regenerated.
6777 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6778 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6779 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6780 (ldd_rewrite_script): Define variable.
6781 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6786 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6787 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6788 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6789 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6790 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6791 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6792 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6793 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6795 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6798 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6799 Rename member __data.d to __data.__elision_data.
6801 2014-06-24 Wilco <wdijkstr@arm.com>
6803 * NEWS: Add 16918 to fixed bug list.
6805 2014-06-24 Wilco <wdijkstr@arm.com>
6807 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6809 2014-06-24 Wilco <wdijkstr@arm.com>
6811 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6812 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6813 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6814 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6815 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6816 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6817 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6820 2014-06-24 Wilco <wdijkstr@arm.com>
6822 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6824 2014-06-24 Wilco <wdijkstr@arm.com>
6826 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6827 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6828 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6829 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6831 2014-06-24 Wilco <wdijkstr@arm.com>
6834 * sysdeps/arm/feupdateenv.c (feupdateenv):
6835 Rewrite to reduce FPSCR accesses and fix return value.
6837 2014-06-24 Wilco <wdijkstr@arm.com>
6839 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6840 Optimize to avoid unnecessary FPSCR writes.
6841 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6842 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6843 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6844 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6846 2014-06-24 Wilco <wdijkstr@arm.com>
6848 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6849 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6850 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6851 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6852 Call libc_fetestexcept_vfp.
6853 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6854 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6855 __SOFTFP__ ifdef so that they can be built for softfp.
6857 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6859 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6860 argument type signed char.
6862 * Makerules (check-abi): Dump diff of symlist if the test
6865 2014-06-23 Roland McGrath <roland@hack.frob.com>
6867 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6870 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6871 Remove unused variable ST.
6873 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6877 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6878 small arguments before calling __expm1.
6879 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6880 small arguments before calling __expm1f.
6881 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6882 small arguments before calling __expm1l.
6883 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6885 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6886 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6887 spurious underflow for some cosh tests.
6888 * math/auto-libm-test-out: Regenerated.
6889 * sysdeps/i386/fpu/libm-test-ulps: Update.
6892 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6893 (__ieee754_y1): Set errno if return value overflows.
6894 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6895 (__ieee754_y1f): Set errno if return value overflows.
6896 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6897 (__ieee754_y1l): Set errno if return value overflows.
6898 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6899 (__ieee754_y1l): Set errno if return value overflows.
6900 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6901 * math/auto-libm-test-out: Regenerated.
6903 * math/gen-auto-libm-tests.c: Document use of
6904 ignore-zero-inf-sign.
6905 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6906 (input_flags): Add ignore-zero-inf-sign.
6907 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6908 * math/gen-libm-test.pl (generate_testfile): Handle
6909 ignore-zero-inf-sign.
6910 * math/auto-libm-test-in: Mark some cpow tests with
6911 ignore-zero-inf-sign and some with xfail-rounding.
6912 * math/auto-libm-test-out: Regenerated.
6913 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6914 * sysdeps/i386/fpu/libm-test-ulps: Update.
6915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6918 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6919 overflowing or underflowing operations take place with sign of
6921 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6922 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6923 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6924 (__ieee754_pow): Recompute overflowing and underflowing results in
6925 original rounding mode.
6926 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6927 (__powl_helper): Allow negative argument X and scale negated value
6928 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6929 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6930 overflowing or underflowing operations take place with sign of
6932 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6934 * math/auto-libm-test-in: Add more tests of pow.
6935 * math/auto-libm-test-out: Regenerated.
6936 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6937 (pow_tonearest_test_data): Remove.
6938 (pow_test_tonearest): Likewise.
6939 (pow_towardzero_test_data): Likewise.
6940 (pow_test_towardzero): Likewise.
6941 (pow_downward_test_data): Likewise.
6942 (pow_test_downward): Likewise.
6943 (pow_upward_test_data): Likewise.
6944 (pow_test_upward): Likewise.
6945 (main): Don't call removed functions.
6946 * sysdeps/i386/fpu/libm-test-ulps: Update.
6947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6949 2014-06-23 Roland McGrath <roland@hack.frob.com>
6951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7125 2014-06-23 Will Newton <will.newton@linaro.org>
7126 Wilco <wdijkstr@arm.com>
7128 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7129 implementation. Include get-rounding-mode.h.
7130 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7131 [!libc_feholdsetround_noex_ctx]: Define
7132 libc_feholdsetround_noex_ctx.
7133 [!libc_feholdsetround_noexf_ctx]: Define
7134 libc_feholdsetround_noexf_ctx.
7135 [!libc_feholdsetround_noexl_ctx]: Define
7136 libc_feholdsetround_noexl_ctx.
7137 (libc_feholdsetround_ctx): New function.
7138 (libc_feresetround_ctx): New function.
7139 (libc_feholdsetround_noex_ctx): New function.
7140 (libc_feresetround_noex_ctx): New function.
7142 2014-06-23 Roland McGrath <roland@hack.frob.com>
7144 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7145 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7146 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7147 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7148 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7149 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7151 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7152 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7153 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7154 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7155 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7156 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7157 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7158 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7159 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7160 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7161 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7163 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7165 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7166 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7167 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7168 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7169 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7171 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7172 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7173 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7174 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7175 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7176 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7177 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7178 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7180 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7181 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7183 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7184 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7185 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7186 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7188 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7189 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7190 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7191 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7192 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7193 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7194 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7195 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7196 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7197 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7199 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7201 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7202 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7203 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7204 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7205 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7206 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7207 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7208 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7209 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7210 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7211 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7212 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7213 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7215 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7216 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7217 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7218 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7219 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7220 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7222 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7223 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7224 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7225 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7226 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7228 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7229 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7230 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7231 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7232 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7233 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7234 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7235 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7237 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7238 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7239 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7240 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7241 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7242 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7243 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7244 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7245 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7246 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7247 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7248 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7249 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7250 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7251 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7252 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7253 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7254 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7255 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7257 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7259 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7260 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7261 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7262 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7263 (IPV6_PMTUDISC_INTERFACE): Likewise.
7264 (IPV6_PMTUDISC_OMIT): Likewise.
7266 2014-06-23 Andreas Schwab <schwab@suse.de>
7268 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7269 Remove unused errout label.
7271 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7273 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7274 macro: hardware supports Vector Crypto instructions.
7276 2014-06-23 Will Newton <will.newton@linaro.org>
7278 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7279 rather than __builtin_expect.
7281 * elf/dl-lookup.c (undefined_msg): Remove variable.
7282 (_dl_lookup_symbol_x): Replace undefined_msg with string
7285 * elf/dl-lookup.c (do_lookup_unique): New function.
7286 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7287 to a separate function.
7289 2014-06-23 Andreas Schwab <schwab@suse.de>
7292 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7293 before reading the next line.
7295 2014-06-23 Will Newton <will.newton@linaro.org>
7297 * test-skeleton.c (signal_handler): Use printf and %m
7298 rather than perror. Use printf rather than fprintf to
7299 stderr. Use puts rather than fputs to stderr.
7302 2014-06-22 Ludovic Courtès <ludo@gnu.org>
7304 * nscd/nscd.c (thread_info_t): Remove typedef.
7305 (thread_info): Remove variable.
7307 2014-06-21 Allan McRae <allan@archlinux.org>
7309 * NEWS: Mention CVE-2014-4043.
7311 2014-06-20 Roland McGrath <roland@hack.frob.com>
7313 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7314 * nptl/smp.h: ... here.
7316 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7318 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7319 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7320 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7321 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7323 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7324 * nptl/stack-aliasing.h: New file.
7325 * sysdeps/i386/i686/stack-aliasing.h: New file.
7326 * sysdeps/i386/i686/nptl/Makefile: File removed.
7327 * sysdeps/x86_64/stack-aliasing.h: New file.
7328 * sysdeps/x86_64/nptl/Makefile
7329 (CFLAGS-pthread_create.c): Variable removed.
7331 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7332 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7334 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7335 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7338 2014-06-21 Joseph Myers <joseph@codesourcery.com>
7340 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7341 (__ASSUME_SIGFRAME_V2): Remove macro.
7342 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7343 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7344 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7345 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7346 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7347 Declare as function. Remove conditional macro definitions.
7348 (__default_rt_sa_restorer): Likewise.
7349 (__default_sa_restorer_v1): Remove declaration.
7350 (__default_sa_restorer_v2): Likewise.
7351 (__default_rt_sa_restorer_v1): Likewise.
7352 (__default_rt_sa_restorer_v2): Likewise.
7353 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7354 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7355 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7357 2014-06-20 Roland McGrath <roland@hack.frob.com>
7359 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7360 (libpthread-routines): Add sysdep.
7361 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7362 * sysdeps/unix/sysv/linux/sparc/Versions
7363 (libpthread: GLIBC_2.3.3): New version set.
7364 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7365 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7366 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7367 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7368 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7369 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7371 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7372 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7373 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7374 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7375 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7376 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7377 * sysdeps/sparc/nptl/sem_init.c: ... here.
7378 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7379 * sysdeps/sparc/nptl/sem_post.c: ... here.
7380 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7381 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7382 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7383 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7384 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7385 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7386 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7387 (libpthread-routines): Add cpu_relax.
7388 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7390 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7391 (librt: GLIBC_2.3.3): New version set.
7392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7393 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7394 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7395 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7397 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7398 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7401 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7402 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7403 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7404 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7405 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7407 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7408 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7409 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7412 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7416 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7420 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7424 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7428 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7430 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7432 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7435 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7436 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7437 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7438 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7439 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7441 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7443 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7446 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7448 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7450 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7452 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7454 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7455 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7456 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7457 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7458 * nscd/nscd.c: Likewise.
7459 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7460 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7461 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7462 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7464 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7465 <kernel-features.h>.
7466 (init_mq_netlink): Remove conditional have_sock_cloexec
7467 definitions. Remove code conditional on have_sock_cloexec < 0.
7468 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7469 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7470 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7471 <kernel-features.h>.
7472 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7473 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7475 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7478 Add tests for memset_chk and memset.
7480 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7483 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7486 * elf/tst-dl-iter-static.c: New file.
7487 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7489 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7492 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7494 * sysdeps/unix/sysv/linux/kernel-features.h
7495 (__ASSUME_F_GETOWN_EX): Remove macro.
7496 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7497 <kernel-features.h>.
7498 (miss_F_GETOWN_EX): Remove variable or macro.
7499 (do_fcntl): Do not check miss_F_GETOWN_EX.
7500 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7502 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7505 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7506 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7508 * sysdeps/unix/sysv/linux/kernel-features.h
7509 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7510 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7511 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7512 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7514 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7517 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7518 Fix calculation of the symbol's value.
7519 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7520 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7521 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7522 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7523 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7524 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7525 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7526 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7527 (modules-names): Add `tst-armtlsdescmod',
7528 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7529 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7530 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7531 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7532 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7533 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7534 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7535 ($(objpfx)tst-armtlsdescloc): New dependency.
7536 ($(objpfx)tst-armtlsdescextnow): Likewise.
7537 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7538 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7540 * sysdeps/arm/configure: Regenerate.
7542 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7544 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7545 (__atfct_seterrno_2): Likewise.
7546 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7547 <kernel-features.h>.
7548 (__ASSUME_ATFCTS): Do not undefine and redefine.
7549 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7550 (__have_atfcts): Remove conditional definition.
7551 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7552 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7553 unreachable if [__ASSUME_ATFCTS].
7554 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7555 not undefine and redefine.
7556 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7557 <kernel-features.h>.
7558 (faccessat) [__NR_faccessat]: Make code unconditional.
7559 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7560 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7561 <kernel-features.h>.
7562 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7563 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7564 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7565 <kernel-features.h>.
7566 (fchownat) [__NR_fchownat]: Make code unconditional.
7567 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7568 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7569 <kernel-features.h>.
7570 (futimesat) [__NR_futimesat]: Make code unconditional.
7571 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7572 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7573 <kernel-features.h>.
7574 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7575 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7576 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7577 <kernel-features.h>.
7578 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7579 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7580 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7581 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7582 <kernel-features.h>.
7583 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7584 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7585 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7586 <kernel-features.h>.
7587 (linkat) [__NR_linkat]: Make code unconditional.
7588 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7589 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7590 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7591 <kernel-features.h>.
7592 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7593 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7594 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7595 <kernel-features.h>.
7596 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7597 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7598 * sysdeps/unix/sysv/linux/openat.c: Do not include
7599 <kernel-features.h>.
7600 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7601 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7602 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7603 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7604 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7605 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7606 <kernel-features.h>.
7607 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7608 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7609 result of INLINE_SYSCALL directly, not via int variable.
7610 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7611 <kernel-features.h>.
7612 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7613 (renameat) [__NR_renameat]: Make code unconditional.
7614 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7615 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7616 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7617 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7618 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7619 (__ASSUME_ATFCTS): Do not undefine and redefine.
7620 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7621 <kernel-features.h>.
7622 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7623 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7624 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7625 <kernel-features.h>.
7626 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7627 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7628 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7629 (__ASSUME_ATFCTS): Do not undefine and redefine.
7630 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7631 <kernel-features.h>.
7632 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7633 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7634 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7635 <kernel-features.h>.
7636 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7637 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7639 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7641 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7643 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7646 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7647 constructed tree before returning error.
7648 * posix/bug-regexp36.c: Expand test case.
7650 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7653 * math/libm-test.inc (scalbln_test_date):
7654 Add errno expectations.
7655 * math/w_scalblnf.c: New File.
7656 Add wrapper which checks for setting errno to ERANGE.
7657 Add weak_alias for corresponding scalbln function.
7658 * math/w_scalbln.c: Likewise.
7659 * math/w_scalblnl.c: Likewise.
7660 * math/Makefile (libm-calls): Add w_scalbln.
7661 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7662 Remove weak_alias for corresponding scalbln function.
7663 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7664 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7665 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7666 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7667 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7668 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7669 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7670 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7671 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7672 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7673 Remove long_double_symbol for scalblnl function in libm, libc.
7674 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7675 Add wrapper which checks for setting errno to ERANGE.
7676 Add long_double_symbol for scalblnl function in libm, libc.
7677 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7678 Remove long_double_symbol for scalblnl in libm.
7679 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7680 Add wrapper which checks for setting errno to ERANGE.
7681 Add long_double_symbol for scalblnl function in libm.
7682 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7683 Do not use wrapper because of own implementation.
7685 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7687 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7688 3 bytes for __pad1 for x32.
7689 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7691 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7692 H.J. Lu <hongjiu.lu@intel.com>
7694 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7695 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7696 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7697 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7698 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7700 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7703 * posix/regcomp.c (parse_expression): Deallocate partially
7704 constructed tree before returning error.
7705 * posix/Makefile.c (tests): Add bug-regex36.
7706 (generated): Add bug-regex36.mtrace.
7707 (tests-special): Add $(objpfx)bug-regex36-mem.out
7708 (bug-regex36-ENV): New variable.
7709 ($(objpfx)bug-regex36-mem.out): New rule.
7710 * posix/bug-regex36.c: New file.
7712 2014-06-19 Will Newton <will.newton@linaro.org>
7714 * malloc/malloc.c (systrim): If extra is zero then return
7717 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7719 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7721 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
7723 * sysdeps/aarch64/strchr.S: New file.
7725 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7728 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7729 from arguments -2 or below.
7730 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7731 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7733 2014-06-18 Andreas Schwab <schwab@suse.de>
7736 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7737 of a bracket expr not to run off the end of the string.
7738 * posix/Makefile (tests): Add tst-fnmatch3.
7739 * posix/tst-fnmatch3.c: New file.
7741 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7743 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7744 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7745 [$(cross-compiling) = no]: Likewise.
7746 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7747 [$(cross-compiling) = no]: Likewise.
7749 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7752 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7753 double, adjusted for any remainder from the high double.
7754 * math/libm-test.inc (nearbyint): Add tests.
7757 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7759 * nptl/sysdeps/powerpc/Makefile: Moved ...
7760 * sysdeps/powerpc/nptl/Makefile: ... here.
7761 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7762 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7763 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7764 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7765 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7766 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7767 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7768 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7769 * nptl/sysdeps/powerpc/tls.h: Moved ...
7770 * sysdeps/powerpc/nptl/tls.h: ... here.
7772 2014-06-16 Joseph Myers <joseph@codesourcery.com>
7775 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7776 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7777 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7778 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7779 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7780 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7781 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7782 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7783 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7785 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7787 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7789 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7791 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7794 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7797 2014-06-16 Florian Weimer <fweimer@redhat.com>
7800 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7801 non-executed part of the test.
7803 2014-06-16 Andreas Schwab <schwab@suse.de>
7805 * string/bits/string2.h (strdup, strndup): Update feature guard.
7807 2014-06-14 David S. Miller <davem@davemloft.net>
7809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7811 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7813 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7814 that was previously under [RESET_PID].
7815 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7817 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7818 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7819 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7820 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7821 (__libc_vfork): New strong alias.
7822 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7824 2014-06-14 Andi Kleen <ak@linux.intel.com>
7826 * sysdeps/generic/elide.h: New file.
7828 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7830 * Makefile (installed-headers): Adjust path of pthread.h header.
7832 2014-06-13 Roland McGrath <roland@hack.frob.com>
7834 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7835 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7836 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7837 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7839 * nptl/sysdeps/s390/Makefile: Moved ...
7840 * sysdeps/s390/nptl/Makefile: ... here.
7841 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7842 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7843 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7844 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7845 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7846 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7847 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7848 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7849 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7850 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7851 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7852 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7853 * nptl/sysdeps/s390/tls.h: Moved ...
7854 * sysdeps/s390/nptl/tls.h: ... here.
7856 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7857 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7859 2014-06-13 David S. Miller <davem@davemloft.net>
7861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7862 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7864 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7866 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7868 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7869 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7870 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7871 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7872 Remove RESET_PID cpp guards.
7873 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7874 Remove RESET_PID cpp guards.
7875 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7877 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7879 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7882 2014-06-13 Andi Kleen <ak@linux.intel.com>
7884 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7885 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7886 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7887 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7888 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7889 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7890 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7891 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7892 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7893 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7894 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7895 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7896 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7897 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7898 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7899 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7900 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7901 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7902 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7903 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7905 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7906 (pthread_rwlock_rdlock): Add elision.
7907 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7908 (pthread_rwlock_wrlock): Add elision.
7909 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7910 (pthread_rwlock_trywrlock): Add elision.
7911 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7912 (pthread_rwlock_tryrdlock): Add elision.
7913 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7914 (pthread_rwlock_tryrdlock): Add elision unlock.
7915 * nptl/sysdeps/pthread/pthread.h:
7916 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7917 (PTHREAD_RWLOCK_INITIALIZER,
7918 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7919 Handle new elision field.
7920 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7921 * sysdeps/arm/nptl/bits/pthreadtypes.h
7922 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7923 * sysdeps/sh/nptl/bits/pthreadtypes.h
7924 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7925 * sysdeps/tile/nptl/bits/pthreadtypes.h
7926 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7927 * sysdeps/a/nptl/bits/pthreadtypes.h
7928 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7929 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7930 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7931 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7932 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7933 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7934 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7935 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7936 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7937 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7938 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7939 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7940 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7941 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7942 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7943 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7944 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7945 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7946 (elision_init): Set try_xbegin to zero when no RTM.
7947 * sysdeps/x86/nptl/bits/pthreadtypes.h
7948 (pthread_rwlock_t): Change __pad1 to __rwelision.
7949 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7951 2014-06-13 Andi Kleen <ak@linux.intel.com>
7953 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7954 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7955 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7956 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7958 2014-06-13 Meador Inge <meadori@codesourcery.com>
7961 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7962 that the cached result has been set before returning it.
7964 2014-06-12 Roland McGrath <roland@hack.frob.com>
7966 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7967 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7968 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7969 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7970 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7971 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7973 * nptl/sysdeps/sparc/Makefile: Moved ...
7974 * sysdeps/sparc/nptl/Makefile: ... here.
7975 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7976 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7977 * nptl/sysdeps/sparc/tls.h: Moved ...
7978 * sysdeps/sparc/nptl/tls.h: ... here.
7979 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7980 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7981 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7982 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7983 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7984 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7985 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7986 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7987 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7988 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7989 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7990 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7991 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7992 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7993 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7994 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7995 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7996 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7998 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7999 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8001 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8002 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8004 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8005 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8008 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8010 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8011 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8013 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8014 (struct list_links): Type removed.
8015 (struct thread_node, struct timer_node): Replace struct list_links
8016 with struct list_head.
8017 (list_unlink_ip): Likewise.
8018 * sysdeps/pthread/timer_routines.c
8019 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8020 (list_append, list_insbefore): Likewise.
8021 (list_init): Function removed.
8022 (thread_init, init_module): Use INIT_LIST_HEAD instead.
8023 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8024 * sysdeps/pthread/Makefile: ... here, new file.
8026 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8027 * sysdeps/nptl/Implies: ... here.
8028 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8029 * nptl/sysdeps/pthread/list.h: Moved ...
8030 * include/list.h: ... here.
8031 * nptl/sysdeps/pthread/createthread.c: Moved ...
8032 * nptl/createthread.c: ... here.
8033 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8034 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8035 * nptl/pt-longjmp.c: ... here.
8036 * nptl/sysdeps/pthread/Makefile: Moved ...
8037 * sysdeps/nptl/Makefile: ... here.
8038 * nptl/sysdeps/pthread/Subdirs: Moved ...
8039 * sysdeps/nptl/Subdirs: ... here.
8040 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8041 * sysdeps/nptl/aio_misc.h: ... here.
8042 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8043 * sysdeps/nptl/bits/libc-lock.h: ... here.
8044 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8045 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8046 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8047 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8048 * nptl/sysdeps/pthread/configure: Moved ...
8049 * sysdeps/nptl/configure: ... here.
8050 * nptl/sysdeps/pthread/configure.ac: Moved ...
8051 * sysdeps/nptl/configure.ac: ... here.
8052 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8053 * sysdeps/nptl/gai_misc.h: ... here.
8054 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8055 * sysdeps/nptl/librt-cancellation.c: ... here.
8056 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8057 * sysdeps/nptl/malloc-machine.h: ... here.
8058 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8059 * sysdeps/nptl/pthread-functions.h: ... here.
8060 * nptl/sysdeps/pthread/pthread.h: Moved ...
8061 * sysdeps/nptl/pthread.h: ... here.
8062 * nptl/sysdeps/pthread/setxid.h: Moved ...
8063 * sysdeps/nptl/setxid.h: ... here.
8064 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8065 * sysdeps/nptl/sigfillset.c: ... here.
8066 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8067 * sysdeps/nptl/tcb-offsets.h: ... here.
8068 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8069 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8070 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8071 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8072 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8073 * sysdeps/pthread/allocalim.h: ... here.
8074 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8075 * sysdeps/pthread/bits/sigthread.h: ... here.
8076 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8077 * sysdeps/pthread/flockfile.c: ... here.
8078 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8079 * sysdeps/pthread/ftrylockfile.c: ... here.
8080 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8081 * sysdeps/pthread/funlockfile.c: ... here.
8082 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8083 * sysdeps/pthread/posix-timer.h: ... here.
8084 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8085 * sysdeps/pthread/timer_create.c: ... here.
8086 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8087 * sysdeps/pthread/timer_delete.c: ... here.
8088 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8089 * sysdeps/pthread/timer_getoverr.c: ... here.
8090 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8091 * sysdeps/pthread/timer_gettime.c: ... here.
8092 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8093 * sysdeps/pthread/timer_routines.c: ... here.
8094 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8095 * sysdeps/pthread/timer_settime.c: ... here.
8096 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8097 * sysdeps/pthread/tst-timer.c: ... here.
8098 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8099 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8101 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8102 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8104 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8105 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8106 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8107 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8108 Update #include target.
8109 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8110 * sysdeps/i386/i686/nptl/Makefile: ... here.
8111 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8112 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8113 Update #include target.
8114 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8115 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8116 * nptl/sysdeps/i386/Makefile: Moved ...
8117 * sysdeps/i386/nptl/Makefile: ... here.
8118 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8119 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8120 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8121 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8122 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8123 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8124 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8125 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8126 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8127 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8128 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8129 * nptl/sysdeps/i386/tls.h: Moved ...
8130 * sysdeps/i386/nptl/tls.h: ... here.
8132 * sysdeps/sh/Makefile [$(subdir) = csu]
8133 (gen-as-const-headers): Add tcb-offsets.sym.
8134 * nptl/sysdeps/sh/Makefile: File removed.
8135 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8136 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8137 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8138 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8139 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8140 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8141 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8142 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8143 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8144 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8145 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8146 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8147 * nptl/sysdeps/sh/tls.h: Moved ...
8148 * sysdeps/sh/nptl/tls.h: ... here.
8149 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8150 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8151 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8152 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8153 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8154 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8155 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8156 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8157 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8158 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8159 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8160 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8161 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8162 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8163 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8164 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8165 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8166 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8167 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8168 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8169 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8170 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8171 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8172 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8173 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8175 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8176 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8178 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8179 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8180 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8181 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8182 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8183 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8184 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8185 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8186 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8187 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8188 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8189 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8190 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8191 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8192 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8193 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8194 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8195 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8196 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8198 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8200 * posix/spawn_faction_addopen.c: Include string.h.
8202 2014-06-11 Roland McGrath <roland@hack.frob.com>
8204 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8205 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8206 * nptl/sysdeps/x86_64/Makefile: Moved ...
8207 * sysdeps/x86_64/nptl/Makefile: ... here.
8208 * nptl/sysdeps/x86_64/configure: Moved ...
8209 * sysdeps/x86_64/nptl/configure: ... here.
8210 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8211 * sysdeps/x86_64/nptl/configure.ac: ... here.
8212 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8213 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8214 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8215 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8216 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8217 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8218 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8219 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8220 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8221 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8222 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8223 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8224 * nptl/sysdeps/x86_64/tls.h: Moved ...
8225 * sysdeps/x86_64/nptl/tls.h: ... here.
8226 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8227 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8228 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8229 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8231 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8233 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8237 2014-06-11 Joseph Myers <joseph@codesourcery.com>
8239 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8241 [POSIX] (off_t): Likewise.
8242 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8243 [POSIX] (S_ISBLK): Require macro.
8244 [POSIX] (S_ISCHR): Likewise.
8245 [POSIX] (S_ISDIR): Likewise.
8246 [POSIX] (S_ISFIFO): Likewise.
8247 [POSIX] (S_ISREG): Likewise.
8248 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8250 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8252 [POSIX] (time_t): Likewise.
8253 [POSIX] (timer_t): Likewise.
8255 2014-06-11 Florian Weimer <fweimer@redhat.com>
8258 * posix/spawn_int.h (struct __spawn_action): Make the path string
8259 non-const to support deallocation.
8260 * posix/spawn_faction_addopen.c
8261 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8262 * posix/spawn_faction_destroy.c
8263 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8264 path in all spawn_do_open actions.
8265 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8266 posix_spawn_file_actions_addopen.
8268 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8270 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8271 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8272 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8273 conditional code always true.
8274 (__libc_vfork): New alias.
8276 2014-06-11 Roland McGrath <roland@hack.frob.com>
8278 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8279 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8281 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8283 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8284 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8286 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8287 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8289 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8290 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8292 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8294 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8295 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8296 multiarch strcmp for PPC64.
8297 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8298 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8300 multiarch optimizations.
8301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8302 (__libc_ifunc_impl_list): Likewise.
8304 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8306 * benchtests/scripts/validate_benchout.py: New script.
8307 * benchtests/Makefile (bench-func): Call it.
8308 * benchtests/scripts/benchout.schema.json: New file.
8310 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8312 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8313 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8314 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8315 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8316 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8317 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8318 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8319 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8320 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8321 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8322 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8323 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8324 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8325 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8326 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8327 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8431 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8432 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8433 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8434 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8435 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8437 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8439 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8440 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8441 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8442 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8443 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8444 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8445 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8446 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8447 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8448 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8449 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8450 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8451 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8453 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8454 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8456 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8457 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8458 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8459 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8461 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8462 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8463 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8464 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8465 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8466 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8467 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8469 2014-06-10 Wilco <wdijkstr@arm.com>
8471 * math/test-fenv-return.c: New file.
8472 * math/Makefile: Add new test test-fenv-return.
8474 2014-06-10 Joseph Myers <joseph@codesourcery.com>
8477 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8479 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8480 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8481 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8482 0.0L for an argument of 1.0L.
8483 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8485 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8486 value when x - 1 is zero.
8487 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8488 * sysdeps/i386/fpu/libm-test-ulps: Update.
8489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8491 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8494 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8496 2014-06-09 Roland McGrath <roland@hack.frob.com>
8498 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8499 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8501 2014-06-09 Roland McGrath <roland@hack.frob.com>
8503 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8504 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8506 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8507 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8509 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8510 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8512 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8513 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8515 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8516 if not already defined.
8517 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8518 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8519 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8520 (TLS_INIT_TP): Use it.
8521 (TLS_DEFINE_INIT_TP): New macro.
8522 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8524 2014-06-09 Joseph Myers <joseph@codesourcery.com>
8526 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8528 [POSIX] (IXANY): Likewise.
8529 [POSIX] (OLCUC): Likewise.
8530 [POSIX || POSIX2008] (CBAUD): Do not allow.
8531 [POSIX || POSIX2008] (DEFECHO): Likewise.
8532 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8533 [POSIX || POSIX2008] (ECHOKE): Likewise.
8534 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8535 [POSIX || POSIX2008] (EXTA): Likewise.
8536 [POSIX || POSIX2008] (EXTB): Likewise.
8537 [POSIX || POSIX2008] (FLUSHO): Likewise.
8538 [POSIX || POSIX2008] (LOBLK): Likewise.
8539 [POSIX || POSIX2008] (PENDIN): Likewise.
8540 [POSIX || POSIX2008] (SWTCH): Likewise.
8541 [POSIX || POSIX2008] (VDISCARD): Likewise.
8542 [POSIX || POSIX2008] (VDSUSP): Likewise.
8543 [POSIX || POSIX2008] (VLNEXT): Likewise.
8544 [POSIX || POSIX2008] (VREPRINT): Likewise.
8545 [POSIX || POSIX2008] (VSTATUS): Likewise.
8546 [POSIX || POSIX2008] (VWERASE): Likewise.
8547 (B*): Change to B[0123456789]*.
8548 * conform/data/time.h-data [POSIX || UNIX98]
8549 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8550 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8551 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8552 [POSIX] (tm_*): Do not allow.
8554 2014-06-07 Joseph Myers <joseph@codesourcery.com>
8556 * Makefile (install): Don't set LANGUAGE.
8557 * Makefile.in (install): Likewise.
8558 * assert/Makefile (test-assert-ENV): Remove variable.
8559 (test-assert-perr-ENV): Likewise.
8560 * elf/Makefile (neededtest4-ENV): Likewise.
8561 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8562 [$(cross-compiling) = no]: Don't set LANGUAGE.
8563 * io/ftwtest-sh (LANG): Remove variable.
8564 * libio/Makefile (tst-widetext-ENV): Likewise.
8565 * manual/install.texi (Running make install): Don't refer to
8566 environment settings for make install.
8567 * INSTALL: Regenerated.
8568 * nptl/tst-tls6.sh: Don't set LANG.
8569 * posix/globtest.sh (LANG): Remove variable.
8570 * string/Makefile (tester-ENV): Likewise.
8571 (inl-tester-ENV): Likewise.
8572 (noinl-tester-ENV): Likewise.
8573 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8574 [$(cross-compiling) = no]: Don't set LANGUAGE.
8575 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8576 without explicit environment settings.
8578 2014-06-06 Roland McGrath <roland@hack.frob.com>
8580 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8581 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8582 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8583 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8585 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8587 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8588 other files in the crypt directory.
8589 * crypt/crypt.c: Remove duplicate includes.
8590 * crypt/crypt-entry.c: Likewise.
8591 * crypt/crypt_util.c: Likewise.
8593 2014-06-06 Joseph Myers <joseph@codesourcery.com>
8595 * Makeconfig (run-program-env): New variable.
8596 (run-program-prefix-before-env): Likewise.
8597 (run-program-prefix-after-env): Likewise.
8598 (run-program-prefix): Define in terms of new variables.
8599 (built-program-cmd-before-env): New variable.
8600 (built-program-cmd-after-env): Likewise.
8601 (built-program-cmd): Define in terms of new variables.
8602 (test-program-prefix-before-env): New variable.
8603 (test-program-prefix-after-env): Likewise.
8604 (test-program-prefix): Define in terms of new variables.
8605 (test-program-cmd-before-env): New variable.
8606 (test-program-cmd-after-env): Likewise.
8607 (test-program-cmd): Define in terms of new variables.
8608 * Rules (make-test-out): Use $(run-program-env).
8609 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8610 (help): Do not mention environment variables. Mention
8611 --timeoutfactor option.
8612 (timeoutfactor): New variable.
8613 (blacklist_exports): Remove function.
8614 (exports): Remove variable.
8615 (command): Do not include ${exports}.
8616 * manual/install.texi (Configuring and compiling): Do not mention
8617 test wrappers preserving environment variables. Mention that last
8618 assignment to a variable must take precedence.
8619 * INSTALL: Regenerated.
8620 * benchtests/Makefile (run-bench): Use $(run-program-env).
8621 * catgets/Makefile ($(objpfx)test1.cat): Use
8622 $(built-program-cmd-before-env), $(run-program-env) and
8623 $(built-program-cmd-after-env).
8624 ($(objpfx)test2.cat): Do not specify environment variables
8626 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8627 $(run-program-env) and $(built-program-cmd-after-env).
8628 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8629 $(run-program-env) and $(test-program-cmd-after-env).
8630 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8632 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8633 run_program_env and test_program_cmd_after_env arguments.
8634 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8635 * elf/tst-pathopt.sh: Use run_program_env argument.
8636 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8637 $(test-wrapper-env) and $(run-program-env).
8638 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8639 run_program_env arguments.
8640 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8641 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8642 $(test-program-prefix-before-env), $(run-program-env) and
8643 $(test-program-prefix-after-env).
8644 ($(objpfx)tst-gettext2.out): Likewise.
8645 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8646 run_program_env and test_program_prefix_after_env arguments.
8647 * intl/tst-gettext2.sh: Likewise.
8648 * intl/tst-gettext4.sh: Do not set environment variables
8650 * intl/tst-gettext6.sh: Likewise.
8651 * intl/tst-translit.sh: Likewise.
8652 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8653 $(test-program-prefix-before-env), $(run-program-env) and
8654 $(test-program-prefix-after-env).
8655 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8656 run_program_env and test_program_prefix_after_env arguments.
8657 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8658 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8659 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8660 explicitly with each use of ${test_wrapper_env}.
8661 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8662 $(test-program-prefix-before-env), $(run-program-env) and
8663 $(test-program-prefix-after-env).
8664 * posix/tst-getconf.sh: Do not set environment variables
8666 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8667 run_program_env and test_program_prefix_after_env arguments.
8668 * stdio-common/tst-printf.sh: Do not set environment variables
8670 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8671 $(test-program-prefix-before-env), $(run-program-env) and
8672 $(test-program-prefix-after-env).
8673 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8674 run_program_env and test_program_prefix_after_env arguments.
8675 Split $test calls into $test_pre and $test.
8676 * timezone/Makefile (build-testdata): Use
8677 $(built-program-cmd-before-env), $(run-program-env) and
8678 $(built-program-cmd-after-env).
8680 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8682 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8683 strlen for non SHARED builds.
8685 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8687 * nptl/allocatestack.c (check_list): Inlined function...
8688 (__reclaim_stacks): ... here.
8690 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8693 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8696 2014-06-05 Joseph Myers <joseph@codesourcery.com>
8698 * Rules (make-test-out): Include
8699 LOCPATH=$(common-objpfx)localedata in default environment.
8700 * debug/Makefile (tst-chk1-ENV): Remove variable.
8701 (tst-chk2-ENV): Likewise.
8702 (tst-chk3-ENV): Likewise.
8703 (tst-chk4-ENV): Likewise.
8704 (tst-chk5-ENV): Likewise.
8705 (tst-chk6-ENV): Likewise.
8706 (tst-lfschk1-ENV): Likewise.
8707 (tst-lfschk2-ENV): Likewise.
8708 (tst-lfschk3-ENV): Likewise.
8709 (tst-lfschk4-ENV): Likewise.
8710 (tst-lfschk5-ENV): Likewise.
8711 (tst-lfschk6-ENV): Likewise.
8712 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8713 (tst-iconv7-ENV): Likewise.
8714 * intl/Makefile (LOCPATH-ENV): Likewise.
8715 (tst-codeset-ENV): Likewise.
8716 (tst-gettext3-ENV): Likewise.
8717 (tst-gettext5-ENV): Likewise.
8718 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8719 (tst-fopenloc-ENV): Likewise.
8720 (tst-fgetws-ENV): Remove variable.
8721 (tst-ungetwc1-ENV): Likewise.
8722 (tst-ungetwc2-ENV): Likewise.
8723 (bug-ungetwc2-ENV): Likewise.
8724 (tst-swscanf-ENV): Likewise.
8725 (bug-ftell-ENV): Likewise.
8726 (tst-fgetwc-ENV): Likewise.
8727 (tst-fseek-ENV): Likewise.
8728 (tst-ftell-partial-wide-ENV): Likewise.
8729 (tst-ftell-active-handler-ENV): Likewise.
8730 (tst-ftell-append-ENV): Likewise.
8731 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8732 (tst-regexloc-ENV): Likewise.
8733 (bug-regex1-ENV): Likewise.
8734 (tst-regex-ENV): Likewise.
8735 (tst-regex2-ENV): Likewise.
8736 (bug-regex5-ENV): Likewise.
8737 (bug-regex6-ENV): Likewise.
8738 (bug-regex17-ENV): Likewise.
8739 (bug-regex18-ENV): Likewise.
8740 (bug-regex19-ENV): Likewise.
8741 (bug-regex20-ENV): Likewise.
8742 (bug-regex22-ENV): Likewise.
8743 (bug-regex23-ENV): Likewise.
8744 (bug-regex25-ENV): Likewise.
8745 (bug-regex26-ENV): Likewise.
8746 (bug-regex30-ENV): Likewise.
8747 (bug-regex32-ENV): Likewise.
8748 (bug-regex33-ENV): Likewise.
8749 (bug-regex34-ENV): Likewise.
8750 (bug-regex35-ENV): Likewise.
8751 (tst-rxspencer-ENV): Likewise.
8752 (tst-rxspencer-no-utf8-ENV): Likewise.
8753 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8754 (tst-sscanf-ENV): Likewise.
8755 (tst-swprintf-ENV): Likewise.
8756 (tst-swscanf-ENV): Likewise.
8757 (test-vfprintf-ENV): Likewise.
8758 (scanf13-ENV): Likewise.
8759 (bug14-ENV): Likewise.
8760 (tst-grouping-ENV): Likewise.
8761 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8762 (tst-strtod3-ENV): Likewise.
8763 (tst-strtod4-ENV): Likewise.
8764 (tst-strtod5-ENV): Likewise.
8765 (testmb2-ENV): Likewise./
8766 * string/Makefile (tst-strxfrm-ENV): Likewise.
8767 (tst-strxfrm2-ENV): Likewise.
8768 (bug-strcoll1-ENV): Likewise.
8769 (test-strcasecmp-ENV): Likewise.
8770 (test-strncasecmp-ENV): Likewise.
8771 * time/Makefile (tst-strptime-ENV): Likewise.
8772 (tst-ftime_l-ENV): Likewise.
8773 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8774 (tst-mbrtowc-ENV): Likewise.
8775 (tst-wcrtomb-ENV): Likewise.
8776 (tst-mbrtowc2-ENV): Likewise.
8777 (tst-c16c32-1-ENV): Likewise.
8778 (tst-mbsnrtowcs-ENV): Likewise.
8780 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8782 * manual/resource.texi (How to get information about the memory
8783 subsystem?): Fix typo.
8784 Reported by Peon de la Parra Ivan <peon@keba.com>
8786 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8789 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8790 (pthread_spin_lock): Branch out of spin loop to proper location.
8791 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8792 (pthread_spin_lock): Likewise.
8794 * nptl/tst-spin4.c: New test.
8795 * nptl/Makefile (tests): Add tst-spin4.
8797 2014-06-03 Andreas Schwab <schwab@suse.de>
8800 * resolv/res_send.c (send_dg): Reload file descriptor after
8803 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8805 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8807 2014-06-03 Richard Henderson <rth@redhat.com>
8809 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8810 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8811 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8812 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8813 in the SAVE_PID block.
8814 (__libc_vfork): New alias.
8815 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8817 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8818 child in registers, not on the stack. Remove RESET_PID conditionals.
8819 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8821 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8823 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8825 2014-06-03 Wilco <wdijkstr@arm.com>
8827 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8828 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8829 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8830 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8831 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8834 2014-06-03 Wilco <wdijkstr@arm.com>
8836 * sysdeps/aarch64/fpu/math_private.h
8837 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8838 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8839 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8840 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8843 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8845 * crypt/crypt-private.h: Include ufc-crypt.h.
8846 (__b64_from_24bit): Declare extern.
8847 * crypt/crypt_util.c(__b64_from_24bit): New function.
8848 (b64t): New static const variable.
8849 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8850 (b64t): Remove variable.
8851 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8852 * crypt/sha256-crypt.c: Include crypt-private.h.
8853 (b64t): Remove variable.
8854 (__sha256_crypt_r): Remove b64_from_24bit and replace
8855 with __b64_from_24bit.
8856 * crypt/sha512-crypt.c: Likewise.
8858 2014-06-02 Roland McGrath <roland@hack.frob.com>
8860 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8861 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8862 Label the code __libc_vfork rather than __vfork.
8863 [!NOT_IN_libc] (vfork): Define as weak alias.
8864 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8865 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8866 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8868 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8870 * malloc/malloc.c (malloc_info): Fix format specifier for
8873 2014-06-02 Wilco <wdijkstr@arm.com>
8875 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8878 2014-06-02 Wilco <wdijkstr@arm.com>
8881 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8882 Rewrite to reduce FPCR/FPSR accesses.
8884 2014-06-01 David S. Miller <davem@davemloft.net>
8886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8888 2014-05-31 David S. Miller <davem@davemloft.net>
8890 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8891 to occur in round to nearest mode when |x| >= 2.0
8893 2014-05-30 Richard Henderson <rth@twiddle.net>
8895 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8896 (PSEUDO_RET_NOERRNO): Remove.
8897 (ret): Don't redefine.
8898 (ret_NOERRNO): Define in terms of ret.
8899 (ret_ERRVAL): Likewise.
8901 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8902 use of PSEUDO_RET; perform the error check directly.
8904 2014-05-30 Marko Myllynen <myllynen@redhat.com>
8906 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8909 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8911 * malloc/malloc (malloc_info): Fix formatting.
8913 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8914 Roland McGrath <roland@hack.frob.com>
8916 * malloc/malloc (malloc_info): Also print mmapped statistics.
8918 2014-05-30 Roland McGrath <roland@hack.frob.com>
8920 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8921 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8923 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
8925 * malloc/malloc.c (malloc_info): Inline mi_arena.
8927 2014-05-29 Richard Henderson <rth@twiddle.net>
8929 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8930 Remove comma before expanding ASM_ARGS_##nr.
8931 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8932 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8934 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8935 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8936 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8937 (ASM_ARGS_1): Add leading comma.
8939 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8940 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8941 to __errno_location.
8942 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8943 Remove the expected plt for __errno_location.
8945 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8946 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8949 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8950 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8951 it and break it down.
8952 (DOCARGS_0, DOCARGS_1): Do nothing.
8953 (DOCARGS_2): Update to store into the new stack frame.
8954 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8955 (UNDOCARGS_1): Update to restore from the new stack frame.
8956 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8957 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8959 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8960 (SINGLE_THREAD_P): New parameter for result regno.
8961 (PSEUDO): Update to match; use cbz instead of beq.
8963 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8964 Use ENTRY to define the _nocancel entry point. Share the syscall
8965 and syscall error check paths with the cancel path.
8968 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8969 whitespace; tabs before and after asm mnemonics.
8971 2014-05-29 Eric Wong <normalperson@yhbt.net>
8974 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8975 Call fstat64 or stat64 internally, depending on arguments passed.
8976 Replace stat buffer argument with file descriptor argument.
8977 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8978 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8979 Pass fd to __internal_statvfs instead of calling fstat64.
8980 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8981 Pass fd to __internal_statvfs64 instead of calling fstat64.
8982 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8983 Pass -1 to __internal_statvfs instead of calling stat64.
8984 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8985 Pass -1 to __internal_statvfs64 instead of calling stat64.
8987 2014-05-28 Roland McGrath <roland@hack.frob.com>
8989 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8990 that was previously under [RESET_PID].
8991 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8993 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8994 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8996 2014-05-27 Roland McGrath <roland@hack.frob.com>
8998 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9000 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9001 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9003 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
9005 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9007 2014-05-27 Andreas Schwab <schwab@suse.de>
9009 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9011 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9012 * elf/rtld.c (init_tls, dl_main): Likewise.
9013 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9014 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9015 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9016 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9017 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9018 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9019 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9020 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9021 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9022 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9023 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9024 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9025 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9026 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9027 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9028 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9029 * sysdeps/generic/tls.h: Update description.
9031 2014-05-27 Will Newton <will.newton@linaro.org>
9034 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9035 and restore r2 rather than just restoring.
9037 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9040 * libio/tst-ftell-append.c: New test case.
9041 * libio/Makefile (tests): Add test case.
9042 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9044 * libio/wfileops.c (do_ftell_wide): Likewise.
9046 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9050 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9054 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9055 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9056 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9057 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9058 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9059 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9060 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9063 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9066 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9067 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9068 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9069 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9070 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9072 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9073 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9075 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9077 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9079 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9080 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9081 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9083 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9084 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9085 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9086 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9088 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9091 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9094 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9097 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9101 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9104 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9109 conditional [RESET_PID].
9110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9111 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9113 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9118 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9119 (__libc_vfork): New strong alias.
9120 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9122 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9127 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9128 (__libc_vfork): New strong alias.
9129 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9131 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9134 2014-05-26 Carlos O'Donell <carlos@redhat.com>
9136 * malloc/malloc.c (mi_arena): New function.
9137 (malloc_info): Remove nested function mi_arena. Call non-nosted
9140 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9142 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9144 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9145 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9146 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9147 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9148 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9149 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9150 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9152 2014-05-26 Andreas Schwab <schwab@suse.de>
9155 * locale/programs/repertoire.c (repertoire_read): Add slash
9156 between I18NPATH element and file name.
9157 * locale/programs/locfile.c (locfile_read): Likewise.
9159 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9161 * nptl/pthread_mutexattr_settype.c
9162 (__pthread_mutexattr_settype):
9163 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9165 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9167 * nptl/tst-mutex5 (do_test):
9168 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9170 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9172 * benchtests/README: Document 'init' directive.
9173 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9175 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9176 (parse_file): Recognize 'init' directive.
9178 2014-05-26 Kyle McMartin <kyle@redhat.com>
9181 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9182 alignment of struct pthread.
9184 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9187 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9188 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9189 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9190 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9192 2014-05-25 Richard Henderson <rth@twiddle.net>
9194 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9195 (SINGLE_THREAD_P_PIC): Remove.
9196 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9197 (SINGLE_THREAD_P_PIC): Remove.
9199 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9200 branch to syscall error ...
9202 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9203 from __local_syscall_error to .Lsyscall_error.
9204 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9205 (SYSCALL_ERROR): Update label name.
9207 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9208 Do not use DOARGS/UNDOARGS.
9209 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9210 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9211 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9212 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9213 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9215 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9218 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9219 define if !NOT_IN_libc.
9220 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9221 define with non-default symbol versions.
9223 2014-05-23 Richard Henderson <rth@twiddle.net>
9225 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9226 (vfork, __vfork): Define via compat_symbol.
9228 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9229 [!HAVE_IFUNC] (vfork_compat): Remove.
9230 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9232 2014-05-23 Joseph Myers <joseph@codesourcery.com>
9235 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9236 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9239 2014-05-23 Richard Henderson <rth@twiddle.net>
9241 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9242 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9243 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9244 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9246 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9247 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9248 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9249 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9250 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9251 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9252 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9253 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9254 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9255 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9256 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9257 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9258 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9259 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9263 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9265 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9266 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9267 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9268 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9269 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9270 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9271 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9272 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9273 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9274 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9275 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9276 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9277 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9278 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9279 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9280 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9281 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9282 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9283 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9284 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9285 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9286 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9287 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9288 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9289 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9290 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9291 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9292 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9293 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9294 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9295 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9296 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9297 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9298 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9299 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9300 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9301 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9303 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9304 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9305 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9306 before exiting on error.
9307 (__libc_vfork): New strong alias.
9308 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9309 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9311 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9312 that was previously under [RESET_PID].
9313 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9315 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9317 2014-05-23 Joseph Myers <joseph@codesourcery.com>
9320 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9321 value when x - 1 is zero.
9322 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9323 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9324 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9325 0.0L for an argument of 1.0L.
9326 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9328 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9329 value when x - 1 is zero.
9330 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9331 * sysdeps/i386/fpu/libm-test-ulps: Update.
9332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9334 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9336 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9337 alphasort and versionsort.
9339 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9341 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9343 [copysignf]: Likewise.
9345 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9347 * crypt/md5-crypt.c: Fix formatting.
9349 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9351 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9352 (b64_from_24bit): New function.
9354 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9356 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9357 libc_hidden_builtin_def to ifunc.
9358 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9359 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9361 2014-05-21 Roland McGrath <roland@hack.frob.com>
9363 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9364 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9366 2014-05-21 Joseph Myers <joseph@codesourcery.com>
9368 * nscd/Depend (linuxthreads): Remove.
9370 * resolv/Depend (linuxthreads): Remove.
9371 * rt/Depend (linuxthreads): Remove.
9373 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9374 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9375 $(common-objpfx)elf/.
9376 (link-libc-before-gnulib): Likewise.
9377 (elfobjdir): Remove variable.
9378 * Makefile (install): Use $(elf-objpfx) instead of
9379 $(common-objpfx)elf/.
9380 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9382 (link-libc-deps): Likewise.
9383 ($(common-objpfx)libc.so): Likewise.
9384 ($(common-objpfx)linkobj/libc.so): Likewise.
9385 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9386 instead of $(common-objpfx)elf/.
9387 (symbolic-link-list): Likewise.
9388 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9389 [$(cross-compiling) = no]: Likewise.
9390 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9392 (static-gnulib-arch): Likewise.
9393 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9394 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9395 $(common-objpfx)elf/.
9397 2014-05-21 Richard Henderson <rth@redhat.com>
9399 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9400 (SINGLE_THREAD_P): Use the correct width load. Fold
9401 into the ldr offset.
9403 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9404 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9406 2014-05-20 Joseph Myers <joseph@codesourcery.com>
9408 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9409 (libgcc_s_resume): Use __attribute_used__.
9410 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9413 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9415 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9416 optimization when used with float constants.
9418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9420 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9423 * locale/nl_langinfo_l.c: Make direct reference to every
9424 _nl_current_CATEGORY symbol.
9425 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9426 (tests-static): Add tst-langinfo-static.
9427 (tests-special): Add tst-langinfo-static.out.
9428 ($(objpfx)tst-langinfo.out): Redirect output.
9429 ($(objpfx)tst-langinfo-static.out): New.
9430 * localedata/tst-langinfo.sh: Send output to stdout.
9431 * localedata/tst-langinfo-static.c: New file.
9434 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9435 when the shift amount is modulo the limb size.
9437 2014-05-20 Richard Henderson <rth@redhat.com>
9440 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9441 Change type of sa_flags from unsigned int to int.
9444 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9446 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9448 2014-05-20 Will Newton <will.newton@linaro.org>
9450 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9451 Test the return value of the system call in the nocancel case.
9453 2014-05-20 Will Newton <will.newton@linaro.org>
9454 Yvan Roux <yvan.roux@linaro.org>
9456 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9457 #include of asm/ptrace.h.
9458 (PTRACE_GET_THREAD_AREA): Remove #undef.
9459 (PTRACE_GETHBPREGS): Likewise.
9460 (PTRACE_SETHBPREGS): Likewise.
9461 (struct user_regs_struct): New structure.
9462 (struct user_fpsimd_struct): New structure.
9463 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9464 #include of asm/ptrace.h and second #include of sys/user.h.
9465 (PTRACE_GET_THREAD_AREA): Remove #undef.
9466 (PTRACE_GETHBPREGS): Likewise.
9467 (PTRACE_SETHBPREGS): Likewise.
9468 (ELF_NGREG): Use new struct user_regs_struct.
9469 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9471 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9473 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9474 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9476 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9479 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9480 membar to avoid block loads/stores to overlap previous stores.
9482 2014-05-17 Richard Henderson <rth@redhat.com>
9484 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9485 Create the __##syscall_name##_nocancel entry point.
9486 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9487 Remove; let the sysdep-cancel.h code create it.
9489 2014-05-17 David S. Miller <davem@davemloft.net>
9491 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9492 Protect with __USE_GNU.
9493 (TIOCSET_TEMPT): Likewise.
9494 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9495 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9496 these are already provided in bits/ioctl-types.h
9498 2014-05-16 Roland McGrath <roland@hack.frob.com>
9500 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9501 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9503 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9504 Use wait4 regardless of [__NR_waitpid].
9506 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9509 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9510 (_FP_NANSIGN_Q): Set the quiet bit.
9512 2014-05-16 Joseph Myers <joseph@codesourcery.com>
9514 * benchtests/Makefile
9515 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9516 not $(common-objpfx)math/libm.so.
9517 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9518 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9519 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9520 $(common-objpfx)dlfcn/libdl.so.
9521 ($(objpfx)tst-audit8): Depend on $(libm), not
9522 $(common-objpfx)math/libm.so.
9523 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9524 not $(common-objpfx)dlfcn/libdl.so.
9526 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9527 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9528 [$(build-shared) = yes].
9529 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9530 $(common-objpfx)nptl/libpthread.so.
9531 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9532 $(common-objpfx)math/libm.so$(libm.so-version) or
9533 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9534 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9535 $(common-objpfx)dlfcn/libdl.so.
9536 * setjmp/Makefile (link-libm): Remove variable.
9537 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9538 * stdio-common/Makefile (link-libm): Remove variable.
9539 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9540 * stdlib/Makefile (link-libm): Remove variable.
9541 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9542 ($(objpfx)tst-strtod-round): Likewise.
9543 ($(objpfx)tst-tininess): Likewise.
9544 ($(objpfx)tst-strtod-underflow): Likewise.
9545 ($(objpfx)tst-strtod6): Likewise.
9546 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9547 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9548 $(common-objpfx)dlfcn/libdl.so.
9550 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9552 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9553 BSD terminal modes definitions.
9555 2014-05-16 Roland McGrath <roland@hack.frob.com>
9557 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9558 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9560 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9561 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9562 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9563 Don't do #include_next.
9564 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9565 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9566 Don't do #include_next.
9567 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9568 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9569 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9570 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9572 2014-05-16 Allan McRae <allan@archlinux.org>
9574 * po/sv.po: Update Swedish translation from translation project.
9576 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9579 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9582 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9583 errno if the TIOCGPTN ioctl fails with an error different than
9585 * login/tst-ptsname.c: New file.
9586 * login/Makefile (tests): Add tst-ptsname.
9589 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9592 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9596 herrno to return EAI_AGAIN.
9598 2014-05-14 Roland McGrath <roland@hack.frob.com>
9600 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9601 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9602 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9603 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9604 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9605 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9606 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9607 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9608 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9609 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9610 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9611 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9612 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9613 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9614 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9615 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9616 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9617 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9618 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9619 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9620 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9621 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9622 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9623 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9624 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9625 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9626 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9627 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9628 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9629 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9631 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9633 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9636 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9638 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9640 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9642 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9644 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9646 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9648 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9650 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9652 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9654 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9656 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9658 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9660 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9662 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9665 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9667 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9669 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9671 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9673 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9675 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9677 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9679 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9681 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9683 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9686 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9688 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9690 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9691 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9692 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9693 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9694 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9695 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9696 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9697 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9698 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9699 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9700 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9701 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9702 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9703 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9704 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9705 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9706 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9707 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9708 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9709 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9710 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9711 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9712 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9713 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9714 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9715 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9716 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9717 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9718 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9719 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9720 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9722 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9723 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9725 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9726 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9727 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9728 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9729 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9730 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9732 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9733 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9735 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9736 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9738 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9739 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9741 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9742 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9743 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9744 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9746 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9747 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9748 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9749 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9750 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9751 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9752 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9753 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9755 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9756 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9758 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9760 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9761 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9762 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9763 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9764 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9766 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9768 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9770 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9771 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9772 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9773 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9774 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9775 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9777 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9778 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9780 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9781 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9783 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9784 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9786 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9787 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9788 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9789 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9791 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9792 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9793 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9794 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9795 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9796 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9797 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9798 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9800 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9801 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9803 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9805 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9806 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9807 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9808 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9809 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9811 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9813 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9815 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9816 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9817 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9818 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9819 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9820 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9821 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9822 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9823 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9824 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9826 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9827 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9829 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9830 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9832 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9833 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9835 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9836 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9837 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9838 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9839 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9840 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9842 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9843 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9844 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9845 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9846 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9847 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9848 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9849 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9851 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9852 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9854 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9856 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9857 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9858 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9859 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9860 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9862 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9864 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9866 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9867 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9868 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9869 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9870 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9871 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9872 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9873 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9874 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9875 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9876 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9878 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9879 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9881 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9882 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9884 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9885 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9886 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9887 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9888 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9889 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9890 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9891 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9892 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9893 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9894 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9895 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9896 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9897 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9898 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9899 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9900 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9901 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9903 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9904 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9905 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9906 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9908 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9909 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9910 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9911 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9912 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9913 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9914 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9915 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9917 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9918 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9920 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9921 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9922 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9923 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9924 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9925 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9926 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9927 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9928 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9929 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9930 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9931 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9932 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9933 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9934 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9935 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9936 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9938 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9939 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9940 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9941 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9942 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9944 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9945 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9946 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9947 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9948 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9949 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9950 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9951 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9952 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9953 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9955 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9956 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9958 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9959 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9960 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9961 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9962 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9963 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9964 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9965 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9966 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9967 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9968 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9969 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9970 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9971 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9972 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9974 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9976 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9978 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9980 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9992 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9993 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9994 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9995 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9996 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9997 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9998 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9999 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10000 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10001 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10002 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10003 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10004 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10005 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10006 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
10008 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10009 that was previously under [RESET_PID].
10010 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10011 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10012 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10014 * sysdeps/i386/nptl/Implies: New file.
10015 * sysdeps/x86_64/nptl/Implies: New file.
10016 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10017 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10018 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10019 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10021 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10022 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10023 (__libc_vfork): New strong alias.
10024 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10025 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10027 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10028 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10029 (__libc_vfork): New strong alias.
10030 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10031 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10033 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10034 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10035 (__libc_vfork): New strong alias.
10036 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10037 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10038 * nptl/pt-vfork.c: New file.
10039 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10040 (libpthread: GLIBC_2.20): New version set (empty).
10042 2014-05-14 Will Newton <will.newton@linaro.org>
10044 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10047 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10050 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10051 arguments with exponent 65 or above.
10052 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10053 arguments 0x1p113L or above.
10054 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10055 to arguments 0x1p107L or above.
10056 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10057 positive arguments with exponent 65 or above.
10058 * math/auto-libm-test-in: Add more tests of log1p.
10059 * math/auto-libm-test-out: Regenerated.
10062 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10063 non-finite arguments is +0.
10064 * math/s_cacosf.c (__cacosf): Likewise.
10065 * math/s_cacosl.c (__cacosl): Likewise.
10066 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10067 * sysdeps/i386/fpu/libm-test-ulps: Update.
10068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10071 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10073 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10074 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10075 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10076 for explicit high bit of mantissa when testing for argument equal
10078 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10079 * sysdeps/i386/fpu/libm-test-ulps: Update.
10080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10083 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10084 (__erf): Scale by 16 instead of 8 in potentially underflowing
10085 case. Ensure exception if result actually underflows.
10086 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10087 (__erff): Scale by 16 instead of 8 in potentially underflowing
10088 case. Ensure exception if result actually underflows.
10089 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10090 (efx8): Remove variable.
10091 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10092 case. Ensure exception if result actually underflows.
10093 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10094 (efx8): Remove variable.
10095 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10096 case. Ensure exception if result actually underflows.
10097 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10098 (efx8): Remove variable.
10099 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10100 case. Ensure exception if result actually underflows.
10101 * math/auto-libm-test-in: Add more tests of erf.
10102 * math/auto-libm-test-out: Regenerated.
10104 2014-05-14 Andreas Schwab <schwab@suse.de>
10106 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10107 Remove code conditionalized on USE___THREAD.
10109 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10110 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10113 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10115 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10116 Define unconditionally.
10117 (__ASSUME_O_CLOEXEC): Likewise.
10118 (__ASSUME_SOCK_CLOEXEC): Likewise.
10119 (__ASSUME_IN_NONBLOCK): Likewise.
10120 (__ASSUME_PIPE2): Likewise.
10121 (__ASSUME_EVENTFD2): Likewise.
10122 (__ASSUME_SIGNALFD4): Likewise.
10123 (__ASSUME_DUP3): Likewise.
10124 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10125 (__ASSUME_DUP3): Do not define.
10126 (__ASSUME_EVENTFD2): Likewise.
10127 (__ASSUME_IN_NONBLOCK): Likewise.
10128 (__ASSUME_O_CLOEXEC): Likewise.
10129 (__ASSUME_PIPE2): Likewise.
10130 (__ASSUME_SIGNALFD4): Likewise.
10131 (__ASSUME_SOCK_CLOEXEC): Likewise.
10132 (__ASSUME_UTIMES): Undefine.
10133 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10134 (__ASSUME_UTIMES): Do not define.
10135 (__ASSUME_O_CLOEXEC): Likewise.
10136 (__ASSUME_SOCK_CLOEXEC): Likewise.
10137 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10138 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10140 (__ASSUME_PIPE2): Likewise.
10141 (__ASSUME_EVENTFD2): Likewise.
10142 (__ASSUME_SIGNALFD4): Likewise.
10143 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10144 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10146 (__ASSUME_EVENTFD2): Likewise.
10147 (__ASSUME_SIGNALFD4): Likewise.
10148 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10149 (__ASSUME_32BITUIDS): Likewise.
10150 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10151 (__ASSUME_IPC64): Likewise.
10152 (__ASSUME_ST_INO_64_BIT): Likewise.
10153 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10154 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10155 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10156 (__ASSUME_UTIMES): Do not define.
10157 (__ASSUME_PSELECT): Likewise.
10158 (__ASSUME_PPOLL): Likewise.
10159 (__ASSUME_O_CLOEXEC): Likewise.
10160 (__ASSUME_SOCK_CLOEXEC): Likewise.
10161 (__ASSUME_IN_NONBLOCK): Likewise.
10162 (__ASSUME_PIPE2): Likewise.
10163 (__ASSUME_EVENTFD2): Likewise.
10164 (__ASSUME_SIGNALFD4): Likewise.
10165 (__ASSUME_DUP3): Likewise.
10166 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10167 (__ASSUME_UTIMES): Likewise.
10168 (__ASSUME_O_CLOEXEC): Likewise.
10169 (__ASSUME_SOCK_CLOEXEC): Likewise.
10170 (__ASSUME_IN_NONBLOCK): Likewise.
10171 (__ASSUME_PIPE2): Likewise.
10172 (__ASSUME_EVENTFD2): Likewise.
10173 (__ASSUME_SIGNALFD4): Likewise.
10174 (__ASSUME_DUP3): Likewise.
10175 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10176 (__ASSUME_UTIMES): Likewise.
10177 (__ASSUME_O_CLOEXEC): Likewise.
10178 (__ASSUME_SOCK_CLOEXEC): Likewise.
10179 (__ASSUME_IN_NONBLOCK): Likewise.
10180 (__ASSUME_PIPE2): Likewise.
10181 (__ASSUME_EVENTFD2): Likewise.
10182 (__ASSUME_SIGNALFD4): Likewise.
10183 (__ASSUME_DUP3): Likewise.
10184 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10186 (__ASSUME_UTIMES): Likewise.
10187 (__ASSUME_EVENTFD2): Likewise.
10188 (__ASSUME_SIGNALFD4): Likewise.
10189 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10190 (__ASSUME_O_CLOEXEC): Likewise.
10191 (__ASSUME_SOCK_CLOEXEC): Likewise.
10192 (__ASSUME_IN_NONBLOCK): Likewise.
10193 (__ASSUME_PIPE2): Likewise.
10194 (__ASSUME_EVENTFD2): Likewise.
10195 (__ASSUME_SIGNALFD4): Likewise.
10196 (__ASSUME_DUP3): Likewise.
10197 (__ASSUME_UTIMES): Undefine.
10199 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10200 feclearexcept. Remove symbol versioning code.
10201 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10202 symbol versioning code.
10203 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10204 symbol versioning code.
10205 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10206 feupdateenv. Remove symbol versioning code.
10207 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10208 fegetexceptflag. Remove symbol versioning code.
10209 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10210 fesetexceptflag. Remove symbol versioning code.
10211 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10212 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10213 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10214 (__posix_fadvise64_l32): Remove prototype.
10215 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10218 2014-05-13 Roland McGrath <roland@hack.frob.com>
10220 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10221 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10222 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10223 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10225 2014-05-13 Sami Kerola <kerolasa@iki.fi>
10227 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10228 current working directory
10230 2014-05-13 Roland McGrath <roland@hack.frob.com>
10232 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10233 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10234 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10235 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10236 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10237 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10238 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10239 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10240 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10241 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10242 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10243 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10244 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10245 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10246 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10247 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10248 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10249 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10250 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10251 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10252 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10253 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10254 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10255 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10256 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10257 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10258 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10259 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10260 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10261 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10262 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10263 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10264 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10265 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10266 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10267 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10268 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10269 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10270 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10271 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10272 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10273 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10275 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10276 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10278 * sysdeps/unix/sysv/linux/arm/Makefile
10279 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10280 Add rt-aeabi_unwind_cpp_pr1.
10281 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10282 Add nptl-aeabi_unwind_cpp_pr1.
10283 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10284 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10285 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10286 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10287 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10288 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10290 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10291 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10292 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10293 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10295 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10296 Deconditionalize the code that was previously under [RESET_PID].
10297 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10299 * sysdeps/generic/exit-thread.h: New file.
10300 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10301 * include/unistd.h (__exit_thread): Remove declaration.
10302 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10303 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10304 * csu/libc-start.c: Include <exit-thread.h>.
10305 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10306 * nptl/pthread_create.c: Include <exit-thread.h>.
10307 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10308 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10309 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10310 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10311 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10312 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10313 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10314 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10315 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10316 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10317 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10318 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10319 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10320 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10321 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10322 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10323 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10325 2014-05-13 Andreas Schwab <schwab@suse.de>
10327 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10329 2014-05-12 Joseph Myers <joseph@codesourcery.com>
10331 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10332 (__ASSUME_UTIMES): Do not condition on kernel version.
10333 (__ASSUME_PSELECT): Define unconditionally.
10334 (__ASSUME_PPOLL): Likewise.
10335 (__ASSUME_ATFCTS): Likewise.
10336 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10337 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10338 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10339 (__ASSUME_UTIMENSAT): Define unconditionally.
10340 (__ASSUME_PRIVATE_FUTEX): Likewise.
10341 (__ASSUME_FALLOCATE): Likewise.
10342 (__ASSUME_O_CLOEXEC): Likewise.
10343 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10344 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10345 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10346 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10347 (__ASSUME_IN_NONBLOCK): Likewise.
10348 (__ASSUME_PIPE2): Likewise.
10349 (__ASSUME_EVENTFD2): Likewise.
10350 (__ASSUME_SIGNALFD4): Likewise.
10351 (__ASSUME_DUP3): Likewise.
10352 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10353 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10354 (__ASSUME_AT_RANDOM): Likewise.
10355 (__ASSUME_PREADV): Likewise.
10356 (__ASSUME_PWRITEV): Likewise.
10357 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10358 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10359 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10360 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10361 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10362 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10363 (__ASSUME_O_CLOEXEC): Define unconditionally.
10364 (__ASSUME_PSELECT): Do not undefine conditionally.
10365 (__ASSUME_PPOLL): Likewise.
10366 (__ASSUME_ATFCTS): Likewise.
10367 (__ASSUME_SET_ROBUST_LIST): Likewise.
10368 (__ASSUME_UTIMENSAT): Likewise.
10369 (__ASSUME_FDATASYNC): Define unconditionally.
10370 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10371 (__ASSUME_SIGFRAME_V2): Likewise.
10372 )__ASSUME_EVENTFD2): Likewise.
10373 (__ASSUME_SIGNALFD4): Likewise.
10374 (__ASSUME_PSELECT): Do not undefine conditionally.
10375 (__ASSUME_PPOLL): Likewise.
10376 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10377 (__ASSUME_PSELECT): Define unconditionally.
10378 (__ASSUME_PPOLL): Likewise.
10379 (__ASSUME_O_CLOEXEC): Likewise.
10380 (__ASSUME_SOCK_CLOEXEC): Likewise.
10381 (__ASSUME_IN_NONBLOCK): Likewise.
10382 (__ASSUME_PIPE2): Likewise.
10383 (__ASSUME_EVENTFD2): Likewise.
10384 (__ASSUME_SIGNALFD4): Likewise.
10385 (__ASSUME_DUP3): Likewise.
10386 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10387 (__ASSUME_O_CLOEXEC): Likewise.
10388 (__ASSUME_SOCK_CLOEXEC): Likewise.
10389 (__ASSUME_IN_NONBLOCK): Likewise.
10390 (__ASSUME_PIPE2): Likewise.
10391 (__ASSUME_EVENTFD2): Likewise.
10392 (__ASSUME_SIGNALFD4): Likewise.
10393 (__ASSUME_DUP3): Likewise.
10394 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10395 (__ASSUME_EVENTFD2): Likewise.
10396 (__ASSUME_SIGNALFD4): Likewise.
10397 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10399 2014-05-12 Andreas Schwab <schwab@suse.de>
10402 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10403 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10404 than maximum RPC packet size.
10405 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10406 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10407 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10408 (_nss_nis_getservbyport_r): Likewise.
10410 2014-05-12 Will Newton <will.newton@linaro.org>
10412 * malloc/Makefile (tests): Add tst-mallopt.
10413 * malloc/tst-mallopt.c: New file.
10415 2014-05-09 Roland McGrath <roland@hack.frob.com>
10417 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10418 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10420 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10422 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10423 (tst-tlsmod6.so): Likewise.
10425 2014-05-09 Roland McGrath <roland@hack.frob.com>
10427 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10429 2014-05-09 Joseph Myers <joseph@codesourcery.com>
10432 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10433 and <dl-procinfo.h>.
10434 (__fegetenv): Save SSE state in envp->__eip if supported.
10435 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10436 envp->__eip if supported.
10437 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10438 and <dl-procinfo.h>.
10439 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10440 __data_offset and __data_selector in environment to 0. Set SSE
10441 state if supported.
10442 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10444 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10446 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10448 2014-05-09 Will Newton <will.newton@linaro.org>
10450 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10451 and libc_relro_required for ARM.
10452 * sysdeps/arm/preconfigure: Regenerate.
10454 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10455 Stefan Liebler <stli@linux.vnet.ibm.com>
10457 * config.make.in (enable-lock-elision): New Makefile variable.
10458 * configure.ac: Likewise.
10459 * configure: Regenerate.
10460 * sysdeps/s390/configure.ac:
10461 Add check for gcc transactions support.
10462 * sysdeps/s390/configure: Regenerate.
10463 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10464 Build elision files if enabled.
10465 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10466 Add lock elision support for s390.
10467 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10468 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10469 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10470 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10471 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10472 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10473 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10475 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10477 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10479 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10481 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10482 (__lll_timedlock_elision, __lll_lock_elision)
10483 (__lll_unlock_elision, __lll_trylock_elision)
10484 (lll_timedlock_elision, lll_lock_elision)
10485 (lll_unlock_elision, lll_trylock_elision): Add.
10486 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10487 (pthread_mutex_t): Add lock elision support for s390.
10489 2014-05-14 Wilco <wdijkstr@arm.com>
10491 * sysdeps/arm/fclrexcpt.c: Cleanup.
10492 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10493 * sysdeps/arm/feenablxcpt.c: Cleanup.
10494 * sysdeps/arm/fegetenv.c: Cleanup.
10495 * sysdeps/arm/fegetexcept.c: Cleanup.
10496 * sysdeps/arm/fegetround.c: Cleanup.
10497 * sysdeps/arm/feholdexcpt.c: Cleanup.
10498 * sysdeps/arm/fesetenv.c: Cleanup.
10499 * sysdeps/arm/fesetround.c: Cleanup.
10500 * sysdeps/arm/feupdateenv.c: Cleanup.
10501 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10502 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10503 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10504 * sysdeps/arm/ftestexcept.c: Cleanup.
10505 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10506 * sysdeps/arm/setfpucw.c: Cleanup.
10508 2014-05-09 Will Newton <will.newton@linaro.org>
10510 * sysdeps/arm/armv7/strcmp.S: New file.
10511 * NEWS: Mention addition of ARMv7 optimized strcmp.
10513 2014-05-08 Roland McGrath <roland@hack.frob.com>
10515 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10516 look for %.ac rather than %.in.
10518 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10519 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10520 * sysdeps/mach/hurd/configure: Regenerated.
10521 * sysdeps/unix/sysv/linux/configure: Regenerated.
10523 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10525 2014-05-07 Steve Ellcey <sellcey@mips.com>
10528 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10532 2014-05-07 Andreas Schwab <schwab@suse.de>
10534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10535 when skipping over non-matching result from nscd.
10537 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
10540 * nptl/sockperf.c (client): Check socket return value.
10543 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10544 nscd security class.
10546 2014-05-06 Roland McGrath <roland@hack.frob.com>
10548 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10549 * sysdeps/arm/unwind.h: ... here.
10551 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10554 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10557 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10559 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10560 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10561 multiarch strncpy for PPC64.
10562 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10563 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10565 multiarch optimizations.
10566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10567 (__libc_ifunc_impl_list): Likewise.
10568 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10569 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10570 multiarch stpncpy for PPC64.
10571 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10572 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10574 2014-05-06 Andreas Schwab <schwab@suse.de>
10577 * gmon/mcount.c (_MCOUNT_DECL): Use
10578 atomic_compare_and_exchange_bool_acq instead of
10579 catomic_compare_and_exchange_bool_acq.
10581 2014-05-05 Roland McGrath <roland@hack.frob.com>
10583 * elf/Makefile (others, install-bin): Remove pldd.
10584 (pldd-modules): Variable removed.
10585 ($(objpfx)pldd): Target removed.
10586 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10587 (others, install-bin): Append pldd here.
10588 ($(objpfx)pldd): New target.
10590 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10591 to 0, so the first #if test emitted later doesn't see it undefined.
10592 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10593 * sysdeps/gnu/errlist.c: Regenerated.
10595 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10597 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10598 [libc_hidden_builtin_def]: Define to empty value.
10599 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10600 [libc_hidden_builtin_def]: Likewise.
10601 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10602 [libc_hidden_builtin_def]: Likewise.
10603 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10604 [libc_hidden_builtin_def]: Likewise.
10605 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10606 __redirect_memcpy and define ifunc as default hidden symbol.
10607 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10608 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10610 2014-05-04 Adam Conrad <adconrad@0c3.net>
10612 * locale/iso-4217.def: Reintroduce XDR currency.
10614 2014-05-04 Allan McRae <allan@archlinux.org>
10616 * po/eo.po: Update Esperanto translation from translation project.
10618 2014-05-02 Carlos O'Donell <carlos@redhat.com>
10620 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10621 and FEATURE_INDEX_MAX to 1.
10622 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10624 2014-05-01 Steve Ellcey <sellcey@mips.com>
10626 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10627 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10628 * iconvdata/big5.c (ONE_DIRECTION): Define.
10629 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10630 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10631 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10632 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10633 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10634 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10635 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10636 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10637 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10638 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10639 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10640 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10641 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10642 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10643 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10644 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10645 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10646 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10647 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10648 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10649 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10650 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10651 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10652 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10653 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10654 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10655 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10656 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10657 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10658 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10659 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10660 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10661 * iconvdata/johab.c (ONE_DIRECTION): Define.
10662 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10663 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10664 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10665 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10666 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10667 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10668 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10669 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10670 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10671 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10673 2014-05-01 Roland McGrath <roland@hack.frob.com>
10675 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10676 (_IO_JUMPS_OFFSET): Define to 0.
10678 * nptl/sysdeps/pthread/bits/libc-lock.h
10679 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10680 (__libc_lock_define_initialized_recursive): Always define using
10681 initializer. Modern compilers treat uninitialized (implicit zero) and
10682 explicit zero initializers the same (i.e. put the datum in bss).
10684 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10686 * nscd/nscd-client.h: Include <string.h>.
10688 2014-05-01 David S. Miller <davem@davemloft.net>
10691 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10692 multiple zero bytes exist at the end of a string.
10693 Reported by Aurelien Jarno <aurelien@aurel32.net>
10695 * string/test-strcmp.c (check): Add explicit test for situations where
10696 there are multiple zero bytes after the first.
10698 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10701 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10702 when compiling wprintf.
10703 * stdio-common/tstdiomisc.c (t3): New function.
10706 2014-05-01 Steve Ellcey <sellcey@mips.com>
10708 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10709 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10710 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10711 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10713 2014-05-01 Steve Ellcey <sellcey@mips.com>
10715 * stdlib/longlong.h: Updated from GCC.
10717 2014-05-01 Will Newton <will.newton@linaro.org>
10718 Bernard Ogden <bernie.ogden@linaro.org>
10720 * NEWS: Update fixed bug list.
10723 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10725 2014-04-30 David S. Miller <davem@davemloft.net>
10727 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10728 (libc_feholdexcept_setround_sparc_ctx): New function.
10729 (libc_fesetenv_sparc_ctx): Likewise.
10730 (libc_feupdateenv_sparc_ctx): Likewise.
10731 (libc_feholdsetround_sparc_ctx): Likewise.
10732 (libc_feholdexcept_setround_ctx): Define.
10733 (libc_feholdexcept_setroundf_ctx): Likewise.
10734 (libc_feholdexcept_setroundl_ctx): Likewise.
10735 (libc_fesetenv_ctx): Likewise.
10736 (libc_fesetenvf_ctx): Likewise.
10737 (libc_fesetenvl_ctx): Likewise.
10738 (libc_feupdateenv_ctx): Likewise.
10739 (libc_feupdateenvf_ctx): Likewise.
10740 (libc_feupdateenvl_ctx): Likewise.
10741 (libc_feresetround_ctx): Likewise.
10742 (libc_feresetroundf_ctx): Likewise.
10743 (libc_feresetroundl_ctx): Likewise.
10744 (libc_feholdsetround_ctx): Likewise.
10745 (libc_feholdsetroundf_ctx): Likewise.
10746 (libc_feholdsetroundl_ctx): Likewise.
10748 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10749 with __USE_GNU instead of XOPEN cpp guards.
10751 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10755 with XOPEN cpp guards.
10757 2014-04-30 Julian Brown <julian@codesourcery.com>
10760 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10763 2014-04-30 Joseph Myers <joseph@codesourcery.com>
10766 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10768 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10769 * sysdeps/unix/sysv/linux/configure: Regenerated.
10770 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10771 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10772 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10773 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10774 * README: Update reference to required Linux kernel version.
10775 * manual/install.texi (Linux): Update reference to required Linux
10776 kernel headers version.
10777 * INSTALL: Regenerated.
10779 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10781 [POSIX] (limits.h): Likewise.
10782 [POSIX] (math.h): Likewise.
10783 [POSIX] (sys/wait.h): Likewise.
10784 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10786 [POSIX] (stddef.h): Do not allow header inclusion.
10788 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10790 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10792 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10794 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10795 Return immediately after lll_futex_wake.
10797 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10800 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10802 (datahead_init_pos): Call datahead_init_common early.
10803 (datahead_init_neg): Likewise.
10805 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10806 datahead_init_neg): New functions.
10807 * nscd/aicache.c (addhstaiX): Use them.
10808 * nscd/grpcache.c (cache_addgr): Likewise.
10809 * nscd/hstcache.c (cache_addhst): Likewise.
10810 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10811 * nscd/netgroupcache.c (do_notfound): Likewise.
10812 (addgetnetgrentX): Likewise.
10813 (addinnetgrX): Likewise.
10814 * nscd/pwdcache.c (cache_addpw): Likewise.
10815 * nscd/servicescache.c (cache_addserv): Likewise.
10817 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10818 Atsushi Onoe <atsushi@onoe.org>
10823 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10824 one response is valid.
10825 * resolv/res_send.c (send_dg): Check for validity of other
10826 response if the current response is a referral.
10828 2014-04-29 Steve Ellcey <sellcey@mips.com>
10830 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10832 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10835 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10836 Always divide by positive zero when computing -Inf result.
10837 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10838 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10840 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10842 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10843 FPSCR if value do not change.
10844 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10845 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10846 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10847 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10848 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10849 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10852 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10854 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10855 * sysdeps/unix/sysv/linux/hppa: Move directory from
10856 ports/systeps/unix/sysv/linux/hppa.
10857 * README: Update listing for hppa-*-linux-gnu.
10859 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
10862 * manual/stdio.texi (Hook functions): Fix types of stream hook
10865 * socket/sys/socket.h: Fix typo in comment.
10867 2014-04-28 Wilco <wdijkstr@arm.com>
10869 * sysdeps/arm/fenv_private.h: New file.
10870 * sysdeps/arm/math_private.h: New file.
10871 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10873 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10875 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10877 (La_x86_64_retval): Likewise.
10879 2014-04-24 Ian Bolton <ian.bolton@arm.com>
10881 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10882 fpsr if value didn't change.
10883 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10884 to fpcr if value didn't change.
10885 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10886 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10887 fpsr or fpcr if value didn't change.
10888 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10889 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10890 fpcr if value didn't change.
10891 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10892 to fpsr if value didn't change.
10894 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10896 * nptl/tst-sem3.c: Use test-skeleton.c
10897 (main): Rename to do_test. Use return instead of
10899 * nptl/tst-sem4.c: Use test-skeleton.c
10900 (main): Rename to do_test.
10902 2014-04-22 David S. Miller <davem@davemloft.net>
10904 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10905 (struct sigaction): New struct member __glibc_reserved0, change
10906 type of sa_flags to int.
10908 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10910 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10911 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10913 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10915 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10916 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10918 2014-04-22 Will Newton <will.newton@linaro.org>
10919 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10921 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10922 (__longjmp): Add longjmp and longjmp_target SystemTap
10924 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10925 (__sigsetjmp): Add setjmp SystemTap probe.
10927 2014-04-17 Carlos O'Donell <carlos@redhat.com>
10929 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10930 match manual order.
10932 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10934 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10936 * sysdeps/powerpc/fpu/fenv_private.h
10937 (libc_feholdexcept_setroundl_ctx): Define to
10938 libc_feholdexcept_setround_ppc_ctx.
10939 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10940 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10941 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10942 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10944 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10946 * sysdeps/aarch64/math-tests.h: New file.
10948 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10950 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10953 Check and set bit_AVX2_Usable.
10954 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10956 (bit_AVX2): Likewise.
10957 (index_AVX2_Usable): Likewise.
10958 (CPUID_AVX2): Likewise.
10959 (HAS_AVX2): Likewise.
10961 2014-04-17 Will Newton <will.newton@linaro.org>
10963 * manual/setjmp.texi (System V contexts): Add note that
10964 calling setcontext on a context created by a call to a
10965 signal handler is undefined. Update text to note that
10966 setcontext from a signal handler is possible but not
10970 * stdlib/tst-setcontext.c: Include signal.h.
10971 (main): Check that the signal stack before and
10972 after swapcontext is the same.
10974 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10975 Re-implement to restore registers in user code and avoid
10976 rt_sigreturn system call.
10978 2014-04-17 Wilco <wdijkstr@arm.com>
10980 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10981 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10982 * math/test-fenv.c: Skip exception trap tests on targets which only
10983 support non-stop mode.
10985 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10986 Wilco Dijkstra <wilco.dijkstra@arm.com>
10988 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10989 (libc_feholdsetround_aarch64_ctx)
10990 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10991 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10992 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10993 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10994 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10995 (libc_feresetround_noexl_ctx): Define.
10997 2014-04-16 Richard Henderson <rth@redhat.com>
10999 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11001 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11004 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11005 const from the non-libc, non-ldso copy.
11007 * sysdeps/alpha/libm-test-ulps: Regenerate.
11009 2014-04-16 Ian Bolton <ian.bolton@arm.com>
11010 Wilco Dijkstra <wilco.dijkstra@arm.com>
11012 * sysdeps/aarch64/fpu/math_private.h: New file.
11014 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11016 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11018 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11021 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11022 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11023 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11024 Intel MPX bound registers before _dl_profile_fixup.
11025 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11026 registers after _dl_profile_fixup. Save and restore bound
11027 registers bnd0/bnd1 when calling _dl_call_pltexit.
11028 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11029 (LR_BND_OFFSET): Likewise.
11030 (LRV_BND0_OFFSET): Likewise.
11031 (LRV_BND1_OFFSET): Likewise.
11033 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11035 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11037 * sysdeps/mach/hurd/i386/tls.h: ... here.
11038 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11039 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11042 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11044 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11046 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11048 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11050 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11053 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11054 * sysdeps/s390/configure: Regenerate.
11057 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11058 Set round-to-nearest internally to reduce error accumulation.
11060 2014-04-16 Alan Modra <amodra@gmail.com>
11064 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11065 * math/libm-test.inc (frexp_test_data): Add tests.
11066 * NEWS: Update fixed bug list.
11068 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11070 * benchtests/Makefile: Depend on libraries in build directory.
11071 (bench-math): Separate out math tests.
11072 (bench-pthread): Separate out pthread tests.
11073 (bench): Include math and pthread tests.
11075 2014-04-14 Carlos O'Donell <carlos@redhat.com>
11078 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11079 _dl_debug_initialize.
11081 * configure.ac: Remove SELinux header check.
11082 * configure: Regenerate.
11083 * nscd/selinux.c (perms): Array of const char* to permission names.
11084 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11085 default policy. Call string_to_security_class and string_to_av_perm to
11086 translate strings. Enforce default policy and call avs_has_perm with
11087 results of translated strings.
11089 2014-04-13 David S. Miller <davem@davemloft.net>
11091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11093 2014-04-12 Allan McRae <allan@archlinux.org>
11096 * manual/string.texi (Collation Functions): Fix qsort argument
11098 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11100 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11102 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11103 Make the test a no-op if there are no exceptions defined.
11105 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11107 * elf/Makefile (tests): make tst-dlopen-aout conditional on
11108 enable-hardcoded-path-in-tests
11110 2014-04-11 Will Newton <will.newton@linaro.org>
11112 * benchtests/Makefile (extra-objs): Add json-lib.o.
11113 (bench-func): Tidy up JSON output.
11114 * benchtests/bench-skeleton.c: Include json-lib.h.
11115 (main): Use JSON library functions to do output of
11117 * benchtests/bench-timing-type.c (main): Output the
11118 timing type simply, leaving formatting to the user.
11119 * benchtests/json-lib.c: New file.
11120 * benchtests/json-lib.h: Likewise.
11122 2014-04-11 Torvald Riegel <triegel@redhat.com>
11125 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11126 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11127 memory barriers. Add comments.
11128 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11129 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11130 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11131 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11132 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11133 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11135 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11137 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11138 * sysdeps/s390/s390-64/configure.ac: ... this ...
11139 * sysdeps/s390/configure.ac: ... to here.
11140 * sysdeps/s390/s390-32/configure: Delete file.
11141 * sysdeps/s390/s390-64/configure: Delete file.
11142 * sysdeps/s390/configure: Regenerate.
11144 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11146 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11148 2014-04-11 Will Newton <will.newton@linaro.org>
11150 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11151 to zero if it is not defined elsewhere. (mtrim): Test
11152 the value of MALLOC_DEBUG with #if rather than #ifdef.
11154 2014-04-10 Torvald Riegel <triegel@redhat.com>
11156 * benchtests/pthread_once-inputs: New file.
11157 * benchtests/pthread_once-source.c: New file.
11158 * benchtests/README: Update documentation.
11160 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11161 H.J. Lu <hongjiu.lu@intel.com>
11164 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11165 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11166 * sysdeps/x86_64/configure: Regenerated.
11167 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11169 (REGISTER_SAVE_RAX): Likewise.
11170 (REGISTER_SAVE_RCX): Likewise.
11171 (REGISTER_SAVE_RDX): Likewise.
11172 (REGISTER_SAVE_RSI): Likewise.
11173 (REGISTER_SAVE_RDI): Likewise.
11174 (REGISTER_SAVE_R8): Likewise.
11175 (REGISTER_SAVE_R9): Likewise.
11176 (REGISTER_SAVE_BND0): Likewise.
11177 (REGISTER_SAVE_BND1): Likewise.
11178 (REGISTER_SAVE_BND2): Likewise.
11179 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11180 bound registers when calling _dl_fixup.
11182 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11184 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11185 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11187 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11188 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11189 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11190 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11191 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11192 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11193 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11195 2014-04-09 Peter Brett <peter@peter-b.co.uk>
11198 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11199 pathconf(_PC_NAME_MAX).
11201 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11203 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11204 Remove macro usage.
11205 (__PTHREAD_SPINS): Move definition to ...
11206 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11207 (__PTHREAD_SPINS): ... here.
11208 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11209 (__PTHREAD_SPIN): Likewise.
11210 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11211 (__PTHREAD_SPIN): Likewise.
11212 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11213 (__PTHREAD_SPIN): Likewise.
11214 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11215 (__PTHREAD_SPIN): Likewise.
11216 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11217 (__PTHREAD_SPIN): Likewise.
11218 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11219 (__PTHREAD_SPIN): Likewise.
11220 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11221 (__PTHREAD_SPIN): Likewise.
11222 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11223 (__PTHREAD_SPIN): Likewise.
11224 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11225 (__PTHREAD_SPIN): Likewise.
11226 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11227 (__PTHREAD_SPIN): Likewise.
11228 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11229 (__PTHREAD_SPIN): Likewise.
11230 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11231 (__PTHREAD_SPIN): Likewise.
11233 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11234 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11235 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11236 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11238 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11239 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11240 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11241 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11242 correct imply path.
11243 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11244 strlen symbol for non multi-arch builds.
11245 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11246 missing hidden_def and weak_alias.
11248 2014-04-08 Carlos O'Donell <carlos@redhat.com>
11250 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11252 2014-04-07 Will Newton <will.newton@linaro.org>
11254 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11255 and contents. [!_LIBC] Remove #ifndef and contents.
11256 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11257 * string/memccpy.c (__memccpy): Use ANSI prototype.
11258 * string/memfrob.c (memfrob): Likewise.
11259 * string/strcoll.c (STRCOLL): Likewise.
11260 * string/strlen.c (strlen): Likewise.
11261 * string/strtok.c (STRTOK): Likewise.
11262 * string/strcat.c: Remove unused #include of memcopy.h.
11263 (strcat): Use ANSI prototype.
11264 * string/strchr.c: Remove unused #include of memcopy.h.
11265 (strchr): Use ANSI prototype.
11266 * string/strcmp.c: Remove unused #include of memcopy.h.
11267 (strcmp): Use ANSI prototype.
11268 * string/strcpy.c: Remove unused #include of memcopy.h.
11269 (strcpy): Use ANSI prototype.
11271 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11273 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11274 * config.make.in (config-extra-cppflags): Set it from
11275 libc_extra_cppflags.
11276 * configure.ac (libc_extra_cflags): Make it accumulate over
11277 configure fragments.
11278 (libc_extra_cppflags): New flag.
11279 * configure. Regenerate.
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11281 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11282 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11286 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11287 result for FE_DOWNWARD rounding mode.
11288 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11292 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11294 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11295 in function argument name.
11297 2014-04-03 David Svoboda <svoboda@cert.org>
11300 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11303 2014-04-03 Roland McGrath <roland@hack.frob.com>
11305 * elf/dl-unmap-segments.h: New file.
11306 * sysdeps/generic/ldsodefs.h
11307 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11308 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11309 * elf/dl-fptr.c: Likewise.
11310 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11311 * sysdeps/aarch64/tlsdesc.c: Likewise.
11312 * sysdeps/arm/tlsdesc.c: Likewise.
11313 * sysdeps/i386/tlsdesc.c: Likewise.
11314 * sysdeps/tile/dl-runtime.c: Likewise.
11315 * sysdeps/x86_64/tlsdesc.c: Likewise.
11316 * elf/dl-load.h: New file.
11317 * elf/dl-load.c: Include it.
11318 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11319 Macros moved to dl-load.h.
11320 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11321 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11322 Use _dl_unmap_segments in place of __munmap.
11323 Break out segment-mapping loop into ...
11324 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11326 2014-04-03 Will Newton <will.newton@linaro.org>
11328 * elf/dl-lookup.c (do_lookup_x): Remove comment
11329 referring to nested function and move variable
11330 declarations down to before first use.
11332 2014-04-02 Joseph Myers <joseph@codesourcery.com>
11336 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11338 * math/s_catanf.c (__catanf): Likewise.
11339 * math/s_catanh.c (__catanh): Likewise.
11340 * math/s_catanhf.c (__catanhf): Likewise.
11341 * math/s_catanhl.c (__catanhl): Likewise.
11342 * math/s_catanl.c (__catanl): Likewise.
11343 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11344 by positive zero when computing -Inf result.
11345 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11346 (catanh_test): Likewise.
11347 * sysdeps/i386/fpu/libm-test-ulps: Update.
11348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11351 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11352 instead of using underflowing value in computing result.
11353 * math/s_clog10.c (__clog10): Likewise.
11354 * math/s_clog10f.c (__clog10f): Likewise.
11355 * math/s_clog10l.c (__clog10l): Likewise.
11356 * math/s_clogf.c (__clogf): Likewise.
11357 * math/s_clogl.c (__clogl): Likewise.
11358 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11359 (clog10_test): Likewise.
11360 * sysdeps/i386/fpu/libm-test-ulps: Update.
11361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11363 2014-04-02 Alan Modra <amodra@gmail.com>
11366 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11367 output when value is near a power of two. Use int64_t for lx and
11368 remove casts. Use decimal rather than hex exponent constants.
11369 Don't use long double multiplication when double will suffice.
11370 * math/libm-test.inc (nextafter_test_data): Add tests.
11371 * NEWS: Add 16739 and 16786 to bug list.
11373 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11375 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11377 2014-04-01 Will Newton <will.newton@linaro.org>
11379 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11380 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11382 2014-04-01 Florian Weimer <fweimer@redhat.com>
11385 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11386 * nptl/tst-setuid2.c: New file.
11387 * nptl/Makefile (xtests): Add tst-setuid2.
11389 2014-04-01 Alan Modra <amodra@gmail.com>
11392 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11394 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11398 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11399 set errno as appropriate.
11400 * math/w_scalbf.c (__scalbf): Likewise.
11401 * math/w_scalbl.c (__scalbl): Likewise.
11402 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11403 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11404 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11405 Add more NaN tests.
11408 * math/w_atan2.c: Include <errno.h>.
11409 (__atan2): Set errno for result underflowing to zero.
11410 * math/w_atan2f.c: Include <errno.h>.
11411 (__atan2f): Set errno for result underflowing to zero.
11412 * math/w_atan2l.c: Include <errno.h>.
11413 (__atan2l): Set errno for result underflowing to zero.
11414 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11416 * math/auto-libm-test-out: Regenerated.
11418 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11420 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11421 Encode instruction correctly in little endian.
11422 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11424 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11426 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11428 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11431 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11434 * sysdeps/unix/sysv/linux/kernel-features.h
11435 [__sparc__ && !__arch64__ && !__sparc_v9__]
11436 (__ASSUME_SET_ROBUST_LIST): Do not define.
11437 [__sparc__ && !__arch64__ && !__sparc_v9__]
11438 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11439 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11441 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11442 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11443 (__ASSUME_REQUEUE_PI): Likewise.
11444 (__ASSUME_SET_ROBUST_LIST): Likewise.
11445 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11446 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11448 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11449 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11451 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11453 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11455 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11456 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11458 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11459 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11463 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11464 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11465 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11467 2014-03-31 Will Newton <will.newton@linaro.org>
11469 * benchtests/Makefile (bench): Add ffs and ffsll to list
11471 * benchtests/ffs-inputs: New file.
11472 * benchtests/ffsll-inputs: Likewise.
11474 2014-03-29 Joseph Myers <joseph@codesourcery.com>
11477 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11478 too large before casting to int.
11479 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11480 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11481 * math/libm-test.inc (scalb_test_data): Add more tests.
11483 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11485 * benchtests/Makefile (DETAILED_OPT): New make option.
11486 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11488 * benchtests/bench-skeleton.c: Include stdbool.h.
11489 (main): Store and print timings per input.
11490 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11491 member to each argument value.
11492 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11493 (_print_arg_data): Initialize per-input timing to 0.
11495 * benchtests/Makefile (timing-type): New binary.
11496 (bench-clean): Also remove bench-timing-type.
11497 (bench): New target for timing-type.
11498 (bench-func): Print output in JSON format.
11499 * benchtests/bench-skeleton.c (main): Print output in JSON
11501 * benchtests/bench-timing-type.c: New file.
11502 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11503 (TIMING_PRINT_STATS): Remove.
11504 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11507 * benchtests/bench-modf.c: Remove.
11508 * benchtests/modf-inputs: New inputs file.
11510 2014-03-28 Joseph Myers <joseph@codesourcery.com>
11513 * math/s_clog10.c (M_PI_LOG10E): New macro.
11514 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11515 imaginary parts are 0.
11516 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11517 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11518 imaginary parts are 0.
11519 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11520 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11521 imaginary parts are 0.
11522 * math/libm-test.inc (clog10_test_data): Update expected results
11523 for when real and imaginary parts are 0.
11525 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11527 * elf/dl-load.c: Finish conversion of __builtin_expect into
11528 __glibc_{un}likely.
11530 2014-03-27 Joseph Myers <joseph@codesourcery.com>
11533 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11534 1+x for argument with exponent below -67.
11535 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11537 * math/auto-libm-test-in: Add more tests of exp.
11538 * math/auto-libm-test-out: Regenerated.
11540 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11543 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11544 (nscd_getnetgrent): Use it.
11547 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11550 2014-03-27 Andi Kleen <ak@linux.intel.com>
11552 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11553 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11554 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11555 (lll_robust_unlock): Remove out of line section. Use cfi
11557 (LLL_STUB_UNWIND_INFO*): Remove.
11558 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11559 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11560 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11561 (lll_robust_unlock): Remove out of line section. Use cfi
11563 (LLL_STUB_UNWIND_INFO*): Remove.
11565 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11568 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11571 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11573 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11575 2014-03-26 Joseph Myers <joseph@codesourcery.com>
11578 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11580 * math/test-fenv-preserve.c: New file.
11581 * math/Makefile (tests): Add test-fenv-preserve.
11583 2014-03-26 Will Newton <will.newton@linaro.org>
11585 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11587 2014-03-25 Roland McGrath <roland@hack.frob.com>
11589 * scripts/versionlist.awk: Partition the version sets and emit all
11590 GLIBC_* (sorted) before all others (sorted).
11592 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11594 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11595 GLIBC_2.2.5 version.
11597 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11599 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11602 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11607 2014-03-25 Andreas Schwab <schwab@suse.de>
11609 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11610 label to be used after in6ailist is initialized.
11612 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11614 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11615 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11617 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11621 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11623 (fp_formats): Update initializers.
11624 (init_fp_formats): Initialize new field.
11625 (output_for_one_input_case): Allow underflow for results up to
11627 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11628 * math/auto-libm-test-in: Don't mark some underflows from asin and
11630 * math/auto-libm-test-out: Regenerated.
11631 * sysdeps/i386/fpu/libm-test-ulps: Update.
11632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11634 2014-03-25 Andreas Schwab <schwab@suse.de>
11636 * libio/Makefile (tst-ftell-partial-wide-ENV)
11637 (tst-ftell-active-handler-ENV): Define.
11639 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11641 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11643 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11645 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11647 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11649 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11650 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11651 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11653 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11656 * elf/dl-load.c (open_verify): Add mode parameter.
11657 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11658 (open_path): Change from boolean 'secure' to complete flag 'mode'
11659 (_dl_map_object): Adjust.
11660 * elf/Makefile (tests): Add tst-dlopen-aout.
11661 * elf/tst-dlopen-aout.c: New test.
11663 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11666 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11667 (struct stat): Rename member pad0 to __glibc_reserved0.
11670 * sysdeps/s390/s390-32/bits/wordsize.h
11671 (__WORDSIZE32_SIZE_ULONG): New define.
11672 * sysdeps/s390/s390-64/bits/wordsize.h
11673 (__WORDSIZE32_SIZE_ULONG): Likewise.
11674 * sysdeps/generic/stdint.h (SIZE_MAX):
11675 Define as UL if __WORDSIZE32_SIZE_ULONG.
11678 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11679 (__glibc_reserved0): New variable.
11680 (sa_flags): Change type to int.
11682 * posix/Makefile (before-compile): Use += before-compile instead
11685 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11686 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11688 2014-03-20 Andreas Schwab <schwab@suse.de>
11691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11692 non-matching result from nscd.
11694 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11696 * scripts/bench.py: Moved to ...
11697 * benchtests/scripts/bench.py: ... here.
11698 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11700 2014-03-24 Andreas Schwab <schwab@suse.de>
11703 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11704 alloca_account and account alloca use for struct in6ailist.
11706 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11709 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11710 rounding mode to recompute results that overflow to infinity or
11712 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11714 * math/auto-libm-test-out: Regenerated.
11715 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11716 (ccosh_test): Likewise.
11717 (csin_test_data): Use plus_oflow.
11718 (csin_test): Use ALL_RM_TEST.
11719 (csinh_test_data): Use plus_oflow.
11720 (csinh_test): Use ALL_RM_TEST.
11721 * sysdeps/i386/fpu/libm-test-ulps: Update.
11722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11724 2014-03-21 Joseph Myers <joseph@codesourcery.com>
11726 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11727 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11728 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11731 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11732 when x - 1 is zero.
11733 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11734 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11735 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11736 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11738 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11739 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11741 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11742 * sysdeps/i386/fpu/libm-test-ulps: Update.
11743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11745 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11747 * scripts/bench.pl: Remove file.
11748 * scripts/bench.py: New benchmark script.
11749 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11750 * benchtests/README: Mention python dependency.
11751 * scripts/pylintrc: New file.
11752 * scripts/pylint: New file.
11754 * bits/mathdef.h: Use #ifdef instead of #if.
11755 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11756 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11757 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11758 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11759 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11760 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11762 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11763 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11765 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11767 and strpbrk-ppc64 objects.
11768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11769 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11770 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11771 multiarch strpbrk for POWER7.
11772 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11773 multiarch strpbrk for PPC64.
11774 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11776 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11777 strpbrk for POWER7.
11779 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11781 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11782 (atan_test): Likewise.
11783 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11784 (atanh_test): Use ALL_RM_TEST.
11785 (atan2_test_data): Likewise.
11786 (cabs_test): Likewise.
11787 (cacosh_test): Likewise.
11788 (carg_test): Likewise.
11789 (casin_test): Likewise.
11790 (casinh_test): Likewise.
11791 (cbrt_test): Likewise.
11792 (csqrt_test): Likewise.
11793 (erf_test): Likewise.
11794 (erfc_test): Likewise.
11795 (pow10_test): Likewise.
11796 (exp2_test): Likewise.
11797 (hypot_test): Likewise.
11798 (j0_test): Likewise.
11799 (j1_test): Likewise.
11800 (lgamma_test): Likewise.
11801 (gamma_test): Likewise.
11802 (sincos_test): Likewise.
11803 (tanh_test): Likewise.
11804 (y0_test): Likewise.
11805 (y1_test): Likewise.
11806 * sysdeps/i386/fpu/libm-test-ulps: Update.
11807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11809 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11811 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11813 and strcspn-ppc64 objects.
11814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11815 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11816 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11817 multiarch strcspn for POWER7.
11818 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11819 multiarch strcspn for PPC64.
11820 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11822 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11823 strcspn for POWER7.
11825 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11827 * math/gen-libm-test.pl (generate_testfile): Expect only function
11828 name as argument to AUTO_TESTS_* and pass results for all rounding
11829 modes to parse_args.
11830 (parse_auto_input): Separate inputs of automatic tests from
11831 outputs before storing in %auto_tests.
11832 * math/libm-test.inc (acos_test_data): Update call to
11834 (acos_test): Use ALL_RM_TEST.
11835 (acos_tonearest_test_data): Remove.
11836 (acos_test_tonearest): Likewise.
11837 (acos_towardzero_test_data): Likewise.
11838 (acos_test_towardzero): Likewise.
11839 (acos_downward_test_data): Likewise.
11840 (acos_test_downward): Likewise.
11841 (acos_upward_test_data): Likewise.
11842 (acos_test_upward): Likewise.
11843 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11844 (asin_test_data): Likewise.
11845 (asin_test): Use ALL_RM_TEST.
11846 (asin_tonearest_test_data): Remove.
11847 (asin_test_tonearest): Likewise.
11848 (asin_towardzero_test_data): Likewise.
11849 (asin_test_towardzero): Likewise.
11850 (asin_downward_test_data): Likewise.
11851 (asin_test_downward): Likewise.
11852 (asin_upward_test_data): Likewise.
11853 (asin_test_upward): Likewise.
11854 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11855 (atan_test_data): Likewise.
11856 (atanh_test_data): Likewise.
11857 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11858 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11859 (carg_test_data): Likewise.
11860 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11861 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11862 (ccosh_test_data): Likewise.
11863 (cexp_test_data): Likewise.
11864 (clog_test_data): Likewise.
11865 (clog10_test_data): Likewise.
11866 (cos_test_data): Update call to AUTO_TESTS_f_f.
11867 (cos_test): Use ALL_RM_TEST.
11868 (cos_tonearest_test_data): Remove.
11869 (cos_test_tonearest): Likewise.
11870 (cos_towardzero_test_data): Likewise.
11871 (cos_test_towardzero): Likewise.
11872 (cos_downward_test_data): Likewise.
11873 (cos_test_downward): Likewise.
11874 (cos_upward_test_data): Likewise.
11875 (cos_test_upward): Likewise.
11876 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11877 (cosh_test): Use ALL_RM_TEST.
11878 (cosh_tonearest_test_data): Remove.
11879 (cosh_test_tonearest): Likewise.
11880 (cosh_towardzero_test_data): Likewise.
11881 (cosh_test_towardzero): Likewise.
11882 (cosh_downward_test_data): Likewise.
11883 (cosh_test_downward): Likewise.
11884 (cosh_upward_test_data): Likewise.
11885 (cosh_test_upward): Likewise.
11886 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11887 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11888 (ctan_test_data): Likewise.
11889 (ctan_test): Use ALL_RM_TEST.
11890 (ctan_tonearest_test_data): Remove.
11891 (ctan_test_tonearest): Likewise.
11892 (ctan_towardzero_test_data): Likewise.
11893 (ctan_test_towardzero): Likewise.
11894 (ctan_downward_test_data): Likewise.
11895 (ctan_test_downward): Likewise.
11896 (ctan_upward_test_data): Likewise.
11897 (ctan_test_upward): Likewise.
11898 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11899 (ctanh_test): Use ALL_RM_TEST.
11900 (ctanh_tonearest_test_data): Remove.
11901 (ctanh_test_tonearest): Likewise.
11902 (ctanh_towardzero_test_data): Likewise.
11903 (ctanh_test_towardzero): Likewise.
11904 (ctanh_downward_test_data): Likewise.
11905 (ctanh_test_downward): Likewise.
11906 (ctanh_upward_test_data): Likewise.
11907 (ctanh_test_upward): Likewise.
11908 (erf_test_data): Update call to AUTO_TESTS_f_f.
11909 (erfc_test_data): Likewise.
11910 (exp_test_data): Likewise.
11911 (exp_test): Use ALL_RM_TEST.
11912 (exp_tonearest_test_data): Remove.
11913 (exp_test_tonearest): Likewise.
11914 (exp_towardzero_test_data): Likewise.
11915 (exp_test_towardzero): Likewise.
11916 (exp_downward_test_data): Likewise.
11917 (exp_test_downward): Likewise.
11918 (exp_upward_test_data): Likewise.
11919 (exp_test_upward): Likewise.
11920 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11921 (exp10_test): Use ALL_RM_TEST.
11922 (exp10_tonearest_test_data): Remove.
11923 (exp10_test_tonearest): Likewise.
11924 (exp10_towardzero_test_data): Likewise.
11925 (exp10_test_towardzero): Likewise.
11926 (exp10_downward_test_data): Likewise.
11927 (exp10_test_downward): Likewise.
11928 (exp10_upward_test_data): Likewise.
11929 (exp10_test_upward): Likewise.
11930 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11931 (expm1_test_data): Likewise.
11932 (expm1_test): Use ALL_RM_TEST.
11933 (expm1_tonearest_test_data): Remove.
11934 (expm1_test_tonearest): Likewise.
11935 (expm1_towardzero_test_data): Likewise.
11936 (expm1_test_towardzero): Likewise.
11937 (expm1_downward_test_data): Likewise.
11938 (expm1_test_downward): Likewise.
11939 (expm1_upward_test_data): Likewise.
11940 (expm1_test_upward): Likewise.
11941 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11942 (fma_test): Use ALL_RM_TEST.
11943 (fma_towardzero_test_data): Remove.
11944 (fma_test_towardzero): Likewise.
11945 (fma_downward_test_data): Likewise.
11946 (fma_test_downward): Likewise.
11947 (fma_upward_test_data): Likewise.
11948 (fma_test_upward): Likewise.
11949 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11950 (j0_test_data): Update call to AUTO_TESTS_f_f.
11951 (j1_test_data): Likewise.
11952 (jn_test_data): Update call to AUTO_TESTS_if_f.
11953 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11954 (log_test_data): Update call to AUTO_TESTS_f_f.
11955 (log10_test_data): Likewise.
11956 (log1p_test_data): Likewise.
11957 (log2_test_data): Likewise.
11958 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11959 (pow_tonearest_test_data): Likewise.
11960 (sin_test_data): Update call to AUTO_TESTS_f_f.
11961 (sin_test): Use ALL_RM_TEST.
11962 (sin_tonearest_test_data): Remove.
11963 (sin_test_tonearest): Likewise.
11964 (sin_towardzero_test_data): Likewise.
11965 (sin_test_towardzero): Likewise.
11966 (sin_downward_test_data): Likewise.
11967 (sin_test_downward): Likewise.
11968 (sin_upward_test_data): Likewise.
11969 (sin_test_upward): Likewise.
11970 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11971 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11972 (sinh_test): Use ALL_RM_TEST.
11973 (sinh_tonearest_test_data): Remove.
11974 (sinh_test_tonearest): Likewise.
11975 (sinh_towardzero_test_data): Likewise.
11976 (sinh_test_towardzero): Likewise.
11977 (sinh_downward_test_data): Likewise.
11978 (sinh_test_downward): Likewise.
11979 (sinh_upward_test_data): Likewise.
11980 (sinh_test_upward): Likewise.
11981 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11982 (sqrt_test): Use ALL_RM_TEST.
11983 (sqrt_tonearest_test_data): Remove.
11984 (sqrt_test_tonearest): Likewise.
11985 (sqrt_towardzero_test_data): Likewise.
11986 (sqrt_test_towardzero): Likewise.
11987 (sqrt_downward_test_data): Likewise.
11988 (sqrt_test_downward): Likewise.
11989 (sqrt_upward_test_data): Likewise.
11990 (sqrt_test_upward): Likewise.
11991 (tan_test_data): Update call to AUTO_TESTS_f_f.
11992 (tan_test): Use ALL_RM_TEST.
11993 (tan_tonearest_test_data): Remove.
11994 (tan_test_tonearest): Likewise.
11995 (tan_towardzero_test_data): Likewise.
11996 (tan_test_towardzero): Likewise.
11997 (tan_downward_test_data): Likewise.
11998 (tan_test_downward): Likewise.
11999 (tan_upward_test_data): Likewise.
12000 (tan_test_upward): Likewise.
12001 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12002 (tgamma_test_data): Likewise.
12003 (y0_test_data): Likewise.
12004 (y1_test_data): Likewise.
12005 (yn_test_data): Update call to AUTO_TESTS_if_f.
12006 (main): Do not call removed functions.
12008 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12010 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12011 (ldexp_test_data): Remove.
12012 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12014 (scalb_test): Use ALL_RM_TEST.
12016 2014-03-19 Andreas Schwab <schwab@suse.de>
12018 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12020 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12023 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12024 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12025 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12026 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12027 (__ASSUME_PREADV): Undefine.
12028 (__ASSUME_PWRITEV): Likewise.
12030 2014-03-18 Roland McGrath <roland@hack.frob.com>
12032 * bits/mman-linux.h: Add comment about non-Linux use.
12033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12034 bits/mman-linux.h resting place.
12036 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12037 * bits/mman-linux.h: ... here.
12039 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12041 * conform/conformtest.pl: Add standard definition when calling C
12042 preprocessor on data files.
12043 (checknamespace): Remove unused variable.
12045 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12047 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12048 minus_oflow, plus_uflow and minus_uflow in expected results.
12049 * math/libm-test.inc (scalbn_test_data): Add more tests of
12050 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12052 (scalbn_test): Use ALL_RM_TEST.
12053 (scalbln_test_data): Add more tests of negative arguments. Use
12054 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12055 (scalbln_test): Use ALL_RM_TEST.
12057 2014-03-18 Roland McGrath <roland@hack.frob.com>
12059 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12061 2014-03-18 Will Newton <will.newton@linaro.org>
12063 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12064 inaccurate comment.
12066 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12068 * Makerules [!subdir] (check-abi): Exit with error status if a
12071 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12073 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12074 for rint. Include results for all rounding modes.
12075 (nearbyint_test): Use ALL_RM_TEST.
12076 (rint_test_data): Include all tests used for nearbyint.
12078 2014-03-17 Will Newton <will.newton@linaro.org>
12080 * nptl/sysdeps/pthread/pthread.h: Revert previous
12083 * sysdeps/generic/ldsodefs.h: Revert previous
12086 * libio/genops.c: Revert previous change.
12087 * libio/libioP.h: Likewise.
12088 * stdio-common/vfprintf.c: Likewise.
12090 * sysdeps/generic/math_private.h: Revert previous
12093 * sysdeps/generic/math_private.h: Check whether
12094 HAVE_RM_CTX is defined with #ifdef rather
12097 * argp/argp-fmtstream.h: Check whether
12098 __STRICT_ANSI__ is defined with #ifdef rather
12100 * argp/argp.h: Likewise.
12102 * libio/genops.c: Check whether
12103 _IO_JUMPS_OFFSET is defined with #ifdef rather
12105 * libio/libioP.h: Likewise.
12106 * stdio-common/vfprintf.c: Likewise.
12108 * sysdeps/generic/ldsodefs.h: Check whether
12109 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12112 * nptl/sysdeps/pthread/pthread.h: Check
12113 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12116 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12118 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12120 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12124 * libio/fileops.c (_IO_file_open): Seek to end of file but
12125 don't cache the offset.
12126 (get_file_offset): Remove function.
12127 (do_ftell): Use cached offset when available.
12128 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12129 don't cache the offset.
12130 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12132 (do_one_test): Call it.
12133 (do_ftell_test): Fix up expected old offset for a+ mode.
12134 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12137 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12138 up test status with function return status.
12139 (do_write_test): Likewise.
12140 (do_append_test): Likewise.
12142 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12143 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12146 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12148 * math/gen-libm-test.pl (parse_args): Handle results specified for
12149 each rounding mode separately.
12150 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12151 tests and results from lrint_tonearest_test_data,
12152 lrint_towardzero_test_data, lrint_downward_test_data and
12153 lrint_upward_test_data.
12154 (lrint_test): Use ALL_RM_TEST.
12155 (lrint_tonearest_test_data): Remove.
12156 (lrint_test_tonearest): Likewise.
12157 (lrint_towardzero_test_data): Likewise.
12158 (lrint_test_towardzero): Likewise.
12159 (lrint_downward_test_data): Likewise.
12160 (lrint_test_downward): Likewise.
12161 (lrint_upward_test_data): Likewise.
12162 (lrint_test_upward): Likewise.
12163 (llrint_test_data): Merge in per-rounding-mode tests and results
12164 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12165 llrint_downward_test_data and llrint_upward_test_data.
12166 (llrint_test): Use ALL_RM_TEST.
12167 (llrint_tonearest_test_data): Remove.
12168 (llrint_test_tonearest): Likewise.
12169 (llrint_towardzero_test_data): Likewise.
12170 (llrint_test_towardzero): Likewise.
12171 (llrint_downward_test_data): Likewise.
12172 (llrint_test_downward): Likewise.
12173 (llrint_upward_test_data): Likewise.
12174 (llrint_test_upward): Likewise.
12175 (rint_test_data): Merge in per-rounding-mode tests and results
12176 from rint_tonearest_test_data, rint_towardzero_test_data,
12177 rint_downward_test_data and rint_upward_test_data. Add
12178 per-rounding-mode results for tests not in those arrays.
12179 (rint_test): Use ALL_RM_TEST.
12180 (rint_tonearest_test_data): Remove.
12181 (rint_test_tonearest): Likewise.
12182 (rint_towardzero_test_data): Likewise.
12183 (rint_test_towardzero): Likewise.
12184 (rint_downward_test_data): Likewise.
12185 (rint_test_downward): Likewise.
12186 (rint_upward_test_data): Likewise.
12187 (rint_test_upward): Likewise.
12188 (main): Don't call removed functions.
12190 2014-03-14 Roland McGrath <roland@hack.frob.com>
12192 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12193 "Compiled on ..." crapola. It is anti-useful.
12195 2014-03-14 Joseph Myers <joseph@codesourcery.com>
12197 * scripts/evaluate-test.sh: Handle fourth argument to determine
12198 whether test run should stop on failure.
12199 * Makeconfig (stop-on-test-failure): New variable.
12200 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12201 $(stop-on-test-failure).
12202 * Makefile (tests): Give a summary of results from testing and
12203 exit with failure status if they include an ERROR or FAIL.
12204 (xtests): Likewise.
12205 * manual/install.texi (Configuring and compiling): Mention
12206 stop-on-test-failure=y.
12207 * INSTALL: Regenerated.
12209 2014-03-14 Roland McGrath <roland@hack.frob.com>
12211 * scripts/versionlist.awk: New file.
12212 * Makerules [$(build-shared) = yes]
12213 (postclean-generated): Add Versions.def, not Versions.def.v and
12215 ($(common-objpfx)Versions.def.v.i): Target removed.
12216 ($(common-objpfx)Versions.def): New target.
12217 ($(common-objpfx)Versions.all): Depend on that rather that
12218 $(common-objpfx)Versions.def.v.
12219 * Versions.def: File removed.
12221 * Makeconfig (+gccwarn): Add -Wundef.
12222 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12223 a dl-sysdep.h breaking its contract.
12224 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12225 * include/stackinfo.h: New file.
12226 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12227 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12228 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12229 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12230 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12231 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12232 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12233 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12234 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12235 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12236 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12237 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12238 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12239 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12240 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12242 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12245 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12247 * math/libm-test.inc (round_test_data): Add more tests.
12250 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12252 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12255 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12257 * math/libm-test.inc (ceil_test_data): Add more tests.
12259 * math/libm-test.inc (trunc_test_data): Add more tests related to
12262 2014-03-14 Roland McGrath <roland@hack.frob.com>
12264 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12265 with #if rather than #ifdef.
12266 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12268 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12270 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12271 first. Disable AVX-512 GCC support if assembler doesn't support
12273 * sysdeps/x86_64/configure: Regenerated.
12275 2014-03-13 Carlos O'Donell <carlos@redhat.com>
12277 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12278 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12279 (__old_pthread_attr_setstack): Likewise.
12280 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12281 [!_STACK_GROWS_DOWN]: Likewise.
12283 2014-03-13 Mike Frysinger <vapier@gentoo.org>
12285 * config.make.in (have-bash2): Delete.
12286 * configure.ac (libc_cv_have_bash2): Delete.
12287 * configure: Regenerate.
12288 * elf/Makefile (common-ldd-rewrite): Rename to ...
12289 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12290 (sh-ldd-rewrite): Delete.
12291 (bash-ldd-rewrite): Delete.
12292 (have-bash2): Delete checks.
12293 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12296 * config.make.in (have-ksh): Delete.
12298 * configure.ac (libc_cv_have_ksh): Delete.
12299 * configure: Regenerate.
12301 * elf/Makefile: Delete $(have-ksh) check.
12302 ($(objpfx)sotruss): Change KSH to BASH.
12303 * elf/sotruss.ksh: Rename to ...
12304 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12305 function style to match POSIX. Drop ksh vim mode setting.
12307 * manual/time.texi (Specifying the Time Zone with TZ): Change
12308 Tuesday to Thursday.
12310 * debug/tst-longjmp_chk2.c: Update header comment.
12311 (stackoverflow_handler): Add comment. Call assert on pass value.
12313 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12316 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12317 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12318 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12319 (La_x86_64_vector): Add zmm.
12320 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12321 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12322 ($(objpfx)tst-audit10): New target.
12323 ($(objpfx)tst-audit10.out): Likewise.
12324 (tst-audit10-ENV): New.
12325 (AVX512-CFLAGS): Likewise.
12326 (CFLAGS-tst-audit10.c): Likewise.
12327 (CFLAGS-tst-auditmod10a.c): Likewise.
12328 (CFLAGS-tst-auditmod10b.c): Likewise.
12329 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12330 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12331 * sysdeps/x86_64/configure: Regenerated.
12332 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12333 AVX-512 zmm register support.
12334 (_dl_x86_64_save_sse): Likewise.
12335 (_dl_x86_64_restore_sse): Likewise.
12336 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12337 size vector registers.
12338 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12339 (ZMM_SIZE): Likewise.
12340 * sysdeps/x86_64/tst-audit10.c: New file.
12341 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12342 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12344 2014-03-13 Roland McGrath <roland@hack.frob.com>
12346 * configure.ac (HAVE_EHDR_START): New check.
12347 * configure: Regenerated.
12348 * config.h.in (HAVE_EHDR_START): New #undef.
12349 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12350 assuming the lowest-addressed segment maps the start of the file.
12352 2014-03-13 Joseph Myers <joseph@codesourcery.com>
12354 * INSTALL: Regenerated.
12356 2014-03-13 Will Newton <will.newton@linaro.org>
12358 * manual/setjmp.texi (System V contexts): Improve
12359 clarity and grammar of documentation.
12361 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12364 * elf/Makefile (tests): Add tst-pie2.
12365 (tests-pie): Add tst-pie2.
12366 * elf/tst-pie2.c: New file.
12367 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12369 * elf/rtld.c (map_doit): Load executable as lt_executable.
12370 (dl_main): Likewise.
12372 2014-03-12 Joseph Myers <joseph@codesourcery.com>
12375 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12376 (__ASSUME_PSELECT): Undefine.
12378 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12381 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12382 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12384 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12385 selector for static builds.
12387 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12390 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12393 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12395 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12396 IFUNC selector for static builds.
12398 2014-03-11 Joseph Myers <joseph@codesourcery.com>
12400 * sysdeps/mips/math_private.h [__mips_hard_float]
12401 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12402 libc_feresetround_mips_ctx.
12403 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12404 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12405 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12408 * math/s_nextafter.c (__nextafter): Do not return value from
12409 overflowing computation.
12410 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12411 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12412 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12414 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12416 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12417 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12419 2014-03-11 Roland McGrath <roland@hack.frob.com>
12421 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12422 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12423 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12424 the new mov targetting sp.
12426 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12429 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12430 Define it for static builds as well.
12431 (NO_BZERO_IMPL): Likewise.
12433 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12435 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12436 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12437 multiarch strspn for PPC64.
12438 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12439 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12441 (__libc_ifunc_impl_list): Likewise.
12442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12443 multiarch optimizations
12444 * string/strspn.c (strspn): Using macro to redefine symbol name.
12446 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12447 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12449 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12450 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12451 multiarch strncat for PPC64.
12452 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12453 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12455 (__libc_ifunc_impl_list): Likewise.
12456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12457 multiarch optimizations
12459 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12462 * nscd/nscd.service: Make service type forking.
12464 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12466 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12467 sign in non default rounding modes.
12468 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12470 2014-03-08 Joseph Myers <joseph@codesourcery.com>
12472 * math/libm-test.inc (ALL_RM_TEST): New macro.
12473 (ceil_test): Use ALL_RM_TEST.
12474 (cimag_test): Likewise.
12475 (conj_test): Likewise.
12476 (copysign_test): Likewise.
12477 (cproj_test): Likewise.
12478 (creal_test): Likewise.
12479 (fabs_test): Likewise.
12480 (floor_test): Likewise.
12481 (fmax_test): Likewise.
12482 (fmin_test): Likewise.
12483 (fmod_test): Likewise.
12484 (fpclassify_test): Likewise.
12485 (frexp_test): Likewise.
12486 (ilogb_test): Likewise.
12487 (isfinite_test): Likewise.
12488 (finite_test): Likewise.
12489 (isgreater_test): Likewise.
12490 (isgreaterequal_test): Likewise.
12491 (isinf_test): Likewise.
12492 (isless_test): Likewise.
12493 (islessequal_test): Likewise.
12494 (islessgreater_test): Likewise.
12495 (isnan_test): Likewise.
12496 (isnormal_test): Likewise.
12497 (issignaling_test): Likewise.
12498 (isunordered_test): Likewise.
12499 (logb_test): Likewise.
12500 (logb_downward_test_data): Remove.
12501 (logb_test_downward): Likewise.
12502 (lround_test): Use ALL_RM_TEST.
12503 (llround_test): Likewise.
12504 (modf_test): Likewise.
12505 (nexttoward_test): Likewise.
12506 (remainder_test): Likewise.
12507 (drem_test): Likewise.
12508 (remainder_tonearest_test_data): Likewise.
12509 (remainder_test_tonearest): Likewise.
12510 (drem_test_tonearest): Likewise.
12511 (remainder_towardzero_test_data): Likewise.
12512 (remainder_test_towardzero): Likewise.
12513 (drem_test_towardzero): Likewise.
12514 (remainder_downward_test_data): Likewise.
12515 (remainder_test_downward): Likewise.
12516 (drem_test_downward): Likewise.
12517 (remainder_upward_test_data): Likewise.
12518 (remainder_test_upward): Likewise.
12519 (drem_test_upward): Likewise.
12520 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12521 (round_test): Use ALL_RM_TEST.
12522 (signbit_test): Likewise.
12523 (trunc_test): Likewise.
12524 (significand_test): Likewise.
12525 (main): Don't call removed functions.
12527 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12530 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12531 || __USE_XOPEN2K8].
12532 (ILL_ILLOPN): Likewise.
12533 (ILL_ILLADR): Likewise.
12534 (ILL_ILLTRP): Likewise.
12535 (ILL_PRVOPC): Likewise.
12536 (ILL_PRVREG): Likewise.
12537 (ILL_COPROC): Likewise.
12538 (ILL_BADSTK): Likewise.
12539 (FPE_INTDIV): Likewise.
12540 (FPE_INTOVF): Likewise.
12541 (FPE_FLTDIV): Likewise.
12542 (FPE_FLTOVF): Likewise.
12543 (FPE_FLTUND): Likewise.
12544 (FPE_FLTRES): Likewise.
12545 (FPE_FLTINV): Likewise.
12546 (FPE_FLTSUB): Likewise.
12547 (SEGV_MAPERR): Likewise.
12548 (SEGV_ACCERR): Likewise.
12549 (BUS_ADRALN): Likewise.
12550 (BUS_ADRERR): Likewise.
12551 (BUS_OBJERR): Likewise.
12552 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12553 (TRAP_TRACE): Likewise.
12554 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12556 (CLD_KILLED): Likewise.
12557 (CLD_DUMPED): Likewise.
12558 (CLD_TRAPPED): Likewise.
12559 (CLD_STOPPED): Likewise.
12560 (CLD_CONTINUED): Likewise.
12561 (POLL_IN): Likewise.
12562 (POLL_OUT): Likewise.
12563 (POLL_MSG): Likewise.
12564 (POLL_ERR): Likewise.
12565 (POLL_PRI): Likewise.
12566 (POLL_HUP): Likewise.
12567 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12569 (ILL_ILLOPN): Likewise.
12570 (ILL_ILLADR): Likewise.
12571 (ILL_ILLTRP): Likewise.
12572 (ILL_PRVOPC): Likewise.
12573 (ILL_PRVREG): Likewise.
12574 (ILL_COPROC): Likewise.
12575 (ILL_BADSTK): Likewise.
12576 (FPE_INTDIV): Likewise.
12577 (FPE_INTOVF): Likewise.
12578 (FPE_FLTDIV): Likewise.
12579 (FPE_FLTOVF): Likewise.
12580 (FPE_FLTUND): Likewise.
12581 (FPE_FLTRES): Likewise.
12582 (FPE_FLTINV): Likewise.
12583 (FPE_FLTSUB): Likewise.
12584 (SEGV_MAPERR): Likewise.
12585 (SEGV_ACCERR): Likewise.
12586 (BUS_ADRALN): Likewise.
12587 (BUS_ADRERR): Likewise.
12588 (BUS_OBJERR): Likewise.
12589 (BUS_MCEERR_AR): Likewise.
12590 (BUS_MCEERR_AO): Likewise.
12591 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12592 (TRAP_TRACE): Likewise.
12593 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12595 (CLD_KILLED): Likewise.
12596 (CLD_DUMPED): Likewise.
12597 (CLD_TRAPPED): Likewise.
12598 (CLD_STOPPED): Likewise.
12599 (CLD_CONTINUED): Likewise.
12600 (POLL_IN): Likewise.
12601 (POLL_OUT): Likewise.
12602 (POLL_MSG): Likewise.
12603 (POLL_ERR): Likewise.
12604 (POLL_PRI): Likewise.
12605 (POLL_HUP): Likewise.
12606 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12607 (ILL_ILLOPN): Likewise.
12608 (ILL_ILLADR): Likewise.
12609 (ILL_ILLTRP): Likewise.
12610 (ILL_PRVOPC): Likewise.
12611 (ILL_PRVREG): Likewise.
12612 (ILL_COPROC): Likewise.
12613 (ILL_BADSTK): Likewise.
12614 (FPE_INTDIV): Likewise.
12615 (FPE_INTOVF): Likewise.
12616 (FPE_FLTDIV): Likewise.
12617 (FPE_FLTOVF): Likewise.
12618 (FPE_FLTUND): Likewise.
12619 (FPE_FLTRES): Likewise.
12620 (FPE_FLTINV): Likewise.
12621 (FPE_FLTSUB): Likewise.
12622 (SEGV_MAPERR): Likewise.
12623 (SEGV_ACCERR): Likewise.
12624 (BUS_ADRALN): Likewise.
12625 (BUS_ADRERR): Likewise.
12626 (BUS_OBJERR): Likewise.
12627 (BUS_MCEERR_AR): Likewise.
12628 (BUS_MCEERR_AO): Likewise.
12629 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12630 (TRAP_TRACE): Likewise.
12631 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12633 (CLD_KILLED): Likewise.
12634 (CLD_DUMPED): Likewise.
12635 (CLD_TRAPPED): Likewise.
12636 (CLD_STOPPED): Likewise.
12637 (CLD_CONTINUED): Likewise.
12638 (POLL_IN): Likewise.
12639 (POLL_OUT): Likewise.
12640 (POLL_MSG): Likewise.
12641 (POLL_ERR): Likewise.
12642 (POLL_PRI): Likewise.
12643 (POLL_HUP): Likewise.
12644 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12646 (ILL_ILLOPN): Likewise.
12647 (ILL_ILLADR): Likewise.
12648 (ILL_ILLTRP): Likewise.
12649 (ILL_PRVOPC): Likewise.
12650 (ILL_PRVREG): Likewise.
12651 (ILL_COPROC): Likewise.
12652 (ILL_BADSTK): Likewise.
12653 (ILL_BADIADDR): Likewise.
12654 (ILL_BREAK): Likewise.
12655 (FPE_INTDIV): Likewise.
12656 (FPE_INTOVF): Likewise.
12657 (FPE_FLTDIV): Likewise.
12658 (FPE_FLTOVF): Likewise.
12659 (FPE_FLTUND): Likewise.
12660 (FPE_FLTRES): Likewise.
12661 (FPE_FLTINV): Likewise.
12662 (FPE_FLTSUB): Likewise.
12663 (FPE_DECOVF): Likewise.
12664 (FPE_DECDIV): Likewise.
12665 (FPE_DECERR): Likewise.
12666 (FPE_INVASC): Likewise.
12667 (FPE_INVDEC): Likewise.
12668 (SEGV_MAPERR): Likewise.
12669 (SEGV_ACCERR): Likewise.
12670 (SEGV_PSTKOVF): Likewise.
12671 (BUS_ADRALN): Likewise.
12672 (BUS_ADRERR): Likewise.
12673 (BUS_OBJERR): Likewise.
12674 (BUS_MCEERR_AR): Likewise.
12675 (BUS_MCEERR_AO): Likewise.
12676 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12677 (TRAP_TRACE): Likewise.
12678 (TRAP_BRANCH): Likewise.
12679 (TRAP_HWBKPT): Likewise.
12680 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12682 (CLD_KILLED): Likewise.
12683 (CLD_DUMPED): Likewise.
12684 (CLD_TRAPPED): Likewise.
12685 (CLD_STOPPED): Likewise.
12686 (CLD_CONTINUED): Likewise.
12687 (POLL_IN): Likewise.
12688 (POLL_OUT): Likewise.
12689 (POLL_MSG): Likewise.
12690 (POLL_ERR): Likewise.
12691 (POLL_PRI): Likewise.
12692 (POLL_HUP): Likewise.
12693 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12694 (ILL_ILLOPN): Likewise.
12695 (ILL_ILLADR): Likewise.
12696 (ILL_ILLTRP): Likewise.
12697 (ILL_PRVOPC): Likewise.
12698 (ILL_PRVREG): Likewise.
12699 (ILL_COPROC): Likewise.
12700 (ILL_BADSTK): Likewise.
12701 (FPE_INTDIV): Likewise.
12702 (FPE_INTOVF): Likewise.
12703 (FPE_FLTDIV): Likewise.
12704 (FPE_FLTOVF): Likewise.
12705 (FPE_FLTUND): Likewise.
12706 (FPE_FLTRES): Likewise.
12707 (FPE_FLTINV): Likewise.
12708 (FPE_FLTSUB): Likewise.
12709 (SEGV_MAPERR): Likewise.
12710 (SEGV_ACCERR): Likewise.
12711 (BUS_ADRALN): Likewise.
12712 (BUS_ADRERR): Likewise.
12713 (BUS_OBJERR): Likewise.
12714 (BUS_MCEERR_AR): Likewise.
12715 (BUS_MCEERR_AO): Likewise.
12716 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12717 (TRAP_TRACE): Likewise.
12718 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12720 (CLD_KILLED): Likewise.
12721 (CLD_DUMPED): Likewise.
12722 (CLD_TRAPPED): Likewise.
12723 (CLD_STOPPED): Likewise.
12724 (CLD_CONTINUED): Likewise.
12725 (POLL_IN): Likewise.
12726 (POLL_OUT): Likewise.
12727 (POLL_MSG): Likewise.
12728 (POLL_ERR): Likewise.
12729 (POLL_PRI): Likewise.
12730 (POLL_HUP): Likewise.
12731 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12732 (ILL_ILLOPN): Likewise.
12733 (ILL_ILLADR): Likewise.
12734 (ILL_ILLTRP): Likewise.
12735 (ILL_PRVOPC): Likewise.
12736 (ILL_PRVREG): Likewise.
12737 (ILL_COPROC): Likewise.
12738 (ILL_BADSTK): Likewise.
12739 (FPE_INTDIV): Likewise.
12740 (FPE_INTOVF): Likewise.
12741 (FPE_FLTDIV): Likewise.
12742 (FPE_FLTOVF): Likewise.
12743 (FPE_FLTUND): Likewise.
12744 (FPE_FLTRES): Likewise.
12745 (FPE_FLTINV): Likewise.
12746 (FPE_FLTSUB): Likewise.
12747 (SEGV_MAPERR): Likewise.
12748 (SEGV_ACCERR): Likewise.
12749 (BUS_ADRALN): Likewise.
12750 (BUS_ADRERR): Likewise.
12751 (BUS_OBJERR): Likewise.
12752 (BUS_MCEERR_AR): Likewise.
12753 (BUS_MCEERR_AO): Likewise.
12754 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12755 (TRAP_TRACE): Likewise.
12756 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12758 (CLD_KILLED): Likewise.
12759 (CLD_DUMPED): Likewise.
12760 (CLD_TRAPPED): Likewise.
12761 (CLD_STOPPED): Likewise.
12762 (CLD_CONTINUED): Likewise.
12763 (POLL_IN): Likewise.
12764 (POLL_OUT): Likewise.
12765 (POLL_MSG): Likewise.
12766 (POLL_ERR): Likewise.
12767 (POLL_PRI): Likewise.
12768 (POLL_HUP): Likewise.
12769 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12770 (ILL_ILLOPN): Likewise.
12771 (ILL_ILLADR): Likewise.
12772 (ILL_ILLTRP): Likewise.
12773 (ILL_PRVOPC): Likewise.
12774 (ILL_PRVREG): Likewise.
12775 (ILL_COPROC): Likewise.
12776 (ILL_BADSTK): Likewise.
12777 (FPE_INTDIV): Likewise.
12778 (FPE_INTOVF): Likewise.
12779 (FPE_FLTDIV): Likewise.
12780 (FPE_FLTOVF): Likewise.
12781 (FPE_FLTUND): Likewise.
12782 (FPE_FLTRES): Likewise.
12783 (FPE_FLTINV): Likewise.
12784 (FPE_FLTSUB): Likewise.
12785 (SEGV_MAPERR): Likewise.
12786 (SEGV_ACCERR): Likewise.
12787 (BUS_ADRALN): Likewise.
12788 (BUS_ADRERR): Likewise.
12789 (BUS_OBJERR): Likewise.
12790 (BUS_MCEERR_AR): Likewise.
12791 (BUS_MCEERR_AO): Likewise.
12792 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12793 (TRAP_TRACE): Likewise.
12794 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12796 (CLD_KILLED): Likewise.
12797 (CLD_DUMPED): Likewise.
12798 (CLD_TRAPPED): Likewise.
12799 (CLD_STOPPED): Likewise.
12800 (CLD_CONTINUED): Likewise.
12801 (POLL_IN): Likewise.
12802 (POLL_OUT): Likewise.
12803 (POLL_MSG): Likewise.
12804 (POLL_ERR): Likewise.
12805 (POLL_PRI): Likewise.
12806 (POLL_HUP): Likewise.
12807 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12808 (ILL_ILLOPN): Likewise.
12809 (ILL_ILLADR): Likewise.
12810 (ILL_ILLTRP): Likewise.
12811 (ILL_PRVOPC): Likewise.
12812 (ILL_PRVREG): Likewise.
12813 (ILL_COPROC): Likewise.
12814 (ILL_BADSTK): Likewise.
12815 (ILL_DBLFLT): Likewise.
12816 (ILL_HARDWALL): Likewise.
12817 (FPE_INTDIV): Likewise.
12818 (FPE_INTOVF): Likewise.
12819 (FPE_FLTDIV): Likewise.
12820 (FPE_FLTOVF): Likewise.
12821 (FPE_FLTUND): Likewise.
12822 (FPE_FLTRES): Likewise.
12823 (FPE_FLTINV): Likewise.
12824 (FPE_FLTSUB): Likewise.
12825 (SEGV_MAPERR): Likewise.
12826 (SEGV_ACCERR): Likewise.
12827 (BUS_ADRALN): Likewise.
12828 (BUS_ADRERR): Likewise.
12829 (BUS_OBJERR): Likewise.
12830 (BUS_MCEERR_AR): Likewise.
12831 (BUS_MCEERR_AO): Likewise.
12832 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12833 (TRAP_TRACE): Likewise.
12834 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12836 (CLD_KILLED): Likewise.
12837 (CLD_DUMPED): Likewise.
12838 (CLD_TRAPPED): Likewise.
12839 (CLD_STOPPED): Likewise.
12840 (CLD_CONTINUED): Likewise.
12841 (POLL_IN): Likewise.
12842 (POLL_OUT): Likewise.
12843 (POLL_MSG): Likewise.
12844 (POLL_ERR): Likewise.
12845 (POLL_PRI): Likewise.
12846 (POLL_HUP): Likewise.
12847 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12848 (ILL_ILLOPN): Likewise.
12849 (ILL_ILLADR): Likewise.
12850 (ILL_ILLTRP): Likewise.
12851 (ILL_PRVOPC): Likewise.
12852 (ILL_PRVREG): Likewise.
12853 (ILL_COPROC): Likewise.
12854 (ILL_BADSTK): Likewise.
12855 (FPE_INTDIV): Likewise.
12856 (FPE_INTOVF): Likewise.
12857 (FPE_FLTDIV): Likewise.
12858 (FPE_FLTOVF): Likewise.
12859 (FPE_FLTUND): Likewise.
12860 (FPE_FLTRES): Likewise.
12861 (FPE_FLTINV): Likewise.
12862 (FPE_FLTSUB): Likewise.
12863 (SEGV_MAPERR): Likewise.
12864 (SEGV_ACCERR): Likewise.
12865 (BUS_ADRALN): Likewise.
12866 (BUS_ADRERR): Likewise.
12867 (BUS_OBJERR): Likewise.
12868 (BUS_MCEERR_AR): Likewise.
12869 (BUS_MCEERR_AO): Likewise.
12870 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12871 (TRAP_TRACE): Likewise.
12872 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12874 (CLD_KILLED): Likewise.
12875 (CLD_DUMPED): Likewise.
12876 (CLD_TRAPPED): Likewise.
12877 (CLD_STOPPED): Likewise.
12878 (CLD_CONTINUED): Likewise.
12879 (POLL_IN): Likewise.
12880 (POLL_OUT): Likewise.
12881 (POLL_MSG): Likewise.
12882 (POLL_ERR): Likewise.
12883 (POLL_PRI): Likewise.
12884 (POLL_HUP): Likewise.
12885 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12886 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12889 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12890 before #include of <time.h>.
12891 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12892 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12893 (test-xfail-UNIX98/sched.h/conform): Likewise.
12895 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12897 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12898 error absence of trapping exception support.
12899 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12901 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12903 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12904 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12905 * timezone/Makefile (testdata): Move definition above include of
12907 (test-zones): New variable.
12908 (tests-special): Add zone files.
12909 (build-testdata): Use $(evaluate-test).
12911 * elf/Makefile (tests-special): Rename tests to end with .out.
12912 ($(objpfx)noload-mem): Likewise.
12913 ($(objpfx)tst-leaks1-mem): Likewise.
12914 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12915 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12916 $(objpfx)test-iconvconfig.out.
12917 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12918 set -e inside subshell and redirect output to file.
12919 * iconvdata/Makefile (generated): Rename tests to end with .out.
12921 (tests-special): Rename tests to end with .out.
12922 ($(objpfx)mtrace-tst-loading): Likewise.
12923 * intl/Makefile (generated): Likewise.
12924 (tests-special): Likewise.
12925 ($(objpfx)mtrace-tst-gettext): Likewise.
12926 * misc/Makefile (generated): Likewise.
12927 (tests-special): Likewise.
12928 ($(objpfx)tst-error1-mem): Likewise.
12929 * nptl/Makefile (tests-special): Likewise.
12930 ($(objpfx)tst-stack3-mem): Likewise.
12931 (generated): Likewise.
12932 * posix/Makefile (generated): Likewise.
12933 (tests-special): Likewise.
12934 (xtests-special): Likewise.
12935 ($(objpfx)tst-fnmatch-mem): Likewise.
12936 ($(objpfx)bug-regex2-mem): Likewise.
12937 ($(objpfx)bug-regex14-mem): Likewise.
12938 ($(objpfx)bug-regex21-mem): Likewise.
12939 ($(objpfx)bug-regex31-mem): Likewise.
12940 ($(objpfx)tst-vfork3-mem): Likewise.
12941 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12942 ($(objpfx)tst-pcre-mem): Likewise.
12943 ($(objpfx)tst-boost-mem): Likewise.
12944 ($(objpfx)bug-ga2-mem): Likewise.
12945 ($(objpfx)bug-glob2-mem): Likewise.
12946 * resolv/Makefile (generate): Likewise.
12947 (tests-special): Likewise.
12948 (xtests-special): Likewise.
12949 (generated): Likewise.
12950 ($(objpfx)mtrace-tst-leaks): Likewise.
12951 ($(objpfx)mtrace-tst-leaks2): Likewise.
12953 * scripts/merge-test-results.sh: New file.
12954 * Makefile (tests-special-notdir): New variable.
12955 (tests): Run merge-test-results.sh.
12956 (xtests): Likewise.
12957 * Rules (tests-special-notdir): New variable.
12958 (xtests-special-notdir): Likewise.
12959 (tests): Run merge-test-results.sh
12960 (xtests): Likewise.
12962 * Makeconfig (test-xfail-name): New variable.
12963 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12964 compute variable name for expected failures.
12965 * conform/Makefile (conformtest-headers-data): New variable.
12966 (conformtest-standards): Likewise.
12967 (conformtest-headers-ISO): Likewise.
12968 (conformtest-headers-ISO99): Likewise.
12969 (conformtest-headers-ISO11): Likewise.
12970 (conformtest-headers-POSIX): Likewise.
12971 (conformtest-headers-XPG3): Likewise.
12972 (conformtest-headers-XPG4): Likewise.
12973 (conformtest-headers-UNIX98): Likewise.
12974 (conformtest-headers-XOPEN2K): Likewise.
12975 (conformtest-headers-POSIX2008): Likewise.
12976 (conformtest-headers-XOPEN2K8): Likewise.
12977 (conformtest-header-list-base): Likewise.
12978 (conformtest-header-list-tests): Likewise.
12979 (conformtest-header-base): Likewise.
12980 (conformtest-header-tests): Likewise.
12981 (tests-special): Add $(conformtest-header-list-tests). If
12982 [$(fast-check) && !$(cross-compiling)], add
12983 $(conformtest-header-tests) instead of
12984 $(objpfx)run-conformtest.out.
12985 (generated): Add $(conformtest-header-list-base). If
12986 [$(fast-check) && !$(cross-compiling)], add
12987 $(conformtest-header-base). Remove previous setting.
12988 ($(conformtest-header-list-tests)): New target.
12989 (test-xfail-run-conformtest): Remove variable.
12990 ($(objpfx)run-conformtest.out): Remove target.
12991 (test-xfail-ISO11/complex.h/conform): New variable.
12992 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12993 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12994 (test-xfail-XPG3/varargs.h/conform): Likewise.
12995 (test-xfail-XPG4/varargs.h/conform): Likewise.
12996 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12997 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12998 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12999 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13000 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13001 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13002 (test-xfail-XPG3/ftw.h/conform): Likewise.
13003 (test-xfail-XPG3/grp.h/conform): Likewise.
13004 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13005 (test-xfail-XPG3/limits.h/conform): Likewise.
13006 (test-xfail-XPG3/pwd.h/conform): Likewise.
13007 (test-xfail-XPG3/search.h/conform): Likewise.
13008 (test-xfail-XPG3/signal.h/conform): Likewise.
13009 (test-xfail-XPG3/stdio.h/conform): Likewise.
13010 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13011 (test-xfail-XPG3/string.h/conform): Likewise.
13012 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13013 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13014 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13015 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13016 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13017 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13018 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13019 (test-xfail-XPG3/termios.h/conform): Likewise.
13020 (test-xfail-XPG3/time.h/conform): Likewise.
13021 (test-xfail-XPG3/unistd.h/conform): Likewise.
13022 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13023 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13024 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13025 (test-xfail-XPG4/netdb.h/conform): Likewise.
13026 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13027 (test-xfail-XPG4/signal.h/conform): Likewise.
13028 (test-xfail-XPG4/stdio.h/conform): Likewise.
13029 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13030 (test-xfail-XPG4/stropts.h/conform): Likewise.
13031 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13032 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13033 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13034 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13035 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13036 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13037 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13038 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13039 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13040 (test-xfail-XPG4/termios.h/conform): Likewise.
13041 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13042 (test-xfail-XPG4/unistd.h/conform): Likewise.
13043 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13044 (test-xfail-POSIX/sched.h/conform): Likewise.
13045 (test-xfail-POSIX/signal.h/conform): Likewise.
13046 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13047 (test-xfail-POSIX/tar.h/conform): Likewise.
13048 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13049 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13050 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13051 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13052 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13053 (test-xfail-UNIX98/sched.h/conform): Likewise.
13054 (test-xfail-UNIX98/signal.h/conform): Likewise.
13055 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13056 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13057 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13058 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13059 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13060 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13061 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13062 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13063 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13064 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13065 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13066 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13067 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13068 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13069 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13070 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13071 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13072 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13073 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13074 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13075 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13076 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13077 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13078 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13079 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13080 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13081 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13082 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13083 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13084 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13085 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13086 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13087 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13088 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13089 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13090 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13091 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13092 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13093 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13094 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13095 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13096 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13097 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13098 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13099 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13100 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13101 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13102 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13103 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13104 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13105 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13106 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13107 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13108 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13109 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13110 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13111 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13112 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13113 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13114 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13115 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13116 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13117 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13118 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13119 (conformtest-cc-flags): Likewise.
13120 ($(conformtest-header-tests): New target.
13121 * conform/check-header-lists.sh: New file.
13122 * conform/run-conformtest.sh: Remove.
13124 * conform/conformtest.pl: Allow ' and \ in values given for
13126 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13128 [POSIX] (sys/types.h): Likewise.
13129 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13131 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13133 * conform/data/signal.h-data (SIGIO): Remove expectation.
13134 [XPG3] (SIGBUS): Do not expect.
13135 [POSIX || XPG3] (SIGPOLL): Likewise.
13136 [POSIX || XPG3] (SIGPROF): Likewise.
13137 [POSIX || XPG3] (SIGSYS): Likewise.
13138 [XPG3] (SIGTRAP): Likewise.
13139 [POSIX || XPG3] (SIGURG): Likewise.
13140 [POSIX || XPG3] (SIGVTALRM): Likewise.
13141 [POSIX || XPG3] (SIGXCPU): Likewise.
13142 [POSIX || XPG3] (SIGXFSZ): Likewise.
13143 [POSIX] (SA_SIGINFO): Expect.
13144 [XPG3] (siginfo_t): Do not expect type or contents.
13145 [POSIX] (si_pid): Do not expect element.
13146 [POSIX] (si_uid): Likewise.
13147 [POSIX] (si_addr): Likewise.
13148 [POSIX] (si_status): Likewise.
13149 [POSIX] (si_band): Likewise.
13150 [XPG4] (si_value): Likewise.
13151 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13152 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13153 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13154 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13155 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13156 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13157 [POSIX || XPG3] (ILL_COPROC): Likewise.
13158 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13159 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13160 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13161 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13162 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13163 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13164 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13165 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13166 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13167 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13168 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13169 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13170 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13171 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13172 [POSIX || XPG3] (CLD_EXITED): Likewise.
13173 [POSIX || XPG3] (CLD_KILLED): Likewise.
13174 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13175 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13176 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13177 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13178 [POSIX || XPG3] (POLL_IN): Likewise.
13179 [POSIX || XPG3] (POLL_OUT): Likewise.
13180 [POSIX || XPG3] (POLL_MSG): Likewise.
13181 [POSIX || XPG3] (POLL_ERR): Likewise.
13182 [POSIX || XPG3] (POLL_PRI): Likewise.
13183 [POSIX || XPG3] (POLL_HUP): Likewise.
13184 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13185 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13186 (SIG*): Do not allow.
13187 [XPG3] (si_*): Likewise.
13188 [XPG3] (SI_*): Likewise.
13189 [XPG3 || XPG4] (sigev_*): Likewise.
13190 [XPG3 || XPG4] (SIGEV_*): Likewise.
13191 [XPG3 || XPG4] (sival_*): Likewise.
13192 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13193 [POSIX || XPG3] (BUS_*): Likewise.
13194 [POSIX || XPG3] (CLD_*): Likewise.
13195 [POSIX || XPG3] (FPE_*): Likewise.
13196 [POSIX || XPG3] (ILL_*): Likewise.
13197 [POSIX || XPG3] (POLL_*): Likewise.
13198 [POSIX || XPG3] (SEGV_*): Likewise.
13199 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13200 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13201 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13202 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13203 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13204 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13205 Specify type and value.
13206 (TVERSLEN): Likewise.
13207 (REGTYPE): Likewise.
13208 (AREGTYPE): Likewise.
13209 (LNKTYPE): Likewise.
13210 (SYMTYPE): Likewise.
13211 (CHRTYPE): Likewise.
13212 (BLKTYPE): Likewise.
13213 (DIRTYPE): Likewise.
13214 (FIFOTYPE): Likewise.
13215 (CONTTYPE): Likewise.
13219 (TUREAD): Likewise.
13220 (TUWRITE): Likewise.
13221 (TUEXEC): Likewise.
13222 (TGREAD): Likewise.
13223 (TGWRITE): Likewise.
13224 (TGEXEC): Likewise.
13225 (TOREAD): Likewise.
13226 (TOWRITE): Likewise.
13227 (TOEXEC): Likewise.
13228 [POSIX] (TSVTX): Expect constant.
13230 2014-03-06 Joseph Myers <joseph@codesourcery.com>
13232 * Makefile (tests): Change dependencies to ....
13233 (tests-special): ... additions to this variable.
13234 (tests): Depend on $(tests-special).
13235 * Makerules (check-abi-list): New variable.
13236 (check-abi): Depend on $(check-abi-list).
13237 [$(subdir) = elf] (tests-special): Add
13238 $(objpfx)check-abi-libc.out.
13239 [$(build-shared) = yes && subdir] (tests-special): Add
13241 [$(build-shared) = yes && subdir] (tests): Do not depend on
13243 * Rules (tests): Depend on $(tests-special).
13244 (xtests): Depend on $(xtests-special).
13245 * catgets/Makefile (tests): Change dependencies to ....
13246 (tests-special): ... additions to this variable.
13247 * conform/Makefile (tests): Change dependencies to ....
13248 (tests-special): ... additions to this variable.
13249 * elf/Makefile (tests): Change dependencies to ....
13250 (tests-special): ... additions to this variable.
13251 * grp/Makefile (tests): Change dependencies to ....
13252 (tests-special): ... additions to this variable.
13253 * iconv/Makefile (xtests): Change dependencies to ....
13254 (xtests-special): ... additions to this variable.
13255 * iconvdata/Makefile (tests): Change dependencies to ....
13256 (tests-special): ... additions to this variable.
13257 * intl/Makefile (tests): Change dependencies to ....
13258 (tests-special): ... additions to this variable. Also add
13259 $(objpfx)tst-gettext.out.
13260 * io/Makefile (tests): Change dependencies to ....
13261 (tests-special): ... additions to this variable.
13262 * libio/Makefile (tests): Change dependencies to ....
13263 (tests-special): ... additions to this variable.
13264 * malloc/Makefile (tests): Change dependencies to ....
13265 (tests-special): ... additions to this variable.
13266 * misc/Makefile (tests): Change dependencies to ....
13267 (tests-special): ... additions to this variable.
13268 * nptl/Makefile (tests): Change dependencies to ....
13269 (tests-special): ... additions to this variable.
13270 * nptl_db/Makefile (tests): Change dependencies to ....
13271 (tests-special): ... additions to this variable.
13272 * posix/Makefile (tests): Change dependencies to ....
13273 (tests-special): ... additions to this variable.
13274 (xtests): Change dependencies to ....
13275 (xtests-special): ... additions to this variable.
13276 * resolv/Makefile (tests): Change dependencies to ....
13277 (tests-special): ... additions to this variable.
13278 (xtests): Change dependencies to ....
13279 (xtests-special): ... additions to this variable.
13280 * stdio-common/Makefile (tests): Change dependencies to ....
13281 (tests-special): ... additions to this variable.
13282 (do-tst-unbputc): Remove target.
13283 (do-tst-printf): Likewise.
13284 * stdlib/Makefile (tests): Change dependencies to ....
13285 (tests-special): ... additions to this variable.
13286 * string/Makefile (tests): Change dependencies to ....
13287 (tests-special): ... additions to this variable.
13288 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13289 (tests-special): ... additions to this variable.
13291 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13293 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13295 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13296 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13298 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13299 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13300 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13301 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13302 * conform/data/libgen.h-data [XPG3]: Likewise.
13303 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13304 * conform/data/ndbm.h-data [XPG3]: Likewise.
13305 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13306 * conform/data/netdb.h-data [XPG3]: Likewise.
13307 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13308 * conform/data/poll.h-data [XPG3]: Likewise.
13309 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13310 * conform/data/strings.h-data [XPG3]: Likewise.
13311 * conform/data/stropts.h-data [XPG3]: Likewise.
13312 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13313 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13314 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13316 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13317 * conform/data/sys/time.h-data [XPG3]: Likewise.
13318 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13319 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13320 * conform/data/sys/un.h-data [XPG3]: Likewise.
13321 * conform/data/syslog.h-data [XPG3]: Likewise.
13322 * conform/data/ucontext.h-data [XPG3]: Likewise.
13323 * conform/data/utmpx.h-data [XPG3]: Likewise.
13324 * conform/data/varargs.h-data [UNIX98]: Enable file.
13326 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13328 * math/libm-test.inc (struct test_f_f_data): Move expected results
13329 into structure for each rounding mode.
13330 (struct test_ff_f_data): Likewise.
13331 (struct test_ff_f_data_nexttoward): Likewise.
13332 (struct test_fi_f_data): Likewise.
13333 (struct test_fl_f_data): Likewise.
13334 (struct test_if_f_data): Likewise.
13335 (struct test_fff_f_data): Likewise.
13336 (struct test_c_f_data): Likewise.
13337 (struct test_f_f1_data): Likewise.
13338 (struct test_fF_f1_data): Likewise.
13339 (struct test_ffI_f1_data): Likewise.
13340 (struct test_c_c_data): Likewise.
13341 (struct test_cc_c_data): Likewise.
13342 (struct test_f_i_data): Likewise.
13343 (struct test_ff_i_data): Likewise.
13344 (struct test_f_l_data): Likewise.
13345 (struct test_f_L_data): Likewise.
13346 (struct test_fFF_11_data): Likewise.
13348 (RM_FE_DOWNWARD): Likewise.
13349 (RM_FE_TONEAREST): Likewise.
13350 (RM_FE_TOWARDZERO): Likewise.
13351 (RM_FE_UPWARD): Likewise.
13352 (RUN_TEST_LOOP_f_f): Update references to expected results.
13353 (RUN_TEST_LOOP_2_f): Likewise.
13354 (RUN_TEST_LOOP_fff_f): Likewise.
13355 (RUN_TEST_LOOP_c_f): Likewise.
13356 (RUN_TEST_LOOP_f_f1): Likewise.
13357 (RUN_TEST_LOOP_fF_f1): Likewise.
13358 (RUN_TEST_LOOP_fI_f1): Likewise.
13359 (RUN_TEST_LOOP_ffI_f1): Likewise.
13360 (RUN_TEST_LOOP_c_c): Likewise.
13361 (RUN_TEST_LOOP_cc_c): Likewise.
13362 (RUN_TEST_LOOP_f_i): Likewise.
13363 (RUN_TEST_LOOP_f_i_tg): Likewise.
13364 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13365 (RUN_TEST_LOOP_f_b): Likewise.
13366 (RUN_TEST_LOOP_f_b_tg): Likewise.
13367 (RUN_TEST_LOOP_f_l): Likewise.
13368 (RUN_TEST_LOOP_f_L): Likewise.
13369 (RUN_TEST_LOOP_fFF_11): Likewise.
13370 * math/gen-libm-test.pl (parse_args): Output four copies of
13371 expected results for each test.
13373 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13374 (__ASSUME_UTIMES): Remove.
13375 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13376 (__ASSUME_UTIMES): Likewise.
13378 * math/gen-auto-libm-tests.c: Update comment on output format.
13379 (output_for_one_input_case): Generate before-rounding and
13380 after-rounding information as conditions on output flags not
13381 floating-point format.
13382 * math/auto-libm-test-out: Regenerated.
13383 * math/gen-libm-test.pl (cond_value): New function.
13384 (or_cond_value): Use cond_value.
13385 (generate_testfile): Handle conditional exceptions.
13387 2014-03-05 Joseph Myers <joseph@codesourcery.com>
13389 * math/libm-test.inc (max_valid_error): New variable.
13390 (init_max_error): Take new argument specifying whether function
13391 results are exactly determined. Set max_valid_error and bound
13392 other variables for errors based on this argument.
13393 (set_max_error): Do not record results above max_valid_error.
13394 (check_float_internal): Only accept errors of up to 0.5ulps if
13395 also at most max_valid_error.
13396 (START): Take new argument EXACT and pass it to init_max_error.
13397 (acos_test): Update call to START.
13398 (acos_test_tonearest): Likewise.
13399 (acos_test_towardzero): Likewise.
13400 (acos_test_downward): Likewise.
13401 (acos_test_upward): Likewise.
13402 (acosh_test): Likewise.
13403 (asin_test): Likewise.
13404 (asin_test_tonearest): Likewise.
13405 (asin_test_towardzero): Likewise.
13406 (asin_test_downward): Likewise.
13407 (asin_test_upward): Likewise.
13408 (asinh_test): Likewise.
13409 (atan_test): Likewise.
13410 (atanh_test): Likewise.
13411 (atan2_test): Likewise.
13412 (cabs_test): Likewise.
13413 (cacos_test): Likewise.
13414 (cacosh_test): Likewise.
13415 (carg_test): Likewise.
13416 (casin_test): Likewise.
13417 (casinh_test): Likewise.
13418 (catan_test): Likewise.
13419 (catanh_test): Likewise.
13420 (cbrt_test): Likewise.
13421 (ccos_test): Likewise.
13422 (ccosh_test): Likewise.
13423 (ceil_test): Likewise.
13424 (cexp_test): Likewise.
13425 (cimag_test): Likewise.
13426 (clog_test): Likewise.
13427 (clog10_test): Likewise.
13428 (conj_test): Likewise.
13429 (copysign_test): Likewise.
13430 (cos_test): Likewise.
13431 (cos_test_tonearest): Likewise.
13432 (cos_test_towardzero): Likewise.
13433 (cos_test_downward): Likewise.
13434 (cos_test_upward): Likewise.
13435 (cosh_test): Likewise.
13436 (cosh_test_tonearest): Likewise.
13437 (cosh_test_towardzero): Likewise.
13438 (cosh_test_downward): Likewise.
13439 (cosh_test_upward): Likewise.
13440 (cpow_test): Likewise.
13441 (cproj_test): Likewise.
13442 (creal_test): Likewise.
13443 (csin_test): Likewise.
13444 (csinh_test): Likewise.
13445 (csqrt_test): Likewise.
13446 (ctan_test): Likewise.
13447 (ctan_test_tonearest): Likewise.
13448 (ctan_test_towardzero): Likewise.
13449 (ctan_test_downward): Likewise.
13450 (ctan_test_upward): Likewise.
13451 (ctanh_test): Likewise.
13452 (ctanh_test_tonearest): Likewise.
13453 (ctanh_test_towardzero): Likewise.
13454 (ctanh_test_downward): Likewise.
13455 (ctanh_test_upward): Likewise.
13456 (erf_test): Likewise.
13457 (erfc_test): Likewise.
13458 (exp_test): Likewise.
13459 (exp_test_tonearest): Likewise.
13460 (exp_test_towardzero): Likewise.
13461 (exp_test_downward): Likewise.
13462 (exp_test_upward): Likewise.
13463 (exp10_test): Likewise.
13464 (exp10_test_tonearest): Likewise.
13465 (exp10_test_towardzero): Likewise.
13466 (exp10_test_downward): Likewise.
13467 (exp10_test_upward): Likewise.
13468 (pow10_test): Likewise.
13469 (exp2_test): Likewise.
13470 (expm1_test): Likewise.
13471 (expm1_test_tonearest): Likewise.
13472 (expm1_test_towardzero): Likewise.
13473 (expm1_test_downward): Likewise.
13474 (expm1_test_upward): Likewise.
13475 (fabs_test): Likewise.
13476 (fdim_test): Likewise.
13477 (floor_test): Likewise.
13478 (fma_test): Likewise.
13479 (fma_test_towardzero): Likewise.
13480 (fma_test_downward): Likewise.
13481 (fma_test_upward): Likewise.
13482 (fmax_test): Likewise.
13483 (fmin_test): Likewise.
13484 (fmod_test): Likewise.
13485 (fpclassify_test): Likewise.
13486 (frexp_test): Likewise.
13487 (hypot_test): Likewise.
13488 (ilogb_test): Likewise.
13489 (isfinite_test): Likewise.
13490 (finite_test): Likewise.
13491 (isgreater_test): Likewise.
13492 (isgreaterequal_test): Likewise.
13493 (isinf_test): Likewise.
13494 (isless_test): Likewise.
13495 (islessequal_test): Likewise.
13496 (islessgreater_test): Likewise.
13497 (isnan_test): Likewise.
13498 (isnormal_test): Likewise.
13499 (issignaling_test): Likewise.
13500 (isunordered_test): Likewise.
13501 (j0_test): Likewise.
13502 (j1_test): Likewise.
13503 (jn_test): Likewise.
13504 (ldexp_test): Likewise.
13505 (lgamma_test): Likewise.
13506 (gamma_test): Likewise.
13507 (lrint_test): Likewise.
13508 (lrint_test_tonearest): Likewise.
13509 (lrint_test_towardzero): Likewise.
13510 (lrint_test_downward): Likewise.
13511 (lrint_test_upward): Likewise.
13512 (llrint_test): Likewise.
13513 (llrint_test_tonearest): Likewise.
13514 (llrint_test_towardzero): Likewise.
13515 (llrint_test_downward): Likewise.
13516 (llrint_test_upward): Likewise.
13517 (log_test): Likewise.
13518 (log10_test): Likewise.
13519 (log1p_test): Likewise.
13520 (log2_test): Likewise.
13521 (logb_test): Likewise.
13522 (logb_test_downward): Likewise.
13523 (lround_test): Likewise.
13524 (llround_test): Likewise.
13525 (modf_test): Likewise.
13526 (nearbyint_test): Likewise.
13527 (nextafter_test): Likewise.
13528 (nexttoward_test): Likewise.
13529 (pow_test): Likewise.
13530 (pow_test_tonearest): Likewise.
13531 (pow_test_towardzero): Likewise.
13532 (pow_test_downward): Likewise.
13533 (pow_test_upward): Likewise.
13534 (remainder_test): Likewise.
13535 (drem_test): Likewise.
13536 (remainder_test_tonearest): Likewise.
13537 (drem_test_tonearest): Likewise.
13538 (remainder_test_towardzero): Likewise.
13539 (drem_test_towardzero): Likewise.
13540 (remainder_test_downward): Likewise.
13541 (drem_test_downward): Likewise.
13542 (remainder_test_upward): Likewise.
13543 (drem_test_upward): Likewise.
13544 (remquo_test): Likewise.
13545 (rint_test): Likewise.
13546 (rint_test_tonearest): Likewise.
13547 (rint_test_towardzero): Likewise.
13548 (rint_test_downward): Likewise.
13549 (rint_test_upward): Likewise.
13550 (round_test): Likewise.
13551 (scalb_test): Likewise.
13552 (scalbn_test): Likewise.
13553 (scalbln_test): Likewise.
13554 (signbit_test): Likewise.
13555 (sin_test): Likewise.
13556 (sin_test_tonearest): Likewise.
13557 (sin_test_towardzero): Likewise.
13558 (sin_test_downward): Likewise.
13559 (sin_test_upward): Likewise.
13560 (sincos_test): Likewise.
13561 (sinh_test): Likewise.
13562 (sinh_test_tonearest): Likewise.
13563 (sinh_test_towardzero): Likewise.
13564 (sinh_test_downward): Likewise.
13565 (sinh_test_upward): Likewise.
13566 (sqrt_test): Likewise.
13567 (sqrt_test_tonearest): Likewise.
13568 (sqrt_test_towardzero): Likewise.
13569 (sqrt_test_downward): Likewise.
13570 (sqrt_test_upward): Likewise.
13571 (tan_test): Likewise.
13572 (tan_test_tonearest): Likewise.
13573 (tan_test_towardzero): Likewise.
13574 (tan_test_downward): Likewise.
13575 (tan_test_upward): Likewise.
13576 (tanh_test): Likewise.
13577 (tgamma_test): Likewise.
13578 (trunc_test): Likewise.
13579 (y0_test): Likewise.
13580 (y1_test): Likewise.
13581 (yn_test): Likewise.
13582 (significand_test): Likewise.
13584 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13585 individual tests in comment.
13586 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13587 (prev_max_error): New variable.
13588 (prev_real_max_error): Likewise.
13589 (prev_imag_max_error): Likewise.
13590 (compare_ulp_data): Don't refer to test names in comment.
13591 (find_test_ulps): Remove function.
13592 (find_function_ulps): Likewise.
13593 (find_complex_function_ulps): Likewise.
13594 (init_max_error): Take function name as argument. Look up ulps
13596 (print_ulps): Remove function.
13597 (print_max_error): Use prev_max_error instead of calling
13598 find_function_ulps.
13599 (print_complex_max_error): Use prev_real_max_error and
13600 prev_imag_max_error instead of calling find_complex_function_ulps.
13601 (check_float_internal): Take max_ulp parameter instead of calling
13602 find_test_ulps. Don't call print_ulps.
13603 (check_float): Update call to check_float_internal.
13604 (check_complex): Update calls to check_float_internal.
13605 (START): Pass argument to init_max_error.
13606 * math/gen-libm-test.pl (%results): Don't include "kind"
13608 (parse_ulps): Don't handle ulps of individual tests.
13609 (print_ulps_file): Likewise.
13610 (output_ulps): Likewise.
13611 * math/README.libm-test: Update.
13612 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13614 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13615 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13616 * sysdeps/arm/libm-test-ulps: Likewise.
13617 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13618 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13619 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13620 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13621 * sysdeps/microblaze/libm-test-ulps: Likewise.
13622 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13623 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13624 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13625 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13626 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13627 * sysdeps/sh/libm-test-ulps: Likewise.
13628 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13629 * sysdeps/tile/libm-test-ulps: Likewise.
13630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13632 2014-03-04 Joseph Myers <joseph@codesourcery.com>
13634 * math/libm-test.inc (print_complex_max_error): Check separately
13635 whether real and imaginary errors are within allowed range and
13636 pass 0 to print_complex_function_ulps instead of value within
13639 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13641 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13643 (get_handles_fopen): Likewise.
13644 (do_write_test): Likewise.
13646 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13648 * libio/fileops.c (do_ftell): Use cached offset when
13650 * libio/iofwide.c (do_ftell_wide): Likewise.
13651 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13653 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13656 * libio/libioP.h (get_file_offset): New function.
13657 * libio/fileops.c (get_file_offset): Likewise.
13658 (do_ftell): Likewise.
13659 (_IO_new_file_seekoff): Split out ftell logic.
13660 * libio/wfileops.c (do_ftell_wide): Likewise.
13661 (_IO_wfile_seekoff): Split out ftell logic.
13662 * libio/tst-ftell-active-handler.c: New test case.
13663 * libio/Makefile (tests): Add it.
13665 2014-03-03 Roland McGrath <roland@hack.frob.com>
13667 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13668 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13670 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13673 * nscd/connections.c (nscd_init): Call do_exit.
13674 (start_threads): Call do_exit and notify_parent.
13675 (begin_drop_privileges): Call do_exit.
13676 (finish_drop_privileges): Likewise.
13677 * nscd/selinux.c (preserve_capabilities): Likewise.
13678 (install_real_capabilities): Likewise.
13679 (nscd_selinux_enabled): Likewise.
13680 (avc_create_thread): Likewise.
13681 (avc_alloc_lock): Likewise.
13682 (nscd_avc_init): Likewise.
13683 * nscd/nscd.c (parent_fd): New static variable.
13684 (main): Create a pipe between parent and child processes.
13685 Skip closing parent_fd.
13686 (monitor_child): New function.
13687 (do_exit): Likewise.
13688 (notify_parent): Likewise.
13689 * nscd/nscd.h (notify_parent): Likewise.
13690 (do_exit): Likewise.
13692 2014-03-03 Carlos O'Donell <carlos@redhat.com>
13694 * malloc/malloc.c (__libc_calloc): Revert last change.
13696 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13700 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13702 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13706 (__libc_ifunc_impl_list): Likewise.
13707 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13708 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13709 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13710 * string/strrchr.c: Define STRRCHR.
13712 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
13714 * benchtest/bench-strtok.c (simple_strtok): Delete.
13715 (strtok_string): Use as benchmark.
13716 * string/strtok (STRTOK): New macro.
13718 2014-02-28 Carlos O'Donell <carlos@redhat.com>
13720 * manual/threads.texi: Add header and standard comments to all
13723 * elf/dl-lookup.c (check_match): New function.
13724 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13725 (do_lookup_x): Remove nested function check_match. Use non-nested
13726 function check_match.
13728 2014-02-28 Roland McGrath <roland@hack.frob.com>
13730 * csu/Makefile (generated, before-compile): Use += rather than =.
13731 * catgets/Makefile (generated, generated-dirs): Likewise.
13732 * debug/Makefile (generated): Likewise.
13733 * dlfcn/Makefile (generated): Likewise.
13734 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13735 * iconvdata/Makefile (before-compile, generated): Likewise.
13736 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13737 * libio/Makefile (generated): Likewise.
13738 * malloc/Makefile (generated): Likewise.
13739 * manual/Makefile (generated, generated-dirs): Likewise.
13740 * misc/Makefile (generated): Likewise.
13741 * posix/Makefile (generated): Likewise.
13742 * resolv/Makefile (generated): Likewise.
13743 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13744 * timezone/Makefile (generated, generated-dirs): Likewise.
13746 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13748 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13751 power8 implementation.
13752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13753 file: POWER8 llround ifunc implementation.
13754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13755 (__lllround): Add POWER8 implementation.
13756 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13757 POWER8 llround implementation.
13759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13760 power8 implementation.
13761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13762 file: POWER8 llrint ifunc implementation.
13763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13764 Add POWER8 implementation.
13765 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13766 POWER8 llrint implementation.
13768 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13769 power8 implementation.
13770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13771 file: POWER8 finite ifunc implementation.
13772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13773 Add POWER8 implementation.
13774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13776 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13777 POWER8 finite implementation.
13778 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13781 power8 implementation.
13782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13783 file: POWER8 isinf ifunc implementation.
13784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13785 POWER8 implementation.
13786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13788 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13789 isinf implementation.
13790 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13792 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13793 (INIT_ARCH): Add hwcap2 initialization.
13794 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13795 power8 implementation.
13796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13797 file: POWER8 isnan ifunc implementation.
13798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13799 POWER8 implementation.
13800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13802 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13803 isnan implementation.
13804 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13806 2014-02-27 Joey Ye <joey.ye@arm.com>
13808 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13809 (_FP_NANFRAC_Q): Set to zero.
13811 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13814 * math/auto-libm-test-in: New test inputs.
13815 * math/auto-libm-test-out: Regenerate.
13816 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13819 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13821 2014-02-27 Joseph Myers <joseph@codesourcery.com>
13823 * scripts/evaluate-test.sh: Take new argument indicating whether
13824 failure is expected.
13825 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13826 indicating whether failure is expected.
13827 * conform/Makefile (test-xfail-run-conformtest): New variable.
13828 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13830 * posix/Makefile (test-xfail-annexc): New variable.
13831 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13833 2014-02-26 Joseph Myers <joseph@codesourcery.com>
13835 * argp/Makefile: Include Makeconfig immediately after defining
13837 * assert/Makefile: Likewise.
13838 * benchtests/Makefile: Likewise.
13839 * catgets/Makefile: Likewise.
13840 * conform/Makefile: Likewise.
13841 * crypt/Makefile: Likewise.
13842 * csu/Makefile: Likewise.
13843 (all): Remove target.
13844 * ctype/Makefile: Include Makeconfig immediately after defining
13846 * debug/Makefile: Likewise.
13847 * dirent/Makefile: Likewise.
13848 * dlfcn/Makefile: Likewise.
13849 * gmon/Makefile: Likewise.
13850 * gnulib/Makefile: Likewise.
13851 * grp/Makefile: Likewise.
13852 * gshadow/Makefile: Likewise.
13853 * hesiod/Makefile: Likewise.
13854 * hurd/Makefile: Likewise.
13855 (all): Remove target.
13856 * iconvdata/Makefile: Include Makeconfig immediately after
13858 * inet/Makefile: Likewise.
13859 * intl/Makefile: Likewise.
13860 * io/Makefile: Likewise.
13861 * libio/Makefile: Likewise.
13862 (all): Remove target.
13863 * locale/Makefile: Include Makeconfig immediately after defining
13865 * login/Makefile: Likewise.
13866 * mach/Makefile: Likewise.
13867 (all): Remove target.
13868 * malloc/Makefile: Include Makeconfig immediately after defining
13870 (all): Remove target.
13871 * manual/Makefile: Include Makeconfig immediately after defining
13873 * math/Makefile: Likewise.
13874 * misc/Makefile: Likewise.
13875 * nis/Makefile: Likewise.
13876 * nss/Makefile: Likewise.
13877 * po/Makefile: Likewise.
13878 (all): Remove target.
13879 * posix/Makefile: Include Makeconfig immediately after defining
13881 * pwd/Makefile: Likewise.
13882 * resolv/Makefile: Likewise.
13883 * resource/Makefile: Likewise.
13884 * rt/Makefile: Likewise.
13885 * setjmp/Makefile: Likewise.
13886 * shadow/Makefile: Likewise.
13887 * signal/Makefile: Likewise.
13888 * socket/Makefile: Likewise.
13889 * soft-fp/Makefile: Likewise.
13890 * stdio-common/Makefile: Likewise.
13891 * stdlib/Makefile: Likewise.
13892 * streams/Makefile: Likewise.
13893 * string/Makefile: Likewise.
13894 * sunrpc/Makefile: Likewise.
13895 (all): Remove target.
13896 * sysvipc/Makefile: Include Makeconfig immediately after defining
13898 * termios/Makefile: Likewise.
13899 * time/Makefile: Likewise.
13900 * timezone/Makefile: Likewise.
13901 (all): Remove target.
13902 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13904 * wctype/Makefile: Likewise.
13906 2014-02-26 Steve Ellcey <sellcey@mips.com>
13908 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13909 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13910 (libc_feholdexcept_setround_mips): Ditto.
13911 (libc_feholdsetround): New.
13912 (libc_feholdsetroundf): New.
13913 (libc_feholdsetroundl): New.
13914 (libc_feupdateenv_test_mips): New.
13915 (libc_feupdateenv_test): New.
13916 (libc_feupdateenv_testf): New.
13917 (libc_feupdateenv_testl): New.
13918 (libc_feresetround): New.
13919 (libc_feresetroundf): New.
13920 (libc_feresetroundl): New.
13921 (libc_fetestexcept_mips): New.
13922 (libc_fetestexcept): New.
13923 (libc_fetestexceptf): New.
13924 (libc_fetestexceptl): New.
13925 (HAVE_RM_CTX): New.
13926 (libc_feholdexcept_setround_mips_ctx): New.
13927 (libc_feholdexcept_setround_ctx): New.
13928 (libc_feholdexcept_setroundf_ctx): New.
13929 (libc_feholdexcept_setroundl_ctx): New.
13930 (libc_fesetenv_mips_ctx): New.
13931 (libc_fesetenv_ctx): New.
13932 (libc_fesetenv_ctxf): New.
13933 (libc_fesetenv_ctxl): New.
13934 (libc_feupdateenv_mips_ctx): New.
13935 (libc_feupdateenv_ctx): New.
13936 (libc_feupdateenvf_ctx): New.
13937 (libc_feupdateenvl_ctx): New.
13938 (libc_feholdsetround_mips_ctx): New.
13939 (libc_feholdsetround_ctx): New.
13940 (libc_feholdsetroundf_ctx): New.
13941 (libc_feholdsetroundl_ctx): New.
13942 (libc_feresetround_mips_ctx): New.
13943 (libc_feresetround_ctx): New.
13944 (libc_feresetroundf_ctx): New.
13945 (libc_feresetroundl_ctx): New.
13947 2014-02-26 Carlos O'Donell <carlos@redhat.com>
13949 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13951 * manual/ipc.texi: New file.
13952 * manual/Makefile (chapters): Add ipc.
13953 * manual/job.texi: Add "Inter-Process Communication" to next.
13954 * manual/process.texi: Add "Inter-Process Communication" to prev.
13956 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13960 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
13962 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13964 * manual/arith.texi: Fix spaces after sentences.
13965 * manual/charset.texi: Likewise.
13966 * manual/errno.texi: Likewise.
13967 * manual/install.texi: Likewise.
13968 * manual/llio.texi: Likewise.
13969 * manual/locale.texi: Likewise.
13970 * manual/maint.texi: Likewise.
13971 * manual/math.texi: Likewise.
13972 * manual/memory.texi: Likewise.
13973 * manual/message.texi: Likewise.
13974 * manual/probes.texi: Likewise.
13975 * manual/resource.texi: Likewise.
13976 * manual/signal.texi: Likewise.
13977 * manual/socket.texi: Likewise.
13978 * manual/stdio.texi: Likewise.
13979 * manual/string.texi: Likewise.
13980 * manual/time.texi: Likewise.
13981 * manual/users.texi: Likewise.
13983 2014-02-25 Carlos O'Donell <carlos@redhat.com>
13986 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13987 _DEFAULT_SOURCE is defined.
13989 2014-02-25 Ulrich Drepper <drepper@gmail.com>
13990 Carlos O'Donell <carlos@redhat.com>
13993 * elf/dl-tls.c (_dl_count_modids): New function.
13994 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13995 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13996 audit library and increment generation counter.
13997 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13998 * elf/tst-audit9.c: New file.
13999 * elf/tst-auditmod9a.c: New file.
14000 * elf/tst-auditmod9b.c: New file.
14001 * elf/Makefile: Add rules to build and run tst-audit9.
14003 2014-02-25 Florian Weimer <fweimer@redhat.com>
14006 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14008 2014-02-25 Will Newton <will.newton@linaro.org>
14010 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14011 (__longjmp): Restore sp and lr before restoring callee
14012 saved registers. Add longjmp and longjmp_target
14013 SystemTap probe point.
14014 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14015 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14016 Define to zero to match jmpbuf layout.
14017 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14018 (__sigsetjmp): Save sp and lr before saving callee
14019 saved registers. Add setjmp SystemTap probe point.
14021 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14023 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14025 2014-02-24 Andreas Schwab <schwab@suse.de>
14028 * elf/pldd.c (wait_for_ptrace_stop): New function.
14029 (main): Call it after attaching.
14031 2014-02-22 Roland McGrath <roland@hack.frob.com>
14033 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14034 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14035 Versions files is now verboten.
14036 * hurd/Versions (libc: GLIBC_2.0):
14037 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14038 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14039 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14040 * mach/Versions: Likewise.
14042 * csu/Versions: Remove unused %include.
14043 * resolv/Versions: Likewise.
14045 2014-02-21 Joseph Myers <joseph@codesourcery.com>
14047 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14048 ($(objpfx)check-local-headers.out): Likewise.
14049 ($(objpfx)begin-end-check.out): Likewise.
14050 * Makerules (check-abi-%.out): Likewise.
14051 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14052 ($(objpfx)test2.cat): Likewise.
14053 ($(objpfx)de/libc.cat): Likewise.
14054 ($(objpfx)test-gencat.out): Likewise.
14055 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14056 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14057 ($(objpfx)noload-mem): Likewise.
14058 ($(objpfx)tst-pathopt.out): Likewise.
14059 ($(objpfx)tst-rtld-load-self.out): Likewise.
14060 ($(objpfx)tst-array1-cmp.out): Likewise.
14061 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14062 ($(objpfx)tst-array2-cmp.out): Likewise.
14063 ($(objpfx)tst-array3-cmp.out): Likewise.
14064 ($(objpfx)tst-array4-cmp.out): Likewise.
14065 ($(objpfx)tst-array5-cmp.out): Likewise.
14066 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14067 ($(objpfx)check-textrel.out): Likewise.
14068 ($(objpfx)check-execstack.out): Likewise.
14069 ($(objpfx)check-localplt.out): Likewise.
14070 ($(objpfx)order2-cmp.out): Likewise.
14071 ($(objpfx)tst-leaks1-mem): Likewise.
14072 ($(objpfx)tst-leaks1-static-mem): Likewise.
14073 ($(objpfx)tst-initorder-cmp.out): Likewise.
14074 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14075 ($(objpfx)tst-unused-dep.out): Likewise.
14076 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14077 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14078 * iconv/Makefile (test-iconvconfig): Likewise.
14079 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14080 ($(objpfx)iconv-test.out): Likewise.
14081 ($(objpfx)tst-tables.out): Likewise.
14082 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14083 ($(objpfx)tst-gettext.out): Likewise.
14084 ($(objpfx)tst-translit.out): Likewise.
14085 ($(objpfx)tst-gettext2.out): Likewise.
14086 ($(objpfx)tst-gettext4.out): Likewise.
14087 ($(objpfx)tst-gettext6.out): Likewise.
14088 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14089 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14090 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14091 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14092 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14093 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14094 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14095 ($(objpfx)wordexp-tst.out): Likewise.
14096 ($(objpfx)annexc.out): Likewise.
14097 ($(objpfx)tst-fnmatch-mem): Likewise.
14098 ($(objpfx)bug-regex2-mem): Likewise.
14099 ($(objpfx)bug-regex14-mem): Likewise.
14100 ($(objpfx)bug-regex21-mem): Likewise.
14101 ($(objpfx)bug-regex31-mem): Likewise.
14102 ($(objpfx)tst-vfork3-mem): Likewise.
14103 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14104 ($(objpfx)tst-pcre-mem): Likewise.
14105 ($(objpfx)tst-boost-mem): Likewise.
14106 ($(objpfx)tst-getconf.out): Likewise.
14107 ($(objpfx)bug-ga2-mem): Likewise.
14108 ($(objpfx)bug-glob2-mem): Likewise.
14109 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14110 ($(objpfx)mtrace-tst-leaks2): Likewise.
14111 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14112 ($(objpfx)tst-printf.out): Likewise.
14113 ($(objpfx)tst-setvbuf1.out): Likewise.
14114 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14115 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14116 ($(objpfx)tst-fmtmsg.out): Likewise.
14117 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14118 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14120 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14121 * bits/sigaction.h [__USE_MISC]: Likewise.
14122 * bits/waitstatus.h: Update #endif comments.
14123 * ctype/ctype.h: Likewise.
14124 * dirent/dirent.h: Likewise.
14125 [__USE_MISC]: Remove redundant conditionals.
14126 * grp/grp.h: Update #endif comments.
14127 [__USE_GNU]: Remove redundant conditionals.
14128 [__USE_MISC]: Likewise.
14129 * inet/netinet/in.h [__USE_GNU]: Likewise.
14130 * io/sys/stat.h [__USE_MISC]: Likewise.
14131 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14132 * libio/bits/stdio.h: Update #endif comments.
14133 [__USE_MISC]: Remove redundant conditionals.
14134 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14135 * libio/stdio.h: Update #endif comments.
14136 [__USE_MISC]: Remove redundant conditionals.
14137 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14138 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14139 * math/math.h: Update #else and #endif comments.
14140 [__USE_MISC]: Remove redundant conditionals.
14141 * misc/sys/uio.h: Update #endif comments.
14142 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14143 * posix/glob.h [__USE_MISC]: Likewise.
14144 * posix/sys/types.h: Update #endif comments.
14145 [__USE_MISC]: Remove redundant conditionals.
14146 * posix/sys/wait.h: Update #endif comments.
14147 [__USE_MISC]: Remove redundant conditionals.
14148 * posix/unistd.h: Update #endif comments.
14149 [__USE_MISC]: Remove redundant conditionals.
14150 * pwd/pwd.h [__USE_GNU]: Likewise.
14151 [__USE_MISC]: Likewise.
14152 * resolv/netdb.h [__USE_GNU]: Likewise.
14153 * signal/signal.h: Update #endif comments.
14154 [__USE_MISC]: Remove redundant conditionals.
14155 * stdlib/stdlib.h: Update #else and #endif comments.
14156 [__USE_MISC]: Remove redundant conditionals.
14157 [__USE_GNU]: Likewise.
14158 * string/bits/string2.h [__USE_MISC]: Likewise.
14159 * string/string.h: Update #endif comments.
14160 [__USE_MISC]: Remove redundant conditionals.
14161 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14163 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14164 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14165 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14167 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14169 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14171 [__USE_MISC]: Remove redundant conditionals.
14172 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14173 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14174 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14175 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14176 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14178 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14179 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14181 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14182 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14184 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14186 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14187 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14189 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14191 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14192 * sysdeps/x86/bits/string.h: Update #endif comments.
14193 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14195 * time/sys/time.h: Update #endif comments.
14196 * time/time.h: Likewise.
14197 [__USE_MISC]: Remove redundant conditionals.
14199 2014-02-21 Yury Gribov <y.gribov@samsung.com>
14202 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14204 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14206 * Versions.def (librt): Add GLIBC_2.17.
14208 2014-02-21 Adam Conrad <adconrad@0c3.net>
14210 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14211 synonym for _SYS_AUXV_H to allow direct inclusion.
14212 * sysdeps/sparc/bits/hwcap.h: Likewise.
14213 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14214 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14215 * sysdeps/sparc/sysdep.h: Likewise.
14217 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14219 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14221 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14223 * benchtests/bench-strrchr.c: Print length instead of position.
14225 2014-02-20 Joseph Myers <joseph@codesourcery.com>
14228 * sysdeps/unix/sysv/linux/kernel-features.h
14229 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14230 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14231 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14232 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14234 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14235 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14236 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14237 (__ASSUME_SENDMMSG): Define instead of using previous
14238 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14239 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14240 (__ASSUME_SENDMMSG_SYSCALL): Define.
14241 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14242 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14244 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14245 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14247 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14248 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14250 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14251 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14252 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14253 [__ASSUME_SENDMMSG]: Change conditionals to
14254 [__ASSUME_SENDMMSG_SOCKETCALL].
14255 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14256 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14258 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14259 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14261 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14262 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14263 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14264 [!__ASSUME_SENDMMSG]: Change conditional to
14265 [!__ASSUME_SENDMMSG_SOCKETCALL].
14266 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14267 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14271 * sysdeps/unix/sysv/linux/kernel-features.h
14272 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14273 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14274 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14275 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14276 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14277 [__i386__ || __sparc__]
14278 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14279 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14280 (__ASSUME_RECVMMSG): Define instead of using previous
14281 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14282 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14283 (__ASSUME_RECVMMSG_SYSCALL): Define.
14284 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14285 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14287 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14288 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14290 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14291 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14293 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14294 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14295 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14296 [__ASSUME_RECVMMSG]: Change condition to
14297 [__ASSUME_RECVMMSG_SOCKETCALL].
14298 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14299 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14301 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14302 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14303 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14305 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14306 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14307 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14308 [!__ASSUME_RECVMMSG]: Change condition to
14309 [!__ASSUME_RECVMMSG_SOCKETCALL].
14310 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14311 (__ASSUME_RECVMMSG_SYSCALL): Define.
14314 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14315 __powerpc__ || __s390__ || __sh__ || __sparc__]
14316 (__ASSUME_SOCKETCALL): Define.
14317 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14318 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14319 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14320 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14321 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14322 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14323 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14324 (__ASSUME_ACCEPT4): Define instead of using previous
14325 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14326 __powerpc__ || __sparc__ || __s390__)] condition.
14327 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14328 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14329 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14330 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14331 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14332 [!__ASSUME_ACCEPT4]: Change condition to
14333 [!__ASSUME_ACCEPT4_SOCKETCALL].
14334 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14335 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14336 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14337 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14338 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14339 __ASSUME_ACCEPT4_SYSCALL.
14340 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14341 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14342 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14343 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14344 __ASSUME_ACCEPT4_SYSCALL.
14345 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14346 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14347 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14348 [__ASSUME_ACCEPT4]: Change condition to
14349 [__ASSUME_ACCEPT4_SOCKETCALL].
14350 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14351 (__ASSUME_SOCKETCALL): Define.
14352 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14353 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14354 (__ASSUME_SOCKETCALL): Define.
14355 (__ASSUME_ACCEPT4): Remove.
14356 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14358 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14359 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14361 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14362 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14364 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14366 (HWCAP_ARM_LPAE): Likewise.
14367 (HWCAP_ARM_EVTSTRM): Likewise.
14368 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14369 Add vpfd32, lpae and evtstrm.
14370 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14373 2014-02-19 Joseph Myers <joseph@codesourcery.com>
14375 * math/auto-libm-test-in: Add tests of clog10.
14376 * math/auto-libm-test-out: Regenerated.
14377 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14378 * sysdeps/i386/fpu/libm-test-ulps: Update.
14379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14381 2014-02-18 Andreas Schwab <schwab@suse.de>
14384 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14385 Store non-zero if the second buffer was newly allocated.
14386 (send_dg): Likewise.
14387 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14388 to send_vc and send_dg.
14389 (res_nsend): Pass NULL for ansp2_malloced.
14390 * resolv/res_query.c (__libc_res_nquery): Add parameter
14391 answerp2_malloced and pass it down to __libc_res_nsend.
14392 (res_nquery): Pass additional NULL to __libc_res_nquery.
14393 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14394 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14395 second answer buffer if answerp2_malloced was set.
14396 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14397 (__libc_res_nquerydomain): Add parameter
14398 answerp2_malloced and pass it down to __libc_res_nquery.
14399 (res_nquerydomain): Pass additional NULL to
14400 __libc_res_nquerydomain.
14401 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14402 additional NULL to __libc_res_nsend and __libc_res_nquery.
14403 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14404 additional NULL to __libc_res_nsearch.
14405 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14406 parameter of __libc_res_nsearch to check for separately allocated
14408 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14410 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14411 additional NULL to __libc_res_nquery.
14412 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14413 __libc_res_nsearch.
14414 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14415 * include/resolv.h: Update prototypes of __libc_res_nquery,
14416 __libc_res_nsearch, __libc_res_nsend.
14418 2014-02-18 Joseph Myers <joseph@codesourcery.com>
14420 * math/auto-libm-test-in: Add tests of fma.
14421 * math/auto-libm-test-out: Regenerated.
14422 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14423 (fma_towardzero_test_data): Likewise.
14424 (fma_downward_test_data): Likewise.
14425 (fma_upward_test_data): Likewise.
14426 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14428 (rounding_modes): Add values for new field.
14429 (func_calc_method): Add value mpfr_fff_f.
14430 (func_calc_desc): Add mpfr_fff_f union field.
14431 (test_function): Add field exact_args.
14432 (FUNC): Add macro argument EXACT_ARGS.
14433 (FUNC_mpfr_f_f): Update call to FUNC.
14434 (FUNC_mpfr_f_f): Likewise.
14435 (FUNC_mpfr_ff_f): Likewise.
14436 (FUNC_mpfr_if_f): Likewise.
14437 (FUNC_mpc_c_f): Likewise.
14438 (FUNC_mpc_c_c): Likewise.
14439 (test_functions): Add fma. Update calls to FUNC.
14440 (handle_input_arg): Add argument exact_args.
14441 (add_test): Update call to handle_input_arg.
14442 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14443 (output_for_one_input_case): Update call to calc_generic_results.
14444 Recalculate exact zero results in each rounding mode.
14446 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14447 non-negative before setting low bit.
14448 * math/auto-libm-test-in: Mark one asin test possibly having
14449 spurious underflow.
14450 * math/auto-libm-test-out: Regenerated.
14451 * sysdeps/i386/fpu/libm-test-ulps: Update.
14452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14454 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14456 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14457 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14458 ports/sysdeps/unix/sysv/linux/microblaze.
14459 * README: Add missing listing for microblaze*-*-linux-gnu.
14461 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
14463 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14466 2014-02-16 Mike Frysinger <vapier@gentoo.org>
14468 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14469 * sysdeps/unix/sysv/linux/ia64: Move directory from
14470 ports/sysdeps/unix/sysv/linux/ia64.
14471 * README: Update listing for ia64-*-linux-gnu.
14473 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14474 Joseph Myers <joseph@codesourcery.com>
14476 * Makeconfig (test-name): New variable.
14477 (evaluate-test): Likewise.
14478 * Makerules (do-test-clean): Remove .test-result files.
14479 (common-mostlyclean): Likewise.
14480 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14481 * scripts/evaluate-test.sh: New file.
14483 2014-02-14 Joseph Myers <joseph@codesourcery.com>
14485 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14486 separate $(objpfx)tst-fopenloc-cmp.out and
14487 $(objpfx)tst-fopenloc-mem.out targets.
14488 (tests): Update dependencies.
14489 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14490 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14491 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14492 (tst-rxspencer-no-utf8-ARGS): New variable.
14493 (tst-rxspencer-no-utf8-ENV): Likewise.
14494 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14495 instead of $(objpfx)tst-rxspencer-mem.
14496 ($(objpfx)tst-rxspencer-mem): Change target to
14497 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14498 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14499 * posix/tst-rxspencer-no-utf8.c: New file.
14501 * elf/Makefile ($(objpfx)order.out): Remove rule.
14502 [$(run-built-tests) = yes] (tests): Depend on
14503 $(objpfx)order-cmp.out.
14504 ($(objpfx)order-cmp.out): New rule.
14505 [$(run-built-tests) = yes] (tests): Depend on
14506 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14507 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14508 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14509 $(objpfx)tst-array5-static-cmp.out.
14510 ($(objpfx)tst-array1.out): Remove rule.
14511 ($(objpfx)tst-array1-cmp.out): New rule.
14512 ($(objpfx)tst-array1-static.out): Remove rule.
14513 ($(objpfx)tst-array1-static-cmp.out): New rule.
14514 ($(objpfx)tst-array2.out): Remove rule.
14515 ($(objpfx)tst-array2-cmp.out): New rule.
14516 ($(objpfx)tst-array3.out): Remove rule.
14517 ($(objpfx)tst-array3-cmp.out): New rule.
14518 ($(objpfx)tst-array4.out): Remove rule.
14519 ($(objpfx)tst-array4-cmp.out): New rule.
14520 ($(objpfx)tst-array5.out): Remove rule.
14521 ($(objpfx)tst-array5-cmp.out): New rule.
14522 ($(objpfx)tst-array5-static.out): Remove rule.
14523 ($(objpfx)tst-array5-static-cmp.out): New rule.
14524 [$(run-built-tests) = yes] (tests): Depend on
14525 $(objpfx)order2-cmp.out.
14526 ($(objpfx)order2.out): Remove rule.
14527 ($(objpfx)order2-cmp.out): New rule.
14528 ($(objpfx)tst-initorder.out): Remove rule.
14529 [$(run-built-tests) = yes] (tests): Depend on
14530 $(objpfx)tst-initorder-cmp.out.
14531 ($(objpfx)tst-initorder-cmp.out): New rule.
14532 ($(objpfx)tst-initorder2.out): Remove rule.
14533 [$(run-built-tests) = yes] (tests): Depend on
14534 $(objpfx)tst-initorder2-cmp.out.
14535 ($(objpfx)tst-initorder2-cmp.out): New rule.
14536 [$(run-built-tests) = yes] (tests): Depend on
14537 $(objpfx)tst-unused-dep-cmp.out.
14538 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14539 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14540 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14541 on $(objpfx)tst-setvbuf1-cmp.out.
14542 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14543 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14544 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14545 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14546 ($(objpfx)tst-svc.out): Remove rule.
14547 ($(objpfx)tst-svc-cmp.out): New rule.
14549 2014-02-13 Joseph Myers <joseph@codesourcery.com>
14551 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14552 * ctype/ctype.h [__USE_MISC]: Likewise.
14553 * dirent/dirent.h [__USE_MISC]: Likewise.
14554 * grp/grp.h [__USE_MISC]: Likewise.
14555 * io/fcntl.h [__USE_MISC]: Likewise.
14556 * io/sys/stat.h [__USE_MISC]: Likewise.
14557 * libio/stdio.h [__USE_MISC]: Likewise.
14558 * posix/unistd.h [__USE_MISC]: Likewise.
14559 * pwd/pwd.h [__USE_MISC]: Likewise.
14560 * stdlib.h [__USE_MISC]: Likewise.
14561 * string/bits/string2.h [__USE_MISC]: Likewise.
14562 * string/string.h [__USE_MISC]: Likewise.
14563 * time/time.h [__USE_MISC]: Likewise.
14565 2014-02-13 Andreas Schwab <schwab@suse.de>
14568 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14569 second answer buffer if it was separately allocated.
14571 2014-02-12 Joseph Myers <joseph@codesourcery.com>
14573 * sysdeps/mips/math-tests.h: Include <features.h>.
14574 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14575 (ROUNDING_TESTS_long_double): Do not define.
14576 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14577 (EXCEPTION_TESTS_long_double): Likewise.
14578 * sysdeps/mips/mips64/libm-test-ulps: Update.
14580 * include/features.h (__USE_BSD): Remove macro definitions.
14581 (__USE_SVID): Likewise.
14582 (_BSD_SOURCE): Likewise.
14583 (_SVID_SOURCE): Likewise.
14584 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14585 from definition of _DEFAULT_SOURCE.
14586 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14588 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14589 * bits/mman.h [__USE_BSD]: Likewise.
14590 * bits/termios.h [__USE_BSD]: Likewise.
14591 * bits/waitstatus.h [__USE_BSD]: Likewise.
14592 * ctype/ctype.h [__USE_SVID]: Likewise.
14593 * dirent/dirent.h [__USE_BSD]: Likewise.
14594 * grp/grp.h [__USE_SVID]: Likewise.
14595 [__USE_BSD]: Likewise.
14596 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14597 * io/fcntl.h [__USE_BSD]: Likewise.
14598 * io/ftw.h [__USE_BSD]: Likewise.
14599 * io/sys/stat.h [__USE_BSD]: Likewise.
14600 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14601 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14602 * libio/stdio.h [__USE_SVID]: Likewise.
14603 [__USE_BSD]: Likewise.
14604 * math/math.h [__USE_SVID]: Likewise.
14605 [__USE_BSD]: Likewise.
14606 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14607 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14608 * misc/search.h [__USE_SVID]: Likewise.
14609 * misc/sys/mman.h [__USE_BSD]: Likewise.
14610 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14611 * misc/sys/uio.h [__USE_BSD]: Likewise.
14612 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14613 * posix/glob.h [__USE_BSD]: Likewise.
14614 * posix/regex.h [__USE_BSD]: Likewise.
14615 * posix/sys/types.h [__USE_BSD]: Likewise.
14616 [__USE_SVID]: Likewise.
14617 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14618 * posix/sys/wait.h [__USE_BSD]: Likewise.
14619 [__USE_SVID]: Likewise.
14620 * posix/unistd.h [__USE_BSD]: Likewise.
14621 [__USE_SVID]: Likewise.
14622 * pwd/pwd.h [__USE_SVID]: Likewise.
14623 * resolv/netdb.h [__USE_BSD]: Likewise.
14624 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14625 * signal/signal.h [__USE_BSD]: Likewise.
14626 [__USE_SVID]: Likewise.
14627 * socket/sys/socket.h [__USE_BSD]: Likewise.
14628 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14629 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14630 [__USE_SVID]: Likewise.
14631 * string/bits/string2.h [__USE_BSD]: Likewise.
14632 [__USE_SVID]: Likewise.
14633 * string/bits/string3.h [__USE_BSD]: Likewise.
14634 * string/endian.h [__USE_BSD]: Likewise.
14635 * string/string.h [__USE_SVID]: Likewise.
14636 [__USE_BSD]: Likewise.
14637 * string/strings.h [__USE_BSD]: Likewise.
14638 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14639 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14640 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14641 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14642 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14643 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14645 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14647 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14648 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14650 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14651 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14653 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14655 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14656 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14657 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14659 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14661 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14662 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14663 * termios/termios.h [__USE_BSD]: Likewise.
14664 * time/sys/time.h [__USE_BSD]: Likewise.
14665 * time/time.h [__USE_BSD]: Likewise.
14666 [__USE_SVID]: Likewise.
14668 * Makefile (subdir_targets): Remove subdir_lint.out.
14670 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14671 (do-tst-printf): Likewise.
14672 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14673 $(objpfx)tst-printf.out.
14675 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14677 * Makerules (check-abi-%): Change target to
14678 $(objpfx)check-abi-%.out.
14679 (check-abi target): Update dependencies.
14680 (check-abi-pattern variable): Redirect output of diff to $@.
14681 (check-abi variable): Likewise.
14682 * elf/Makefile (check-abi): Update dependencies.
14684 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14686 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14687 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14689 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14690 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14691 value has largest subnormal exponent.
14692 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14693 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14694 * sysdeps/aarch64/soft-fp/sfp-machine.h
14695 (_FP_TININESS_AFTER_ROUNDING): New macro.
14696 * sysdeps/alpha/soft-fp/sfp-machine.h
14697 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14698 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14700 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14701 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14702 * sysdeps/mips/soft-fp/sfp-machine.h
14703 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14704 * sysdeps/powerpc/soft-fp/sfp-machine.h
14705 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14706 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14708 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14709 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14710 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14711 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14712 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14715 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
14718 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14721 2014-02-12 Richard Henderson <rth@redhat.com>
14723 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14724 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14725 * sysdeps/unix/sysv/linux/alpha: Move directory from
14726 ports/sysdeps/unix/sysv/linux/alpha.
14727 * README: Update listing for alpha-*-linux-gnu.
14729 2014-02-11 Joseph Myers <joseph@codesourcery.com>
14731 * include/features.h: Update comment documenting feature test
14733 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14735 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14736 (_SVID_SOURCE): Likewise.
14737 (_DEFAULT_SOURCE): Update description of default features.
14738 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14740 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14741 (S_ISVTX): Likewise.
14742 * manual/math.texi (Mathematical Constants): Likewise.
14743 * manual/signal.texi (Interrupted Primitives): Likewise.
14744 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14745 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14746 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14747 Don't refer to _SVID_SOURCE in warning text.
14749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14751 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14753 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14754 * sysdeps/mips/dl-lookup.c: Remove.
14755 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14757 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14760 * math/auto-libm-test-in: Add testcase for expl.
14761 * math/auto-libm-test-out: Regenerate.
14762 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14763 calculation of unsafe.
14764 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14766 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14768 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14769 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14770 ports/sysdeps/unix/sysv/linux/aarch64.
14771 * README: Update listing for aarch64*-*-linux-gnu.
14773 2014-02-11 Will Newton <will.newton@linaro.org>
14775 * manual/probes.texi (Mathematical Function Probes): Use
14776 "triggered" instead of "hit".
14778 * manual/probes.texi (Internal Probes): Add documentation
14779 of setjmp, longjmp and longjmp_target probes.
14781 * include/stap-probe.h: Add comment about probe argument
14784 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14785 definition. (tr_where, tr_freehook, tr_mallochook,
14786 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14788 2014-02-11 David S. Miller <davem@davemloft.net>
14790 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14791 processing int_tests.
14793 2014-02-10 Joseph Myers <joseph@codesourcery.com>
14795 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14796 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14797 * sysdeps/unix/sysv/linux/mips: Move directory from
14798 ports/sysdeps/unix/sysv/linux/mips.
14799 * README: Update listing for mips-*-linux-gnu and
14800 mips64-*-linux-gnu.
14802 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14804 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14805 * sysdeps/unix/sysv/linux/m68k: Move directory from
14806 ports/sysdeps/unix/sysv/linux/m68k.
14807 * README: Update listing for m68k-*-linux-gnu.
14809 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14811 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14812 * sysdeps/unix/sysv/linux/generic: Move directory from
14813 ports/sysdeps/unix/sysv/linux/generic.
14814 * sysdeps/unix/sysv/linux/tile: Move directory from
14815 ports/sysdeps/unix/sysv/linux/tile.
14816 * README: Update listing for tile*-*-linux-gnu.
14818 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
14820 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14822 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14823 * catgets/open_catalog.c (__open_catalog): Likewise.
14824 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14825 * debug/confstr_chk.c: Likewise.
14826 * debug/fread_chk.c (__fread_chk): Likewise.
14827 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14828 * debug/getgroups_chk.c: Likewise.
14829 * debug/mbsnrtowcs_chk.c: Likewise.
14830 * debug/mbsrtowcs_chk.c: Likewise.
14831 * debug/mbstowcs_chk.c: Likewise.
14832 * debug/memcpy_chk.c: Likewise.
14833 * debug/memmove_chk.c: Likewise.
14834 * debug/mempcpy_chk.c: Likewise.
14835 * debug/memset_chk.c: Likewise.
14836 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14837 * debug/strcat_chk.c (__strcat_chk): Likewise.
14838 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14839 * debug/strncat_chk.c (__strncat_chk): Likewise.
14840 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14841 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14842 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14843 * debug/wcpncpy_chk.c: Likewise.
14844 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14845 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14846 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14847 * debug/wcsncpy_chk.c: Likewise.
14848 * debug/wcsnrtombs_chk.c: Likewise.
14849 * debug/wcsrtombs_chk.c: Likewise.
14850 * debug/wcstombs_chk.c: Likewise.
14851 * debug/wmemcpy_chk.c: Likewise.
14852 * debug/wmemmove_chk.c: Likewise.
14853 * debug/wmempcpy_chk.c: Likewise.
14854 * debug/wmemset_chk.c: Likewise.
14855 * dirent/scandirat.c (SCANDIRAT): Likewise.
14856 * dlfcn/dladdr1.c (dladdr1): Likewise.
14857 * dlfcn/dladdr.c (dladdr): Likewise.
14858 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14859 * dlfcn/dlerror.c (__dlerror): Likewise.
14860 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14861 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14862 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14863 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14864 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14865 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14866 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14867 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14869 * elf/dl-conflict.c: Likewise.
14870 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14871 * elf/dl-dst.h: Likewise.
14872 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14873 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14874 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14875 * elf/dl-init.c (call_init, _dl_init): Likewise.
14876 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14877 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14878 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14880 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14882 * elf/dl-minimal.c (__libc_memalign): Likewise.
14883 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14884 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14885 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14886 * elf/dl-sym.c (do_sym): Likewise.
14887 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14888 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14889 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14890 * elf/dl-writev.h (_dl_writev): Likewise.
14891 * elf/ldconfig.c (search_dir): Likewise.
14892 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14893 (dl_main): Likewise.
14894 * elf/setup-vdso.h (setup_vdso): Likewise.
14895 * grp/compat-initgroups.c (compat_call): Likewise.
14896 * grp/fgetgrent.c (fgetgrent): Likewise.
14897 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14898 * grp/putgrent.c (putgrent): Likewise.
14899 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14901 * hurd/hurdinit.c: Likewise.
14902 * iconvdata/8bit-gap.c (struct): Likewise.
14903 * iconvdata/ansi_x3.110.c : Likewise.
14904 * iconvdata/big5.c : Likewise.
14905 * iconvdata/big5hkscs.c : Likewise.
14906 * iconvdata/cp1255.c: Likewise.
14907 * iconvdata/cp1258.c : Likewise.
14908 * iconvdata/cp932.c : Likewise.
14909 * iconvdata/euc-cn.c: Likewise.
14910 * iconvdata/euc-jisx0213.c : Likewise.
14911 * iconvdata/euc-jp.c: Likewise.
14912 * iconvdata/euc-jp-ms.c : Likewise.
14913 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14914 * iconvdata/gb18030.c : Likewise.
14915 * iconvdata/gbbig5.c (const): Likewise.
14916 * iconvdata/gbgbk.c: Likewise.
14917 * iconvdata/gbk.c : Likewise.
14918 * iconvdata/ibm1364.c : Likewise.
14919 * iconvdata/ibm930.c : Likewise.
14920 * iconvdata/ibm932.c: Likewise.
14921 * iconvdata/ibm933.c : Likewise.
14922 * iconvdata/ibm935.c : Likewise.
14923 * iconvdata/ibm937.c : Likewise.
14924 * iconvdata/ibm939.c : Likewise.
14925 * iconvdata/ibm943.c: Likewise.
14926 * iconvdata/iso_11548-1.c: Likewise.
14927 * iconvdata/iso-2022-cn.c : Likewise.
14928 * iconvdata/iso-2022-cn-ext.c : Likewise.
14929 * iconvdata/iso-2022-jp-3.c: Likewise.
14930 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14931 * iconvdata/iso-2022-kr.c : Likewise.
14932 * iconvdata/iso646.c (gconv_end): Likewise.
14933 * iconvdata/iso_6937-2.c : Likewise.
14934 * iconvdata/iso_6937.c : Likewise.
14935 * iconvdata/iso8859-1.c: Likewise.
14936 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14937 * iconvdata/shift_jisx0213.c : Likewise.
14938 * iconvdata/sjis.c : Likewise.
14939 * iconvdata/t.61.c : Likewise.
14940 * iconvdata/tcvn5712-1.c : Likewise.
14941 * iconvdata/tscii.c: Likewise.
14942 * iconvdata/uhc.c : Likewise.
14943 * iconvdata/unicode.c (gconv_end): Likewise.
14944 * iconvdata/utf-16.c (gconv_end): Likewise.
14945 * iconvdata/utf-32.c (gconv_end): Likewise.
14946 * iconvdata/utf-7.c (base64): Likewise.
14947 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14948 * iconv/gconv_close.c (__gconv_close): Likewise.
14949 * iconv/gconv_open.c (__gconv_open): Likewise.
14950 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14951 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14952 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14953 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14954 (ucs4le_internal_loop_single): Likewise.
14955 * iconv/iconv.c (iconv): Likewise.
14956 * iconv/iconv_close.c: Likewise.
14957 * iconv/loop.c (SINGLE): Likewise.
14958 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14959 * include/atomic.h: Likewise.
14960 * inet/inet6_option.c (option_alloc): Likewise.
14961 * intl/bindtextdom.c (set_binding_values): Likewise.
14962 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14963 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14964 * intl/localealias.c (read_alias_file): Likewise.
14965 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14966 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14967 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14968 * libio/fmemopen.c (fmemopen): Likewise.
14969 * libio/iofgets.c (_IO_fgets): Likewise.
14970 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14971 * libio/iofgetws.c (fgetws): Likewise.
14972 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14973 * libio/iogetdelim.c (_IO_getdelim): Likewise.
14974 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14975 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14976 * locale/findlocale.c (_nl_find_locale): Likewise.
14977 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14978 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14980 * locale/setlocale.c (setlocale): Likewise.
14981 * login/programs/pt_chown.c (main): Likewise.
14982 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14983 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14984 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14985 (mmap, mmap64, mremap, munmap): Likewise.
14986 * math/e_exp2l.c: Likewise.
14987 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14988 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14989 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14990 * math/s_catan.c (__catan): Likewise.
14991 * math/s_catanf.c (__catanf): Likewise.
14992 * math/s_catanh.c (__catanh): Likewise.
14993 * math/s_catanhf.c (__catanhf): Likewise.
14994 * math/s_catanhl.c (__catanhl): Likewise.
14995 * math/s_catanl.c (__catanl): Likewise.
14996 * math/s_ccosh.c (__ccosh): Likewise.
14997 * math/s_ccoshf.c (__ccoshf): Likewise.
14998 * math/s_ccoshl.c (__ccoshl): Likewise.
14999 * math/s_cexp.c (__cexp): Likewise.
15000 * math/s_cexpf.c (__cexpf): Likewise.
15001 * math/s_cexpl.c (__cexpl): Likewise.
15002 * math/s_clog10.c (__clog10): Likewise.
15003 * math/s_clog10f.c (__clog10f): Likewise.
15004 * math/s_clog10l.c (__clog10l): Likewise.
15005 * math/s_clog.c (__clog): Likewise.
15006 * math/s_clogf.c (__clogf): Likewise.
15007 * math/s_clogl.c (__clogl): Likewise.
15008 * math/s_csin.c (__csin): Likewise.
15009 * math/s_csinf.c (__csinf): Likewise.
15010 * math/s_csinh.c (__csinh): Likewise.
15011 * math/s_csinhf.c (__csinhf): Likewise.
15012 * math/s_csinhl.c (__csinhl): Likewise.
15013 * math/s_csinl.c (__csinl): Likewise.
15014 * math/s_csqrt.c (__csqrt): Likewise.
15015 * math/s_csqrtf.c (__csqrtf): Likewise.
15016 * math/s_csqrtl.c (__csqrtl): Likewise.
15017 * math/s_ctan.c (__ctan): Likewise.
15018 * math/s_ctanf.c (__ctanf): Likewise.
15019 * math/s_ctanh.c (__ctanh): Likewise.
15020 * math/s_ctanhf.c (__ctanhf): Likewise.
15021 * math/s_ctanhl.c (__ctanhl): Likewise.
15022 * math/s_ctanl.c (__ctanl): Likewise.
15023 * math/w_pow.c: Likewise.
15024 * math/w_powf.c: Likewise.
15025 * math/w_powl.c: Likewise.
15026 * math/w_scalb.c (sysv_scalb): Likewise.
15027 * math/w_scalbf.c (sysv_scalbf): Likewise.
15028 * math/w_scalbl.c (sysv_scalbl): Likewise.
15029 * misc/error.c (error_tail): Likewise.
15030 * misc/pselect.c (__pselect): Likewise.
15031 * nis/nis_callback.c (__nis_create_callback): Likewise.
15032 * nis/nis_call.c (__nisfind_server): Likewise.
15033 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15034 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15035 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15036 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15037 * nis/nis_lookup.c (nis_lookup): Likewise.
15038 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15039 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15040 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15041 * nis/nis_xdr.c (xdr_endpoint): Likewise.
15042 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15043 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15044 * nis/nss_compat/compat-initgroups.c (add_group)
15045 (internal_getgrent_r): Likewise.
15046 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15047 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15048 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15049 (internal_getspnam_r): Likewise.
15050 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15051 (_nss_nis_getaliasbyname_r): Likewise.
15052 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15053 (_nss_nis_getntohost_r): Likewise.
15054 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15055 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15056 (_nss_nis_getgrgid_r): Likewise.
15057 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15058 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15059 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15060 (_nss_nis_gethostbyname4_r): Likewise.
15061 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15062 (initgroups_netid): Likewise.
15063 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15064 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15065 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15066 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15067 (_nss_nis_getprotobynumber_r): Likewise.
15068 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15069 (_nss_nis_getsecretkey): Likewise.
15070 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15071 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15072 (_nss_nis_getpwuid_r): Likewise.
15073 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15074 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15075 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15076 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15077 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15078 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15079 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15081 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15082 (_nss_nisplus_getntohost_r): Likewise.
15083 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15084 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15085 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15086 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15088 * nis/nss_nisplus/nisplus-initgroups.c
15089 (_nss_nisplus_initgroups_dyn): Likewise.
15090 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15091 (_nss_nisplus_getnetbyaddr_r): Likewise.
15092 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15093 (_nss_nisplus_getprotobynumber_r): Likewise.
15094 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15095 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15096 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15098 * nis/nss_nisplus/nisplus-service.c
15099 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15100 (_nss_nisplus_getservbyport_r): Likewise.
15101 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15102 (_nss_nisplus_getspnam_r): Likewise.
15103 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15105 * nscd/aicache.c (addhstaiX): Likewise.
15106 * nscd/cache.c (cache_search, prune_cache): Likewise.
15107 * nscd/connections.c (register_traced_file, send_ro_fd)
15108 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15109 (main_loop_epoll): Likewise.
15110 * nscd/grpcache.c (addgrbyX): Likewise.
15111 * nscd/hstcache.c (addhstbyX): Likewise.
15112 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15113 * nscd/mem.c (gc, mempool_alloc): Likewise.
15114 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15115 (addinnetgrX): Likewise.
15116 * nscd/nscd-client.h (__nscd_acquire_maplock)
15117 (__nscd_drop_map_ref): Likewise.
15118 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15119 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15120 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15122 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15123 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15124 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15125 (__nscd_get_map_ref): Likewise.
15126 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15127 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15129 * nscd/pwdcache.c (addpwbyX): Likewise.
15130 * nscd/selinux.c (preserve_capabilities): Likewise.
15131 * nscd/servicescache.c (addservbyX): Likewise.
15132 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15133 * posix/fnmatch.c (fnmatch): Likewise.
15134 * posix/getopt.c (_getopt_internal_r): Likewise.
15135 * posix/glob.c (glob, glob_in_dir): Likewise.
15136 * posix/wordexp.c (exec_comm_child): Likewise.
15137 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15138 (getanswer_r, gaih_getanswer_slice): Likewise.
15139 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15140 * resolv/res_init.c: Likewise.
15141 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15142 * resolv/res_query.c (__libc_res_nquery): Likewise.
15143 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15145 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15146 * stdio-common/perror.c (perror): Likewise.
15147 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15148 * stdio-common/tmpnam.c (tmpnam): Likewise.
15149 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15150 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15151 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15153 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15154 * stdlib/putenv.c (putenv): Likewise.
15155 * stdlib/setenv.c (__add_to_environ): Likewise.
15156 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15157 * stdlib/strtol_l.c (INTERNAL): Likewise.
15158 * string/memmem.c (memmem): Likewise.
15159 * string/strerror.c (strerror): Likewise.
15160 * string/strnlen.c (__strnlen): Likewise.
15161 * string/test-memmem.c (simple_memmem): Likewise.
15162 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15163 * sunrpc/pm_getport.c (__get_socket): Likewise.
15164 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15165 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15166 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15167 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15169 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15170 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15171 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15172 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15173 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15174 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15176 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15178 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15179 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15180 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15181 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15182 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15184 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15185 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15186 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15187 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15188 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15189 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15191 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15193 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15195 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15196 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15197 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15198 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15199 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15200 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15201 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15203 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15204 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15205 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15207 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15208 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15210 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15212 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15214 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15216 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15218 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15219 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15220 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15222 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15223 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15224 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15225 * sysdeps/posix/sleep.c: Likewise.
15226 * sysdeps/posix/tempname.c: Likewise.
15227 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15228 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15230 * sysdeps/powerpc/powerpc32/dl-machine.h
15231 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15232 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15233 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15234 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15235 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15237 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15238 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15239 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15240 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15241 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15242 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15243 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15244 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15245 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15246 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15247 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15248 (elf_machine_lazy_rel): Likewise.
15249 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15250 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15251 (elf_machine_lazy_rel): Likewise.
15252 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15253 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15254 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15255 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15256 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15257 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15258 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15259 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15261 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15262 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15263 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15264 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15265 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15266 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15267 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15268 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15269 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15270 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15271 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15273 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15274 (__posix_fallocate64_l64): Likewise.
15275 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15276 (posix_fallocate): Likewise.
15277 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15279 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15280 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15281 (getifaddrs_internal): Likewise.
15282 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15283 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15284 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15285 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15286 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15287 (__posix_fallocate64_l64): Likewise.
15288 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15290 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15291 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15292 (__get_clockfreq): Likewise.
15293 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15294 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15295 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15296 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15298 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15299 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15300 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15302 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15303 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15304 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15305 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15306 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15307 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15308 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15310 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15311 (posix_fallocate): Likewise.
15312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15313 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15314 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15315 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15316 (elf_machine_rela, elf_machine_rela_relative)
15317 (elf_machine_lazy_rel): Likewise.
15318 * time/asctime.c (asctime_internal): Likewise.
15319 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15320 * time/tzset.c (__tzset_parse_tz): Likewise.
15321 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15322 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15323 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15324 * wcsmbs/wcsmbsload.h: Likewise.
15327 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15329 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15330 (arena_get2): Remove THREAD_STATS conditionals.
15331 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15332 (__malloc_stats, int): Likewise.
15334 2014-02-08 Mike Frysinger <vapier@gentoo.org>
15336 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15337 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15339 * manual/setjmp.texi: Fix typos/grammar errors.
15341 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15342 Only return early when n is <= 0. Delete unused return statement.
15344 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15345 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15346 * debug/tst-longjmp_chk3.c: New file.
15348 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15349 (test_main): Replace code with set_fortify_handler call.
15350 * debug/test-strcpy_chk.c: Likewise.
15351 * debug/tst-chk1.c: Likewise.
15352 * debug/tst-longjmp_chk.c: Likewise.
15353 * test-skeleton.c: Include fcntl.h & paths.h
15354 (set_fortify_handler): Define.
15356 * debug/tst-longjmp_chk.c: Add header comment and include
15357 ../test-skeleton.c.
15358 (do_test): Mark static.
15359 (TEST_FUNCTION): Define.
15361 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15362 (IP_PMTUDISC_INTERFACE): Likewise.
15363 (IP_MULTICAST_IF): Likewise.
15364 (IP_MULTICAST_TTL): Likewise.
15365 (IP_MULTICAST_LOOP): Likewise.
15366 (IP_ADD_MEMBERSHIP): Likewise.
15367 (IP_DROP_MEMBERSHIP): Likewise.
15368 (IP_UNBLOCK_SOURCE): Likewise.
15369 (IP_BLOCK_SOURCE): Likewise.
15370 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15371 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15372 (IP_MSFILTER): Likewise.
15373 (MCAST_JOIN_GROUP): Likewise.
15374 (MCAST_BLOCK_SOURCE): Likewise.
15375 (MCAST_UNBLOCK_SOURCE): Likewise.
15376 (MCAST_LEAVE_GROUP): Likewise.
15377 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15378 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15379 (MCAST_MSFILTER): Likewise.
15380 (IP_MULTICAST_ALL): Likewise.
15381 (IP_UNICAST_IF): Likewise.
15383 * timezone/Makefile: Delete $(have-ksh) check.
15384 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15385 * timezone/tzselect.ksh: Add +x mode bits.
15387 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15388 (ANON_INODE_FS_MAGIC): Likewise.
15389 (BDEVFS_MAGIC): Likewise.
15390 (BINFMTFS_MAGIC): Likewise.
15391 (BTRFS_TEST_MAGIC): Likewise.
15392 (CRAMFS_MAGIC_WEND): Likewise.
15393 (DEBUGFS_MAGIC): Likewise.
15394 (ECRYPTFS_SUPER_MAGIC): Likewise.
15395 (EXT3_SUPER_MAGIC): Likewise.
15396 (EXT4_SUPER_MAGIC): Likewise.
15397 (FUTEXFS_SUPER_MAGIC): Likewise.
15398 (HOSTFS_SUPER_MAGIC): Likewise.
15399 (HUGETLBFS_MAGIC): Likewise.
15400 (MINIX3_SUPER_MAGIC): Likewise.
15401 (MTD_INODE_FS_MAGIC): Likewise.
15402 (NILFS_SUPER_MAGIC): Likewise.
15403 (OPENPROM_SUPER_MAGIC): Likewise.
15404 (PIPEFS_MAGIC): Likewise.
15405 (PSTOREFS_MAGIC): Likewise.
15406 (QNX6_SUPER_MAGIC): Likewise.
15407 (RAMFS_MAGIC): Likewise.
15408 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15409 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15410 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15411 (SECURITYFS_MAGIC): Likewise.
15412 (SELINUX_MAGIC): Likewise.
15413 (SMACK_MAGIC): Likewise.
15414 (SOCKFS_MAGIC): Likewise.
15415 (SQUASHFS_MAGIC): Likewise.
15416 (STACK_END_MAGIC): Likewise.
15417 (TMPFS_MAGIC): Likewise.
15418 (USBDEVICE_SUPER_MAGIC): Likewise.
15419 (V9FS_MAGIC): Likewise.
15420 (XENFS_SUPER_MAGIC): Likewise.
15421 (CRAMFS_MAGIC): Fix typo in comment.
15422 (EXT2_SUPER_MAGIC): Update comment.
15423 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15425 2014-02-08 Joseph Myers <joseph@codesourcery.com>
15427 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15428 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15429 * sysdeps/unix/sysv/linux/arm: Move directory from
15430 ports/sysdeps/unix/sysv/linux/arm.
15431 * README: Update listing for arm-*-linux-gnueabi.
15433 * README: Remove mention of am33.
15435 2014-02-07 Roland McGrath <roland@hack.frob.com>
15437 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15438 than the comma operator, to avoid "rhs of comma has no effect"
15440 (__sigfillset, __sigandset, __sigorset): Likewise.
15441 * include/signal.h (__sigemptyset): Likewise.
15442 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15444 2014-02-07 Allan McRae <allan@archlinux.org>
15446 * version.h (RELEASE): Set to "development".
15447 (VERSION): Set to "2.19.90"
15448 * NEWS: Add 2.20 section.
15450 2014-02-06 Carlos O'Donell <carlos@redhat.com>
15453 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15455 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15457 * manual/contrib.texi: Update entry for Carlos O'Donell,
15458 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15460 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
15462 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15464 * sysdeps/unix/sysv/linux/kernel-features.h
15465 [__LINUX_KERNEL_VERSION >= 0x020621]
15466 (__ASSUME_PROC_PID_TASK_COMM): Define.
15468 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15471 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15472 conversion when destination buffer does not have enough space.
15473 * libio/tst-ftell-partial-wide.c: New test case.
15474 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15476 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15477 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15478 Leonard and Allan McRae.
15480 2014-02-04 David S. Miller <davem@davemloft.net>
15482 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15485 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15514 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15516 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15517 * shlib-versions: Likewise.
15519 2014-02-04 Roland McGrath <roland@hack.frob.com>
15520 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15522 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15523 (abilist-pattern): New variable, set to %-le.abilist.
15525 * Makerules (abilist-pattern): New variable.
15526 (vpath): Use $(abilist-pattern) in place of %.abilist.
15527 (check-abi-% pattern rule): Likewise.
15528 (check-abi, update-abi): Likewise.
15530 2014-02-04 Eric Wong <normalperson@yhbt.net>
15532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15534 2014-02-03 Carlos O'Donell <carlos@redhat.com>
15536 * manual/startup.texi: Add next, previous, and top entries for
15537 the `Program Arguments' and `Environment Variables' nodes.
15539 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
15541 * manual/macros.texi: Add comments before MTASC-safety macros.
15543 * manual/users.texi: Document MTASC-safety properties.
15545 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15546 (pthread_getspecific, pthread_setspecific): Format with
15547 @deftypefun, and add @safety note.
15548 * manual/signal.texi: Move comments that analyze the above
15549 functions to their home place.
15551 2014-02-03 Allan McRae <allan@archlinux.org>
15553 * po/sl.po: Update Slovenian translation from translation project.
15555 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
15557 * manual/time.texi (timegm): Add missing blank after @c.
15558 Reported by Joseph Myers <joseph@codesourcery.com>.
15560 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
15562 * manual/check-safety.sh: New.
15563 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15565 * manual/terminal.texi: Document MTASC-safety properties.
15567 * manual/filesys.texi: Document MTASC-safety properties.
15569 * manual/errno.texi: Document MTASC-safety properties.
15571 * manual/intro.texi: Document safety identifiers and
15574 * manual/string.texi (wcstok): Fix prototype.
15575 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15577 * manual/time.texi: Document MTASC-safety properties.
15579 * manual/string.texi: Document MTASC-safety properties.
15581 * manual/threads.texi: Document MTASC-safety properties.
15583 * manual/stdio.texi: Document MTASC-safety properties.
15585 * manual/syslog.texi: Document MTASC-safety properties.
15587 * manual/sysinfo.texi: Document MTASC-safety properties.
15589 * manual/startup.texi: Document MTASC-safety properties.
15591 * manual/socket.texi: Document MTASC-safety properties.
15593 * manual/signal.texi: Document MTASC-safety properties.
15595 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
15597 * manual/setjmp.texi: Document MTASC-safety properties.
15599 * manual/search.texi: Document MTASC-safety properties.
15601 * manual/resource.texi: Document MTASC-safety properties.
15603 * manual/process.texi: Document MTASC-safety properties.
15605 * manual/platform.texi: Document MTASC-safety properties.
15607 * manual/pipe.texi: Document MTASC-safety properties.
15609 * manual/pattern.texi: Document MTASC-safety properties.
15611 * manual/message.texi: Document MTASC-safety properties.
15614 * manual/memory.texi: Document MTASC-safety properties.
15616 * manual/math.texi: Document MTASC-safety properties.
15618 * manual/locale.texi: Document MTASC-safety properties.
15620 * manual/llio.texi: Document MTASC-safety properties.
15622 * manual/libdl.texi: New.
15624 * manual/lang.texi: Document MTASC-safety properties.
15626 * manual/job.texi: Document MTASC-safety properties.
15628 * manual/getopt.texi: Document MTASC-safety properties.
15630 * manual/ctype.texi: Document MTASC-safety properties.
15632 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15635 * csu/libc-tls.c (static_map): Remove variable.
15636 (__libc_setup_tls): Use main executable's link map for TLS data.
15637 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15638 casing for LM_ID_BASE and GL(dl_nns).
15639 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15640 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15641 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15642 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15643 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15645 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15648 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
15650 * manual/debug.texi: Document MTASC-safety properties.
15652 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15655 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15656 of __x86_64__ when disabling x87 inline functions.
15658 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
15660 * manual/charset.texi: Document MTASC-safety properties.
15662 * manual/crypt.texi: Document MTASC-safety properties.
15664 * manual/conf.texi: Document MTASC-safety properties.
15666 * manual/arith.texi: Document MTASC-safety properties.
15668 * manual/argp.texi: Document MTASC-safety properties.
15670 * manual/macros.texi: Introduce macros to document multi
15671 thread, asynchronous signal and asynchronous cancellation
15673 * manual/intro.texi: Introduce the properties themselves.
15675 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15677 * sysdeps/sh/sh4/Makefile: New file.
15679 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15681 * math/gen-libm-test.pl ($srcdir): New variable.
15682 ($auto_input): Use it.
15684 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15687 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15688 access beyond array bounds when parsing netgroups file.
15690 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15691 the old buffer before realloc.
15693 2014-01-27 Allan McRae <allan@archlinux.org>
15695 * po/fr.po: Update French translation from translation project.
15697 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15699 * sysdeps/sh/libm-test-ulps: Regenerate.
15701 2014-01-24 David S. Miller <davem@davemloft.net>
15703 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15705 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15707 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15708 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15710 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15713 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15714 string pointers after reallocation.
15716 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15718 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15719 __SH4A__ instead of __SH_FPU_ANY__.
15721 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15723 * sysdeps/sh/fpu_control.h: New file.
15724 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15725 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15726 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15727 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15728 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15729 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15730 * sysdeps/sh/sys/ucontext.h: Remove.
15731 * sysdeps/sh/sys: Remove directory.
15733 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15735 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15736 s390/sys/ucontext.h.
15737 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15738 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15740 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15743 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15745 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15748 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15749 Adjust the vDSO correctly for internal calls.
15750 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15752 2014-01-20 Allan McRae <allan@archlinux.org>
15754 * po/ca.po: Update Catalan translation from translation project.
15756 2014-01-16 Mike Frysinger <vapier@gentoo.org>
15758 * sysdeps/s390/sotruss-lib.c: New file.
15760 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15763 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15764 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15765 local calls issues by not having a PLT stub required for IFUNC calls.
15766 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15768 2014-01-16 Joseph Myers <joseph@codesourcery.com>
15770 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15771 * math/test-fpucw-static.c: Likewise.
15773 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15776 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15778 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15780 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15781 implementation for powerpc.
15783 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
15786 * sysdeps/posix/system.c (__libc_system): Do not enable
15787 asynchronous cancellation.
15789 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15792 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15793 handling only for numbers special also in the IEEE case.
15795 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15797 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15799 2014-01-11 Allan McRae <allan@archlinux.org>
15801 * po/bg.po: Update Bulgarian translation from translation project.
15803 * po/de.po: Update German translation from translation project.
15805 2014-01-10 Roland McGrath <roland@hack.frob.com>
15807 * sysdeps/generic/gcc-compat.h: New file.
15809 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15811 * benchtests/asin-inputs: Correct slow inputs.
15812 * benchtests/acos-inputs: Likewise.
15814 2014-01-10 Allan McRae <allan@archlinux.org>
15816 * po:sv.po: Update Swedish translation from translation project.
15818 * po/vi.po: Update Vietnamese translation from translation project.
15820 * po/eo.po: Update Esperanto translation from translation project.
15822 * po/cs.po: Update Czech translation from translation project.
15824 * po/nl.po: Update Dutch translation from translation project.
15826 * po/pl.po: Update Polish translation from translation project.
15828 * po/ru.po: Update Russian translation from translation project.
15830 * po/uk.po: Update Ukrainian translation from translation project.
15832 2014-01-08 Brooks Moses <bmoses@google.com>
15834 * elf/dl-load.c: Fix comment typo.
15836 2014-01-08 Carlos O'Donell <carlos@redhat.com>
15838 * po/header.pot: Rename to...
15839 * po/pot.header: ... this.
15840 * po/Makefile: Use pot.header.
15842 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15843 Maxim Kuvyrkov <maxim@kugelworks.com>
15846 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15847 SRC and DEST against LEN.
15849 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15852 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15854 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15856 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15860 2014-01-08 Joseph Myers <joseph@codesourcery.com>
15863 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15864 for large positive arguments.
15866 2014-01-07 Joseph Myers <joseph@codesourcery.com>
15868 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15870 * math/auto-libm-test-in: Mark various tests with
15871 xfail-rounding:ldbl-128ibm.
15872 * math/auto-libm-test-out: Regenerated.
15875 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15876 Increase overflow threshold.
15878 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
15881 * stdio-common/vfprintf.c: Check for integer overflow.
15883 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15885 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15886 the first argument and return value of __tls_get_addr_internal.
15888 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15890 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15891 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15893 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15895 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15896 * sysdeps/s390/rtld-global-offsets.sym: New file.
15897 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15899 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15900 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15901 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15903 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15904 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15910 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15911 halfs of GPRs for high_gprs contexts.
15912 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15913 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15915 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15917 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15919 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15920 for high GPRs (uc_high_gprs) and for future extensions
15922 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15923 for future extensions (__reserved).
15924 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15926 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15927 SC_HIGHGPRS offset definition.
15928 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15929 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15931 * Versions.def: Add GLIBC_2.19 for libpthread.
15932 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15933 siglongjmp for libpthread with GLIBC_2.19 symver.
15934 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15935 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15936 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15937 * sysdeps/s390/__longjmp.c: New file.
15938 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15939 * sysdeps/s390/longjmp.c: New file.
15940 * sysdeps/s390/setjmp.S: New file.
15941 * sysdeps/s390/sigjmp.S: New file.
15942 * sysdeps/s390/v1-longjmp.c: New file.
15943 * sysdeps/s390/v1-setjmp.h: New file.
15944 * sysdeps/s390/v1-sigjmp.c: New file.
15945 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15946 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15947 GLIBC_2.19 version.
15948 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15949 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15950 versioned symbols for ____longjmp_chk.
15951 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15961 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15962 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15963 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15964 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15965 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15966 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15967 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15968 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15969 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15970 * sysdeps/s390/rtld-__longjmp.c: New file.
15971 * sysdeps/s390/rtld-setjmp.S: New file.
15973 2014-01-06 Joseph Myers <joseph@codesourcery.com>
15976 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15977 Return -__logl (x) for small positive arguments without evaluating
15980 2014-01-06 Mike Frysinger <vapier@gentoo.org>
15982 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15984 (__ptrace_peeksiginfo_args): ... this.
15985 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15986 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15987 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15989 2014-01-06 Allan McRae <allan@archlinux.org>
15991 * inet/netinet/in.h: Fix typo in comment.
15993 2014-01-05 Andreas Jaeger <aj@suse.de>
15995 * sysdeps/i386/fpu/libm-test-ulps: Update.
15997 2014-01-05 Allan McRae <allan@archlinux.org>
15999 * po/libc.pot: Regenerated.
16001 * malloc/memusagestat.c: Fix gettext call formatting.
16003 2014-01-04 Sami Kerola <kerolasa@iki.fi>
16005 * nscd/nscd.c: Improve usage() output.
16007 2014-01-04 Mike Frysinger <vapier@gentoo.org>
16009 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16010 * sysdeps/unix/sysv/linux/configure: Regenerated.
16011 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16012 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16014 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16017 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16018 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16020 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16022 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16023 extra tokens at end of #undef directive.
16024 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16025 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16026 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16028 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16030 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16032 * math/auto-libm-test-in: Mark various tests with
16033 xfail-rounding:ldbl-128ibm.
16034 * math/auto-libm-test-out: Regenerated.
16036 2014-01-02 Joseph Myers <joseph@codesourcery.com>
16039 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16040 numbers with subnormal high part when calculating exponent.
16043 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16047 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16049 (__ieee754_acoshl): Use __log1pl not __log1p.
16051 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
16053 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16054 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16055 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16056 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16057 (reused_arena, arena_get2): Convert to GNU style.
16058 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16059 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16060 (memalign_check, __malloc_set_state): Likewise.
16061 * malloc/mallocbug.c (main): Likewise.
16062 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16063 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16064 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16065 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16066 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16067 (__posix_memalign, malloc_info): Likewise.
16068 * malloc/malloc.h: Likewise.
16069 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16070 (mallochook, memalignhook, reallochook, mabort): Likewise.
16071 * malloc/mcheck.h: Likewise.
16072 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16073 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16074 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16075 * malloc/morecore.c (__default_morecore): Likewise.
16076 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16077 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16078 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16079 (print_and_abort): Likewise.
16080 * malloc/obstack.h: Likewise.
16081 * malloc/set-freeres.c (__libc_freeres): Likewise.
16082 * malloc/tst-mallocstate.c (main): Likewise.
16083 * malloc/tst-mtrace.c (main): Likewise.
16084 * malloc/tst-realloc.c (do_test): Likewise.
16086 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16089 * nscd/netgroupcache.c (do_notfound): New function.
16090 (addgetnetgrentX): Use it.
16093 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16094 NSS_STATUS_NOTFOUND.
16096 2014-01-01 Joseph Myers <joseph@codesourcery.com>
16098 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16101 2014-01-01 Allan McRae <allan@archlinux.org>
16103 * scripts/update-copyrights: Update configure input file suffix.
16105 * NEWS: Update copyright year.
16106 * catgets/gencat.c: Likewise.
16107 * csu/version.c: Likewise.
16108 * debug/catchsegv.sh: Likewise.
16109 * debug/pcprofiledump.c: Likewise.
16110 * debug/xtrace.sh: Likewise.
16111 * elf/ldconfig.c: Likewise.
16112 * elf/ldd.bash.in: Likewise.
16113 * elf/pldd.c: Likewise.
16114 * elf/sotruss.ksh: Likewise.
16115 * elf/sprof.c: Likewise.
16116 * iconv/iconv_prog.c: Likewise.
16117 * iconv/iconvconfig.c: Likewise.
16118 * locale/programs/locale.c: Likewise.
16119 * locale/programs/localedef.c: Likewise.
16120 * login/programs/pt_chown.c: Likewise.
16121 * malloc/memusage.sh: Likewise.
16122 * malloc/memusagestat.c: Likewise.
16123 * malloc/mtrace.pl: Likewise.
16124 * manual/libc.texinfo: Likewise.
16125 * nscd/nscd.c: Likewise.
16126 * nss/getent.c: Likewise.
16127 * nss/makedb.c: Likewise.
16128 * posix/getconf.c: Likewise.
16129 * scripts/test-installation.pl: Likewise.
16131 * All files with FSF copyright notices: Update copyright dates
16132 using scripts/update-copyrights.
16133 * intl/plural.c: Regenerated.
16134 * locale/programs/charmap-kw.h: Likewise.
16135 * locale/programs/locfile-kw.h: Likewise.
16137 2013-12-31 Mike Frysinger <vapier@gentoo.org>
16139 * sysdeps/unix/sysv/linux/configure: Regenerated.
16140 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16141 the linux/fanotify.h header.
16142 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16143 HAVE_LINUX_FANOTIFY_H is defined.
16145 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16147 * benchtests/cos-inputs: New inputs.
16148 * benchtests/sin-inputs: Likewise.
16150 * benchtests/atan-inputs: New inputs. Fix name of multiple
16151 precision fallback inputs.
16153 * benchtests/atanh-inputs: New inputs.
16154 * benchtests/tanh-inputs: Likewise.
16156 * benchtests/acosh-inputs: New inputs.
16157 * benchtests/asinh-inputs: Likewise.
16159 * benchtests/cosh-inputs: New inputs.
16160 * benchtests/sinh-inputs: Likewise.
16162 * benchtests/acos-inputs: Add more inputs.
16163 * benchtests/asin-inputs: Likewise.
16165 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
16168 * manual/arith.texi: Fix spelling.
16169 * manual/charset.texi: Likewise.
16170 * manual/errno.texi: Likewise.
16171 * manual/filesys.texi: Likewise.
16172 * manual/lang.texi: Likewise.
16173 * manual/llio.texi: Likewise.
16174 * manual/locale.texi: Likewise.
16175 * manual/message.texi: Likewise.
16176 * manual/resource.texi: Likewise.
16177 * manual/search.texi: Likewise.
16178 * manual/setjmp.texi: Likewise.
16179 * manual/stdio.texi: Likewise.
16180 * manual/string.texi: Likewise.
16181 * manual/sysinfo.texi: Likewise.
16182 * manual/time.texi: Likewise.
16184 2013-12-27 Carlos O'Donell <carlos@redhat.com>
16186 * po/sl.po: New file.
16188 2013-12-27 Mike Frysinger <vapier@gentoo.org>
16190 * .gitignore: Add core/.gdbinit/.gdb_history.
16192 2013-12-27 Allan McRae <allan@archlinux.org>
16195 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16196 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16198 2013-12-24 Brooks Moses <bmoses@google.com>
16200 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16201 all compilers that claim C++98 compliance, not just GCC.
16202 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16205 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16207 * NEWS: Restore accidentally deleted bug-fix entries.
16209 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16210 Ondřej Bílka <neleai@seznam.cz>
16213 * malloc/malloc.c (_int_free): Perform sanity check only if we
16216 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
16219 * manual/stdio.texi (String Input Conversions): Clarify that character
16220 classes are not supported.
16222 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16226 2013-12-22 Joseph Myers <joseph@codesourcery.com>
16229 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16230 Calculate results for small negative arguments directly rather
16231 than using reflection formula with special underflow handling.
16233 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16234 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16235 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16236 (fchflags): Likewise.
16237 (revoke): Likewise.
16238 (setlogin): Likewise.
16239 (sigaltstack): Likewise.
16241 (sigblock): Remove.
16242 (sigsetmask): Likewise.
16244 (waitpid): Likewise.
16245 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16246 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16248 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16249 * sysdeps/unix/bsd/Makefile: ... here.
16250 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16251 * sysdeps/unix/bsd/Versions: ... here.
16252 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16253 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16254 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16255 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16256 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16257 * sysdeps/unix/bsd/sigblock.c: ... here.
16258 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16259 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16260 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16261 * sysdeps/unix/bsd/sigvec.c: ... here.
16262 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16263 * sysdeps/unix/bsd/tcdrain.c: ... here.
16264 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16265 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16266 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16267 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16268 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16269 * sysdeps/unix/bsd/wait.c: ... here.
16270 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16271 * sysdeps/unix/bsd/wait3.c: ... here.
16272 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16273 * sysdeps/unix/bsd/waitpid.c: ... here.
16275 2013-12-21 Joseph Myers <joseph@codesourcery.com>
16278 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16279 round-to-nearest for [!USE_AS_EXPM1L].
16280 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16281 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16282 more tests of exp and exp10. Expect some exp10 tests to miss
16283 exceptions or fail in directed rounding modes.
16284 * math/auto-libm-test-out: Regenerated.
16285 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16286 (exp10_test_tonearest): New function.
16287 (exp10_towardzero_test_data): New array.
16288 (exp10_test_towardzero): New function.
16289 (exp10_downward_test_data): New array.
16290 (exp10_test_downward): New function.
16291 (exp10_upward_test_data): New array.
16292 (exp10_test_upward): New function.
16293 (main): Call the new functions.
16294 * sysdeps/i386/fpu/libm-test-ulps: Update.
16295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16297 2013-12-20 Joseph Myers <joseph@codesourcery.com>
16299 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16300 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16301 * math/auto-libm-test-out: Regenerated.
16302 * math/libm-test.inc (acosh_test_data): Add more tests.
16303 (atanh_test_data): Likewise.
16304 (ceil_test_data): Likewise.
16305 (copysign_test_data): Likewise.
16306 * sysdeps/i386/fpu/libm-test-ulps: Update.
16307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16309 * timezone/checktab.awk: Update from tzcode 2013i.
16310 * timezone/private.h: Likewise.
16311 * timezone/scheck.c: Likewise.
16312 * timezone/tzfile.h: Likewise.
16313 * timezone/tzselect.ksh: Likewise.
16314 * timezone/zdump.c: Likewise.
16315 * timezone/zic.c: Likewise.
16317 * math/auto-libm-test-in: Add tests of cpow.
16318 * math/auto-libm-test-out: Regenerated.
16319 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16320 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16322 (func_calc_desc): Add mpc_cc_c union field.
16323 (test_functions): Add cpow.
16324 (special_fill_2pi): New function.
16325 (special_real_inputs): Add 2pi.
16326 (calc_generic_results): Handle mpc_cc_c.
16327 * sysdeps/i386/fpu/libm-test-ulps: Update.
16328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16330 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16331 csqrt, ctan and ctanh.
16332 * math/auto-libm-test-out: Regenerated.
16333 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16334 (TEST_COND_x86): Likewise.
16335 (ccos_test_data): Use AUTO_TESTS_c_c.
16336 (ccosh_test_data): Likewise.
16337 (cexp_test_data): Likewise.
16338 (clog_test_data): Likewise.
16339 (csqrt_test_data): Likewise.
16340 (ctan_test_data): Likewise.
16341 (ctan_tonearest_test_data): Likewise.
16342 (ctan_towardzero_test_data): Likewise.
16343 (ctan_downward_test_data): Likewise.
16344 (ctan_upward_test_data): Likewise.
16345 (ctanh_test_data): Likewise.
16346 (ctanh_tonearest_test_data): Likewise.
16347 (ctanh_towardzero_test_data): Likewise.
16348 (ctanh_downward_test_data): Likewise.
16349 (ctanh_upward_test_data): Likewise.
16350 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16352 (func_calc_desc): Add mpc_c_c union field.
16353 (FUNC_mpc_c_c): New macro.
16354 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16355 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16357 (special_fill_min_subnorm_p120): New function.
16358 (special_real_inputs): Add min_subnorm_p120.
16359 (calc_generic_results): Handle mpc_c_c.
16360 * sysdeps/i386/fpu/libm-test-ulps: Update.
16361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16363 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16365 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16366 (do_sin_slow): New functions.
16367 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16368 (cslow2, csloww1, csloww2): Use the new functions.
16370 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16371 Use M to change sign of result instead of X. Assume X is
16373 (csloww1): Likewise.
16377 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16378 arguments A and DA.
16382 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16384 (sloww1): Don't adjust sign of DX.
16385 (csloww1): Likewise.
16386 (sloww2): Use X directly and don't adjust sign of DX.
16387 (csloww2): Likewise.
16389 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16391 * math/auto-libm-test-in: Add tests of cabs and carg.
16392 * math/auto-libm-test-out: Regenerated.
16393 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16394 (carg_test_data): Likewise.
16395 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16397 (func_calc_desc): Add mpc_c_f union field.
16398 (test_functions): Add cabs and carg.
16399 (calc_generic_results): Handle mpc_c_f.
16401 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16402 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16403 as a macro and a compat symbol.
16404 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16405 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16406 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16407 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16408 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16409 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16411 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16413 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16415 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16417 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16419 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16421 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16422 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16425 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16429 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16431 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16432 trailing whitespace removed.
16433 * scripts/config.guess: Update to version 2013-11-29.
16434 * scripts/config.sub: Update to version 2013-10-01.
16436 * math/auto-libm-test-in: Add tests of sincos.
16437 * math/auto-libm-test-out: Regenerated.
16438 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16439 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16441 (func_calc_desc): Add mpfr_f_11 union field.
16442 (test_functions): Add sincos.
16443 (calc_generic_results): Handle mpfr_f_11.
16444 * sysdeps/i386/fpu/libm-test-ulps: Update.
16445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16447 2013-12-19 Andreas Schwab <schwab@suse.de>
16449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16451 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16452 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16453 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16455 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16457 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16458 * sysdeps/i386/fpu/libm-test-ulps: Update.
16459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16462 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16463 round-to-nearest mode when using frndint.
16464 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16465 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16466 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16468 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16470 * math/auto-libm-test-out: Regenerated.
16471 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16472 (TEST_COND_x86): Likewise.
16473 (expm1_tonearest_test_data): New array.
16474 (expm1_test_tonearest): New function.
16475 (expm1_towardzero_test_data): New array.
16476 (expm1_test_towardzero): New function.
16477 (expm1_downward_test_data): New array.
16478 (expm1_test_downward): New function.
16479 (expm1_upward_test_data): New array.
16480 (expm1_test_upward): New function.
16481 (main): Run the new test functions.
16482 * sysdeps/i386/fpu/libm-test-ulps: Update.
16483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16485 * include/features.h: Update comment documenting feature test
16486 macros. Mention _DEFAULT_SOURCE in comment.
16487 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16488 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16489 _BSD_SOURCE and _SVID_SOURCE.
16490 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16491 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16492 !_SVID_SOURCE]: Likewise.
16493 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16494 (__USE_POSIX_IMPLICITLY): Define.
16495 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16496 (_POSIX_SOURCE): Undefine and redefine.
16497 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16498 (_POSIX_C_SOURCE): Likewise.
16499 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16500 (Feature Test Macros): Update documentation of default features.
16502 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16504 * benchtests/Makefile: Add bench-strtok.
16505 * benchtests/bench-strtok.c: New file: strtok benchtest.
16507 2013-12-19 Allan McRae <allan@archlinux.org>
16509 * manual/install.texi: Suppress menu for plain text output.
16510 * INSTALL: Regenerated.
16512 2013-12-18 Brooks Moses <bmoses@google.com>
16515 * misc/getauxval.c: Include errno.h.
16516 (__getauxval): Set errno to ENOENT if the requested type is not
16518 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16519 don't declare with __attribute_const__.
16520 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16521 * manual/startup.texi: Document that getauxval sets errno.
16523 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16525 * math/auto-libm-test-in: Add tests of jn and yn.
16526 * math/auto-libm-test-out: Regenerated.
16527 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16528 (yn_test_data): Likewise.
16529 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16531 (func_calc_desc): Add mpfr_if_f union field.
16532 (FUNC_mpfr_if_f): New macro.
16533 (test_functions): Add jn and yn.
16534 (calc_generic_results): Assert type of second input for
16535 mpfr_ff_f. Handle mpfr_if_f.
16536 (output_for_one_input_case): Disable all checking for arguments
16537 fitting floating-point types in case of an integer argument.
16538 * sysdeps/i386/fpu/libm-test-ulps: Update.
16539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16542 Don't expect fegetround reference in libm.so.
16544 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16546 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16547 $(config-cflags-nofma).
16549 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16551 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16552 * math/auto-libm-test-out: Regenerated.
16555 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16556 to determine exponent and adjust argument to have exponent of -1.
16557 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16559 * math/auto-libm-test-out: Regenerated.
16560 * sysdeps/i386/fpu/libm-test-ulps: Update.
16561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16563 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
16565 * manual/probes.texi: Remove cases when per-thread arenas are
16568 2013-12-18 Andreas Schwab <schwab@suse.de>
16570 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16571 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16572 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16573 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16574 * sysdeps/i386/i686/multiarch/Makefile: Update.
16575 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16577 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16579 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16580 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16582 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16585 Support TZ transition times < 00:00:00.
16586 This is needed for version-3 tz-format files; it supports time
16587 stamps past 2037 for America/Godthab (the only entry in the tz
16588 database for which this change is relevant).
16589 * manual/time.texi (TZ Variable): Document transition times
16590 from -167:59:59 through -00:00:01.
16591 * time/tzset.c (tz_rule): Time of day is now signed.
16592 (__tzset_parse_tz): Parse negative time of day.
16594 Document TZ transition times >= 25:00:00.
16595 * manual/time.texi (TZ Variable): Document transition times from
16596 25:00:00 through 167:59:59. These are already supported, and this
16597 support will help with version-3 tz-format files.
16599 * manual/time.texi (TZ Variable): Modernize North America example
16600 to reflect current (i.e., 2007-and-later) daylight saving rules.
16602 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16604 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16606 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16607 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16608 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16609 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16610 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16611 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16612 * sysdeps/unix/bsd/clock.c: Likewise.
16613 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16614 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16615 * sysdeps/unix/bsd/init-posix.c: Likewise.
16616 * sysdeps/unix/bsd/poll.c: Likewise.
16617 * sysdeps/unix/bsd/ptsname.c: Likewise.
16618 * sysdeps/unix/bsd/seekdir.c: Likewise.
16619 * sysdeps/unix/bsd/setegid.c: Likewise.
16620 * sysdeps/unix/bsd/seteuid.c: Likewise.
16621 * sysdeps/unix/bsd/setgid.c: Likewise.
16622 * sysdeps/unix/bsd/setrgid.c: Likewise.
16623 * sysdeps/unix/bsd/setruid.c: Likewise.
16624 * sysdeps/unix/bsd/setsid.c: Likewise.
16625 * sysdeps/unix/bsd/setuid.c: Likewise.
16626 * sysdeps/unix/bsd/sigaction.c: Likewise.
16627 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16628 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16629 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16630 * sysdeps/unix/bsd/telldir.c: Likewise.
16631 * sysdeps/unix/bsd/times.c: Likewise.
16632 * sysdeps/unix/bsd/usleep.c: Likewise.
16634 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16635 ($(objpfx)libbsd-compat.a): Remove rule.
16637 * include/features.h (__FAVOR_BSD): Do not define.
16638 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16639 features conflicting with POSIX.
16640 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16641 (_BSD_SOURCE): Remove description of not being a subset of other
16642 feature test macros.
16643 * manual/job.texi (getpgrp): Do not document BSD version.
16644 (getpgid): Do not document by reference to BSD getpgrp.
16645 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16646 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16647 * signal/signal.h [__FAVOR_BSD]: Likewise.
16648 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16649 instead of making contents conditional on [__FAVOR_BSD].
16650 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16652 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16656 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16659 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16660 values below 2**-450, not 2**-500.
16661 * math/auto-libm-test-in: Don't allow spurious underflow from
16663 * math/auto-libm-test-out: Regenerated.
16667 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16668 values of ha and hb and sort them after adjusting subnormal
16670 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16672 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16673 values of ea and eb and sort them after adjusting subnormal
16675 * math/auto-libm-test-in: Do not expect some hypot tests of
16676 subnormals to fail. Add more hypot tests.
16677 * math/auto-libm-test-out: Regenerated.
16679 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16682 * sysdeps/sh/s_fma.c: New file.
16683 * sysdeps/sh/s_fmaf.c: New file.
16684 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16686 * sysdeps/sh/Implies: Add sh/soft-fp.
16688 2013-12-16 Roland McGrath <roland@hack.frob.com>
16690 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16691 level of indirection to members `objname', `errstring', `malloced'.
16692 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16693 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16694 it as the __longjmp argument (just pass 1 instead).
16695 (_dl_catch_error): Initialize C with argument pointers and address of
16696 volatile local ERRCODE rather than copying values out of C at return.
16698 2013-12-16 Joseph Myers <joseph@codesourcery.com>
16700 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16701 * math/auto-libm-test-out: Regenerated.
16702 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16703 (hypot_test_data): Likewise.
16704 (pow_test_data): Likewise.
16705 (pow_tonearest_test_data): Likewise.
16706 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16708 (func_calc_desc): Add mpfr_ff_f union field.
16709 (FUNC_mpfr_ff_f): New macro.
16710 (test_functions): Add atan2, hypot and pow.
16711 (special_fill_min): New function.
16712 (special_fill_minus_min): Likewise.
16713 (special_fill_min_subnorm): Likewise.
16714 (special_fill_minus_min_subnorm): Likewise.
16715 (special_real_inputs): Add min, -min, min_subnorm and
16717 (calc_generic_results): Handle mpfr_ff_f.
16718 * sysdeps/i386/fpu/libm-test-ulps: Update.
16719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16721 2013-12-16 Will Newton <will.newton@linaro.org>
16723 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16724 (Aligned Memory Blocks): Add documentation for aligned_alloc
16725 and suggest it as an alternative to posix_memalign.
16726 (Hooks for Malloc): Document __memalign_hook is also called
16727 for aligned_alloc. (Summary of Malloc): Add summary for
16728 aligned alloc. Document __memalign_hook is also called
16731 2013-12-16 Will Newton <will.newton@linaro.org>
16733 * manual/memory.texi (Malloc Examples): Clarify default
16734 alignment documentation. Suggest posix_memalign rather
16735 than memalign or valloc.
16736 (Aligned Memory Blocks): Remove suggestion to use memalign
16737 or valloc. Remove obsolete comment about BSD.
16738 Document memalign errno values and mark the function obsolete.
16739 Document posix_memalign returned error codes. Mark valloc
16740 as obsolete. (Hooks for Malloc): __memalign_hook is also
16741 called for posix_memalign and valloc.
16742 (Summary of Malloc): Add posix_memalign to function summary.
16743 __memalign_hook is also called for posix_memalign and valloc.
16745 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16747 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16751 (sloww): Use mynumber union. Expand ternary operator into
16752 if-else statements.
16753 (cslow): use mynumber union.
16755 2013-12-16 Allan McRae <allan@archlinux.org>
16757 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16758 * configure: Regenerated.
16760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16763 * configure.ac: Added --enable-maintainer-mode. Check for
16764 autoconf when enabled.
16765 * configure: Regenerated.
16767 * nscd/nscd.service: New file.
16768 * nscd/nscd.tmpfiles: New file.
16770 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
16773 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16774 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16775 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16776 (strstr): Add __strstr_sse2_unaligned ifunc.
16777 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16778 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16779 (strcasestr): Remove __strcasestr_sse42 ifunc.
16780 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16781 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16784 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16786 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16787 * sysdeps/sh/bits/fenv.h: ... here.
16788 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16790 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16792 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16794 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16795 hypotf multiarch implementations.
16796 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16797 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16798 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16799 multiarch hypot for PPC64.
16800 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16801 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16802 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16803 multiarch hypotf for PPC64.
16805 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16806 modff multiarch implementations.
16807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16810 multiarch modf for PPC64.
16811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16814 multiarch modff for PPC64.
16816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16817 and logl multiarch implementations.
16818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16821 multiarch logb for PPC64.
16822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16825 multiarch logb for PPC64.
16826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16829 multiarch logb for PPC64.
16831 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16832 isinff multiarch implementation.
16833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16837 multiarch isinf for PPC64.
16838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16841 multiarch isinff for PPC64.
16843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16844 finitef multiarch implementation.
16845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16849 multiarch finite for PPC64.
16850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16853 multiarch finitef for PPC64.
16855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16856 lrint multiarch implementation.
16857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16861 multiarch llrint for PPC64.
16862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16863 multiarch lrint for PPC64.
16865 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16866 copysignf multiarch implementation.
16867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16872 multiarch copysign for PPC64.
16873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16874 multiarch copysignf for PPC64.
16876 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16877 multiarch implementation.
16878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16886 multiarch llround for PPC64.
16887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16888 multiarch trunc for PPC64.
16889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16890 multiarch truncf for PPC64.
16892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16893 multiarch implementation.
16894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16902 multiarch llround for PPC64.
16903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16904 multiarch round for PPC64.
16905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16906 multiarch roundf for PPC64.
16908 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16909 multiarch implementation.
16910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16918 multiarch llround for PPC64.
16919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16920 multiarch floor for PPC64.
16921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16922 multiarch floorf for PPC64.
16924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16925 multiarch implementation.
16926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16934 multiarch llround for PPC64.
16935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16936 multiarch ceil for PPC64.
16937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16938 multiarch ceilf for PPC64.
16940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16941 multiarch implementation.
16942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16949 multiarch llround for PPC64.
16950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16951 multiarch lround for PPC64.
16953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16954 multiarch implementation.
16955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16962 multiarch isnan for PPC64.
16963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16964 multiarch isnanf for PPC64.
16966 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16967 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16968 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16969 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16970 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16973 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16974 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16976 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16979 multiarch implementations.
16980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16981 (__libc_ifunc_impl_list): Likewise.
16982 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16983 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16984 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16985 multiarch stpcpy for PPC64.
16987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16988 multiarch implementations.
16989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16990 (__libc_ifunc_impl_list): Likewise.
16991 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16992 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16993 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16994 multiarch strcpy for PPC64.
16996 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16997 redefine function name.
16998 (_wordcopy_fwd_dest_aligned): Likewise.
16999 (_wordcopy_bwd_aligned): Likewise.
17000 (_wordcopy_bwd_dest_aligned): Likewise.
17001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17002 multiarch implementations.
17003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17004 (__libc_ifunc_impl_list): Likewise.
17005 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17006 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17007 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17008 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17009 multiarch wcscpy for PPC64.
17011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17012 multiarch implementations.
17013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17014 (__libc_ifunc_impl_list): Likewise.
17015 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17016 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17017 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17018 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17019 multiarch wcscpy for PPC64.
17021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17022 multiarch implementations.
17023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17024 (__libc_ifunc_impl_list): Likewise.
17025 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17026 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17027 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17028 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17029 multiarch wcsrchr for PPC64.
17031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17032 multiarch implementations.
17033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17034 (__libc_ifunc_impl_list): Likewise.
17035 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17036 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17037 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17038 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17039 multiarch wcschr for PPC64.
17041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17042 multiarch implementations.
17043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17044 (__libc_ifunc_impl_list): Likewise.
17045 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17046 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17047 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17048 multiarch strchrnul for PPC64.
17050 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17053 (__libc_ifunc_impl_list): Likewise.
17054 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17055 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17056 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17057 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17063 (__libc_ifunc_impl_list): Likewise.
17064 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17065 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17066 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17067 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17071 multiarch implementations.
17072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17073 (__libc_ifunc_impl_list): Likewise.
17074 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17075 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17076 strncasecmp for PPC64.
17077 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17078 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17079 multiarch strncasecmp_l for PPC64.
17081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17082 multiarch implementations.
17083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17084 (__libc_ifunc_impl_list): Likewise.
17085 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17086 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17087 multiarch strcasecmp for PPC64.
17088 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17090 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17091 multiarch strcasecmp_l for PPC64.
17093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17096 (__libc_ifunc_impl_list): Likewise.
17097 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17098 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17099 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17105 (__libc_ifunc_impl_list): Likewise.
17106 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17107 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17108 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17114 (__libc_ifunc_impl_list): Likewise.
17115 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17116 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17117 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17118 rawmemrchr for PPC64.
17120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17123 (__libc_ifunc_impl_list): Likewise.
17124 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17125 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17126 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17132 (__libc_ifunc_impl_list): Likewise.
17133 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17134 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17135 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17141 (__libc_ifunc_impl_list): Likewise.
17142 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17143 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17144 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17147 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17148 avoid cretion of __bzero symbol.
17149 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17151 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17153 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17156 multiarch implementations.
17157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17158 (__libc_ifunc_impl_list): Likewise.
17159 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17160 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17161 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17162 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17164 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17165 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17166 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17167 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17168 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17170 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17172 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17176 (__libc_ifunc_impl_list): Likewise.
17177 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17178 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17179 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17180 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17184 multiarch for POWER/PPC64.
17185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17186 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17187 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17188 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17189 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17190 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17191 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17192 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17193 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17196 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17197 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17198 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17199 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17200 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17201 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17202 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17203 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17204 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17205 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17206 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17207 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17208 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17209 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17210 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17219 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17221 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17223 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17225 * benchtests/Makefile (bench): Add exp2 and log2.
17226 (LDLIBS-bench-exp2): Add -lm.
17227 (LDLIBS-bench-log2): Likewise.
17228 * benchtests/exp2-inputs: New inputs file.
17229 * benchtests/log2-inputs: New inputs file.
17230 * benchtests/log-inputs: Add new inputs.
17231 * benchtests/tan-inputs: Likewise.
17233 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17235 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17237 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17238 (csloww2): ... from here.
17240 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17241 instead of structures.
17242 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17243 (POLYNOMIAL): Likewise.
17244 (TAYLOR_SLOW): Likewise.
17250 (sloww1); Likewise.
17251 (sloww2): Likewise.
17252 (bsloww1): Likewise.
17253 (bsloww2): Likewise.
17254 (cslow2): Likewise.
17255 (csloww): Likewise.
17256 (csloww1): Likewise.
17257 (csloww2): Likewise.
17259 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
17261 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17262 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17263 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17264 * malloc/hooks.c (realloc_check): Likewise.
17266 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17267 * malloc/arena.c: Remove PER_THREAD conditional.
17268 [!PER_THREAD]: Remove code.
17269 (ptmalloc_unlock_all2): Likewise.
17270 (ptmalloc_init): Likewise.
17271 (_int_new_arena): Likewise.
17272 (arena_get2): Likewise.
17273 * malloc/hooks.c (__malloc_get_state): Likewise.
17274 (__malloc_set_state): Likewise.
17275 * malloc/malloc.c: Likewise.
17276 (struct malloc_state): Likewise.
17277 (struct malloc_par): Likewise.
17278 (__libc_realloc): Likewise.
17279 (__libc_mallopt): Likewise.
17281 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17283 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17285 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
17287 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17288 macro to a function. Check for zero perturb_byte.
17289 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17291 * malloc/malloc.c: (force_reg): Remove.
17292 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17293 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17294 force_reg by atomic_forced_read.
17295 * malloc/arena.c (ptmalloc_init): Likewise.
17296 * malloc/hooks.c (top_check): Likewise.
17298 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17302 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17306 2013-12-08 Joseph Myers <joseph@codesourcery.com>
17308 * math/auto-libm-test-in: Add tests of lgamma.
17309 * math/auto-libm-test-out: Regenerated.
17310 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17311 (M_LOG_2_SQRT_PIl): Likewise.
17312 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17313 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17315 (func_calc_desc): Add mpfr_f_f1 union field.
17316 (ARGS1): New macro.
17324 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17325 (test_functions): Add lgamma.
17326 (calc_generic_results): Handle mpfr_f_f1.
17327 * sysdeps/i386/fpu/libm-test-ulps: Update.
17328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17330 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17332 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17333 __mpn_add_n for PowerPC64/POWER7.
17334 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17335 __mpn_sub_n for PowerPC64/POWER7.
17337 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17338 __mpn_addmul_1 for PowerPC64.
17339 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17340 __mpn_submul_1 for PowerPC64.
17341 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17343 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17346 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17349 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17351 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17353 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17355 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17356 add multiarch folders.
17357 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17358 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17359 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17360 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17361 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17362 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17363 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17364 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17365 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17366 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17367 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17376 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17382 multiarch __ieee754_hypot for PowerPC32.
17383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17388 multiarch __ieee754_hypotf for PowerPC32.
17390 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17391 long_double_symbol only if __logbl is defined.
17392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17393 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17395 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17397 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17398 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17399 path for implementation.
17400 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17401 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17403 logb, and logbl multiarch implementations for PowerPC32.
17404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17409 multiarch logb for PowerPC32.
17410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17415 multiarch logbf for PowerPC32.
17416 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17420 multiarch logbl implementation for PowerPC32.
17422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17423 and modff multiarch implementations.
17424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17429 multiarch modf for PowerPC32.
17430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17435 multiarch modff for PowerPC32.
17437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17438 and lrintf multiarch implementations.
17439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17444 multiarch lrint for PowerPC32.
17445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17446 file: multiarch lrintf for PowerPC32.
17448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17449 and lroundf multiarch implementations.
17450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17457 multiarch lround for PowerPC32.
17458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17459 file: multiarch lroundf for PowerPC32.
17461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17462 copysign and copysignf multiarch implementations.
17463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17468 file: multiarch copysign for PowerPC32.
17469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17470 file: multiarch copysignf for PowerPC32.
17472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17473 and truncf multiarch implementations.
17474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17479 multiarch trunc for PowerPC32.
17480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17485 multiarch truncf for PowerPC32.
17487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17488 and roundf multiarch implementations.
17489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17494 multiarch round for PowerPC32.
17495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17500 multiarch roundf for PowerPC32.
17502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17503 and floorf multiarch implementations.
17504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17509 multiarch floor for PowerPC32.
17510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17515 multiarch floorf for PowerPC32.
17517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17518 and ceilf multiarch implementations.
17519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17524 multiarch ceil for PowerPC32.
17525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17530 multiarch ceilf for PowerPC32.
17532 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17534 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17535 FINITEF is defined.
17536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17537 and finitef multiarch implementations.
17538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17543 multiarch finite for PowerPC32.
17544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17547 file: multiarch finitef for PowerPC32.
17549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17550 and isinff multiarch implementations.
17551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17556 multiarch isinf for PowerPC32.
17557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17560 multiarch isinff for PowerPC32.
17562 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17563 alias when __isnan is defined.
17564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17565 and isnanf multiarch implementations.
17566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17575 multiarch isnan for PowerPC32.
17576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17581 multiarch isnanf for PowerPC32.
17583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17584 and sqrtf multiarch implementations.
17585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17590 multiarch sqrt for PowerPC32.
17591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17596 multiarch sqrtf for PowerPC32.
17598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17599 and llroundf multiarch implementations.
17600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17607 file: multiarch llround for PowerPC32.
17608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17609 file: multiarch llroundf for PowerPC32.
17611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17612 multiarch PowerPC32 fpu implementations.
17613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17618 multiarch llrint for PowerPC32.
17619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17628 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17630 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17632 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17634 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17635 multiarch wordcopy for PPC32.
17636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17639 (__libc_ifunc_impl_list): Likewise.
17640 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17641 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17642 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17643 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17644 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17645 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17647 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17648 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17650 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17652 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17654 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17655 multiarch wcscpy for PPC32.
17656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17659 (__libc_ifunc_impl_list): Likewise.
17660 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17661 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17662 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17663 sysdeps/powerpc/power6/wcscpy.c.
17665 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17666 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17668 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17673 multiarch wcsrchr for PPC32.
17674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17677 (__libc_ifunc_impl_list): Likewise.
17678 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17679 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17680 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17681 sysdeps/powerpc/power6/wcsrchr.c.
17683 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17687 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17689 multiarch wcschr for PPc32.
17690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17693 (__libc_ifunc_impl_list): Likewise.
17694 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17695 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17696 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17697 sysdeps/powerpc/power6/wcschr.c.
17699 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17700 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17702 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17703 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17704 file: multiarch strchr for PPC32.
17705 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17708 (__libc_ifunc_impl_list): Likewise.
17710 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17712 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17714 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17716 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17717 multiarch strchrnul for PPC32.
17718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17721 (__libc_ifunc_impl_list): Likewise.
17723 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17725 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17726 multiarch strncasecmp for PPC32.
17727 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17729 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17730 multiarch strncasecmp_l for PPC32.
17731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17732 strncasecmp multiarch objects.
17733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17734 (__libc_ifunc_impl_list): Likewise.
17736 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17738 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17739 multiarch strncasecmp for PPC32.
17740 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17742 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17743 multiarch strcasecmp_l for PPC32.
17744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17747 (__libc_ifunc_impl_list): Likewise.
17749 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17751 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17753 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17754 multiarch strncmp for PPC32.
17755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17758 (__libc_ifunc_impl_list): Likewise.
17760 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17761 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17763 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17764 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17768 (__libc_ifunc_impl_list): Likewise.
17770 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17772 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17774 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17778 (__libc_ifunc_impl_list): Likewise.
17780 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17782 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17784 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17785 multiarch rawmemchr for PPC32.
17786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17789 (__libc_ifunc_impl_list): Likewise.
17791 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17793 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17795 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17796 file: memrchr multiarch for PPC32.
17797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17800 (__libc_ifunc_impl_list): Likewise.
17802 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17803 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17805 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17806 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17807 multiarch memchr for PPC32.
17808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17811 (__libc_ifunc_impl_list): Likewise.
17813 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17814 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17816 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17818 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17819 file: multiarch mempcpy for PPC32.
17820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17823 (__libc_ifunc_impl_list): Likewise.
17825 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17826 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17827 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17828 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17829 multiarch bzero for PPC32.
17830 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17832 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17834 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17835 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17836 file: multiarch memset for PPC32.
17837 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17839 memset multiarch objects.
17840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17841 (__libc_ifunc_impl_list): Likewise.
17843 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17845 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17846 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17848 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17849 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17851 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17852 (__libc_ifunc_impl_list): Likewise.
17854 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17855 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17856 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17858 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17860 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17862 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17863 multiarch memcpy for PPC32.
17864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17867 (__libc_ifunc_impl_list): Likewise.
17869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17870 support multiarch for POWER/PPC32.
17871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17873 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17875 Implies file to make multiarch folder appers before the fpu and
17876 default folder for power4 configuration.
17878 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17880 * scripts/bench.pl: Append volatile keyword to type.
17882 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17884 * sysdeps/sh/sotruss-lib.c: New file.
17885 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17887 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17891 2013-12-05 Joseph Myers <joseph@codesourcery.com>
17894 * math/w_tgamma.c: Include <errno.h>.
17895 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17896 * math/w_tgammaf.c: Include <errno.h>.
17897 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17898 * math/w_tgammal.c: Include <errno.h>.
17899 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17900 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17901 underflow. Add more tgamma tests.
17902 * math/auto-libm-test-out: Regenerated.
17903 * sysdeps/i386/fpu/libm-test-ulps: Update.
17904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17906 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17907 sin, sinh, tan, tanh, tgamma, y0 and y1.
17908 * math/auto-libm-test-out: Regenerated.
17909 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17910 (TEST_COND_x86): Likewise.
17911 (M_E2l): Remove macro.
17913 (M_2_SQRT_PIl): Likewise.
17914 (M_SQRT_PIl): Likewise.
17915 (M_1_DIV_El): Likewise.
17916 (log_test_data): Use AUTO_TESTS_f_f.
17917 (log10_test_data): Likewise.
17918 (log1p_test_data): Likewise.
17919 (log2_test_data): Likewise.
17920 (sin_test_data): Likewise.
17921 (sin_tonearest_test_data): Likewise.
17922 (sin_towardzero_test_data): Likewise.
17923 (sin_downward_test_data): Likewise.
17924 (sin_upward_test_data): Likewise.
17925 (sinh_test_data): Likewise.
17926 (sinh_tonearest_test_data): Likewise.
17927 (sinh_towardzero_test_data): Likewise.
17928 (sinh_downward_test_data): Likewise.
17929 (sinh_upward_test_data): Likewise.
17930 (tan_test_data): Likewise.
17931 (tan_tonearest_test_data): Likewise.
17932 (tan_towardzero_test_data): Likewise.
17933 (tan_downward_test_data): Likewise.
17934 (tan_upward_test_data): Likewise.
17935 (tanh_test_data): Likewise.
17936 (tgamma_test_data): Likewise.
17937 (y0_test_data): Likewise.
17938 (y1_test_data): Likewise.
17939 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17940 (special_real_inputs): Add pi/4.
17941 * sysdeps/i386/fpu/libm-test-ulps: Update.
17942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17944 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17946 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17947 "longjmp_target" static probes.
17948 (__longjmp): Rename to __longjmp_symbol.
17949 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17950 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17951 on which longjmp to generate.
17952 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17953 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17955 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17956 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17957 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17958 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17959 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17960 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17962 __longjmp_symbol based on which __longjmp to generate.
17963 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17965 (setjmp): Rename to setjmp_symbol.
17966 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17967 (_setjmp): Rename to _setjmp_symbol.
17968 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17969 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17970 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17971 which setjmp to generate.
17972 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17973 "longjmp_target" static probes.
17975 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17977 * benchtests/README: Add note about output arguments.
17978 * benchtests/bench-sincos.c: Remove file.
17979 * benchtests/sincos-inputs: New file.
17980 * scripts/bench.pl: Identify output arguments and define
17981 static variables for them.
17983 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17986 * Makefile (INSTALL): Add install-plain.texi as the primary
17988 * manual/install-plain.texi: New file.
17989 * manual/install.texi: Include node directive only for
17990 non-plaintext output.
17992 2013-12-04 Joseph Myers <joseph@codesourcery.com>
17994 * stdlib/longlong.h: Update from GCC.
17998 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17999 * math/w_j0f.c (y0f): Likewise.
18000 * math/w_j0l.c (__y0l): Likewise.
18001 * math/w_j1.c (y1): Likewise.
18002 * math/w_j1f.c (y1f): Likewise.
18003 * math/w_j1l.c (__y1l): Likewise
18004 * math/w_jn.c (yn): Likewise.
18005 * math/w_jnf.c (ynf): Likewise.
18006 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18007 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18008 value for Bessel function domain errors outside _SVID_ mode.
18009 Adjust sign of return value for yn (negative integer, 0).
18010 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18011 by zero in return for negative x and set sign appropriately for
18013 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18014 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18015 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18016 expectations in error cases.
18017 (y1_test_data): Likewise.
18018 (yn_test_data): Likewise.
18019 * sysdeps/i386/fpu/libm-test-ulps: Update.
18020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18022 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18024 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18025 "64" to "64-v1". Add "64-v2".
18026 (abi-64-options): Rename to ...
18027 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18028 (abi-64-condition): Rename to ...
18029 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18030 (abi-64-ld-soname): Rename to ...
18031 (abi-64-v1-ld-soname): ... this.
18032 (abi-64-v2-options): Define.
18033 (abi-64-v2-condition): Likewise.
18034 (abi-64-v2-ld-soname): Likewise.
18035 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18036 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18041 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18042 Alan Modra <amodra@gmail.com>
18044 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18045 New versions for use with the ELFv2 ABI.
18046 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18047 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18049 (struct La_ppc64v2_retval): Likewise.
18050 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18051 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18052 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18053 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18054 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18055 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18056 Do not save or restore CR.
18057 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18058 (_dl_profile_resolve): Do no save or restore CR. Support extended
18059 return values for ELFv2 ABI. Fix location of FPR return registers.
18060 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18061 updated values for _CALL_ELF == 2.
18062 (La_regs, La_retval, int_retval): Likewise.
18064 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18066 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18067 (FRAME_MIN_SIZE_PARM): Likewise.
18068 (FRAME_BACKCHAIN): Likewise.
18069 (FRAME_CR_SAVE): Likewise.
18070 (FRAME_LR_SAVE): Likewise.
18071 (FRAME_TOC_SAVE): Likewise.
18072 (FRAME_PARM_SAVE): Likewise.
18073 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18074 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18075 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18076 (call_mcount_parm_offset): New macro.
18077 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18078 (PROF): Use symbolic stack frame offsets.
18079 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18080 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18081 Redefine in terms of FRAME_MIN_SIZE.
18082 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18083 (_dl_profile_resolve): Likewise. Update comment.
18084 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18085 symbols stack frame offsets.
18086 (__sigsetjmp): Likewise.
18087 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18088 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18089 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18090 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18093 (FRAME_BACKCHAIN): Remove.
18094 (FRAME_CR_SAVE): Likewise.
18095 (FRAME_LR_SAVE): Likewise.
18096 (FRAME_COMPILER_DW): Likewise.
18097 (FRAME_LINKER_DW): Likewise.
18098 (FRAME_TOC_SAVE): Likewise.
18099 (FRAME_PARM_SAVE): Likewise.
18100 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18101 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18102 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18104 (CHECK_SP): Use symbolic stack frame offsets.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18106 zone" instead of caller's parameter save area for temp storage.
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18108 Likewise. Also, use symbolic stack frame offsets.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18110 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18111 our own stack frame instead of the caller's.
18112 (__socket): Use symbolic stack frame offsets.
18114 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18115 Alan Modra <amodra@gmail.com>
18117 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18119 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18120 (PPC64_LOCAL_ENTRY_OFFSET): Define.
18121 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18123 (elf_machine_fixup_plt): Call it.
18124 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18126 (elf_machine_rela): Update call to elf_machine_plt_conflict.
18127 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18128 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18129 r2 before calling target.
18131 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18132 Alan Modra <amodra@gmail.com>
18134 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18135 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18136 versions of macros to support ELFv2 ABI.
18137 (LOCALENTRY): New macro.
18138 (ENTRY, EALIGN): Use it.
18139 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18140 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18141 fall through into ENTRY entry point.
18142 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18143 Only define if _CALL_ELF != 2.
18145 (elf_machine_matches_host): Verify ABI version matches.
18146 (RTLD_START): Use LOCALENTRY.
18147 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18148 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18149 (PLT_ENTRY_WORDS): New macro.
18150 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18151 (elf_machine_runtime_setup): Support ELFv2 ABI.
18152 (elf_machine_fixup_plt): Likewise.
18153 (elf_machine_plt_conflict): Likewise.
18154 (resolve_ifunc): Likewise.
18155 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18156 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18159 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18161 (makecontext): Support ELFv2 ABI.
18162 * elf/elf.h (EF_PPC64_ABI): Define.
18164 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18166 * sysdeps/powerpc/powerpc64/sysdep.h
18167 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18168 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18169 (ENTRY) [ASSEMBLER]: ... but instead here ...
18170 (EALIGN) [ASSEMBLER]: ... and here.
18171 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18172 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18173 (ENTRY_2) [!ASSEMBLER]: Use it.
18174 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18175 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
18176 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18177 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18178 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18180 Use PPC64_LOAD_FUNCPTR.
18182 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18184 2013-12-04 Alan Modra <amodra@gmail.com>
18186 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18187 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18188 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18189 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18191 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18192 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18193 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18194 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18195 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18196 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18198 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18201 (__makecontext): Fix incorrect CFI when backtracing out of
18202 context created via makecontext.
18203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18204 (__setcontext): Fix incorrect CFI during switch to new context.
18205 (__novec_setcontext): Likewise.
18207 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
18210 * time/strptime_l.c (__strptime_internal): Allow modifiers
18212 * time/tst-strptime.c (day_tests): Add testcase.
18214 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18216 * scripts/bench.pl: Skip over blank lines.
18218 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18221 * manual/time.texi (Calendar Time): Clarify what timezone functions
18224 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18228 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
18230 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18232 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18233 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18234 * debug/memset_chk.c (__memset_chk): Likewise.
18235 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18236 * debug/strncpy_chk.c: Likewise.
18238 2013-12-03 Joseph Myers <joseph@codesourcery.com>
18242 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18243 (__ieee754_exp): For possibly underflowing results, check size of
18244 result and force underflow exception if required.
18245 * math/auto-libm-test-in: Add more tests of exp.
18246 * math/auto-libm-test-out: Regenerated.
18247 * sysdeps/i386/fpu/libm-test-ulps: Update.
18248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18251 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18252 * math/w_exp2f.c (__exp2f): Likewise.
18253 * math/w_exp2l.c (__exp2l): Likewise.
18254 * math/auto-libm-test-in: Do not allow missing errno on exp2
18256 * math/auto-libm-test-out: Regenerated.
18258 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
18261 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18262 handle filename validation.
18263 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18266 2013-12-03 Joseph Myers <joseph@codesourcery.com>
18269 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18270 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18271 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18273 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18274 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18275 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18276 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18277 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18278 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18279 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18280 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18281 Add more erfc tests.
18282 * math/auto-libm-test-out: Regenerated.
18283 * sysdeps/i386/fpu/libm-test-ulps: Update.
18284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18286 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18287 exp2, expm1, j0 and j1.
18288 * math/auto-libm-test-out: Regenerated.
18289 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18290 (erfc_test_data): Likewise.
18291 (exp_test_data): Likewise.
18292 (exp_tonearest_test_data): Likewise.
18293 (exp_towardzero_test_data): Likewise.
18294 (exp_downward_test_data): Likewise.
18295 (exp_upward_test_data): Likewise.
18296 (exp10_test_data): Likewise.
18297 (exp2_test_data): Likewise.
18298 (expm1_test_data): Likewise.
18299 (j0_test_data): Likewise.
18300 (j1_test_data): Likewise.
18301 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18302 (input_flag_type): Add flag_xfail_rounding.
18303 (input_flags): Add xfail-rounding.
18304 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18305 (output_for_one_input_case): Handle flag_xfail_rounding.
18306 * sysdeps/i386/fpu/libm-test-ulps: Update.
18307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18309 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18312 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18315 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18318 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18319 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18320 (STAP_PROBE0): New macro.
18321 (STAP_PROBE1): Likewise.
18322 (STAP_PROBE2): Likewise.
18323 (STAP_PROBE3): Likewise.
18324 (STAP_PROBE4): Likewise.
18326 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
18328 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18330 2013-12-02 Steve Ellcey <sellcey@mips.com>
18332 * benchtests/Makefile (bench): Add sqrt.
18333 (LDLIBS-bench-sqrt): New.
18334 * benchtests/sqrt-input: New.
18336 2013-12-02 Pavel Simerda <psimerda@redhat.com>
18338 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18339 (GAIH_EAI): Likewise.
18340 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18341 (gaih_inet): Likewise.
18342 (getaddrinfo): Don't use GAIH_EAI.
18344 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18345 (struct gaih): Remove definition.
18347 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18349 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18350 Use HERRNOP directly.
18352 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18356 2013-11-30 Joseph Myers <joseph@codesourcery.com>
18358 * math/gen-auto-libm-tests.c (test_functions): Add more
18359 single-argument functions.
18360 (special_fill_pi_2): New function.
18361 (special_fill_minus_pi_2): Likewise.
18362 (special_fill_pi_6): Likewise.
18363 (special_fill_minus_pi_6): Likewise.
18364 (special_fill_pi_3): Likewise.
18365 (special_fill_2pi_3): Likewise.
18366 (special_fill_e): Likewise.
18367 (special_fill_1_e): Likewise.
18368 (special_fill_e_minus_1): Likewise.
18369 (special_real_inputs): Add more special inputs.
18370 (output_for_one_input_case): Do not require ERANGE on underflow to
18371 zero if round-to-nearest result does not underflow to zero, unless
18372 exact results required.
18373 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18374 atan, atanh, cbrt, cos and cosh.
18375 * math/auto-libm-test-out: Regenerated.
18376 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18377 (acos_tonearest_test_data): Likewise.
18378 (acos_towardzero_test_data): Likewise.
18379 (acos_downward_test_data): Likewise.
18380 (acos_upward_test_data): Likewise.
18381 (acosh_test_data): Likewise.
18382 (asin_test_data): Likewise.
18383 (asin_tonearest_test_data): Likewise.
18384 (asin_towardzero_test_data): Likewise.
18385 (asin_upward_test_data): Likewise.
18386 (asinh_test_data): Likewise.
18387 (atan_test_data): Likewise.
18388 (atanh_test_data): Likewise.
18389 (cbrt_test_data): Likewise.
18390 (cos_test_data): Likewise.
18391 (cos_tonearest_test_data): Likewise.
18392 (cos_towardzero_test_data): Likewise.
18393 (cos_downward_test_data): Likewise.
18394 (cos_upward_test_data): Likewise.
18395 (cosh_test_data): Likewise.
18396 (cosh_tonearest_test_data): Likewise.
18397 (cosh_towardzero_test_data): Likewise.
18398 (cosh_downward_test_data): Likewise.
18399 (cosh_upward_test_data): Likewise.
18400 * sysdeps/i386/fpu/libm-test-ulps: Update.
18401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18403 2013-11-29 Joseph Myers <joseph@codesourcery.com>
18406 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18407 * math/w_exp10f.c (__exp10f): Likewise.
18408 * math/w_exp10l.c (__exp10l): Likewise.
18409 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18410 errno settings in existing tests.
18413 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18414 precision control set to double precision.
18415 * sysdeps/i386/fpu/w_sqrt.c: New file.
18416 * math/auto-libm-test-in: Add more tests.
18417 * math/auto-libm-test-out: Update.
18419 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18420 (sqrt_test_tonearest): New function.
18421 (sqrt_towardzero_test_data): New variable.
18422 (sqrt_test_towardzero): New function.
18423 (sqrt_downward_test_data): New variable.
18424 (sqrt_test_downward): New function.
18425 (sqrt_upward_test_data): New variable.
18426 (sqrt_test_upward): New function.
18427 (main): Call the new functions.
18429 * math/gen-auto-libm-tests.c: New file.
18430 * math/auto-libm-test-in: Likewise.
18431 * math/auto-libm-test-out: New generated file.
18432 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18434 (%beautify): Add generated representations of zero.
18435 (top level): Set $auto_input and call parse_auto_input.
18436 (beautify): Remove trailing "f" from hex float constants.
18437 (parse_args): Handle XFAIL_TEST.
18438 (convert_condition): New function.
18439 (or_value): Likewise.
18440 (or_cond_value): Likewise.
18441 (generate_testfile): Handle AUTO_TESTS_* lines.
18442 (parse_auto_input): New function.
18443 * math/libm-test.inc (XFAIL_TEST): New macro.
18444 (ERRNO_UNCHANGED): Update value.
18445 (ERRNO_EDOM): Likewise.
18446 (ERRNO_ERANGE): Likewise.
18447 (IGNORE_RESULT): Likewise.
18448 (TEST_COND_flt_32): New macro.
18449 (TEST_COND_dbl_64): Likewise.
18450 (TEST_COND_ldbl_96_intel): Likewise.
18451 (TEST_COND_ldbl_96_m68k): Likewise.
18452 (TEST_COND_ldbl_128): Likewise.
18453 (TEST_COND_ldbl_128ibm): Likewise.
18454 (TEST_COND_long32): Likewise.
18455 (TEST_COND_long64): Likewise.
18456 (TEST_COND_before_rounding): Likewise.
18457 (TEST_COND_after_rounding): Likewise.
18458 (enable_test): Handle XFAIL_TEST flag.
18459 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18460 with finite results.
18461 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18462 auto-libm-test-out.
18464 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18465 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18468 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18469 __tls_get_addr_internal instead of __tls_get_offset in order to
18470 avoid GOT pointer dependency. Make rtld export
18471 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18472 __tls_get_addr since we are a __tls_get_offset platform.
18473 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18474 GOT pointer being set up before.
18475 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18477 2013-11-28 Joseph Myers <joseph@codesourcery.com>
18479 * manual/math.texi (Errors in Math Functions): Document accuracy
18483 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18484 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18485 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18486 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18487 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18488 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18489 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18490 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18491 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18492 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18493 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18494 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18495 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18496 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18497 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18498 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18500 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18501 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18502 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18503 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18504 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18506 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18508 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18510 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18511 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18512 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18513 atomic-feupdateenv and flt-rounds.
18514 * sysdeps/powerpc/nofpu/Versions (libc): Add
18515 __atomic_feholdexcept, __atomic_feclearexcept,
18516 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18517 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18518 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18519 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18520 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18525 * manual/arith.texi (FP Exceptions): Document that exceptions may
18526 not be raised when matherr is used.
18527 (Math Error Reporting): Document overflow in directed rounding
18528 modes. Document that errno may not be set when finite values are
18529 returned on overflow. Document intent to set errno on underflow
18530 only for underflow to zero.
18533 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18534 round-to-nearest then adjust result for other rounding modes.
18535 * include/fenv.h (fegetround): Use libm_hidden_proto.
18536 * math/fegetround.c (fegetround): Use libm_hidden_def.
18537 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18538 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18539 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18540 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18542 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18543 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18544 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18545 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18547 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18550 * nss/Versions (libnss_files): Add
18551 _nss_files_gethostbyname3_r.
18552 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18554 (HOST_DB_LOOKUP): Remove macro.
18555 (_nss_files_gethostbyname_r): Implement function without the
18556 HOST_DB_LOOKUP macro.
18557 (_nss_files_gethostbyname2_r): Likewise.
18559 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
18561 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18563 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
18565 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18566 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18569 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18571 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18572 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18573 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18574 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18575 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18576 __fe_nomask_env_priv and attribute_hidden.
18577 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18578 (libc_feupdateenv_test_ppc): Likewise.
18579 (libc_feresetround_ppc): Likewise.
18580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18581 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18582 compat_symbol macro.
18583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18584 (__fe_nomask_env): Likewise.
18585 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18587 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18589 * string/Makefile: Remove ifunc tests.
18590 * string/test-string.h: Define TEST_IFUNC.
18591 * string/test-bcopy-ifunc.c: Remove.
18592 * string/test-bzero-ifunc.c: Likewise.
18593 * string/test-memccpy-ifunc.c: Likewise.
18594 * string/test-memchr-ifunc.c: Likewise.
18595 * string/test-memcmp-ifunc.c: Likewise.
18596 * string/test-memcpy-ifunc.c: Likewise.
18597 * string/test-memmem-ifunc.c: Likewise.
18598 * string/test-memmove-ifunc.c: Likewise.
18599 * string/test-mempcpy-ifunc.c: Likewise.
18600 * string/test-memrchr-ifunc.c: Likewise.
18601 * string/test-memset-ifunc.c: Likewise.
18602 * string/test-rawmemchr-ifunc.c: Likewise.
18603 * string/test-stpcpy-ifunc.c: Likewise.
18604 * string/test-stpncpy-ifunc.c: Likewise.
18605 * string/test-strcasecmp-ifunc.c: Likewise.
18606 * string/test-strcasestr-ifunc.c: Likewise.
18607 * string/test-strcat-ifunc.c: Likewise.
18608 * string/test-strchr-ifunc.c: Likewise.
18609 * string/test-strchrnul-ifunc.c: Likewise.
18610 * string/test-strcmp-ifunc.c: Likewise.
18611 * string/test-strcpy-ifunc.c: Likewise.
18612 * string/test-strcspn-ifunc.c: Likewise.
18613 * string/test-strlen-ifunc.c: Likewise.
18614 * string/test-strncasecmp-ifunc.c: Likewise.
18615 * string/test-strncat-ifunc.c: Likewise.
18616 * string/test-strncmp-ifunc.c: Likewise.
18617 * string/test-strncpy-ifunc.c: Likewise.
18618 * string/test-strnlen-ifunc.c: Likewise.
18619 * string/test-strpbrk-ifunc.c: Likewise.
18620 * string/test-strrchr-ifunc.c: Likewise.
18621 * string/test-strspn-ifunc.c: Likewise.
18622 * string/test-strstr-ifunc.c: Likewise.
18624 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18626 * benchtests/Makefile: Remove ifunc tests.
18627 * benchtests/bench-string.h: Define TEST_IFUNC.
18628 * benchtests/bench-bcopy-ifunc.c: Remove.
18629 * benchtests/bench-bzero-ifunc.c: Likewise.
18630 * benchtests/bench-memccpy-ifunc.c: Likewise.
18631 * benchtests/bench-memchr-ifunc.c: Likewise.
18632 * benchtests/bench-memcmp-ifunc.c: Likewise.
18633 * benchtests/bench-memcpy-ifunc.c: Likewise.
18634 * benchtests/bench-memmem-ifunc.c: Likewise.
18635 * benchtests/bench-memmove-ifunc.c: Likewise.
18636 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18637 * benchtests/bench-memrchr-ifunc.c: Likewise.
18638 * benchtests/bench-memset-ifunc.c: Likewise.
18639 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18640 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18641 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18642 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18643 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18644 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18645 * benchtests/bench-strcat-ifunc.c: Likewise.
18646 * benchtests/bench-strchr-ifunc.c: Likewise.
18647 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18648 * benchtests/bench-strcmp-ifunc.c: Likewise.
18649 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18650 * benchtests/bench-strcpy-ifunc.c: Likewise.
18651 * benchtests/bench-strcspn-ifunc.c: Likewise.
18652 * benchtests/bench-strlen-ifunc.c: Likewise.
18653 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18654 * benchtests/bench-strncat-ifunc.c: Likewise.
18655 * benchtests/bench-strncmp-ifunc.c: Likewise.
18656 * benchtests/bench-strncpy-ifunc.c: Likewise.
18657 * benchtests/bench-strnlen-ifunc.c: Likewise.
18658 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18659 * benchtests/bench-strrchr-ifunc.c: Likewise.
18660 * benchtests/bench-strsep-ifunc.c: Likewise.
18661 * benchtests/bench-strspn-ifunc.c: Likewise.
18662 * benchtests/bench-strstr-ifunc.c: Likewise.
18664 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18666 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18668 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18670 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18671 * rt/aio.h: Likewise.
18672 * sysdeps/gnu/bits/utmp.h: Likewise.
18673 * sysdeps/gnu/bits/utmpx.h: Likewise.
18674 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18675 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18676 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18677 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18678 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18679 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18680 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18681 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18682 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18683 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18684 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18685 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18686 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18688 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18689 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18690 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18691 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18692 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18693 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18694 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18695 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18696 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18697 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18698 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18700 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18701 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18702 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18703 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18704 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18705 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18706 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18707 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18708 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18709 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18710 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18711 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18712 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18713 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18714 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18715 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18717 2013-11-25 Carlos O'Donell <carlos@redhat.com>
18720 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18721 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18723 2013-11-25 Joseph Myers <joseph@codesourcery.com>
18725 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18726 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18729 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18731 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18732 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18733 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18734 (__fesetround): Remove define.
18735 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18736 rounding and exceptions handling.
18737 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18738 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18739 (__fe_nomask_env): Likewise.
18740 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18741 __fegetround instead of fegetround.
18742 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18743 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18745 2013-11-21 Roland McGrath <roland@hack.frob.com>
18747 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18750 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18752 2013-11-21 Meador Inge <meadori@codesourcery.com>
18755 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18756 (encrypt_r): Likewise.
18757 * malloc/obstack.h (obstack_free): Likewise.
18758 * posix/unistd.h (encrypt): Likewise.
18760 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18762 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18763 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18764 DL_CALL_DT_FINI() that call the functions directly.
18765 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18766 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18767 * elf/dl-fini.c: Likewise.
18769 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
18771 * malloc/hooks.c (memalign_check): Add alignment rounding.
18772 * malloc/malloc.c (_mid_memalign): New function.
18773 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18774 Implement by calling _mid_memalign.
18775 * manual/probes.texi (Memory Allocation Probes): Remove
18776 memory_valloc_retry and memory_pvalloc_retry.
18778 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18780 * locale/programs/locarchive.c (open_archive): Add const
18781 qualifier to ARCHIVEFNAME and copy default fname to
18785 * libio/tst-widetext.input: Rename Oriya to Odia.
18786 * locale/iso-639.def: Likewise.
18788 * manual/probes.texi (Mathematical Function Probes): Add
18789 documentation for sin, cos, asin and acos probes.
18790 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18791 (__sin32): Add slowasin probe.
18792 (__cos32): Add slowacos probe.
18793 (__mpsin): Add slowsin probe.
18794 (__mpcos): Add slowcos probe.
18796 2013-11-19 Joseph Myers <joseph@codesourcery.com>
18799 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18800 thread-local __sim_exceptions_thread and global
18801 __sim_exceptions_global.
18802 (__sim_disabled_exceptions): Change to thread-local
18803 __sim_disabled_exceptions_thread and global
18804 __sim_disabled_exceptions_global.
18805 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18806 and global __sim_round_mode_global.
18807 (__simulate_exceptions): Use thread-local floating-point state and
18808 set global state from it as needed.
18809 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18810 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18811 __sim_round_mode_thread.
18812 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18813 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18814 and global __sim_exceptions_global.
18815 (__sim_disabled_exceptions): Change to thread-local
18816 __sim_disabled_exceptions_thread and global
18817 __sim_disabled_exceptions_global.
18818 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18819 and global __sim_round_mode_global.
18820 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18821 (SIM_SET_GLOBAL): Likewise.
18822 * sysdeps/powerpc/soft-fp/sfp-machine.h
18823 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18824 __sim_round_mode_thread.
18825 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18826 __sim_disabled_exceptions_thread.
18827 (__sim_exceptions): Change to __sim_exceptions_thread.
18828 (__sim_disabled_exceptions): Change to
18829 __sim_disabled_exceptions_thread.
18830 (__sim_round_mode): Change to __sim_round_mode_thread.
18831 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18832 thread-local floating-point state and set global state from it as
18834 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18835 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18836 (__sim_disabled_exceptions): Remove extern declaration.
18837 (feenableexcept): Use thread-local floating-point state and set
18838 global state from it as needed.
18839 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18840 extern declaration.
18841 (__sim_disabled_exceptions): Likewise.
18842 (__sim_round_mode): Likewise.
18843 (__fegetenv): Use thread-local floating-point state.
18844 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18845 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18846 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18847 floating-point state and set global state from it as needed.
18848 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18849 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18850 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18852 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18853 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18855 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18856 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18857 Use __sim_round_mode_thread.
18858 * math/test-fenv-tls.c: New file.
18859 * math/Makefile (tests): Add test-fenv-tls.
18860 ($(objpfx)test-fenv-tls): Depend on
18861 $(common-objpfx)nptl/libpthread.so.
18863 2013-11-19 Andreas Schwab <schwab@suse.de>
18865 * locale/programs/locale.c (show_info): Decode wordarray elements.
18866 * locale/categories.def (LC_MONETARY): Add element for
18867 _NL_MONETARY_CRNCYSTR.
18868 * locale/C-monetary.c (conversion_rate): New variable.
18869 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18872 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18874 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18875 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18877 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18879 * elf/Makefile (tst-auxv): New test.
18880 * elf/tst-auxv.c: New
18881 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18883 2013-11-18 Joseph Myers <joseph@codesourcery.com>
18885 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18886 (hidden_proto): Caller changed.
18887 (hidden_tls_proto): New macro.
18888 (libc_hidden_tls_proto): Likewise.
18889 (rtld_hidden_tls_proto): Likewise.
18890 (libm_hidden_tls_proto): Likewise.
18891 (libresolv_hidden_tls_proto): Likewise.
18892 (librt_hidden_tls_proto): Likewise.
18893 (libdl_hidden_tls_proto): Likewise.
18894 (libnss_files_hidden_tls_proto): Likewise.
18895 (libnsl_hidden_tls_proto): Likewise.
18896 (libnss_nisplus_hidden_tls_proto): Likewise.
18897 (libutil_hidden_tls_proto): Likewise.
18899 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
18902 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18903 (decompose_rpath): Defer expansion to fillin_rpath.
18904 (_dl_init_paths): Pass linkmap to fillin_rpath.
18906 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18908 * benchtests/Makefile: Add strsep.
18909 * benchtests/bench-strsep.c: New file: strsep benchtest.
18910 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18912 2013-11-18 Andreas Schwab <schwab@suse.de>
18914 * locale/programs/locale.c (show_info) [case byte]: Check for
18915 '\377' instead of '\177'.
18916 * locale/C-monetary.c (not_available): Always use "\377".
18917 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18918 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18919 detect unavailable sign_posn locale elements.
18920 * locale/localeconv.c (__localeconv): For grouping and
18921 mon_grouping handle "\177" and "\377" like no grouping.
18922 (INT_ELEM): New macro. Use it to set all numeric members.
18923 * locale/programs/ld-monetary.c (monetary_read)
18924 <tok_mon_grouping>: Normalize single -1 to the empty string.
18925 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18928 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18931 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18932 when we match (nil).
18933 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18935 2013-11-16 Joseph Myers <joseph@codesourcery.com>
18937 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18938 (NO_TEST_INLINE): Update value.
18939 (ERRNO_UNCHANGED): Likewise.
18940 (ERRNO_EDOM): Likewise.
18941 (ERRNO_ERANGE): Likewise.
18942 (IGNORE_RESULT): Likewise.
18943 (check_float_internal): Check signs of NaN results if
18944 TEST_NAN_SIGN used.
18945 (check_complex): Pass TEST_NAN_SIGN flag through to second
18946 check_float_internal call.
18947 (copysign_test_data): Add tests with quiet NaNs as second
18948 argument. Use TEST_NAN_SIGN.
18949 (fabs_test_data): Add test of negative quiet NaN argument. Use
18951 (signbit_test_data): Add tests of quiet NaN argument.
18952 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18954 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18956 (parse_args): Handle function results specified as IGNORE.
18957 * math/libm-test.inc (IGNORE_RESULT): New macro.
18958 (check_float_internal): Do not check numerical result if flag
18960 (check_complex): Pass through IGNORE_RESULT to second
18961 check_float_internal call.
18962 (check_int): Do not check numerical result if flag IGNORE_RESULT
18964 (check_long): Likewise.
18965 (check_bool): Likewise.
18966 (check_longlong): Likewise.
18967 (lrint_test_data): Add tests of infinite and NaN arguments.
18968 (lrint_tonearest_test_data): Likewise.
18969 (lrint_towardzero_test_data): Likewise.
18970 (lrint_downward_test_data): Likewise.
18971 (lrint_upward_test_data): Likewise.
18972 (llrint_test_data): Likewise.
18973 (llrint_tonearest_test_data): Likewise.
18974 (llrint_towardzero_test_data): Likewise.
18975 (llrint_downward_test_data): Likewise.
18976 (llrint_upward_test_data): Likewise.
18977 (lround_test_data): Likewise.
18978 (llround_test_data): Likewise.
18980 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18981 (ERRNO_UNCHANGED): Update value.
18982 (ERRNO_EDOM): Likewise.
18983 (ERRNO_ERANGE): Likewise.
18984 (NO_TEST_INLINE_FLOAT): New macro.
18985 (NO_TEST_INLINE_DOUBLE): Likewise.
18986 (enable_test): New function.
18987 (RUN_TEST_f_f): Check enable_test before running test.
18988 (RUN_TEST_2_f): Likewise.
18989 (RUN_TEST_fff_f): Likewise.
18990 (RUN_TEST_c_f): Likewise.
18991 (RUN_TEST_f_f1): Likewise.
18992 (RUN_TEST_fF_f1): Likewise.
18993 (RUN_TEST_fI_f1): Likewise.
18994 (RUN_TEST_ffI_f1): Likewise.
18995 (RUN_TEST_c_c): Likewise.
18996 (RUN_TEST_cc_c): Likewise.
18997 (RUN_TEST_f_i): Likewise.
18998 (RUN_TEST_f_i_tg): Likewise.
18999 (RUN_TEST_ff_i_tg): Likewise.
19000 (RUN_TEST_f_b): Likewise.
19001 (RUN_TEST_f_b_tg): Likewise.
19002 (RUN_TEST_f_l): Likewise.
19003 (RUN_TEST_f_L): Likewise.
19004 (RUN_TEST_fFF_11): Likewise.
19005 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19007 (cosh_test_data): Likewise.
19008 (exp_test_data): Likewise.
19009 (expm1_test_data): Likewise.
19010 (hypot_test_data): Likewise.
19011 (pow_test_data): Likewise.
19012 (sinh_test_data): Likewise.
19013 (tanh_test_data): Likewise.
19014 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19017 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19018 tests with quiet NaN input and output.
19019 (acosh_test_data): Likewise.
19020 (asin_test_data): Likewise.
19021 (asinh_test_data): Likewise.
19022 (atan_test_data): Likewise.
19023 (atanh_test_data): Likewise.
19024 (atan2_test_data): Likewise.
19025 (cbrt_test_data): Likewise.
19026 (cos_test_data): Likewise.
19027 (cosh_test_data): Likewise.
19028 (erf_test_data): Likewise.
19029 (erfc_test_data): Likewise.
19030 (exp_test_data): Likewise.
19031 (exp10_test_data): Likewise.
19032 (exp2_test_data): Likewise.
19033 (expm1_test_data): Likewise.
19034 (hypot_test_data): Likewise.
19035 (j0_test_data): Likewise.
19036 (j1_test_data): Likewise.
19037 (jn_test_data): Likewise.
19038 (lgamma_test_data): Likewise.
19039 (log_test_data): Likewise.
19040 (log10_test_data): Likewise.
19041 (log1p_test_data): Likewise.
19042 (log2_test_data): Likewise.
19043 (pow_test_data): Likewise.
19044 (scalb_test_data): Likewise.
19045 (sin_test_data): Likewise.
19046 (sincos_test_data): Likewise.
19047 (sinh_test_data): Likewise.
19048 (tan_test_data): Likewise.
19049 (tanh_test_data): Likewise.
19050 (tgamma_test_data): Likewise.
19051 (y0_test_data): Likewise.
19052 (y1_test_data): Likewise.
19053 (yn_test_data): Likewise.
19056 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19057 argument being NaN and avoid computations with second argument in
19059 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19060 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19061 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19063 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19065 * locale/iso-639.def: Add Chitwani Tharu (the).
19067 2013-11-14 Andreas Schwab <schwab@suse.de>
19069 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19070 word instead of empty string.
19072 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19075 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19077 (__fe_nomask_env): Likewise.
19079 2013-11-13 Steve Ellcey <sellcey@mips.com>
19081 * benchtests/bench-timing.h: Include time.h.
19083 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19086 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19088 * sysdeps/unix/sysv/linux/configure: Regenerated.
19090 2013-11-13 Joseph Myers <joseph@codesourcery.com>
19093 * stdlib/strtod_l.c (round_and_return): Do not consider
19094 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19095 exponent one less than half the least subnormal exponent.
19096 * stdlib/test-strtod-round-data: Add more tests.
19097 * stdlib/tst-strtod-round.c (tests): Regenerated.
19099 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19102 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19103 (__fe_mask_env): Likewise.
19104 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19105 libm_hidden_proto and add function prototype.
19106 (__fe_mask_env): Add function prototype.
19107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19108 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19110 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19112 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19114 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19116 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19117 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19119 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19121 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19122 of htab_find_slot().
19124 2013-11-11 David S. Miller <davem@davemloft.net>
19127 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19128 symbol in the non-vis3 case in static builds.
19129 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19130 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19131 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19132 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19134 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19137 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19140 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19142 * benchtests/Makefile: Add bench-strtod.
19143 * benchtests/bench-strtod.c: New file: strtod benchtest
19145 2013-11-11 Andreas Schwab <schwab@suse.de>
19148 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19149 terminating NUL in key length.
19151 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19153 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19154 Add artificial ODP entry for vDSO symbol for PPC64.
19155 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19156 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19158 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19161 * nss/getent.c (services_keys): Recognize services starting with digit.
19163 2013-11-06 David S. Miller <davem@davemloft.net>
19166 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19167 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19169 2013-11-06 Will Newton <will.newton@linaro.org>
19171 * manual/memory.texi (Malloc Examples): Remove register
19172 keyword from examples.
19174 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
19176 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19178 2013-11-04 Joseph Myers <joseph@codesourcery.com>
19181 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19182 depending on [__GCC_IEC_559 > 0].
19183 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19184 depending on [__GCC_IEC_559_COMPLEX > 0].
19186 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
19188 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19191 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
19193 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19195 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
19198 * malloc/malloc (malloc_info): Do not handle first bin as
19201 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
19203 * locale/iso-639.def: Add Central Nahuatl (nhn).
19205 2013-11-01 Bruno Haible <bruno@clisp.org>
19208 * manual/math.texi (BSD Random): Specify range upper bound as
19211 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
19213 * locale/iso-639.def: Add Meadow Mari (mhr).
19215 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
19217 [BZ #14752], [BZ #15763]
19218 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19220 * rt/tst_shm.c: Add test for escaping directory.
19222 2013-10-31 Andreas Schwab <schwab@suse.de>
19225 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19226 followed by 'x' as part of digit sequence.
19227 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19229 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19232 * configure.ac: allow GNU Make 4.0 and greater.
19233 * configure: Regenerated.
19235 2013-10-30 Will Newton <will.newton@linaro.org>
19238 * malloc/hooks.c (memalign_check): Limit alignment to the
19239 maximum representable power of two.
19240 * malloc/malloc.c (__libc_memalign): Likewise.
19241 * malloc/tst-memalign.c (do_test): Add test for very
19242 large alignment values.
19243 * malloc/tst-posix_memalign.c (do_test): Likewise.
19245 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
19248 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19249 (munmap_chunk): Likewise.
19250 (mremap_chunk): Likewise.
19252 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
19255 * stdlib/div.c (div): Remove obsolete code.
19256 * stdlib/ldiv.c (ldiv): Likewise.
19257 * stdlib/lldiv.c (lldiv): Likewise.
19259 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19262 * nss/nss_files/files-XXX.c (get_contents_ret): New
19264 (get_contents): New function.
19265 (internal_getent): Use it. Expand size of LINEBUFLEN.
19267 2013-10-30 Mike Frysinger <vapier@gentoo.org>
19269 * configure.in: Moved to ...
19270 * configure.ac: ... here. Change reference to configure.in
19272 * sysdeps/arm/preconfigure.ac: ... here.
19273 configure.in to configure.ac.
19274 * sysdeps/gnu/configure.in: Moved to ...
19275 * sysdeps/gnu/configure.ac: ... here.
19276 * sysdeps/i386/configure.in: Moved to ...
19277 * sysdeps/i386/configure.ac: ... here.
19278 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19279 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19280 * sysdeps/mach/configure.in: Moved to ...
19281 * sysdeps/mach/configure.ac: ... here.
19282 * sysdeps/mach/hurd/configure.in: Moved to ...
19283 * sysdeps/mach/hurd/configure.ac: ... here.
19284 * sysdeps/powerpc/configure.in: Moved to ...
19285 * sysdeps/powerpc/configure.ac: ... here.
19286 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19287 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19288 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19289 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19290 * sysdeps/s390/s390-32/configure.in: Moved to ...
19291 * sysdeps/s390/s390-32/configure.ac: ... here.
19292 * sysdeps/s390/s390-64/configure.in: Moved to ...
19293 * sysdeps/s390/s390-64/configure.ac: ... here.
19294 * sysdeps/sh/configure.in: Moved to ...
19295 * sysdeps/sh/configure.ac: ... here.
19296 * sysdeps/sparc/configure.in: Moved to ...
19297 * sysdeps/sparc/configure.ac: ... here.
19298 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19299 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19300 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19301 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19302 * sysdeps/x86_64/configure.in: Moved to ...
19303 * sysdeps/x86_64/configure.ac: ... here.
19304 * sysdeps/x86_64/preconfigure.in: Moved to ...
19305 * sysdeps/x86_64/preconfigure.ac: ... here.
19306 * aclocal.m4: Change reference to configure.in to configure.ac.
19307 * config.h.in: Likewise.
19308 * manual/install.texi: Likewise.
19309 * manual/maint.texi: Likewise.
19310 * Makefile: Likewise.
19311 * malloc/Makefile: Likewise.
19312 * nscd/Makefile: Likewise.
19313 * Makeconfig: Change reference to configure.in and
19314 preconfigure.in to configure.ac and preconfigure.ac
19316 * INSTALL: Regenerated.
19317 * configure: Likewise.
19318 * sysdeps/gnu/configure: Likewise.
19319 * sysdeps/i386/configure: Likewise.
19320 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19321 * sysdeps/mach/configure: Likewise.
19322 * sysdeps/mach/hurd/configure: Likewise.
19323 * sysdeps/powerpc/configure: Likewise.
19324 * sysdeps/powerpc/powerpc32/configure: Likewise.
19325 * sysdeps/powerpc/powerpc64/configure: Likewise.
19326 * sysdeps/s390/s390-32/configure: Likewise.
19327 * sysdeps/s390/s390-64/configure: Likewise.
19328 * sysdeps/sh/configure: Likewise.
19329 * sysdeps/sparc/configure: Likewise.
19330 * sysdeps/unix/sysv/linux/configure: Likewise.
19331 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19332 * sysdeps/x86_64/configure: Likewise.
19333 * sysdeps/x86_64/preconfigure: Likewise.
19335 2013-10-29 Andreas Schwab <schwab@suse.de>
19337 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19339 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19341 * benchtests/pow-inputs: Add new inputs.
19343 * benchtests/exp-inputs: Add new inputs.
19345 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19346 conditional check for return value.
19347 (__cos32): Likewise.
19349 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19351 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19352 to provide a boost for large inputs with word alignment.
19353 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19354 implementation based on optimized PPC64 strcpy.
19355 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19356 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19357 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19358 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19360 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19363 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19365 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19368 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19369 * time/tst-strptime.c (day_tests): Add testcase.
19371 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19374 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19376 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19379 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19380 MAP_FAILED on error.
19382 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19385 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19386 heap for large requests.
19388 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19391 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19392 result if the result has no associated interface.
19393 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19394 interface for all 127.X.Y.Z addresses.
19396 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
19398 * locale/iso-639.def: Add Ligurian (lij)
19400 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
19403 * sunrpc/rpc_main.c: Document rpcgen -5.
19405 2013-10-19 Michael Stahl <mstahl@redhat.com>
19407 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19409 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19412 * posix/glob.c: Match only directories when trailing slash is present.
19413 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19414 (main): Add testcase.
19416 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19419 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19421 2013-10-18 Carlos O'Donell <carlos@redhat.com>
19423 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19424 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19425 AUTH_DES and cindex for FIPS 140-2.
19426 (DES Encryption): Add cindex FIPS 46-3.
19428 * locale/locarchive.h (struct locarhandle): Add fname.
19429 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19430 if an optional argument was specified to --list-archive,
19432 * locale/programs/locarchive.c (show_archive_content): Take new
19433 argument fname and pass it via ah.fname to open_archive.
19434 * locale/programs/localedef.h: Update decl.
19435 (open_archive): If AH->fname is non-null, open that file
19436 rather than the default file name, and don't ignore ENOENT.
19437 (create_archive): Set AH.fname to NULL.
19438 (delete_locales_from_archive): Likewise.
19439 (add_locales_to_archive): Likewise.
19440 * locale/programs/locfile.c (write_all_categories): Likewise.
19442 2013-10-18 Joseph Myers <joseph@codesourcery.com>
19443 Aldy Hernandez <aldyh@redhat.com>
19445 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19446 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19447 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19448 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19449 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19450 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19451 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19452 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19453 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19454 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19455 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19456 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19457 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19458 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19459 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19461 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19463 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19465 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19467 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19468 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19470 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19471 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19472 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19473 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19475 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19476 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19477 * sysdeps/powerpc/preconfigure: Likewise.
19478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19480 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19481 Replace contents of file by #include of <fenv_libc.h>.
19482 * sysdeps/powerpc/soft-fp/sfp-machine.h
19483 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19485 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19486 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19487 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19488 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19489 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19490 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19491 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19492 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19493 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19494 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19495 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19496 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19498 Allow copysignl PLT reference to be missing.
19500 2013-10-18 Richard Sandiford <richard@codesourcery.com>
19501 Joseph Myers <joseph@codesourcery.com
19504 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19506 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19508 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19510 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19511 * elf/tst-tls1.c: Likewise.
19512 * elf/tst-tls10.h: Likewise.
19513 * elf/tst-tls14.c: Likewise.
19514 * elf/tst-tls2.c: Likewise.
19515 * elf/tst-tls3.c: Likewise.
19516 * elf/tst-tls4.c: Likewise.
19517 * elf/tst-tls5.c: Likewise.
19518 * elf/tst-tls6.c: Likewise.
19519 * elf/tst-tls7.c: Likewise.
19520 * elf/tst-tls8.c: Likewise.
19521 * elf/tst-tls9.c: Likewise.
19522 * elf/tst-tlsmod1.c: Likewise.
19523 * elf/tst-tlsmod13.c: Likewise.
19524 * elf/tst-tlsmod13a.c: Likewise.
19525 * elf/tst-tlsmod14a.c: Likewise.
19526 * elf/tst-tlsmod16a.c: Likewise.
19527 * elf/tst-tlsmod16b.c: Likewise.
19528 * elf/tst-tlsmod2.c: Likewise.
19529 * elf/tst-tlsmod3.c: Likewise.
19530 * elf/tst-tlsmod4.c: Likewise.
19531 * elf/tst-tlsmod5.c: Likewise.
19532 * elf/tst-tlsmod6.c: Likewise.
19534 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
19537 * malloc/malloc.c: remove checks for statistics.
19539 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19542 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19543 * inet/tst-network.c: Add testcase.
19545 2013-10-17 Andreas Schwab <schwab@suse.de>
19548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19549 to determine canonical name.
19551 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19553 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19554 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19555 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19556 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19557 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19558 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19559 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19560 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19561 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19562 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19563 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19564 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19565 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19566 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19567 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19568 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19570 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19571 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19572 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19573 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19574 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19576 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19577 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19578 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19579 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19580 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19581 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19582 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19583 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19584 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19585 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19586 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19587 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19588 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19589 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19590 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19591 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19592 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19593 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19596 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19597 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19598 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19599 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19600 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19601 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19602 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19603 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19604 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19605 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19606 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19607 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19608 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19609 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19610 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19612 2013-10-17 Joseph Myers <joseph@codesourcery.com>
19615 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19616 make result into a quiet NaN.
19618 2013-10-16 Joseph Myers <joseph@codesourcery.com>
19620 * soft-fp/adddf3.c: Fix horizontal whitespace.
19621 * soft-fp/addsf3.c: Likewise.
19622 * soft-fp/addtf3.c: Likewise.
19623 * soft-fp/divdf3.c: Likewise.
19624 * soft-fp/divsf3.c: Likewise.
19625 * soft-fp/divtf3.c: Likewise.
19626 * soft-fp/double.h: Likewise.
19627 * soft-fp/eqdf2.c: Likewise.
19628 * soft-fp/eqsf2.c: Likewise.
19629 * soft-fp/eqtf2.c: Likewise.
19630 * soft-fp/extenddftf2.c: Likewise.
19631 * soft-fp/extended.h: Likewise.
19632 * soft-fp/extendsfdf2.c: Likewise.
19633 * soft-fp/extendsftf2.c: Likewise.
19634 * soft-fp/extendxftf2.c: Likewise.
19635 * soft-fp/fixdfdi.c: Likewise.
19636 * soft-fp/fixdfsi.c: Likewise.
19637 * soft-fp/fixdfti.c: Likewise.
19638 * soft-fp/fixsfdi.c: Likewise.
19639 * soft-fp/fixsfsi.c: Likewise.
19640 * soft-fp/fixsfti.c: Likewise.
19641 * soft-fp/fixtfdi.c: Likewise.
19642 * soft-fp/fixtfsi.c: Likewise.
19643 * soft-fp/fixtfti.c: Likewise.
19644 * soft-fp/fixunsdfdi.c: Likewise.
19645 * soft-fp/fixunsdfsi.c: Likewise.
19646 * soft-fp/fixunsdfti.c: Likewise.
19647 * soft-fp/fixunssfdi.c: Likewise.
19648 * soft-fp/fixunssfsi.c: Likewise.
19649 * soft-fp/fixunssfti.c: Likewise.
19650 * soft-fp/fixunstfdi.c: Likewise.
19651 * soft-fp/fixunstfsi.c: Likewise.
19652 * soft-fp/fixunstfti.c: Likewise.
19653 * soft-fp/floatdidf.c: Likewise.
19654 * soft-fp/floatdisf.c: Likewise.
19655 * soft-fp/floatditf.c: Likewise.
19656 * soft-fp/floatsidf.c: Likewise.
19657 * soft-fp/floatsisf.c: Likewise.
19658 * soft-fp/floatsitf.c: Likewise.
19659 * soft-fp/floattidf.c: Likewise.
19660 * soft-fp/floattisf.c: Likewise.
19661 * soft-fp/floattitf.c: Likewise.
19662 * soft-fp/floatundidf.c: Likewise.
19663 * soft-fp/floatundisf.c: Likewise.
19664 * soft-fp/floatunditf.c: Likewise.
19665 * soft-fp/floatunsidf.c: Likewise.
19666 * soft-fp/floatunsisf.c: Likewise.
19667 * soft-fp/floatunsitf.c: Likewise.
19668 * soft-fp/floatuntidf.c: Likewise.
19669 * soft-fp/floatuntisf.c: Likewise.
19670 * soft-fp/floatuntitf.c: Likewise.
19671 * soft-fp/fmadf4.c: Likewise.
19672 * soft-fp/fmasf4.c: Likewise.
19673 * soft-fp/fmatf4.c: Likewise.
19674 * soft-fp/gedf2.c: Likewise.
19675 * soft-fp/gesf2.c: Likewise.
19676 * soft-fp/getf2.c: Likewise.
19677 * soft-fp/ledf2.c: Likewise.
19678 * soft-fp/lesf2.c: Likewise.
19679 * soft-fp/letf2.c: Likewise.
19680 * soft-fp/muldf3.c: Likewise.
19681 * soft-fp/mulsf3.c: Likewise.
19682 * soft-fp/multf3.c: Likewise.
19683 * soft-fp/negdf2.c: Likewise.
19684 * soft-fp/negsf2.c: Likewise.
19685 * soft-fp/negtf2.c: Likewise.
19686 * soft-fp/op-1.h: Likewise.
19687 * soft-fp/op-2.h: Likewise.
19688 * soft-fp/op-4.h: Likewise.
19689 * soft-fp/op-8.h: Likewise.
19690 * soft-fp/op-common.h: Likewise.
19691 * soft-fp/quad.h: Likewise.
19692 * soft-fp/single.h: Likewise.
19693 * soft-fp/soft-fp.h: Likewise.
19694 * soft-fp/sqrtdf2.c: Likewise.
19695 * soft-fp/sqrtsf2.c: Likewise.
19696 * soft-fp/sqrttf2.c: Likewise.
19697 * soft-fp/subdf3.c: Likewise.
19698 * soft-fp/subsf3.c: Likewise.
19699 * soft-fp/subtf3.c: Likewise.
19700 * soft-fp/truncdfsf2.c: Likewise.
19701 * soft-fp/trunctfdf2.c: Likewise.
19702 * soft-fp/trunctfsf2.c: Likewise.
19703 * soft-fp/trunctfxf2.c: Likewise.
19704 * soft-fp/unorddf2.c: Likewise.
19705 * soft-fp/unordsf2.c: Likewise.
19706 * soft-fp/unordtf2.c: Likewise.
19708 2013-10-15 Joseph Myers <joseph@codesourcery.com>
19710 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19711 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19713 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
19715 * elf/dl-libc.c: Clear initfini list after freeing.
19717 2013-10-14 Joseph Myers <joseph@codesourcery.com>
19719 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19720 * soft-fp/addsf3.c: Likewise.
19721 * soft-fp/addtf3.c: Likewise.
19722 * soft-fp/divdf3.c: Likewise.
19723 * soft-fp/divsf3.c: Likewise.
19724 * soft-fp/divtf3.c: Likewise.
19725 * soft-fp/double.h: Likewise.
19726 * soft-fp/eqdf2.c: Likewise.
19727 * soft-fp/eqsf2.c: Likewise.
19728 * soft-fp/eqtf2.c: Likewise.
19729 * soft-fp/extenddftf2.c: Likewise.
19730 * soft-fp/extended.h: Likewise.
19731 * soft-fp/extendsfdf2.c: Likewise.
19732 * soft-fp/extendsftf2.c: Likewise.
19733 * soft-fp/extendxftf2.c: Likewise.
19734 * soft-fp/fixdfdi.c: Likewise.
19735 * soft-fp/fixdfsi.c: Likewise.
19736 * soft-fp/fixdfti.c: Likewise.
19737 * soft-fp/fixsfdi.c: Likewise.
19738 * soft-fp/fixsfsi.c: Likewise.
19739 * soft-fp/fixsfti.c: Likewise.
19740 * soft-fp/fixtfdi.c: Likewise.
19741 * soft-fp/fixtfsi.c: Likewise.
19742 * soft-fp/fixtfti.c: Likewise.
19743 * soft-fp/fixunsdfdi.c: Likewise.
19744 * soft-fp/fixunsdfsi.c: Likewise.
19745 * soft-fp/fixunsdfti.c: Likewise.
19746 * soft-fp/fixunssfdi.c: Likewise.
19747 * soft-fp/fixunssfsi.c: Likewise.
19748 * soft-fp/fixunssfti.c: Likewise.
19749 * soft-fp/fixunstfdi.c: Likewise.
19750 * soft-fp/fixunstfsi.c: Likewise.
19751 * soft-fp/fixunstfti.c: Likewise.
19752 * soft-fp/floatdidf.c: Likewise.
19753 * soft-fp/floatdisf.c: Likewise.
19754 * soft-fp/floatditf.c: Likewise.
19755 * soft-fp/floatsidf.c: Likewise.
19756 * soft-fp/floatsisf.c: Likewise.
19757 * soft-fp/floatsitf.c: Likewise.
19758 * soft-fp/floattidf.c: Likewise.
19759 * soft-fp/floattisf.c: Likewise.
19760 * soft-fp/floattitf.c: Likewise.
19761 * soft-fp/floatundidf.c: Likewise.
19762 * soft-fp/floatundisf.c: Likewise.
19763 * soft-fp/floatunsidf.c: Likewise.
19764 * soft-fp/floatunsisf.c: Likewise.
19765 * soft-fp/floatuntidf.c: Likewise.
19766 * soft-fp/floatuntisf.c: Likewise.
19767 * soft-fp/floatuntitf.c: Likewise.
19768 * soft-fp/fmadf4.c: Likewise.
19769 * soft-fp/fmasf4.c: Likewise.
19770 * soft-fp/fmatf4.c: Likewise.
19771 * soft-fp/gedf2.c: Likewise.
19772 * soft-fp/gesf2.c: Likewise.
19773 * soft-fp/getf2.c: Likewise.
19774 * soft-fp/ledf2.c: Likewise.
19775 * soft-fp/lesf2.c: Likewise.
19776 * soft-fp/letf2.c: Likewise.
19777 * soft-fp/muldf3.c: Likewise.
19778 * soft-fp/mulsf3.c: Likewise.
19779 * soft-fp/multf3.c: Likewise.
19780 * soft-fp/negdf2.c: Likewise.
19781 * soft-fp/negsf2.c: Likewise.
19782 * soft-fp/negtf2.c: Likewise.
19783 * soft-fp/op-1.h: Likewise.
19784 * soft-fp/op-2.h: Likewise.
19785 * soft-fp/op-4.h: Likewise.
19786 * soft-fp/op-8.h: Likewise.
19787 * soft-fp/op-common.h: Likewise.
19788 * soft-fp/quad.h: Likewise.
19789 * soft-fp/single.h: Likewise.
19790 * soft-fp/soft-fp.h: Likewise.
19791 * soft-fp/sqrtdf2.c: Likewise.
19792 * soft-fp/sqrtsf2.c: Likewise.
19793 * soft-fp/sqrttf2.c: Likewise.
19794 * soft-fp/subdf3.c: Likewise.
19795 * soft-fp/subsf3.c: Likewise.
19796 * soft-fp/subtf3.c: Likewise.
19797 * soft-fp/truncdfsf2.c: Likewise.
19798 * soft-fp/trunctfdf2.c: Likewise.
19799 * soft-fp/trunctfsf2.c: Likewise.
19800 * soft-fp/trunctfxf2.c: Likewise.
19801 * soft-fp/unorddf2.c: Likewise.
19802 * soft-fp/unordsf2.c: Likewise.
19803 * soft-fp/unordtf2.c: Likewise.
19805 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
19808 * misc/error.c (error_tail): Fix possible buffer overflow.
19810 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19813 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19816 2013-10-14 P. J. McDermott <pj@pehjota.net>
19819 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19820 testing pipefail option.
19822 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19824 * soft-fp/double.h: Indent preprocessor directives inside #if.
19825 * soft-fp/extended.h: Likewise.
19826 * soft-fp/op-2.h: Likewise.
19827 * soft-fp/op-4.h: Likewise.
19828 * soft-fp/op-common.h: Likewise.
19829 * soft-fp/quad.h: Likewise.
19830 * soft-fp/single.h: Likewise.
19831 * soft-fp/soft-fp.h: Likewise.
19833 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19835 * iconv/iconv_prog.c: Fix typos.
19836 * stdio-common/psiginfo-data.h: Likewise.
19838 2013-10-12 Reuben Thomas <rrt@sc3d.org>
19841 * locale/setlocale.c: Fix typo.
19843 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19846 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19847 signaling NaN arguments.
19848 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19849 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19852 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19853 unordered operands.
19854 * soft-fp/gesf2.c (__gesf2): Likewise.
19855 * soft-fp/getf2.c (__getf2): Likewise.
19856 * soft-fp/ledf2.c (__ledf2): Likewise.
19857 * soft-fp/lesf2.c (__lesf2): Likewise.
19858 * soft-fp/letf2.c (__letf2): Likewise.
19860 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19861 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19862 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19863 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19864 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19865 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19866 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19867 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19868 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19869 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19870 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19871 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19872 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19873 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19874 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19875 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19876 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19877 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19878 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19879 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19880 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19881 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19882 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19883 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19884 * soft-fp/floattidf.c (__floattidf): Likewise.
19885 * soft-fp/floattisf.c (__floattisf): Likewise.
19886 * soft-fp/floattitf.c (__floattitf): Likewise.
19887 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19888 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19889 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19890 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19891 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19892 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19893 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19894 * soft-fp/gesf2.c (__gesf2): Likewise.
19895 * soft-fp/getf2.c (__getf2): Likewise.
19896 * soft-fp/ledf2.c (__ledf2): Likewise.
19897 * soft-fp/lesf2.c (__lesf2): Likewise.
19898 * soft-fp/letf2.c (__letf2): Likewise.
19900 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19901 Undefine and redefine.
19902 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19903 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19904 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19905 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19906 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19907 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19908 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19909 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19910 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19911 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19912 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19913 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19914 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19915 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19916 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19919 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19920 without decrementing exponent if mantissa >= that for the
19921 denominator, not >.
19922 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19923 denominator, not >. Decrement exponent in < case instead of
19924 incrementing in >= case.
19925 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19926 without decrementing exponent if mantissa >= that for the
19927 denominator, not >.
19929 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19930 computing saturated result for unsigned overflow.
19932 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19933 Jeff Law <law@redhat.com>
19935 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19936 (atan2Mp): Add systemtap probe marker.
19937 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19938 (__ieee754_log): Add systemtap probe marker.
19939 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19940 (atanMp): Add systemtap probe marker.
19941 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19942 (tanMp): Add systemtap probe marker.
19943 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19944 (__slowexp): Add systemtap probe marker.
19945 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19946 (__slowpow): Add systemtap probe marker.
19947 * manual/probes.texi: Document probes.
19949 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
19952 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19954 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19956 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19957 written to buffer but not flushed.
19958 * libio/iofwrite_u.c: Likewise.
19959 * libio/iopadn.c: Return bytes returned even if EOF was
19961 * libio/iowpadn.c: Likewise.
19962 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19963 if _IO_padn does not write the whole buffer.
19964 [!COMPILE_WPRINTF] (PAD): Likewise.
19966 2013-10-10 David S. Miller <davem@davemloft.net>
19968 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19971 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19973 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19974 instead of FSF address.
19975 * soft-fp/fixdfti.c: Likewise.
19976 * soft-fp/fixsfti.c: Likewise.
19977 * soft-fp/fixtfti.c: Likewise.
19978 * soft-fp/fixunsdfti.c: Likewise.
19979 * soft-fp/fixunssfti.c: Likewise.
19980 * soft-fp/fixunstfti.c: Likewise.
19981 * soft-fp/floattidf.c: Likewise.
19982 * soft-fp/floattisf.c: Likewise.
19983 * soft-fp/floattitf.c: Likewise.
19984 * soft-fp/floatuntidf.c: Likewise.
19985 * soft-fp/floatuntisf.c: Likewise.
19986 * soft-fp/floatuntitf.c: Likewise.
19987 * soft-fp/trunctfxf2.c: Likewise.
19989 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19990 * soft-fp/fixdfti.c: Likewise.
19991 * soft-fp/fixsfti.c: Likewise.
19992 * soft-fp/fixtfti.c: Likewise.
19993 * soft-fp/fixunsdfti.c: Likewise.
19994 * soft-fp/fixunssfti.c: Likewise.
19995 * soft-fp/fixunstfti.c: Likewise.
19996 * soft-fp/floattidf.c: Likewise.
19997 * soft-fp/floattisf.c: Likewise.
19998 * soft-fp/floattitf.c: Likewise.
19999 * soft-fp/floatuntidf.c: Likewise.
20000 * soft-fp/floatuntisf.c: Likewise.
20001 * soft-fp/floatuntitf.c: Likewise.
20002 * soft-fp/trunctfxf2.c: Likewise.
20004 2013-10-10 David S. Miller <davem@davemloft.net>
20006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20008 2013-10-10 Joseph Myers <joseph@codsourcery.com>
20010 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20011 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20012 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20013 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20014 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20015 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20016 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20018 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20019 for NaNs before doing comparisons on argument.
20020 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20023 2013-10-10 Will Newton <will.newton@linaro.org>
20025 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20026 passed to _int_memalign does not overflow.
20028 2013-10-10 Torvald Riegel <triegel@redhat.com>
20030 * scripts/bench.pl: Add include-sources directive.
20031 * benchtests/README: Update documentation.
20033 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20035 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20036 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20037 instead of FP_INIT_ROUNDMODE.
20038 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20039 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20042 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20043 copy class of input value.
20044 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20045 not handle exceptions.
20046 * soft-fp/negsf2.c (__negsf2): Likewise.
20047 * soft-fp/negtf2.c (__negtf2): Likewise.
20048 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20050 2013-10-09 Joseph Myers <joseph@codesourcery.com>
20052 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20053 semicolon. From Linux kernel.
20055 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20057 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20059 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20062 * manual/socket.texi: Added statement about buffer
20063 for gethostbyname2_r.
20065 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
20067 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20068 Use .p2align directive instead, throughout.
20069 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20070 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20071 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20072 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20073 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20074 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20075 * sysdeps/x86_64/strchr.S: Likewise.
20076 * sysdeps/x86_64/strrchr.S: Likewise.
20078 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20080 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20082 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20084 * sysdeps/generic/math_private.h (__mpsin1): Remove
20086 (__mpcos1): Likewise.
20087 (__mpsin): New argument __range_reduce.
20088 (__mpcos): Likewise.
20089 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20090 (slow): Use __mpsin and __mpcos.
20094 (sloww1): Likewise.
20095 (sloww2): Likewise.
20096 (bsloww): Likewise.
20097 (bsloww1): Likewise.
20098 (bsloww2): Likewise.
20099 (cslow2): Likewise.
20100 (csloww): Likewise.
20101 (csloww1): Likewise.
20102 (csloww2): Likewise.
20103 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20104 range_reduce. Merge in __mpsin1.
20105 (__mpcos): Likewise.
20106 (__mpsin1): Remove.
20107 (__mpcos1): Likewise.
20109 2013-10-07 Joseph Myers <joseph@codesourcery.com>
20111 * locale/loadlocale.c (_nl_intern_locale_data): Use
20113 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20114 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20115 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20116 obstack data is appropriately aligned.
20117 (obstack_int32_grow_fast): Likewise.
20118 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20119 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20120 (add_locale_uint32_array): Likewise.
20122 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20124 * benchtests/Makefile: Remove ARGLIST and RET variables.
20125 ($(objpfx)bench-%.c): Pass only function name to the script.
20126 * benchtests/README: Update documentation.
20127 * benchtests/acos-inputs: Add new directives.
20128 * benchtests/acosh-inputs: Likewise.
20129 * benchtests/asin-inputs: Likewise.
20130 * benchtests/asinh-inputs: Likewise.
20131 * benchtests/atan-inputs: Likewise.
20132 * benchtests/atanh-inputs: Likewise.
20133 * benchtests/cos-inputs: Likewise.
20134 * benchtests/cosh-inputs: Likewise.
20135 * benchtests/exp-inputs: Likewise.
20136 * benchtests/log-inputs: Likewise.
20137 * benchtests/pow-inputs: Likewise.
20138 * benchtests/rint-inputs: Likewise.
20139 * benchtests/sin-inputs: Likewise.
20140 * benchtests/sinh-inputs: Likewise.
20141 * benchtests/tan-inputs: Likewise.
20142 * benchtests/tanh-inputs: Likewise.
20143 * scripts/bench.pl: Add support for new directives.
20145 2013-10-07 Alan Modra <amodra@gmail.com>
20147 * README: Fix careless merge.
20149 2013-10-05 Alan Modra <amodra@gmail.com>
20151 * NEWS: Mention powerpc64le support and bugs fixed.
20152 * README: Both big-endian and little-endian powerpc64 supported.
20154 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20156 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20157 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20158 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20159 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20161 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20163 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20166 2013-10-04 Joseph Myers <joseph@codesourcery.com>
20168 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20169 Move -mhard-float appending from
20170 ports/sysdeps/powerpc/powerpc32/Makefile.
20171 [$(with-fp) = yes] (ASFLAGS): Likewise.
20172 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20173 * sysdeps/powerpc/nofpu: Move directory from
20174 ports/sysdeps/powerpc/nofpu.
20175 * sysdeps/powerpc/soft-fp: Move directory from
20176 ports/sysdeps/powerpc/soft-fp.
20177 * sysdeps/powerpc/powerpc32/405: Move directory from
20178 ports/sysdeps/powerpc/powerpc32/405.
20179 * sysdeps/powerpc/powerpc32/440: Move directory from
20180 ports/sysdeps/powerpc/powerpc32/440.
20181 * sysdeps/powerpc/powerpc32/464: Move directory from
20182 ports/sysdeps/powerpc/powerpc32/464.
20183 * sysdeps/powerpc/powerpc32/476: Move directory from
20184 ports/sysdeps/powerpc/powerpc32/476.
20185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20186 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20188 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20190 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20192 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20194 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20195 * README: Update for powerpc-*-linux-gnu software floating point
20198 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20199 case to powerpc/powerpc32*.
20200 * sysdeps/unix/sysv/linux/configure: Regenerated.
20202 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20203 (_FPU_MASK_OM): Define as 0x04.
20204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20212 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20215 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20218 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20219 and setcontext_e500.
20221 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20223 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20225 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20227 * manual/threads.texi (Default Thread Attributes): Fix typo.
20229 2013-10-04 Will Newton <will.newton@linaro.org>
20231 * malloc/Makefile: Add tst-memalign.
20232 * malloc/tst-memalign.c: New file.
20234 * malloc/tst-posix_memalign.c: Add comments.
20235 (do_test): Add comments and call free on all potentially
20236 allocated pointers. Add space after cast.
20238 * malloc/tst-pvalloc.c: Add comments.
20239 (do_test): Add comments and call free on all potentially
20240 allocated pointers. Remove duplicate check for NULL pointer.
20241 Add space after cast.
20243 * malloc/tst-valloc.c: Add comments.
20244 (do_test): Add comments and call free on all potentially
20245 allocated pointers. Remove duplicate check for NULL pointer.
20246 Add space after cast.
20248 2013-10-04 Alan Modra <amodra@gmail.com>
20250 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20251 Use stdint types in rather than __attribute__((mode())).
20252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20254 2013-10-04 Alan Modra <amodra@gmail.com>
20256 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20257 Correct handling of unaligned relocs for little-endian.
20258 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20260 2013-10-04 Alan Modra <amodra@gmail.com>
20262 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20263 * configure: Regenerate.
20264 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20265 * shlib-versions: Likewise.
20267 2013-10-04 Alan Modra <amodra@gmail.com>
20269 * string/tester.c (test_memrchr): Increment reported test cycle.
20271 2013-10-04 Alan Modra <amodra@gmail.com>
20273 * string/test-memcpy.c (do_one_test): When reporting errors, print
20274 string address and don't overrun end of string.
20276 2013-10-04 Alan Modra <amodra@gmail.com>
20278 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20279 insrdi. Make better use of reg selection to speed exit slightly.
20280 Schedule entry path a little better. Remove useless "are we done"
20281 checks on entry to main loop. Handle wrapping around zero address.
20282 Correct main loop count. Handle single left-over word from main
20283 loop inline rather than by using loop_small. Remove extra word
20284 case in loop_small caused by wrong loop count. Add little-endian
20286 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20287 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20289 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20290 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20291 support. Avoid rlwimi.
20292 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20294 2013-10-04 Alan Modra <amodra@gmail.com>
20296 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20297 insrdi. Formatting.
20298 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20299 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20300 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20301 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20302 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20303 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20305 2013-10-04 Alan Modra <amodra@gmail.com>
20307 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20308 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20309 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20310 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20311 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20312 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20313 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20314 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20315 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20316 use of regs. Use power7 mtocrf. Tidy function tails.
20318 2013-10-04 Alan Modra <amodra@gmail.com>
20320 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20321 Formatting. Consistently use rXXX register defines or rN defines.
20322 Use early exit labels that avoid restoring unused non-volatile regs.
20323 Make cr field use more consistent with rWORDn compares. Rename
20324 regs used as shift registers for unaligned loop, using rN defines
20325 for short lifetime/multiple use regs.
20326 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20328 addi 1,1,64 to pop stack frame. Simplify return value code.
20329 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20331 2013-10-04 Alan Modra <amodra@gmail.com>
20333 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20334 support. Correct typos, formatting. Optimize tail. Use insrdi
20335 rather than rlwimi.
20336 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20337 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20338 little-endian support. Correct typos.
20339 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20340 rather than rlwimi.
20341 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20342 in loop and entry code to keep "and." results.
20343 (strchr): Add little-endian support. Comment. Move cntlzd
20345 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20347 2013-10-04 Alan Modra <amodra@gmail.com>
20349 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20350 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20351 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20352 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20354 2013-10-04 Alan Modra <amodra@gmail.com>
20356 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20357 (rTMP): Define as r11.
20358 (strcmp): Add little-endian support. Optimise tail.
20359 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20360 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20361 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20362 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20363 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20364 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20367 2013-10-04 Alan Modra <amodra@gmail.com>
20369 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20370 little-endian support. Remove unnecessary "are we done" tests.
20371 Handle "s" wrapping around zero and extremely large "size".
20372 Correct main loop count. Handle single left-over word from main
20373 loop inline rather than by using small_loop. Correct comments.
20374 Delete "zero" tail, use "end_max" instead.
20375 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20377 2013-10-04 Alan Modra <amodra@gmail.com>
20379 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20380 support. Don't branch over align.
20381 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20382 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20383 support. Rearrange tmp reg use to suit. Comment.
20384 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20386 2013-10-04 Alan Modra <amodra@gmail.com>
20388 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20390 2013-10-04 Alan Modra <amodra@gmail.com>
20392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20393 conditional form of branch and link when obtaining pc.
20394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20396 2013-10-04 Alan Modra <amodra@gmail.com>
20398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20403 2013-10-04 Alan Modra <amodra@gmail.com>
20405 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20406 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20407 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20408 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20409 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20410 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20411 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20412 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20413 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20414 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20416 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20417 Alistair Popple <alistair@ozlabs.au.ibm.com>
20418 Alan Modra <amodra@gmail.com>
20421 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20422 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20423 _dl_hwcap access for little-endian.
20424 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20425 destroy vmx regs when saving unaligned.
20426 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20427 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20428 destroy vmx regs when saving unaligned.
20430 2013-10-04 Alan Modra <amodra@gmail.com>
20432 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20433 Don't use a union to pack hi/low value.
20435 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20437 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20439 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20440 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20441 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20442 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20443 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20445 2013-10-04 Alan Modra <amodra@gmail.com>
20447 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20448 constants to usual value for .cst8 section, and remove redundant
20450 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20451 constant for 0x1p52. Load little-endian words of double from
20452 correct stack offsets.
20454 2013-10-04 Alan Modra <amodra@gmail.com>
20456 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20457 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20458 words of double from correct stack offsets.
20459 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20460 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20461 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20462 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20464 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20465 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20466 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20467 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20468 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20469 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20470 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20471 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20472 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20473 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20474 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20475 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20477 2013-10-04 Alan Modra <amodra@gmail.com>
20479 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20480 64-bit int/double union.
20481 (_FPU_SETCW): Likewise.
20482 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20483 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20485 2013-10-04 Alan Modra <amodra@gmail.com>
20487 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20488 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20490 2013-10-04 Alan Modra <amodra@gmail.com>
20492 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20493 use vector int constants.
20494 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20496 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20498 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20499 array with long long.
20500 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20501 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20502 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20503 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20504 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20505 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20506 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20507 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20508 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20509 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20510 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20511 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20512 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20514 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20516 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20517 (__signbit): Likewise. Correct for little-endian.
20518 (__signbitl): Call __signbit.
20519 (lrint): Correct for little-endian.
20520 (lrintf): Call lrint.
20522 2013-10-04 Alan Modra <amodra@gmail.com>
20524 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20525 union 32-bit int array member with 64-bit int array.
20526 (t515, tm256): Double rather than long double.
20527 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20529 2013-10-04 Alan Modra <amodra@gmail.com>
20531 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20533 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20534 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20535 version of math_ldbl.h.
20537 2013-10-04 Alan Modra <amodra@gmail.com>
20539 [BZ #15734], [BZ #15735]
20540 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20541 all uses of ieee875 long double macros and unions. Simplify test
20542 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20543 ldbl_extract_mantissa value for ix,iy exponents. Properly
20544 normalize after ldbl_extract_mantissa, and don't add hidden bit
20545 already handled. Don't treat low word of ieee854 mantissa like
20546 low word of IBM long double and mask off bit when testing for
20548 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20549 all uses of ieee875 long double macros and unions. Simplify tests
20550 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20551 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20552 two1022, instead use their values. Recognise that tests for large
20553 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20554 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20555 Rewrite all uses of ieee875 long double macros and unions. Simplify
20556 test for 0.0L and nan. Correct negation.
20557 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20558 ieee875 long double macros and unions. Correct output for large
20559 magnitude x. Correct absolute value calculation.
20560 (__erfcl): Likewise.
20561 * math/libm-test.inc: Add tests for errors discovered in IBM long
20562 double versions of fmodl, remainderl, erfl and erfcl.
20564 2013-10-04 Alan Modra <amodra@gmail.com>
20566 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20567 all uses of ieee854 long double macros and unions. Simplify tests
20568 for long doubles that are fully specified by the high double.
20569 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20571 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20572 Remove dead code too.
20573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20574 (__ieee754_ynl): Likewise.
20575 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20576 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20578 Remove dead code too.
20579 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20580 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20581 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20582 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20584 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20586 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20587 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20588 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20589 Comment on variable precision.
20590 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20591 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20593 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20594 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20595 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20596 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20597 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20599 2013-10-04 Alan Modra <amodra@gmail.com>
20601 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20602 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20603 all uses of ieee854 long double macros and unions.
20604 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20605 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20606 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20607 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20608 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20609 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20612 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20613 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20614 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20615 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20616 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20617 Simplify sign and nan test too.
20618 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20619 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20620 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20621 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20623 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20624 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20626 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20627 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20628 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20629 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20630 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20631 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20633 2013-10-04 Alan Modra <amodra@gmail.com>
20635 * stdio-common/printf_size.c (__printf_size): Don't use
20636 union ieee854_long_double in fpnum union.
20637 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20638 signbit macro to retrieve sign from long double.
20639 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20640 retrieve sign from long double.
20641 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20642 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20643 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20644 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20645 * math/test-misc.c (main): Don't use union ieee854_long_double.
20647 2013-10-04 Alan Modra <amodra@gmail.com>
20650 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20651 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20652 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20653 calculation. Remove unnecessary test for denormal exponent.
20654 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20655 Correct handling of denormals. Avoid undefined shift behaviour.
20656 Correct normalisation of low mantissa when low double is denormal.
20657 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20658 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20659 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20660 Correct normalisation of low mantissa. Test for overflow of high
20661 mantissa and normalise.
20662 (ldbl_nearbyint): Use more readable constant for two52.
20663 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20664 (__mpn_construct_long_double): Fix test for overflow of high
20665 mantissa and correct normalisation. Avoid undefined shift.
20667 2013-10-04 Alan Modra <amodra@gmail.com>
20669 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20670 (union ibm_extended_long_double): Define as an array of ieee754_double.
20671 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20672 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20673 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20674 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20675 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20676 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20677 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20678 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20679 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20680 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20681 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20683 2013-10-03 Joseph Myers <joseph@codesourcery.com>
20685 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20686 page size instead of calling getpagesize.
20688 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20689 (LOCFILE_ALIGN_MASK): Likewise.
20690 (LOCFILE_ALIGN_UP): Likewise.
20691 (LOCFILE_ALIGNED_P): Likewise.
20692 * locale/programs/ld-collate.c (collate_output): Use the new
20693 macros instead of __alignof__ (int32_t).
20694 * locale/weight.h (findidx): Likewise.
20696 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
20699 * manual/string.texi: Fix strncat and wcsncat.
20701 2013-10-03 Brooks Moses <bmoses@google.com>
20704 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20705 * Makerules: ...here, and adjust associated comments.
20707 2013-10-02 Will Newton <will.newton@linaro.org>
20709 * malloc/Makefile: Add tst-pvalloc.
20710 * malloc/tst-pvalloc.c: New file.
20712 2013-10-02 Will Newton <will.newton@linaro.org>
20714 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20715 improve test coverage.
20717 2013-10-02 Will Newton <will.newton@linaro.org>
20719 * malloc/Makefile: Add tst-posix_memalign.
20720 * malloc/tst-posix_memalign.c: New file.
20722 2013-10-01 Eric Blake <eblake@redhat.com>
20724 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20725 Use __THROWNL rather than __THROW on static functions.
20727 2013-09-30 Petr Machata <pmachata@redhat.com>
20729 * elf/elf.h (R_AARCH64_ABS16): New macro.
20730 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20731 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20732 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20733 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20734 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20735 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20736 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20737 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20738 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20739 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20740 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20741 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20742 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20743 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20744 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20745 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20746 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20747 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20748 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20749 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20750 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20751 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20752 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20753 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20754 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20755 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20756 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20757 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20758 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20759 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20760 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20761 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20762 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20763 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20764 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20765 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20766 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20767 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20768 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20769 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20770 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20771 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20772 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20773 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20774 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20775 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20776 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20777 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20778 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20779 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20780 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20781 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20782 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20783 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20784 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20785 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20786 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20787 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20788 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20789 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20790 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20791 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20792 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20793 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20794 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20795 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20796 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20797 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20798 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20799 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20800 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20801 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20802 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20803 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20804 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20805 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20806 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20807 (R_AARCH64_TLSDESC_LDR): Likewise.
20808 (R_AARCH64_TLSDESC_ADD): Likewise.
20809 (R_AARCH64_TLSDESC_CALL): Likewise.
20811 2013-09-30 Andreas Schwab <schwab@suse.de>
20814 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20815 the nss database lookup.
20816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20819 2013-09-28 Mike Frysinger <vapier@gentoo.org>
20821 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20823 2013-09-28 P. J. McDermott <pj@pehjota.net>
20825 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20826 ${Bash-specific parameter/pattern/string} parameter expansion.
20827 * sysdeps/unix/make-syscalls.sh: Likewise.
20829 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20831 * sysdeps/sh/stackguard-macros.h: New file.
20833 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
20835 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20837 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20838 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20839 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20840 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20842 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20844 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20845 Fix thread ID register.
20847 2013-09-25 Joseph Myers <joseph@codesourcery.com>
20849 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20850 [POSIX || UNIX98]: Require rather than permitting all symbols from
20852 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20853 element of struct sched_param.
20854 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20855 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20856 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20857 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20860 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20862 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20863 argument calculation.
20865 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20867 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20869 [POSIX] (pthread_attr_t): Do not require type.
20870 [POSIX] (pthread_cond_t): Likewise.
20871 [POSIX] (pthread_condattr_t): Likewise.
20872 [POSIX] (pthread_key_t): Likewise.
20873 [POSIX] (pthread_mutex_t): Likewise.
20874 [POSIX] (pthread_mutexattr_t): Likewise.
20875 [POSIX] (pthread_once_t): Likewise.
20876 [POSIX] (pthread_t): Likewise.
20877 [POSIX-based standards] (pthread_atfork): Expect function.
20879 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20880 Richard Sandiford <richard@codesourcery.com>
20882 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20883 (swap_endianness_p): New extern variable.
20884 (set_big_endian): New inline function.
20885 (maybe_swap_uint32): Likewise.
20886 (maybe_swap_uint32_array): Likewise.
20887 (maybe_swap_uint32_obstack): Likewise.
20888 * locale/programs/locfile.c: Include <stdbool.h>.
20889 (swap_endianness_p): New variable.
20890 (add_locale_uint32): Call maybe_swap_uint32.
20891 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20892 (write_locale_data): Call maybe_swap_uint32_array.
20893 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20895 (obstack_int32_grow_fast): Likewise.
20896 (output_weightwc): Call maybe_swap_uint32_obstack.
20897 (collate_output): Likewise.
20898 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20899 (OPT_LITTLE_ENDIAN): Likewise.
20900 (options): Add --little-endian and --big-endian options.
20901 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20902 * locale/programs/locarchive.c: Include "locfile.h".
20906 (create_archive): Use the new macros to access fields of
20907 structures directly mapped from or written to locale archives.
20908 (oldlocrecentcmp): Likewise.
20909 (enlarge_archive): Likewise.
20910 (insert_name): Likewise.
20911 (add_alias): Likewise.
20912 (add_locale): Likewise.
20913 (delete_locales_from_archive): Likewise.
20914 (show_archive_content): Likewise.
20915 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20918 2013-09-24 Roland McGrath <roland@hack.frob.com>
20920 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20921 http://www.gnu.org/doc/freemanuals.texi.
20922 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20924 2013-09-24 Will Newton <will.newton@linaro.org>
20926 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20929 2013-09-23 Joseph Myers <joseph@codesourcery.com>
20931 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20934 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20936 * manual/threads.texi (POSIX Threads): Fix a typo.
20938 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20941 * string/tst-strcoll-overflow.c: New test case.
20942 * string/Makefile (xtests): Add tst-strcoll-overflow.
20943 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20944 cache if string sizes may cause integer overflow.
20947 * string/strcoll_l.c (coll_seq): New members rule, idx,
20948 save_idx and back_us.
20949 (get_next_seq_nocache): New function.
20950 (do_compare_nocache): New function.
20951 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20954 2013-09-23 Carlos O'Donell <carlos@redhat.com>
20957 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20958 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20959 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20962 * elf/Makefile (tests): Add tst-ptrguard1.
20963 (tests-static): Add tst-ptrguard1-static.
20964 (tst-ptrguard1-ARGS): Define.
20965 (tst-ptrguard1-static-ARGS): Define.
20966 * elf/tst-ptrguard1.c: New file.
20967 * elf/tst-ptrguard1-static.c: New file.
20968 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20969 * sysdeps/i386/stackguard-macros.h: Likewise.
20970 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20971 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20972 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20973 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20974 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20975 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20977 2013-09-23 Hector Marco <hecmargi@upv.es>
20978 Ismael Ripoll <iripoll@disca.upv.es>
20979 Carlos O'Donell <carlos@redhat.com>
20982 * sysdeps/generic/stackguard-macros.h: Define
20983 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20984 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20985 Define __pointer_chk_guard_local.
20986 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20987 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20989 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20992 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20994 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20996 * include/string.h (__ffs): Declare as hidden.
20997 * string/ffs.c (__ffs): Define as hidden.
20998 * sysdeps/i386/ffs.c (__ffs): Likewise.
20999 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21000 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21001 * sysdeps/s390/ffs.c (__ffs): Likewise.
21002 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21004 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
21006 * NEWS: Mention malloc probes.
21008 * malloc/arena.c (new_heap): New memory_heap_new probe.
21009 (grow_heap): New memory_heap_more probe.
21010 (shrink_heap): New memory_heap_less probe.
21011 (heap_trim): New memory_heap_free probe.
21012 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21013 (systrim): New memory_sbrk_less probe.
21014 * manual/probes.texi: Document them.
21016 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21017 * manual/probes.texi: Document it.
21019 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21020 (__libc_realloc): Add memory_realloc_retry probe.
21021 (__libc_memalign): Add memory_memalign_retry probe.
21022 (__libc_valloc): Add memory_valloc_retry probe.
21023 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21024 (__libc_calloc): Add memory_calloc_retry probe.
21025 * manual/probes.texi: Document them.
21027 * malloc/arena.c (get_free_list): Add probe
21028 memory_arena_reuse_free_list.
21029 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21030 and memory_arena_reuse.
21031 (arena_get2) [!PER_THREAD]: Likewise.
21032 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21033 memory_arena_reuse_realloc.
21034 * manual/probes.texi: Document them.
21036 * malloc/malloc.c (__libc_free): Add
21037 memory_mallopt_free_dyn_thresholds probe.
21038 (__libc_mallopt): Add multiple memory_mallopt probes.
21039 * manual/probes.texi: Document them.
21041 * malloc/malloc.c: Include stap-probe.h.
21042 (__libc_mallopt): Add memory_mallopt probe.
21043 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21044 * manual/probes.texi: New.
21045 * manual/Makefile (chapters): Add probes.
21046 * manual/threads.texi: Set next node.
21048 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
21050 [BZ #15963, #13985]
21051 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21052 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21053 Add `Chinese' to `nan' entry name.
21055 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21057 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21058 (POLYNOMIAL): Likewise.
21059 (TAYLOR_SINCOS): Likewise.
21060 (TAYLOR_SLOW): Likewise.
21061 (__sin): Use TAYLOR_SINCOS.
21063 (slow): Use TAYLOR_SLOW.
21065 (bsloww): Likewise.
21066 (csloww): Likewise.
21068 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21070 * stdlib/strtod_l.c: Fix buffer overrun.
21072 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21074 * benchtests/Makefile (bench): Add sincos.
21075 * benchtests/bench-sincos.c: New file.
21077 * math/libm-test.inc (cos_test_data): New test inputs.
21078 (sin_test_data): Likewise.
21080 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21086 (sloww1): Likewise.
21087 (sloww2): Likewise.
21088 (bsloww1): Likewise.
21089 (bsloww2): Likewise.
21090 (cslow2): Likewise.
21091 (csloww1): Likewise.
21092 (csloww2): Likewise.
21094 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21103 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21105 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21106 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21107 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21108 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21109 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21110 * elf/cache.c (print_entry): Handle the new cache flags.
21112 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21113 Aldy Hernandez <aldyh@redhat.com>
21115 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21116 Change condition to [_SOFT_FLOAT].
21117 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21120 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21121 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21125 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21129 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21132 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21135 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21137 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21138 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21139 (__longjmp): Use LOAD_GP to load saved GPRs.
21140 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21141 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21142 (__sigsetjmp): Use SAVE_GP to save GPRs.
21144 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21145 Do not append -msoft-float.
21146 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21148 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21150 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21152 2013-09-17 Joseph Myers <joseph@codesourcery.com>
21155 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21156 (_FPU_GETCW): Use initial "__" on variable and field names but not
21157 on macro parameter name.
21158 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21159 parentheses around reference to macro parameter.
21161 2013-09-13 Richard Sandiford <richard@codesourcery.com>
21163 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21165 (ctype_startup): Use uint32_t in cast and sizeof for
21168 2013-09-11 Jia Liu <proljc@gmail.com>
21170 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21172 [__FreeBSD__]: Likewise.
21174 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
21176 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21177 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21178 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21179 (strchr): Remove __strchr_sse42 ifunc selection.
21180 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21181 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21183 2013-09-11 Will Newton <will.newton@linaro.org>
21185 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21186 parameter to RES. Remove hardcoded 1000 value.
21187 * benchtests/bench-skeleton.c (main): Pass RES parameter
21188 to TIMING_INIT and multiply result by 1000.
21190 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21194 2013-09-11 Andreas Schwab <schwab@suse.de>
21196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21198 (O_TMPFILE) [__USE_GNU]: Define.
21199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21202 2013-09-11 Will Newton <will.newton@linaro.org>
21205 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21208 2013-09-11 Will Newton <will.newton@linaro.org>
21211 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21214 2013-09-11 Will Newton <will.newton@linaro.org>
21217 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21220 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
21222 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21223 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21224 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21225 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21226 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21228 2013-09-10 Allan McRae <allan@archlinux.org>
21231 * manual/arith.texi (Parsing of Floats): Clarify
21235 * manual/install.texi (Running make install): Mention
21237 * INSTALL: Regenerated.
21239 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21241 * csu/init-first.c (_init): Remove the !SHARED condition around
21242 FPU control word initialization.
21243 * elf/dl-support.c (_dl_fpu_control): New variable.
21244 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21245 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21246 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21247 * math/test-fpucw-static.c: New file.
21248 * math/test-fpucw-ieee.c: New file.
21249 * math/test-fpucw-ieee-static.c: New file.
21250 * math/Makefile (tests): Add `test-fpucw-ieee' and
21252 (tests-static): New variable.
21253 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21255 [($(build-shared),yes)]
21256 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21258 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21261 2013-09-09 Allan McRae <allan@archlinux.org>
21264 * manual/string.texi (Collation Functions): Fix typo in
21266 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21269 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21272 * libio/memstream.c (open_memstream): Fix memory leak.
21273 * libio/wmemstream.c (open_wmemstream): Likewise.
21276 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21278 2013-09-09 Will Newton <will.newton@linaro.org>
21280 * malloc/Makefile: Add tst-realloc to tests.
21281 * malloc/tst-realloc.c: New file.
21283 2013-09-09 Allan McRae <allan@archlinux.org>
21286 * COPYING: Update from GNU website to fix FSF address.
21287 * COPYING.LIB: Likewise.
21289 2013-09-06 David S. Miller <davem@davemloft.net>
21291 * po/zh_TW.po: Update Chinese (traditional) translation from
21292 translation project.
21294 2013-09-06 Richard Sandiford <richard@codesourcery.com>
21295 Joseph Myers <joseph@codesourcery.com>
21297 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21299 (obstack_chunk_alloc): New macro.
21300 (obstack_chunk_free): Likewise.
21301 (record_offset): New function.
21302 (init_locale_data): Likewise.
21303 (align_locale_data): Likewise.
21304 (add_locale_empty): Likewise.
21305 (add_locale_raw_data): Likewise.
21306 (add_locale_raw_obstack): Likewise.
21307 (add_locale_string): Likewise.
21308 (add_locale_wstring): Likewise.
21309 (add_locale_uint32): Likewise.
21310 (add_locale_uint32_array): Likewise.
21311 (add_locale_char): Likewise.
21312 (start_locale_structure): Likewise.
21313 (end_locale_structure): Likewise.
21314 (start_locale_prelude): Likewise.
21315 (end_locale_prelude): Likewise.
21316 (write_locale_data): Take locale_file structure rather than an
21318 * locale/programs/locfile.h: Include "obstack.h".
21319 (struct locale_file): Change to store locale file contents instead
21321 (init_locale_data): New prototype.
21322 (align_locale_data): Likewise.
21323 (add_locale_empty): Likewise.
21324 (add_locale_raw_data): Likewise.
21325 (add_locale_raw_obstack): Likewise.
21326 (add_locale_string): Likewise.
21327 (add_locale_wstring): Likewise.
21328 (add_locale_uint32): Likewise.
21329 (add_locale_uint32_array): Likewise.
21330 (add_locale_char): Likewise.
21331 (start_locale_structure): Likewise.
21332 (end_locale_structure): Likewise.
21333 (start_locale_prelude): Likewise.
21334 (end_locale_prelude): Likewise.
21335 (write_locale_data): Update prototype.
21336 * locale/programs/3level.h (struct TABLE): Remove result field.
21337 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21338 Use new locale_file interface.
21339 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21340 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21341 * locale/programs/ld-address.c (address_output): Use new
21342 locale_file interface.
21343 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21345 (collate_finish): Don't call collseq_table_finalize.
21346 (collate_output): Use new locale_file interface.
21347 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21349 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21350 (TABLE): Move defines earlier in file.
21351 (ELEMENT): Likewise.
21352 (DEFAULT): Likewise.
21353 (wctrans_table_add): Move macro and inline function earlier in
21355 (struct wctype_table): Move type earlier in file.
21356 (add_locale_wctype_table): New static prototype.
21357 (struct locale_ctype_t): Use logical types instead of struct iovec
21358 pointers for members.
21359 (ctype_output): Use new locale_file interface.
21360 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21361 new locale_file interface.
21362 (allocate_arrays): Update for use of new locale_file interface.
21363 * locale/programs/ld-identification.c (identification_output): Use
21364 new locale_file interface.
21365 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21366 * locale/programs/ld-messages.c (messages_output): Likewise.
21367 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21368 * locale/programs/ld-name.c (name_output): Likewise.
21369 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21370 * locale/programs/ld-paper.c (paper_output): Likewise.
21371 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21372 * locale/programs/ld-time.c (time_output): Likewise.
21374 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21376 * benchtests/Makefile: Add memrchr benchmark.
21377 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21378 benchmark as memrchr.
21379 * benchtests/bench-memrchr-ifunc.c: New file.
21380 * benchtests/bench-memrchr.c: New file.
21382 2013-09-06 Will Newton <will.newton@linaro.org>
21384 * benchtests/Makefile (string-bench): Add memcpy.
21386 2013-09-05 Carlos O'Donell <carlos@redhat.com>
21387 Cong Wang <amwang@redhat.com>
21390 * sysdeps/unix/sysv/linux/bits/in.h
21391 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21392 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21393 before __USE_KERNEL_IPV6_DEFS uses.
21394 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21396 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21397 sockaddr_in6, or ipv6_mreq.
21399 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21401 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21402 memory access for final bytes in some large inputs.
21403 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21405 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21407 * string/test-memrchr.c: New file.
21408 * string/test-memrchr-ifunc.c: New file.
21409 * string/Makefile: Add new memrchr testcase.
21411 2013-09-05 Mike Frysinger <vapier@gentoo.org>
21413 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21414 fanotify_init returns EPERM.
21416 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21418 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21420 (top level): Treat second token from macro or constant entries for
21421 allowed headers as allowed.
21422 * include/complex.h: Condition internal declarations on
21424 * include/fenv.h: Condition include of <stdbool.h> and internal
21425 declarations on [!_ISOMAC].
21427 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21430 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21432 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21434 * configure.in (--enable-versioning): Remove configure option.
21435 (libc_cv_asm_symver_directive): Remove configure test.
21436 (libc_cv_ld_version_script_option): Likewise.
21437 (VERSIONING): Remove variable and AC_SUBST.
21438 (DO_VERSIONING): Remove AC_DEFINE.
21439 * configure: Regenerated.
21440 * config.h.in (DO_VERSIONING): Remove macro.
21441 * Makerules [$(versioning) = yes]: Change conditionals to
21442 [$(build-shared) = yes].
21443 * config.make.in (versioning): Remove variable.
21444 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21445 [$(build-shared) = yes].
21446 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21447 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21448 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21449 [$(build-shared) = yes].
21450 * extra-lib.mk [$(versioning) = yes]: Likewise.
21451 * hurd/Makefile [$(versioning) = yes]: Likewise.
21452 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21454 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21456 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21457 [SHARED && !NO_HIDDEN].
21458 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21460 [SHARED && DO_VERSIONING]: Likewise..
21461 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21462 [$(build-shared) = yes].
21463 * manual/install.texi (--disable-versioning): Remove
21465 * INSTALL: Regenerated.
21466 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21468 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21469 [$(build-shared) = yes].
21470 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21471 * sysdeps/i386/i686/multiarch/strstr-c.c
21472 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21473 [SHARED && !NO_HIDDEN].
21474 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21475 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21476 * sysdeps/powerpc/powerpc32/dl-machine.c
21477 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21478 * sysdeps/powerpc/powerpc32/sysdep.h
21479 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21480 to [SHARED && PIC && !NO_HIDDEN].
21481 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21482 conditional to [SHARED].
21484 2013-09-04 Will Newton <will.newton@linaro.org>
21486 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21487 * benchtests/bench-string.h: Include bench-timing.h instead
21488 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21489 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21490 call to HP_TIMING_DIFF_INIT.
21491 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21492 instead of hp-timing.h macros.
21493 * benchtests/bench-memchr.c: Likewise.
21494 * benchtests/bench-memcmp.c: Likewise.
21495 * benchtests/bench-memcpy.c: Likewise.
21496 * benchtests/bench-memmem.c: Likewise.
21497 * benchtests/bench-memmove.c: Likewise.
21498 * benchtests/bench-memset.c: Likewise.
21499 * benchtests/bench-rawmemchr.c: Likewise.
21500 * benchtests/bench-strcasecmp.c: Likewise.
21501 * benchtests/bench-strcasestr.c: Likewise.
21502 * benchtests/bench-strcat.c: Likewise.
21503 * benchtests/bench-strchr.c: Likewise.
21504 * benchtests/bench-strcmp.c: Likewise.
21505 * benchtests/bench-strcpy.c: Likewise.
21506 * benchtests/bench-strcpy_chk.c: Likewise.
21507 * benchtests/bench-strlen.c: Likewise.
21508 * benchtests/bench-strncasecmp.c: Likewise.
21509 * benchtests/bench-strncat.c: Likewise.
21510 * benchtests/bench-strncmp.c: Likewise.
21511 * benchtests/bench-strncpy.c: Likewise.
21512 * benchtests/bench-strnlen.c: Likewise.
21513 * benchtests/bench-strpbrk.c: Likewise.
21514 * benchtests/bench-strrchr.c: Likewise.
21515 * benchtests/bench-strspn.c: Likewise.
21516 * benchtests/bench-strstr.c: Likewise.
21518 2013-09-04 Will Newton <will.newton@linaro.org>
21520 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21522 2013-09-03 Joseph Myers <joseph@codesourcery.com>
21525 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21526 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21527 * math/libm-test.inc (lgamma_test_data): Add more tests.
21528 * sysdeps/i386/fpu/libm-test-ulps: Update.
21529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21531 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
21533 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21534 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21537 Add strcmp-sse2-unaligned
21538 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21540 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21542 * Versions.def (libc): Add GLIBC_2.19.
21544 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21546 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21547 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21549 2013-09-02 Joseph Myers <joseph@codesourcery.com>
21552 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21553 intermediate calculations in recurrence.
21554 (__ieee754_ynf): Likewise.
21555 * math/libm-test.inc (jn_test_data): Do not allow spurious
21556 underflow exception. Add more tests.
21557 (yn_test_data): Add more tests.
21558 * sysdeps/i386/fpu/libm-test-ulps: Update.
21559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21561 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
21563 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21565 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21567 * csu/init-first.c: Fix then/than typos.
21568 * locale/programs/ld-collate.c: Likewise.
21569 * locale/programs/linereader.h: Likewise.
21570 * manual/charset.texi: Likewise.
21571 * manual/filesys.texi: Likewise.
21572 * manual/stdio.texi: Likewise.
21573 * manual/string.texi: Likewise.
21574 * stdlib/fmtmsg.c: Likewise.
21575 * sysdeps/i386/stpncpy.S: Likewise.
21576 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21577 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21578 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21579 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21581 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21583 * elf/dl-open.c: Fix typos.
21584 * iconvdata/gbbig5.c: Likewise.
21585 * iconvdata/iso-2022-jp.c: Likewise.
21586 * iconv/gconv_int.h: Likewise.
21587 * iconv/loop.c: Likewise.
21588 * nis/rpcsvc/nis.h: Likewise.
21589 * resolv/ns_name.c: Likewise.
21590 * stdio-common/vfscanf.c: Likewise.
21591 * streams/stropts.h: Likewise.
21592 * sunrpc/rpc_thread.c: Likewise.
21593 * sysdeps/i386/strpbrk.S: Likewise.
21594 * sysdeps/ieee754/k_standard.c: Likewise.
21595 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21596 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21597 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21598 * sysdeps/mach/hurd/profil.c: Likewise.
21599 * sysdeps/s390/dl-procinfo.h: Likewise.
21600 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21601 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21602 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21603 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21604 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21606 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21608 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21609 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21611 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21613 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21614 aix specific files.
21615 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21616 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21617 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21618 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21619 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21620 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21621 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21622 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21624 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21625 Roland McGrath <roland@hack.frob.com>
21627 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21628 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21630 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21632 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21633 __executable_start symbol instead of _start.
21635 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21637 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21638 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21640 * sysdeps/gnu/ldsodefs.h: ... this new file.
21642 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21643 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21644 instead of ELFOSABI_LINUX.
21646 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21647 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21648 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21649 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21651 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21652 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21653 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21655 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21656 (ibm_extended_long_double): Add ieee_nan member.
21657 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21658 (do_test): New function.
21660 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21662 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21663 functions, renamed from truncdfsf_test, trunctfsf_test,
21665 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21667 (do_test): Run all these.
21669 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21671 * argp/argp-help.c: Fix typos.
21672 * argp/argp-parse.c: Likewise.
21673 * debug/backtracesyms.c: Likewise.
21674 * elf/elf.h: Likewise.
21675 * malloc/malloc.c: Likewise.
21676 * nis/nis_print.c: Likewise.
21677 * resolv/res_comp.c: Likewise.
21678 * stdlib/stdlib.h: Likewise.
21679 * sunrpc/clnt_tcp.c: Likewise.
21680 * sunrpc/clnt_udp.c: Likewise.
21681 * sunrpc/clnt_unix.c: Likewise.
21682 * sysdeps/unix/bsd/ptsname.c: Likewise.
21683 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21684 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21691 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21693 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21695 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21698 2013-08-27 Mike Frysinger <vapier@gentoo.org>
21701 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21702 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21703 ($(objpfx)bug-dl-leaf): New rule.
21704 ($(objpfx)bug-dl-leaf.so): Likewise.
21705 ($(objpfx)bug-dl-leaf.out): Likewise.
21706 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21707 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21708 * dlfcn/bug-dl-leaf.c: New test.
21709 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21710 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21711 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21712 (dlclose): Likewise.
21713 (dlmopen): Likewise.
21715 2013-08-27 Roland McGrath <roland@hack.frob.com>
21717 * include/netdb.h [!_ISOMAC]:
21718 Don't include <tls.h>.
21719 (h_errno, __libc_h_errno): Move declaration and macros out of
21722 * include/resolv.h [_RESOLV_H_]:
21723 Don't include <tls.h>.
21724 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21725 * resolv/res_libc.c: Don't include <tls.h>.
21726 (_res): Use __attribute__ ((nocommon)) in place of
21727 __attribute__ ((section (".bss"))).
21729 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21730 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21732 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21734 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21735 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21737 * resolv/res_mkquery.c: Include <sys/time.h>.
21739 * inet/ifreq.c: Moved to ...
21740 * sysdeps/unix/ifreq.c: ... here.
21741 * inet/ifreq.c: New file, true stub version.
21743 * socket/sa_len.c: New file.
21744 * socket/Makefile (aux): Add it.
21745 * sysdeps/unix/sysv/linux/Makefile
21746 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21747 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21748 and #include <socket/sa_len.c>.
21749 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21750 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21752 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21753 * bits/socket.h: ... here.
21755 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21756 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21757 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21759 2013-08-27 Andreas Schwab <schwab@suse.de>
21762 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21763 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21764 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21765 * string/test-strcasecmp.c (test_main): Run tests in several
21767 * string/test-strncasecmp.c (test_main): Likewise.
21769 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21770 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21771 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21772 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21773 (__strncasecmp_ssse3) [PIC]: Likewise.
21775 2013-08-26 Roland McGrath <roland@hack.frob.com>
21777 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21779 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21780 instead of explicitly declaring xdecrypt.
21781 * nis/nss_nis/nis-publickey.c: Likewise.
21783 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21786 * nscd/aicache.c: Include res_hconf.h.
21787 (addhstaiX): Initialize res_hconf.
21789 2013-08-26 Andreas Schwab <schwab@suse.de>
21791 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21792 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21794 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21796 * nscd/aicache.c (addhstaiX): Fix indentation.
21798 2013-08-25 Mike Frysinger <vapier@gentoo.org>
21800 * configure.ac: Quote $build_pt_chown test.
21801 * configure: Regenerated.
21803 2013-08-23 Joseph Myers <joseph@codesourcery.com>
21806 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21807 * math/s_cexpf.c (__cexpf): Likewise.
21808 * math/s_cexpl.c (__cexpl): Likewise.
21809 * math/libm-test.inc (cexp_test_data): Correct expected return
21810 value for NaN + i0. Add another test.
21812 2013-08-22 David S. Miller <davem@davemloft.net>
21814 * po/ca.po: Update Catalan translation from translation project.
21815 * po/uk.po: Add Ukrainian translations from translation project.
21817 2013-08-21 Joseph Myers <joseph@codesourcery.com>
21820 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21821 is infinite, not alongside NaN test.
21822 * math/s_fdimf.c (__fdimf): Likewise.
21823 * math/s_fdiml.c (__fdiml): Likewise.
21824 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21825 errno is unchanged.
21827 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
21829 * argp/argp-help.c: Fix typos.
21830 * crypt/speeds.c: Likewise.
21831 * csu/check_fds.c: Likewise.
21832 * elf/dl-load.c: Likewise.
21833 * elf/dl-open.c: Likewise.
21834 * elf/reldep3.c: Likewise.
21835 * elf/reldep.c: Likewise.
21836 * elf/sprof.c: Likewise.
21837 * iconv/iconv_charmap.c: Likewise.
21838 * iconv/skeleton.c: Likewise.
21839 * iconv/strtab.c: Likewise.
21840 * io/lockf64.c: Likewise.
21841 * libio/libioP.h: Likewise.
21842 * resolv/gai_notify.c: Likewise.
21843 * resolv/ns_name.c: Likewise.
21844 * resolv/ns_samedomain.c: Likewise.
21845 * resolv/res_send.c: Likewise.
21846 * stdlib/random.c: Likewise.
21847 * sunrpc/rpc/xdr.h: Likewise.
21848 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21849 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21850 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21851 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21852 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21853 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21854 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21855 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21856 * sysdeps/mach/hurd/check_fds.c: Likewise.
21857 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21858 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21859 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21860 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21861 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21862 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21863 * sysdeps/pthread/aio_notify.c: Likewise.
21864 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21865 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21866 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21867 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21868 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21870 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21872 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21873 version if bit_Slow_SSE4_2 is set.
21874 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21875 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21877 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21880 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21881 trampoline stack frame information.
21882 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21883 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21884 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21885 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21886 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21887 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21888 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21889 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21891 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21892 interrupting a syscall and set with option SA_SIGINFO.
21894 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21897 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21898 argument is infinite.
21899 * math/s_cprojf.c (__cprojf): Likewise.
21900 * math/s_cprojl.c (__cprojl): Likewise.
21901 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21902 * math/libm-test.inc (cproj_test_data): Add more tests.
21904 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21906 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21907 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21908 size. Use __ffs to determine corresponding shift.
21910 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21911 Roland McGrath <roland@hack.frob.com>
21913 * Makefile (INSTALL): Remove trailing blank lines from output of
21916 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21918 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21919 Align 32 bit compat elf_greg to 8 bytes.
21921 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21923 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21925 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21927 * string/strcoll_l.c (coll_seq): New structure.
21928 (get_next_seq_cached): New function.
21929 (get_next_seq): New function.
21930 (do_compare): New function.
21931 (STRCOLL): Use GNU style definition. Simplify implementation
21932 by using get_next_seq, get_next_seq_cached and do_compare.
21934 2013-08-16 Florian Weimer <fweimer@redhat.com>
21938 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21940 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21942 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21943 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21944 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21946 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21947 GETDENTS_64BIT_ALIGNED.
21948 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21949 * manual/filesys.texi (Reading/Closing Directory): Document
21950 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21952 * manual/conf.texi (Limits for Files): Add portability note to
21953 NAME_MAX, PATH_MAX.
21954 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21956 2013-08-13 Andreas Schwab <schwab@suse.de>
21959 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21961 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21962 LDBL_MAX_EXP >= 16384]: Add tests for it.
21964 2013-08-12 David S. Miller <davem@davemloft.net>
21966 * version.h (RELEASE): Set to "development".
21967 (VERSION): Set to "2.18.90".
21968 * NEWS: Add 2.19 section.
21970 2013-08-03 David S. Miller <davem@davemloft.net>
21972 * po/ko.po: Update Korean translation from translation project.
21974 2013-08-01 David S. Miller <davem@davemloft.net>
21976 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21977 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21980 2013-07-30 David S. Miller <davem@davemloft.net>
21982 * po/fr.po: Update French translation from translation project.
21984 2013-07-28 David S. Miller <davem@davemloft.net>
21986 * po/cs.po: Update Czech translation from translation project.
21988 * po/sv.po: Update Swedish translation from translation project.
21990 2013-07-27 David S. Miller <davem@davemloft.net>
21992 * po/eo.po: Update Esperanto translation from translation project.
21994 * po/vi.po: Update Vietnamese translation from translation project.
21996 * po/de.po: Update German translation from translation project.
21998 2013-07-26 David S. Miller <davem@davemloft.net>
22000 * po/bg.po: Update Bulgarian translation from translation project.
22002 * po/nl.po: Update Dutch translation from translation project.
22003 * po/pl.po: Update Polish translation from translation project.
22004 * po/ru.po: Update Russian translation from translation project.
22006 2013-07-24 David S. Miller <davem@davemloft.net>
22008 * po/libc.pot: Update.
22010 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22012 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22013 variable page size.
22014 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22015 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22016 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22018 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22020 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22022 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22023 Andreas Schwab <schwab@suse.de>
22024 Roland McGrath <roland@hack.frob.com>
22025 Joseph Myers <joseph@codesourcery.com>
22026 Carlos O'Donell <carlos@redhat.com>
22029 * config.h.in: Define HAVE_PT_CHOWN.
22030 * config.make.in (build-pt-chown): New variable.
22031 * configure.in (--enable-pt_chown): New configure option.
22032 * configure: Regenerate.
22033 * login/Makefile: Include Makeconfig. Build pt_chown only if
22034 build-pt-chown is enabled.
22035 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22036 pt_chown to fix pty ownership.
22037 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22039 * manual/install.texi (Configuring and compiling): Mention
22040 --enable-pt_chown. Add @findex for grantpt.
22041 * INSTALL: Regenerate.
22043 2013-07-20 David S. Miller <davem@davemloft.net>
22045 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22046 difference between 32-bit and 64-bit.
22048 2013-07-15 Carlos O'Donell <carlos@redhat.com>
22051 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22052 Avoid system header dependency with -ffreestanding.
22053 ($(objpfx)bits/syscall%d): Likewise.
22055 2013-07-13 David S. Miller <davem@davemloft.net>
22057 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22058 underflows from atanl/atan2l due to bug 15319.
22059 (casinh_test_data): Likewise.
22061 2013-07-07 David S. Miller <davem@davemloft.net>
22063 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22065 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22067 * sysdeps/i386/fpu/libm-test-ulps: Update.
22068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22070 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22072 * configure.in (--enable-lock-elision): Fix message text.
22073 * INSTALL: Regenerate.
22074 * configure: Regenerate.
22076 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22080 2013-07-03 Andreas Jaeger <aj@suse.de>
22082 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22084 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22085 (ptrace_peeksiginfo_args): Add.
22086 (__ptrace_peeksiginfo_flags): Add.
22087 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22088 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22089 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22091 2013-07-03 Allan McRae <allan@archlinux.org>
22093 * sysdeps/i386/fpu/libm-test-ulps: Update.
22095 2013-07-02 David S. Miller <davem@davemloft.net>
22097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22099 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22103 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22105 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22108 2013-07-02 Andi Kleen <ak@linux.intel.com>
22110 * config.h.in (ENABLE_LOCK_ELISION): Add.
22111 * configure.in (--enable-lock-elision): Add option.
22112 * manual/install.texi: Document --enable lock elision.
22113 * configure: Regenerate
22114 * INSTALL: Regenerate.
22116 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22118 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22119 SSE4.2 strcasecmp for libc.a.
22120 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22122 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22125 * soft-fp/op-common.h (_FP_FMA): New macro.
22126 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22127 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22128 (_FP_MUL_MEAT_1_imm): ... here.
22129 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22130 (_FP_MUL_MEAT_1_wide): ... here.
22131 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22132 (_FP_MUL_MEAT_1_hard): ... here.
22133 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22134 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22135 (_FP_MUL_MEAT_2_wide): ... here.
22136 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22137 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22138 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22139 (_FP_MUL_MEAT_2_gmp): ... here.
22140 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22141 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22142 (_FP_MUL_MEAT_4_wide): ... here.
22143 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22144 (_FP_MUL_MEAT_4_gmp): ... here.
22145 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22146 (_FP_WFRACBITS_DW_S): Likewise.
22147 (_FP_WFRACXBITS_DW_S): Likewise.
22148 (_FP_HIGHBIT_DW_S): Likewise.
22149 (FP_FMA_S): Likewise.
22150 (_FP_FRAC_HIGH_DW_S): Likewise.
22151 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22152 (_FP_WFRACBITS_DW_D): Likewise.
22153 (_FP_WFRACXBITS_DW_D): Likewise.
22154 (_FP_HIGHBIT_DW_D): Likewise.
22155 (FP_FMA_D): Likewise.
22156 (_FP_FRAC_HIGH_DW_D): Likewise.
22157 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22158 (_FP_WFRACBITS_DW_E): Likewise.
22159 (_FP_WFRACXBITS_DW_E): Likewise.
22160 (_FP_HIGHBIT_DW_E): Likewise.
22161 (FP_FMA_E): Likewise.
22162 (_FP_FRAC_HIGH_DW_E): Likewise.
22163 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22164 (_FP_WFRACBITS_DW_Q): Likewise.
22165 (_FP_WFRACXBITS_DW_Q): Likewise.
22166 (_FP_HIGHBIT_DW_Q): Likewise.
22167 (FP_FMA_Q): Likewise.
22168 (_FP_FRAC_HIGH_DW_Q): Likewise.
22169 * soft-fp/fmasf4.c: New file.
22170 * soft-fp/fmadf4.c: Likewise.
22171 * soft-fp/fmatf4.c: Likewise.
22173 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22176 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22178 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22180 (index_Slow_SSE4_2): Likewise.
22181 (index_Prefer_PMINUB_for_stringop): Likewise.
22182 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22183 bit_Slow_SSE4_2 is set.
22184 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22185 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22187 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22189 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22190 rtld_global._dl_hwcap2.
22191 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22193 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22194 POWER8 feature descriptions defined in _dl_hwcap2.
22195 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22196 string handling for POWER8 feature bits.
22197 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22198 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22199 _dl_powerpc_cap_flags.
22200 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22201 * sysdeps/powerpc/rtld-global-offsets.sym
22202 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22203 _dl_hwcap2 in the rtld_global_ro structure.
22205 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22207 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22208 hardware capabilities in support of AT_HWCAP2.
22209 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22210 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22212 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22213 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22214 explicitly the unknown a_type display mechanism is used.
22215 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22216 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22218 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22219 to macro prototype for AT_HWCAP2 support.
22220 * sysdeps/i386/dl-procinfo.h: Likewise.
22221 * sysdeps/s390/dl-procinfo.h: Likewise.
22222 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22223 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22224 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22225 return -1 for unknown a_type display fallback.
22226 * sysdeps/sparc/dl-procinfo.h: Likewise.
22227 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22228 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22230 2013-06-28 Joseph Myers <joseph@codesourcery.com>
22232 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22233 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22235 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22238 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22239 mprotect making __stack_prot writable.
22241 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22242 Joseph Myers <joseph@codesourcery.com>
22244 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22245 as being properly aligned.
22247 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22249 * dlfcn/modstatic5.c: New file.
22250 * dlfcn/tststatic5.c: New file.
22251 * dlfcn/Makefile (tests): Add tststatic5.
22252 (tests-static): Likewise.
22253 (modules-names): Add modstatic5.
22254 (tststatic5-ENV): New variable.
22255 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22258 * elf/dl-support.c (_dl_main_map): New variable.
22259 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22260 (_dl_nns, _dl_load_adds): Set to 1.
22261 (_dl_initial_searchlist): Refer to _dl_main_map.
22262 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22263 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22264 call to _dl_get_origin.
22265 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22267 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22268 * dlfcn/modstatic3.c: New file.
22269 * dlfcn/tststatic3.c: New file.
22270 * dlfcn/tststatic4.c: New file.
22271 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22272 (tests-static): Likewise.
22273 (modules-names): Add modstatic3.
22274 (tststatic3-ENV, tststatic4-ENV): New variables.
22275 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22276 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22278 2013-06-26 Joseph Myers <joseph@codesourcery.com>
22280 * configure.in (CC): Require GCC version 4.4 or later.
22281 * configure: Regenerated.
22282 * manual/install.texi (Tools for Compilation): Update GCC version
22284 * INSTALL: Regenerated.
22286 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22289 * string/test-memcmp.c (check2): New.
22290 (main): Call check2.
22292 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22294 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22297 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22299 (dl_open_worker) [!SHARED]: ... here.
22301 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22303 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22305 2013-06-25 Richard Henderson <rth@redhat.com>
22307 * locale/programs/locarchive.c: Include <libc-internal.h>
22309 2013-06-25 Joseph Myers <joseph@codesourcery.com>
22311 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22312 trailing whitespace removed.
22314 2013-06-24 Mike Frysinger <vapier@gentoo.org>
22317 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22318 * locale/programs/locarchive.c: Include libc-mmap.h.
22319 (prepare_address_space): Take two new outputs (the mmap base and len).
22320 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22322 (create_archive): Declare new mmap base and len values for
22323 prepare_address_space, and store the result in ah.
22324 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22325 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22326 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22327 Declare new mmap base and len values for
22328 prepare_address_space, and store the result in new_ah.
22329 (open_archive): Declare new mmap base and len values for
22330 prepare_address_space, and store the result in ah.
22331 (close_archive): If ah->mmap_base is not NULL, use that and
22332 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22333 * sysdeps/generic/libc-mmap.h: New file.
22335 2013-06-24 Mike Frysinger <vapier@gentoo.org>
22337 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22338 (ALIGN_UP): Likewise.
22339 (PTR_ALIGN_DOWN): Likewise.
22340 (PTR_ALIGN_UP): Likewise.
22342 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22344 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22345 entry mapped to PPC_PLATFORM_POWER8.
22346 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22348 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22349 (_dl_string_platform): Add case for exporting platform position for
22351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22352 search path to sysdeps/powerpc/powerpc32/power8 directory.
22353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22354 search path to sysdeps/powerpc/powerpc64/power8 directory.
22355 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22356 power7 directories.
22357 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22358 power7 directories.
22360 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22362 * INSTALL: Regenerate.
22364 * nscd/connections.c (nscd_init): Fix comment.
22366 2013-06-22 Joseph Myers <joseph@codesourcery.com>
22368 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22371 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22372 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22374 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22376 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22378 (DL_DST_REQ_STATIC): Remove macro.
22380 2013-06-21 Joseph Myers <joseph@codesourcery.com>
22383 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22384 with a shift of 0 bits.
22386 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22388 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22391 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22394 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22396 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22398 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22399 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22400 accepts -fno-tree-loop-distribute-patterns.
22401 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22402 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22404 * string/memset.c (memset): Likewise.
22405 * string/test-memmove.c (simple_memmove): Disable loop transformation
22407 * string/test-memset.c (simple_memset): Likewise.
22408 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22409 * benchtests/bench-memset.c (simple_memset): Likewise.
22410 * configure: Regenerated.
22412 2013-06-20 Joseph Myers <joseph@codesourcery.com>
22414 * math/test-misc.c (main): Ignore fesetround failure when failures
22415 of subsequent rounding tests would be ignored.
22418 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22419 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22420 * math/fegetenv.c (__fegetenv): Return 0.
22421 * math/fegetexcept.c (fegetexcept): Return 0.
22422 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22424 * math/feholdexcpt.c (feholdexcept): Return 0.
22425 * math/fesetenv.c (__fesetenv): Return 0.
22426 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22427 argument FE_TONEAREST.
22428 * math/feupdateenv.c (__feupdateenv): Return 0.
22429 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22431 2013-06-18 Roland McGrath <roland@hack.frob.com>
22433 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22434 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22435 ($(objpfx)rtld-%.os rules): Use them.
22437 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22439 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22442 2013-06-17 Roland McGrath <roland@hack.frob.com>
22444 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22445 length of target pattern, then descending length of dependency pattern.
22446 * configure.in (AWK): Require gawk 3.1.2 or newer.
22447 * manual/install.texi (Tools for Compilation): Say that we do.
22448 * configure: Regenerated.
22450 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22451 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22452 * scripts/sysd-rules.awk: ... this new script.
22453 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22454 than a glob-style pattern.
22456 2013-06-17 Joseph Myers <joseph@codesourcery.com>
22458 * math/test-misc.c (main): Do not treat incorrectly rounded
22459 conversions as failure unless ROUNDING_TESTS passes.
22461 2013-06-15 Joseph Myers <joseph@codesourcery.com>
22464 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22465 restore exception state around main square root computation, then
22466 check for inexactness explicitly.
22468 * math/libm-test.inc (fma_test_data): Add another test.
22470 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22472 * manual/threads.texi (Non-POSIX Extensions): New document
22473 node. Document pthread_getattr_default_np and
22474 pthread_setattr_default_np.
22476 * Versions.def (libpthread): Add GLIBC_2.18.
22477 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22486 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22497 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22500 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22502 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22503 H.J. Lu <hjl.tools@gmail.com>
22506 * sysdeps/x86_64/rtld-memset.c: Remove file.
22507 * sysdeps/x86_64/rtld-memset.S: New file.
22509 2013-06-14 Joseph Myers <joseph@codesourcery.com>
22511 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22512 (test_in_one_mode): Take arguments for whether the rounding mode
22513 is supported for each floating-point type.
22514 (do_test): Pass new arguments to test_in_one_mode using
22517 2013-06-13 Roland McGrath <roland@hack.frob.com>
22519 * posix/tst-waitid.c (do_test): Distinguish different instances of
22520 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22521 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22522 before entering the kernel for waitpid.
22524 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22526 * NEWS: Fix note on clock function precision. Text by Roland
22529 2013-06-13 Roland McGrath <roland@hack.frob.com>
22531 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22532 it into place only when and if the sanity check passes.
22534 2013-06-13 Joseph Myers <joseph@codesourcery.com>
22536 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22537 output for whether conversion result is exact. Take argument
22538 indicating whether type is IBM long double.
22539 (round_for_all): Change need_exact field to ibm_ld.
22540 * stdlib/tst-strtod-round.c (struct exactness): New type.
22541 (struct test): Change bool ld_ok field to struct exactness exact.
22542 (TEST): Update all definitions for change to field.
22543 (tests): Regenerate array contents.
22544 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22545 field value. Check for IBM long double here.
22546 (do_test): Update calls to test_in_one_mode.
22548 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22551 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22552 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22554 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22557 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22558 generated by the compiler on loop optimizations.
22559 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22560 general definitions.
22562 2013-06-12 Joseph Myers <joseph@codesourcery.com>
22564 * math/bug-nextafter.c: Include <math-tests.h>.
22565 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22567 * math/bug-nexttoward.c: Include <math-tests.h>.
22568 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22570 * math/test-misc.c: Include <math-tests.h>.
22571 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22574 2013-06-12 Andreas Jaeger <aj@suse.de>
22576 * po/ia.po: Update Interlingua translation from translation
22579 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22581 * include/fenv.h: Include stdbool.h.
22582 (struct rm_ctx): New structure.
22583 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22585 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22586 (SET_RESTORE_ROUNDF): Likewise.
22587 (SET_RESTORE_ROUNDL): Likewise.
22588 (SET_RESTORE_ROUND_NOEX): Likewise.
22589 (SET_RESTORE_ROUND_NOEXF): Likewise.
22590 (SET_RESTORE_ROUND_NOEXL): Likewise.
22591 (SET_RESTORE_ROUND_53BIT): Likewise.
22592 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22593 (libc_feresetround_noexf_ctx): Likewise.
22594 (libc_feresetround_noexl_ctx): Likewise.
22595 (libc_feholdsetround_53bit_ctx): Likewise.
22596 (libc_feresetround_53bit_ctx): Likewise.
22597 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22598 (libc_feholdexcept_setround_sse_ctx): New function.
22599 (libc_fesetenv_sse_ctx): Likewise.
22600 (libc_feupdateenv_sse_ctx): Likewise.
22601 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22602 (libc_feholdexcept_setround_387_ctx): Likewise.
22603 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22604 (libc_feholdsetround_387_prec_ctx): Likewise.
22605 (libc_feholdsetround_387_ctx): Likewise.
22606 (libc_feholdsetround_387_53bit_ctx): Likewise.
22607 (libc_feholdsetround_sse_ctx): Likewise.
22608 (libc_feresetround_sse_ctx): Likewise.
22609 (libc_feresetround_387_ctx): Likewise.
22610 (libc_feupdateenv_387_ctx): Likewise.
22611 (libc_feholdexcept_setroundf_ctx): Define macro.
22612 (libc_fesetenvf_ctx): Likewise.
22613 (libc_feupdateenvf_ctx): Likewise.
22614 (libc_feholdsetroundf_ctx): Likewise.
22615 (libc_feresetroundf_ctx): Likewise.
22616 (libc_feholdexcept_setround_ctx): Likewise.
22617 (libc_fesetenv_ctx): Likewise.
22618 (libc_feupdateenv_ctx): Likewise.
22619 (libc_feholdsetround_ctx): Likewise.
22620 (libc_feresetround_ctx): Likewise.
22621 (libc_feholdexcept_setroundl_ctx): Likewise.
22622 (libc_feupdateenvl_ctx): Likewise.
22623 (libc_feholdsetroundl_ctx): Likewise.
22624 (libc_feresetroundl_ctx): Likewise.
22625 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22626 (libc_feresetround_53bit_ctx): Likewise.
22628 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22630 * locale/iso-639.def: Convert to UTF-8.
22632 2013-06-11 Joseph Myers <joseph@codesourcery.com>
22634 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22635 (EXCEPTION_TESTS_double): Likewise.
22636 (EXCEPTION_TESTS_long_double): Likewise.
22637 (EXCEPTION_TESTS): Likewise.
22638 * math/libm-test.inc (test_exceptions): Only test exceptions if
22639 EXCEPTION_TESTS (FLOAT).
22641 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22643 * benchtests/Makefile (string-bench): Add strcpy_chk and
22645 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22646 * benchtests/bench-stpcpy_chk.c: New file.
22647 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22648 * benchtests/bench-strcpy_chk.c: New file.
22649 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22651 (do_test): Likewise.
22653 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22655 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22656 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22657 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22658 with tabs where appropriate.
22659 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22661 [PPC_PLATFORM_PPC440]: Likewise.
22662 [PPC_PLATFORM_PPC464]: Likewise.
22663 [PPC_PLATFORM_PPC476]: Likewise.
22664 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22665 ppc464, and ppc476 platform strings merging from ports/
22668 2013-06-11 Andreas Schwab <schwab@suse.de>
22671 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22672 (from_ucs4_idx): Regenerate.
22673 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22674 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22675 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22676 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22677 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22678 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22679 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22680 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22681 from FROM_LOOP and TO_LOOP specific macros.
22682 (BODY): Handle combining characters.
22683 * iconvdata/BIG5HKSCS.irreversible: Update.
22684 * iconvdata/BIG5HKSCS.precomposed: New file.
22685 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22687 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22689 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22691 * include/sys/time.h: Fix indentation and add copyright header.
22693 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22694 (do_test): Likewise.
22695 * string/test-memchr.c (do_one_test): Likewise.
22696 (do_test): Likewise.
22697 * string/test-memcmp.c (do_one_test): Likewise.
22698 (do_test): Likewise.
22699 * string/test-memcpy.c (do_one_test): Likewise.
22700 (do_test): Likewise.
22701 * string/test-memmem.c (do_one_test): Likewise.
22702 (do_test): Likewise.
22703 (do_random_tests): Likewise.
22704 * string/test-memmove.c (do_one_test): Likewise.
22705 (do_test): Likewise.
22706 * string/test-memset.c (do_one_test): Likewise.
22707 (do_test): Likewise.
22708 * string/test-rawmemchr.c (do_one_test): Likewise.
22709 (do_test): Likewise.
22710 * string/test-strcasecmp.c (do_one_test): Likewise.
22711 (do_test): Likewise.
22712 * string/test-strcasestr.c (do_one_test): Likewise.
22713 (do_test): Likewise.
22714 * string/test-strcat.c (do_one_test): Likewise.
22715 (do_test): Likewise.
22716 * string/test-strchr.c (do_one_test): Likewise.
22717 (do_test): Likewise.
22718 * string/test-strcmp.c (do_one_test): Likewise.
22719 (do_test): Likewise.
22720 * string/test-strcpy.c (do_one_test): Likewise.
22721 (do_test): Likewise.
22722 * string/test-string.h: Likewise.
22723 (test_init): Likewise.
22724 * string/test-strlen.c (do_one_test): Likewise.
22725 (do_test): Likewise.
22726 * string/test-strncasecmp.c (do_one_test): Likewise.
22727 (do_test): Likewise.
22728 * string/test-strncat.c (do_one_test): Likewise.
22729 (do_test): Likewise.
22730 * string/test-strncmp.c (do_one_test): Likewise.
22731 (do_test_limit): Likewise.
22732 (do_test): Likewise.
22733 * string/test-strncpy.c (do_one_test): Likewise.
22734 (do_test): Likewise.
22735 * string/test-strnlen.c (do_one_test): Likewise.
22736 (do_test): Likewise.
22737 * string/test-strpbrk.c (do_one_test): Likewise.
22738 (do_test): Likewise.
22739 * string/test-strrchr.c (do_one_test): Likewise.
22740 (do_test): Likewise.
22741 * string/test-strspn.c (do_one_test): Likewise.
22742 (do_test): Likewise.
22743 * string/test-strstr.c (do_one_test): Likewise.
22744 (do_test): Likewise.
22746 * benchtests/Makefile (string-bench): Add string benchmarks.
22747 * benchtests/bench-bcopy-ifunc.c: New file.
22748 * benchtests/bench-bcopy.c: New file.
22749 * benchtests/bench-bzero-ifunc.c: New file.
22750 * benchtests/bench-bzero.c: New file.
22751 * benchtests/bench-memccpy-ifunc.c: New file.
22752 * benchtests/bench-memccpy.c: New file.
22753 * benchtests/bench-memchr-ifunc.c: New file.
22754 * benchtests/bench-memchr.c: New file.
22755 * benchtests/bench-memcmp-ifunc.c: New file.
22756 * benchtests/bench-memcmp.c: New file.
22757 * benchtests/bench-memmem-ifunc.c: New file.
22758 * benchtests/bench-memmem.c: New file.
22759 * benchtests/bench-memmove-ifunc.c: New file.
22760 * benchtests/bench-memmove.c: New file.
22761 * benchtests/bench-mempcpy-ifunc.c: New file.
22762 * benchtests/bench-mempcpy.c: New file.
22763 * benchtests/bench-memset-ifunc.c: New file.
22764 * benchtests/bench-memset.c: New file.
22765 * benchtests/bench-rawmemchr-ifunc.c: New file.
22766 * benchtests/bench-rawmemchr.c: New file.
22767 * benchtests/bench-stpcpy-ifunc.c: New file.
22768 * benchtests/bench-stpcpy.c: New file.
22769 * benchtests/bench-stpncpy-ifunc.c: New file.
22770 * benchtests/bench-stpncpy.c: New file.
22771 * benchtests/bench-strcasecmp-ifunc.c: New file.
22772 * benchtests/bench-strcasecmp.c: New file.
22773 * benchtests/bench-strcasestr-ifunc.c: New file.
22774 * benchtests/bench-strcasestr.c: New file.
22775 * benchtests/bench-strcat-ifunc.c: New file.
22776 * benchtests/bench-strcat.c: New file.
22777 * benchtests/bench-strchr-ifunc.c: New file.
22778 * benchtests/bench-strchr.c: New file.
22779 * benchtests/bench-strchrnul-ifunc.c: New file.
22780 * benchtests/bench-strchrnul.c: New file.
22781 * benchtests/bench-strcmp-ifunc.c: New file.
22782 * benchtests/bench-strcmp.c: New file.
22783 * benchtests/bench-strcpy-ifunc.c: New file.
22784 * benchtests/bench-strcpy.c: New file.
22785 * benchtests/bench-strcspn-ifunc.c: New file.
22786 * benchtests/bench-strcspn.c: New file.
22787 * benchtests/bench-strlen-ifunc.c: New file.
22788 * benchtests/bench-strlen.c: New file.
22789 * benchtests/bench-strncasecmp-ifunc.c: New file.
22790 * benchtests/bench-strncasecmp.c: New file.
22791 * benchtests/bench-strncat-ifunc.c: New file.
22792 * benchtests/bench-strncat.c: New file.
22793 * benchtests/bench-strncmp-ifunc.c: New file.
22794 * benchtests/bench-strncmp.c: New file.
22795 * benchtests/bench-strncpy-ifunc.c: New file.
22796 * benchtests/bench-strncpy.c: New file.
22797 * benchtests/bench-strnlen-ifunc.c: New file.
22798 * benchtests/bench-strnlen.c: New file.
22799 * benchtests/bench-strpbrk-ifunc.c: New file.
22800 * benchtests/bench-strpbrk.c: New file.
22801 * benchtests/bench-strrchr-ifunc.c: New file.
22802 * benchtests/bench-strrchr.c: New file.
22803 * benchtests/bench-strspn-ifunc.c: New file.
22804 * benchtests/bench-strspn.c: New file.
22805 * benchtests/bench-strstr-ifunc.c: New file.
22806 * benchtests/bench-strstr.c: New file.
22808 * benchtests/Makefile: Disable parallel execution of targets.
22809 (string-bench): Add memcpy.
22810 (benchset): New variable to store a list of benchmark sets.
22811 (bench-func): Renamed from bench.
22812 (bench-set): New target.
22813 (bench): Depend on bench-func and bench-set.
22814 * benchtests/README: Add section on benchmark sets.
22815 * benchtests/bench-memcpy-ifunc.c: New file.
22816 * benchtests/bench-memcpy.c: New file.
22817 * benchtests/bench-string.h: New file.
22819 2013-06-11 Andreas Schwab <schwab@suse.de>
22822 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22823 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22824 values in the triple.
22825 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22826 terminator in the group key.
22828 2013-06-11 Andreas Jaeger <aj@suse.de>
22830 * po/zh_TW.po: Update Chinese (traditional) translation from
22831 translation project.
22833 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22835 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22836 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22837 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22838 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22839 (clock_getcpuclockid): Likewise.
22840 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22841 Add weak_alias and libc_hidden_def.
22842 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22843 * rt/clock_gettime.c (clock_gettime): Rename to
22844 __clock_gettime. Add weak_alias and libc_hidden_def.
22845 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22846 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22847 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22848 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22849 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22851 * rt/clock_settime.c (clock_settime): Rename to
22852 __clock_settime. Add weak_alias and libc_hidden_def.
22853 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22855 2013-06-10 Joseph Myers <joseph@codesourcery.com>
22857 * mach/err_boot.sub: Remove trailing whitespace.
22858 * mach/err_ipc.sub: Likewise.
22859 * mach/err_mach.sub: Likewise.
22861 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22862 (ROUNDING_TESTS_double): Likewise.
22863 (ROUNDING_TESTS_long_double): Likewise.
22864 (ROUNDING_TESTS): Likewise.
22865 * math/libm-test.inc: Include <math-tests.h>.
22866 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22867 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22868 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22869 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22871 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22873 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22876 2013-06-08 Joseph Myers <joseph@codesourcery.com>
22878 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22879 otherwise empty TRANS lines.
22880 * sysdeps/gnu/errlist.c: Regenerated.
22882 * catgets/gencat.c (error_print): Use (void) in function
22884 * crypt/crypt_util.c (__init_des): Likewise.
22885 * crypt/speeds.c (Stop): Likewise.
22887 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22888 * inet/ruserpass.c (token): Likewise.
22889 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22890 * intl/localealias.c (extend_alias_table): Likewise.
22891 * intl/plural-exp.c (init_germanic_plural): Likewise.
22892 * libio/fcloseall.c (__fcloseall): Likewise.
22893 * libio/genops.c (_IO_flush_all): Likewise.
22894 (_IO_flush_all_linebuffered): Likewise.
22895 (_IO_cleanup): Likewise.
22896 (_IO_iter_begin): Likewise.
22897 (_IO_iter_end): Likewise.
22898 (_IO_list_lock): Likewise.
22899 (_IO_list_unlock): Likewise.
22900 (_IO_list_resetlock): Likewise.
22901 * libio/getchar.c (getchar): Likewise.
22902 * libio/getchar_u.c (getchar_unlocked): Likewise.
22903 * libio/getwchar.c (getwchar): Likewise.
22904 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22905 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22906 * login/getpt.c (__getpt): Likewise.
22907 * login/tst-utmp.c (main): Likewise.
22908 * malloc/hooks.c (__malloc_check_init): Likewise.
22909 * malloc/malloc.c (__malloc_stats): Likewise.
22910 * malloc/mtrace.c (tr_break): Likewise.
22911 (mtrace): Likewise.
22912 (muntrace): Likewise.
22913 * misc/fstab.c (endfsent): Likewise.
22914 * misc/getclktck.c (__getclktck): Likewise.
22915 * misc/getdtsz.c (__getdtablesize): Likewise.
22916 * misc/gethostid.c (gethostid): Likewise.
22917 * misc/getpagesize.c (__getpagesize): Likewise.
22918 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22919 (__get_nprocs): Likewise.
22920 (__get_phys_pages): Likewise.
22921 (__get_avphys_pages): Likewise.
22922 * misc/getttyent.c (getttyent): Likewise.
22923 (setttyent): Likewise.
22924 (endttyent): Likewise.
22925 * misc/getusershell.c (getusershell): Likewise.
22926 (endusershell): Likewise.
22927 (setusershell): Likewise.
22928 (initshells): Likewise.
22929 * misc/hsearch.c (__hdestroy): Likewise.
22930 * misc/sync.c (sync): Likewise.
22931 * misc/syslog.c (closelog_internal): Likewise.
22932 (closelog): Likewise.
22933 * misc/ttyslot.c (ttyslot): Likewise.
22934 * misc/vhangup.c (vhangup): Likewise.
22935 * posix/fork.c (__fork): Likewise.
22936 * posix/getegid.c (__getegid): Likewise.
22937 * posix/geteuid.c (__geteuid): Likewise.
22938 * posix/getgid.c (__getgid): Likewise.
22939 * posix/getpid.c (__getpid): Likewise.
22940 * posix/getppid.c (__getppid): Likewise.
22941 * posix/getuid.c (__getuid): Likewise.
22942 * posix/pause.c (pause): Likewise.
22943 * posix/setpgrp.c (setpgrp): Likewise.
22944 * posix/setsid.c (__setsid): Likewise.
22945 * posix/test-vfork.c (noop): Likewise.
22946 * resolv/gethnamaddr.c (_endhtent): Likewise.
22947 (_gethtent): Likewise.
22948 (ht_endhostent): Likewise.
22949 (gethostent): Likewise.
22950 (dns_service): Likewise.
22951 * stdlib/drand48.c (drand48): Likewise.
22952 * stdlib/lrand48.c (lrand48): Likewise.
22953 * stdlib/mrand48.c (mrand48): Likewise.
22954 * stdlib/rand.c (rand): Likewise.
22955 * stdlib/random.c (__random): Likewise.
22956 * stdlib/setenv.c (clearenv): Likewise.
22957 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22958 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22959 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22960 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22961 (__get_nprocs): Likewise.
22962 (__get_phys_pages): Likewise.
22963 (__get_avphys_pages): Likewise.
22964 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22965 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22966 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22967 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22968 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22969 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22970 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22971 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22972 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22973 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22974 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22975 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22976 * sysdeps/posix/clock.c (clock): Likewise.
22977 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22978 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22979 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22980 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22981 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22982 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22983 (__get_nprocs_conf): Likewise.
22984 (__get_phys_pages): Likewise.
22985 (__get_avphys_pages): Likewise.
22986 * time/clock.c (clock): Likewise.
22987 * time/tzset.c (__tzname_max): Likewise.
22989 2013-06-07 Joseph Myers <joseph@codesourcery.com>
22991 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22992 (__bswap_32): Do not use "register".
22993 * crypt/crypt.c (_ufc_doit_r): Likewise.
22994 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22995 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22996 * gmon/gmon.c (__monstartup): Likewise.
22997 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22998 * hurd/hurdmalloc.c (more_memory): Likewise.
22999 (malloc): Likewise.
23001 (realloc): Likewise.
23002 (malloc_fork_prepare): Likewise.
23003 (malloc_fork_parent): Likewise.
23004 (malloc_fork_child): Likewise.
23005 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23006 (_svcauth_des): Likewise.
23007 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23008 * inet/inet_net.c (inet_network): Likewise.
23009 * inet/inet_netof.c (inet_netof): Likewise.
23010 * inet/rcmd.c (__validuser2_sa): Likewise.
23011 * io/fts.c (fts_open): Likewise.
23012 (fts_load): Likewise.
23013 (fts_close): Likewise.
23014 (fts_read): Likewise.
23015 (fts_children): Likewise.
23016 (fts_build): Likewise.
23017 (fts_stat): Likewise.
23018 (fts_sort): Likewise.
23019 (fts_alloc): Likewise.
23020 (fts_lfree): Likewise.
23021 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23022 (_IO_file_xsgetn): Likewise.
23023 (_IO_file_xsgetn_mmap): Likewise.
23024 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23025 (_IO_cookie_write): Likewise.
23026 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23027 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23028 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23029 * malloc/obstack.c (_obstack_begin): Likewise.
23030 (_obstack_begin_1): Likewise.
23031 (_obstack_newchunk): Likewise.
23032 (_obstack_allocated_p): Likewise.
23033 (obstack_free): Likewise.
23034 (_obstack_memory_used): Likewise.
23035 * misc/getttyent.c (getttynam): Likewise.
23036 (getttyent): Likewise.
23039 * misc/getusershell.c (initshells): Likewise.
23040 * misc/syslog.c (__vsyslog_chk): Likewise.
23041 * misc/ttyslot.c (ttyslot): Likewise.
23042 * nis/nis_hash.c (__nis_hash): Likewise.
23043 * posix/fnmatch_loop.c (FCT): Likewise.
23044 * posix/getconf.c (print_all): Likewise.
23046 * posix/getopt.c (exchange): Likewise.
23047 * posix/glob.c (globfree): Likewise.
23048 (prefix_array): Likewise.
23049 (__glob_pattern_type): Likewise.
23050 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23051 (NS_GET32): Likewise.
23052 (NS_PUT16): Likewise.
23053 (NS_PUT32): Likewise.
23054 * resolv/gethnamaddr.c (getanswer): Likewise.
23055 (gethostbyname2): Likewise.
23056 (gethostbyaddr): Likewise.
23057 (_gethtent): Likewise.
23058 (_gethtbyname2): Likewise.
23059 (_gethtbyaddr): Likewise.
23060 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23061 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23062 * resolv/res_init.c (__res_vinit): Likewise.
23063 (net_mask): Likewise.
23064 * resolv/res_mkquery.c (outchar): Likewise.
23066 * stdio-common/printf_fp.c (outchar): Likewise.
23068 * stdio-common/printf_fphex.c (outchar): Likewise.
23070 * stdio-common/printf_size.c (outchar): Likewise.
23072 * stdio-common/test_rdwr.c (main): Likewise.
23073 * stdio-common/tfformat.c (matches): Likewise.
23074 * stdio-common/vfprintf.c (outchar): Likewise.
23075 (printf_unknown): Likewise.
23076 (buffered_vfprintf): Likewise.
23077 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23078 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23079 (ReadFile): Likewise.
23080 * stdlib/qsort.c (SWAP): Likewise.
23081 (_quicksort): Likewise.
23082 * stdlib/setenv.c (__add_to_environ): Likewise.
23083 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23084 * stdlib/strtol_l.c (__strtol_l): Likewise.
23085 * stdlib/tst-strtod.c (main): Likewise.
23086 * stdlib/tst-strtol.c (main): Likewise.
23087 * stdlib/tst-strtoll.c (main): Likewise.
23088 * string/bits/string2.h (__strcmp_cc): Likewise.
23089 (__strcmp_cg): Likewise.
23090 (__strcspn_c1): Likewise.
23091 (__strcspn_c2): Likewise.
23092 (__strcspn_c3): Likewise.
23093 (__strspn_c1): Likewise.
23094 (__strspn_c2): Likewise.
23095 (__strspn_c3): Likewise.
23096 (__strsep_1c): Likewise.
23097 (__strsep_2c): Likewise.
23098 (__strsep_3c): Likewise.
23099 * string/memccpy.c (__memccpy): Likewise.
23100 * string/stpcpy.c (__stpcpy): Likewise.
23101 * string/strcmp.c (strcmp): Likewise.
23102 * string/strrchr.c (strrchr): Likewise.
23103 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23105 * sysdeps/mach/hurd/getcwd.c
23106 (_hurd_canonicalize_directory_name_internal): Likewise.
23107 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23108 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23109 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23110 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23111 Likewise, in both definitions.
23112 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23114 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23115 64] (__bswap_64): Likewise.
23116 * time/test_time.c (main): Likewise.
23117 * time/tzfile.c (__tzfile_read): Likewise.
23118 (__tzfile_compute): Likewise.
23119 * time/tzset.c (__tzset_parse_tz): Likewise.
23120 (tzset_internal): Likewise.
23121 (compute_change): Likewise.
23122 * wcsmbs/wcscat.c (__wcscat): Likewise.
23123 * wcsmbs/wcschr.c (wcschr): Likewise.
23124 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23125 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23126 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23127 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23128 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23129 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23130 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23131 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23132 * wcsmbs/wmemset.c (wmemset): Likewise.
23134 2013-06-06 Joseph Myers <joseph@codesourcery.com>
23136 * scripts/config.guess: Update to version 2013-05-16.
23137 * scripts/config.sub: Update to version 2013-04-24.
23138 * scripts/install-sh: Update to version 2011-11-20.07.
23139 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23140 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23142 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
23144 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23145 * elf/sln.c: Likewise.
23146 * hurd/hurd/ioctl.h: Likewise.
23147 * hurd/hurdmalloc.c: Likewise.
23148 * hurd/xattr.c: Likewise.
23149 * include/shlib-compat.h: Likewise.
23150 * inet/ruserpass.c: Likewise.
23151 * libio/iofgets_u.c: Likewise.
23152 * libio/iofgetws_u.c: Likewise.
23153 * locale/programs/ld-identification.c: Likewise.
23154 * locale/programs/ld-time.c: Likewise.
23155 * mach/msg-destroy.c: Likewise.
23156 * nss/nss_files/files-netgrp.c: Likewise.
23157 * resolv/res_data.c: Likewise.
23158 * soft-fp/op-1.h: Likewise.
23159 * soft-fp/op-2.h: Likewise.
23160 * soft-fp/op-4.h: Likewise.
23161 * soft-fp/op-common.h: Likewise.
23162 * stdio-common/printf_fphex.c: Likewise.
23163 * stdlib/strtod_l.c: Likewise.
23164 * sunrpc/rpc/clnt.h: Likewise.
23165 * sysdeps/generic/framestate.c: Likewise.
23166 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23167 * sysdeps/i386/bsd-setjmp.S: Likewise.
23168 * sysdeps/i386/__longjmp.S: Likewise.
23169 * sysdeps/i386/setjmp.S: Likewise.
23170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23171 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23172 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23173 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23175 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23176 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23177 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23178 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23179 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23180 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23181 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23182 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23183 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23184 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23185 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23186 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23187 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23188 * sysdeps/ieee754/support.c: Likewise.
23189 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23190 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23191 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23192 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23193 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23194 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23195 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23196 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23197 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23198 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23199 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23200 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23201 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23202 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23203 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23204 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23205 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23208 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
23210 * posix/transbug.c: Remove executable mode.
23212 2013-06-05 Joseph Myers <joseph@codesourcery.com>
23214 * crypt/speeds.c: Remove trailing whitespace.
23215 * dlfcn/default.c: Likewise.
23216 * elf/ifuncdep2.c: Likewise.
23217 * elf/ifuncmain1.c: Likewise.
23218 * elf/ifuncmain1vis.c: Likewise.
23219 * elf/testobj.h: Likewise.
23220 * elf/tst-stackguard1.c: Likewise.
23221 * gmon/sys/gmon.h: Likewise.
23222 * hurd/hurdmsg.c: Likewise.
23223 * hurd/new-fd.c: Likewise.
23224 * hurd/ports-get.c: Likewise.
23225 * iconvdata/ibm1008_420.c: Likewise.
23226 * inet/tst-getni1.c: Likewise.
23227 * inet/tst-getni2.c: Likewise.
23228 * libio/ioungetc.c: Likewise.
23229 * libio/wfiledoalloc.c: Likewise.
23230 * manual/libm-err-tab.pl: Likewise.
23231 * math/w_dremf.c: Likewise.
23232 * misc/ftruncate.c: Likewise.
23233 * posix/bug-glob2.c: Likewise.
23234 * posix/tst-pcre.c: Likewise.
23235 * posix/wait4.c: Likewise.
23236 * resolv/README: Likewise.
23237 * resolv/res_debug.h: Likewise.
23238 * resolv/tst-inet_ntop.c: Likewise.
23239 * setjmp/bug269-setjmp.c: Likewise.
23240 * soft-fp/extended.h: Likewise.
23241 * soft-fp/op-1.h: Likewise.
23242 * soft-fp/op-2.h: Likewise.
23243 * soft-fp/op-4.h: Likewise.
23244 * soft-fp/op-8.h: Likewise.
23245 * soft-fp/testit.c: Likewise.
23246 * stdio-common/bug16.c: Likewise.
23247 * stdlib/random.c: Likewise.
23248 * sunrpc/rpcsvc/rquota.x: Likewise.
23249 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23250 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23251 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23252 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23253 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23254 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23255 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23256 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23257 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23258 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23259 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23260 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23261 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23262 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23263 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23264 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23265 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23266 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23267 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23268 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23269 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23270 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23271 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23272 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23273 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23274 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23275 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23276 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23277 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23278 * sysdeps/ieee754/s_lib_version.c: Likewise.
23279 * sysdeps/mach/hurd/check_fds.c: Likewise.
23280 * sysdeps/mach/hurd/getsockname.c: Likewise.
23281 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23282 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23283 * sysdeps/powerpc/bits/link.h: Likewise.
23284 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23285 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23286 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23287 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23288 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23289 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23290 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23291 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23292 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23293 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23294 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23295 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23296 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23297 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23298 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23299 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23300 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23301 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23302 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23303 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23304 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23305 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23306 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23307 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23308 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23309 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23310 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23311 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23312 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23313 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23314 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23315 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23316 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23317 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23318 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23319 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23320 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23321 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23322 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23323 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23324 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23325 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23326 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23327 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23328 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23329 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23330 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23331 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23332 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23333 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23334 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23336 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23337 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23338 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23339 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23340 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23341 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23342 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23343 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23344 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23345 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23346 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23347 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23348 * sysdeps/powerpc/sysdep.h: Likewise.
23349 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23350 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23351 * sysdeps/sh/dl-trampoline.S: Likewise.
23352 * sysdeps/sh/memset.S: Likewise.
23353 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23354 * sysdeps/sh/strlen.S: Likewise.
23355 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23356 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23357 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23358 * sysdeps/sparc/sparc32/rem.S: Likewise.
23359 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23360 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23361 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23362 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23363 * sysdeps/sparc/sparc32/urem.S: Likewise.
23364 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23365 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23366 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23367 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23368 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23369 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23370 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23371 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23372 * sysdeps/unix/bsd/times.c: Likewise.
23373 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23374 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23378 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23379 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23380 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23381 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23382 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23383 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23384 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23385 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23386 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23387 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23388 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23389 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23390 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23391 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23392 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23393 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23394 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23395 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23396 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23397 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23398 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23399 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23400 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23401 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23402 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23403 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23404 * sysdeps/x86_64/strcspn.S: Likewise.
23406 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23408 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23409 generated file. Regenerate properly from gen-translit.pl.
23410 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23411 locale/C-translit.h.
23413 2013-06-05 Andreas Schwab <schwab@suse.de>
23416 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23417 week as 6 instead of -1.
23418 * time/tst-strptime.c (day_tests): Add test case.
23420 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23422 * sysdeps/generic/math_private.h
23423 (libc_feholdexcept_setround_53bit): Replace with
23424 libc_feholdsetround_53bit.
23425 (libc_feupdateenv_53bit): Replace with
23426 libc_feresetround_53bit.
23427 (SET_RESTORE_ROUND_53BIT): Adjust.
23429 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23431 * string/test-strchrnul.c: Add copyright header.
23433 * posix/tst-getaddrinfo4.c: Increase test timeout.
23435 2013-06-03 Carlos O'Donell <carlos@redhat.com>
23438 * math/libm-test.inc (MAX_EXP): Remove
23440 (ulp): Use MIN_EXP - MANT_DIG.
23441 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23443 2013-05-31 Carlos O'Donell <carlos@redhat.com>
23445 * po/be.po: Revert last change.
23446 * po/zh_CN.po: Likewise.
23447 * po/header.pot: Likewise.
23449 2013-05-31 Joseph Myers <joseph@codesourcery.com>
23451 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23452 link-libc-deps to empty as target-specific variable.
23453 * Makerules (link-libc-args): New variable.
23454 (libc-for-link): Likewise.
23455 (link-libc-deps): Likewise.
23456 (lib%.so): Depend on $(link-libc-deps). Link with
23458 (build-module): Link with $(link-libc-args).
23459 (build-module-asneeded): Likewise.
23460 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23462 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23463 target-specific variable.
23464 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23465 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23466 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23468 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23470 ($(objpfx)libpcprofile.so): Likewise.
23471 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23473 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23474 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23475 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23477 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23478 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23479 * login/Makefile ($(objpfx)libutil.so): Likewise.
23480 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23481 * math/Makefile ($(objpfx)libm.so): Likewise.
23482 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23483 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23484 variable instead of depending directly on libc.
23485 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23486 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23488 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23490 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23491 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23492 ($(objpfx)libanl.so): Likewise.
23493 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23495 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23497 * sysdeps/i386/fpu/Makefile: Remove file.
23498 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23499 ($(objpfx)libm.so): Remove dependency on ld.so.
23501 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
23504 * nis/yp_xdr.c (XDRMAXNAME): Define.
23505 (XDRMAXRECORD): Define.
23506 (xdr_domainname): Use XDRMAXNAME.
23507 (xdr_mapname): Likewise.
23508 (xdr_peername): Likewise.
23509 (xdr_keydat): Use XDRMAXRECORD.
23510 (xdr_valdat): Likewise.
23512 2013-05-30 Jeff Law <law@redhat.com>
23515 * manual/errno.texi (ESTALE): Update to account for more than
23516 just NFS file systems.
23517 * sysdeps/gnu/errlist.c: Regenerated.
23519 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23522 * elf/Makefile (tests): Add tst-null-argv.
23523 (modules-names): Add tst-null-argv-lib.
23524 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23525 (tst-null-argv-ENV): Set environment for tst-null-argv.
23526 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23527 (RTLD_PROGNAME): New macro.
23528 * elf/tst-null-argv.c: New test case.
23529 * elf/tst-null-argv-lib.c: Library for test case.
23530 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23531 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23532 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23533 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23534 * elf/dl-init.c (call_init): Likewise.
23535 (_dl_init): Likewise.
23536 * elf/dl-load.c (print_search_path): Likewise.
23537 (_dl_map_object): Likewise.
23538 * elf/dl-lookup.c (do_lookup_x): Likewise.
23539 (add_dependency): Likewise.
23540 (_dl_lookup_symbol_x): Likewise.
23541 (_dl_debug_bindings): Likewise.
23542 * elf/dl-open.c (_dl_show_scope): Likewise.
23543 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23544 * elf/dl-version.c (match_symbol): Likewise.
23545 (_dl_check_map_versions): Likewise.
23546 * elf/rtld.c (dl_main): Likewise.
23547 (print_unresolved): Use RTLD_PROGNAME.
23548 (print_missing_version): Likewise.
23549 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23550 (elf_machine_rela): Likewise.
23551 * sysdeps/powerpc/powerpc32/dl-machine.c
23552 (__process_machine_rela): Likewise.
23553 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23555 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23557 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23559 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23560 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23562 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23564 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23566 2013-05-28 Carlos O'Donell <carlos@redhat.com>
23568 * po/be.po: Add descriptive title.
23569 * po/zh_CN.po: Likewise.
23570 * po/header.pot: Likewise.
23572 2013-05-28 Mike Frysinger <vapier@gentoo.org>
23574 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23576 (enlarge_archive): Likewise.
23578 2013-05-28 Ben North <ben@redfrontdoor.org>
23580 * manual/arith.texi (frexp): It is the magnitude of the return
23581 value which lies in [0.5, 1), not the return value itself.
23583 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23587 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23589 * stdio-common/bug26.c (main): Correct fscanf template.
23591 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23592 declare _dl_skip_args.
23594 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23597 * manual/platform.texi: Add missing @end deftypefun.
23599 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23602 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23603 bit of mantissa of 2^16382.
23604 * math/libm-test.inc (hypot_test_data): Add more tests.
23606 * math/libm-test.inc: Add drem and pow10 to list of tested
23608 (pow10_test): New function.
23609 (drem_test): Likewise.
23610 (drem_test_tonearest): Likewise.
23611 (drem_test_towardzero): Likewise.
23612 (drem_test_downward): Likewise.
23613 (drem_test_upward): Likewise.
23614 (main): Call the new functions.
23616 * math/libm-test.inc (finite_test_data): Remove.
23617 (finite_test): Run tests from isfinite_test_data.
23618 (gamma_test_data): Remove.
23619 (gamma_test): Run tests from lgamma_test_data.
23620 * sysdeps/i386/fpu/libm-test-ulps: Update.
23621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23623 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23625 * manual/platform.texi: Add PowerPC PPR function set documentation.
23626 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23629 2013-05-24 Carlos O'Donell <carlos@redhat.com>
23631 * math/libm-test.inc (MAX_EXP): Define.
23633 (ulp): New function.
23634 (check_float_internal): Use ULPDIFF.
23635 (cpow_test): Disable failing test.
23636 (check_ulp): Test ulp() implemetnation.
23637 (main): Call check_ulp before starting tests.
23639 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23641 * math/gen-libm-test.pl (generate_testfile): Do not handle
23642 START_DATA and END_DATA.
23643 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23645 (acos_tonearest_test_data): Likewise.
23646 (acos_towardzero_test_data): Likewise.
23647 (acos_downward_test_data): Likewise.
23648 (acos_upward_test_data): Likewise.
23649 (acosh_test_data): Likewise.
23650 (asin_test_data): Likewise.
23651 (asin_tonearest_test_data): Likewise.
23652 (asin_towardzero_test_data): Likewise.
23653 (asin_downward_test_data): Likewise.
23654 (asin_upward_test_data): Likewise.
23655 (asinh_test_data): Likewise.
23656 (atan_test_data): Likewise.
23657 (atanh_test_data): Likewise.
23658 (atan2_test_data): Likewise.
23659 (cabs_test_data): Likewise.
23660 (cacos_test_data): Likewise.
23661 (cacosh_test_data): Likewise.
23662 (carg_test_data): Likewise.
23663 (casin_test_data): Likewise.
23664 (casinh_test_data): Likewise.
23665 (catan_test_data): Likewise.
23666 (catanh_test_data): Likewise.
23667 (cbrt_test_data): Likewise.
23668 (ccos_test_data): Likewise.
23669 (ccosh_test_data): Likewise.
23670 (ceil_test_data): Likewise.
23671 (cexp_test_data): Likewise.
23672 (cimag_test_data): Likewise.
23673 (clog_test_data): Likewise.
23674 (clog10_test_data): Likewise.
23675 (conj_test_data): Likewise.
23676 (copysign_test_data): Likewise.
23677 (cos_test_data): Likewise.
23678 (cos_tonearest_test_data): Likewise.
23679 (cos_towardzero_test_data): Likewise.
23680 (cos_downward_test_data): Likewise.
23681 (cos_upward_test_data): Likewise.
23682 (cosh_test_data): Likewise.
23683 (cosh_tonearest_test_data): Likewise.
23684 (cosh_towardzero_test_data): Likewise.
23685 (cosh_downward_test_data): Likewise.
23686 (cosh_upward_test_data): Likewise.
23687 (cpow_test_data): Likewise.
23688 (cproj_test_data): Likewise.
23689 (creal_test_data): Likewise.
23690 (csin_test_data): Likewise.
23691 (csinh_test_data): Likewise.
23692 (csqrt_test_data): Likewise.
23693 (ctan_test_data): Likewise.
23694 (ctan_tonearest_test_data): Likewise.
23695 (ctan_towardzero_test_data): Likewise.
23696 (ctan_downward_test_data): Likewise.
23697 (ctan_upward_test_data): Likewise.
23698 (ctanh_test_data): Likewise.
23699 (ctanh_tonearest_test_data): Likewise.
23700 (ctanh_towardzero_test_data): Likewise.
23701 (ctanh_downward_test_data): Likewise.
23702 (ctanh_upward_test_data): Likewise.
23703 (erf_test_data): Likewise.
23704 (erfc_test_data): Likewise.
23705 (exp_test_data): Likewise.
23706 (exp_tonearest_test_data): Likewise.
23707 (exp_towardzero_test_data): Likewise.
23708 (exp_downward_test_data): Likewise.
23709 (exp_upward_test_data): Likewise.
23710 (exp10_test_data): Likewise.
23711 (exp2_test_data): Likewise.
23712 (expm1_test_data): Likewise.
23713 (fabs_test_data): Likewise.
23714 (fdim_test_data): Likewise.
23715 (finite_test_data): Likewise.
23716 (floor_test_data): Likewise.
23717 (fma_test_data): Likewise.
23718 (fma_towardzero_test_data): Likewise.
23719 (fma_downward_test_data): Likewise.
23720 (fma_upward_test_data): Likewise.
23721 (fmax_test_data): Likewise.
23722 (fmin_test_data): Likewise.
23723 (fmod_test_data): Likewise.
23724 (fpclassify_test_data): Likewise.
23725 (frexp_test_data): Likewise.
23726 (gamma_test_data): Likewise.
23727 (hypot_test_data): Likewise.
23728 (ilogb_test_data): Likewise.
23729 (isfinite_test_data): Likewise.
23730 (isgreater_test_data): Likewise.
23731 (isgreaterequal_test_data): Likewise.
23732 (isinf_test_data): Likewise.
23733 (isless_test_data): Likewise.
23734 (islessequal_test_data): Likewise.
23735 (islessgreater_test_data): Likewise.
23736 (isnan_test_data): Likewise.
23737 (isnormal_test_data): Likewise.
23738 (issignaling_test_data): Likewise.
23739 (isunordered_test_data): Likewise.
23740 (j0_test_data): Likewise.
23741 (j1_test_data): Likewise.
23742 (jn_test_data): Likewise.
23743 (ldexp_test_data): Likewise.
23744 (lgamma_test_data): Likewise.
23745 (lrint_test_data): Likewise.
23746 (lrint_tonearest_test_data): Likewise.
23747 (lrint_towardzero_test_data): Likewise.
23748 (lrint_downward_test_data): Likewise.
23749 (lrint_upward_test_data): Likewise.
23750 (llrint_test_data): Likewise.
23751 (llrint_tonearest_test_data): Likewise.
23752 (llrint_towardzero_test_data): Likewise.
23753 (llrint_downward_test_data): Likewise.
23754 (llrint_upward_test_data): Likewise.
23755 (log_test_data): Likewise.
23756 (log10_test_data): Likewise.
23757 (log1p_test_data): Likewise.
23758 (log2_test_data): Likewise.
23759 (logb_test_data): Likewise.
23760 (logb_downward_test_data): Likewise.
23761 (lround_test_data): Likewise.
23762 (llround_test_data): Likewise.
23763 (modf_test_data): Likewise.
23764 (nearbyint_test_data): Likewise.
23765 (nextafter_test_data): Likewise.
23766 (nexttoward_test_data): Likewise.
23767 (pow_test_data): Likewise.
23768 (pow_tonearest_test_data): Likewise.
23769 (pow_towardzero_test_data): Likewise.
23770 (pow_downward_test_data): Likewise.
23771 (pow_upward_test_data): Likewise.
23772 (remainder_test_data): Likewise.
23773 (remainder_tonearest_test_data): Likewise.
23774 (remainder_towardzero_test_data): Likewise.
23775 (remainder_downward_test_data): Likewise.
23776 (remainder_upward_test_data): Likewise.
23777 (remquo_test_data): Likewise.
23778 (rint_test_data): Likewise.
23779 (rint_tonearest_test_data): Likewise.
23780 (rint_towardzero_test_data): Likewise.
23781 (rint_downward_test_data): Likewise.
23782 (rint_upward_test_data): Likewise.
23783 (round_test_data): Likewise.
23784 (scalb_test_data): Likewise.
23785 (scalbn_test_data): Likewise.
23786 (scalbln_test_data): Likewise.
23787 (signbit_test_data): Likewise.
23788 (sin_test_data): Likewise.
23789 (sin_tonearest_test_data): Likewise.
23790 (sin_towardzero_test_data): Likewise.
23791 (sin_downward_test_data): Likewise.
23792 (sin_upward_test_data): Likewise.
23793 (sincos_test_data): Likewise.
23794 (sinh_test_data): Likewise.
23795 (sinh_tonearest_test_data): Likewise.
23796 (sinh_towardzero_test_data): Likewise.
23797 (sinh_downward_test_data): Likewise.
23798 (sinh_upward_test_data): Likewise.
23799 (sqrt_test_data): Likewise.
23800 (tan_test_data): Likewise.
23801 (tan_tonearest_test_data): Likewise.
23802 (tan_towardzero_test_data): Likewise.
23803 (tan_downward_test_data): Likewise.
23804 (tan_upward_test_data): Likewise.
23805 (tanh_test_data): Likewise.
23806 (tgamma_test_data): Likewise.
23807 (trunc_test_data): Likewise.
23808 (y0_test_data): Likewise.
23809 (y1_test_data): Likewise.
23810 (yn_test_data): Likewise.
23811 (significand_test_data): Likewise.
23813 * math/gen-libm-test.pl (@functions): Remove variable.
23814 (generate_testfile): Don't handle START and END lines.
23815 * math/libm-test.inc (START): New macro.
23817 (END_COMPLEX): Likewise.
23818 (acos_test): Use END macro without arguments.
23819 (acos_test_tonearest): Likewise.
23820 (acos_test_towardzero): Likewise.
23821 (acos_test_downward): Likewise.
23822 (acos_test_upward): Likewise.
23823 (acosh_test): Likewise.
23824 (asin_test): Likewise.
23825 (asin_test_tonearest): Likewise.
23826 (asin_test_towardzero): Likewise.
23827 (asin_test_downward): Likewise.
23828 (asin_test_upward): Likewise.
23829 (asinh_test): Likewise.
23830 (atan_test): Likewise.
23831 (atanh_test): Likewise.
23832 (atan2_test): Likewise.
23833 (cabs_test): Likewise.
23834 (cacos_test): Use END_COMPLEX macro without arguments.
23835 (cacosh_test): Likewise.
23836 (carg_test): Use END macro without arguments.
23837 (casin_test): Use END_COMPLEX macro without arguments.
23838 (casinh_test): Likewise.
23839 (catan_test): Likewise.
23840 (catanh_test): Likewise.
23841 (cbrt_test): Use END macro without arguments.
23842 (ccos_test): Use END_COMPLEX macro without arguments.
23843 (ccosh_test): Likewise.
23844 (ceil_test): Use END macro without arguments.
23845 (cexp_test): Use END_COMPLEX macro without arguments.
23846 (cimag_test): Use END macro without arguments.
23847 (clog_test): Use END_COMPLEX macro without arguments.
23848 (clog10_test): Likewise.
23849 (conj_test): Likewise.
23850 (copysign_test): Use END macro without arguments.
23851 (cos_test): Likewise.
23852 (cos_test_tonearest): Likewise.
23853 (cos_test_towardzero): Likewise.
23854 (cos_test_downward): Likewise.
23855 (cos_test_upward): Likewise.
23856 (cosh_test): Likewise.
23857 (cosh_test_tonearest): Likewise.
23858 (cosh_test_towardzero): Likewise.
23859 (cosh_test_downward): Likewise.
23860 (cosh_test_upward): Likewise.
23861 (cpow_test): Use END_COMPLEX macro without arguments.
23862 (cproj_test): Likewise.
23863 (creal_test): Use END macro without arguments.
23864 (csin_test): Use END_COMPLEX macro without arguments.
23865 (csinh_test): Likewise.
23866 (csqrt_test): Likewise.
23867 (ctan_test): Likewise.
23868 (ctan_test_tonearest): Likewise.
23869 (ctan_test_towardzero): Likewise.
23870 (ctan_test_downward): Likewise.
23871 (ctan_test_upward): Likewise.
23872 (ctanh_test): Likewise.
23873 (ctanh_test_tonearest): Likewise.
23874 (ctanh_test_towardzero): Likewise.
23875 (ctanh_test_downward): Likewise.
23876 (ctanh_test_upward): Likewise.
23877 (erf_test): Use END macro without arguments.
23878 (erfc_test): Likewise.
23879 (exp_test): Likewise.
23880 (exp_test_tonearest): Likewise.
23881 (exp_test_towardzero): Likewise.
23882 (exp_test_downward): Likewise.
23883 (exp_test_upward): Likewise.
23884 (exp10_test): Likewise.
23885 (exp2_test): Likewise.
23886 (expm1_test): Likewise.
23887 (fabs_test): Likewise.
23888 (fdim_test): Likewise.
23889 (finite_test): Likewise.
23890 (floor_test): Likewise.
23891 (fma_test): Likewise.
23892 (fma_test_towardzero): Likewise.
23893 (fma_test_downward): Likewise.
23894 (fma_test_upward): Likewise.
23895 (fmax_test): Likewise.
23896 (fmin_test): Likewise.
23897 (fmod_test): Likewise.
23898 (fpclassify_test): Likewise.
23899 (frexp_test): Likewise.
23900 (gamma_test): Likewise.
23901 (hypot_test): Likewise.
23902 (ilogb_test): Likewise.
23903 (isfinite_test): Likewise.
23904 (isgreater_test): Likewise.
23905 (isgreaterequal_test): Likewise.
23906 (isinf_test): Likewise.
23907 (isless_test): Likewise.
23908 (islessequal_test): Likewise.
23909 (islessgreater_test): Likewise.
23910 (isnan_test): Likewise.
23911 (isnormal_test): Likewise.
23912 (issignaling_test): Likewise.
23913 (isunordered_test): Likewise.
23914 (j0_test): Likewise.
23915 (j1_test): Likewise.
23916 (jn_test): Likewise.
23917 (ldexp_test): Likewise.
23918 (lgamma_test): Likewise.
23919 (lrint_test): Likewise.
23920 (lrint_test_tonearest): Likewise.
23921 (lrint_test_towardzero): Likewise.
23922 (lrint_test_downward): Likewise.
23923 (lrint_test_upward): Likewise.
23924 (llrint_test): Likewise.
23925 (llrint_test_tonearest): Likewise.
23926 (llrint_test_towardzero): Likewise.
23927 (llrint_test_downward): Likewise.
23928 (llrint_test_upward): Likewise.
23929 (log_test): Likewise.
23930 (log10_test): Likewise.
23931 (log1p_test): Likewise.
23932 (log2_test): Likewise.
23933 (logb_test): Likewise.
23934 (logb_test_downward): Likewise.
23935 (lround_test): Likewise.
23936 (llround_test): Likewise.
23937 (modf_test): Likewise.
23938 (nearbyint_test): Likewise.
23939 (nextafter_test): Likewise.
23940 (nexttoward_test): Likewise.
23941 (pow_test): Likewise.
23942 (pow_test_tonearest): Likewise.
23943 (pow_test_towardzero): Likewise.
23944 (pow_test_downward): Likewise.
23945 (pow_test_upward): Likewise.
23946 (remainder_test): Likewise.
23947 (remainder_test_tonearest): Likewise.
23948 (remainder_test_towardzero): Likewise.
23949 (remainder_test_downward): Likewise.
23950 (remainder_test_upward): Likewise.
23951 (remquo_test): Likewise.
23952 (rint_test): Likewise.
23953 (rint_test_tonearest): Likewise.
23954 (rint_test_towardzero): Likewise.
23955 (rint_test_downward): Likewise.
23956 (rint_test_upward): Likewise.
23957 (round_test): Likewise.
23958 (scalb_test): Likewise.
23959 (scalbn_test): Likewise.
23960 (scalbln_test): Likewise.
23961 (signbit_test): Likewise.
23962 (sin_test): Likewise.
23963 (sin_test_tonearest): Likewise.
23964 (sin_test_towardzero): Likewise.
23965 (sin_test_downward): Likewise.
23966 (sin_test_upward): Likewise.
23967 (sincos_test): Likewise.
23968 (sinh_test): Likewise.
23969 (sinh_test_tonearest): Likewise.
23970 (sinh_test_towardzero): Likewise.
23971 (sinh_test_downward): Likewise.
23972 (sinh_test_upward): Likewise.
23973 (sqrt_test): Likewise.
23974 (tan_test): Likewise.
23975 (tan_test_tonearest): Likewise.
23976 (tan_test_towardzero): Likewise.
23977 (tan_test_downward): Likewise.
23978 (tan_test_upward): Likewise.
23979 (tanh_test): Likewise.
23980 (tgamma_test): Likewise.
23981 (trunc_test): Likewise.
23982 (y0_test): Likewise.
23983 (y1_test): Likewise.
23984 (yn_test): Likewise.
23985 (significand_test): Likewise.
23987 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
23990 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23992 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23995 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23996 __ppc_mdoio and __ppc_mdoom.
23997 * manual/platform.texi: Document new functions __ppc_yield,
23998 __ppc_mdoio and __ppc_mdoom.
24000 2013-05-22 Carlos O'Donell <carlos@redhat.com>
24002 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24003 (main): Mention "tls" pseudo-hwcap is legacy.
24004 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24006 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24008 * math/gen-libm-test.pl (parse_args): Output only string of
24009 arguments as text for test name, not full call or descriptions of
24010 tests for extra outputs.
24011 (generate_testfile): Do not pass function name to parse_args.
24012 Generate this_func variable from START.
24013 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24015 (struct test_ff_f_data): Likewise.
24016 (test_ff_f_data_nexttoward): Likewise.
24017 (struct test_fi_f_data): Likewise.
24018 (struct test_fl_f_data): Likewise.
24019 (struct test_if_f_data): Likewise.
24020 (struct test_fff_f_data): Likewise.
24021 (struct test_c_f_data): Likewise.
24022 (struct test_f_f1_data): Likewise. Remove field extra_name.
24023 (struct test_fF_f1_data): Likewise.
24024 (struct test_ffI_f1_data): Likewise.
24025 (struct test_c_c_data): Rename test_name field to arg_str.
24026 (struct test_cc_c_data): Likewise.
24027 (struct test_f_i_data): Likewise.
24028 (struct test_ff_i_data): Likewise.
24029 (struct test_f_l_data): Likewise.
24030 (struct test_f_L_data): Likewise.
24031 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24033 (COMMON_TEST_SETUP): New macro.
24034 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24035 (COMMON_TEST_CLEANUP): Likewise.
24036 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24037 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24039 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24040 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24042 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24043 (RUN_TEST_fff_f): Take argument string. Call new setup and
24045 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24046 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24048 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24049 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24051 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24052 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24054 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24055 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24057 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24058 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24060 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24061 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24063 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24064 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24066 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24067 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24069 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24070 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24072 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24073 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24075 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24076 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24078 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24079 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24081 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24082 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24084 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24085 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24087 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24088 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24090 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24092 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24094 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24095 to _sifields.sigfault.
24096 (si_addr_lsb): Define new macro.
24097 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24098 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24099 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24101 2013-05-03 Carlos O'Donell <carlos at redhat.com>
24104 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24106 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24108 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24109 loading the domain.
24111 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24113 * math/gen-libm-test.pl (parse_args): Do not include expected
24114 result in test name.
24115 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24116 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24117 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24118 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24119 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24122 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24124 * benchtests/Makefile: Sort function entries.
24126 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24127 tanh, asinh, acosh, atanh.
24128 * benchtests/acos-inputs: New file.
24129 * benchtests/acosh-inputs: New file.
24130 * benchtests/asin-inputs: New file.
24131 * benchtests/asinh-inputs: New file.
24132 * benchtests/atanh-inputs: New file.
24133 * benchtests/cosh-inputs: New file.
24134 * benchtests/log-inputs: New file.
24135 * benchtests/sinh-inputs: New file.
24136 * benchtests/tanh-inputs: New file.
24138 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24141 * posix/tst-getaddrinfo4.c: New test.
24142 * posix/Makefile (tests): Add it.
24144 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24147 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24148 when no services were used.
24149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24150 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24152 2013-05-21 Andreas Schwab <schwab@suse.de>
24155 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24156 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24158 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24159 redundant variable declarations and reallocation of buffer when
24160 parsing as IPv6 address. Always set NSS status when called from
24161 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24162 buffer too small. Correct computation of needed size.
24163 * nss/Makefile (tests): Add test-digits-dots.
24164 * nss/test-digits-dots.c: New test.
24166 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24168 * benchtests/Makefile: Remove instructions for adding
24170 * benchtests/README: New file to explain how to execute and
24171 enhance the benchmark tests.
24173 2013-05-21 Andreas Schwab <schwab@suse.de>
24176 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24177 * setjmp/tst-sigsetjmp.c: New test.
24179 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
24181 * sysdeps/x86_64/memset.S (memset): New implementation.
24182 (__bzero): Likewise.
24183 (__memset_tail): New function.
24185 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
24187 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24188 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24189 __memcpy_sse2_unaligned ifunc selection.
24190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24191 Add memcpy-sse2-unaligned.S.
24192 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24193 Add: __memcpy_sse2_unaligned.
24195 2013-05-19 Joseph Myers <joseph@codesourcery.com>
24198 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24199 math_force_eval before restoring floating-point envrionment.
24200 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24201 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24203 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24205 (__nearbyintl): Use math_force_eval before restoring
24206 floating-point environment.
24207 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24209 * math/gen-libm-test.pl (special_functions): Remove.
24210 (parse_args): Don't handle TEST_extra. Handle functions with no
24212 * math/libm-test.inc (struct test_sincos_data): Replace with
24213 struct test_fFF_11_data.
24214 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24215 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24216 (sincos_test_data): Change element type to struct
24217 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24218 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24219 RUN_TEST_LOOP_sincos.
24220 * math/README.libm-test: Don't mention special handling of
24221 individual functions.
24222 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24223 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24224 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24225 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24226 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24229 * math/gen-libm-test.pl (get_variable): Remove function.
24230 (parse_args): Don't show pointer parameters to call in test
24231 names. Use "extra output N" in test names for extra outputs
24232 rather than naming variables.
24234 2013-05-18 Joseph Myers <joseph@codesourcery.com>
24237 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24238 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24239 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24241 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24243 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24246 * math/gen-libm-test.pl (@tests): Remove variable.
24247 ($count): Likewise.
24248 (new_test): Remove function.
24249 (show_exceptions): New function.
24250 (special_functions): Use show_exceptions instead of new_test.
24251 (parse_args): Likewise.
24252 (generate_testfile): Pass only function name in generated call to
24253 print_max_error or print_complex_max_error.
24254 (get_ulps): Do not handle complex tests specially.
24255 (output_test): Rename to ...
24256 (get_all_ulps_for_test): ... this. Return a string rather than
24257 printing to a file. Require ulps to be present.
24258 (output_ulps): Generate arrays rather than #defines.
24259 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24260 (struct ulp_data): New type.
24261 (BUILD_COMPLEX_ULP): Remove macro.
24262 (compare_ulp_data): New function.
24263 (find_ulps): Likewise.
24264 (find_test_ulps): Likewise.
24265 (find_function_ulps): Likewise.
24266 (find_complex_function_ulps): Likewise.
24267 (print_max_error): Determine allowed ulps using
24268 find_function_ulps.
24269 (print_complex_max_error): Determine allowed ulps using
24270 find_complex_function_ulps.
24271 (check_float_internal): Determine max ulps using find_test_ulps.
24272 (check_float): Do not take max_ulp parameter. Update call to
24273 check_float_internal.
24274 (check_complex): Likewise.
24275 (check_int): Do not take max_ulp parameter.
24276 (check_long): Likewise.
24277 (check_bool): Likewise.
24278 (check_longlong): Likewise.
24279 (struct test_f_f_data): Remove max_ulp field.
24280 (struct test_ff_f_data): Likewise.
24281 (struct test_ff_f_data_nexttoward): Likewise.
24282 (struct test_fi_f_data): Likewise.
24283 (struct test_fl_f_data): Likewise.
24284 (struct test_if_f_data): Likewise.
24285 (struct test_fff_f_data): Likewise.
24286 (struct test_c_f_data): Likewise.
24287 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24288 (struct test_fF_f1_data): Likewise.
24289 (struct test_ffI_f1_data): Likewise.
24290 (struct test_c_c_data): Remove max_ulp field.
24291 (struct test_cc_c_data): Likewise.
24292 (struct test_f_i_data): Likewise.
24293 (struct test_ff_i_data): Likewise.
24294 (struct test_f_l_data): Likewise.
24295 (struct test_f_L_data): Likewise.
24296 (struct test_sincos_data): Likewise.
24297 (RUN_TEST_f_f): Do not handle ulps.
24298 (RUN_TEST_LOOP_f_f): Likewise.
24299 (RUN_TEST_2_f): Likewise.
24300 (RUN_TEST_LOOP_2_f): Likewise.
24301 (RUN_TEST_fff_f): Likewise.
24302 (RUN_TEST_LOOP_fff_f): Likewise.
24303 (RUN_TEST_c_f): Likewise.
24304 (RUN_TEST_LOOP_c_f): Likewise.
24305 (RUN_TEST_f_f1): Likewise.
24306 (RUN_TEST_LOOP_f_f1): Likewise.
24307 (RUN_TEST_fF_f1): Likewise.
24308 (RUN_TEST_LOOP_fF_f1): Likewise.
24309 (RUN_TEST_fI_f1): Likewise.
24310 (RUN_TEST_LOOP_fI_f1): Likewise.
24311 (RUN_TEST_ffI_f1): Likewise.
24312 (RUN_TEST_LOOP_ffI_f1): Likewise.
24313 (RUN_TEST_c_c): Likewise.
24314 (RUN_TEST_LOOP_c_c): Likewise.
24315 (RUN_TEST_cc_c): Likewise.
24316 (RUN_TEST_LOOP_cc_c): Likewise.
24317 (RUN_TEST_f_i): Likewise.
24318 (RUN_TEST_LOOP_f_i): Likewise.
24319 (RUN_TEST_f_i_tg): Likewise.
24320 (RUN_TEST_LOOP_f_i_tg): Likewise.
24321 (RUN_TEST_ff_i_tg): Likewise.
24322 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24323 (RUN_TEST_f_b): Likewise.
24324 (RUN_TEST_LOOP_f_b): Likewise.
24325 (RUN_TEST_f_b_tg): Likewise.
24326 (RUN_TEST_LOOP_f_b_tg): Likewise.
24327 (RUN_TEST_f_l): Likewise.
24328 (RUN_TEST_LOOP_f_l): Likewise.
24329 (RUN_TEST_f_L): Likewise.
24330 (RUN_TEST_LOOP_f_L): Likewise.
24331 (RUN_TEST_sincos): Likewise.
24332 (RUN_TEST_LOOP_sincos): Likewise.
24334 2013-05-17 Joseph Myers <joseph@codesourcery.com>
24338 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24339 main case of finite arguments, set rounding mode to FE_TONEAREST
24340 and discard exceptions.
24341 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24343 (remainder_tonearest_test_data): New variable.
24344 (remainder_test_tonearest): New function.
24345 (remainder_towardzero_test_data): New variable.
24346 (remainder_test_towardzero): New function.
24347 (remainder_downward_test_data): New variable.
24348 (remainder_test_downward): New function.
24349 (remainder_upward_test_data): New variable.
24350 (remainder_test_upward): New function.
24351 (main): Call the new test functions.
24353 * math/libm-test.inc (struct test_f_f1_data): Remove field
24355 (struct test_fF_f1_data): Likewise.
24356 (struct test_ffI_f1_data): Likewise.
24357 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24358 based on value of EXTRA_EXPECTED.
24359 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24360 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24361 EXTRA_VAR based on value of EXTRA_EXPECTED.
24362 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24363 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24364 EXTRA_VAR based on value of EXTRA_EXPECTED.
24365 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24366 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24367 EXTRA_VAR based on value of EXTRA_EXPECTED.
24368 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24369 * math/gen-libm-test.pl (parse_args): Don't output initializers
24370 for extra output values.
24372 * math/libm-test.inc (check_int): Expect result to be exactly
24373 equal to expected value and do not handle ulps.
24374 (check_long): Likewise.
24375 (check_longlong): Likewise.
24377 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24379 (cimag_test_data): Likewise.
24380 (conj_test_data): Likewise.
24381 (copysign_test_data): Likewise.
24382 (cproj_test_data): Likewise.
24383 (creal_test_data): Likewise.
24384 (fabs_test_data): Likewise.
24385 (fdim_test_data): Likewise.
24386 (finite_test_data): Likewise.
24387 (floor_test_data): Likewise.
24388 (fmax_test_data): Likewise.
24389 (fmin_test_data): Likewise.
24390 (fmod_test_data): Likewise.
24391 (fpclassify_test_data): Likewise.
24392 (frexp_test_data): Likewise.
24393 (ilogb_test_data): Likewise.
24394 (isfinite_test_data): Likewise.
24395 (isgreater_test_data): Likewise.
24396 (isgreaterequal_test_data): Likewise.
24397 (isinf_test_data): Likewise.
24398 (isless_test_data): Likewise.
24399 (islessequal_test_data): Likewise.
24400 (islessgreater_test_data): Likewise.
24401 (isnan_test_data): Likewise.
24402 (isnormal_test_data): Likewise.
24403 (issignaling_test_data): Likewise.
24404 (isunordered_test_data): Likewise.
24405 (ldexp_test_data): Likewise.
24406 (lrint_test_data): Likewise.
24407 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24408 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24409 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24410 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24411 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24412 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24414 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24415 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24416 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24417 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24419 (lrint_downward_test_data): Test for "inexact" exceptions.
24420 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24421 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24422 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24424 (lrint_upward_test_data): Test for "inexact" exceptions.
24425 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24427 (llrint_test_data): Test for "inexact" exceptions.
24428 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24429 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24430 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24431 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24432 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24433 (llrint_downward_test_data): Test for "inexact" exceptions.
24434 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24435 (llrint_upward_test_data): Test for "inexact" exceptions.
24436 (logb_test_data): Likewise.
24437 (logb_downward_test_data): Likewise.
24438 (nextafter_test_data): Likewise.
24439 (nexttoward_test_data): Likewise.
24440 (remainder_test_data): Likewise.
24441 (remquo_test_data): Likewise.
24442 (scalbn_test_data): Likewise.
24443 (scalbln_test_data): Likewise.
24444 (signbit_test_data): Likewise.
24445 (sqrt_test_data): Likewise.
24446 (significand_test_data): Likewise.
24448 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24451 * benchtests/bench-modf.c (struct args): Mark arg0 as
24453 * scripts/bench.pl: Mark members of struct args as volatile.
24455 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24458 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24459 negative infinity on POWER6 or lower.
24460 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24462 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24465 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24466 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24467 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24468 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24469 (_FP_SETQNAN): New macro.
24470 (_FP_SETQNAN_SEMIRAW): Likewise.
24471 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24472 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24473 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24474 (FP_EXTEND): Use _FP_FRAC_SNANP.
24475 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24476 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24478 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24480 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24483 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24485 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24486 with DIVIDE_BY_ZERO_EXCEPTION.
24487 (gamma_test_data): Likewise.
24488 (lgamma_test_data): Likewise.
24489 (log_test_data): Likewise.
24490 (log10_test_data): Likewise.
24491 (log2_test_data): Likewise.
24492 (tgamma_test_data): Likewise.
24494 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24495 (acos_test_tonearest): Likewise.
24496 (acos_test_towardzero): Likewise.
24497 (acos_test_downward): Likewise.
24498 (acos_test_upward): Likewise.
24499 (acosh_test): Likewise.
24500 (asin_test): Likewise.
24501 (asin_test_tonearest): Likewise.
24502 (asin_test_towardzero): Likewise.
24503 (asin_test_downward): Likewise.
24504 (asin_test_upward): Likewise.
24505 (asinh_test): Likewise.
24506 (atan_test): Likewise.
24507 (atanh_test): Likewise.
24508 (atan2_test): Likewise.
24509 (cabs_test): Likewise.
24510 (cacos_test): Likewise.
24511 (cacosh_test): Likewise.
24512 (casin_test): Likewise.
24513 (casinh_test): Likewise.
24514 (catan_test): Likewise.
24515 (catanh_test): Likewise.
24516 (cbrt_test): Likewise.
24517 (ccos_test): Likewise.
24518 (ccosh_test): Likewise.
24519 (cexp_test): Likewise.
24520 (clog_test): Likewise.
24521 (clog10_test): Likewise.
24522 (cos_test): Likewise.
24523 (cos_test_tonearest): Likewise.
24524 (cos_test_towardzero): Likewise.
24525 (cos_test_downward): Likewise.
24526 (cos_test_upward): Likewise.
24527 (cosh_test): Likewise.
24528 (cosh_test_tonearest): Likewise.
24529 (cosh_test_towardzero): Likewise.
24530 (cosh_test_downward): Likewise.
24531 (cosh_test_upward): Likewise.
24532 (cpow_test): Likewise.
24533 (csin_test): Likewise.
24534 (csinh_test): Likewise.
24535 (csqrt_test): Likewise.
24536 (ctan_test): Likewise.
24537 (ctan_test_tonearest): Likewise.
24538 (ctan_test_towardzero): Likewise.
24539 (ctan_test_downward): Likewise.
24540 (ctan_test_upward): Likewise.
24541 (ctanh_test): Likewise.
24542 (ctanh_test_tonearest): Likewise.
24543 (ctanh_test_towardzero): Likewise.
24544 (ctanh_test_downward): Likewise.
24545 (ctanh_test_upward): Likewise.
24546 (erf_test): Likewise.
24547 (erfc_test): Likewise.
24548 (exp_test): Likewise.
24549 (exp_test_tonearest): Likewise.
24550 (exp_test_towardzero): Likewise.
24551 (exp_test_downward): Likewise.
24552 (exp_test_upward): Likewise.
24553 (exp10_test): Likewise.
24554 (exp2_test): Likewise.
24555 (expm1_test): Likewise.
24556 (fmod_test): Likewise.
24557 (gamma_test): Likewise.
24558 (hypot_test): Likewise.
24559 (j0_test): Likewise.
24560 (j1_test): Likewise.
24561 (jn_test): Likewise.
24562 (lgamma_test): Likewise.
24563 (log_test): Likewise.
24564 (log10_test): Likewise.
24565 (log1p_test): Likewise.
24566 (log2_test): Likewise.
24567 (logb_test_downward): Likewise.
24568 (pow_test): Likewise.
24569 (pow_test_tonearest): Likewise.
24570 (pow_test_towardzero): Likewise.
24571 (pow_test_downward): Likewise.
24572 (pow_test_upward): Likewise.
24573 (remainder_test): Likewise.
24574 (remquo_test): Likewise.
24575 (sin_test): Likewise.
24576 (sin_test_tonearest): Likewise.
24577 (sin_test_towardzero): Likewise.
24578 (sin_test_downward): Likewise.
24579 (sin_test_upward): Likewise.
24580 (sincos_test): Likewise.
24581 (sinh_test): Likewise.
24582 (sinh_test_tonearest): Likewise.
24583 (sinh_test_towardzero): Likewise.
24584 (sinh_test_downward): Likewise.
24585 (sinh_test_upward): Likewise.
24586 (sqrt_test): Likewise.
24587 (tan_test): Likewise.
24588 (tan_test_tonearest): Likewise.
24589 (tan_test_towardzero): Likewise.
24590 (tan_test_downward): Likewise.
24591 (tan_test_upward): Likewise.
24592 (tanh_test): Likewise.
24593 (tgamma_test): Likewise.
24594 (y0_test): Likewise.
24595 (y1_test): Likewise.
24596 (yn_test): Likewise.
24598 * math/gen-libm-test.pl (adjust_arg): Remove function.
24599 (special_function): Remove argument $in_func. Only handle
24600 generating output for tables of tests, not inside functions.
24601 (parse_args): Likewise.
24602 (generate_testfile): Remove variable $in_func. Update call to
24604 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24605 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24606 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24607 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24608 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24609 (MAX_VALUE_INIT): Rename macro to max_value.
24610 (MIN_VALUE_INIT): Rename macro to min_value.
24611 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24612 (plus_zero): Remove variable.
24613 (minus_zero): Likewise.
24614 (plus_infty): Likewise.
24615 (minus_infty): Likewise.
24616 (qnan_value): Likewise.
24617 (max_value): Likewise.
24618 (min_value): Likewise.
24619 (min_subnorm_value): Likewise.
24621 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24623 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24624 uint64_t or uint32_t usage.
24625 * crypt/sha256-block.c: Likewise.
24626 * crypt/sha256-crypt.c: Likewise.
24627 * crypt/sha256.c: Likewise.
24628 * crypt/sha512-block.c: Likewise.
24629 * crypt/sha512-crypt.c: Likewise.
24630 * crypt/sha512.c: Likewise.
24631 * debug/backtrace-tst.c: Likewise.
24632 * debug/pcprofiledump.c: Likewise.
24633 * elf/cache.c: Likewise.
24634 * elf/dl-cache.c: Likewise.
24635 * elf/dl-misc.c: Likewise.
24636 * elf/dl-profile.c: Likewise.
24637 * elf/dl-support.c: Likewise.
24638 * elf/ldconfig.c: Likewise.
24639 * elf/sprof.c: Likewise.
24640 * iconv/dummy-repertoire.c: Likewise.
24641 * iconv/iconv_charmap.c: Likewise.
24642 * iconv/skeleton.c: Likewise.
24643 * iconvdata/8bit-generic.c: Likewise.
24644 * iconvdata/cp737.h: Likewise.
24645 * iconvdata/cp775.h: Likewise.
24646 * iconvdata/ibm1008.h: Likewise.
24647 * iconvdata/ibm1025.h: Likewise.
24648 * iconvdata/ibm1046.h: Likewise.
24649 * iconvdata/ibm1097.h: Likewise.
24650 * iconvdata/ibm1112.h: Likewise.
24651 * iconvdata/ibm1122.h: Likewise.
24652 * iconvdata/ibm1123.h: Likewise.
24653 * iconvdata/ibm1124.h: Likewise.
24654 * iconvdata/ibm1129.h: Likewise.
24655 * iconvdata/ibm1130.h: Likewise.
24656 * iconvdata/ibm1132.h: Likewise.
24657 * iconvdata/ibm1133.h: Likewise.
24658 * iconvdata/ibm1137.h: Likewise.
24659 * iconvdata/ibm1140.h: Likewise.
24660 * iconvdata/ibm1141.h: Likewise.
24661 * iconvdata/ibm1142.h: Likewise.
24662 * iconvdata/ibm1143.h: Likewise.
24663 * iconvdata/ibm1144.h: Likewise.
24664 * iconvdata/ibm1145.h: Likewise.
24665 * iconvdata/ibm1146.h: Likewise.
24666 * iconvdata/ibm1147.h: Likewise.
24667 * iconvdata/ibm1148.h: Likewise.
24668 * iconvdata/ibm1149.h: Likewise.
24669 * iconvdata/ibm1153.h: Likewise.
24670 * iconvdata/ibm1154.h: Likewise.
24671 * iconvdata/ibm1155.h: Likewise.
24672 * iconvdata/ibm1156.h: Likewise.
24673 * iconvdata/ibm1157.h: Likewise.
24674 * iconvdata/ibm1158.h: Likewise.
24675 * iconvdata/ibm1160.h: Likewise.
24676 * iconvdata/ibm1161.h: Likewise.
24677 * iconvdata/ibm1162.h: Likewise.
24678 * iconvdata/ibm1163.h: Likewise.
24679 * iconvdata/ibm1164.h: Likewise.
24680 * iconvdata/ibm1166.h: Likewise.
24681 * iconvdata/ibm1167.h: Likewise.
24682 * iconvdata/ibm12712.h: Likewise.
24683 * iconvdata/ibm1390.h: Likewise.
24684 * iconvdata/ibm1399.h: Likewise.
24685 * iconvdata/ibm16804.h: Likewise.
24686 * iconvdata/ibm4517.h: Likewise.
24687 * iconvdata/ibm4899.h: Likewise.
24688 * iconvdata/ibm4909.h: Likewise.
24689 * iconvdata/ibm4971.h: Likewise.
24690 * iconvdata/ibm5347.h: Likewise.
24691 * iconvdata/ibm803.h: Likewise.
24692 * iconvdata/ibm856.h: Likewise.
24693 * iconvdata/ibm901.h: Likewise.
24694 * iconvdata/ibm902.h: Likewise.
24695 * iconvdata/ibm9030.h: Likewise.
24696 * iconvdata/ibm9066.h: Likewise.
24697 * iconvdata/ibm921.h: Likewise.
24698 * iconvdata/ibm922.h: Likewise.
24699 * iconvdata/ibm9448.h: Likewise.
24700 * iconvdata/isiri-3342.h: Likewise.
24701 * iconvdata/jis0201.h: Likewise.
24702 * include/link.h: Likewise.
24703 * include/netdb.h: Likewise.
24704 * inet/check_native.c: Likewise.
24705 * inet/check_pf.c: Likewise.
24706 * inet/getipv4sourcefilter.c: Likewise.
24707 * inet/getnameinfo.c: Likewise.
24708 * inet/getsourcefilter.c: Likewise.
24709 * inet/htonl.c: Likewise.
24710 * inet/setipv4sourcefilter.c: Likewise.
24711 * inet/setsourcefilter.c: Likewise.
24712 * inet/test-inet6_opt.c: Likewise.
24713 * inet/tst-network.c: Likewise.
24714 * locale/C-collate.c: Likewise.
24715 * locale/C-ctype.c: Likewise.
24716 * locale/C-time.c: Likewise.
24717 * locale/C-translit.h: Likewise.
24718 * locale/loadarchive.c: Likewise.
24719 * locale/programs/3level.h: Likewise.
24720 * locale/programs/charmap.c: Likewise.
24721 * locale/programs/charmap.h: Likewise.
24722 * locale/programs/ld-address.c: Likewise.
24723 * locale/programs/ld-collate.c: Likewise.
24724 * locale/programs/ld-ctype.c: Likewise.
24725 * locale/programs/ld-identification.c: Likewise.
24726 * locale/programs/ld-measurement.c: Likewise.
24727 * locale/programs/ld-messages.c: Likewise.
24728 * locale/programs/ld-monetary.c: Likewise.
24729 * locale/programs/ld-name.c: Likewise.
24730 * locale/programs/ld-numeric.c: Likewise.
24731 * locale/programs/ld-paper.c: Likewise.
24732 * locale/programs/ld-telephone.c: Likewise.
24733 * locale/programs/ld-time.c: Likewise.
24734 * locale/programs/linereader.c: Likewise.
24735 * locale/programs/locale.c: Likewise.
24736 * locale/programs/locarchive.c: Likewise.
24737 * locale/programs/locfile.h: Likewise.
24738 * locale/programs/repertoire.c: Likewise.
24739 * locale/programs/simple-hash.c: Likewise.
24740 * locale/programs/simple-hash.h: Likewise.
24741 * malloc/memusage.c: Likewise.
24742 * malloc/memusagestat.c: Likewise.
24743 * nis/nis_defaults.c: Likewise.
24744 * nis/nis_hash.c: Likewise.
24745 * nis/nis_print.c: Likewise.
24746 * nis/nis_xdr.c: Likewise.
24747 * nscd/connections.c: Likewise.
24748 * nscd/hstcache.c: Likewise.
24749 * nscd/nscd_gethst_r.c: Likewise.
24750 * nscd/nscd_getserv_r.c: Likewise.
24751 * nscd/nscd_helper.c: Likewise.
24752 * nscd/servicescache.c: Likewise.
24753 * nss/makedb.c: Likewise.
24754 * nss/nss_db/db-XXX.c: Likewise.
24755 * nss/nss_db/db-initgroups.c: Likewise.
24756 * nss/nss_db/db-netgrp.c: Likewise.
24757 * nss/nss_files/files-network.c: Likewise.
24758 * nss/nss_files/files-parse.c: Likewise.
24759 * posix/bug-regex5.c: Likewise.
24760 * posix/fnmatch_loop.c: Likewise.
24761 * posix/regcomp.c: Likewise.
24762 * posix/regexec.c: Likewise.
24763 * posix/tst-rfc3484-2.c: Likewise.
24764 * posix/tst-rfc3484-3.c: Likewise.
24765 * posix/tst-rfc3484.c: Likewise.
24766 * resolv/nss_dns/dns-canon.c: Likewise.
24767 * resolv/nss_dns/dns-network.c: Likewise.
24768 * resolv/res_init.c: Likewise.
24769 * resolv/res_mkquery.c: Likewise.
24770 * resolv/tst-aton.c: Likewise.
24771 * stdlib/cxa_atexit.c: Likewise.
24772 * stdlib/cxa_finalize.c: Likewise.
24773 * stdlib/gen-fpioconst.c: Likewise.
24774 * stdlib/strtol_l.c: Likewise.
24775 * string/tst-endian.c: Likewise.
24776 * sunrpc/auth_des.c: Likewise.
24777 * sunrpc/clnt_udp.c: Likewise.
24778 * sunrpc/rtime.c: Likewise.
24779 * sunrpc/svcauth_des.c: Likewise.
24780 * sunrpc/xdr.c: Likewise.
24781 * sunrpc/xdr_intXX_t.c: Likewise.
24782 * sunrpc/xdr_rec.c: Likewise.
24783 * sysdeps/generic/ldconfig.h: Likewise.
24784 * sysdeps/generic/ldsodefs.h: Likewise.
24785 * sysdeps/generic/memusage.h: Likewise.
24786 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24787 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24788 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24789 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24790 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24791 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24792 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24793 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24794 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24795 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24796 * sysdeps/posix/getaddrinfo.c: Likewise.
24797 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24798 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24799 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24800 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24801 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24802 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24803 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24804 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24805 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24806 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24807 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24808 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24809 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24810 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24811 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24812 * sysdeps/x86_64/dl-tls.h: Likewise.
24813 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24814 * time/alt_digit.c: Likewise.
24815 * time/era.c: Likewise.
24816 * wcsmbs/tst-c16c32-1.c: Likewise.
24818 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24820 * math/libm-test.inc (struct test_sincos_data): New type.
24821 (RUN_TEST_LOOP_sincos): New macro.
24822 (sincos_test_data): New variable.
24823 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24825 2013-05-16 Richard Henderson <rth@redhat.com>
24827 * math/atest-exp2.c (LIMB64): New macro.
24828 (CONSTSZ): New macro.
24829 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24831 (print_mpn_fp): ... to function scope.
24832 (read_mpn_hex): Remove.
24833 (get_log2): Remove.
24834 (exp2_mpn): Use mp_log2.
24835 (main): Use mp_exp1.
24837 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24839 * math/libm-test.inc: Remove comment about not testing "inexact"
24841 (INEXACT_EXCEPTION): New macro.
24842 (NO_INEXACT_EXCEPTION): Likewise.
24843 (INVALID_EXCEPTION_OK): Update value.
24844 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24845 (OVERFLOW_EXCEPTION_OK): Likewise.
24846 (UNDERFLOW_EXCEPTION_OK): Likewise.
24847 (IGNORE_ZERO_INF_SIGN): Likewise.
24848 (ERRNO_UNCHANGED): Likewise.
24849 (ERRNO_EDOM): Likewise.
24850 (ERRNO_ERANGE): Likewise.
24851 (test_exceptions): Handle testing "inexact" exceptions.
24852 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24853 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24854 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24855 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24857 (rint_towardzero_test_data): Likewise.
24858 (rint_downward_test_data): Likewise.
24859 (rint_upward_test_data): Likewise.
24861 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24862 with OVERFLOW_EXCEPTION.
24863 (exp10_test_data): Likewise.
24864 (exp2_test_data): Likewise.
24865 (expm1_test_data): Likewise.
24866 (lgamma_test_data): Likewise.
24867 (pow_test_data): Likewise.
24868 (tgamma_test_data): Likewise.
24869 (yn_test_data): Remove duplicate test of overflow.
24871 * math/libm-test.inc (struct test_cc_c_data): New type.
24872 (RUN_TEST_LOOP_cc_c): New macro.
24873 (cpow_test_data): New variable.
24874 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24876 * math/libm-test.inc (struct test_f_L_data): New type.
24877 (RUN_TEST_LOOP_f_L): New macro.
24878 (llrint_test_data): New variable.
24879 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24880 (llrint_tonearest_test_data): New variable.
24881 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24882 (llrint_towardzero_test_data): New variable.
24883 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24884 (llrint_downward_test_data): New variable.
24885 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24886 (llrint_upward_test_data): New variable.
24887 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24888 (llround_test_data): New variable.
24889 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24891 2013-05-13 Peter Collingbourne <pcc@google.com>
24893 * math/atest-exp2.c (get_log2): Remove const attribute.
24895 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24897 * math/libm-test.inc (struct test_f_l_data): New type.
24898 (RUN_TEST_LOOP_f_l): New macro.
24899 (lrint_test_data): New variable.
24900 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24901 (lrint_tonearest_test_data): New variable.
24902 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24903 (lrint_towardzero_test_data): New variable.
24904 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24905 (lrint_downward_test_data): New variable.
24906 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24907 (lrint_upward_test_data): New variable.
24908 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24909 (lround_test_data): New variable.
24910 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24912 2013-05-15 Peter Collingbourne <pcc@google.com>
24914 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24915 (EXTRACT_WORDS64) Use where appropriate.
24916 (INSERT_WORDS64) Likewise.
24918 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24919 constraints with x constraints.
24920 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24922 * malloc/obstack.c (_obstack_compat): Add initializer.
24924 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24926 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24927 si_trapno and add si_addr_lsb to _sifields.sigfault.
24928 (si_trapno): Remove macro.
24929 (si_addr_lsb): Define new macro.
24930 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24932 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24934 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24935 instead of TEST_f_l.
24936 (llrint_test_tonearest): Likewise.
24937 (llrint_test_towardzero): Likewise.
24938 (llrint_test_downward): Likewise.
24939 (llrint_test_upward): Likewise.
24940 (llround_test): Likewise.
24942 * math/libm-test.inc (struct test_f_i_data): Add comment.
24943 (RUN_TEST_LOOP_f_b): New macro.
24944 (RUN_TEST_LOOP_f_b_tg): Likewise.
24945 (finite_test_data): New variable.
24946 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24947 (isfinite_test_data): New variable.
24948 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24949 (isinf_test_data): New variable.
24950 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24951 (isnan_test_data): New variable.
24952 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24953 (isnormal_test_data): New variable.
24954 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24955 (issignaling_test_data): New variable.
24956 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24957 (signbit_test_data): New variable.
24958 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24960 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24961 with INVALID_EXCEPTION.
24962 (acosh_test_data): Likewise.
24963 (asin_test_data): Likewise.
24964 (atanh_test_data): Likewise.
24965 (fmod_test_data): Likewise.
24966 (log_test_data): Likewise.
24967 (log10_test_data): Likewise.
24968 (log2_test_data): Likewise.
24969 (pow_test_data): Likewise.
24970 (sqrt_test_data): Likewise.
24971 (y0_test_data): Likewise.
24972 (y1_test_data): Likewise.
24973 (yn_test_data): Likewise.
24975 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24978 * math/libm-test.inc (struct test_ff_i_data): New type.
24979 (RUN_TEST_LOOP_ff_i_tg): New macro.
24980 (isgreater_test_data): New variable.
24981 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24982 (isgreaterequal_test_data): New variable.
24983 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24984 (isless_test_data): New variable.
24985 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24986 (islessequal_test_data): New variable.
24987 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24988 (islessgreater_test_data): New variable.
24989 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24990 (isunordered_test_data): New variable.
24991 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24993 2013-05-14 David S. Miller <davem@davemloft.net>
24995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24997 2013-05-14 Joseph Myers <joseph@codesourcery.com>
24999 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25001 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25003 (struct test_f_i_data): Change type of max_ulp to int.
25005 * math/libm-test.inc (test_ffI_f1_data): New type.
25006 (RUN_TEST_LOOP_ffI_f1): New macro.
25007 (remquo_test_data): New variable.
25008 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25010 * setjmp/tst-setjmp-fp.c: New file.
25011 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25012 (link-libm): New variable.
25013 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25015 * math/libm-test.inc (struct test_f_i_data): New type.
25016 (RUN_TEST_LOOP_f_i): New macro.
25017 (RUN_TEST_LOOP_f_i_tg): Likewise.
25018 (fpclassify_test_data): New variable.
25019 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25020 (ilogb_test_data): New variable.
25021 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25023 * math/libm-test.inc (scalbln_test): Correct function name in END
25026 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25027 (RUN_TEST_LOOP_fI_f1): New macro.
25028 (frexp_test_data): New variable.
25029 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25031 * math/libm-test.inc (struct test_fF_f1_data): New type.
25032 (RUN_TEST_LOOP_fF_f1): New macro.
25033 (modf_test_data): New variable.
25034 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25036 * math/libm-test.inc (struct test_f_f1_data): New type.
25037 (RUN_TEST_LOOP_f_f1): New macro.
25038 (gamma_test_data): New variable.
25039 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25040 (lgamma_test_data): New variable.
25041 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25043 2013-05-13 Carlos O'Donell <carlos@redhat.com>
25045 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25046 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25047 (main): Comment "tls" pseudo-hwcap.
25049 2013-05-13 Joseph Myers <joseph@codesourcery.com>
25051 * math/libm-test.inc (struct test_fl_f_data): New type.
25052 (RUN_TEST_LOOP_fl_f): New variable.
25053 (scalbln_test_data): New variable.
25054 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25056 * math/libm-test.inc (struct test_fi_f_data): New type.
25057 (RUN_TEST_LOOP_fi_f): New macro.
25058 (ldexp_test_data): New variable.
25059 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25060 (scalbn_test_data): New variable.
25061 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25063 * math/libm-test.inc (struct test_c_f_data): New type.
25064 (RUN_TEST_LOOP_c_f): New macro.
25065 (cabs_test_data): New variable.
25066 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25067 (carg_test_data): New variable.
25068 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25069 (cimag_test_data): New variable.
25070 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25071 (creal_test_data): New variable.
25072 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25074 * math/libm-test.inc (struct test_if_f_data): New type.
25075 (RUN_TEST_LOOP_if_f): New macro.
25076 (jn_test_data): New variable.
25077 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25078 (yn_test_data): New variable.
25079 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25081 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25083 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25085 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25086 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25088 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25090 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25091 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25092 (bench-deps): Add bench-timing.h.
25093 * benchtests-bench-skeleton.c: Include bench-timing.h.
25094 (main): Use TIMING_* macros instead of clock_gettime.
25095 * benchtests/bench-timing.h: New file.
25098 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25099 Renamed from _LIB_VERSION.
25100 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25102 2013-05-12 Joseph Myers <joseph@codesourcery.com>
25104 * math/libm-test.inc (struct test_fff_f_data): New type.
25105 (RUN_TEST_LOOP_fff_f): New macro.
25106 (fma_test_data): New variable.
25107 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25108 (fma_towardzero_test_data): New variable.
25109 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25110 (fma_downward_test_data): New variable.
25111 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25112 (fma_upward_test_data): New variable.
25113 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25115 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25116 (struct test_c_c_data): New type.
25117 (RUN_TEST_LOOP_c_c): New macro.
25118 (cacos_test_data): New variable.
25119 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25120 (cacosh_test_data): New variable.
25121 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25122 (casin_test_data): New variable.
25123 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25124 (casinh_test_data): New variable.
25125 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25126 (catan_test_data): New variable.
25127 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25128 (catanh_test_data): New variable.
25129 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25130 (ccos_test_data): New variable.
25131 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25132 (ccosh_test_data): New variable.
25133 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25134 (cexp_test_data): New variable.
25135 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25136 (clog_test_data): New variable.
25137 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25138 (clog10_test_data): New variable.
25139 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25140 (conj_test_data): New variable.
25141 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25142 (cproj_test_data): New variable.
25143 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25144 (csin_test_data): New variable.
25145 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25146 (csinh_test_data): New variable.
25147 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25148 (csqrt_test_data): New variable.
25149 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25150 (ctan_test_data): New variable.
25151 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25152 (ctan_tonearest_test_data): New variable.
25153 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25154 (ctan_towardzero_test_data): New variable.
25155 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25156 (ctan_downward_test_data): New variable.
25157 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25158 (ctan_upward_test_data): New variable.
25159 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25160 (ctanh_test_data): New variable.
25161 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25162 (ctanh_tonearest_test_data): New variable.
25163 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25164 (ctanh_towardzero_test_data): New variable.
25165 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25166 (ctanh_downward_test_data): New variable.
25167 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25168 (ctanh_upward_test_data): New variable.
25169 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25170 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25173 * math/libm-test.inc (struct test_ff_f_data): New type.
25174 (struct test_ff_f_data_nexttoward): Likewise.
25175 (RUN_TEST_LOOP_2_f): New macro.
25176 (RUN_TEST_LOOP_ff_f): Likewise.
25177 (atan2_test_data): New variable.
25178 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25179 (copysign_test_data): New variable.
25180 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25181 (fdim_test_data): New variable.
25182 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25183 (fmax_test_data): New variable.
25184 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25185 (fmin_test_data): New variable.
25186 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25187 (fmod_test_data): New variable.
25188 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25189 (hypot_test_data): New variable.
25190 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25191 (nextafter_test_data): New variable.
25192 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25193 (nexttoward_test_data): New variable.
25194 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25195 (pow_test_data): New variable.
25196 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25197 (pow_tonearest_test_data): New variable.
25198 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25199 (pow_towardzero_test_data): New variable.
25200 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25201 (pow_downward_test_data): New variable.
25202 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25203 (pow_upward_test_data): New variable.
25204 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25205 (remainder_test_data): New variable.
25206 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25207 (scalb_test_data): New variable.
25208 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25209 * sysdeps/i386/fpu/libm-test-ulps: Update.
25211 2013-05-11 Joseph Myers <joseph@codesourcery.com>
25213 * math/libm-test.inc (fma_test): Use max_value instead of local
25215 (nextafter_test): Likewise.
25217 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25218 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25219 (acos_downward_test_data): New variable.
25220 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25221 (acos_upward_test_data): New variable.
25222 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25223 (acosh_test_data): New variable.
25224 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25225 (asin_test_data): New variable.
25226 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25227 (asin_tonearest_test_data): New variable.
25228 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25229 (asin_towardzero_test_data): New variable.
25230 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25231 (asin_downward_test_data): New variable.
25232 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25233 (asin_upward_test_data): New variable.
25234 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25235 (asinh_test_data): New variable.
25236 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25237 (atan_test_data): New variable.
25238 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25239 (atanh_test_data): New variable.
25240 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25241 (cbrt_test_data): New variable.
25242 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25243 (ceil_test_data): New variable.
25244 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25245 (cos_test_data): New variable.
25246 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25247 (cos_tonearest_test_data): New variable.
25248 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25249 (cos_towardzero_test_data): New variable.
25250 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25251 (cos_downward_test_data): New variable.
25252 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25253 (cos_upward_test_data): New variable.
25254 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25255 (cosh_test_data): New variable.
25256 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25257 (cosh_tonearest_test_data): New variable.
25258 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25259 (cosh_towardzero_test_data): New variable.
25260 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25261 (cosh_downward_test_data): New variable.
25262 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25263 (cosh_upward_test_data): New variable.
25264 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25265 (erf_test_data): New variable.
25266 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25267 (erfc_test_data): New variable.
25268 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25269 (exp_test_data): New variable.
25270 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25271 (exp_tonearest_test_data): New variable.
25272 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25273 (exp_towardzero_test_data): New variable.
25274 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25275 (exp_downward_test_data): New variable.
25276 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25277 (exp_upward_test_data): New variable.
25278 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25279 (exp10_test_data): New variable.
25280 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25281 (exp2_test_data): New variable.
25282 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25283 (expm1_test_data): New variable.
25284 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25285 (fabs_test_data): New variable.
25286 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25287 (floor_test_data): New variable.
25288 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25289 (j0_test_data): New variable.
25290 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25291 (j1_test_data): New variable.
25292 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25293 (log_test_data): New variable.
25294 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25295 (log10_test_data): New variable.
25296 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25297 (log1p_test_data): New variable.
25298 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25299 (log2_test_data): New variable.
25300 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25301 (logb_test_data): New variable.
25302 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25303 (logb_downward_test_data): New variable.
25304 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25305 (nearbyint_test_data): New variable.
25306 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25307 (rint_test_data): New variable.
25308 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25309 (rint_tonearest_test_data): New variable.
25310 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25311 (rint_towardzero_test_data): New variable.
25312 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25313 (rint_downward_test_data): New variable.
25314 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25315 (rint_upward_test_data): New variable.
25316 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25317 (round_test_data): New variable.
25318 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25319 (sin_test_data): New variable.
25320 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25321 (sin_tonearest_test_data): New variable.
25322 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25323 (sin_towardzero_test_data): New variable.
25324 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25325 (sin_downward_test_data): New variable.
25326 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25327 (sin_upward_test_data): New variable.
25328 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25329 (sinh_test_data): New variable.
25330 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25331 (sinh_tonearest_test_data): New variable.
25332 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25333 (sinh_towardzero_test_data): New variable.
25334 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25335 (sinh_downward_test_data): New variable.
25336 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25337 (sinh_upward_test_data): New variable.
25338 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25339 (sqrt_test_data): New variable.
25340 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25341 (tan_test_data): New variable.
25342 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25343 (tan_tonearest_test_data): New variable.
25344 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25345 (tan_towardzero_test_data): New variable.
25346 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25347 (tan_downward_test_data): New variable.
25348 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25349 (tan_upward_test_data): New variable.
25350 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25351 (tanh_test_data): New variable.
25352 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25353 (tgamma_test_data): New variable.
25354 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25355 (trunc_test_data): New variable.
25356 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25357 (y0_test_data): New variable.
25358 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25359 (y1_test_data): New variable.
25360 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25361 (significand_test_data): New variable.
25362 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25364 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25367 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25369 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25371 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25373 2013-05-10 Andreas Jaeger <aj@suse.de>
25376 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25377 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25379 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25381 * math/gen-libm-test.pl (adjust_arg): New function.
25382 (special_functions): Handle generating output in both functions
25384 (parse_args): Likewise.
25385 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25386 $in_func argument to parse_args.
25387 * math/libm-test.inc (struct test_f_f_data): New type.
25388 (IF_ROUND_INIT_): New macro.
25389 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25390 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25391 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25392 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25393 (ROUND_RESTORE_): Likewise.
25394 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25395 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25396 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25397 (ROUND_RESTORE_FE_UPWARD): Likewise.
25398 (RUN_TEST_LOOP_f_f): New macro.
25399 (acos_test_data): New variable.
25400 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25401 (acos_tonearest_test_data): New variable.
25402 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25404 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25406 * benchtests/bench-skeleton.c (startup): Fix coding style.
25408 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25411 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25412 negative infinity argument.
25413 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25414 negative infinity argument.
25415 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25416 negative infinity argument.
25417 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25420 2013-05-10 Florian Weimer <fweimer@redhat.com>
25422 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25423 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25424 * iconv/iconv_prog.c (main): Likewise.
25425 * locale/programs/charmap-dir.c (charmap_readdir)
25426 (fopen_uncompressed): Likewise.
25427 * locale/programs/locfile.c (siblings_uncached)
25428 (write_locale_data): Use lstat64 instead of lstat.
25429 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25432 2013-05-10 Andreas Jaeger <aj@suse.de>
25435 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25437 Include <locale.h>.
25439 2013-05-09 Carlos O'Donell <carlos@redhat.com>
25441 * elf/dl-close.c (_dl_close_worker): Add comments.
25443 2013-05-09 Joseph Myers <joseph@codesourcery.com>
25446 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25448 (__ieee754_rem_pio2l): Update comments.
25451 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25453 (__ieee754_rem_pio2l): Update comments.
25455 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25456 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25458 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25461 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25462 (M_PI_34_LOG10El): Likewise.
25463 (M_PI2_LOG10El): Likewise.
25464 (M_PI4_LOG10El): Likewise.
25465 (M_PI_LOG10El): Likewise.
25467 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25471 2013-05-08 Joseph Myers <joseph@codesourcery.com>
25473 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25474 (MINUS_ZERO_INIT): Likewise.
25475 (PLUS_INFTY_INIT): Likewise.
25476 (MINUS_INFTY_INIT): Likewise.
25477 (QNAN_VALUE_INIT): Likewise.
25478 (MAX_VALUE_INIT): Likewise.
25479 (MIN_VALUE_INIT): Likewise.
25480 (MIN_SUBNORM_VALUE_INIT): Likewise.
25481 (plus_zero): Initialize with PLUS_ZERO_INIT.
25482 (minus_zero): Initialize with MINUS_ZERO_INIT.
25483 (plus_infty): Initialize with PLUS_INFTY_INIT.
25484 (minus_infty): Initialize with MINUS_INFTY_INIT.
25485 (qnan_value): Initialize with QNAN_VALUE_INIT.
25486 (max_value): Initialize with MAX_VALUE_INIT.
25487 (min_value): Initialize with MIN_VALUE_INIT.
25488 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25490 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25491 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25492 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25493 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25495 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25496 (RUN_TEST_2_f): Likewise.
25497 (RUN_TEST_ff_f): Likewise.
25498 (RUN_TEST_fi_f): Likewise.
25499 (RUN_TEST_fl_f): Likewise.
25500 (RUN_TEST_fff_f): Likewise.
25501 (RUN_TEST_c_f): Likewise.
25502 (RUN_TEST_f_f1): Likewise.
25503 (RUN_TEST_fF_f1): Likewise.
25504 (RUN_TEST_fI_f1): Likewise.
25505 (RUN_TEST_ffI_f1): Likewise.
25506 (RUN_TEST_c_c): Likewise.
25507 (RUN_TEST_cc_c): Likewise.
25508 (RUN_TEST_f_i): Likewise.
25509 (RUN_TEST_f_i_tg): Likewise.
25510 (RUN_TEST_ff_i_tg): Likewise.
25511 (RUN_TEST_f_b): Likewise.
25512 (RUN_TEST_f_b_tg): Likewise.
25513 (RUN_TEST_f_l): Likewise.
25514 (RUN_TEST_f_L): Likewise.
25515 (RUN_TEST_sincos): Likewise.
25516 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25517 whether to show exceptions. Do not include ");\n" in return
25519 (special_functions): Output call to RUN_TEST_sincos instead of
25520 check_float calls. Update calls to new_test.
25521 (parse_args): Output call to single RUN_TEST_* macro instead of
25522 check_* calls and other assignments. Update calls to new_test.
25528 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25529 input to result for tgamma overflow.
25530 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25531 (gamma_coeff): New variable.
25532 (NCOEFF): New macro.
25533 (gamma_positive): New function.
25534 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25535 underflow here. Use gamma_positive instead of exp (lgamma) for
25537 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25538 (gamma_coeff): New variable.
25539 (NCOEFF): New macro.
25540 (gammaf_positive): New function.
25541 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25542 underflow here. Use gamma_positive instead of exp (lgamma) for
25544 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25545 (gamma_coeff): New variable.
25546 (NCOEFF): New macro.
25547 (gammal_positive): New function.
25548 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25549 underflow here. Use gamma_positive instead of exp (lgamma) for
25551 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25552 (gamma_coeff): New variable.
25553 (NCOEFF): New macro.
25554 (gammal_positive): New function.
25555 (__ieee754_gammal_r): Handle positive infinity, overflow and
25556 underflow here. Handle NaN the same as positive infinity. Remove
25557 check x < 0xffffffff for negative integers. Use gamma_positive
25558 instead of exp (lgamma) for other arguments.
25559 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25560 (gamma_coeff): New variable.
25561 (NCOEFF): New macro.
25562 (gammal_positive): New function.
25563 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25564 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25565 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25567 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25568 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25569 * sysdeps/generic/math_private.h (__gamma_productf): New
25571 (__gamma_product): Likewise.
25572 (__gamma_productl): Likewise.
25573 * math/Makefile (libm-calls): Add gamma_product.
25574 * math/libm-test.inc (tgamma_test): Add more tests.
25575 * sysdeps/i386/fpu/libm-test-ulps: Update.
25576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25578 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
25580 * benchtests/bench-skeleton.c (main): Preheat CPU.
25582 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25584 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25586 2013-05-07 Roland McGrath <roland@hack.frob.com>
25588 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25589 and _dl_skip_args_internal.
25591 2013-05-07 Carlos O'Donell <carlos@redhat.com>
25593 * manual/message.texi (Message Translation): Talk about users.
25594 Message to key mapping impacts design.
25596 2013-05-06 Roland McGrath <roland@hack.frob.com>
25598 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25600 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25602 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25603 * sysdeps/wordsize-64/glob64.c: ... here.
25605 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25606 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25609 * debug/getlogin_r_chk.c: Moved to ...
25610 * login/getlogin_r_chk.c: ... here.
25611 * debug/Makefile (routines): Move getlogin_r_chk to ...
25612 * login/Makefile (routines): ... here.
25613 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25614 * login/Versions (libc: GLIBC_2.4): ... here.
25616 * io/poll.c (__poll): Renamed from poll.
25617 Add libc_hidden_def.
25618 (poll): Define as weak alias.
25620 * debug/ptsname_r_chk.c: Moved to ...
25621 * login/ptsname_r_chk.c: ... here.
25622 * debug/Makefile (routines): Move ptsname_r_chk to ...
25623 * login/Makefile (routines): ... here.
25624 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25625 * login/Versions (libc: GLIBC_2.4): ... here.
25627 * posix/getlogin.c: Moved to ...
25628 * login/getlogin.c: ... here.
25629 * posix/getlogin_r.c: Moved to ...
25630 * login/getlogin_r.c: ... here.
25631 * posix/getlogin_r.c: Moved to ...
25632 * login/getlogin_r.c: ... here.
25633 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25634 * login/Makefile (routines): ... here.
25635 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25636 * login/Versions (libc: GLIBC_2.0): ... here.
25638 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25639 (setrlimit): Define as weak alias.
25641 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25642 Call __ names for open, ftruncate, and close.
25643 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25644 (truncate): Define as weak alias.
25646 2013-05-06 Joseph Myers <joseph@codesourcery.com>
25648 * math/gen-libm-test.pl (parse_args): Initialize x before each
25649 test of frexp, modf and remquo.
25651 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25652 test signgam value.
25654 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25658 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25660 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25662 2013-05-06 Roland McGrath <roland@hack.frob.com>
25664 * elf/dl-writev.h: New file.
25665 * elf/dl-misc.c: Include it.
25666 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25667 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25669 2013-05-04 Joseph Myers <joseph@codesourcery.com>
25671 * math/libm-test.inc (noXFails): Remove variable.
25672 (noXPasses): Likewise.
25673 (BUILD_COMPLEX_INT): Remove macro.
25674 (print_screen): Remove xfail argument.
25675 (print_screen_max_error): Likewise.
25676 (update_stats): Likewise.
25677 (print_max_error): Likewise. Update calls to other affected
25679 (print_complex_max_error): Likewise.
25680 (test_single_exception): Update calls to print_screen.
25681 (test_single_errno): Likewise.
25682 (check_float_internal): Remove xfail argument. Update calls to
25683 other affected functions.
25684 (check_float): Likewise.
25685 (check_complex): Likewise.
25686 (check_int): Likewise.
25687 (check_long): Likewise.
25688 (check_bool): Likewise.
25689 (check_longlong): Likewise.
25690 (main): Don't print noXFails and noXPasses.
25691 * math/gen-libm-test.pl (top level): Don't mention expected
25692 failure handling in comment.
25693 (new_test): Don't handle expected failures.
25694 (parse_args): Don't mention expected failure handling in comment.
25695 (generate_testfile): Don't handle expected failures.
25696 (parse_ulps): Likewise.
25697 (print_ulps_file): Likewise.
25698 (get_failure): Remove function.
25699 (output_test): Don't handle expected failures.
25700 * make/README.libm-test: Don't mention expected failure handling.
25702 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25703 (minus_zero): Likewise.
25704 (plus_infty): Likewise.
25705 (minus_infty): Likewise.
25706 (qnan_value): Likewise.
25707 (max_value): Likewise.
25708 (min_value): Likewise.
25709 (min_subnorm_value): Likewise.
25710 (initialize): Do not initialize those variables dynamically.
25712 2013-05-03 Roland McGrath <roland@hack.frob.com>
25714 * io/open.c (__open_2): Moved to ...
25715 * io/open_2.c: ... this new file.
25716 * io/open64.c (__open64_2): Moved to ...
25717 * io/open64_2.c: ... this new file.
25718 * io/openat.c (__openat_2): Moved to ...
25719 * io/openat_2.c: ... this new file.
25720 * io/openat64.c (__openat64_2): Moved to ...
25721 * io/openat64_2.c: ... this new file.
25722 * io/Makefile (routines): Add them.
25723 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25724 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25725 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25726 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25727 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25728 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25729 (__openat64): Add hidden_ver.
25730 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25731 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25733 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25734 Separately conditionalize setting of GLRO(dl_sysinfo) so
25735 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25736 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25738 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25740 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25741 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25743 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25744 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25745 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25746 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25747 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25749 2013-05-03 Joseph Myers <joseph@codesourcery.com>
25751 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25752 test signgam value.
25754 * math/libm-test.inc (hypot_test): Do not use
25755 IGNORE_ZERO_INF_SIGN.
25757 2013-05-03 Andreas Jaeger <aj@suse.de>
25759 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25761 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25762 (PF_MAX): Adjust for VSOCK change.
25764 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25768 2013-05-02 Carlos O'Donell <carlos@redhat.com>
25771 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25772 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25773 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25775 2013-05-02 David S. Miller <davem@davemloft.net>
25777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25779 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
25781 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25783 2013-05-01 Roland McGrath <roland@hack.frob.com>
25785 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25787 2013-05-01 Richard Smith <richard@metafoo.co.uk>
25790 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25791 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25792 Use __attribute__ ((__gnu_inline__)).
25793 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25794 Don't use __attribute__ ((__gnu_inline__)).
25796 2013-05-01 Joseph Myers <joseph@codesourcery.com>
25799 * math/s_catan.c (__catan): Handle small real or imaginary part of
25800 input specially to avoid spurious underflow.
25801 * math/s_catanf.c (__catanf): Likewise.
25802 * math/s_catanh.c (__catanh): Likewise.
25803 * math/s_catanhf.c (__catanhf): Likewise.
25804 * math/s_catanhl.c (__catanhl): Likewise.
25805 * math/s_catanl.c (__catanl): Likewise.
25806 * math/libm-test.inc (catan_test): Add more tests.
25807 (catanh_test): Likewise.
25808 * sysdeps/i386/fpu/libm-test-ulps: Update.
25809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25811 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25815 2013-04-30 Joseph Myers <joseph@codesourcery.com>
25818 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25819 accurately for denominator in atan2.
25820 * math/s_catanf.c (__catanf): Likewise.
25821 * math/s_catanh.c (__catanh): Likewise.
25822 * math/s_catanhf.c (__catanhf): Likewise.
25823 * math/s_catanhl.c (__catanhl): Likewise.
25824 * math/s_catanl.c (__catanl): Likewise.
25825 * math/libm-test.inc (catan_test): Add more tests.
25826 (catanh_test): Likewise.
25827 * sysdeps/i386/fpu/libm-test-ulps: Update.
25828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25830 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25832 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25834 * benchtests/Makefile (bench): Remove slow benchmarks.
25835 * benchtests/atan-inputs: Add slow benchmark inputs.
25836 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25837 (BENCH_FUNC): Accept variant offset.
25839 * benchtests/bench-skeleton.c (main): Run benchmark for each
25841 * benchtests/cos-inputs: Add slow benchmark inputs.
25842 * benchtests/exp-inputs: Likewise.
25843 * benchtests/pow-inputs: Likewise.
25844 * benchtests/sin-inputs: Likewise.
25845 * benchtests/slowatan-inputs: Remove.
25846 * benchtests/slowatan.c: Remove.
25847 * benchtests/slowcos-inputs: Remove.
25848 * benchtests/slowcos.c: Remove.
25849 * benchtests/slowexp-inputs: Remove.
25850 * benchtests/slowexp.c: Remove.
25851 * benchtests/slowpow-inputs: Remove.
25852 * benchtests/slowpow.c: Remove.
25853 * benchtests/slowsin-inputs: Remove.
25854 * benchtests/slowsin.c: Remove.
25855 * benchtests/slowtan-inputs: Remove.
25856 * benchtests/slowtan.c: Remove.
25857 * benchtests/tan-inputs: Add slow benchmark inputs.
25858 * scripts/bench.pl: Parse comments and directives.
25860 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25862 ($(objpfx)bench-%.c): Remove *-ITER.
25863 * benchtests/bench-modf.c: Remove definition of ITER.
25864 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25865 (main): Loop for DURATION seconds instead of fixed number of
25867 * scripts/bench.pl: Don't expect iterations in parameters.
25869 2013-04-29 Roland McGrath <roland@hack.frob.com>
25871 * io/fchdir.c (__fchdir): Renamed from fchdir.
25872 (fchdir): Define as weak alias.
25874 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25876 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25877 (ERRNO_EDOM): Likewise.
25878 (ERRNO_ERANGE): Likewise.
25879 (noErrnoTests): New variable.
25880 (init_max_error): Set errno to 0.
25881 (test_single_errno): New function.
25882 (test_errno): Likewise.
25883 (check_float_internal): Call test_errno. Set errno to 0.
25884 (check_complex): Refer to errno tests in comment.
25885 (check_int): Call test_errno. Set errno to 0.
25886 (check_long): Likewise.
25887 (check_bool): Likewise.
25888 (check_longlong): Likewise.
25889 (cos_test): Use ERRNO_* flags for errno tests instead of
25891 (expm1_test): Likewise.
25892 (fmod_test): Likewise.
25893 (ilogb_test): Likewise.
25894 (lgamma_test): Likewise.
25895 (pow_test): Likewise.
25896 (remainder_test): Likewise.
25897 (sin_test): Likewise.
25898 (tan_test): Likewise.
25899 (yn_test): Likewise.
25900 (initialize): Set errno to 0.
25901 (main): Print number of errno tests.
25902 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25904 2013-04-29 Andreas Jaeger <aj@suse.de>
25907 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25911 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25912 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25916 * stdlib/random.c (__initstate): Return NULL if
25920 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25921 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25924 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25928 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25930 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25931 of individual tests.
25932 (casin_test): Likewise.
25933 (casinh_test): Likewise.
25935 2013-04-27 Joseph Myers <joseph@codesourcery.com>
25938 * math/s_catan.c (__catan): Handle arguments with large real or
25939 imaginary part separately without squaring.
25940 * math/s_catanf.c (__catanf): Likewise.
25941 * math/s_catanh.c (__catanh): Likewise.
25942 * math/s_catanhf.c (__catanhf): Likewise.
25943 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25945 (__catanhl): Handle arguments with large real or imaginary part
25946 separately without squaring.
25947 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25949 (__catanl): Handle arguments with large real or imaginary part
25950 separately without squaring.
25951 * math/libm-test.inc (catan_test): Add more tests.
25952 (catanh_test): Likewise.
25953 * sysdeps/i386/fpu/libm-test-ulps: Update.
25954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25956 2013-04-27 Andreas Jaeger <aj@suse.de>
25959 * stdlib/stdlib.h: Update guards for qecvt.
25960 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25963 2013-04-27 Allan McRae <allan@archlinux.org>
25965 * sysdeps/i386/fpu/libm-test-ulps: Update.
25967 2013-04-26 Joseph Myers <joseph@codesourcery.com>
25970 * math/s_catan.c: Include <float.h>.
25971 (__catan): Ensure underflow exception occurs for underflowed
25973 * math/s_catanf.c: Include <float.h>.
25974 (__catanf): Ensure underflow exception occurs for underflowed
25976 * math/s_catanh.c: Include <float.h>.
25977 (__catanh): Ensure underflow exception occurs for underflowed
25979 * math/s_catanhf.c: Include <float.h>.
25980 (__catanhf): Ensure underflow exception occurs for underflowed
25982 * math/s_catanhl.c: Include <float.h>.
25983 (__catanhl): Ensure underflow exception occurs for underflowed
25985 * math/s_catanl.c: Include <float.h>.
25986 (__catanl): Ensure underflow exception occurs for underflowed
25988 * math/libm-test.inc (catan_test): Add more tests.
25989 (catanh_test): Likewise.
25992 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25993 underflowed result.
25994 * math/s_ccoshf.c (__ccoshf): Likewise.
25995 * math/s_ccoshl.c (__ccoshl): Likewise.
25996 * math/s_csin.c (__csin): Likewise.
25997 * math/s_csinf.c (__csinf): Likewise.
25998 * math/s_csinh.c (__csinh): Likewise.
25999 * math/s_csinhf.c (__csinhf): Likewise.
26000 * math/s_csinhl.c (__csinhl): Likewise.
26001 * math/s_csinl.c (__csinl): Likewise.
26002 * math/libm-test.inc (ccos_test): Add more tests.
26003 (ccosh_test): Likewise.
26004 (csin_test): Likewise.
26005 (csinh_test): Likewise.
26007 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26009 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26010 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26011 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26012 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26013 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26014 powerpc/power5+/fpu folders.
26015 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26018 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26022 2013-04-25 Joseph Myers <joseph@codesourcery.com>
26024 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26025 additions to variable.
26026 [$(config-machine) = x86_64] (modules-names): Likewise.
26027 ($(objpfx)tst-audit3): Remove dependency.
26028 ($(objpfx)tst-audit3.out): Likewise.
26029 ($(objpfx)tst-audit4): Likewise.
26030 ($(objpfx)tst-audit4.out): Likewise.
26031 ($(objpfx)tst-audit5): Likewise.
26032 ($(objpfx)tst-audit5.out): Likewise.
26033 ($(objpfx)tst-audit6): Likewise.
26034 ($(objpfx)tst-audit6.out): Likewise.
26035 ($(objpfx)tst-audit7): Likewise.
26036 ($(objpfx)tst-audit7.out): Likewise.
26037 (tst-audit3-ENV): Remove variable.
26038 (tst-audit4-ENV): Likewise.
26039 (tst-audit5-ENV): Likewise.
26040 (tst-audit6-ENV): Likewise.
26041 (tst-audit7-ENV): Likewise.
26042 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26043 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26044 addition to variable.
26045 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26046 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26047 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26048 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26049 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26050 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26051 tst-audit3, tst-audit4 and tst-audit5.
26052 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26053 tst-audit6 and tst-audit7.
26054 [$(subdir) = elf] (modules-names): Add audit modules for those
26056 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26057 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26058 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26059 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26060 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26061 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26062 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26063 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26064 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26065 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26066 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26067 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26068 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26069 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26070 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26071 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26073 [$(subdir) = elf && $(config-cflags-avx) = yes]
26074 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26075 [$(subdir) = elf && $(config-cflags-avx) = yes]
26076 (CFLAGS-tst-auditmod4a.c): Likewise.
26077 [$(subdir) = elf && $(config-cflags-avx) = yes]
26078 (CFLAGS-tst-auditmod4b.c): Likewise.
26079 [$(subdir) = elf && $(config-cflags-avx) = yes]
26080 (CFLAGS-tst-auditmod6b.c): Likewise.
26081 [$(subdir) = elf && $(config-cflags-avx) = yes]
26082 (CFLAGS-tst-auditmod6c.c): Likewise.
26083 [$(subdir) = elf && $(config-cflags-avx) = yes]
26084 (CFLAGS-tst-auditmod7b.c): Likewise.
26085 * elf/tst-audit3.c: Move to ...
26086 * sysdeps/x86_64/tst-audit3.c: ... here.
26087 * elf/tst-audit4.c: Move to ...
26088 * sysdeps/x86_64/tst-audit4.c: ... here.
26089 * elf/tst-audit5.c: Move to ...
26090 * sysdeps/x86_64/tst-audit5.c: ... here.
26091 * elf/tst-audit6.c: Move to ...
26092 * sysdeps/x86_64/tst-audit6.c: ... here.
26093 * elf/tst-audit7.c: Move to ...
26094 * sysdeps/x86_64/tst-audit7.c: ... here.
26095 * elf/tst-auditmod3a.c: Move to ...
26096 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26097 * elf/tst-auditmod3b.c: Move to ...
26098 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26099 * elf/tst-auditmod4a.c: Move to ...
26100 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26101 * elf/tst-auditmod4b.c: Move to ...
26102 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26103 * elf/tst-auditmod5a.c: Move to ...
26104 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26105 * elf/tst-auditmod5b.c: Move to ...
26106 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26107 * elf/tst-auditmod6a.c: Move to ...
26108 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26109 * elf/tst-auditmod6b.c: Move to ...
26110 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26111 * elf/tst-auditmod6c.c: Move to ...
26112 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26113 * elf/tst-auditmod7a.c: Move to ...
26114 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26115 * elf/tst-auditmod7b.c: Move to ...
26116 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26118 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26121 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26122 define unconditionally.
26123 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26124 define unconditionally.
26125 (INT8_C, INT16_C, etc.): Likewise.
26127 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26129 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26130 __ehdr_start with hidden visibility.
26132 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26134 2013-04-24 Carlos O'Donell <carlos@redhat.com>
26136 * math/libm-test.inc (cos_test): Use accurate hex constants.
26137 (sincost_test): Likewise.
26139 2013-04-24 Joseph Myers <joseph@codesourcery.com>
26141 * math/libm-test.inc (catan_test): Add more tests.
26142 (catanh_test): Likewise.
26144 * math/s_catanf.c (__catanf): Use suffixed floating-point
26146 * math/s_catanhf.c (__catanhf): Likewise.
26147 * math/s_catanhl.c (__catanhl): Likewise.
26148 * math/s_catanl.c (__catanl): Likewise.
26151 * math/s_catan.c (__catan): Calculate imaginary part of result
26152 with log1p not log unless computing log of number close to 0.
26153 * math/s_catanf.c (__catanf): Likewise.
26154 * math/s_catanl.c (__catanl): Likewise.
26155 * math/s_catanh.c (__catanh): Calculate real part of result with
26156 log1p not log unless computing log of number close to 0.
26157 * math/s_catanhf.c (__catanhf): Likewise.
26158 * math/s_catanhl.c (__catanhl): Likewise.
26159 * math/libm-test.inc (catan_test): Add more tests.
26160 (catanh_test): Likewise.
26161 * sysdeps/i386/fpu/libm-test-ulps: Update.
26162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26164 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26166 * benchtests/Makefile: Mention files in which fast and slow
26167 paths of math functions are implemented.
26169 2013-04-23 Roland McGrath <roland@hack.frob.com>
26171 * sysdeps/posix/timespec_get.c: New file.
26173 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26175 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26177 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26179 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26180 powerpc/power5/fpu folders.
26181 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26182 * benchtests/Makefile: Add modf testcase.
26183 * benchtests/bench-modf.c: New file: Benchmark test for mo
26185 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26188 * time/Makefile (tests): Add tst-strptime-whitespace.
26189 * time/strptime_l.c (get_number): Use ISSPACE.
26190 (__strptime_internal): Likewise.
26191 * time/tst-strptime-whitespace.c: New test case.
26193 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26195 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26197 (_nss_files_init): Set it here.
26199 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26201 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26202 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26205 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26207 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26209 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26211 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26214 2013-04-21 David S. Miller <davem@davemloft.net>
26216 * po/ru.po: Update Russion translation from translation project.
26218 2013-04-17 Adam Conrad <adconrad@0c3.net>
26220 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26223 2013-04-17 Carlos O'Donell <carlos@redhat.com>
26225 * configure.in: Remove i386 configure warning. Remove i386 case.
26226 * configure: Regenerate.
26227 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26228 Add example to error message.
26229 * sysdeps/i386/configure: Regenerate.
26231 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26233 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26235 * benchtests/cos-inputs: New file.
26236 * benchtests/slowcos-inputs: New file.
26237 * benchtests/slowcos.c: New file.
26238 * benchtests/slowtan-inputs: New file.
26239 * benchtests/slowtan.c: New file.
26240 * benchtests/tan-inputs: New file.
26242 2013-04-16 Roland McGrath <roland@hack.frob.com>
26244 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26247 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26249 * benchtests/Makefile: Include cppflags-iterator.mk to add
26250 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26252 * Makefile.in (bench-clean): New target.
26253 * benchtests/Makefile (bench-clean): Likewise.
26255 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26257 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26259 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26261 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26263 2013-04-15 Andreas Schwab <schwab@suse.de>
26265 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26266 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26267 * nscd/pwdcache.c (cache_addpw): Likewise.
26268 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26271 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26273 * benchtests/Makefile (bench): Write all output to
26274 bench-out.tmp together.
26276 2013-04-15 Andreas Schwab <schwab@suse.de>
26278 * nscd/nscd.c (main): Don't fork again after closing files.
26280 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26282 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26284 * benchtests/Rules (bench-deps): Collect dependencies into a
26285 single variable. Add Makefile to dependencies.
26286 ($(objpfx)bench-%.c): Depend on bench-deps.
26288 2013-04-12 Roland McGrath <roland@hack.frob.com>
26289 Xavier Roche <roche+kml2@exalead.com>
26292 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26293 just that it's a file descriptor.
26294 * manual/llio.texi (Synchronizing AIO Operations): Update description
26295 for EBADF error from aio_fsync.
26297 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26299 * Rules (bench): Move target definition...
26300 * benchtests/Makefile: ... here.
26302 2013-04-11 Carlos O'Donell <carlos@redhat.com>
26304 * math/libm-test.inc (cos_test): Fix PI/2 test.
26305 (sincos_test): Likewise.
26306 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26307 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26309 2013-04-11 Andreas Schwab <schwab@suse.de>
26312 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26313 accept exponent character only when digits were seen.
26314 * stdio-common/Makefile (tests): Add bug26.
26315 * stdio-common/bug26.c: New file.
26318 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26321 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26323 * Makeconfig (rtld-prefix): Define built linker prefix.
26324 * Rules (run-bench): Use it.
26325 * math/Makefile (run-regen-ulps): Likewise.
26327 * Rules (bench): Remove eval.
26329 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26330 Roland McGrath <roland@hack.frob.com>
26331 Ondrej Bilka <neleai@seznam.cz>
26334 * time/getdate.c: Include ctype.h and alloca.h.
26335 (__getdate_r): Trim leading and trailing spaces of input.
26336 * time/tst-getdate.c (tests): Add tests with leading and
26339 2013-04-08 Roland McGrath <roland@hack.frob.com>
26342 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26343 when computing value.
26345 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26347 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26348 Use testrun.sh to run libm tests.
26351 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26353 2013-04-06 Marko Myllynen <myllynen@redhat.com>
26356 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26358 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26360 * Makefile.in (regen-ulps): New target.
26361 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26362 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26363 [ifneq (no,$(PERL)] (regen-ulps): New target.
26364 [ifeq (no,$(PERL)] (regen-ulps): New target.
26365 * math/libm-test.inc (ulps_file_name): Define.
26366 (output_dir): New variable.
26367 (options): Add "output-dir" option.
26368 (parse_opt): Handle 'o' case.
26369 (main): If output_dir is non-NULL use it as a prefix
26371 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26373 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26375 [BZ #10060, #10062]
26376 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26377 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26378 fail configure if __sync_val_compare_and_swap is not inlined.
26379 * sysdeps/i386/configure: Regenerate.
26380 * configure.in: Build for i686 when configured for i386.
26381 * configure: Regenerate.
26382 * README: Remove i386 reference.
26384 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26386 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26387 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26389 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26391 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26392 (lmsnanval): New variables.
26393 (F): Add conversion tests.
26394 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26395 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26397 * stdio-common/tstdiomisc.c (F): Properly collect individual
26400 [BZ #14686, #15336]
26401 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26402 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26403 Instead, use input NaN values or generate a qNaN by arithmetic
26404 operation. Also fix bugs to comply with the standard.
26405 * math/libm-test.inc (remainder_test): Add more tests.
26407 [BZ #15335, #15342]
26408 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26409 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26410 input NaN values or generate a qNaN by arithmetic operation.
26412 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26415 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26418 2013-04-03 Joseph Myers <joseph@codesourcery.com>
26421 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26422 underflowed result.
26423 * math/s_cexpf.c (__cexpf): Likewise.
26424 * math/s_cexpl.c (__cexpl): Likewise.
26425 * math/libm-test.inc (cexp_test): Add more tests.
26427 2013-04-03 Andreas Schwab <schwab@suse.de>
26430 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26431 order arrays from heap if bigger than alloca cutoff.
26433 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26435 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26436 (SNAN_TESTS_double): Refer to GCC PR56831.
26437 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26440 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26442 * Rules (bench): Move bench.out after the run is complete.
26444 * Rules (bench): Echo currently running benchmark.
26446 * benchtests/Makefile (bench): Add atan and slowatan.
26447 * benchtests/atan-inputs: New file.
26448 * benchtests/slowatan-inputs: New file.
26449 * benchtests/slowatan.c: New file.
26451 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26452 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26456 * sysdeps/unix/sysv/linux/kernel-features.h
26457 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26458 __ASSUME_XFS_RESTRICTED_CHOWN.
26459 * sysdeps/unix/sysv/linux/pathconf.c
26460 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26461 Save and restore errno.
26463 2013-04-02 Joseph Myers <joseph@codesourcery.com>
26466 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26467 arguments using __kernel_casinh.
26468 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26469 arguments using __kernel_casinhf.
26470 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26471 arguments using __kernel_casinhl.
26472 * math/libm-test.inc (cacosh_test): Add more tests.
26473 * sysdeps/i386/fpu/libm-test-ulps: Update.
26474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26476 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26478 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26481 * bench/Makefile (bench): Add sin and slowsin.
26482 * benchtests/sin-inputs: New file.
26483 * benchtests/slowsin-inputs: New file.
26484 * benchtests/slowsin.c: New file.
26486 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26487 (bench): Add slowexp and slowpow.
26488 (exp-ITER): Increase iterations.
26489 (pow-ITER): Likewise.
26490 * benchtests/exp-inputs: Change input.
26491 * benchtests/pow-inputs: Likewise.
26492 * benchtests/slowexp-inputs: New file.
26493 * benchtests/slowexp.c: New file.
26494 * benchtests/slowpow-inputs: New file.
26495 * benchtests/slowpow.c: New file.
26497 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26499 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26501 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26502 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26503 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26504 * benchtests/Makefile: Add rint benchtest.
26505 * benchtests/rint-inputs: Input for rint benchtest.
26507 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26509 * Versions.def (libm): Add GLIBC_2.18.
26510 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26511 hidden libm prototypes.
26512 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26513 * math/Makefile (libm-calls): Add s_issignaling.
26514 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26515 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26516 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26518 * math/math.h [__USE_GNU] (issignaling): New macro.
26519 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26520 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26521 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26522 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26523 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26524 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26525 * manual/arith.texi (issignaling): New section.
26526 * manual/libm-err-tab.pl (@all_functions): Update comment.
26527 * math/gen-libm-test.pl (parse_args): Apply special handling for
26529 * math/libm-test.inc (print_float, issignaling_test): New
26531 (check_float_internal): Add issignaling checks.
26532 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26533 default definition.
26534 * sysdeps/powerpc/math-tests.h: New file.
26535 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26537 * math/test-snan.c (TEST_FUNC): Likewise.
26539 2013-03-30 David S. Miller <davem@davemloft.net>
26541 * po/de.po: Update from translation team.
26543 2013-03-30 Joseph Myers <joseph@codesourcery.com>
26546 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26547 imaginary part less than 1.0 and real part less than 0.5
26549 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26550 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26551 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26552 (cacos_test): Add more tests.
26553 (casin_test): Likewise.
26554 (casinh_test): Likewise.
26555 * sysdeps/i386/fpu/libm-test-ulps: Update.
26556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26558 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26560 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26561 ONE with its value.
26563 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26564 (__pow_mp): Replace ONE and MONE with their values.
26565 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26566 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26567 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26568 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26569 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26570 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26572 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26574 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26575 (__pow_mp): Replace ZERO and MZERO with their values.
26576 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26577 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26578 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26580 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26581 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26584 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26586 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26588 2013-03-28 Roland McGrath <roland@hack.frob.com>
26590 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26591 Declare with __attribute__ ((weak)).
26592 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26593 Call __call_tls_dtors only if it's not NULL.
26595 2013-03-28 Roland McGrath <roland@hack.frob.com>
26597 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26598 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26599 magic __ehdr_start linker symbol if it's defined.
26600 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26601 them up here if it was already done.
26603 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26604 (_dl_aux_init): Use const in cast when setting it.
26605 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26606 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26607 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26609 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26611 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26612 * csu/libc-tls.c: Nor here.
26613 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26615 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26616 (__libc_message): Never call vsyslog.
26618 2013-03-28 Alan Modra <amodra@gmail.com>
26620 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26622 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26625 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26628 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26632 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26635 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26636 Don't add gid passed as argument.
26638 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26640 2013-03-27 Joseph Myers <joseph@codesourcery.com>
26643 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26644 imaginary part between 1.0 and 1.5 and real part less than 0.5
26646 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26647 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26648 * math/libm-test.inc (cacos_test): Add more tests.
26649 (casin_test): Likewise.
26650 (casinh_test): Likewise.
26651 * sysdeps/i386/fpu/libm-test-ulps: Update.
26652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26654 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26656 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26659 (denorm): Likewise.
26660 (__dbl_mp): Likewise.
26661 (add_magnitudes): Likewise.
26662 (sub_magnitudes): Likewise.
26670 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26672 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26673 (__dubcos): Likewise.
26674 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26675 (__ieee754_acos): Likewise.
26676 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26677 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26678 (__exp1): Likewise.
26679 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26680 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26682 (my_log2): Likewise.
26683 (checkint): Likewise.
26684 * sysdeps/ieee754/dbl-64/e_remainder.c
26685 (__ieee754_remainder): Likewise.
26686 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26687 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26688 (bsloww): Likewise.
26689 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26691 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26692 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26693 MANTISSA_STORE_T to store computations on mantissa. Use
26694 macros for rounding and division.
26695 (denorm): Likewise.
26696 (__dbl_mp): Likewise.
26697 (add_magnitudes): Likewise.
26698 (sub_magnitudes): Likewise.
26701 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26702 powers of two in terms of TWOPOW macro.
26703 (mp_no): Make type of mantissa as MANTISSA_T.
26704 [!RADIXI]: Define RADIXI.
26705 [!TWO52]: Define TWO52.
26706 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26708 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26710 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26711 llroundl symbol when building for PPC32.
26713 2013-03-24 Mark H Weaver <mhw@netris.org>
26715 * manual/arith.texi (Normalization Functions): Fix prototypes for
26716 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26718 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26721 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26722 high value to check if expl overflow.
26723 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26724 to check for underflow and overflow.
26725 * math/libm-test.inc: Add exp test.
26727 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26730 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26733 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26735 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26738 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26740 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26741 wrap blocks consisting of several statements.
26743 * sysdeps/generic/math-tests.h: New file.
26744 * sysdeps/i386/fpu/math-tests.h: Likewise.
26745 * math/test-snan.c: Include it.
26746 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26748 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26751 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26752 (__ieee754_j0l): Do not improve calculations using cos of twice
26753 input for inputs above LDBL_MAX / 2.0L.
26754 (__ieee754_y0l): Likewise.
26755 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26756 (__ieee754_j1l): Do not improve calculations using cos of twice
26757 input for inputs above LDBL_MAX / 2.0L.
26758 (__ieee754_y1l): Likewise.
26759 * math/libm-test.inc (j0_test): Add another test.
26760 (j1_test): Likewise.
26761 (y0_test): Likewise.
26762 (y1_test): Likewise.
26763 * sysdeps/i386/fpu/libm-test-ulps: Update.
26765 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26767 * Rules ($(objpfx)bench-%.c): Include code from a C source
26770 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26773 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26774 imaginary part 1.0 and real part less than 0.5 specially.
26775 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26776 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26777 * math/libm-test.inc (cacos_test): Add more tests.
26778 (casin_test): Likewise.
26779 (casinh_test): Likewise.
26780 * sysdeps/i386/fpu/libm-test-ulps: Update.
26781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26783 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26785 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26786 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26788 2013-03-20 Joseph Myers <joseph@codesourcery.com>
26790 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26791 * config.make.in (config-cflags-sse4): Remove variable.
26792 (config-cflags-avx): Likewise.
26793 (config-cflags-sse2avx): Likewise.
26794 (config-cflags-novzeroupper): Likewise.
26795 (config-asflags-i686): Likewise.
26796 (have-mfma4): Likewise.
26797 (have-as-vis3): Likewise.
26799 * configure.in (MIG): Do not AC_SUBST.
26800 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26801 (libc_cv_cc_sse4): Do not AC_SUBST.
26802 (libc_cv_cc_avx): Likewise.
26803 (libc_cv_cc_sse2avx): Likewise.
26804 (libc_cv_cc_novzeroupper): Likewise.
26805 (libc_cv_cc_fma4): Likewise.
26806 (libc_cv_as_i686): Likewise.
26807 (libc_cv_sparc_as_vis3): Likewise.
26808 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26810 (config-asflags-i686): Likewise.
26811 (config-cflags-avx): Likewise.
26812 (config-cflags-sse2avx): Likewise.
26813 (have-mfma4): Likewise.
26814 (config-cflags-novzeroupper): Likewise.
26815 * sysdeps/mach/configure.in (MIG): Likewise.
26816 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26817 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26819 (config-cflags-avx): Likewise.
26820 (config-cflags-sse2avx): Likewise.
26821 (have-mfma4): Likewise.
26822 (config-cflags-novzeroupper): Likewise.
26823 * configure: Regenerated.
26824 * sysdeps/i386/configure: Likewise.
26825 * sysdeps/mach/configure: Likewise.
26826 * sysdeps/sparc/configure: Likewise.
26827 * sysdeps/x86_64/configure: Likewise.
26829 2013-03-20 Roland McGrath <roland@hack.frob.com>
26832 * locale/programs/localedef.c (options): Put N_ translation marker
26833 on argument names, not just descriptions.
26835 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26837 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26839 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
26842 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26844 2013-03-19 Roland McGrath <roland@hack.frob.com>
26846 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26847 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26848 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26849 [!BEFORE_ABORT] (before_abort): New function.
26850 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26851 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26852 (writev_for_fatal): New function.
26853 (WRITEV_FOR_FATAL): New macro; call that.
26854 (backtrace_and_maps): New function.
26855 (BEFORE_ABORT): New macro; call that.
26856 (struct str_list): Type removed.
26857 (__libc_message, __libc_fatal): Functions removed.
26858 Include <sysdeps/posix/libc_fatal.c> instead.
26860 2013-03-19 Joseph Myers <joseph@codesourcery.com>
26862 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26864 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26867 2013-03-19 Andreas Schwab <schwab@suse.de>
26869 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26870 * sysdeps/gnu/configure: Regenerate.
26872 * configure.in: Substitute libc_cv_rtlddir.
26873 * configure: Regenerate.
26874 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26875 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26876 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26877 * elf/Makefile (install-others, CFLAGS-interp.c)
26878 (ldso_install, common-ldd-rewrite): Likewise.
26879 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26880 $(inst_slibdir)/$(rtld-installed-name).
26881 * scripts/rellns-sh: Add -p option.
26882 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26885 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26887 * manual/nptl.texi: Renamed to ...
26888 * manual/threads.texi: ... this.
26889 * manual/Makefile (chapters): Update.
26891 2013-03-18 Roland McGrath <roland@hack.frob.com>
26894 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26895 on argument names, not just descriptions.
26896 * malloc/memusagestat.c (options): Likewise.
26897 * nss/getent.c (options): Likewise.
26899 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
26902 * iconv/iconv_prog.c (options): Put N_ translation marker
26903 on argument names, not just descriptions.
26904 * iconv/iconvconfig.c (options): Likewise.
26906 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
26908 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26909 implementation which is faster on all x86_64 architectures.
26910 Tested on AMD, Intel Nehalem, SNB, IVB.
26911 * sysdeps/x86_64/strnlen.S: Likewise.
26913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26914 Remove all multiarch strlen and strnlen versions.
26915 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26916 Remove strlen and strnlen related parts.
26918 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26919 Inline strlen part.
26920 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26922 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26923 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26924 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26925 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26926 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26927 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26929 2013-03-17 Carlos O'Donell <carlos@redhat.com>
26931 * manual/memory.texi (Malloc Tunable Parameters):
26932 Sort parameters alphabetically. Add comments for missing entries.
26934 2013-03-17 David S. Miller <davem@davemloft.net>
26936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26938 2013-03-16 Joseph Myers <joseph@codesourcery.com>
26941 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26942 for arguments at most half maximum finite value.
26943 * math/libm-test.inc (j0_test): Add more tests.
26944 (j1_test): Likewise.
26945 (y0_test): Likewise.
26946 (y1_test): Likewise.
26947 * sysdeps/i386/fpu/libm-test-ulps: Update.
26948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26951 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26952 1 / x and functions P and Q for arguments above 0x1p256L.
26953 (__ieee754_y0l): Likewise.
26954 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26955 (__ieee754_y1l): Likewise.
26956 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26957 (j1_test): Likewise.
26958 (y0_test): Likewise.
26959 (y1_test): Likewise.
26961 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26963 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26966 2013-03-15 Roland McGrath <roland@hack.frob.com>
26968 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26969 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26970 zero since it's initialized to EXEC_PAGESIZE.
26972 * sysdeps/unix/sysv/linux/ldsodefs.h
26973 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26974 * sysdeps/generic/ldsodefs.h: ... here.
26976 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26978 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26980 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26982 * math/test-snan.c: Renamed from
26983 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26984 * math/Makefile (tests): Add test-snan.
26985 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26988 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26989 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26991 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26992 __builtin_nan family of functions.
26993 * math/libm-test.inc (initialize): Initialize qnan_value with
26994 __builtin_nan family of functions.
26995 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26997 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26999 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27000 storage class. Initialize qNaN_var and sNaN_var with
27001 __builtin_nan and __builtin_nans families of functions,
27004 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27005 (sqrt_test): Remove duplicate test with qNaN input.
27006 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27007 (round_test, signbit_test, significand_test): Note missing +/-Inf
27008 as well as qNaN tests.
27010 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27011 qNaN_var. Fix a few strings, too.
27012 * math/libm-test.inc (nan_value): Rename to qnan_value.
27013 * math/gen-libm-test.pl (%beautify): Adjust to that.
27014 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27015 * math/test-misc.c (main): Likewise.
27016 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27017 to __qnan_bytes, and __qnan_union, respectively.
27018 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27020 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27021 and lqnanval, respectively.
27022 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27023 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27024 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27025 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27027 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27028 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27031 * math/test-misc.c (main): Fix copy'n'pastos.
27032 * misc/tst-efgcvt.c (special): Likewise.
27034 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27035 Remove declarations.
27037 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27039 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27040 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27041 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27042 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27044 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27046 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27047 macro to return vdso values correctly in IFUNC implementations.
27048 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27049 Optimization by using IFUNC.
27051 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27052 Richard Henderson <rth@redhat.com>
27053 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27055 * Makefile.in (bench): New target.
27056 * NEWS: Mention the benchmark framework.
27057 * Rules (bench): Likewise.
27058 (binaries-bench): Generate binaries for functions to
27060 * benchtests/Makefile: New makefile for benchmark tests.
27061 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27063 * benchtests/exp-inputs: New input file for EXP function.
27064 * benchtests/pow-inputs: New input file for POW function.
27065 * scripts/bench.pl: New script to generate source files for
27066 benchmark programs.
27068 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27070 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27071 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27072 computations on mantissa. Use macros for rounding and
27074 (denorm): Likewise.
27075 (__dbl_mp): Likewise.
27076 (add_magnitudes): Likewise.
27077 (sub_magnitudes): Likewise.
27080 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27081 powers of two in terms of TWOPOW macro.
27082 (mp_no): Make type of mantissa as MANTISSA_T.
27083 [!RADIXI]: Define RADIXI.
27084 [!TWO52]: Define TWO52.
27085 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27087 * manual/nptl.texi (cindex): Modify threads to pthreads.
27089 2013-03-15 Joseph Myers <joseph@codesourcery.com>
27091 * sysdeps/x86_64/preconfigure: Regenerated.
27093 2013-03-14 Joseph Myers <joseph@codesourcery.com>
27096 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27098 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27099 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27101 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27102 * math/libm-test.inc (j0_test): Do not allow one spurious
27103 underflow exception.
27104 (y1_test): Likewise.
27106 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27108 * manual/Makefile (chapters): Add nptl.
27109 * manual/debug.texi (Debugging Support): Add link to Threads
27111 * manual/nptl.texi: New file.
27113 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27115 2013-03-14 Petr Baudis <pasky@ucw.cz>
27117 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27118 for non-NULL pointer before the memory validity test. Pointed
27119 out by Holger Brunck <holger.brunck@keymile.com>.
27121 2013-03-13 Andreas Schwab <schwab@suse.de>
27123 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27126 2013-03-13 Joseph Myers <joseph@codesourcery.com>
27128 * timezone/zic.c: Update from tzcode 2013b.
27130 2013-03-12 Carlos O'Donell <carlos@redhat.com>
27132 * manual/install.texi (Configuring and compiling):
27133 Mention i686 and i586.
27134 * INSTALL: Regenerate.
27136 2013-03-12 Roland McGrath <roland@hack.frob.com>
27138 * sysdeps/init_array/elf-init.c: New file.
27140 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27141 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27143 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27144 __gmon_start__ as global, but as static with a .preinit_array pointer.
27145 * sysdeps/init_array/gmon-start.c: New file. Use that.
27146 * sysdeps/init_array/crti.S: New file, empty except for comments.
27147 * sysdeps/init_array/crtn.S: Likewise.
27149 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
27151 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27154 Remove Prefer_SSE_for_memop.
27155 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27156 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27157 HAS_PREFER_SSE_FOR_MEMOP.
27158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27160 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27161 Remove bzero, memset ifunc support.
27162 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27163 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27164 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27165 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27167 2013-03-11 Andreas Schwab <schwab@suse.de>
27170 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27173 (GLIBC_2.16): Remove pthread_atfork.
27175 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27177 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27178 (ptestcases.h): Likewise.
27180 2013-03-08 Roland McGrath <roland@hack.frob.com>
27182 * Makeconfig ($(common-objpfx)config.status): Depend on
27183 sysdeps/*/preconfigure{,.in} too.
27185 2013-03-08 Joseph Myers <joseph@codesourcery.com>
27187 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27188 (__free_hook): Use void * instead of __malloc_ptr_t.
27189 (__malloc_hook): Likewise.
27190 (__realloc_hook): Likewise.
27191 (__memalign_hook): Likewise.
27192 (__after_morecore_hook): Likewise.
27193 * malloc/arena.c (save_malloc_hook): Likewise.
27194 (save_free_hook): Likewise.
27195 * malloc/hooks.c (malloc_hook_ini): Likewise.
27196 (realloc_hook_ini): Likewise.
27197 (memalign_hook_ini): Likewise.
27198 * malloc/malloc.c (malloc_hook_ini): Likewise.
27199 (realloc_hook_ini): Likewise.
27200 (memalign_hook_ini): Likewise.
27201 (__free_hook): Likewise.
27202 (__malloc_hook): Likewise.
27203 (__realloc_hook): Likewise.
27204 (__memalign_hook): Likewise.
27205 (__libc_malloc): Likewise.
27206 (__libc_free): Likewise.
27207 (__libc_realloc): Likewise.
27208 (__libc_memalign): Likewise.
27209 (__libc_valloc): Likewise.
27210 (__libc_pvalloc): Likewise.
27211 (__libc_calloc): Likewise.
27212 (__posix_memalign): Likewise.
27213 * malloc/morecore.c (__sbrk): Likewise.
27214 (__default_morecore): Likewise.
27216 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27218 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27219 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27220 __malloc_ptrdiff_t.
27222 * malloc/malloc.h (__malloc_size_t): Remove macro.
27223 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27225 (old_memalign_hook): Likewise.
27226 (old_realloc_hook): Likewise.
27227 (struct hdr): Likewise.
27229 (mallochook): Likewise.
27230 (memalignhook): Likewise.
27231 (reallochook): Likewise.
27232 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27233 (tr_old_realloc_hook): Likewise.
27234 (tr_old_memalign_hook): Likewise.
27235 (tr_mallochook): Likewise.
27236 (tr_reallochook): Likewise.
27237 (tr_memalignhook): Likewise.
27239 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27241 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27242 default_ldbl_pack and using as default implementation.
27243 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27245 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27246 redundant definition.
27247 (ldbl_insert_mantissa): Likewise.
27248 (ldbl_canonicalize): Likewise.
27249 (ldbl_nearbyint): Likewise.
27250 (ldbl_pack): Rename to ldbl_pack_ppc.
27251 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27252 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27253 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27255 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27258 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27259 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27260 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27262 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27263 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27264 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27266 2013-03-07 Andreas Jaeger <aj@suse.de>
27268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27271 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27273 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27274 Include mpa.h and declare __MPEXP.
27275 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27276 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27277 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27278 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27279 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27280 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27281 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27283 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27284 (__slowpow): Use long double EXPL and LOGL functions to
27286 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27287 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27288 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27289 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27290 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27291 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27294 intermediate variable to calculate exponent.
27296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27300 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27301 [!NO__SQR]: Define __sqr.
27302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27303 and NO__SQR. Remove all code except __mul and __sqr. Include
27304 sysdeps/ieee754/dbl-64/mpa.c.
27305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27308 * posix/Makefile (tests): Add tst-pathconf.
27309 * posix/tst-pathconf.c: New test case.
27310 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27312 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27314 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
27316 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27318 2013-03-06 Andreas Jaeger <aj@suse.de>
27320 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27321 definition via __MAP_ANONYMOUS.
27323 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27324 it's not part of Linux headers.
27326 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27327 (MAP_HUGE_MASK): Define.
27329 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27331 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27332 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27334 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27335 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27337 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27340 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27342 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27343 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27344 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27345 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27346 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27347 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27349 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27352 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27353 Handle f2fs and efivarfs.
27355 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27358 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27359 (EFIVARFS_MAGIC): Add.
27360 (F2FS_LINK_MAX): Add.
27362 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27364 * stdio-common/vfprintf.c: Replace __builtin_expect with
27367 2013-03-06 Joseph Myers <joseph@codesourcery.com>
27370 * sysdeps/generic/bp-sym.h: Remove file.
27371 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27372 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27373 <bp-sym.h> and <bp-asm.h>.
27374 (__longjmp): Don't use BP_SYM.
27375 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27377 (memcpy): Don't use BP_SYM.
27378 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27379 <bp-sym.h> and <bp-asm.h>.
27380 (memcpy): Don't use BP_SYM.
27381 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27383 (memcpy): Don't use BP_SYM.
27384 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27386 (memset): Don't use BP_SYM.
27387 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27388 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27389 (__bzero): Don't use BP_SYM.
27390 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27391 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27392 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27393 <bp-sym.h> and <bp-asm.h>.
27394 (memcmp): Don't use BP_SYM. Remove comment about bounded
27396 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27397 <bp-sym.h> and <bp-asm.h>.
27398 (memcpy): Don't use BP_SYM.
27399 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27400 <bp-sym.h> and <bp-asm.h>.
27401 (memset): Don't use BP_SYM.
27402 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27403 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27404 (__bzero): Don't use BP_SYM.
27405 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27406 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27407 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27408 <bp-sym.h> and <bp-asm.h>.
27409 (strncmp): Don't use BP_SYM. Remove comment about bounded
27411 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27412 <bp-sym.h> and <bp-asm.h>.
27413 (memcpy): Don't use BP_SYM.
27414 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27415 <bp-sym.h> and <bp-asm.h>.
27416 (memset): Don't use BP_SYM.
27417 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27418 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27419 (__bzero): Don't use BP_SYM.
27420 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27421 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27422 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27423 <bp-sym.h> and <bp-asm.h>.
27424 (__memchr): Don't use BP_SYM.
27425 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27426 <bp-sym.h> and <bp-asm.h>.
27427 (memcmp): Don't use BP_SYM. Remove comment about bounded
27429 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27430 <bp-sym.h> and <bp-asm.h>.
27431 (memcpy): Don't use BP_SYM.
27432 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27433 <bp-sym.h> and <bp-asm.h>.
27434 (__mempcpy): Don't use BP_SYM.
27435 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27436 <bp-sym.h> and <bp-asm.h>.
27437 (__memrchr): Don't use BP_SYM.
27438 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27439 <bp-sym.h> and <bp-asm.h>.
27440 (memset): Don't use BP_SYM.
27441 (__bzero): Likewise.
27442 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27443 <bp-sym.h> and <bp-asm.h>.
27444 (__rawmemchr): Don't use BP_SYM.
27445 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27446 <bp-sym.h> and <bp-asm.h>.
27447 (__STRCMP): Don't use BP_SYM.
27448 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27449 <bp-sym.h> and <bp-asm.h>.
27450 (strchr): Don't use BP_SYM.
27451 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27452 <bp-sym.h> and <bp-asm.h>.
27453 (__strchrnul): Don't use BP_SYM.
27454 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27455 <bp-sym.h> and <bp-asm.h>.
27456 (strlen): Don't use BP_SYM.
27457 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27458 <bp-sym.h> and <bp-asm.h>.
27459 (strncmp): Don't use BP_SYM. Remove comment about bounded
27461 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27462 <bp-sym.h> and <bp-asm.h>.
27463 (__strnlen): Don't use BP_SYM.
27464 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27465 <bp-sym.h> and <bp-asm.h>.
27466 (__GI__setjmp): Don't use BP_SYM.
27467 (_setjmp): Likewise.
27468 (__sigsetjmp): Likewise.
27469 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27470 (L(start_addresses)): Don't use BP_SYM.
27471 (_start): Likewise.
27472 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27474 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27475 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27476 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27477 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27478 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27480 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27481 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27482 about bounded pointers.
27483 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27484 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27485 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27487 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27488 about bounded pointers. Remove GKM FIXME comments.
27489 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27490 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27492 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27493 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27494 Remove GKM FIXME comments.
27495 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27496 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27497 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27499 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27500 about bounded pointers. Remove GKM FIXME comment.
27501 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27503 (strncmp): Don't use BP_SYM. Remove comment about bounded
27505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27506 <bp-sym.h> and <bp-asm.h>.
27507 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27509 <bp-sym.h> and <bp-asm.h>.
27510 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27513 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27515 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27518 2013-03-05 David S. Miller <davem@davemloft.net>
27520 * po/es.po: Update from translation team.
27522 2013-03-05 Andreas Jaeger <aj@suse.de>
27524 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27525 <bits/mman-linux.h>.
27526 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27528 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27529 <bits/mman-linux.h> to end of file.
27530 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27532 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27533 <bits/mman-linux.h> to end of file.
27534 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27536 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27537 <bits/mman-linux.h> to end of file.
27539 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27540 (MCL_CURRENT, MCL_FUTURE): Define here.
27542 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27545 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27547 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27549 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27551 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27552 fourth parameter needed for rt_sigprocmask syscall.
27553 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27554 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27555 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27556 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27557 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27558 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27560 2013-03-04 Joseph Myers <joseph@codesourcery.com>
27563 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27564 comment about bounded pointers.
27565 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27566 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27568 2013-03-04 Andreas Jaeger <aj@suse.de>
27570 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27571 common definitions.
27573 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27574 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27575 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27576 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27577 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27578 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27580 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27583 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27584 __ieee754_sqrl instead of __sqrl.
27586 2013-03-01 Joseph Myers <joseph@codesourcery.com>
27588 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27589 * sysdeps/powerpc/fpu_control.h: ... here.
27590 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27591 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27592 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27593 * sysdeps/powerpc/bits/mathinline.h: ... here.
27595 2013-03-01 Roland McGrath <roland@hack.frob.com>
27597 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27598 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27599 to just [NEED_DL_SYSINFO_DSO].
27600 * elf/dl-support.c: Likewise.
27601 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27602 * elf/rtld.c (dl_main): Likewise.
27603 * elf/setup-vdso.h (setup_vdso): Likewise.
27604 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27605 * sysdeps/unix/sysv/linux/dl-sysdep.c
27606 (_dl_discover_osversion): Likewise.
27608 2013-03-01 Carlos O'Donell <carlos@redhat.com>
27610 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27611 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27613 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27615 * NEWS: Mention libm performance improvements and non-x86 PI
27618 * csu/libc-start.c (__pthread_initialize_minimal): Change
27619 function arguments.
27620 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27622 2013-02-28 Joseph Myers <joseph@codesourcery.com>
27625 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27626 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27627 <bp-sym.h> and <bp-asm.h>.
27628 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27629 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27631 (memcpy): Don't use BP_SYM.
27632 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27634 (__mpn_add_n): Don't use BP_SYM.
27635 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27636 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27638 (__mpn_addmul_1): Don't use BP_SYM.
27639 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27640 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27642 (_setjmp): Don't use BP_SYM.
27643 (__novmx_setjmp): Likewise.
27644 (__GI__setjmp): Likewise.
27645 (__vmx_setjmp): Likewise.
27646 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27648 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27649 (__bzero): Don't use BP_SYM.
27650 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27651 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27652 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27653 <bp-sym.h> and <bp-asm.h>.
27654 (memcpy): Don't use BP_SYM.
27655 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27656 <bp-sym.h> and <bp-asm.h>.
27657 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27658 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27659 <bp-sym.h> and <bp-asm.h>.
27660 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27661 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27663 (__mpn_lshift): Don't use BP_SYM.
27664 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27665 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27667 (memset): Don't use BP_SYM.
27668 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27669 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27670 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27672 (__mpn_mul_1): Don't use BP_SYM.
27673 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27674 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27675 <bp-sym.h> and <bp-asm.h>.
27676 (memcmp): Don't use BP_SYM.
27677 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27678 <bp-sym.h> and <bp-asm.h>.
27679 (memcpy): Don't use BP_SYM.
27680 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27681 <bp-sym.h> and <bp-asm.h>.
27682 (memset): Don't use BP_SYM.
27683 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27684 <bp-sym.h> and <bp-asm.h>.
27685 (strncmp): Don't use BP_SYM.
27686 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27687 <bp-sym.h> and <bp-asm.h>.
27688 (memcpy): Don't use BP_SYM.
27689 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27690 <bp-sym.h> and <bp-asm.h>.
27691 (memset): Don't use BP_SYM.
27692 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27693 <bp-sym.h> and <bp-asm.h>.
27694 (__memchr): Don't use BP_SYM.
27695 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27696 <bp-sym.h> and <bp-asm.h>.
27697 (memcmp): Don't use BP_SYM.
27698 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27699 <bp-sym.h> and <bp-asm.h>.
27700 (memcpy): Don't use BP_SYM.
27701 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27702 <bp-sym.h> and <bp-asm.h>.
27703 (__mempcpy): Don't use BP_SYM.
27704 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27705 <bp-sym.h> and <bp-asm.h>.
27706 (__memrchr): Don't use BP_SYM.
27707 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27708 <bp-sym.h> and <bp-asm.h>.
27709 (memset): Don't use BP_SYM.
27710 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27711 <bp-sym.h> and <bp-asm.h>.
27712 (__rawmemchr): Don't use BP_SYM.
27713 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27714 <bp-sym.h> and <bp-asm.h>.
27715 (__STRCMP): Don't use BP_SYM.
27716 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27717 <bp-sym.h> and <bp-asm.h>.
27718 (strchr): Don't use BP_SYM.
27719 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27720 <bp-sym.h> and <bp-asm.h>.
27721 (__strchrnul): Don't use BP_SYM.
27722 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27723 <bp-sym.h> and <bp-asm.h>.
27724 (strlen): Don't use BP_SYM.
27725 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27726 <bp-sym.h> and <bp-asm.h>.
27727 (strncmp): Don't use BP_SYM.
27728 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27729 <bp-sym.h> and <bp-asm.h>.
27730 (__strnlen): Don't use BP_SYM.
27731 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27733 (__mpn_rshift): Don't use BP_SYM.
27734 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27735 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27736 <bp-sym.h> and <bp-asm.h>.
27737 (__sigsetjmp): Don't use BP_SYM.
27738 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27739 (L(start_addresses)): Don't use BP_SYM.
27740 (_start): Likewise.
27741 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27743 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27744 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27745 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27746 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27748 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27749 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27750 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27751 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27753 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27755 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27756 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27758 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27760 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27761 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27762 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27764 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27766 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27768 (strncmp): Don't use BP_SYM,
27769 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27771 (__mpn_sub_n): Don't use BP_SYM.
27772 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27773 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27775 (__mpn_submul_1): Don't use BP_SYM.
27776 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27778 <bp-sym.h> and <bp-asm.h>.
27779 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27781 <bp-sym.h> and <bp-asm.h>.
27782 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27785 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27788 Use ZK to minimize writes to Z.
27789 (sub_magnitudes): Simplify code a bit.
27790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27791 Use ZK to minimize writes to Z.
27792 (sub_magnitudes): Simplify code a bit.
27794 2013-02-27 Roland McGrath <roland@hack.frob.com>
27796 * csu/gmon-start.c: Add special exception to license text.
27798 2013-02-27 Richard Henderson <rth@redhat.com>
27800 * scripts/config.guess: Update from config.git.
27801 * scripts/config.sub: Likewise.
27803 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27805 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27807 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27809 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27811 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27813 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27815 2013-02-26 Roland McGrath <roland@hack.frob.com>
27817 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27818 [$(build-shared = yes].
27820 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27822 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27823 (__mul): Reduce iterations for calculating mantissa.
27825 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27827 (__mpranred): Likewise.
27830 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27831 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27833 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27835 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27836 Define __attribute__.
27838 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27840 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27842 * posix/regex_internal.h (__attribute): Remove.
27843 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27844 (re_string_context_at): Likewise.
27845 (bitset_not): Use __attribute__ and mark function as possibly
27847 (bitset_merge): Likewise.
27848 (bitset_mask): Likewise.
27849 (re_string_char_size_at): Likewise.
27850 (re_string_wchar_at): Likewise.
27851 (re_string_elem_size_at): Likewise.
27853 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27855 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27859 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27863 (denorm): Likewise.
27864 (__dbl_mp): Likewise.
27865 (add_magnitudes): Likewise.
27866 (sub_magnitudes): Likewise.
27870 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27873 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27876 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27880 up changes with default code.
27881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27884 2013-02-24 Allan McRae <allan@archlinux.org>
27886 * manual/socket.texi (The Internet Namespace): Order menu items
27887 to match that in the file.
27889 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27890 node listing of the info page menu.
27892 2013-02-21 Joseph Myers <joseph@codesourcery.com>
27895 * sysdeps/i386/bp-asm.h: Remove file.
27896 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27897 (PARMS): Do not use macros from bp-asm.h.
27901 (__mpn_add_n): Do not use BP_SYM
27902 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27904 (PARMS): Do not use macros from bp-asm.h.
27907 (__mpn_addmul_1): Do not use BP_SYM
27908 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27910 (PARMS): Do not use macros from bp-asm.h.
27911 (SIGMSK): Likewise.
27912 (_setjmp): Likewise. Do not use BP_SYM.
27913 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27915 (PARMS): Do not use macros from bp-asm.h.
27916 (SIGMSK): Likewise.
27917 (setjmp): Likewise. Do not use BP_SYM.
27918 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27920 (PARMS): Do not use macros from bp-asm.h.
27921 (__frexp): Do not use BP_SYM.
27923 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27925 (PARMS): Do not use macros from bp-asm.h.
27926 (__frexpf): Do not use BP_SYM.
27927 (frexpf): Likewise.
27928 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27930 (PARMS): Do not use macros from bp-asm.h.
27931 (__frexpl): Do not use BP_SYM.
27932 (frexpl): Likewise.
27933 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27935 (PARMS): Do not use macros from bp-asm.h.
27936 (__remquo): Do not use BP_SYM.
27937 (remquo): Likewise.
27938 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27940 (PARMS): Do not use macros from bp-asm.h.
27941 (__remquof): Do not use BP_SYM.
27942 (remquof): Likewise.
27943 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27945 (PARMS): Do not use macros from bp-asm.h.
27946 (__remquol): Do not use BP_SYM.
27947 (remquol): Likewise.
27948 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27950 (PARMS): Do not use macros from bp-asm.h.
27953 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27954 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27956 (PARMS): Do not use macros from bp-asm.h.
27957 (strlen): Do not use BP_SYM.
27958 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27960 (PARMS): Do not use macros from bp-asm.h.
27964 (__mpn_add_n): Do not use BP_SYM.
27965 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27967 (PARMS): Do not use macros from bp-asm.h.
27970 (__mpn_addmul_1): Do not use BP_SYM.
27971 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27974 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27976 (PARMS): Do not use macros from bp-asm.h.
27979 (__mpn_lshift): Do not use BP_SYM.
27980 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27982 (PARMS): Do not use macros from bp-asm.h.
27986 (memcpy): Likewise. Do not use BP_SYM.
27987 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27988 libc_hidden_def and weak_alias.
27989 (mempcpy): Do not use BP_SYM in weak_alias.
27990 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27992 (PARMS): Do not use macros from bp-asm.h.
27995 [!BZERO_P] (CHR): Likewise.
27996 (memset): Likewise. Do not use BP_SYM.
27997 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27999 (PARMS): Do not use macros from bp-asm.h.
28002 (__mpn_mul_1): Do not use BP_SYM.
28003 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28005 (PARMS): Do not use macros from bp-asm.h.
28008 (__mpn_rshift): Do not use BP_SYM.
28009 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28011 (PARMS): Do not use macros from bp-asm.h.
28014 (strchr): Likewise. Do not use BP_SYM.
28015 (index): Do not use BP_SYM in weak_alias.
28016 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28018 (PARMS): Do not use macros from bp-asm.h.
28021 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28022 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28024 (PARMS): Do not use macros from bp-asm.h.
28025 (strlen): Do not use BP_SYM.
28026 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28028 (PARMS): Do not use macros from bp-asm.h.
28032 (__mpn_sub_n): Do not use BP_SYM.
28033 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28035 (PARMS): Do not use macros from bp-asm.h.
28038 (__mpn_submul_1): Do not use BP_SYM.
28039 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28041 (PARMS): Do not use macros from bp-asm.h.
28045 (__mpn_add_n): Do not use BP_SYM.
28046 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28049 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28051 (PARMS): Do not use macros from bp-asm.h.
28054 (memcmp): Do not use BP_SYM.
28055 (bcmp): Do not use BP_SYM in weak_alias.
28056 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28058 (PARMS): Do not use macros from bp-asm.h.
28062 (memcpy): Likewise. Do not use BP_SYM.
28063 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28065 (PARMS): Do not use macros from bp-asm.h.
28069 (memmove): Likewise. Do not use BP_SYM.
28070 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28072 (PARMS): Do not use macros from bp-asm.h.
28076 (__mempcpy): Likewise. Do not use BP_SYM.
28077 (mempcpy): Do not use BP_SYM in weak_alias.
28078 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28080 (PARMS): Do not use macros from bp-asm.h.
28083 [!BZERO_P] (CHR): Likewise.
28084 (memset): Likewise. Do not use BP_SYM.
28085 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28087 (PARMS): Do not use macros from bp-asm.h.
28089 (strcmp): Do not use BP_SYM.
28090 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28092 (PARMS): Do not use macros from bp-asm.h.
28095 [USE_AS_STRTOK_R] (SAVE): Likewise.
28096 (FUNCTION): Likewise. Do not use BP_SYM.
28097 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28099 (strtok_r): Likewise.
28100 (__GI___strtok_r): Likewise.
28101 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28102 (PARMS): Do not use macros from bp-asm.h.
28105 (__mpn_lshift): Do not use BP_SYM.
28106 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28107 (PARMS): Do not use macros from bp-asm.h.
28110 (__memchr): Do not use BP_SYM.
28111 (memchr): Do not use BP_SYM in weak_alias.
28112 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28113 (PARMS): Do not use macros from bp-asm.h.
28116 (memcmp): Do not use BP_SYM.
28117 (bcmp): Do not use BP_SYM in weak_alias.
28118 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28119 (PARMS): Do not use macros from bp-asm.h.
28122 (__mpn_mul_1): Do not use BP_SYM.
28123 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28125 (PARMS): Do not use macros from bp-asm.h.
28128 (__rawmemchr): Do not use BP_SYM.
28129 (rawmemchr): Do not use BP_SYM in weak_alias.
28130 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28131 (PARMS): Do not use macros from bp-asm.h.
28134 (__mpn_rshift): Do not use BP_SYM.
28135 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28136 (PARMS): Do not use macros from bp-asm.h.
28137 (SIGMSK): Likewise.
28138 (__sigsetjmp): Likewise. Do not use BP_SYM.
28139 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28140 (_start): Do not use BP_SYM.
28141 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28142 (PARMS): Do not use macros from bp-asm.h.
28145 (__stpcpy): Likewise. Do not use BP_SYM.
28146 (stpcpy): Do not use BP_SYM in weak_alias.
28147 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28149 (PARMS): Do not use macros from bp-asm.h.
28153 (__stpncpy): Likewise. Do not use BP_SYM.
28154 (stpncpy): Do not use BP_SYM in weak_alias.
28155 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28156 (PARMS): Do not use macros from bp-asm.h.
28159 (strchr): Likewise. Do not use BP_SYM.
28160 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28162 (PARMS): Do not use macros from bp-asm.h.
28165 (__strchrnul): Likewise. Do not use BP_SYM.
28166 (strchrnul): Do not use BP_SYM in weak_alias.
28167 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28169 (PARMS): Do not use macros from bp-asm.h.
28171 (strcspn): Do not use BP_SYM.
28172 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28174 (PARMS): Do not use macros from bp-asm.h.
28177 (strpbrk): Likewise. Do not use BP_SYM.
28178 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28180 (PARMS): Do not use macros from bp-asm.h.
28183 (strrchr): Likewise. Do not use BP_SYM.
28184 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28185 (PARMS): Do not use macros from bp-asm.h.
28187 (strspn): Do not use BP_SYM.
28188 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28189 (PARMS): Do not use macros from bp-asm.h.
28193 (FUNCTION): Likewise. Do not use BP_SYM.
28194 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28196 (strtok_r): Likewise.
28197 (__GI___strtok_r): Likewise.
28198 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28199 (PARMS): Do not use macros from bp-asm.h.
28203 (__mpn_sub_n): Do not use BP_SYM.
28204 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28206 (PARMS): Do not use macros from bp-asm.h.
28209 (__mpn_submul_1): Do not use BP_SYM.
28210 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28212 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28214 (PARMS): Do not use macros from bp-asm.h.
28219 (__clone): Do not use BP_SYM.
28220 (clone): Do not use BP_SYM in weak_alias.
28221 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28223 (PARMS): Do not use macros from bp-asm.h.
28225 (__mmap64): Do not use BP_SYM.
28226 (mmap64): Do not use BP_SYM in weak_alias.
28227 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28228 <bp-sym.h> and <bp-asm.h>.
28229 (PARMS): Do not use macros from bp-asm.h.
28230 (__posix_fadvise64_l64): Do not use BP_SYM.
28231 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28232 (PARMS): Do not use macros from bp-asm.h.
28234 (semtimedop): Do not use BP_SYM.
28235 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28238 2013-02-21 Allan McRae <allan@archlinux.org>
28240 * manual/message.texi (Charset conversion in gettext):
28241 Move @end statement to beginning of line.
28243 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28250 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28251 (denorm): Likewise.
28252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28255 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28257 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28258 tail-call to the resolved function if pltexit isn't needed.
28260 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28263 or Y being zero as being unlikely.
28264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28267 2013-02-20 Carlos O'Donell <carlos@redhat.com>
28269 * manual/nss.texi (System Databases and Name Service Switch):
28270 Remove frobnicate @pxref.
28272 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28274 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28275 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28277 2013-02-20 Petr Machata <pmachata@redhat.com>
28279 * elf/elf.h (R_ARM_TARGET1): New macro.
28280 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28281 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28282 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28283 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28284 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28285 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28286 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28287 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28288 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28289 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28290 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28291 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28292 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28293 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28294 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28295 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28296 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28297 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28298 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28299 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28300 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28301 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28302 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28303 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28304 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28305 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28306 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28307 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28308 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28309 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28310 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28311 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28312 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28313 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28314 (R_ARM_THM_GOT_BREL12): Likewise.
28315 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28316 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28317 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28318 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28319 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28320 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28321 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28322 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28323 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28325 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28327 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28328 __attribute_used__ to __attribute__ ((unused)).
28330 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28332 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28335 comment formatting.
28336 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28338 2013-02-19 Joseph Myers <joseph@codesourcery.com>
28341 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28343 (ENTER): Remove both macro definitions.
28345 (CHECK_BOUNDS_LOW): Likewise.
28346 (CHECK_BOUNDS_HIGH): Likewise.
28347 (CHECK_BOUNDS_BOTH): Likewise.
28348 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28349 (RETURN_BOUNDED_POINTER): Likewise.
28350 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28351 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28352 (POP_ERRNO_LOCATION_RETURN): Likewise.
28353 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28354 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28355 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28357 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28358 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28359 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28360 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28361 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28362 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28363 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28364 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28365 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28366 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28367 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28368 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28369 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28370 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28372 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28373 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28375 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28376 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28377 * sysdeps/i386/i586/memset.S (memset): Likewise.
28378 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28379 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28380 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28382 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28383 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28384 Change uses of L(2) to L(out).
28385 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28386 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28387 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28388 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28389 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28391 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28392 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28394 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28395 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28396 (RETURN): Do not use macro LEAVE.
28397 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28398 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28399 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28400 * sysdeps/i386/i686/memset.S (memset): Likewise.
28401 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28402 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28403 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28404 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28406 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28407 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28408 L(1_2) and L(1_3) into L(1).
28409 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28410 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28411 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28412 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28413 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28414 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28415 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28416 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28417 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28419 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28420 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28421 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28422 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28423 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28424 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28425 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28426 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28427 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28428 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28429 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28430 * sysdeps/i386/strspn.S (strspn): Likewise.
28431 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28433 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28434 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28435 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28436 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28437 L(1_3) into L(1_1).
28438 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28439 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28440 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28442 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28444 2013-02-19 Jakub Jelinek <jakub@redhat.com>
28446 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28449 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28451 * math/atest-exp.c (exp_mpn): Remove ROUND.
28452 * math/atest-exp2.c (exp_mpn): Likewise.
28453 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28455 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28456 * stdlib/tst-tls-atexit-lib.c: Likewise.
28457 * stdlib/tst-tls-atexit.c: Likewise.
28459 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28461 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28462 and __attribute_alloc_size__.
28464 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28466 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28467 __attribute_alloc_size__.
28468 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28469 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28471 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28473 * include/programs/xmalloc.h: New file.
28474 * catgets/gencat.c: Include it.
28475 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28476 * elf/pldd.c: Likewise.
28477 * iconv/iconv_charmap.c: Likewise.
28478 * iconv/iconvconfig.c: Likewise.
28479 * iconv/strtab.c: Likewise.
28480 * locale/programs/locale.c: Likewise.
28481 * locale/programs/localedef.h: Likewise.
28482 * locale/programs/simple-hash.c: Likewise.
28483 * nscd/nscd.h: Likewise.
28484 * nss/makedb.c: Likewise.
28485 * sysdeps/generic/ldconfig.h: Likewise.
28487 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28489 * Versions.def: Add GLIBC_2.18.
28490 * include/link.h (struct link_map): New member l_tls_dtor_count.
28491 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28492 (__call_tls_dtors): Likewise.
28493 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28494 __cxa_thread_atexit_impl.
28495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28503 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28511 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28512 (tests): Add test case tst-tls-atexit.
28513 (modules-names): Add shared library for tst-tls-atexit.
28514 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28515 (GLIBC_PRIVATE): Add __call_tls_dtors.
28516 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28518 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28519 * stdlib/tst-tls-atexit.c: New test case.
28520 * stdlib/tst-tls-atexit-lib.c: New test case.
28522 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28524 * elf/Versions (ld): Add _dl_find_dso_for_object.
28525 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28526 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28527 (dl_open_worker): Use _dl_find_dso_for_object.
28528 * elf/dl-sym.c (do_sym): Likewise.
28529 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28531 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28533 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28534 Syntactic changes only.
28535 (_dl_runtime_profile): Do a tail-call to the resolved function.
28537 2013-02-17 Joseph Myers <joseph@codesourcery.com>
28540 * sysdeps/x86_64/bp-asm.h: Remove file.
28541 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28542 <bp-sym.h> and <bp-asm.h>.
28543 (__clone): Do not use BP_SYM.
28544 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28545 <bp-sym.h> and <bp-asm.h>.
28546 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28547 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28549 (_setjmp): Do not use BP_SYM.
28550 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28552 (setjmp): Do not use BP_SYM.
28553 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28555 (mempcpy): Do not use BP_SYM in weak_alias.
28556 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28558 (strchr): Do not use BP_SYM.
28559 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28561 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28562 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28563 (_start): Do not use BP_SYM.
28564 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28566 (strcat): Do not use BP_SYM.
28567 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28569 (STRCMP): Do not use BP_SYM.
28570 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28572 (STRCPY): Do not use BP_SYM.
28573 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28575 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28577 (FUNCTION): Do not use BP_SYM.
28578 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28580 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28582 2013-02-17 Andreas Jaeger <aj@suse.de>
28584 * time/Versions: Sort entries.
28585 * string/Versions: Likewise.
28586 * resolv/Versions: Likewise.
28587 * posix/Versions: Likewise.
28588 * iconv/Versions: Likewise.
28589 * elf/Versions: Likewise.
28590 * wcsmbs/Versions: Likewise.
28592 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28594 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28595 loop termination condition.
28597 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28598 variable to calculate EZ.
28601 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28602 the lower precision input.
28604 2013-02-15 Joseph Myers <joseph@codesourcery.com>
28607 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28608 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28609 (run-via-rtld-prefix): Do not handle %-bp tests.
28610 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28611 (all-object-suffixes): Remove .ob.
28612 (bppfx): Remove variable.
28613 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28614 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28615 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28616 [$(build-bounded) = yes] (libtype.ob): Likewise.
28617 * Makerules (elide-routines.ob): Remove variable.
28618 (do-tests-clean): Do not handle *-bp.out.
28619 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28620 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28621 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28622 (tests): Do not include $(tests-bp.out).
28623 (xtests): Do not include $(xtests-bp.out).
28624 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28625 [$(build-bounded) = yes] ($(addprefix
28626 $(objpfx),$(binaries-bounded))): Remove rule.
28627 ($(objpfx)%-bp.out): Remove rule.
28628 * config.make.in (build-bounded): Remove variable.
28629 * crypt/Makefile [$(build-bounded) = yes]
28630 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28631 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28632 append to variable.
28633 [$(build-bounded) = yes] (install-lib): Likewise.
28634 [$(build-bounded) = yes] (generated): Likewise.
28635 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28637 * intl/Makefile [$(build-bounded) = yes]
28638 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28639 * math/Makefile [$(build-bounded) = yes]
28640 ($(tests:%=$(objpfx)%-bp): Likewise.
28641 * misc/Makefile [$(build-bounded) = yes]
28642 ($(objpfx)tst-tsearch-bp): Likewise.
28643 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28644 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28646 * string/Makefile (o-objects.ob): Remove variable.
28647 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28648 (CFLAGS-.ob): Remove variable.
28649 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28650 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28651 both definitions of variable.
28652 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28653 (ASFLAGS-.ob): Remove variable.
28655 2013-02-14 Joseph Myers <joseph@codesourcery.com>
28658 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28659 Remove __BOUNDED_POINTERS__ from condition.
28660 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28661 * string/bits/string2.h [!__NO_STRING_INLINES &&
28662 !__BOUNDED_POINTERS__]: Likewise.
28663 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28665 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28666 Remove conditional code.
28667 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28668 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28669 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28673 * csu/libc-start.c: Do not include <bp-sym.h>.
28674 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28675 * elf/dl-open.c: Do not include <bp-sym.h>.
28676 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28677 * math/fegetenv.c: Do not include <bp-sym.h>.
28678 (fegetenv): Do not use BP_SYM in versioned symbols.
28679 * nptl/sysdeps/pthread/bits/libc-lockP.h
28680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28683 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28685 (__pthread_mutex_destroy): Likewise.
28686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28687 (__pthread_mutex_lock): Likewise.
28688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28689 (__pthread_mutex_trylock): Likewise.
28690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28691 (__pthread_mutex_unlock): Likewise.
28692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28693 (__pthread_mutexattr_init): Likewise.
28694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28695 (__pthread_mutexattr_destroy): Likewise.
28696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28697 (__pthread_mutexattr_settype): Likewise.
28698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28699 (__pthread_rwlock_init): Likewise.
28700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28701 (__pthread_rwlock_destroy): Likewise.
28702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28703 (__pthread_rwlock_rdlock): Likewise.
28704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28705 (__pthread_rwlock_tryrdlock): Likewise.
28706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28707 (__pthread_rwlock_wrlock): Likewise.
28708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28709 (__pthread_rwlock_trywrlock): Likewise.
28710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28711 (__pthread_rwlock_unlock): Likewise.
28712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28713 (__pthread_key_create): Likewise.
28714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28715 (__pthread_setspecific): Likewise.
28716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28717 (__pthread_getspecific): Likewise.
28718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28721 (_pthread_cleanup_push_defer): Likewise.
28722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28723 (_pthread_cleanup_pop_restore): Likewise.
28724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28725 (pthread_setcancelstate): Likewise.
28726 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28728 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28729 (memchr): Do not use BP_SYM in weak_alias.
28730 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28731 (fegetenv): Do not use BP_SYM in versioned symbols.
28732 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28733 (fesetenv): Do not use BP_SYM in versioned symbols.
28734 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28735 (feupdateenv): Do not use BP_SYM in versioned symbols.
28736 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28737 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28738 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28739 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28740 (open64): Do not use BP_SYM in weak_alias.
28741 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28742 (fegetenv): Do not use BP_SYM in versioned symbols.
28743 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28744 (fesetenv): Do not use BP_SYM in versioned symbols.
28745 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28746 (feupdateenv): Do not use BP_SYM in versioned symbols.
28747 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28748 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28749 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28750 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28751 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28752 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28753 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28755 (__libc_start_main): Do not use BP_SYM.
28757 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28760 redundant return line.
28762 (denorm): Likewise.
28763 (dbl_mp): Likewise.
28764 (sub_magnitudes): Likewise.
28770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28772 (denorm): Likewise.
28773 (dbl_mp): Likewise.
28774 (sub_magnitudes): Likewise.
28781 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28783 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28784 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28787 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28788 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28789 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28790 of __mul for squares.
28791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28795 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28796 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28798 2013-02-13 Joseph Myers <joseph@codesourcery.com>
28801 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28803 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28804 prototype or function definition. Rename ubp_* variables and
28805 parameters. Remove argv definitions conditional on
28806 [__BOUNDED_POINTERS__].
28807 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28808 * elf/dl-runtime.c (_dl_fixup): Likewise.
28809 * include/set-hooks.h (RUN_HOOK): Likewise.
28810 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28812 * string/strcpy.c (strcpy): Do not use __unbounded.
28813 * sysdeps/generic/frame.h (struct layout): Likewise.
28814 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28815 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28816 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28817 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28818 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28819 (__backtrace): Likewise.
28820 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28822 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28823 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28824 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28826 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28827 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28828 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28829 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28830 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28831 Do not use __unbounded.
28832 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28833 Rename __unboundedrlimits parameter to rlimits in prototype.
28834 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28835 Do not use __unbounded.
28836 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28837 not use __ptrvalue.
28838 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28839 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28840 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28841 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28842 __ptrvalue or __unbounded.
28843 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28844 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28846 (__new_msgctl): Do not use __ptrvalue.
28847 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28849 (__libc_msgrcv): Do not use __ptrvalue.
28850 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28851 startup_info): Do not use __unbounded.
28852 (__libc_start_main): Likewise. Rename ubp_* variables and
28853 parameters. Remove argv definitions conditional on
28854 [__BOUNDED_POINTERS__].
28855 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28857 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28859 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28861 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28863 (__new_shmctl): Do not use __ptrvalue.
28864 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28865 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28867 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28868 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28869 (__libc_sigaction): Likewise.
28870 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28871 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28873 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28875 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
28877 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28879 * string/mempcpy.c: Implement by calling memcpy.
28881 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28885 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28888 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28889 values in the mantissa.
28891 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28892 minimize writes to Z.
28893 (sub_magnitudes): Simplify code a bit.
28895 2013-02-12 Roland McGrath <roland@hack.frob.com>
28897 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28898 from the message. The linker prefixes all warnings with that already.
28900 2013-02-12 Andreas Schwab <schwab@suse.de>
28903 * posix/regexec.c (extend_buffers): Add parameter min_len.
28904 (check_matching): Pass minimum needed length.
28905 (clean_state_log_if_needed): Likewise.
28906 (get_subexp): Likewise.
28907 * posix/Makefile (tests): Add bug-regex34.
28908 (bug-regex34-ENV): Define.
28909 * posix/bug-regex34.c: New file.
28912 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28913 elements compare against the byte sequence of it, not its name.
28914 * posix/Makefile (tests): Add bug-regex35.
28915 (bug-regex35-ENV): Define.
28916 * posix/bug-regex35.c: New file.
28918 2013-02-11 Tom de Vries <tom@codesourcery.com>
28920 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28922 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28923 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28924 (CHECK_EOL): Add undef.
28926 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
28928 * bits/stdlib-bsearch.h: New file.
28929 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28930 * stdlib/stdlib.h: Likewise.
28932 2013-02-11 Roland McGrath <roland@hack.frob.com>
28934 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28935 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28937 * manual/search.texi (Array Search Function): Add missing const in
28939 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28940 declaration to use rlim_t.
28941 (Basic Scheduling Functions): Remove erroneous const from
28942 sched_getparam prototype. Remove erroneous * from
28943 sched_get_priority_max and sched_get_priority_min prototypes.
28944 (Resource Usage): Fix summary @comment on vtimes to refer to
28945 sys/vtimes.h rather than vtimes.h.
28946 Add missing *s in vtimes prototype.
28947 (Limits on Resources): Fix ulimit prototype to return long int.
28948 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28949 prototypes to use long int rather than double.
28950 (BSD Random): Fix initstate and setstate to use char *, not void *.
28951 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28952 prototype to make second argument 'struct aiocb64 *const[]'.
28953 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28954 (Status of AIO Operations): Remove erroneous const in aio_return and
28955 aio_return64 prototypes.
28956 (Synchronizing I/O): Fix sync prototype to return void.
28957 * manual/startup.texi (Suboptions): Remove an erroneous const in
28958 getsubopt prototype.
28959 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28960 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28961 use size_t rather than int.
28962 (Scanning All Users): Likewise for getpwent_r.
28963 (Setting Groups): Add missing const to setgroups prototype.
28964 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28965 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28966 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28967 'const void *' rather than 'const char *'.
28968 (Host Address Functions): Likewise for inet_ntop.
28969 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28970 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28971 ssize_t for return value.
28972 (Sending Data): Likewise for send, sendto, sendmsg.
28973 (Socket Option Functions): Add a missing const in setsockopt prototype.
28974 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28975 use wchar_t for the argument.
28976 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28977 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28979 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28980 double/float/long double for second argument.
28981 Fix return types of significand, significandf, significandl.
28982 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28983 argument in fchmod prototype.
28984 (File Owner): Use uid_t and gid_t in fchown prototype.
28985 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28986 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28987 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28988 use 'const struct dirent **' as argument types to CMP function pointer
28990 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28991 (File Times): Fix summary magic @comment for struct utimbuf and utime
28992 to refer to utime.h, not time.h.
28993 * manual/string.texi (Argz Functions): Add missing const in
28994 argz_extract and argz_next prototypes.
28995 (Finding Tokens in a String): Likewise for basename.
28996 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28997 (Copying and Concatenation): Fix typo in wmemmove prototype.
28998 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28999 (Signal Stack): Remove erroneous const in sigstack prototype.
29000 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29002 (Simple Calendar Time): Likewise for stime.
29003 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29005 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29006 say sys/sysctl.h instead.
29007 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29008 and vsyslog prototypes.
29010 2013-02-11 Tom de Vries <tom@codesourcery.com>
29012 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29015 2013-02-11 Roland McGrath <roland@hack.frob.com>
29017 * misc/sys/mman.h: Fix typo in mremap comment.
29019 2013-02-08 Roland McGrath <roland@hack.frob.com>
29021 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29022 the '\0' terminator.
29024 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29027 * debug/segfault.c: Don't include <bp-checks.h>.
29028 * sysdeps/generic/bp-checks.h: Remove file.
29029 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29030 (__GETDENTS): Don't use CHECK_N.
29031 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29032 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29033 (__getgroups): Don't use CHECK_N.
29034 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29035 (setgroups): Don't use CHECK_N.
29036 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29037 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29038 (__libc_msgrcv): Don't use CHECK_N.
29039 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29040 (__libc_msgsnd): Don't use CHECK_N.
29041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29043 (__libc_pread): Don't use CHECK_N.
29044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29045 include <bp-checks.h>.
29046 (__libc_pread64): Don't use CHECK_N.
29047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29048 include <bp-checks.h>.
29049 (__libc_pwrite): Don't use CHECK_N.
29050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29051 include <bp-checks.h>.
29052 (__libc_pwrite64): Don't use CHECK_N.
29053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29055 (__libc_pread): Don't use CHECK_N.
29056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29057 include <bp-checks.h>.
29058 (__libc_pread64): Don't use CHECK_N.
29059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29060 include <bp-checks.h>.
29061 (__libc_pwrite): Don't use CHECK_N.
29062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29063 include <bp-checks.h>.
29064 (__libc_pwrite64): Don't use CHECK_N.
29065 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29066 (do_pread): Don't use CHECK_N.
29067 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29068 (do_pread64): Don't use CHECK_N.
29069 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29070 (do_pwrite): Don't use CHECK_N.
29071 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29072 (do_pwrite64): Don't use CHECK_N.
29073 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29074 (__libc_readv): Don't use CHECK_N.
29075 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29076 (semop): Don't use CHECK_N.
29077 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29079 (semtimedop): Don't use CHECK_N.
29080 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29081 (__libc_pread): Don't use CHECK_N.
29082 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29084 (__libc_pread64): Don't use CHECK_N.
29085 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29087 (__libc_pwrite): Don't use CHECK_N.
29088 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29090 (__libc_pwrite64): Don't use CHECK_N.
29091 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29093 (__libc_msgrcv): Don't use CHECK_N.
29094 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29095 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29096 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29097 (__libc_writev): Don't use CHECK_N.
29099 2013-02-08 Roland McGrath <roland@hack.frob.com>
29101 * string/strcpy.c: Removed unused variable.
29103 * Makeconfig (+sysdep-includes): Define with := rather than =.
29104 Use an existing include/ subdir of each sysdeps dir before it.
29106 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29108 * nscd/connection.c (register_traced_file): Comment function.
29109 [HAVE_INOTIFY] (union __inev): Define.
29110 [HAVE_INOTIFY] (inotify_check_files): New function.
29111 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29112 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29114 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29116 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29118 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29119 loaded if not already and that a failure is permanent.
29121 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29124 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29125 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29127 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29130 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29131 (CHECK_1_NULL_OK): Likewise.
29132 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29133 (__fxstat): Do not use CHECK_1.
29134 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29136 (___fxstat64): Do not use CHECK_1.
29137 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29139 (__fxstatat): Do not use CHECK_1.
29140 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29142 (__fxstatat64): Do not use CHECK_1.
29143 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29145 (__fxstat): Do not use CHECK_1.
29146 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29148 (__fxstatat): Do not use CHECK_1.
29149 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29151 (__getresgid): Do not use CHECK_1.
29152 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29154 (__getresuid): Do not use CHECK_1.
29155 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29157 (__lxstat): Do not use CHECK_1.
29158 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29160 (__old_msgctl): Do not use CHECK_1.
29161 (__new_msgctl): Likewise.
29162 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29164 (__new_setrlimit): Do not use CHECK_1.
29165 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29167 (__old_shmctl): Do not use CHECK_1.
29168 (__new_shmctl): Likewise.
29169 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29171 (__xstat): Do not use CHECK_1.
29172 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29173 (__lxstat): Do not use CHECK_1.
29174 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29176 (___lxstat64): Do not use CHECK_1.
29177 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29178 (__old_msgctl): Do not use CHECK_1.
29179 (__new_msgctl): Likewise.
29180 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29182 (__gettimeofday): Do not use CHECK_1.
29183 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29184 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29185 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29187 (__gettimeofday): Do not use CHECK_1.
29188 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29189 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29190 (__new_shmctl): Do not use CHECK_1.
29191 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29193 (do_sigtimedwait): Do not use CHECK_1.
29194 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29196 (do_sigwaitinfo): Do not use CHECK_1.
29197 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29199 (msgctl): Do not use CHECK_1.
29200 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29202 (shmctl): Do not use CHECK_1.
29203 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29204 (ustat): Do not use CHECK_1.
29205 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29207 (__fxstat): Do not use CHECK_1.
29208 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29210 (__fxstatat): Do not use CHECK_1.
29211 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29213 (__lxstat): Do not use CHECK_1.
29214 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29216 (__xstat): Do not use CHECK_1.
29217 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29218 (__xstat): Do not use CHECK_1.
29219 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29220 (___xstat64): Do not use CHECK_1.
29223 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29225 (CHECK_BOUNDS_HIGH): Likewise.
29226 * string/strcpy.c: Do not include <bp-checks.h>.
29227 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29229 2013-02-07 Roland McGrath <roland@hack.frob.com>
29231 * nscd/nscd-client.h (__nscd_drop_map_ref):
29232 Add __attribute__ ((unused)).
29233 * nis/nss-nisplus.h (niserr2nss): Likewise.
29235 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29236 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29238 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29239 Remove inline keyword.
29240 * include/rounding-mode.h (round_away): Likewise.
29241 * libio/wfileops.c (adjust_wide_data): Likewise.
29242 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29243 (__m128i_strloadu_tolower): Likewise.
29244 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29245 (__m128i_strloadu_tolower): Likewise.
29246 * time/mktime.c (ydhms_diff): Likewise.
29247 * locale/elem-hash.h (elem_hash): Likewise.
29248 * locale/setlocale.c (setdata): Likewise.
29249 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29250 (re_string_wchar_at): Likewise.
29251 (bitset_not, bitset_merge, bitset_mask): Likewise.
29252 [!(__GNUC__ > 3)] (inline): Remove macro.
29253 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29254 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29255 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29256 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29257 * string/memcmp.c (memcmp_bytes): Likewise.
29258 * locale/programs/locarchive.c (compute_hashval): Likewise.
29259 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29260 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29261 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29262 * nss/getent.c (print_rpc, print_protocols): Likewise.
29263 (print_passwd, print_group, print_aliases): Likewise.
29264 * nis/nss-nisplus.h (niserr2nss): Likewise.
29265 * nscd/connections.c (restart_p): Likewise.
29266 Change return type to bool.
29268 2013-02-05 Roland McGrath <roland@hack.frob.com>
29270 * Makeconfig (all-Depend-files): Add existing
29271 $(sorted-subdirs:=/Depend) files.
29272 (all-subdirs): Remove nss.
29273 * sysdeps/unix/inet/Subdirs: Add it here instead.
29274 * hesiod/Depend: New file.
29276 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29277 instead of calling alloca.
29279 * io/lseek.c (__lseek): Rename to __libc_lseek.
29280 Define __lseek as an alias.
29282 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29284 2013-02-04 Carlos O'Donell <carlos@redhat.com>
29286 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29287 else clause and remove check for non-standard endianness.
29289 2013-02-04 David S. Miller <davem@davemloft.net>
29291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29293 2013-02-04 Joseph Myers <joseph@codesourcery.com>
29296 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29297 (__ubp_memchr): Remove prototype.
29298 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29299 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29300 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29301 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29302 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29304 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29305 (__ubp_memchr): Likewise.
29306 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29307 (__ubp_memchr): Likewise.
29308 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29309 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29310 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29311 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29313 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29314 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29315 (__getcwd): Do not use CHECK_STRING.
29316 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29318 (__real_chown): Do not use CHECK_STRING.
29319 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29321 (fchownat): Do not use CHECK_STRING.
29322 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29324 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29326 (__lchown): Do not use CHECK_STRING.
29327 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29328 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29329 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29330 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29332 include <bp-checks.h>.
29333 (truncate64): Do not use CHECK_STRING.
29334 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29336 (__real_chown): Do not use CHECK_STRING.
29337 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29339 (__lchown): Do not use CHECK_STRING.
29340 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29342 (__chown): Do not use CHECK_STRING.
29343 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29345 (truncate64): Do not use CHECK_STRING.
29346 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29348 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29349 (__xmknod): Do not use CHECK_STRING.
29350 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29352 (__xmknodat): Do not use CHECK_STRING.
29353 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29354 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29356 2013-02-04 Andreas Schwab <schwab@suse.de>
29359 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29360 * include/netdb.h: Likewise for h_errno.
29361 * elf/tst-stackguard1.c: Include <tls.h>.
29363 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29365 * elf/link.h (struct link_map): Extend the l_addr comment.
29366 * include/link.h (struct link_map): Likewise.
29368 2013-02-01 Joseph Myers <joseph@codesourcery.com>
29371 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29372 (BOUNDED_1): Remove macro.
29373 * debug/backtrace.c: Don't include <bp-checks.h>.
29374 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29375 (__backtrace): Likewise.
29376 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29378 (__backtrace): Don't use BOUNDED_1.
29379 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29381 (__backtrace): Don't use BOUNDED_1.
29382 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29383 (__backtrace): Don't use BOUNDED_1.
29384 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29385 (shmat): Don't use BOUNDED_N.
29387 2013-01-31 Joseph Myers <joseph@codesourcery.com>
29390 * sysdeps/generic/bp-start.h: Remove file.
29391 * csu/libc-start.c: Don't include <bp-start.h>.
29392 (LIBC_START_MAIN): Set up __environ directly instead of using
29393 INIT_ARGV_and_ENVIRON.
29394 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29398 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29400 (CHECK_FCNTL): Likewise.
29401 (CHECK_N_PAGES): Likewise.
29404 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29406 (CHECK_SIGSET_NULL_OK): Likewise.
29407 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29409 (sigpending): Don't use CHECK_SIGSET.
29410 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29412 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29413 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29415 (do_sigsuspend): Don't use CHECK_SIGSET.
29416 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29418 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29419 (do_sigwait): Don't use CHECK_SIGSET.
29420 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29422 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29423 include <bp-checks.h>.
29424 (sigpending): Don't use CHECK_SIGSET.
29425 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29426 include <bp-checks.h>.
29427 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29428 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29430 (sigpending): Don't use CHECK_SIGSET.
29431 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29433 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29436 * sysdeps/generic/bp-semctl.h: Remove file.
29437 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29438 <bp-checks.h> and <bp-semctl.h>.
29439 (__old_semctl): Don't use CHECK_SEMCTL.
29440 (__new_semctl): Likewise.
29441 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29443 (__old_semctl): Don't use CHECK_SEMCTL.
29444 (__new_semctl): Likewise.
29445 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29446 <bp-checks.h> and <bp-semctl.h>.
29447 (__old_semctl): Don't use CHECK_SEMCTL.
29448 (__new_semctl): Likewise.
29449 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29450 <bp-checks.h> and <bp-semctl.h>.
29451 (semctl): Don't use CHECK_SEMCTL.
29454 * Makerules (elide-bp-thunks): Remove variable.
29455 (elide-routines.oS): Don't use $(elide-bp-thunks).
29456 (elide-routines.os): Likewise.
29457 (elide-routines.o): Likewise.
29458 (elide-routines.op): Likewise.
29459 (elide-routines.og): Likewise.
29460 (objects): Don't use $(bp-thunks).
29461 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29463 (common-generated): Do not add s-proto-bp.d.
29464 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29467 Do not generate makefile rules for bounded-pointer thunks.
29468 * sysdeps/generic/bp-thunks.h: Remove file.
29469 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29470 * sysdeps/unix/s-proto-bp.S: Likewise.
29473 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29474 parts of result separately when argument is not close to line from
29475 -i to i and one part of argument is small.
29476 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29477 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29478 * math/libm-test.inc (cacos_test): Add more tests.
29479 (casin_test): Likewise.
29480 (casinh_test): Likewise.
29481 * sysdeps/i386/fpu/libm-test-ulps: Update.
29482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29484 2013-01-31 David S. Miller <davem@davemloft.net>
29486 * po/de.po: Update from translation team.
29488 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29490 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29492 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29494 * configure.in (_AC_PROG_CC_C89): New definition.
29495 * configure: Regenerate.
29497 * configure.in (AC_PROG_CPP): New definition.
29498 * configure: Regenerate.
29500 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29502 * debug/tst-backtrace.h: New file.
29503 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29504 (ret): Remove variable.
29506 (FAIL): Remove macro.
29507 (NO_INLINE): Likewise.
29508 (fn1): Use match function instead of strstr.
29509 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29510 (ret): Remove variable.
29512 (FAIL): Remove macro.
29513 (NO_INLINE): Likewise.
29514 (fn): Use match function instead of strstr.
29515 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29516 (ret): Remove variable.
29518 (FAIL): Remove macro.
29519 (NO_INLINE): Likewise.
29520 (handle_signal): Use match function instead of strstr.
29521 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29522 (ret): Remove variable.
29524 (FAIL): Remove macro.
29525 (NO_INLINE): Likewise.
29526 (handle_signal): Use match function instead of strstr.
29528 2013-01-23 Roland McGrath <roland@hack.frob.com>
29530 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29532 2013-01-23 David S. Miller <davem@davemloft.net>
29534 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29535 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29536 argument of CAS if possible.
29537 * sysdeps/sparc/sparc64/bits/atomic.h
29538 (__arch_compare_and_exchange_val_32_acq): Likewise.
29539 (__arch_compare_and_exchange_val_64_acq): Likewise.
29541 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29543 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29544 * sysdeps/posix/ulimit.c: ... this.
29545 Include <limits.h>.
29546 * sysdeps/unix/bsd/ulimit.c: Remove file.
29548 2013-01-23 Adam Conrad <adconrad@0c3.net>
29550 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29551 (LDFLAGS-tst-array5): Likewise.
29553 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29556 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29557 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29558 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29559 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29561 2013-01-21 David S. Miller <davem@davemloft.net>
29563 * sysdeps/sparc/backtrace.c: New file.
29564 * sysdeps/sparc/sparc32/backtrace.h: New file.
29565 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29566 * sysdeps/sparc/sparc64/backtrace.h: New file.
29567 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29568 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29571 2013-01-21 Andreas Schwab <schwab@suse.de>
29574 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29577 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29583 2013-01-18 Joseph Myers <joseph@codesourcery.com>
29584 Mark Mitchell <mark@codesourcery.com>
29585 Tom de Vries <tom@codesourcery.com>
29586 Paul Pluzhnikov <ppluzhnikov@google.com>
29588 * debug/tst-backtrace2.c: New file.
29589 * debug/tst-backtrace3.c: Likewise.
29590 * debug/tst-backtrace4.c: Likewise.
29591 * debug/tst-backtrace5.c: Likewise.
29592 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29593 (CFLAGS-tst-backtrace3.c): Likewise.
29594 (CFLAGS-tst-backtrace4.c): Likewise.
29595 (CFLAGS-tst-backtrace5.c): Likewise.
29596 (LDFLAGS-tst-backtrace2): Likewise.
29597 (LDFLAGS-tst-backtrace3): Likewise.
29598 (LDFLAGS-tst-backtrace4): Likewise.
29599 (LDFLAGS-tst-backtrace5): Likewise.
29600 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29601 tst-backtrace4 and tst-backtrace5.
29603 2013-01-18 Anton Blanchard <anton@samba.org>
29604 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29606 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29607 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29608 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29609 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29611 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29612 "+r" and remove output regs list as redundant. Add explicit inline
29613 asm to specify register of return val to work around compiler codegen
29614 bug. Remove (int) cast on return value. Add return type parameter to
29615 use in macro so that this macro does not truncate return value for
29617 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29618 pass to INTERNAL_VSYSCALL_NCS.
29619 (INLINE_VSYSCALL): Add 'long int' as return type to
29620 INTERNAL_VSYSCALL_NCS macro invocation.
29621 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29622 INTERNAL_VSYSCALL_NCS macro invocation.
29623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29625 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29628 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29629 Fix application of SIMD FP exception mask.
29631 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29632 mp_no from a power of two.
29633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29634 __mpexp_twomm1. Use __pow_mp.
29636 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29639 2013-01-17 David S. Miller <davem@davemloft.net>
29641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29643 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29646 * include/complex.h: Condition contents on [!_COMPLEX_H].
29647 (__kernel_casinhf): New prototype.
29648 (__kernel_casinh): Likewise.
29649 (__kernel_casinhl): Likewise.
29650 * math/Makefile (libm_calls): Add k_casinh.
29651 * math/k_casinh.c: New file.
29652 * math/k_casinhf.c: Likewise.
29653 * math/k_casinhl.c: Likewise.
29654 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29655 finite nonzero arguments.
29656 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29657 finite nonzero arguments.
29658 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29659 finite nonzero arguments.
29660 * math/s_casinh.c: Do not include <float.h>.
29661 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29662 * math/s_casinhf.c: Do not include <float.h>.
29663 (__casinhf): Move code for finite nonzero arguments to
29665 * math/s_casinhl.c: Do not include <float.h>.
29666 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29668 (__casinhl): Move code for finite nonzero arguments to
29670 * math/libm-test.inc (cacos_test): Add more tests.
29671 * sysdeps/i386/fpu/libm-test-ulps: Update.
29672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29674 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29676 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29677 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29678 [!HAVE_MREMAP]: Remove [defined linux] case.
29679 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29681 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29683 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29685 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
29687 * elf/elf.h (R_386_SIZE32): New relocation.
29688 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29690 (elf_machine_rela): Likewise.
29691 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29692 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29694 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29696 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29697 (FP_FAST_FMA): Do not define.
29698 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29699 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29700 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29701 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29702 !_SOFT_FLOAT]: Likewise.
29703 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29704 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29706 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29707 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29708 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29709 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29710 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29711 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29714 2013-01-16 Andreas Schwab <schwab@suse.de>
29717 * include/stdlib.h (__mktemp): Add declaration.
29718 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29719 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29721 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29723 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29725 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29726 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29727 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29729 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29730 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29732 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29734 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29735 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29736 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29738 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29739 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29741 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29743 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29745 2013-01-15 David S. Miller <davem@davemloft.net>
29747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29748 trunc{,f} to libm-sysdep_routes.
29749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29759 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29760 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29761 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29762 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29763 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29764 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29767 nearbyint{,f} to libm-sysdep_routes.
29768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29779 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29781 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29782 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29784 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29785 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29786 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29788 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29789 libc_feholdexcept and libc_fesetenv.
29791 2013-01-15 Mike Frysinger <vapier@gentoo.org>
29793 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29795 2013-01-14 David S. Miller <davem@davemloft.net>
29797 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29798 (SPARC_ASM_VIS2_IFUNC): Likewise.
29799 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29801 use of 'siam' instruction.
29802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29835 routines to libm-sysdep_routines.
29836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29839 fdim/fdimf to libm-sysdep_routines.
29840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29848 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29849 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29850 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29851 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29853 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29855 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29856 to optimize copies.
29858 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29863 local variable MPTWO.
29864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29867 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29869 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29872 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29874 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29876 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29878 * manual/pattern.texi (glob_t): Document gl_flags.
29879 (glob64_t): Likewise.
29881 2013-01-11 David S. Miller <davem@davemloft.net>
29883 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29884 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29885 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
29886 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29887 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29888 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29889 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29890 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29891 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29892 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29893 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29894 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29895 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29897 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29898 sparc V9 rather than using V8 code.
29899 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29900 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29902 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29904 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29907 2013-01-11 Roland McGrath <roland@hack.frob.com>
29909 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29910 not in the main loop.
29911 * configure: Regenerated.
29913 2013-01-11 Joseph Myers <joseph@codesourcery.com>
29915 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29916 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29918 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29919 [!__GLIBC_HAVE_LONG_LONG] case.
29920 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29921 condition to just #else.
29922 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29923 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29924 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29925 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29927 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29928 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29929 #elif condition to just #else.
29930 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29931 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29932 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29933 #elif condition to just #else.
29935 2013-01-11 Steve Ellcey <sellcey@mips.com>
29937 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29938 (EF_MIPS_ARCH_64): Fix value.
29939 (EF_MIPS_ARCH_32R2): New.
29940 (EF_MIPS_ARCH_64R2): New.
29942 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29944 * Makeconfig (+link-pie-before-libc): New.
29945 (+link-pie-after-libc): Likewise.
29946 (+link-pie-tests): Likewise.
29947 (+link-pie): Rewritten.
29948 (link-before-libc): Remove $(config-LDFLAGS).
29949 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29950 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29951 (config-LDFLAGS): Renamed to ...
29952 (rtld-LDFLAGS): This.
29953 (rtld-tests-LDFLAGS): New macro.
29954 (link-libc-rpath-link): Likewise.
29955 (link-libc-tests-rpath-link): Likewise.
29956 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29957 (link-libc): Prepand $(link-libc-rpath-link).
29958 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29959 (test-program-prefix): New macro.
29960 (test-via-rtld-prefix): Likewise.
29961 (test-program-cmd): Likewise.
29962 (host-test-program-cmd): Likewise.
29963 * Makefile ($(common-objpfx)testrun.sh): Replace
29964 $(run-program-prefix) with $(test-program-prefix).
29965 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29967 ($(common-objpfx)shlib.lds): Likewise.
29968 (build-module-helper): Likewise.
29969 ($(common-objpfx)format.lds): Likewise.
29970 * Rules (binaries-pie-tests): New.
29971 (binaries-pie-notests): Likewise.
29972 (binaries-pie): Rewritten.
29973 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29974 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29975 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29976 (make-test-out): Replace $(host-built-program-cmd) with
29977 $(host-test-program-cmd).
29978 * config.make.in (build-hardcoded-path-in-tests): New variable.
29979 * configure.in (--enable-hardcoded-path-in-tests): New configure
29981 (hardcoded_path_in_tests): New AC_SUBST.
29982 * configure: Regenerated.
29983 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29984 $(built-program-cmd) with $(test-program-cmd).
29985 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29986 (test_program_cmd): This.
29987 * elf/Makefile ($(objpfx)order.out): Run test with
29988 $(test-program-prefix).
29989 ($(objpfx)order2.out): Likewise.
29990 ($(objpfx)tst-initorder.out): Likewise.
29991 ($(objpfx)tst-initorder2.out): Likewise.
29992 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29993 $(test-program-cmd).
29994 ($(objpfx)tst-array1-static.out): Likewise.
29995 ($(objpfx)tst-array2.out): Likewise.
29996 ($(objpfx)tst-array3.out): Likewise.
29997 ($(objpfx)tst-array4.out): Likewise.
29998 ($(objpfx)tst-array5.out): Likewise.
29999 ($(objpfx)tst-array5-static.out): Likewise.
30000 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30001 $(test-program-cmd).
30002 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30003 $(run-program-prefix) with $(test-program-prefix).
30004 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30005 (test_program_prefix): This.
30006 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30007 $(run-program-prefix) with $(test-program-prefix).
30008 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30009 (test_program_prefix): This.
30010 * iconvdata/tst-tables.sh: Likewise.
30011 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30012 $(run-program-prefix) with $(test-program-prefix).
30013 ($(objpfx)tst-translit.out): Likewise.
30014 ($(objpfx)tst-gettext2.out): Likewise.
30015 ($(objpfx)tst-gettext4.out): Likewise.
30016 ($(objpfx)tst-gettext6.out): Likewise.
30017 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30018 (test_program_prefix): This.
30019 * intl/tst-gettext2.sh: Likewise.
30020 * intl/tst-gettext4.sh Likewise.
30021 * intl/tst-gettext6.sh: Likewise.
30022 * intl/tst-translit.sh: Likewise.
30023 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30024 with $(test-program-cmd).
30025 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30026 $(run-program-prefix) with $(test-program-prefix).
30027 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30028 (test_program_prefix): This.
30029 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30030 $(run-program-prefix) with $(test-program-prefix).
30031 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30032 (test_program_prefix): This.
30033 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30034 * posix/Makefile ($(objpfx)globtest.out): Replace
30035 $(run-via-rtld-prefix) and $(test-wrapper) with
30036 $(test-program-prefix) and $(test-via-rtld-prefix).
30037 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30038 $(test-program-prefix).
30039 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30040 $(host-test-program-cmd).
30041 (tst-spawn-ARGS): Likewise.
30042 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30043 $(test-program-prefix).
30044 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30045 (test_via_rtld_prefix): This.
30046 (test_wrapper): Renamed to ...
30047 (test_program_prefix): This.
30048 (run_program_prefix): Replaced by test_program_prefix.
30049 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30050 (test_program_prefix): This.
30051 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30052 with $(host-test-program-cmd).
30053 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30054 $(run-program-prefix) with $(test-program-prefix).
30055 ($(objpfx)tst-printf.out): Likewise.
30056 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30057 $(test-program-cmd).
30058 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30059 (test_program_prefix): This.
30060 * stdio-common/tst-unbputc.sh: Likewise.
30061 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30062 $(run-program-prefix) with $(test-program-prefix).
30063 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30064 (test_program_prefix): This.
30065 * string/Makefile ($(objpfx)tst-svc.out): Replace
30066 $(built-program-cmd) with $(test-program-cmd).
30068 2013-01-11 Andreas Jaeger <aj@suse.de>
30071 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30072 value. Sync with Linux 3.7.
30074 2013-01-10 David S. Miller <davem@davemloft.net>
30076 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30077 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30078 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30080 2013-01-10 Roland McGrath <roland@hack.frob.com>
30082 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30084 * configure: Regenerated.
30086 2013-01-10 David S. Miller <davem@davemloft.net>
30088 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30089 sparc V9 rather than using V8 code.
30090 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30091 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30093 2013-01-10 Roland McGrath <roland@hack.frob.com>
30095 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30096 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30097 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30098 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30099 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30100 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30101 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30102 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30103 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30104 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30105 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30106 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30107 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30108 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30109 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30110 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30111 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30112 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30113 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30114 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30115 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30116 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30117 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30118 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30119 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30120 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30121 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30123 2013-01-10 David S. Miller <davem@davemloft.net>
30125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30127 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30129 * posix/Makefile (tests-static): New variable.
30130 (tests): Add $(tests-static).
30131 (tst-exec-static-ARGS): New variable.
30132 (tst-spawn-static-ARGS): Likewise.
30133 * posix/tst-exec-static.c: New file.
30134 * posix/tst-spawn-static.c: Likewise.
30135 * posix/tst-exec.c: Support run directly.
30136 * posix/tst-spawn.c: Likewise.
30138 2013-01-10 Joseph Myers <joseph@codesourcery.com>
30140 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30142 * math/bits/mathcalls.h (llrint): Likewise.
30143 (llround): Likewise.
30144 * stdlib/stdlib.h (struct drand48_data): Likewise.
30145 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30146 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30147 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30149 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30151 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30152 (elf_greg_t): Likewise.
30153 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30154 (__jmp_buf): Likewise.
30155 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30157 (llrint): Likewise, for all definitions.
30158 (llrintl): Likewise.
30160 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30161 Remove [__GNUC__] condition.
30162 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30163 condition to just [__USE_ISOC99].
30164 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30166 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30169 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30170 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30172 (_POSIX_V6_ILP32_OFF32): Likewise.
30173 (_XBS5_ILP32_OFF32): Likewise.
30174 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30175 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30177 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30179 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30181 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30182 doubles __mpexp_twomm1. Adjust usage.
30183 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30186 2013-01-10 Andreas Schwab <schwab@suse.de>
30189 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30190 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30192 2013-01-09 David S. Miller <davem@davemloft.net>
30195 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30196 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30197 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30198 (TCP_FASTOPEN): Define.
30199 (tcp_repair_opt): New structure.
30200 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30202 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30203 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30204 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30205 (tcp_cookie_transactions): New structure.
30207 2013-01-09 Anton Blanchard <anton@samba.org>
30209 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30210 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30211 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30212 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30214 2013-01-09 Joseph Myers <joseph@codesourcery.com>
30216 * include/features.h (__USE_ANSI): Remove.
30218 2013-01-09 Roland McGrath <roland@hack.frob.com>
30220 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30222 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30224 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30226 * sysdeps/s390/fpu/libm-test-ulps: Update.
30228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30230 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30234 (denorm): Likewise.
30235 (__mp_dbl): Likewise.
30236 (__dbl_mp): Likewise.
30237 (add_magnitudes): Likewise.
30238 (sub_magnitudes): Likewise.
30244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30248 (denorm): Likewise.
30249 (__mp_dbl): Likewise.
30250 (__dbl_mp): Likewise.
30251 (add_magnitudes): Likewise.
30252 (sub_magnitudes): Likewise.
30258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30262 (denorm): Likewise.
30263 (__mp_dbl): Likewise.
30264 (__dbl_mp): Likewise.
30265 (add_magnitudes): Likewise.
30266 (sub_magnitudes): Likewise.
30273 2013-01-08 Joseph Myers <joseph@codesourcery.com>
30275 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30276 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30277 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30278 2 && __USE_EXTERN_INLINES]: Likewise.
30280 2013-01-08 Andreas Jaeger <aj@suse.de>
30283 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30285 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30286 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30288 2013-01-07 Anton Blanchard <anton@samba.org>
30290 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30291 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30292 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30293 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30294 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30295 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30296 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30297 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30299 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30300 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30301 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30302 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30303 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30304 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30305 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30306 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30307 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30308 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30309 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30310 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30311 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30312 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30313 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30314 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30315 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30316 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30317 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30318 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30319 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30320 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30321 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30322 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30323 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30324 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30325 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30326 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30327 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30328 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30329 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30330 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30331 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30332 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30334 2013-01-07 Joseph Myers <joseph@codesourcery.com>
30336 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30337 (__MALLOC_PMT): Likewise.
30338 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30339 [__GNUC__], only on [_LIBC].
30340 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30341 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30342 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30343 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30344 forward declaration.
30345 (realloc_hook_ini): Likewise.
30346 (memalign_hook_ini): Likewise.
30347 (__libc_memalign): Do not use __MALLOC_PMT in variable
30349 (__libc_valloc): Likewise.
30350 (__libc_pvalloc): Likewise.
30351 (__libc_calloc): Likewise.
30352 (__posix_memalign): Likewise.
30355 * math/s_casinh.c: Include <float.h>.
30356 (__casinh): Do not do computation with squaring and square root
30357 for large arguments.
30358 * math/s_casinhf.c: Include <float.h>.
30359 (__casinhf): Do not do computation with squaring and square root
30360 for large arguments.
30361 * math/s_casinhl.c: Include <float.h>.
30362 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30363 (__casinhl): Do not do computation with squaring and square root
30364 for large arguments.
30365 * math/libm-test.inc (casin_test): Add more tests.
30366 (casinh_test): Likewise.
30367 * sysdeps/i386/fpu/libm-test-ulps: Update.
30368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30370 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30372 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30373 (__x86_64_raw_data_cache_size): Likewise.
30374 (__x86_64_data_cache_size_half): Likewise.
30375 (__x86_64_raw_data_cache_size_half): Likewise.
30376 (__x86_64_shared_cache_size): Likewise.
30377 (__x86_64_raw_shared_cache_size): Likewise.
30378 (__x86_64_shared_cache_size_half): Likewise.
30379 (__x86_64_raw_shared_cache_size_half): Likewise.
30380 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30382 (__x86_data_cache_size): This.
30383 (__x86_64_raw_data_cache_size): Renamed to ...
30384 (__x86_raw_data_cache_size): This.
30385 (__x86_64_data_cache_size_half): Renamed to ...
30386 (__x86_data_cache_size_half): This.
30387 (__x86_64_raw_data_cache_size_half): Renamed to ...
30388 (__x86_raw_data_cache_size_half): This.
30389 (__x86_64_shared_cache_size): Renamed to ...
30390 (__x86_shared_cache_size): This.
30391 (__x86_64_raw_shared_cache_size): Renamed to ...
30392 (__x86_raw_shared_cache_size): This.
30393 (__x86_64_shared_cache_size_half): Renamed to ...
30394 (__x86_shared_cache_size_half): This.
30395 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30396 (__x86_raw_shared_cache_size_half): This.
30397 * sysdeps/x86_64/memcpy.S: Updated.
30398 * sysdeps/x86_64/memset.S: Likewise.
30399 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30400 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30401 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30403 2013-01-04 David S. Miller <davem@davemloft.net>
30405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30407 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30409 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30410 1 to avoid redefinition warning.
30411 (__USE_GNU): Don't define.
30412 (init_signaling_nan): Protoize.
30414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30416 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30418 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30420 (__cpymn): Likewise.
30421 (norm): Remove commented code.
30422 (denorm): Likewise.
30423 (__mp_dbl): Likewise.
30425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30426 (__cpymn): Likewise.
30427 (norm): Remove commented code.
30428 (denorm): Likewise.
30429 (__mp_dbl): Likewise.
30432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30433 mp_no value for 1.0 and 2.0.
30434 (norm): Use RADIXI instead of radixi.d.
30435 (denorm): Likewise.
30436 (__mul): Use 0.0 instead of zero.d.
30437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30438 mp_no value for 1.0 and 2.0.
30439 (norm): Use RADIXI instead of radixi.d.
30440 (denorm): Likewise.
30441 (__mul): Use 0.0 instead of zero.d.
30443 2013-01-04 Joseph Myers <joseph@codesourcery.com>
30446 * math/s_casinh.c (__casinh): Reduce finite argument to first
30447 quadrant then set signs of results at the end.
30448 * math/s_casinhf.c (__casinhf): Likewise.
30449 * math/s_casinhl.c (__casinhl): Likewise.
30450 * math/libm-test.inc (casin_test): Add more tests.
30451 (casinh_test): Likewise.
30452 * sysdeps/i386/fpu/libm-test-ulps: Update.
30453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30455 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30457 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30459 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30461 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30463 (denorm): Likewise.
30464 (__mp_dbl): Likewise.
30467 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30468 and adjust the header comment.
30470 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30471 variable name from declaration.
30473 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30476 Initialize COMMON_CPUID_INDEX_7 element.
30477 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30478 (CPUID_RTM): Likewise.
30479 (HAS_RTM): Likewise.
30480 (COMMON_CPUID_INDEX_7): New enum.
30482 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30485 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30486 size is zero, record memory as freed.
30488 2013-01-03 Andreas Jaeger <aj@suse.de>
30490 * po/ia.po: Add new Interlingua translation.
30492 2012-01-03 Allan McRae <allan@archlinux.org>
30494 * locale/programs/localedef.c: Fix description of '--posix' flag.
30496 2013-01-02 Joseph Myers <joseph@codesourcery.com>
30498 * NEWS: Update dates in second copyright notice.
30499 * README: Update copyright dates in example.
30500 * manual/libc.texinfo: Update copyright dates.
30501 * scripts/test-installation.pl: Update copyright date in --version
30504 * hurd/ctty-input.c: Fix copyright notice formatting.
30505 * hurd/ctty-output.c: Likewise.
30506 * hurd/dtable.c: Likewise.
30507 * hurd/hurd-raise.c: Likewise.
30508 * hurd/hurdprio.c: Likewise.
30509 * hurd/msgportdemux.c: Likewise.
30510 * misc/sys/file.h: Likewise.
30511 * misc/sys/ioctl.h: Likewise.
30512 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30513 * sysdeps/mach/hurd/chdir.c: Likewise.
30514 * sysdeps/mach/hurd/fchdir.c: Likewise.
30515 * sysdeps/mach/hurd/rename.c: Likewise.
30516 * sysdeps/mach/hurd/rmdir.c: Likewise.
30517 * sysdeps/mach/hurd/seekdir.c: Likewise.
30518 * sysdeps/mach/hurd/setsid.c: Likewise.
30519 * sysdeps/posix/wait3.c: Likewise.
30521 * All files with FSF copyright notices: Update copyright dates
30522 using scripts/update-copyrights.
30523 * intl/plural.c: Regenerated.
30524 * locale/programs/charmap-kw.h: Likewise.
30525 * locale/programs/locfile-kw.h: Likewise.
30527 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30529 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30532 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30533 calculation loop and add branch prediction.
30535 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30536 check access beyond bounds of m1np.
30538 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30540 (__inv): Remove local variable MPTWO to use the global
30542 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30543 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30545 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30546 MP3HALFS static const.
30548 2013-01-01 David S. Miller <davem@davemloft.net>
30550 * po/ca.po: Update from translation team.
30552 2013-01-01 Joseph Myers <joseph@codesourcery.com>
30554 * scripts/update-copyrights: New file.
30555 * Makeconfig: Reformat copyright notice.
30556 * ctype/ctype.h: Likewise.
30557 * debug/swprintf_chk.c: Likewise.
30558 * elf/dl-cache.c: Likewise.
30559 * elf/dl-debug.c: Likewise.
30560 * elf/dl-object.c: Likewise.
30561 * grp/initgroups.c: Likewise.
30562 * hurd/Makefile: Likewise.
30563 * hurd/hurd/signal.h: Likewise.
30564 * hurd/hurdfault.c: Likewise.
30565 * hurd/hurdioctl.c: Likewise.
30566 * hurd/hurdlookup.c: Likewise.
30567 * hurd/intr-msg.c: Likewise.
30568 * iconv/gconv_open.c: Likewise.
30569 * libio/swprintf.c: Likewise.
30570 * locale/lc-ctype.c: Likewise.
30571 * locale/nl_langinfo.c: Likewise.
30572 * mach/Machrules: Likewise.
30573 * mach/Makefile: Likewise.
30574 * malloc/obstack.h: Likewise.
30575 * manual/Makefile: Likewise.
30576 * manual/tsort.awk: Likewise.
30577 * misc/bits/stab.def: Likewise.
30578 * nis/nis_print_group_entry.c: Likewise.
30579 * nis/nis_table.c: Likewise.
30580 * nis/nss_compat/compat-pwd.c: Likewise.
30581 * nis/nss_compat/compat-spwd.c: Likewise.
30582 * po/Makefile: Likewise.
30583 * posix/fnmatch.c: Likewise.
30584 * posix/regex.h: Likewise.
30585 * resolv/Makefile: Likewise.
30586 * resolv/nss_dns/dns-network.c: Likewise.
30587 * resolv/res_hconf.c: Likewise.
30588 * scripts/gen-sorted.awk: Likewise.
30589 * soft-fp/soft-fp.h: Likewise.
30590 * stdio-common/printf.h: Likewise.
30591 * stdlib/monetary.h: Likewise.
30592 * stdlib/random.c: Likewise.
30593 * stdlib/random_r.c: Likewise.
30594 * sysdeps/generic/Makefile: Likewise.
30595 * sysdeps/gnu/Makefile: Likewise.
30596 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30597 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30598 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30600 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30602 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30603 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30604 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30605 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30606 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30607 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30608 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30609 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30610 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30611 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30612 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30613 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30614 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30615 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30616 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30617 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30618 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30619 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30620 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30621 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30622 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30623 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30624 * sysdeps/mach/hurd/errnos.awk: Likewise.
30625 * sysdeps/mach/hurd/fork.c: Likewise.
30626 * sysdeps/mach/hurd/getcwd.c: Likewise.
30627 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30628 * sysdeps/mach/hurd/mmap.c: Likewise.
30629 * sysdeps/mach/hurd/utimes.c: Likewise.
30630 * sysdeps/mach/hurd/xmknod.c: Likewise.
30631 * sysdeps/posix/profil.c: Likewise.
30632 * sysdeps/posix/readdir_r.c: Likewise.
30633 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30634 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30635 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30636 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30637 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30638 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30639 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30640 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30642 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30643 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30644 * sysdeps/pthread/lio_listio.c: Likewise.
30645 * sysdeps/sparc/dl-procinfo.h: Likewise.
30646 * sysdeps/unix/i386/sysdep.S: Likewise.
30647 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30648 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30649 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30650 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30652 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30653 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30654 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30655 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30656 * sysdeps/wordsize-32/divdi3.c: Likewise.
30657 * time/sys/time.h: Likewise.
30658 * wcsmbs/Makefile: Likewise.
30660 2013-01-01 David S. Miller <davem@davemloft.net>
30662 * po/fr.po: Update from translation team.
30664 * catgets/gencat.c: Update copyright year.
30665 * csu/version.c: Likewise.
30666 * debug/catchsegv.sh: Likewise.
30667 * debug/pcprofiledump.c: Likewise.
30668 * debug/xtrace.sh: Likewise.
30669 * elf/ldconfig.c: Likewise.
30670 * elf/ldd.bash.in: Likewise.
30671 * elf/pldd.c: Likewise.
30672 * elf/sotruss.ksh: Likewise.
30673 * elf/sprof.c: Likewise.
30674 * iconv/iconv_prog.c: Likewise.
30675 * iconv/iconvconfig.c: Likewise.
30676 * locale/programs/locale.c: Likewise.
30677 * locale/programs/localedef.c: Likewise.
30678 * login/programs/pt_chown.c: Likewise.
30679 * malloc/memusage.sh: Likewise.
30680 * malloc/memusagestat.c: Likewise.
30681 * malloc/mtrace.pl: Likewise.
30682 * nscd/nscd.c: Likewise.
30683 * nss/getent.c: Likewise.
30684 * nss/makedb.c: Likewise.
30685 * posix/getconf.c: Likewise.
30687 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30689 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30692 2012-12-30 Mike Frysinger <vapier@gentoo.org>
30694 * math/bits/mathcalls.h (modf): Use __nonnull.
30696 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30698 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30699 (split): Use macro CN instead of the bare value.
30700 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30702 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30703 instead of the bare value.
30704 (power1): Likewise.
30706 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30708 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30710 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30712 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30714 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30715 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30716 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30717 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30719 2012-12-28 Andreas Jaeger <aj@suse.de>
30721 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30722 values are from Linux 3.7.
30724 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30725 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30727 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30729 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30732 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30734 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30735 variables with preprocessor constants.
30736 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30737 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30738 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30740 2012-12-27 Bruno Haible <bruno@clisp.org>
30743 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30746 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30748 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30749 and use variable directly.
30750 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30752 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30754 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30755 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30757 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30759 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30760 include directive. Remove local variable MPONE.
30761 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30762 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30763 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30765 2012-12-25 David S. Miller <davem@davemloft.net>
30767 * version.h (RELEASE): Set to "development".
30768 (VERSION): Set to "2.17.90".
30769 * NEWS: Add 2.18 section.
30771 2012-12-21 David S. Miller <davem@davemloft.net>
30773 * po/hr.po: Update from translation team.
30775 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30777 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30779 2012-12-19 Steve Ellcey <sellcey@mips.com>
30781 * NEWS: Mention new memcpy for MIPS.
30783 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30785 * manual/contrib.texi (Contributors): Spelling correction.
30787 2012-12-15 David S. Miller <davem@davemloft.net>
30789 * po/ru.po: Update from translation team.
30791 2012-12-13 David S. Miller <davem@davemloft.net>
30793 * NEWS: Mention IFUNC testsuite enhancements.
30795 * po/pl.po: Update from translation team.
30796 * po/bg.po: Likewise.
30798 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30799 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30801 2012-12-11 David S. Miller <davem@davemloft.net>
30803 * po/sv.po: Update from translation team.
30805 * po/vi.po: Update from translation team.
30807 * po/cs.po: Update from translation team.
30809 * po/de.po: Update from translation team.
30810 * po/eo.po: Likewise.
30811 * po/nl.po: Likewise.
30813 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30816 * manual/argp.texi (Argp Helper Functions): Move node to follow
30817 Argp Parsing State.
30820 * manual/conf.texi (Limits on File System Capacity): Mention if
30821 terminating null is included in the max size.
30823 2012-12-10 Andreas Jaeger <aj@suse.de>
30825 * po/cs.po: Update from translation team.
30827 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30829 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30830 void pointer and cast to uintptr_t.
30831 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30833 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30834 * sysdeps/s390/s390-64/memset.S: Likewise.
30836 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
30839 * menual/message.texi (Message Translation): Fix typos.
30840 (Helper programs for gettext): Likewise.
30842 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30845 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30848 2012-12-07 David S. Miller <davem@davemloft.net>
30850 * po/libc.pot: Update.
30852 2012-12-07 Richard Henderson <rth@redhat.com>
30855 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30856 normal/normal case to before the switch.
30857 (_FP_DIV): Likewise.
30859 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30860 Mike Frysinger <vapier@gentoo.org>
30862 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30863 check for __NR_fadvise64_64.
30865 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30867 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30868 0, not just to plain "0" as a statement.
30869 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30872 2012-12-06 Joseph Myers <joseph@codesourcery.com>
30874 * NEWS: Use sourceware.org in Bugzilla URL.
30876 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30879 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30881 * stdio-common/tst-put-error.c (do_test): Add newline to the
30882 padded test to ensure flush.
30884 2012-12-05 Jeff Law <law@redhat.com>
30886 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30888 2012-12-05 Joseph Myers <joseph@codesourcery.com>
30890 * README: Don't refer to ports add-on as distributed separately.
30891 Mention AArch64 in list of systems supported in the ports add-on.
30893 * LICENSES: Add more non-FSF copyright and license notices.
30895 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30898 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30900 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30901 10000 as width of padded output.
30903 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30905 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30907 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30908 variable LX with __attribute__ ((unused)).
30909 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30911 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30912 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30913 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30914 with __attribute__ ((unused)).
30916 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
30918 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30920 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30922 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30923 (CFLAGS-nldbl-acos.c): New variable.
30924 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30925 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30926 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30927 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30928 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30929 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30930 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30931 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30932 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30933 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30934 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30935 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30936 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30937 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30938 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30939 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30940 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30941 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30942 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30943 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30944 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30945 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30946 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30947 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30948 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30949 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30950 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30951 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30952 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30953 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30954 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30955 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30956 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30957 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30958 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30959 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30960 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30961 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30962 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30963 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30964 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30965 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30966 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30967 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30968 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30969 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30970 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30971 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30972 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30973 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30974 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30975 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30976 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30977 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30978 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30979 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30980 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30981 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30982 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30983 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30984 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30985 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30986 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30987 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30988 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30989 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30990 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30991 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30992 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30993 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30994 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30995 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30996 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30997 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30998 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30999 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31000 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31001 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31002 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31003 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31004 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31005 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31006 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31007 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31008 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31009 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31010 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31011 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31012 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31013 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31014 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31015 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31016 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31017 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31018 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31019 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31020 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31023 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31026 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31027 whole low double instead of just low 47 bits when splitting values
31030 2012-12-03 Allan McRae <allan@archlinux.org>
31032 * manual/stdio.texi (Predefined Printf Handlers): Remove
31033 @hsep and @vsep usage.
31035 2012-12-03 Mike Frysinger <vapier@gentoo.org>
31037 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31038 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31040 2012-12-03 Jeff Law <law@redhat.com>
31042 * time/sys/time.h (settimeofday): Do not mark TV argument
31045 2012-12-01 Mike Frysinger <vapier@gentoo.org>
31047 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31048 when currently writing and seek to current position when not.
31049 * libio/Makefile (tests): Remove bug-fclose1.
31050 * libio/bug-fclose1.c: Delete.
31052 2012-12-01 Joseph Myers <joseph@codesourcery.com>
31054 * manual/arith.texi (feenableexcept): Fix typo.
31055 (fedisableexcept): Likewise.
31057 2012-11-30 Roland McGrath <roland@hack.frob.com>
31059 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31060 second, differently-typed declaration, rather than a cast.
31062 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31064 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31065 * include/rpc/svc.h: ... here.
31067 2012-11-30 Aurelien Jarno <aurel32@debian.org>
31070 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31071 depending n and resplen2 to catch cases where answer
31074 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31076 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31077 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31079 2012-11-29 Mike Frysinger <vapier@gentoo.org>
31081 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31083 2012-11-29 Roland McGrath <roland@hack.frob.com>
31085 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31087 2012-11-28 Jeff Law <law@redhat.com>
31090 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31091 dataset_temporary. Track alloca usage into alloca_used.
31092 If dataset is large allocate and release it via malloc/free.
31094 2012-06-04 Florian Weimer <fweimer@redhat.com>
31097 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31099 2012-11-28 David S. Miller <davem@davemloft.net>
31101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31103 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31106 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31107 of pi/2 rounded to nearest to 64 bits.
31108 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31109 nearest to 64 bits.
31110 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31113 2012-11-28 Jeff Law <law@redhat.com>
31114 Martin Osvald <mosvald@redhat.com>
31117 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31118 * sunrpc/svc.c: Include time.h.
31119 (__svc_accept_failed): New function.
31120 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31121 any reason other than EINTR, call __svc_accept_failed.
31122 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31123 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31125 2012-11-28 Andreas Schwab <schwab@suse.de>
31127 * scripts/abilist.awk: Also handle indirect functions in .opd
31130 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31133 * sysdeps/x86/fpu/powl_helper.c: New file.
31134 * sysdeps/x86/fpu/Makefile: Likewise.
31135 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31137 (__ieee754_powl): Use __powl_helper for finite arguments except
31138 integer exponents below 8.
31139 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31141 (__ieee754_powl): Use __powl_helper for finite arguments except
31142 integer exponents below 8.
31143 * math/libm-test.inc (pow_test): Add more tests and enable some
31144 previously disabled tests.
31145 * sysdeps/i386/fpu/libm-test-ulps: Update.
31146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31148 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31149 Carlos O'Donell <carlos_odonell@mentor.com>
31151 * nss/makedb.c (is_prime): Assert that input is odd and greater
31152 than 4. Note that fact in a comment too.
31153 (next_prime): Add 4 to input.
31155 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31158 * libio/Makefile (tests): Add test case tst-fwrite-error.
31159 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31160 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31161 * libio/tst-fwrite-error.c: New test case.
31163 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31165 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31166 before casting to void *.
31167 * include/libc-internal.h (__pointer_type): New macro.
31168 (__integer_if_pointer_type_sub): Likewise.
31169 (__integer_if_pointer_type): Likewise.
31170 (cast_to_integer): Likewise.
31171 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31172 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31173 before casting to atomic64_t.
31174 (atomic_exchange_acq): Likewise.
31175 (__arch_exchange_and_add_body): Likewise.
31176 (__arch_add_body): Likewise.
31177 (atomic_add_negative): Likewise.
31178 (atomic_add_zero): Likewise.
31180 2012-11-26 Joseph Myers <joseph@codesourcery.com>
31182 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31183 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31184 (add_fdes): Likewise.
31185 (linear_search_fdes): Likewise.
31186 (binary_search_unencoded_fdes): Likewise.
31188 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31190 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31192 2012-11-24 Adam Conrad <adconrad@0c3.net>
31194 * configure.in: Autodetect C++ header directories.
31195 * configure: Regenerated.
31197 2012-11-23 Mike Frysinger <vapier@gentoo.org>
31199 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31201 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31205 2012-11-22 Joseph Myers <joseph@codesourcery.com>
31207 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31208 LDBL_MANT_DIG == 106]: Disable some tests.
31209 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31211 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31215 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31216 input for small inputs. Return +/- pi/2 for large inputs.
31217 * math/libm-test.inc (atan_test): Add more tests.
31219 * sysdeps/generic/unwind-dw2-fde-glibc.c
31220 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31221 __attribute__ ((unused)).
31224 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31225 x * y if x and y are nonzero and z is zero.
31228 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31229 nonzero exponents with absolute value below 0x1p-117 to +/-
31233 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31234 up arguments below 2**-450, not just those below 2**-500.
31235 * math/libm-test.inc (hypot_test): Add another test.
31238 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31239 Return a+b for ratio over 2**120, not 2**60.
31240 * math/libm-test.inc (hypot_test): Add another test.
31242 * math/libm-test.inc (clog_test): Use
31243 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31244 (clog10_test): Likewise.
31247 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31249 2012-11-22 Andreas Schwab <schwab@suse.de>
31251 * sysdeps/i386/fpu/libm-test-ulps: Update.
31253 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31255 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31256 printf output with newline.
31258 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31261 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31262 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31263 -z nodlopen, -z initfirst and -z execstack support.
31264 * configure: Regenerated.
31266 * elf/elf.h (DF_1_NODIRECT): New macro.
31267 (DF_1_IGNMULDEF): Likewise.
31268 (DF_1_NOKSYMS): Likewise.
31269 (DF_1_NOHDR): Likewise.
31270 (DF_1_EDITED): Likewise.
31271 (DF_1_NORELOC): Likewise.
31272 (DF_1_SYMINTPOSE): Likewise.
31273 (DF_1_GLOBAUDIT): Likewise.
31274 (DF_1_SINGLETON): Likewise.
31275 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31276 DT_1_SUPPORTED_MASK bits.
31277 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31279 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31281 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31283 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31285 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31288 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31289 (sendmmsg): Move declarations...
31290 * socket/sys/socket.h: ... here.
31291 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31292 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31294 * socket/recvmmsg.c: ... this new file.
31295 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31296 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31297 definition of __sendmmsg hidden.
31298 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31299 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31300 Move ENOSYS stub into and include it from...
31301 * socket/sendmmsg.c: ... this new file.
31302 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31303 (sysdep_routines): Move recvmmsg and sendmmsg...
31304 * socket/Makefile (routines): ... here.
31305 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31306 (GLIBC_PRIVATE): Add __sendmmsg.
31307 * include/sys/socket.h (__sendmmsg): Add declarations.
31308 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31311 2012-11-20 Joseph Myers <joseph@codesourcery.com>
31313 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31314 variable I1 with __attribute__ ((unused)).
31315 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31317 2012-11-19 Joseph Myers <joseph@codesourcery.com>
31319 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31320 DUMMY variables with __attribute__ ((unused)).
31322 * bits/byteswap.h: Include <bits/types.h>.
31323 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31325 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31327 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31328 string_t. Do not manually set errno.
31329 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31330 length with __strnlen. Make sure to both set errno and return it on
31333 2012-11-19 David S. Miller <davem@davemloft.net>
31335 With help from Joseph Myers.
31336 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31337 very large arguments properly.
31338 * math/libm-test.inc (atan_test): New tests.
31339 (atan2_test): New tests.
31340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31343 2012-11-19 Joseph Myers <joseph@codesourcery.com>
31346 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31349 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31350 [POSIX] (EADDRNOTAVAIL): Likewise.
31351 [POSIX] (EAFNOSUPPORT): Likewise.
31352 [POSIX] (EALREADY): Likewise.
31353 [POSIX] (ECONNABORTED): Likewise.
31354 [POSIX] (ECONNREFUSED): Likewise.
31355 [POSIX] (ECONNRESET): Likewise.
31356 [POSIX] (EDESTADDRREQ): Likewise.
31357 [POSIX] (EDQUOT): Likewise.
31358 [POSIX] (EHOSTUNREACH): Likewise.
31359 [POSIX] (EIDRM): Likewise.
31360 [POSIX] (EISCONN): Likewise.
31361 [POSIX] (ELOOP): Likewise.
31362 [POSIX] (EMULTIHOP): Likewise.
31363 [POSIX] (ENETDOWN): Likewise.
31364 [POSIX] (ENETUNREACH): Likewise.
31365 [POSIX] (ENOBUFS): Likewise.
31366 [POSIX] (ENODATA): Likewise.
31367 [POSIX] (ENOLINK): Likewise.
31368 [POSIX] (ENOMSG): Likewise.
31369 [POSIX] (ENOPROTOOPT): Likewise.
31370 [POSIX] (ENOSR): Likewise.
31371 [POSIX] (ENOSTR): Likewise.
31372 [POSIX] (ENOTCONN): Likewise.
31373 [POSIX] (ENOTSOCK): Likewise.
31374 [POSIX] (EOPNOTSUPP): Likewise.
31375 [POSIX] (EOVERFLOW): Likewise.
31376 [POSIX] (EPROTO): Likewise.
31377 [POSIX] (EPROTONOSUPPORT): Likewise.
31378 [POSIX] (EPROTOTYPE): Likewise.
31379 [POSIX] (ESTALE): Likewise.
31380 [POSIX] (ETIME): Likewise.
31381 [POSIX] (ETXTBSY): Likewise.
31382 [POSIX] (EWOULDBLOCK): Likewise.
31383 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31384 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31385 [POSIX] (SEEK_CUR): Likewise.
31386 [POSIX] (SEEK_END): Likewise.
31387 [POSIX || UNIX98] (mode_t): Do not require.
31388 [POSIX] (off_t): Likewise.
31389 [POSIX] (pid_t): Likewise.
31390 [POSIX] (sys/stat.h): Do not allow header.
31391 [POSIX] (unistd.h): Likewise.
31392 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31393 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31394 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31395 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31397 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31398 sigevent): Specify elements.
31399 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31401 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31402 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31404 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31405 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31406 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31407 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31408 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31409 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31410 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31411 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31412 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31413 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31414 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31415 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31416 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31417 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31419 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31421 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31423 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31425 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31426 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31427 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31428 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31429 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31430 Specify lower bound on value.
31431 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31432 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31433 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31434 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31435 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31436 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31437 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31438 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31440 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31442 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31443 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31444 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31445 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31446 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31447 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31448 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31449 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31450 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31451 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31452 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31453 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31454 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31455 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31456 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31457 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31459 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31461 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31462 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31463 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31464 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31465 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31466 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31468 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31469 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31470 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31471 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31472 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31473 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31474 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31476 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31477 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31478 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31479 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31480 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31481 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31482 specify as optional.
31483 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31484 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31485 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31486 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31487 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31488 [XPG3] (NL_LANGMAX): Likewise.
31489 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31490 [POSIX || XPG3] (NL_NMAX): Likewise.
31491 [POSIX || XPG3] (NL_SETMAX): Likewise.
31492 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31493 [XPG3] (NZERO): Likewise.
31494 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31495 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31496 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31497 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31498 (REG_ERANGE): Expect.
31499 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31501 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31502 Use (void) in prototype.
31503 [POSIX] (*_t): Allow.
31504 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31505 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31506 (WRDE_BADVAL): Expect.
31508 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31510 [XPG3 || XPG4] (O_RSYNC): Likewise.
31511 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31513 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31514 [XPG3 || XPG4] (sigqueue): Likewise.
31515 [XPG3 || XPG4] (sigtimedwait): Likewise.
31516 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31517 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31518 [XPG3 || XPG4] (vsnprintf): Likewise.
31519 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31521 [XPG3 || XPG4] (blksize_t): Likewise.
31522 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31524 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31525 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31526 [XPG3 || XPG4] (struct itimerspec): Likewise.
31527 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31528 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31529 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31530 [XPG3 || XPG4] (clockid_t): Likewise.
31531 [XPG3 || XPG4] (timer_t): Likewise.
31532 [XPG3 || XPG4] (clock_getres): Likewise.
31533 [XPG3 || XPG4] (clock_gettime): Likewise.
31534 [XPG3 || XPG4] (clock_settime): Likewise.
31535 [XPG3 || XPG4] (nanosleep): Likewise.
31536 [XPG3 || XPG4] (timer_create): Likewise.
31537 [XPG3 || XPG4] (timer_delete): Likewise.
31538 [XPG3 || XPG4] (timer_gettime): Likewise.
31539 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31540 [XPG3 || XPG4] (timer_settime): Likewise.
31541 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31542 [XPG3 || XPG4] (getlogin_r): Likewise.
31543 [XPG3 || XPG4] (pread): Likewise.
31544 [XPG3 || XPG4] (pthread_atfork): Likewise.
31545 [XPG3 || XPG4] (pwrite): Likewise.
31548 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31551 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31553 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31554 finalizing MALLSTREAM.
31556 * sysdeps/mach/hurd/syncfs.c: New file.
31558 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31561 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31562 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31563 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31564 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31565 (_nss_dns_gethostbyname4_r): Likewise.
31566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31567 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31569 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31572 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31574 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31576 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31577 * elf/cache.c (print_entry): Print ",AArch64" for
31580 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31581 * elf/cache.c (print_entry): Print ",hard-float" for
31584 2012-11-18 David S. Miller <davem@davemloft.net>
31586 With help from Joseph Myers.
31587 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31589 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31591 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31592 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31594 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31595 * math/libm-test.inc (y0_test): New tests.
31596 (y1_test): New tests.
31597 * sysdeps/i386/fpu/libm-test-ulps: Update.
31598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31601 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31603 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31605 * configure: Regenerated.
31607 2012-11-17 David S. Miller <davem@davemloft.net>
31610 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31611 nonzero exponents with absolute value below 0x1p-128 to +/-
31614 2012-11-17 Joseph Myers <joseph@codesourcery.com>
31616 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31618 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31620 * posix/getconf-speclist.c: New file.
31621 * posix/posix-envs.def: Likewise.
31622 * posix/confstr.c (START_ENV_GROUP): New macro.
31623 (END_ENV_GROUP): Likewise.
31624 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31625 (KNOWN_PRESENT_ENV_STRING): Likewise.
31626 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31627 (UNKNOWN_ENVIRONMENT): Likewise.
31628 (confstr): Include posix-envs.def instead of handling
31629 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31630 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31631 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31632 (END_ENV_GROUP): Likewise.
31633 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31634 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31635 (UNKNOWN_ENVIRONMENT): Likewise.
31636 (__sysconf): Include posix-envs.def instead of handling associated
31637 cases directly here.
31638 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31639 preprocessing getconf-speclist.c rather than running getconf or
31640 generating empty file.
31642 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31644 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31646 2012-11-16 Andrej Lajovic <natrij@gmail.com>
31649 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31651 2012-11-16 David S. Miller <davem@davemloft.net>
31653 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31654 smaller than LDBL_EPSILON/2.0L, just return xm1.
31656 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31658 * elf/tst-array1.c (init): Set constructor priority to 1000.
31659 (fini): Set destructor priority to 1000.
31660 * elf/tst-array2dep.c: Likewise.
31662 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31665 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31666 (_IO_new_file_xsputn): Also return EOF if none of the input
31667 data was written when overflow failed.
31668 * libio/iopadn.c (_IO_padn): Likewise.
31669 * libio/iowpadn.c (_IO_wpadn): Likewise.
31670 * stdio-common/tst-put-error.c: Add copyright notice.
31671 (do_test): Add case for printing padded string.
31672 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31673 _IO_padn returned error.
31674 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31675 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31678 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31680 * libio/libioP.h: Add comment note that the references to C++
31681 bits are now obsolete.
31683 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31685 * math/libm-test.inc (check_complex): Use asprintf.
31687 2012-11-14 Joseph Myers <joseph@codesourcery.com>
31689 * debug/pcprofiledump.c (print_version): Update copyright year.
31690 * malloc/memusagestat.c (print_version): Likewise.
31692 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31695 * elf/Makefile (tests): Add tst-audit8.
31696 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31697 ($(objpfx)tst-audit8.out): New target.
31698 (tst-audit8-ENV): New variable.
31699 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31700 audit if l_reloc_result is NULL.
31701 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31702 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31703 * elf/tst-audit8.c: New file.
31705 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31707 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31708 * misc/Makefile (CFLAGS-select.c): Define.
31709 * posix/Makefile (CFLAGS-pause.c): Define.
31711 2012-11-13 David S. Miller <davem@davemloft.net>
31713 * crypt/Makefile: Move test targets after toplevel Rules
31714 inclusion. Grab any necessary sysdep routines when linking.
31715 * crypt/md5.c (md5_process_block): Remove define, we will always
31716 name it __md5_process_block.
31717 (md5_finish_ctx): Update md5_process_block call.
31718 (md5_stream): Likewise.
31719 (md5_process_bytes): Likewise.
31720 (md5_process_block): Rename to __md5_process_block and move to ...
31721 * crypt/md5-block.c: ... here.
31722 * crypt/sha256.c (sha256_process_block): Move to ...
31723 * crypt/sha256-block.c: ... here.
31724 * crypt/sha512.c (sha512_process_block): Move to ...
31725 * crypt/sha512-block.c: ... here.
31726 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31728 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31729 * sysdeps/sparc/sparc64/multiarch/Makefile
31730 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31732 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31733 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31735 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31736 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31737 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31738 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31739 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31740 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31741 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31742 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31743 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31745 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31746 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31748 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31750 2012-11-13 Joseph Myers <joseph@codesourcery.com>
31752 * timezone/tzselect.ksh: Update from tzcode git revision
31753 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31754 * timezone/zdump.c: Likewise.
31755 * timezone/zic.c: Likewise.
31756 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31757 in TZVERSION setting, not $(PKGVERSION).
31758 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31759 REPORT_BUGS_TO settings.
31762 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31765 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31767 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31768 detection to immediately after _FP_ROUND().
31769 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31772 2012-11-11 David S. Miller <davem@davemloft.net>
31774 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31776 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31777 __close rather than their public counterparts.
31779 2012-11-10 Joseph Myers <joseph@codesourcery.com>
31781 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31783 [UNIX98] (sem_timedwait): Do not expect.
31784 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31785 [XPG4 || UNIX98] (sockatmark): Do not expect.
31786 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31787 (clock_getcpuclockid): Do not expect.
31788 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31789 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31791 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31792 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31793 [UNIX98] (vwscanf): Likewise.
31794 [UNIX98] (vswscanf): Likewise.
31796 2012-11-09 Joseph Myers <joseph@codesourcery.com>
31798 * timezone/version.h: Remove file.
31799 * timezone/README: Do not refer to version.h.
31800 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31801 $(objpfx)version.h.
31802 ($(objpfx)zdump.o): Likewise.
31803 ($(objpfx)version.h): New target.
31805 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31807 * timezone/README: Don't mention modification to tzselect.ksh.
31808 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31809 work on unmodified tzselect.ksh. Substitute version numbers in
31812 * Makefile (format-me): Remove.
31813 (INSTALL): Adjust indentation. Use commands directly instead of
31814 using $(format-me).
31816 * aclocal.m4 (ACX_PKGVERSION): New macro.
31817 (ACX_BUGURL): Likewise.
31818 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31819 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31820 (REPORT_BUGS_TO): Likewise.
31821 * configure: Regenerated.
31822 * config.h.in (PKGVERSION): New macro.
31823 (REPORT_BUGS_TO): Likewise.
31824 * config.make.in (PKGVERSION): New variable.
31825 (PKGVERSION_TEXI): Likewise.
31826 (REPORT_BUGS_TO): Likewise.
31827 (REPORT_BUGS_TEXI): Likewise.
31828 * Makefile (format-me): Use -I$(common-objpfx)manual.
31829 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31830 ($(common-objpfx)manual/%): New target.
31831 (manual/%): Remove target.
31832 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31833 (print_version): Use PKGVERSION.
31834 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31835 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31836 and REPORT_BUGS_TO.
31837 ($(objpfx)xtrace): Likewise.
31838 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31839 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31840 (print_version): Use PKGVERSION.
31841 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31842 (do_version): Use PKGVERSION.
31843 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31845 (common-ldd-rewrite): Likewise.
31846 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31847 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31848 (print_version): Use PKGVERSION.
31849 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31850 * elf/pldd.c (argp_program_bug_address): Remove variable.
31851 (more_help): New function.
31852 (argp): Use more_help.
31853 (print_version): Use PKGVERSION.
31854 * elf/sln.c (main): Use PKGVERSION.
31855 (usage): Use REPORT_BUGS_TO.
31856 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31857 (top level): Use PKGVERSION.
31858 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31859 (print_version): Use PKGVERSION.
31860 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31861 (print_version): Use PKGVERSION.
31862 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31863 (print_version): Use PKGVERSION.
31864 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31865 (print_version): Use PKGVERSION.
31866 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31867 (print_version): Use PKGVERSION.
31868 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31869 (print_version): Use PKGVERSION.
31870 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31872 ($(objpfx)memusage): Likewise.
31873 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31874 (do_version): Use PKGVERSION.
31875 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31876 (print_version): Use PKGVERSION.
31877 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31878 ($PKGVERSION): New variable.
31879 ($REPORT_BUGS_TO): Likewise.
31880 (usage): Use $REPORT_BUGS_TO.
31881 (top level): Use $PKGVERSION.
31882 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31883 ($(objpfx)pkgvers.texi): New rule.
31884 ($(objpfx)stamp-pkgvers): Likewise.
31885 * manual/install.texi: Include pkgvers.texi.
31886 (--with-pkgversion): Document new configure option.
31887 (--with-bugurl): Likewise.
31888 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31889 than necessarily for this particular distribution. Use
31890 REPORT_BUGS_TO for where to report bugs.
31891 * INSTALL: Regenerated.
31892 * manual/libc.texinfo: Include pkgvers.texi.
31893 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31894 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31895 (print_version): Use PKGVERSION.
31896 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31897 (print_version): Use PKGVERSION.
31898 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31899 (print_version): Use PKGVERSION.
31900 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31901 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31903 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31904 (print_version): Use PKGVERSION.
31905 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31906 (print_version): Use PKGVERSION.
31907 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31910 * timezone/checktab.awk: Update from tzcode 2012i.
31911 * timezone/ialloc.c: Likewise.
31912 * timezone/private.h: Likewise.
31913 * timezone/scheck.c: Likewise.
31914 * timezone/tzfile.h: Likewise.
31915 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31916 (TZVERSION): Hardcode tzcode version number.
31917 * timezone/zdump.c: Update from tzcode 2012i.
31918 * timezone/zic.c: Likewise.
31919 * timezone/version.h: New file.
31920 * timezone/README: Describe version.h. Update upstream location.
31923 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31924 (mktemp): Enable declaration.
31925 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31926 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31927 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31928 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31930 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31932 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31934 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31936 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31942 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31943 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31944 for copies of such integer values.
31945 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31946 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31948 2012-11-09 Andreas Jaeger <aj@suse.de>
31950 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31951 definitions and declarations that are provided by
31952 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31954 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31956 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31957 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31958 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31961 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31963 * elf/elf.h: Update comment before AArch64 relocations.
31965 2012-11-07 David S. Miller <davem@davemloft.net>
31967 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31968 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31969 (__start_context): Declare.
31970 (__makecontext_ret): Delete.
31971 (__makecontext): Hook up __start_context instead of
31973 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31974 (sysdep_routines): Add __start_context when in stdlib.
31976 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31978 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31979 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31980 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31982 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31983 (READELF): New variable. Use it instead of hardcoded "readelf".
31985 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31987 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31988 * sysdeps/x86/Makefile: Here.
31989 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31990 * sysdeps/x86/tst-xmmymm.sh: This.
31992 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31994 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31996 [UNIX98] (pthread_barrier_t): Do not expect.
31997 [UNIX98] (pthread_barrierattr_t): Likewise.
31998 [UNIX98] (pthread_spinlock_t): Likewise.
31999 [UNIX98] (pthread_barrier_destroy): Likewise.
32000 [UNIX98] (pthread_barrier_init): Likewise.
32001 [UNIX98] (pthread_barrier_wait): Likewise.
32002 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32003 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32004 [UNIX98] (pthread_barrierattr_init): Likewise.
32005 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32006 [UNIX98] (pthread_getcpuclockid): Likewise.
32007 [UNIX98] (pthread_mutex_timedlock): Likewise.
32008 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32009 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32010 [UNIX98] (pthread_sigmask): Likewise.
32011 [UNIX98] (pthread_spin_destroy): Likewise.
32012 [UNIX98] (pthread_spin_init): Likewise.
32013 [UNIX98] (pthread_spin_lock): Likewise.
32014 [UNIX98] (pthread_spin_trylock): Likewise.
32015 [UNIX98] (pthread_spin_unlock): Likewise.
32016 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32018 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32019 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32020 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32021 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32022 [XPG3 || XPG4] (pthread_key_t): Likewise.
32023 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32024 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32025 [XPG3 || XPG4] (pthread_once_t): Likewise.
32026 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32027 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32028 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32029 [XPG3 || XPG4] (pthread_t): Likewise.
32031 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32033 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32035 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32036 Change function return type to int.
32038 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32039 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32040 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32041 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32042 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32043 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32044 [!POSIX] (posix_madvise): Likewise.
32045 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32047 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32048 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32049 (mode_t): Likewise.
32050 (posix_mem_offset): Likewise.
32051 (posix_typed_mem_get_info): Likewise.
32052 (posix_typed_mem_open): Likewise.
32054 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32055 Change condition to [XOPEN2K8].
32057 * conform/conformtest.pl: Preprocess allow-header data with -x c
32058 instead of from stdin.
32059 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32060 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32061 [C99-based standards] (cerfc): Likewise.
32062 [C99-based standards] (cexp2): Likewise.
32063 [C99-based standards] (cexpm1): Likewise.
32064 [C99-based standards] (clog10): Likewise.
32065 [C99-based standards] (clog1p): Likewise.
32066 [C99-based standards] (clog2): Likewise.
32067 [C99-based standards] (clgamma): Likewise.
32068 [C99-based standards] (ctgamma): Likewise.
32069 [C99-based standards] (cerff): Likewise.
32070 [C99-based standards] (cerfcf): Likewise.
32071 [C99-based standards] (cexp2f): Likewise.
32072 [C99-based standards] (cexpm1f): Likewise.
32073 [C99-based standards] (clog10f): Likewise.
32074 [C99-based standards] (clog1pf): Likewise.
32075 [C99-based standards] (clog2f): Likewise.
32076 [C99-based standards] (clgammaf): Likewise.
32077 [C99-based standards] (ctgammaf): Likewise.
32078 [C99-based standards] (cerfl): Likewise.
32079 [C99-based standards] (cerfcl): Likewise.
32080 [C99-based standards] (cexp2l): Likewise.
32081 [C99-based standards] (cexpm1l): Likewise.
32082 [C99-based standards] (clog10l): Likewise.
32083 [C99-based standards] (clog1pl): Likewise.
32084 [C99-based standards] (clog2l): Likewise.
32085 [C99-based standards] (clgammal): Likewise.
32086 [C99-based standards] (ctgammal): Likewise.
32087 * conform/data/inttypes.h-data [C99-based standards]: Include
32088 stdint.h-data. Remove all expectations for stdint.h contents.
32089 [C99-based standards] (PRI*): Do not allow.
32090 [C99-based standards] (SCN*): Likewise.
32091 [C99-based standards] (*_t): Likewise.
32092 [C99-based-standards] (PRId8): Expect macro.
32093 [C99-based-standards] (PRIi8): Likewise.
32094 [C99-based-standards] (PRIo8): Likewise.
32095 [C99-based-standards] (PRIu8): Likewise.
32096 [C99-based-standards] (PRIx8): Likewise.
32097 [C99-based-standards] (PRIX8): Likewise.
32098 [C99-based-standards] (SCNd8): Likewise.
32099 [C99-based-standards] (SCNi8): Likewise.
32100 [C99-based-standards] (SCNo8): Likewise.
32101 [C99-based-standards] (SCNu8): Likewise.
32102 [C99-based-standards] (SCNx8): Likewise.
32103 [C99-based-standards] (PRIdLEAST8): Likewise.
32104 [C99-based-standards] (PRIiLEAST8): Likewise.
32105 [C99-based-standards] (PRIoLEAST8): Likewise.
32106 [C99-based-standards] (PRIuLEAST8): Likewise.
32107 [C99-based-standards] (PRIxLEAST8): Likewise.
32108 [C99-based-standards] (PRIXLEAST8): Likewise.
32109 [C99-based-standards] (SCNdLEAST8): Likewise.
32110 [C99-based-standards] (SCNiLEAST8): Likewise.
32111 [C99-based-standards] (SCNoLEAST8): Likewise.
32112 [C99-based-standards] (SCNuLEAST8): Likewise.
32113 [C99-based-standards] (SCNxLEAST8): Likewise.
32114 [C99-based-standards] (PRIdFAST8): Likewise.
32115 [C99-based-standards] (PRIiFAST8): Likewise.
32116 [C99-based-standards] (PRIoFAST8): Likewise.
32117 [C99-based-standards] (PRIuFAST8): Likewise.
32118 [C99-based-standards] (PRIxFAST8): Likewise.
32119 [C99-based-standards] (PRIXFAST8): Likewise.
32120 [C99-based-standards] (SCNdFAST8): Likewise.
32121 [C99-based-standards] (SCNiFAST8): Likewise.
32122 [C99-based-standards] (SCNoFAST8): Likewise.
32123 [C99-based-standards] (SCNuFAST8): Likewise.
32124 [C99-based-standards] (SCNxFAST8): Likewise.
32125 [C99-based-standards] (PRId16): Likewise.
32126 [C99-based-standards] (PRIi16): Likewise.
32127 [C99-based-standards] (PRIo16): Likewise.
32128 [C99-based-standards] (PRIu16): Likewise.
32129 [C99-based-standards] (PRIx16): Likewise.
32130 [C99-based-standards] (PRIX16): Likewise.
32131 [C99-based-standards] (SCNd16): Likewise.
32132 [C99-based-standards] (SCNi16): Likewise.
32133 [C99-based-standards] (SCNo16): Likewise.
32134 [C99-based-standards] (SCNu16): Likewise.
32135 [C99-based-standards] (SCNx16): Likewise.
32136 [C99-based-standards] (PRIdLEAST16): Likewise.
32137 [C99-based-standards] (PRIiLEAST16): Likewise.
32138 [C99-based-standards] (PRIoLEAST16): Likewise.
32139 [C99-based-standards] (PRIuLEAST16): Likewise.
32140 [C99-based-standards] (PRIxLEAST16): Likewise.
32141 [C99-based-standards] (PRIXLEAST16): Likewise.
32142 [C99-based-standards] (SCNdLEAST16): Likewise.
32143 [C99-based-standards] (SCNiLEAST16): Likewise.
32144 [C99-based-standards] (SCNoLEAST16): Likewise.
32145 [C99-based-standards] (SCNuLEAST16): Likewise.
32146 [C99-based-standards] (SCNxLEAST16): Likewise.
32147 [C99-based-standards] (PRIdFAST16): Likewise.
32148 [C99-based-standards] (PRIiFAST16): Likewise.
32149 [C99-based-standards] (PRIoFAST16): Likewise.
32150 [C99-based-standards] (PRIuFAST16): Likewise.
32151 [C99-based-standards] (PRIxFAST16): Likewise.
32152 [C99-based-standards] (PRIXFAST16): Likewise.
32153 [C99-based-standards] (SCNdFAST16): Likewise.
32154 [C99-based-standards] (SCNiFAST16): Likewise.
32155 [C99-based-standards] (SCNoFAST16): Likewise.
32156 [C99-based-standards] (SCNuFAST16): Likewise.
32157 [C99-based-standards] (SCNxFAST16): Likewise.
32158 [C99-based-standards] (PRId32): Likewise.
32159 [C99-based-standards] (PRIi32): Likewise.
32160 [C99-based-standards] (PRIo32): Likewise.
32161 [C99-based-standards] (PRIu32): Likewise.
32162 [C99-based-standards] (PRIx32): Likewise.
32163 [C99-based-standards] (PRIX32): Likewise.
32164 [C99-based-standards] (SCNd32): Likewise.
32165 [C99-based-standards] (SCNi32): Likewise.
32166 [C99-based-standards] (SCNo32): Likewise.
32167 [C99-based-standards] (SCNu32): Likewise.
32168 [C99-based-standards] (SCNx32): Likewise.
32169 [C99-based-standards] (PRIdLEAST32): Likewise.
32170 [C99-based-standards] (PRIiLEAST32): Likewise.
32171 [C99-based-standards] (PRIoLEAST32): Likewise.
32172 [C99-based-standards] (PRIuLEAST32): Likewise.
32173 [C99-based-standards] (PRIxLEAST32): Likewise.
32174 [C99-based-standards] (PRIXLEAST32): Likewise.
32175 [C99-based-standards] (SCNdLEAST32): Likewise.
32176 [C99-based-standards] (SCNiLEAST32): Likewise.
32177 [C99-based-standards] (SCNoLEAST32): Likewise.
32178 [C99-based-standards] (SCNuLEAST32): Likewise.
32179 [C99-based-standards] (SCNxLEAST32): Likewise.
32180 [C99-based-standards] (PRIdFAST32): Likewise.
32181 [C99-based-standards] (PRIiFAST32): Likewise.
32182 [C99-based-standards] (PRIoFAST32): Likewise.
32183 [C99-based-standards] (PRIuFAST32): Likewise.
32184 [C99-based-standards] (PRIxFAST32): Likewise.
32185 [C99-based-standards] (PRIXFAST32): Likewise.
32186 [C99-based-standards] (SCNdFAST32): Likewise.
32187 [C99-based-standards] (SCNiFAST32): Likewise.
32188 [C99-based-standards] (SCNoFAST32): Likewise.
32189 [C99-based-standards] (SCNuFAST32): Likewise.
32190 [C99-based-standards] (SCNxFAST32): Likewise.
32191 [C99-based-standards] (PRId64): Likewise.
32192 [C99-based-standards] (PRIi64): Likewise.
32193 [C99-based-standards] (PRIo64): Likewise.
32194 [C99-based-standards] (PRIu64): Likewise.
32195 [C99-based-standards] (PRIx64): Likewise.
32196 [C99-based-standards] (PRIX64): Likewise.
32197 [C99-based-standards] (SCNd64): Likewise.
32198 [C99-based-standards] (SCNi64): Likewise.
32199 [C99-based-standards] (SCNo64): Likewise.
32200 [C99-based-standards] (SCNu64): Likewise.
32201 [C99-based-standards] (SCNx64): Likewise.
32202 [C99-based-standards] (PRIdLEAST64): Likewise.
32203 [C99-based-standards] (PRIiLEAST64): Likewise.
32204 [C99-based-standards] (PRIoLEAST64): Likewise.
32205 [C99-based-standards] (PRIuLEAST64): Likewise.
32206 [C99-based-standards] (PRIxLEAST64): Likewise.
32207 [C99-based-standards] (PRIXLEAST64): Likewise.
32208 [C99-based-standards] (SCNdLEAST64): Likewise.
32209 [C99-based-standards] (SCNiLEAST64): Likewise.
32210 [C99-based-standards] (SCNoLEAST64): Likewise.
32211 [C99-based-standards] (SCNuLEAST64): Likewise.
32212 [C99-based-standards] (SCNxLEAST64): Likewise.
32213 [C99-based-standards] (PRIdFAST64): Likewise.
32214 [C99-based-standards] (PRIiFAST64): Likewise.
32215 [C99-based-standards] (PRIoFAST64): Likewise.
32216 [C99-based-standards] (PRIuFAST64): Likewise.
32217 [C99-based-standards] (PRIxFAST64): Likewise.
32218 [C99-based-standards] (PRIXFAST64): Likewise.
32219 [C99-based-standards] (SCNdFAST64): Likewise.
32220 [C99-based-standards] (SCNiFAST64): Likewise.
32221 [C99-based-standards] (SCNoFAST64): Likewise.
32222 [C99-based-standards] (SCNuFAST64): Likewise.
32223 [C99-based-standards] (SCNxFAST64): Likewise.
32224 [C99-based-standards] (PRIdMAX): Likewise.
32225 [C99-based-standards] (PRIiMAX): Likewise.
32226 [C99-based-standards] (PRIoMAX): Likewise.
32227 [C99-based-standards] (PRIuMAX): Likewise.
32228 [C99-based-standards] (PRIxMAX): Likewise.
32229 [C99-based-standards] (PRIXMAX): Likewise.
32230 [C99-based-standards] (SCNdMAX): Likewise.
32231 [C99-based-standards] (SCNiMAX): Likewise.
32232 [C99-based-standards] (SCNoMAX): Likewise.
32233 [C99-based-standards] (SCNuMAX): Likewise.
32234 [C99-based-standards] (SCNxMAX): Likewise.
32235 [C99-based-standards] (PRIdPTR): Likewise.
32236 [C99-based-standards] (PRIiPTR): Likewise.
32237 [C99-based-standards] (PRIoPTR): Likewise.
32238 [C99-based-standards] (PRIuPTR): Likewise.
32239 [C99-based-standards] (PRIxPTR): Likewise.
32240 [C99-based-standards] (PRIXPTR): Likewise.
32241 [C99-based-standards] (SCNdPTR): Likewise.
32242 [C99-based-standards] (SCNiPTR): Likewise.
32243 [C99-based-standards] (SCNoPTR): Likewise.
32244 [C99-based-standards] (SCNuPTR): Likewise.
32245 [C99-based-standards] (SCNxPTR): Likewise.
32246 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32248 * conform/data/stdint.h-data: Update comments to clarify
32250 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32252 [C99-based standards] (INT8_MAX): Likewise.
32253 [C99-based standards] (INT16_MIN): Likewise.
32254 [C99-based standards] (INT16_MAX): Likewise.
32255 [C99-based standards] (INT32_MIN): Likewise.
32256 [C99-based standards] (INT32_MAX): Likewise.
32257 [C99-based standards] (INT64_MIN): Likewise.
32258 [C99-based standards] (INT64_MAX): Likewise.
32259 [C99-based standards] (UINT8_MAX): Likewise.
32260 [C99-based standards] (UINT16_MAX): Likewise.
32261 [C99-based standards] (UINT32_MAX): Likewise.
32262 [C99-based standards] (UINT64_MAX): Likewise.
32263 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32264 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32265 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32266 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32267 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32268 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32269 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32270 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32271 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32272 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32273 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32274 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32275 [C99-based standards] (INT_FAST8_MIN): Likewise.
32276 [C99-based standards] (INT_FAST8_MAX): Likewise.
32277 [C99-based standards] (INT_FAST16_MIN): Likewise.
32278 [C99-based standards] (INT_FAST16_MAX): Likewise.
32279 [C99-based standards] (INT_FAST32_MIN): Likewise.
32280 [C99-based standards] (INT_FAST32_MAX): Likewise.
32281 [C99-based standards] (INT_FAST64_MIN): Likewise.
32282 [C99-based standards] (INT_FAST64_MAX): Likewise.
32283 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32284 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32285 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32286 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32287 [C99-based standards] (INTPTR_MIN): Likewise.
32288 [C99-based standards] (INTPTR_MAX): Likewise.
32289 [C99-based standards] (UINTPTR_MAX): Likewise.
32290 [C99-based standards] (INTMAX_MIN): Likewise.
32291 [C99-based standards] (INTMAX_MAX): Likewise.
32292 [C99-based standards] (UINTMAX_MAX): Likewise.
32293 [C99-based standards] (PTRDIFF_MIN): Likewise.
32294 [C99-based standards] (PTRDIFF_MAX): Likewise.
32295 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32296 [C99-based standards] (SIZE_MAX): Likewise.
32297 [C99-based standards] (WCHAR_MAX): Likewise.
32298 [C99-based standards] (WINT_MAX): Likewise.
32299 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32300 constraint on value.
32301 [C99-based standards] (WCHAR_MIN): Likewise.
32302 [C99-based standards] (WINT_MIN): Likewise.
32303 [C99-based standards] (*_t): Allow.
32304 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32305 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32306 Include math.h-data and complex.h-data. Remove all expectations
32307 of math.h and complex.h contents.
32308 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32310 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32311 (struct tm): Expect tag.
32312 [C99-based-standards] (wcstof): Expect function.
32313 [C99-based-standards] (wcstold): Likewise.
32314 [C99-based-standards] (wcstoll): Likewise.
32315 [C99-based-standards] (wcstoull): Likewise.
32316 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32317 macro-int-constant. Specify type.
32318 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32319 constraint on value.
32320 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32322 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32324 [ISO C standards]: Do not allow headers.
32325 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32326 wcs[abcdefghijklmnopqrstuvwxyz]*.
32327 [ISO C standards] (*_t): Do not allow.
32328 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32330 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32331 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32333 [ISO C standards]: Do not allow headers.
32334 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32335 is[abcdefghijklmnopqrstuvwxyz]*.
32336 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32337 to[abcdefghijklmnopqrstuvwxyz]*.
32338 [ISO C standards] (*_t): Do not allow.
32339 * conform/data/stdalign.h-data: New file.
32340 * conform/data/stdbool.h-data: Likewise.
32341 * conform/data/stdnoreturn.h-data: Likewise.
32343 2012-11-07 Roland McGrath <roland@hack.frob.com>
32346 * manual/filesys.texi (Directory Entries): Typo fix.
32347 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32349 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32351 * elf/elf.h (EM_AARCH64): New macro.
32352 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32353 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32354 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32355 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32356 (R_AARCH64_TLSDESC): Likewise.
32357 (NT_ARM_TLS): Likewise.
32358 (NT_ARM_HW_BREAK): Likewise.
32359 (NT_ARM_HW_WATCH): Likewise.
32361 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32364 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32365 (__ieee754_powl): Saturate nonzero exponents with absolute value
32366 below 0x1p-79 to +/- 0x1p-79.
32367 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32368 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32369 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32370 nonzero exponents with absolute value below 0x1p-32 to +/-
32372 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32373 (__ieee754_powl): Saturate nonzero exponents with absolute value
32374 below 0x1p-79 to +/- 0x1p-79.
32375 * math/libm-test.inc (pow_test): Add more tests.
32377 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32379 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32380 _dl_s390_cap_flags with kernel. Increase string length.
32381 (_dl_s390_platforms): Add z196 and zEC12.
32383 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32385 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32386 Change XOPEN21K to XOPEN2K.
32388 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32390 * string/memmove.c: Use memcpy when possible.
32392 2012-11-06 Andreas Jaeger <aj@suse.de>
32394 * po/eo.po: Update from translation team.
32396 2012-11-06 Joseph Myers <joseph@codesourcery.com>
32399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32400 exponent and small x and y exponents, scale x or y up. Increase
32401 by 2 the exponent used in scaling up.
32402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32403 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32404 * math/libm-test.inc (fma_test): Add more tests.
32405 (fma_test_towardzero): Likewise.
32406 (fma_test_downward): Likewise.
32407 (fma_test_upward): Likewise.
32409 2012-11-05 Joseph Myers <joseph@codesourcery.com>
32412 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32416 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32417 namespace for names of struct fields.
32418 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32420 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32421 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32423 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32426 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32428 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32430 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32434 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32437 2012-11-04 Joseph Myers <joseph@codesourcery.com>
32440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32441 definitely overflow as x * y not x * y + z.
32442 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32443 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32444 * math/libm-test.inc (fma_test): Add more tests.
32445 (fma_test_towardzero): Likewise.
32446 (fma_test_downward): Likewise.
32447 (fma_test_upward): Likewise.
32449 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32453 * include/stub-tag.h: Remove file.
32454 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32456 * manual/maint.texi (Porting): Don't reference it.
32457 * Makerules ($(objpfx)stubs): Likewise.
32458 * dirent/closedir.c: Don't include <stub-tag.h>.
32459 * dirent/dirfd.c: Likewise.
32460 * dirent/fdopendir.c: Likewise.
32461 * dirent/getdents.c: Likewise.
32462 * dirent/getdents64.c: Likewise.
32463 * dirent/opendir.c: Likewise.
32464 * dirent/readdir.c: Likewise.
32465 * dirent/readdir64.c: Likewise.
32466 * dirent/readdir64_r.c: Likewise.
32467 * dirent/readdir_r.c: Likewise.
32468 * dirent/rewinddir.c: Likewise.
32469 * dirent/seekdir.c: Likewise.
32470 * dirent/telldir.c: Likewise.
32471 * gmon/profil.c: Likewise.
32472 * grp/setgroups.c: Likewise.
32473 * inet/if_index.c: Likewise.
32474 * io/access.c: Likewise.
32475 * io/chdir.c: Likewise.
32476 * io/chmod.c: Likewise.
32477 * io/chown.c: Likewise.
32478 * io/close.c: Likewise.
32479 * io/dup.c: Likewise.
32480 * io/dup2.c: Likewise.
32481 * io/dup3.c: Likewise.
32482 * io/euidaccess.c: Likewise.
32483 * io/faccessat.c: Likewise.
32484 * io/fchdir.c: Likewise.
32485 * io/fchmod.c: Likewise.
32486 * io/fchmodat.c: Likewise.
32487 * io/fchown.c: Likewise.
32488 * io/fchownat.c: Likewise.
32489 * io/fcntl.c: Likewise.
32490 * io/flock.c: Likewise.
32491 * io/fstatfs.c: Likewise.
32492 * io/fstatfs64.c: Likewise.
32493 * io/fstatvfs.c: Likewise.
32494 * io/fstatvfs64.c: Likewise.
32495 * io/futimens.c: Likewise.
32496 * io/fxstat.c: Likewise.
32497 * io/fxstat64.c: Likewise.
32498 * io/fxstatat.c: Likewise.
32499 * io/fxstatat64.c: Likewise.
32500 * io/getcwd.c: Likewise.
32501 * io/isatty.c: Likewise.
32502 * io/lchmod.c: Likewise.
32503 * io/lchown.c: Likewise.
32504 * io/link.c: Likewise.
32505 * io/linkat.c: Likewise.
32506 * io/lseek.c: Likewise.
32507 * io/lseek64.c: Likewise.
32508 * io/lxstat64.c: Likewise.
32509 * io/mkdir.c: Likewise.
32510 * io/mkdirat.c: Likewise.
32511 * io/mkfifo.c: Likewise.
32512 * io/mkfifoat.c: Likewise.
32513 * io/open.c: Likewise.
32514 * io/open64.c: Likewise.
32515 * io/openat.c: Likewise.
32516 * io/openat64.c: Likewise.
32517 * io/pipe.c: Likewise.
32518 * io/pipe2.c: Likewise.
32519 * io/poll.c: Likewise.
32520 * io/posix_fadvise.c: Likewise.
32521 * io/posix_fadvise64.c: Likewise.
32522 * io/posix_fallocate.c: Likewise.
32523 * io/posix_fallocate64.c: Likewise.
32524 * io/read.c: Likewise.
32525 * io/readlink.c: Likewise.
32526 * io/readlinkat.c: Likewise.
32527 * io/rmdir.c: Likewise.
32528 * io/sendfile.c: Likewise.
32529 * io/sendfile64.c: Likewise.
32530 * io/statfs.c: Likewise.
32531 * io/statfs64.c: Likewise.
32532 * io/statvfs.c: Likewise.
32533 * io/statvfs64.c: Likewise.
32534 * io/symlink.c: Likewise.
32535 * io/symlinkat.c: Likewise.
32536 * io/ttyname.c: Likewise.
32537 * io/ttyname_r.c: Likewise.
32538 * io/umask.c: Likewise.
32539 * io/unlink.c: Likewise.
32540 * io/unlinkat.c: Likewise.
32541 * io/utime.c: Likewise.
32542 * io/utimensat.c: Likewise.
32543 * io/write.c: Likewise.
32544 * io/xmknod.c: Likewise.
32545 * io/xmknodat.c: Likewise.
32546 * io/xstat.c: Likewise.
32547 * io/xstat64.c: Likewise.
32548 * login/getpt.c: Likewise.
32549 * login/grantpt.c: Likewise.
32550 * login/unlockpt.c: Likewise.
32551 * math/e_acoshl.c: Likewise.
32552 * math/e_acosl.c: Likewise.
32553 * math/e_asinl.c: Likewise.
32554 * math/e_atan2l.c: Likewise.
32555 * math/e_atanhl.c: Likewise.
32556 * math/e_coshl.c: Likewise.
32557 * math/e_expl.c: Likewise.
32558 * math/e_fmodl.c: Likewise.
32559 * math/e_gammal_r.c: Likewise.
32560 * math/e_hypotl.c: Likewise.
32561 * math/e_j0l.c: Likewise.
32562 * math/e_j1l.c: Likewise.
32563 * math/e_jnl.c: Likewise.
32564 * math/e_lgammal_r.c: Likewise.
32565 * math/e_log10l.c: Likewise.
32566 * math/e_log2l.c: Likewise.
32567 * math/e_logl.c: Likewise.
32568 * math/e_powl.c: Likewise.
32569 * math/e_rem_pio2l.c: Likewise.
32570 * math/e_sinhl.c: Likewise.
32571 * math/e_sqrtl.c: Likewise.
32572 * math/fclrexcpt.c: Likewise.
32573 * math/fedisblxcpt.c: Likewise.
32574 * math/feenablxcpt.c: Likewise.
32575 * math/fegetenv.c: Likewise.
32576 * math/fegetexcept.c: Likewise.
32577 * math/fegetround.c: Likewise.
32578 * math/feholdexcpt.c: Likewise.
32579 * math/fesetenv.c: Likewise.
32580 * math/fesetround.c: Likewise.
32581 * math/feupdateenv.c: Likewise.
32582 * math/fgetexcptflg.c: Likewise.
32583 * math/fraiseexcpt.c: Likewise.
32584 * math/fsetexcptflg.c: Likewise.
32585 * math/ftestexcept.c: Likewise.
32586 * math/k_cosl.c: Likewise.
32587 * math/k_rem_pio2l.c: Likewise.
32588 * math/k_sinl.c: Likewise.
32589 * math/k_tanl.c: Likewise.
32590 * math/s_asinhl.c: Likewise.
32591 * math/s_atanl.c: Likewise.
32592 * math/s_cbrtl.c: Likewise.
32593 * math/s_erfl.c: Likewise.
32594 * math/s_expm1l.c: Likewise.
32595 * math/s_log1pl.c: Likewise.
32596 * math/s_tanhl.c: Likewise.
32597 * misc/acct.c: Likewise.
32598 * misc/brk.c: Likewise.
32599 * misc/chflags.c: Likewise.
32600 * misc/chroot.c: Likewise.
32601 * misc/fchflags.c: Likewise.
32602 * misc/fgetxattr.c: Likewise.
32603 * misc/flistxattr.c: Likewise.
32604 * misc/fremovexattr.c: Likewise.
32605 * misc/fsetxattr.c: Likewise.
32606 * misc/fsync.c: Likewise.
32607 * misc/ftruncate.c: Likewise.
32608 * misc/futimes.c: Likewise.
32609 * misc/futimesat.c: Likewise.
32610 * misc/getdomain.c: Likewise.
32611 * misc/getdtsz.c: Likewise.
32612 * misc/gethostid.c: Likewise.
32613 * misc/gethostname.c: Likewise.
32614 * misc/getloadavg.c: Likewise.
32615 * misc/getpagesize.c: Likewise.
32616 * misc/getsysstats.c: Likewise.
32617 * misc/getxattr.c: Likewise.
32618 * misc/gtty.c: Likewise.
32619 * misc/ioctl.c: Likewise.
32620 * misc/lgetxattr.c: Likewise.
32621 * misc/listxattr.c: Likewise.
32622 * misc/llistxattr.c: Likewise.
32623 * misc/lremovexattr.c: Likewise.
32624 * misc/lsetxattr.c: Likewise.
32625 * misc/lutimes.c: Likewise.
32626 * misc/madvise.c: Likewise.
32627 * misc/mincore.c: Likewise.
32628 * misc/mlock.c: Likewise.
32629 * misc/mlockall.c: Likewise.
32630 * misc/mmap.c: Likewise.
32631 * misc/mprotect.c: Likewise.
32632 * misc/msync.c: Likewise.
32633 * misc/munlock.c: Likewise.
32634 * misc/munlockall.c: Likewise.
32635 * misc/munmap.c: Likewise.
32636 * misc/preadv.c: Likewise.
32637 * misc/preadv64.c: Likewise.
32638 * misc/ptrace.c: Likewise.
32639 * misc/pwritev.c: Likewise.
32640 * misc/pwritev64.c: Likewise.
32641 * misc/readv.c: Likewise.
32642 * misc/reboot.c: Likewise.
32643 * misc/remap_file_pages.c: Likewise.
32644 * misc/removexattr.c: Likewise.
32645 * misc/revoke.c: Likewise.
32646 * misc/select.c: Likewise.
32647 * misc/setdomain.c: Likewise.
32648 * misc/setegid.c: Likewise.
32649 * misc/seteuid.c: Likewise.
32650 * misc/sethostid.c: Likewise.
32651 * misc/sethostname.c: Likewise.
32652 * misc/setregid.c: Likewise.
32653 * misc/setreuid.c: Likewise.
32654 * misc/setxattr.c: Likewise.
32655 * misc/sstk.c: Likewise.
32656 * misc/stty.c: Likewise.
32657 * misc/swapoff.c: Likewise.
32658 * misc/swapon.c: Likewise.
32659 * misc/sync.c: Likewise.
32660 * misc/syncfs.c: Likewise.
32661 * misc/syscall.c: Likewise.
32662 * misc/truncate.c: Likewise.
32663 * misc/ualarm.c: Likewise.
32664 * misc/usleep.c: Likewise.
32665 * misc/ustat.c: Likewise.
32666 * misc/utimes.c: Likewise.
32667 * misc/vhangup.c: Likewise.
32668 * misc/writev.c: Likewise.
32669 * posix/_exit.c: Likewise.
32670 * posix/alarm.c: Likewise.
32671 * posix/execve.c: Likewise.
32672 * posix/fexecve.c: Likewise.
32673 * posix/fork.c: Likewise.
32674 * posix/fpathconf.c: Likewise.
32675 * posix/getaddrinfo.c: Likewise.
32676 * posix/getegid.c: Likewise.
32677 * posix/geteuid.c: Likewise.
32678 * posix/getgid.c: Likewise.
32679 * posix/getgroups.c: Likewise.
32680 * posix/getlogin.c: Likewise.
32681 * posix/getlogin_r.c: Likewise.
32682 * posix/getpgid.c: Likewise.
32683 * posix/getpid.c: Likewise.
32684 * posix/getppid.c: Likewise.
32685 * posix/getresgid.c: Likewise.
32686 * posix/getresuid.c: Likewise.
32687 * posix/getsid.c: Likewise.
32688 * posix/getuid.c: Likewise.
32689 * posix/glob64.c: Likewise.
32690 * posix/nanosleep.c: Likewise.
32691 * posix/pathconf.c: Likewise.
32692 * posix/pause.c: Likewise.
32693 * posix/posix_madvise.c: Likewise.
32694 * posix/pread.c: Likewise.
32695 * posix/pread64.c: Likewise.
32696 * posix/pwrite.c: Likewise.
32697 * posix/pwrite64.c: Likewise.
32698 * posix/sched_getaffinity.c: Likewise.
32699 * posix/sched_getp.c: Likewise.
32700 * posix/sched_gets.c: Likewise.
32701 * posix/sched_primax.c: Likewise.
32702 * posix/sched_primin.c: Likewise.
32703 * posix/sched_rr_gi.c: Likewise.
32704 * posix/sched_setaffinity.c: Likewise.
32705 * posix/sched_setp.c: Likewise.
32706 * posix/sched_sets.c: Likewise.
32707 * posix/sched_yield.c: Likewise.
32708 * posix/setgid.c: Likewise.
32709 * posix/setlogin.c: Likewise.
32710 * posix/setpgid.c: Likewise.
32711 * posix/setresgid.c: Likewise.
32712 * posix/setresuid.c: Likewise.
32713 * posix/setsid.c: Likewise.
32714 * posix/setuid.c: Likewise.
32715 * posix/sleep.c: Likewise.
32716 * posix/spawni.c: Likewise.
32717 * posix/sysconf.c: Likewise.
32718 * posix/times.c: Likewise.
32719 * posix/wait.c: Likewise.
32720 * posix/wait3.c: Likewise.
32721 * posix/wait4.c: Likewise.
32722 * posix/waitpid.c: Likewise.
32723 * resolv/gai_sigqueue.c: Likewise.
32724 * resource/getpriority.c: Likewise.
32725 * resource/getrlimit.c: Likewise.
32726 * resource/getrusage.c: Likewise.
32727 * resource/nice.c: Likewise.
32728 * resource/setpriority.c: Likewise.
32729 * resource/setrlimit.c: Likewise.
32730 * resource/ulimit.c: Likewise.
32731 * rt/aio_cancel.c: Likewise.
32732 * rt/aio_fsync.c: Likewise.
32733 * rt/aio_read.c: Likewise.
32734 * rt/aio_sigqueue.c: Likewise.
32735 * rt/aio_suspend.c: Likewise.
32736 * rt/aio_write.c: Likewise.
32737 * rt/clock_getres.c: Likewise.
32738 * rt/clock_gettime.c: Likewise.
32739 * rt/clock_nanosleep.c: Likewise.
32740 * rt/clock_settime.c: Likewise.
32741 * rt/lio_listio.c: Likewise.
32742 * rt/mq_close.c: Likewise.
32743 * rt/mq_getattr.c: Likewise.
32744 * rt/mq_notify.c: Likewise.
32745 * rt/mq_open.c: Likewise.
32746 * rt/mq_receive.c: Likewise.
32747 * rt/mq_send.c: Likewise.
32748 * rt/mq_setattr.c: Likewise.
32749 * rt/mq_timedreceive.c: Likewise.
32750 * rt/mq_timedsend.c: Likewise.
32751 * rt/mq_unlink.c: Likewise.
32752 * rt/shm_open.c: Likewise.
32753 * rt/shm_unlink.c: Likewise.
32754 * rt/timer_create.c: Likewise.
32755 * rt/timer_delete.c: Likewise.
32756 * rt/timer_getoverr.c: Likewise.
32757 * rt/timer_gettime.c: Likewise.
32758 * rt/timer_settime.c: Likewise.
32759 * setjmp/__longjmp.c: Likewise.
32760 * setjmp/setjmp.c: Likewise.
32761 * signal/kill.c: Likewise.
32762 * signal/killpg.c: Likewise.
32763 * signal/raise.c: Likewise.
32764 * signal/sigaction.c: Likewise.
32765 * signal/sigaltstack.c: Likewise.
32766 * signal/sigblock.c: Likewise.
32767 * signal/sigignore.c: Likewise.
32768 * signal/sigintr.c: Likewise.
32769 * signal/signal.c: Likewise.
32770 * signal/sigpause.c: Likewise.
32771 * signal/sigpending.c: Likewise.
32772 * signal/sigqueue.c: Likewise.
32773 * signal/sigreturn.c: Likewise.
32774 * signal/sigset.c: Likewise.
32775 * signal/sigsetmask.c: Likewise.
32776 * signal/sigstack.c: Likewise.
32777 * signal/sigsuspend.c: Likewise.
32778 * signal/sigtimedwait.c: Likewise.
32779 * signal/sigvec.c: Likewise.
32780 * signal/sigwait.c: Likewise.
32781 * signal/sigwaitinfo.c: Likewise.
32782 * signal/sysv_signal.c: Likewise.
32783 * socket/accept.c: Likewise.
32784 * socket/accept4.c: Likewise.
32785 * socket/bind.c: Likewise.
32786 * socket/connect.c: Likewise.
32787 * socket/getpeername.c: Likewise.
32788 * socket/getsockname.c: Likewise.
32789 * socket/getsockopt.c: Likewise.
32790 * socket/isfdtype.c: Likewise.
32791 * socket/listen.c: Likewise.
32792 * socket/recv.c: Likewise.
32793 * socket/recvfrom.c: Likewise.
32794 * socket/recvmsg.c: Likewise.
32795 * socket/send.c: Likewise.
32796 * socket/sendmsg.c: Likewise.
32797 * socket/sendto.c: Likewise.
32798 * socket/setsockopt.c: Likewise.
32799 * socket/shutdown.c: Likewise.
32800 * socket/sockatmark.c: Likewise.
32801 * socket/socket.c: Likewise.
32802 * socket/socketpair.c: Likewise.
32803 * stdio-common/ctermid.c: Likewise.
32804 * stdio-common/cuserid.c: Likewise.
32805 * stdio-common/remove.c: Likewise.
32806 * stdio-common/rename.c: Likewise.
32807 * stdio-common/renameat.c: Likewise.
32808 * stdio-common/tempname.c: Likewise.
32809 * stdlib/getcontext.c: Likewise.
32810 * stdlib/makecontext.c: Likewise.
32811 * stdlib/setcontext.c: Likewise.
32812 * stdlib/swapcontext.c: Likewise.
32813 * stdlib/system.c: Likewise.
32814 * streams/fattach.c: Likewise.
32815 * streams/fdetach.c: Likewise.
32816 * streams/getmsg.c: Likewise.
32817 * streams/getpmsg.c: Likewise.
32818 * streams/putmsg.c: Likewise.
32819 * streams/putpmsg.c: Likewise.
32820 * sysdeps/unix/bsd/getpt.c: Likewise.
32821 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32822 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32823 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32826 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32827 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32828 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32829 * sysvipc/msgctl.c: Likewise.
32830 * sysvipc/msgget.c: Likewise.
32831 * sysvipc/msgrcv.c: Likewise.
32832 * sysvipc/msgsnd.c: Likewise.
32833 * sysvipc/semctl.c: Likewise.
32834 * sysvipc/semget.c: Likewise.
32835 * sysvipc/semop.c: Likewise.
32836 * sysvipc/semtimedop.c: Likewise.
32837 * sysvipc/shmat.c: Likewise.
32838 * sysvipc/shmctl.c: Likewise.
32839 * sysvipc/shmdt.c: Likewise.
32840 * sysvipc/shmget.c: Likewise.
32841 * termios/tcdrain.c: Likewise.
32842 * termios/tcflow.c: Likewise.
32843 * termios/tcflush.c: Likewise.
32844 * termios/tcgetattr.c: Likewise.
32845 * termios/tcgetpgrp.c: Likewise.
32846 * termios/tcsendbrk.c: Likewise.
32847 * termios/tcsetattr.c: Likewise.
32848 * termios/tcsetpgrp.c: Likewise.
32849 * time/adjtime.c: Likewise.
32850 * time/clock.c: Likewise.
32851 * time/getitimer.c: Likewise.
32852 * time/gettimeofday.c: Likewise.
32853 * time/setitimer.c: Likewise.
32854 * time/settimeofday.c: Likewise.
32855 * time/stime.c: Likewise.
32856 * time/time.c: Likewise.
32858 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
32860 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32863 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32865 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32867 2012-11-03 Joseph Myers <joseph@codesourcery.com>
32870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32871 FE_TONEAREST before applying Dekker multiplication and Knuth
32872 addition. Clear inexact exceptions and check for exact zero
32873 results afterwards.
32874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32875 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32876 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32877 * math/libm-test.inc (fma_test): Add more tests.
32878 (fma_test_towardzero): Likewise.
32879 (fma_test_downward): Likewise.
32880 (fma_test_upward): Likewise.
32881 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32883 (libc_fesetround): New macro.
32884 (libc_fesetroundf): Likewise.
32885 (libc_fesetroundl): Likewise.
32886 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32888 (libc_fesetround_387): Likewise.
32889 (libc_fesetroundf): New macro.
32890 (libc_fesetround): Likewise.
32891 (libc_fesetroundl): Likewise.
32892 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32894 (libc_fesetroundf): New macro.
32895 (libc_fesetround): Likewise.
32896 (libc_fesetroundl): Likewise.
32897 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32898 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32899 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32901 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32902 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32904 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32905 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32907 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32911 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32912 integer constant usable in #if and use that to give value to enum
32914 (FE_DIVBYZERO): Likewise.
32915 (FE_UNDERFLOW): Likewise.
32916 (FE_OVERFLOW): Likewise.
32917 (FE_INVALID): Likewise.
32918 (FE_INVALID_SNAN): Likewise.
32919 (FE_INVALID_ISI): Likewise.
32920 (FE_INVALID_IDI): Likewise.
32921 (FE_INVALID_ZDZ): Likewise.
32922 (FE_INVALID_IMZ): Likewise.
32923 (FE_INVALID_COMPARE): Likewise.
32924 (FE_INVALID_SOFTWARE): Likewise.
32925 (FE_INVALID_SQRT): Likewise.
32926 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32927 (FE_TONEAREST): Likewise.
32928 (FE_TOWARDZERO): Likewise.
32929 (FE_UPWARD): Likewise.
32930 (FE_DOWNWARD): Likewise.
32931 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32932 (FE_DIVBYZERO): Likewise.
32933 (FE_OVERFLOW): Likewise.
32934 (FE_UNDERFLOW): Likewise.
32935 (FE_INEXACT): Likewise.
32936 (FE_TONEAREST): Likewise.
32937 (FE_DOWNWARD): Likewise.
32938 (FE_UPWARD): Likewise.
32939 (FE_TOWARDZERO): Likewise.
32940 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32941 (FE_UNDERFLOW): Likewise.
32942 (FE_OVERFLOW): Likewise.
32943 (FE_DIVBYZERO): Likewise.
32944 (FE_INVALID): Likewise.
32945 (FE_TONEAREST): Likewise.
32946 (FE_TOWARDZERO): Likewise.
32947 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32948 (FE_OVERFLOW): Likewise.
32949 (FE_UNDERFLOW): Likewise.
32950 (FE_DIVBYZERO): Likewise.
32951 (FE_INEXACT): Likewise.
32952 (FE_TONEAREST): Likewise.
32953 (FE_TOWARDZERO): Likewise.
32954 (FE_UPWARD): Likewise.
32955 (FE_DOWNWARD): Likewise.
32956 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32957 (FE_DIVBYZERO): Likewise.
32958 (FE_OVERFLOW): Likewise.
32959 (FE_UNDERFLOW): Likewise.
32960 (FE_INEXACT): Likewise.
32961 (FE_TONEAREST): Likewise.
32962 (FE_DOWNWARD): Likewise.
32963 (FE_UPWARD): Likewise.
32964 (FE_TOWARDZERO): Likewise.
32966 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32968 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32970 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32972 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32973 commands. Quote $PWD.
32974 (blacklist_exports): Don't use remove_newlines. Replace "declare
32976 (remove_newlines): Remove.
32978 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32980 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32981 * stdlib/stdlib.h (atof): Moved to ...
32982 * include/bits/stdlib-float.h: Here. New file.
32983 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32984 * stdlib/bits/stdlib-float.h: New file.
32985 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32987 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32990 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32992 * conform/conformtest.pl (@headers): Add fenv.h.
32993 * conform/data/fenv.h-data: New file.
32994 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32995 include of <math/fenv.h>.
32997 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32998 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32999 && !UNIX98]. Enables tests for XOPEN2K8.
33000 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33001 POSIX2008]: Likewise.
33003 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33004 (struct rusage): Do not expect type or its members.
33007 * math/math.h (FP_NAN): Define macro to integer constant usable in
33008 #if and use that to give value to enum constant.
33009 (FP_INFINITE): Likewise.
33010 (FP_ZERO): Likewise.
33011 (FP_SUBNORMAL): Likewise.
33012 (FP_NORMAL): Likewise.
33014 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33016 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33017 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33020 2012-11-02 Roland McGrath <roland@hack.frob.com>
33022 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33023 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33024 autoconf-time if not.
33025 * configure.in: Remove AC_PREREQ.
33027 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33029 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33030 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33031 of the internal implementation.
33033 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33035 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33036 except include of <misc/sys/syslog.h>.
33038 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33041 function returns with a NULL context exit with zero.
33043 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33045 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33047 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33049 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33050 (run_program_cmd): This.
33051 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33052 (tst_langinfo): New variable. Use it.
33054 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33056 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33057 floating point opcodes.
33059 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33061 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33064 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33066 * sysdeps/mach/hurd/powerpc: Remove directory.
33067 * sysdeps/mach/powerpc: Likewise.
33069 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33071 * scripts/check-local-headers.sh: Ignore c++ headers.
33073 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33075 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33076 __libc_cleanup_region_start argument.
33078 2012-11-01 Joseph Myers <joseph@codesourcery.com>
33082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33083 x * y using scaling, not as x * y + z.
33084 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33085 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33086 * math/libm-test.inc (fma_test): Add more tests.
33087 (fma_test_towardzero): Likewise.
33088 (fma_test_downward): Likewise.
33089 (fma_test_upward): Likewise.
33091 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33093 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33095 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33097 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33100 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33102 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33104 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33111 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33114 Fix the order of the list for glibc 2.17.
33115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33118 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33122 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33125 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33126 for low part of x being zero before using __atanl (y).
33127 * math/libm-test.inc (atan2_test): Add another test.
33129 * manual/install.texi (Configuring and compiling): Document
33130 general use of test-wrapper and test-wrapper-env.
33131 * INSTALL: Regenerated.
33133 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33134 (__fma): Do not extract and scale down low bits on after-rounding
33135 systems when result rounded to normal precision would have normal
33137 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33138 (__fmal): Do not extract and scale down low bits on after-rounding
33139 systems when result rounded to normal precision would have normal
33141 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33142 (__fmal): Do not extract and scale down low bits on after-rounding
33143 systems when result rounded to normal precision would have normal
33145 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33147 (fma_test): Add more tests.
33148 (fma_test_towardzero): Likewise.
33149 (fma_test_downward): Likewise.
33150 (fma_test_upward): Likewise.
33152 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33154 * sysdeps/i386/tininess.h: Renamed to ...
33155 * sysdeps/x86/tininess.h: This.
33156 * sysdeps/x86_64/tininess.h: Removed.
33158 2012-10-30 Joseph Myers <joseph@codesourcery.com>
33160 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33161 input. Use $(build-program-cmd).
33162 ($(objpfx)tst-array1-static.out): Likewise.
33163 ($(objpfx)tst-array2.out): Likewise.
33164 ($(objpfx)tst-array3.out): Likewise.
33165 ($(objpfx)tst-array4.out): Likewise.
33166 ($(objpfx)tst-array5.out): Likewise.
33167 ($(objpfx)tst-array5-static.out): Likewise.
33169 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33171 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33174 * nss/nsswitch.h (nss_interface_function): Provide new
33175 macro for use with NSS functions.
33176 * grp/initgroups.c: Use new macro.
33177 * nss/getXXbyYY.c: Likewise.
33178 * nss/getXXbyYY_r.c: Likewise.
33179 * nss/getXXent.c: Likewise.
33180 * nss/getXXent_r.c: Likewise.
33181 * sysdeps/posix/getaddrinfo.c: Likewise.
33183 2012-10-30 Andreas Jaeger <aj@suse.de>
33185 * po/ru.po: Update Russion translation from translation project.
33187 2012-10-30 Joseph Myers <joseph@codesourcery.com>
33191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33192 result and shift together with sticky bit instead of replicating
33193 round-to-nearest rounding.
33194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33195 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33196 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33197 missing underflow exceptions.
33198 (fma_test_towardzero): Add more tests.
33199 (fma_test_downward): Likewise.
33200 (fma_test_upward): Likewise.
33203 * sysdeps/generic/tininess.h: New file.
33204 * sysdeps/i386/tininess.h: Likewise.
33205 * sysdeps/sh/tininess.h: Likewise.
33206 * sysdeps/x86_64/tininess.h: Likewise.
33207 * stdlib/tst-strtod-underflow.c: Likewise.
33208 * stdlib/tst-tininess.c: Likewise.
33209 * stdlib/strtod_l.c: Include <tininess.h>.
33210 (round_and_return): Do not set errno for exact underflow cases.
33211 Force an underflow exception when setting errno for underflow.
33212 Determine underflow based on rounding to normal precision if
33213 TININESS_AFTER_ROUNDING.
33214 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33215 ERANGE for exact underflow cases.
33216 * stdlib/Makefile (tests): Add tst-tininess and
33217 tst-strtod-underflow.
33218 ($(objpfx)tst-tininess): Use $(link-libm).
33219 ($(objpfx)tst-strtod-underflow): Likewise.
33221 2012-10-30 Andreas Jaeger <aj@suse.de>
33224 * elf/Makefile (tests): Remove conditional for have-initfini-array
33225 since this is now always required and the variable does not exist
33227 (tests-static): Likewise.
33228 (modules-names): Likewise.
33230 * po/eo.po: Add Esperanto translation from translation project.
33232 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33233 merged with constructor/destructor.
33234 (init_array): Likewise.
33235 * elf/tst-array2dep.c (fini_array): Likewise.
33236 (init_array): Likewise.
33238 2012-10-29 Mike Frysinger <vapier@gentoo.org>
33240 * manual/message.texi: Delete @cartouche tags.
33242 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33244 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33246 * sysdeps/mach/hurd/fsync.c: Likewise.
33248 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33249 [_POSIX_REALTIME_SIGNALS]: Change condition to
33250 [_POSIX_REALTIME_SIGNALS > 0].
33252 2012-10-27 Andreas Jaeger <aj@suse.de>
33254 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33255 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33257 [__WORDSIZE != 64]: Likewise.
33259 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33261 * iconvdata/tst-table.sh: Remove ${SHELL}.
33262 * iconvdata/tst-tables.sh: Likewise.
33264 2012-10-25 David S. Miller <davem@davemloft.net>
33266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33267 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33270 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33272 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33273 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33274 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33277 2012-10-25 Roland McGrath <roland@hack.frob.com>
33279 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33280 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33283 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33284 Jim Blandy <jimb@codesourcery.com>
33286 * scripts/cross-test-ssh.sh: New file.
33287 * manual/install.texi (Configuring and compiling): Document use of
33289 * INSTALL: Regenerated.
33291 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33293 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33296 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33298 * Makeconfig (run-program-prefix): Fix comment.
33300 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33301 Jim Blandy <jimb@codesourcery.com>
33303 * Makeconfig (test-wrapper): New variable,
33304 (test-wrapper-env): Likewise.
33305 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33306 (run-built-tests): Define to yes.
33307 (run-program-prefix): Use $(test-wrapper).
33308 (built-program-cmd): Likewise.
33309 * Rules (make-test-out): Use $(test-wrapper-env) and
33310 $(host-built-program-cmd).
33311 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33312 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33314 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33315 $(test-wrapper-env) to tst-rtld-load-self.sh.
33316 ($(objpfx)order2.out): Use $(test-wrapper).
33317 ($(objpfx)tst-initorder.out): Likewise.
33318 ($(objpfx)tst-initorder2.out): Likewise.
33319 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33320 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33321 (test_wrapper_env): New variable. Use it to run ld.so.
33322 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33323 Use it to run ld.so.
33324 (test_wrapper_env): Likewise.
33325 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33326 $(test-wrapper) to run-iconv-test.sh.
33327 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33328 (ICONV): Use $test_wrapper.
33329 * posix/Makefile ($(objpfx)globtest.out): Pass
33330 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33331 globtest.sh, not $(run-program-prefix).
33332 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33333 (test_wrapper): Likewise.
33334 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33335 set together with run_via_rtld_prefix.
33336 (run_program_prefix): Define in terms of test_wrapper and
33337 run_via_rtld_prefix.
33339 2012-10-24 Roland McGrath <roland@hack.frob.com>
33341 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33342 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33346 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33347 Declare __clock_getres, __clock_gettime, __clock_settime,
33348 __clock_nanosleep, and __clock_getcpuclockid.
33349 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33350 Remove librt_hidden_def (clock_gettime).
33351 * sysdeps/unix/clock_gettime.c: Likewise.
33352 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33353 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33354 * rt/clock_getres.c: Define __clock_getres as an alias.
33355 * sysdeps/posix/clock_getres.c: Likewise.
33356 * rt/clock_settime.c: Define __clock_settime as an alias.
33357 * sysdeps/unix/clock_settime.c: Likewise.
33358 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33359 * sysdeps/unix/clock_nanosleep.c: Likewise.
33360 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33361 * rt/clock-compat.c: New file.
33362 * rt/Makefile (librt-routines): Add clock-compat and move
33363 $(clock-routines) to ...
33364 (routines): ... here, new variable.
33365 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33366 Don't add get_clockfreq here.
33367 * rt/Versions (libc: GLIBC_2.17): New version set.
33368 Add clock_* symbols here.
33369 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33370 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33371 (GLIBC_2.17): Add clock_* symbols.
33372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33383 * NEWS: Mention the move.
33385 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33386 Use __open, __read, __close rather than their public counterparts.
33387 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33388 (__get_clockfreq_via_cpuinfo): Likewise.
33389 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33390 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33392 * config.h.in (HAVE_IFUNC): New #undef.
33393 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33395 * configure: Regenerated.
33397 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33399 * configure.in: Move READELF check to start of file.
33400 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33401 libc_cv_asm_gnu_indirect_function in the process.
33402 * configure: Regenerated.
33404 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33406 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33407 send the output to /dev/null.
33408 (libc_cv_cc_with_libunwind): Likewise.
33409 (libc_cv_as_noexecstack): Likewise.
33410 * configure: Regenerate.
33412 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33414 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33416 * posix/globtest.sh (TMPDIR): Do not set.
33417 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33418 (testout): Likewise.
33420 2012-10-24 Andreas Jaeger <aj@suse.de>
33422 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33423 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33424 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33425 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33426 posix_fadvise64, posix_fallocate64.
33428 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33429 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33430 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33432 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33434 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33437 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33438 <bits/fcntl-linux.h>.
33439 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33441 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33442 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33443 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33444 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33445 [__WORDSIZE != 64]: Likewise.
33447 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33449 * Makeconfig (run-built-tests): New variable.
33450 * Rules [$(cross-compiling) = yes]: Change condition to
33451 [$(run-built-tests) = no].
33452 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33453 to [$(run-built-tests) = yes].
33454 * elf/Makefile [$(cross-compiling) = no]: Likewise
33455 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33456 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33457 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33458 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33459 * io/Makefile [$(cross-compiling) = no]: Likewise.
33460 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33461 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33462 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33463 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33464 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33465 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33466 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33467 * string/Makefile [$(cross-compiling) = no]: Likewise.
33469 * posix/Makefile ($(objpfx)globtest.out): Pass
33470 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33471 $(rtld-installed-name).
33472 * posix/globtest.sh (elf_objpfx): Remove variable.
33473 (rtld_installed_name): Likewise.
33474 (library_path): Likewise.
33475 (run_program_prefix): New variable. Use for running globtest
33478 2012-10-23 Jim Blandy <jimb@codesourcery.com>
33479 Joseph Myers <joseph@codesourcery.com>
33481 * Makeconfig (host-built-program-cmd): New variable.
33482 * elf/Makefile (tst-stackguard1-ARGS): Use
33483 $(host-built-program-cmd).
33484 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33485 (tst-spawn-ARGS): Likewise.
33486 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33488 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33489 Jim Blandy <jimb@codesourcery.com>
33491 * Makeconfig (run-via-rtld-prefix): New variable.
33492 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33493 (built-program-cmd): Likewise.
33495 2012-10-22 Andreas Jaeger <aj@suse.de>
33497 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33498 __O_RSYNC if it exists, otherwise to O_SYNC.
33500 2012-10-22 Jim Blandy <jimb@codesourcery.com>
33501 Joseph Myers <joseph@codesourcery.com>
33503 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33505 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33507 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33510 2012-10-22 Andreas Jaeger <aj@suse.de>
33512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33514 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33517 bits/fcntl-linux.h.
33519 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33520 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33522 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33524 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33527 2012-10-21 Jim Blandy <jimb@codesourcery.com>
33528 Joseph Myers <joseph@codesourcery.com>
33530 * config.make.in (NM): New variable.
33532 2012-10-21 Andreas Jaeger <aj@suse.de>
33534 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33535 definitions and declarations that are provided by
33536 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33538 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33541 * elf/Makefile (tests-static): Add tst-leaks1-static.
33542 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33543 ($(objpfx)tst-leaks1-static): New rule.
33544 ($(objpfx)tst-leaks1-static-mem): Likewise.
33545 (tst-leaks1-static-ENV): New macro.
33546 * elf/dl-open.c (dl_open_worker): Check the main application
33547 only if SHARED is defined.
33548 * elf/tst-leaks1-static.c: New file.
33550 2012-10-20 Andreas Jaeger <aj@suse.de>
33552 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33553 generic values for Linux.
33554 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33555 and declarations that are provided by <bits/fcntl-linux.h> and
33556 include <bits/fcntl-linux.h>.
33557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33558 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33560 2012-10-20 Roland McGrath <roland@hack.frob.com>
33562 * io/fcntl.h: Move include of <bits/types.h> to the top and
33563 include it unconditionally.
33565 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33567 * wcsmbs/Makefile (tests-ifunc): New variable.
33568 (tests): Add $(tests-ifunc).
33569 * wcsmbs/test-wcschr-ifunc.c: New file.
33570 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33571 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33572 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33573 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33574 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33576 * string/Makefile (tests-ifunc): New variable.
33577 (tests): Add $(tests-ifunc).
33578 * string/test-memccpy.c (TEST_NAME): New macro.
33579 * string/test-memchr.c (TEST_NAME): Likewise.
33580 * string/test-memcmp.c (TEST_NAME): Likewise.
33581 * string/test-memcpy.c (TEST_NAME): Likewise.
33582 * string/test-memmem.c (TEST_NAME): Likewise.
33583 * string/test-memmove.c (TEST_NAME): Likewise.
33584 * string/test-memset.c (TEST_NAME): Likewise.
33585 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33586 * string/test-stpcpy.c (TEST_NAME): Likewise.
33587 * string/test-stpncpy.c (TEST_NAME): Likewise.
33588 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33589 * string/test-strcasestr.c (TEST_NAME): Likewise.
33590 * string/test-strcat.c (TEST_NAME): Likewise.
33591 * string/test-strchr.c (TEST_NAME): Likewise.
33592 * string/test-strcmp.c(TEST_NAME): Likewise.
33593 * string/test-strcpy.c (TEST_NAME): Likewise.
33594 * string/test-strcspn.c (TEST_NAME): Likewise.
33595 * string/test-strlen.c (TEST_NAME): Likewise.
33596 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33597 * string/test-strncmp.c (TEST_NAME): Likewise.
33598 * string/test-strncpy.c (TEST_NAME): Likewise.
33599 * string/test-strnlen.c (TEST_NAME): Likewise.
33600 * string/test-strpbrk.c (TEST_NAME): Likewise.
33601 * string/test-strrchr.c (TEST_NAME): Likewise.
33602 * string/test-strspn.c (TEST_NAME): Likewise.
33603 * string/test-strstr.c (TEST_NAME): Likewise.
33604 * string/test-bcopy-ifunc.c: New file.
33605 * string/test-bzero-ifunc.c: Likewise.
33606 * string/test-memccpy-ifunc.c: Likewise.
33607 * string/test-memchr-ifunc.c: Likewise.
33608 * string/test-memcmp-ifunc.c: Likewise.
33609 * string/test-memcpy-ifunc.c: Likewise.
33610 * string/test-memmem-ifunc.c: Likewise.
33611 * string/test-memmove-ifunc.c: Likewise.
33612 * string/test-mempcpy-ifunc.c: Likewise.
33613 * string/test-memset-ifunc.c: Likewise.
33614 * string/test-rawmemchr-ifunc.c: Likewise.
33615 * string/test-stpcpy-ifunc.c: Likewise.
33616 * string/test-stpncpy-ifunc.c: Likewise.
33617 * string/test-strcasecmp-ifunc.c: Likewise.
33618 * string/test-strcasestr-ifunc.c: Likewise.
33619 * string/test-strcat-ifunc.c: Likewise.
33620 * string/test-strchr-ifunc.c: Likewise.
33621 * string/test-strchrnul-ifunc.c: Likewise.
33622 * string/test-strcmp-ifunc.c: Likewise.
33623 * string/test-strcpy-ifunc.c: Likewise.
33624 * string/test-strcspn-ifunc.c: Likewise.
33625 * string/test-strlen-ifunc.c: Likewise.
33626 * string/test-strncasecmp-ifunc.c: Likewise.
33627 * string/test-strncat-ifunc.c: Likewise.
33628 * string/test-strncmp-ifunc.c: Likewise.
33629 * string/test-strncpy-ifunc.c: Likewise.
33630 * string/test-strnlen-ifunc.c: Likewise.
33631 * string/test-strpbrk-ifunc.c: Likewise.
33632 * string/test-strrchr-ifunc.c: Likewise.
33633 * string/test-strspn-ifunc.c: Likewise.
33634 * string/test-strstr-ifunc.c: Likewise.
33636 * debug/Makefile (tests-ifunc): New variable.
33637 (tests): Add $(tests-ifunc).
33638 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33639 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33640 * debug/test-stpcpy_chk-ifunc.c: New file.
33641 * debug/test-strcpy_chk-ifunc.c: Likewise.
33643 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33646 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33647 header is not read in.
33649 2012-10-19 Joseph Myers <joseph@codesourcery.com>
33651 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33652 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33653 directly. Pass built executable to script as
33654 $(built-program-cmd).
33655 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33656 $testprogram without using LD_LIBRARY_PATH and $ldso.
33658 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33659 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33660 $(rtld-installed-name).
33661 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33662 (rtld_installed_name): Likewise.
33663 (library_path): Likewise.
33664 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33665 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33666 $(run-program-prefix) to tst-tables.sh.
33667 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33668 it to run tst-table-from and tst-table-to.
33669 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33670 Pass it to tst-table.sh.
33671 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33672 $(run-program-prefix) to tst-gettext.sh.
33673 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33675 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33677 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33678 to run tst-gettext.
33679 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33680 to run tst-gettext2.
33681 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33682 to run tst-translit.
33683 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33684 $(run-program-prefix) to tst-mtrace.sh.
33685 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33687 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33688 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33689 $(rtld-installed-name).
33690 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33691 (rtld_installed_name): Likewise.
33692 (run_program_prefix): New variable. Use it to run wordexp-test.
33694 * Makeconfig (ARCH): Remove all definitions.
33695 (machine): Likewise.
33696 [ARCH]: Remove conditional code.
33697 [!objdir]: Give error.
33698 [!objdir] (objpfx): Remove.
33699 [!objdir] (common-objpfx): Likewise.
33700 [!objdir] (common-objdir): Likewise.
33701 * configure.in (config_makefile): Remove. Hardcode Makefile in
33702 AC_CONFIG_FILES call.
33703 * configure: Regenerated.
33706 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33708 (testout): Likewise.
33710 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33711 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33712 $(rtld-installed-name).
33713 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33714 (rtld_installed_name): Likwise.
33715 (runit): Remove function.
33716 (run_getconf): New variable, Use it for running getconf binary.
33718 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33721 * string/test-memmem.c (check_result): New function.
33722 (do_one_test): Use it.
33723 (check1): New function.
33724 (test_main): Use it.
33726 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33728 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33730 2012-10-18 Joseph Myers <joseph@codesourcery.com>
33732 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33733 (_G_LSEEK64): Likewise.
33734 (_G_MMAP64): Likewise.
33735 (_G_FSTAT64): Likewise.
33736 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33737 (_G_LSEEK64): Likewise.
33738 (_G_MMAP64): Likewise.
33739 (_G_FSTAT64): Likewise.
33740 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33741 unconditional. Call __mmap64 directly.
33742 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33743 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33744 __lseek64 directly.
33745 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33746 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33748 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33749 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33750 __lseek64 directly.
33751 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33752 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33753 __lseek64 directly.
33754 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33755 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33756 __lseek64 directly.
33757 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33758 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33759 __fxstat64 directly.
33760 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33761 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33763 (freopen64) [!_G_OPEN64]: Remove conditional code.
33764 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33766 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33767 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33769 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33770 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33772 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33773 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33775 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33776 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33778 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33779 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33781 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33782 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33784 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33786 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33789 * manual/memory.texi (Malloc Tunable Parameters): Add note
33790 about free list pointers overwriting some perturb bytes.
33791 Wording suggested by Roland McGrath.
33793 2012-10-17 Joseph Myers <joseph@codesourcery.com>
33795 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33796 (lgamma_test): Likewise.
33797 (tgamma_test): Likewise.
33799 2012-10-16 Florian Weimer <fweimer@redhat.com>
33802 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33803 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33805 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33807 * NEWS: Mention BZ #14716.
33808 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33809 when removing AVAILABLE1_USES_J macro.
33811 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33813 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33814 (__bswap_64): __uint64_t for unsigned 64-bit int.
33816 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33818 * include/string.h (memmem): Declare libc hidden alias.
33819 * string/memmem.c (memmem): Define libc hidden alias.
33820 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33821 __read, __close instead of open, read, close.
33823 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33826 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33828 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33829 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33830 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33832 (__rawmemchr_sse2): Likewise.
33833 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33834 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33835 (__strchr_sse2): Likewise.
33836 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33837 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33838 (__strcasecmp_sse2): Likewise.
33839 (__strncasecmp_sse2): Likewise.
33840 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33841 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33842 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33843 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33844 (__strrchr_sse2): Likewise.
33845 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33847 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33848 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33849 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33850 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33851 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33852 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33853 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33854 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33855 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33856 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33857 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33858 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33859 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33860 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33861 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33862 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33863 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33864 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33865 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33866 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33867 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33868 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33869 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33870 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33871 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33872 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33873 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33874 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33875 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33876 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33878 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33880 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33881 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33882 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33883 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33885 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33887 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33888 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33889 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33890 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33892 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33893 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33894 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33895 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33896 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33897 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33898 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33899 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33900 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33901 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33902 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33903 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33904 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33905 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33906 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33907 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33908 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33909 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33910 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33911 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33912 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33913 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33914 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33915 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33916 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33917 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33918 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33919 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33920 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33921 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33922 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33923 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33924 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33925 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33926 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33927 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33928 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33929 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33930 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33931 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33932 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33934 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33935 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33936 * include/ifunc-impl-list.h: New file.
33937 * misc/ifunc-impl-list.c: Likewise.
33938 * misc/Makefile (routines): Add ifunc-impl-list.
33939 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33940 * string/test-string.h: Include <ifunc-impl-list.h>.
33941 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33942 TEST_NAME]: New variables.
33943 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33945 (test_init): Call __libc_ifunc_impl_list to initialize
33946 func_list if TEST_IFUNC and TEST_NAME are defined.
33948 * string/Makefile (strop-tests): Add bcopy and bzero.
33949 * string/test-bcopy.c: New file.
33950 * string/test-bzero.c: Likewise.
33951 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33953 * string/test-memset.c: Support bzero test if TEST_BZERO is
33955 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33957 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33959 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33962 2012-10-10 Joseph Myers <joseph@codesourcery.com>
33964 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33965 * configure: Regenerated.
33967 * Makeconfig (+link-static-before-libc): Don't include
33968 $(link-static-libc).
33970 * libio/libio.h (_IO_pos_t): Remove.
33972 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33974 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33977 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33979 * crypt/crypt-entry.c: Include fips-private.h.
33980 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33981 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33982 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33983 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33985 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33987 * crypt/crypt-private.h: Include stdbool.h.
33988 (_ufc_setup_salt_r): Return bool.
33989 * crypt/crypt-entry.c: Include errno.h.
33990 (__crypt_r): Return NULL with EINVAL for bad salt.
33991 * crypt/crypt_util.c (bad_for_salt): New.
33992 (_ufc_setup_salt_r): Check that salt is long enough and within
33993 the specified alphabet.
33994 * crypt/badsalttest.c: New file.
33995 * crypt/Makefile (tests): Add it.
33996 ($(objpfx)badsalttest): New.
33998 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34000 * NEWS: Add entry for BZ #14602.
34002 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34004 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34006 * math/libm-test.inc: Update comment listing what functions and
34008 (isgreater_test): New function.
34009 (isgreaterequal_test): Likewise.
34010 (isless_test): Likewise.
34011 (islessequal_test): Likewise.
34012 (islessgreater_test): Likewise.
34013 (isunordered_test): Likewise.
34014 (main): Call the new functions.
34016 2012-10-09 Roland McGrath <roland@hack.frob.com>
34018 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34019 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34020 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34021 * sysdeps/i386/configure: Regenerated.
34022 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34023 * sysdeps/mach/configure: Regenerated.
34024 * sysdeps/mach/hurd/configure: Regenerated.
34025 * sysdeps/powerpc/configure: Regenerated.
34026 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34027 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34028 * sysdeps/s390/s390-32/configure: Regenerated.
34029 * sysdeps/s390/s390-64/configure: Regenerated.
34030 * sysdeps/sh/configure: Regenerated.
34031 * sysdeps/sparc/configure: Regenerated.
34032 * sysdeps/unix/sysv/linux/configure: Regenerated.
34033 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34034 * sysdeps/x86_64/configure: Regenerated.
34036 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34037 defined. Don't check if MAP is NULL.
34039 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34041 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34042 (_G_stat64): Likewise.
34043 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34044 (_G_stat64): Likewise.
34045 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34046 instead of struct _G_stat64.
34047 * libio/fileops.c (mmap_remap_check): Likewise.
34048 (decide_maybe_mmap): Likewise.
34049 (_IO_new_file_seekoff): Likewise.
34050 (_IO_file_stat): Likewise.
34051 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34053 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34054 instead of struct _G_stat64.
34055 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34057 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34060 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34062 (CHECK_EOL): New macro.
34063 (two_way_short_needle): Check beginning of haystack for EOL. Use
34065 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34066 Replace with CHECK_EOL.
34067 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34068 Replace with CHECK_EOL.
34070 2012-10-08 Joseph Myers <joseph@codesourcery.com>
34072 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34074 * math/libm-test.inc: Update comment listing what functions and
34076 (finite_test): New function.
34077 (isinf_test): Likewise.
34078 (isnan_test): Likewise.
34079 (fpclassify_test): Test subnormal input.
34080 (isfinite_test): Likewise.
34081 (isnormal_test): Likewise.
34082 (main): Call the new functions.
34084 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34087 * Makerules (%.dynsym): Force C locale when running
34088 $(OBJDUMP) --dynamic-syms.
34090 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34092 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34095 2012-10-06 David S. Miller <davem@davemloft.net>
34097 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34098 upper 32-bits of the length value in %o2 since we use branch-on-register
34099 tests which consider the entire 64-bit register.
34101 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34103 * string/test-strstr.c (check2): Add a test for page boundary.
34105 2012-10-05 David S. Miller <davem@davemloft.net>
34107 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34108 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34110 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34112 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34113 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34114 and bzero when HWCAP_SPARC_CRYPTO is present.
34116 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34119 * string/test-strstr.c (check2): New function.
34120 (test_main): Call check2.
34122 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34124 * string/bug-strcasestr1.c (do_test): Moved to ...
34125 * string/test-strcasestr.c (check1): Here. New function.
34126 (do_one_test): Break out result checking code into ...
34127 (check_result): This. New function.
34128 (do_one_test): Call check_result.
34129 (test_main): Call check1.
34130 * string/bug-strchr1.c (do_test): Moved to ...
34131 * string/test-strchr.c (check1): Here. New function.
34132 (do_one_test): Break out result checking code into ...
34133 (check_result): This. New function.
34134 (do_one_test): Call check_result.
34135 (test_main): Call check1.
34136 * string/bug-strstr1.c (main): Moved to ...
34137 * string/test-strstr.c (check1): Here. New function.
34138 (do_one_test): Break out result checking code into ...
34139 (check_result): This. New function.
34140 (do_one_test): Call check_result.
34141 (test_main): Call check1.
34142 * string/bug-strcasestr1.c: Removed.
34143 * string/bug-strchr1.c: Likewise.
34144 * string/bug-strstr1.c: Likewise.
34146 * elf/Makefile (dl-routines): Add hwcaps.
34147 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34148 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34149 (_dl_important_hwcaps): Moved to ...
34150 * elf/dl-hwcaps.c: Here. New file.
34151 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34154 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34155 if IS_IN_rtld isn't defined.
34157 * elf/dl-support.c (_dl_sysinfo_map): New.
34158 Include "get-dynamic-info.h" and "setup-vdso.h".
34159 (_dl_non_dynamic_init): Call setup_vdso.
34160 * elf/dynamic-link.h: Don't include <assert.h>.
34161 (elf_get_dynamic_info): Moved to ...
34162 * elf/get-dynamic-info.h: Here. New file.
34163 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34164 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34165 * elf/setup-vdso.h: Here. New file.
34166 * elf/rtld.c: Include "setup-vdso.h".
34167 (dl_main): Call setup_vdso.
34169 2012-10-05 Joseph Myers <joseph@codesourcery.com>
34171 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34172 creal in comment listing functions tested. List finite, isinf,
34173 isnan, isless, islessequal, isgreater, isgreaterequal,
34174 islessgreater, isunordered, lgamma_r and pow10 as functions and
34175 macros not tested. Mention which functions not tested are aliases
34176 for other functions. Fix typo. Note that signs of NaNs are not
34179 * scripts/config.guess: Update from config.git.
34180 * scripts/config.sub: Likewise.
34182 2012-10-04 Roland McGrath <roland@hack.frob.com>
34184 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34185 * misc/madvise.c (madvise): Renamed to __madvise.
34186 Make madvise a weak alias.
34187 * include/sys/mman.h: Declare __madvise.
34188 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34189 * sysdeps/unix/syscalls.list
34190 (madvise): Make __madvise the strong name, and madvise a weak alias.
34191 * sysdeps/unix/sysv/linux/syscalls.list
34192 (madvise, mmap): Remove redundant entries.
34193 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34194 * malloc/malloc.c (mtrim): Likewise.
34195 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34197 2012-10-03 Roland McGrath <roland@hack.frob.com>
34199 * sysdeps/mach/hurd/dl-cache.c: File removed.
34200 * config.h.in (USE_LDCONFIG): New #undef.
34201 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34202 * configure: Regenerated.
34203 * elf/Makefile (dl-routines): Add dl-cache only under
34204 [$(use-ldconfig) = yes].
34205 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34206 cache on [USE_LDCONFIG].
34207 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34209 * elf/rtld.c (dl_main): Likewise.
34211 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34213 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34214 _SC_LEVEL4_CACHE_LINESIZE.
34216 2012-10-03 Roland McGrath <roland@hack.frob.com>
34218 * sysdeps/unix/bsd/confstr.h: File removed.
34220 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
34222 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34225 2012-10-02 Roland McGrath <roland@hack.frob.com>
34227 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34228 Make 'mapoff' field ElfW(Off) rather than off_t.
34230 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34232 * nscd/Makefile: Remove nscd-cflags and all its users.
34233 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34234 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34237 * malloc.c (malloc_printerr): Clarify error message.
34239 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34243 Set bit_FMA_Usable if FMA is supported.
34244 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34246 (bit_FMA4_Usable): Updated.
34247 (index_FMA_Usable): New macro.
34248 (CPUID_FMA): Likewise
34249 (HAS_FMA): Defined with bit_FMA_Usable.
34251 2012-10-01 Roland McGrath <roland@hack.frob.com>
34253 * bits/types.h (__swblk_t): Type removed.
34254 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34255 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34257 (__SWBLK_T_TYPE): Likewise.
34258 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34259 (__SWBLK_T_TYPE): Likewise.
34260 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34261 (__SWBLK_T_TYPE): Likewise.
34262 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34263 (__SWBLK_T_TYPE): Likewise.
34265 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
34266 Honza Horak <hhorak@redhat.com>
34268 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34269 (xdr_mapname): Use YPMAXMAP as maxsize.
34270 (xdr_peername): Use YPMAXPEER as maxsize.
34271 (xdr_keydat): Use YPAXRECORD as maxsize.
34272 (xdr_valdat): Use YPMAXRECORD as maxsize.
34274 2012-10-01 Roland McGrath <roland@hack.frob.com>
34276 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34278 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34279 * csu/init-first.c: ... here.
34280 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34281 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34282 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34283 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34284 * sysdeps/i386/init-first.c: File removed.
34285 * sysdeps/sh/init-first.c: File removed.
34287 2012-10-01 Joseph Myers <joseph@codesourcery.com>
34290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34291 if x * y might underflow to zero and z is zero.
34292 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34293 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34294 * math/libm-test.inc (min_subnorm_value): New variable.
34295 (fma_test): Add more tests.
34296 (fma_test_towardzero): Likewise.
34297 (fma_test_downward): Likewise
34298 (fma_test_upward): Likewise.
34299 (initialize): Set min_subnorm_value.
34301 2012-09-29 Joseph Myers <joseph@codesourcery.com>
34304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34306 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34307 mode for addition resulting in exact zero.
34308 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34309 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34311 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34312 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34313 * math/libm-test.inc (fma_test): Add more tests.
34314 (fma_test_towardzero): New function.
34315 (fma_test_downward): Likewise.
34316 (fma_test_upward): Likewise.
34317 (main): Call the new functions.
34319 2012-09-28 David S. Miller <davem@davemloft.net>
34321 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34323 2012-09-28 Roland McGrath <roland@hack.frob.com>
34325 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34326 instead of SIGALRM.
34328 * sysdeps/gnu/_G_config.h: Moved to ...
34329 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34330 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34331 * sysdeps/generic/_G_config.h: ... here.
34333 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34335 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34337 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34338 Conditionalize target on [libnss_test1.so-version].
34340 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34342 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34343 (elfobjdir): Move out of conditionals.
34345 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34346 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34347 (__nss_lookup_function): Conditionalize label remove_from_tree on
34348 [!DO_STATIC_NSS || SHARED], matching its only use.
34350 2012-09-28 David S. Miller <davem@davemloft.net>
34352 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34353 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34355 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34357 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34358 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34359 when HWCAP_SPARC_CRYPTO is present.
34361 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34363 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34365 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34368 * stdio-common/vfprintf.c (process_string_arg): Revert
34371 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34373 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34375 * stdio-common/tst-sprintf.c: Include <locale.h>
34376 (main): Test sprintf's handling of incomplete multibyte
34379 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34381 * elf/dl-runtime.c (VERSYMIDX): Removed.
34382 * elf/dl-version.c (VERSYMIDX): Likewise.
34383 * elf/do-rel.h (VERSYMIDX): Likewise.
34384 (VALIDX): Likewise.
34385 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34386 * elf/rtld.c (VALIDX): Likewise.
34387 (ADDRIDX): Likewise.
34388 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34389 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34390 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34391 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34392 (VALIDX): Likewise.
34393 (ADDRIDX): Likewise.
34395 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34397 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34399 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34402 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34404 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34405 addresses are in the same scope as 192.0.2/24.
34406 * posix/gai.conf: Document new scope table defaults.
34408 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34411 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34412 for ftell. Compute offsets from write pointers instead.
34413 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34415 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34418 * libio/Makefile (tests): New test case tst-fseek.
34419 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34420 combination works in wide mode.
34421 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34422 state when the external buffer state changes.
34424 2012-09-27 David S. Miller <davem@davemloft.net>
34427 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34428 pass reloc->r_addend in as the 'high' argument to
34429 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34433 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34435 * rt/tst-aio2.c: Include <pthread.h>.
34436 * rt/tst-aio3.c: Likewise.
34438 2012-09-27 Steve Ellcey <sellcey@mips.com>
34440 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34442 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34444 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34445 contents on [SHARED].
34447 2012-09-26 Marek Polacek <polacek@redhat.com>
34451 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34452 for C++ and GCC <4.3 as well as for non GCC compilers.
34454 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34458 2012-09-25 Roland McGrath <roland@hack.frob.com>
34460 * Makefile.in (all, install): Declare with .PHONY.
34461 Reported by Michael Hope <michael.hope@linaro.org>.
34463 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34465 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34466 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34468 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34470 (sydep_routines): Add the new and the internal functions.
34471 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34472 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34474 (GLIBC_2.17): Add the new function.
34475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34476 (GLIBC_2.17): Likewise.
34477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34478 (GLIBC_2.17): Likewise.
34479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34480 (GLIBC_2.17): Likewise.
34481 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34483 2012-09-25 Alan Modra <amodra@gmail.com>
34485 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34486 Add release barrier before setting once_control to say
34487 initialisation is done. Add hints on lwarx. Use macro in
34489 (clear_once_control): Add release barrier.
34491 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34494 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34496 * math/s_clog10.c (__clog10): Likewise.
34497 * math/s_clog10f.c (__clog10f): Likewise.
34498 * math/s_clog10l.c (__clog10l): Likewise.
34499 * math/s_clogf.c (__clogf): Likewise.
34500 * math/s_clogl.c (__clogl): Likewise.
34501 * math/Makefile (libm-calls): Add x2y2m1.
34502 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34503 (__x2y2m1): Likewise.
34504 (__x2y2m1l): Likewise.
34505 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34506 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34507 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34508 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34509 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34510 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34511 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34512 * sysdeps/i386/fpu/libm-test-ulps: Update.
34513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34516 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34517 int as type of variable DEPTH.
34518 (glob): Use size_t instead of int as type of variables NEWCOUNT
34521 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34523 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34524 Add s_sincosf-sse2.
34525 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34526 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34527 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34528 macros for using routine as __sincosf_ia32.
34529 Use macro for function declaration and weak_alias.
34530 * sysdeps/i386/fpu/libm-test-ulps: Update.
34532 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34535 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34536 subnormal argument.
34537 * math/s_cexpf.c (__cexpf): Likewise.
34538 * math/s_csinf.c (__csinf): Likewise.
34539 * math/s_csinhf.c (__csinhf): Likewise.
34540 * math/s_ctanf.c (__ctanf): Likewise.
34541 * math/s_ctanhf.c (__ctanhf): Likewise.
34542 * math/s_ccosh.c (__ccoshf): Likewise.
34543 * math/s_cexp.c (__cexpl): Likewise.
34544 * math/s_csin.c (__csin): Likewise.
34545 * math/s_csinh.c (__csinh): Likewise.
34546 * math/s_ctan.c (__ctan): Likewise.
34547 * math/s_ctanh.c (ctanh): Likewise.
34548 * math/s_ccoshl.c (__ccoshl): Likewise.
34549 * math/s_cexpl.c (__cexpl): Likewise.
34550 * math/s_csinl.c (__csinl): Likewise.
34551 * math/s_csinhl.c (__csinhl): Likewise.
34552 * math/s_ctanl.c (__ctanl): Likewise.
34553 * math/s_ctanhl.c (__ctanhl): Likewise.
34555 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34557 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34558 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34559 (_IO_off_t): Define to __off_t, not _G_off_t.
34560 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34561 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34562 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34563 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34564 type of __dummy and __dummy2 fields.
34565 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34566 (_G_ssize_t): Likewise.
34567 (_G_off_t): Likewise.
34568 (_G_pid_t): Likewise.
34569 (_G_uid_t): Likewise.
34570 (_G_wchar_t): Likewise.
34571 (_G_wint_t): Likewise.
34572 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34573 (_G_ssize_t): Likewise.
34574 (_G_off_t): Likewise.
34575 (_G_pid_t): Likewise.
34576 (_G_uid_t): Likewise.
34577 (_G_wchar_t): Likewise.
34578 (_G_wint_t): Likewise.
34579 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34580 (_G_ssize_t): Likewise.
34581 (_G_off_t): Likewise.
34582 (_G_pid_t): Likewise.
34583 (_G_uid_t): Likewise.
34584 (_G_wchar_t): Likewise.
34585 (_G_wint_t): Likewise.
34587 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34589 * malloc/arena.c: Include malloc-sysdep.h.
34590 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34591 is sufficient to shrink the heap or an unmap is needed.
34592 * sysdeps/generic/malloc-sysdep.h: New file. Define
34593 new function check_may_shrink_heap.
34594 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34595 new function check_may_shrink_heap.
34597 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34599 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34602 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34604 * catgets/test-gencat.sh: Add "set -e".
34605 * elf/tst-pathopt.sh: Likewise.
34606 * grp/tst_fgetgrent.sh: Likewise.
34607 * iconvdata/run-iconv-test.sh: Likewise.
34608 * intl/tst-gettext.sh: Likewise.
34609 * intl/tst-gettext2.sh: Likewise.
34610 * intl/tst-gettext4.sh: Likewise.
34611 * intl/tst-gettext6.sh: Likewise.
34612 * intl/tst-translit.sh: Likewise.
34613 * io/ftwtest-sh: Likewise.
34614 * libio/test-freopen.sh: Likewise.
34615 * malloc/tst-mtrace.sh: Likewise.
34616 * posix/globtest.sh: Likewise.
34617 * posix/tst-getconf.sh: Likewise.
34618 * posix/wordexp-tst.sh: Likewise.
34619 * stdio-common/tst-printf.sh: Likewise.
34620 * stdio-common/tst-unbputc.sh: Likewise.
34621 * stdlib/tst-fmtmsg.sh: Likewise.
34622 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34623 * catgets/Makefile: Do not specify -e option when running
34624 testsuite shell scripts.
34625 * elf/Makefile: Likewise.
34626 * grp/Makefile: Likewise.
34627 * iconvdata/Makefile: Likewise.
34628 * intl/Makefile: Likewise.
34629 * io/Makefile: Likewise.
34630 * libio/Makefile: Likewise.
34631 * malloc/Makefile: Likewise.
34632 * posix/Makefile: Likewise.
34633 * stdio-common/Makefile: Likewise.
34634 * stdlib/Makefile: Likewise.
34635 * sysdeps/x86_64/Makefile: Likewise.
34637 * io/ftwtest-sh: Add copyright header.
34638 * posix/globtest.sh: Likewise.
34639 * posix/tst-getconf.sh: Likewise.
34640 * posix/wordexp-tst.sh: Likewise.
34641 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34643 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34646 * Makeconfig (+link): Defined as $(+link-static) if
34647 $(build-shared) isn't yes.
34648 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34650 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34652 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34655 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34656 new chunk size with MALLOC_ALIGN_MASK.
34658 2012-09-24 Joseph Myers <joseph@codesourcery.com>
34661 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34663 (__printf_fphex): Determine rounding using get_rounding_mode and
34665 * stdio-common/tst-printf-round.c (struct hex_test): New
34667 (hex_tests): New variable.
34668 (test_hex_in_one_mode): New function.
34669 (do_test): Also run tests for hex float output.
34671 2012-09-21 Joseph Myers <joseph@codesourcery.com>
34673 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34674 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34675 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34676 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34677 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34678 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34679 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34680 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34682 2012-09-20 Joseph Myers <joseph@codesourcery.com>
34684 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34685 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34686 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34687 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34689 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34692 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34694 * elf/tst-rtld-load-self.sh: New test.
34695 * elf/Makefile: Run it.
34697 2012-09-18 Joseph Myers <joseph@codesourcery.com>
34699 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34700 (tst-writev-ENV): Remove.
34701 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34703 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34705 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34707 2012-09-17 Joseph Myers <joseph@codesourcery.com>
34709 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34711 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34713 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34714 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34715 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34718 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34721 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34722 * config.make.in (have-cpp-asm-debuginfo): Removed.
34723 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34724 * configure: Regenerated.
34726 2012-09-14 Joseph Myers <joseph@codesourcery.com>
34729 * stdio-common/printf_fp.c: Include <stdbool.h> and
34731 (___printf_fp): Determine rounding using get_rounding_mode and
34733 * stdio-common/tst-printf-round.c: New file.
34734 * stdio-common/Makefile (tests): Add tst-printf-round.
34735 (link-libm): New variable.
34736 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34738 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34741 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34742 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34744 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34747 2012-09-13 Joseph Myers <joseph@codesourcery.com>
34749 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34750 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34751 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34752 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34754 2012-09-12 Joseph Myers <joseph@codesourcery.com>
34757 * include/rounding-mode.h: New file.
34758 * sysdeps/generic/get-rounding-mode.h: Likewise.
34759 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34760 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34761 (MAX_VALUE): New macro.
34762 (MIN_VALUE): Likewise.
34763 (overflow_value): New function.
34764 (underflow_value): Likewise.
34765 (round_and_return): Use overflow_value and underflow_value to
34766 determine return values in overflow and underflow cases. Use
34767 round_away to determine rounding depending on rounding mode.
34768 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34769 determine return values in overflow and underflow cases.
34770 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34771 (struct test_results): New structure.
34772 (struct test): Use struct test_results to store expected results
34773 for all rounding modes.
34774 (TEST): Include expected results for all rounding modes.
34775 (test_in_one_mode): New function.
34776 (do_test): Use test_in_one_mode to compute and check results.
34777 Check results for all rounding modes.
34778 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34781 2012-12-09 Allan McRae <allan@archlinux.org>
34783 * sysdeps/i386/fpu/libm-test-ulps: Update
34785 2012-09-11 Joseph Myers <joseph@codesourcery.com>
34787 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34788 (_G_int32_t): Likewise.
34789 (_G_uint16_t): Likewise.
34790 (_G_uint32_t): Likewise.
34791 (_G_HAVE_BOOL): Likewise.
34792 (_G_HAVE_ATEXIT): Likewise.
34793 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34794 (_G_HAVE_IO_FILE_OPEN): Likewise.
34795 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34796 (_G_int32_t): Likewise.
34797 (_G_uint16_t): Likewise.
34798 (_G_uint32_t): Likewise.
34799 (_G_HAVE_BOOL): Likewise.
34800 (_G_HAVE_ATEXIT): Likewise.
34801 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34802 (_G_HAVE_IO_FILE_OPEN): Likewise.
34803 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34804 (_G_int32_t): Likewise.
34805 (_G_uint16_t): Likewise.
34806 (_G_uint32_t): Likewise.
34807 (_G_HAVE_BOOL): Likewise.
34808 (_G_HAVE_ATEXIT): Likewise.
34809 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34810 (_G_HAVE_IO_FILE_OPEN): Likewise.
34812 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34814 * csu/libc-tls.c: Update copyright years.
34816 2012-09-10 Joseph Myers <joseph@codesourcery.com>
34818 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34819 [!_G_USING_THUNKS]: Remove conditional code.
34820 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34821 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34823 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34824 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34825 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34826 (_G_VTABLE_LABEL_PREFIX): Likewise.
34827 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34828 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34829 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34830 (_G_VTABLE_LABEL_PREFIX): Likewise.
34831 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34832 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34833 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34834 (_G_VTABLE_LABEL_PREFIX): Likewise.
34835 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34837 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34839 * libio/Makefile: Include ../Makeconfig before tests.
34840 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34841 only if $(build-shared) is yes.
34843 * iconv/gconv_db.c: Update copyright years.
34845 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34847 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34848 unwind info if defined PIC. Fix special cases description.
34849 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34851 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34853 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34855 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34857 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34859 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34862 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34863 (LDLIBS-tst-chk4): This.
34864 (LDFLAGS-tst-chk5): Renamed to ...
34865 (LDLIBS-tst-chk5): This.
34866 (LDFLAGS-tst-chk6): Renamed to ...
34867 (LDLIBS-tst-chk6): This.
34868 (LDFLAGS-tst-lfschk4): Renamed to ...
34869 (LDLIBS-tst-lfschk4): This.
34870 (LDFLAGS-tst-lfschk5): Renamed to ...
34871 (LDLIBS-tst-lfschk5): This.
34872 (LDFLAGS-tst-lfschk6): Renamed to ...
34873 (LDLIBS-tst-lfschk6): This.
34875 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34876 on $(common-objpfx)soversions.mk.
34878 2012-09-07 Joseph Myers <joseph@codesourcery.com>
34881 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34884 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34886 * malloc/arena.c (arena_get_retry): New function that gets
34887 another arena for the caller to try its request on.
34888 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34889 current arena cannot fulfill the request.
34890 (__libc_memalign): Likewise.
34891 (__libc_memalign): Likewise.
34892 (__libc_pvalloc): Likewise.
34893 (__libc_calloc): Likewise.
34895 2012-09-05 John Tobey <john.tobey@gmail.com>
34898 * manual/arith.texi (Operations on Complex): Fix description
34899 of carg branch cut.
34901 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34904 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34908 * manual/memory.texi (Memory): Make order of menu items match
34911 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34913 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34914 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34915 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34917 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34919 * csu/libc-tls.c (static_dtv): Renamed to ...
34920 (_dl_static_dtv): This. Make it global.
34921 (_dl_initial_dtv): Removed.
34922 (__libc_setup_tls): Updated.
34923 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34924 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34927 2012-09-06 Petr Machata <pmachata@redhat.com>
34929 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34930 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34931 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34932 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34934 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34937 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34938 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34941 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34944 * Makeconfig (link-static-before-libc): Replace $(+prector)
34946 (link-static-after-libc): Replace $(+postctor) with
34948 (link-bounded): Replace $(+prector)/$(+postctor) with
34949 $(+prectorT)/$(+postctorT).
34950 (+prectorT): New macro.
34951 (+postctorT): Likewise.
34953 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34955 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34956 (round_str): Handle values above the maximum for IBM long double
34958 * stdlib/tst-strtod-round.c (tests): Regenerated.
34960 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34962 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34964 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34965 zarch_nohighgprs around the zarch optimized routines.
34966 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34967 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34968 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34971 2012-09-05 David S. Miller <davem@davemloft.net>
34973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34975 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34976 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34977 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34978 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34981 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34983 * malloc/arena.c: Fold copyright years.
34984 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34986 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34988 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34990 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34992 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34994 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34996 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34997 change internal state upon failure.
34999 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35001 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35002 * malloc/memusage.c (mmap): Likewise.
35003 (mmap64, mremap): Likewise. Adjust name in comment.
35005 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35007 * libio/fileops.c: Fix typos in comments.
35008 * libio/oldfileops.c: Likewise.
35009 * libio/wfileops.c: Likewise.
35011 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35014 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35015 (tst-malloc-usable-ENV): Set environment for test case.
35016 * malloc/hooks.c (malloc_check_get_size): New function to get
35018 * malloc/malloc.c (musable): Use malloc_check_get_size.
35019 * malloc/tst-malloc-usable.c: New test case.
35021 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35023 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35025 2012-09-05 Allan McRae <allan@archlinux.org>
35028 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35029 determine header location.
35030 * configure: Regenerated.
35032 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35034 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35036 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35037 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35039 (test): Regenerate.
35041 2012-09-04 David S. Miller <davem@davemloft.net>
35043 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35044 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35045 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35047 2012-09-04 Florian Weimer <fweimer@redhat.com>
35049 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35052 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35054 2012-09-04 Joseph Myers <joseph@codesourcery.com>
35057 * libio/iogetdelim.c: Include <limits.h>.
35058 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35059 + len + 1 would overflow.
35061 2012-09-03 Andreas Jaeger <aj@suse.de>
35063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35064 * sysdeps/i386/fpu/libm-test-ulps: Update.
35066 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35068 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35069 Add s_sinf-sse2, s_conf-sse2.
35071 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35072 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35073 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35074 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35076 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35077 for using routine as __sinf_ia32.
35078 Use macro for function declaration and weak_alias.
35079 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35080 for using routine as __cosf_ia32.
35081 Use macro for function declaration and weak_alias.
35083 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35084 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35086 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35087 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35090 * math/libm-test.inc (cos_test): Add more test cases.
35091 (sin_test): Likewise.
35092 (sincos_test): Likewise.
35094 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35096 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35097 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35099 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35101 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35104 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35105 first element of the GOT.
35106 (elf_machine_load_address): Return the difference between
35107 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35109 2012-09-01 Allan McRae <allan@archlinux.org>
35112 * configure.in (AWK): Require gawk version 3.0 or later.
35113 * configure: Regenerated.
35115 2012-09-01 Joseph Myers <joseph@codesourcery.com>
35117 * sysdeps/unix/sysv/linux/kernel-features.h
35118 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35119 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35120 [__NR_clock_getres]: Make code unconditional.
35121 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35122 (clock_getcpuclockid): Remove code left unreachable by removal of
35124 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35125 code unconditional.
35126 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35127 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35128 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35129 Make code unconditional.
35130 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35131 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35132 * sysdeps/unix/sysv/linux/clock_settime.c
35133 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35135 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35136 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35138 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35141 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35142 scripts/test-installation.pl.
35144 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35145 and $ld_so_version if it is set.
35147 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35150 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35151 failure if reading from procfs failed.
35152 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35154 2012-08-27 Joseph Myers <joseph@codesourcery.com>
35156 * sysdeps/unix/sysv/linux/kernel-features.h
35157 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35158 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35159 Remove conditional code.
35160 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35161 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35162 Remove conditional code.
35163 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35164 * sysdeps/unix/sysv/linux/i386/fxstat.c
35165 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35166 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35167 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35168 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35169 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35170 * sysdeps/unix/sysv/linux/i386/lxstat.c
35171 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35172 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35173 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35174 Remove conditional code.
35175 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35176 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35177 Remove conditional code.
35178 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35179 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35180 <kernel-features.h>.
35181 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35183 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35184 Remove conditional code.
35185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35186 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35187 Remove conditional.
35189 2012-08-27 Mike Frysinger <vapier@gentoo.org>
35192 * NEWS: Add fixed bug number.
35194 2012-08-27 Joseph Myers <joseph@codesourcery.com>
35197 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35198 underflowing exponent in case of negative sign.
35199 * stdlib/tst-strtod-round-data: Add more tests.
35200 * stdlib/tst-strtod-round.c (tests): Regenerated.
35203 * stdlib/strtod_l.c (NDIG): Remove.
35204 (HEXNDIG): Likewise.
35205 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35206 smallest representable value.
35207 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35208 lie within an exact representation of 1/2 ulp of the result.
35209 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35211 (TENS_P9_IDX): Define unconditionally.
35212 (TENS_P9_SIZE): Likewise.
35213 (TENS_P10_IDX): Likewise.
35214 (TENS_P10_SIZE): Likewise.
35215 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35216 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35217 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35218 entries for 10^2^13 and 10^2^14.
35219 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35220 (TENS_P13_IDX): Define.
35221 (TENS_P13_SIZE): Likewise.
35222 (TENS_P14_IDX): Likewise.
35223 (TENS_P14_SIZE): Likewise.
35224 (_fpioconst_pow10): Change array size to
35225 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35227 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35228 1024]: Add entries for 10^2^13 and 10^2^14.
35229 [LAST_POW10 > _LAST_POW10]: Remove #error.
35230 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35231 (_fpioconst_pow10): Change array size to
35232 FPIOCONST_POW10_ARRAY_SIZE.
35233 * stdlib/gen-fpioconst.c: New file.
35234 * stdlib/gen-tst-strtod-round.c: Likewise.
35235 * stdlib/tst-strtod-round-data: Likewise.
35236 * stdlib/tst-strtod-round.c: Likewise.
35237 * stdlib/Makefile (tests): Add tst-strtod-round.
35240 * stdlib/strtod_l.c: Include <stdint.h>.
35241 (NDEBUG): Do not define.
35242 (round_and_return): Change EXPONENT parameter to type intmax_t.
35243 Rearrange calculations to avoid internal overflow possibilities.
35244 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35245 Rearrange calculations to avoid internal overflow possibilities.
35246 Assert that number fits inside MPNSIZE limbs.
35247 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35248 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35249 calculations and add assertions to avoid internal overflow
35250 possibilities. Add casts to avoid signed/unsigned operations.
35251 * stdlib/tst-strtod-overflow.c: New file.
35252 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35254 2012-08-25 Marek Polacek <polacek@redhat.com>
35256 * time/time.h: Fix some typos in comments.
35258 2012-08-23 Roland McGrath <roland@hack.frob.com>
35260 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35261 * posix/tst-rfc3484-2.c: Likewise.
35262 * posix/tst-rfc3484-3.c: Likewise.
35264 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35266 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35267 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35269 2012-08-23 Joseph Myers <joseph@codesourcery.com>
35271 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35272 #include of fxstatat64.c.
35274 2012-08-22 Roland McGrath <roland@hack.frob.com>
35276 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35277 * shadow/getspent_r.c: Likewise.
35278 * shadow/getspnam.c: Likewise.
35279 * shadow/getspnam_r.c: Likewise.
35280 * gshadow/getsgent.c: Likewise.
35281 * gshadow/getsgent_r.c: Likewise.
35282 * gshadow/getsgnam.c: Likewise.
35283 * gshadow/getsgnam_r.c: Likewise.
35284 * inet/getnetbyad.c: Likewise.
35285 * inet/getnetbyad_r.c: Likewise.
35286 * inet/getnetbynm.c: Likewise.
35287 * inet/getnetbynm_r.c: Likewise.
35288 * inet/getnetent.c: Likewise.
35289 * inet/getnetent_r.c: Likewise.
35290 * inet/getproto.c: Likewise.
35291 * inet/getproto_r.c: Likewise.
35292 * inet/getprtent.c: Likewise.
35293 * inet/getprtent_r.c: Likewise.
35294 * inet/getprtname.c: Likewise.
35295 * inet/getprtname_r.c: Likewise.
35296 * inet/getrpcbyname.c: Likewise.
35297 * inet/getrpcbyname_r.c: Likewise.
35298 * inet/getrpcbynumber.c: Likewise.
35299 * inet/getrpcbynumber_r.c: Likewise.
35300 * inet/getrpcent.c: Likewise.
35301 * inet/getrpcent_r.c: Likewise.
35302 * inet/getaliasent.c: Likewise.
35303 * inet/getaliasent_r.c: Likewise.
35304 * inet/getaliasname.c: Likewise.
35305 * inet/getaliasname_r.c: Likewise.
35306 * nscd/getgrgid_r.c: Likewise.
35307 * nscd/getgrnam_r.c: Likewise.
35308 * nscd/gethstbyad_r.c: Likewise.
35309 * nscd/gethstbynm3_r.c: Likewise.
35310 * nscd/getpwnam_r.c: Likewise.
35311 * nscd/getpwuid_r.c: Likewise.
35312 * nscd/getsrvbynm_r.c: Likewise.
35313 * nscd/getsrvbypt_r.c: Likewise.
35314 * nscd/gai.c: Likewise.
35316 * configure.in (build_nscd): New substituted variable, set
35317 by --disable-build-nscd and defaults to $use_nscd.
35318 * configure: Regenerated.
35319 * config.make.in (build-nscd): New substituted variable.
35320 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35321 Change conditional to require [$(build-nscd) = yes] as well.
35322 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35325 * configure.in (use_nscd): New substituted variable, set by
35326 --disable-nscd. If enabled, define USE_NSCD.
35327 * configure: Regenerated.
35328 * config.h.in: Add USE_NSCD.
35329 * config.make.in (use-nscd): New substituted variable.
35330 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35331 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35332 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35333 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35334 (CFLAGS-getgrnam_r.c): Likewise.
35335 (CFLAGS-initgroups.c): Likewise.
35336 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35337 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35339 * inet/getnetgrent_r.c
35340 (nscd_setnetgrent): New function, broken out of ...
35341 (setnetgrent): ... here. Call it.
35342 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35343 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35344 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35345 * nscd/Makefile (routines, aux): Move definitions after include of
35346 Makeconfig. Conditionalize on [$(use-nscd) != no].
35347 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35348 Conditionalize on [USE_NSCD].
35349 (is_nscd, nscd_init_cb): Likewise.
35350 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35351 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35352 * nss/nss_db/db-init.c: Likewise.
35353 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35355 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35356 (make_request): Use it.
35357 (cache_valid_p): New function.
35358 (__check_pf): Use it.
35359 * NEWS: Add item for --disable-nscd.
35361 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35363 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35364 to support sed >= 4.2.1-20-ga9bf076.
35365 * configure: Regenerated.
35367 2012-08-22 Roland McGrath <roland@hack.frob.com>
35369 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35370 Conditionalize whole body on [IREL].
35372 2012-08-22 Jeff Law <law@redhat.com>
35375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35376 if the family is PF_UNSPEC.
35378 2012-08-22 Mike Frysinger <vapier@gentoo.org>
35380 * Makerules (lib-version): Rename from V.
35381 (install-lib-nosubdir): Change V to lib-version.
35383 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35386 * powerpc32/power6/wcschr.c: New file.
35387 * powerpc32/power6/wcscpy.c: New file.
35388 * powerpc32/power6/wcsrchr.c: New file.
35389 * powerpc64/power6/wcschr.c: New file.
35390 * powerpc64/power6/wcscpy.c: New file.
35391 * powerpc64/power6/wcsrchr.c: New file.
35393 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35395 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35396 (two_way_short_needle): Use it.
35397 * string/strstr.c (AVAILABLE1_USES_J): Define.
35398 * string/strcasestr.c: Likewise.
35400 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35402 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35405 * NEWS: Add an entry.
35406 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35407 define their defaults.
35408 (two_way_short_needle): Detect end-of-string on-the-fly.
35409 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35410 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35411 * string/bug-strcasestr1.c: New test.
35412 * string/Makefile: Run it.
35414 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35417 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35418 the first character.
35420 2012-08-21 Roland McGrath <roland@hack.frob.com>
35422 * csu/elf-init.c (__libc_csu_irel): Function removed.
35423 * csu/libc-start.c (apply_irel): New function.
35424 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35426 2012-08-21 Joseph Myers <joseph@codesourcery.com>
35428 * sysdeps/unix/sysv/linux/kernel-features.h
35429 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35430 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35431 <kernel-features.h>.
35432 [__NR_fadvise64_64]: Make code unconditional.
35433 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35434 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35435 !__NR_fadvise64_64)]: Likewise.
35436 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35437 !__NR_fadvise64_64))]: Likewise.
35438 [__NR_fadvise64]: Make code unconditional.
35439 [!__NR_fadvise64]: Remove conditional code.
35440 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35441 <kernel-features.h>.
35442 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35444 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35447 not include <kernel-features.h>.
35448 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35450 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35452 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35453 include <kernel-features.h>.
35454 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35456 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35459 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35461 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35462 slight instruction rearrangements per scrollpipe analysis.
35463 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35465 2012-08-20 Roland McGrath <roland@hack.frob.com>
35467 * manual/syslog.texi (syslog; vsyslog, closelog):
35468 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35469 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35471 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35472 DSOCAPS to match condition on defining it.
35474 2012-08-20 Joseph Myers <joseph@codesourcery.com>
35476 * sysdeps/unix/sysv/linux/kernel-features.h
35477 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35479 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35480 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35482 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35483 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35485 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35486 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35488 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35489 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35491 * sysdeps/unix/sysv/linux/kernel-features.h
35492 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35493 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35495 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35496 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35497 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35498 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35499 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35500 Make code unconditional.
35501 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35502 (__mmap64) [!__NR_mmap2]: Likewise.
35503 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35504 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35505 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35506 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35507 [__NR_mmap2]: Make code unconditional.
35508 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35509 (__mmap64) [!__NR_mmap2]: Likewise.
35511 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35513 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35515 2012-08-18 Andreas Jaeger <aj@suse.de>
35517 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35519 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35521 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35522 * include/unistd.h (__have_sock_cloexec): Likewise.
35523 (__have_pipe2): Likewise.
35524 (__have_dup3): Likewise.
35526 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35529 * include/unistd.h (__have_pipe2): Change define into an extern int.
35530 (__have_dup3): Likewise.
35531 * socket/have_sock_cloexec.c: Include fcntl.h.
35532 (__have_pipe2): New variable.
35533 (__have_dup3): Likewise.
35535 2012-08-17 Mike Frysinger <vapier@gentoo.org>
35537 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35539 2012-08-17 Marek Polacek <polacek@redhat.com>
35541 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35542 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35544 2012-08-17 Roland McGrath <roland@hack.frob.com>
35546 * configure.in: Add AC_SUBST for sysheaders.
35547 * configure: Regenerated.
35548 * config.make.in (sysheaders): New substituted variable.
35550 * sysdeps/unix/mkfifo.c: Moved ...
35551 * sysdeps/posix/mkfifo.c: ... here.
35552 * sysdeps/unix/mkfifoat.c: Moved ...
35553 * sysdeps/posix/mkfifoat.c: ... here.
35555 * sysdeps/unix/utime.c: Moved ...
35556 * sysdeps/posix/utime.c: ... here.
35558 * sysdeps/unix/time.c: Moved ...
35559 * sysdeps/posix/time.c: ... here.
35560 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35561 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35563 * sysdeps/unix/nice.c: Moved ...
35564 * sysdeps/posix/nice.c: ... here.
35566 * sysdeps/unix/alarm.c: Moved ...
35567 * sysdeps/posix/alarm.c: ... here.
35569 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35571 2012-08-17 Jeff Law <law@redhat.com>
35573 * intl/Makefile (codeset_mo): New variable.
35574 ($(codeset_mo)): New target.
35575 (tst-codeset.out): Depend on that. Remove explicit rule.
35576 (tst-gettext3.out, tst-gettext5.out): Likewise.
35577 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35578 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35579 * intl/tst-codeset.sh: Remove.
35580 * intl/tst-gettext3.sh: Likewise.
35581 * intl/tst-gettext5.sh: Likewise.
35583 2012-08-17 Roland McGrath <roland@hack.frob.com>
35585 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35586 * sysdeps/unix/syscalls.list: ... here.
35588 * sysdeps/posix/getaddrinfo.c
35589 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35590 (gaiconf_init, gaiconf_reload): Use them.
35591 [!_STATBUF_ST_NSEC]
35592 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35593 Define using time_t rather than struct timespec.
35595 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35596 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35598 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35600 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35601 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35604 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35605 __libc_cleanup_push argument.
35607 * bits/param.h: New file.
35608 * misc/sys/param.h: New file.
35609 * include/sys/param.h: New file.
35610 * misc/Makefile (headers): Add bits/param.h.
35611 * sysdeps/generic/sys/param.h: File removed.
35612 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35613 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35614 * sysdeps/mach/hurd/bits/param.h: New file.
35615 * sysdeps/mach/hurd/sys/param.h: File removed.
35617 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35620 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35622 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35623 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35626 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35627 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35628 rather than -D_IO_MTSAFE_IO conditionally.
35629 * stdio-common/Makefile (CPPFLAGS): Likewise.
35630 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35631 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35632 Use $(libio-mtsafe).
35633 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35634 of -D_IO_MTSAFE_IO.
35635 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35636 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35637 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35638 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35639 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35640 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35641 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35642 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35643 (CFLAGS-fread_u_chk.c): Likewise.
35644 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35645 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35646 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35647 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35648 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35649 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35650 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35651 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35652 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35654 * libio/Makefile: Test [$(libc-reentrant) = yes]
35655 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35658 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35659 * sysdeps/pthread/configure: File removed.
35660 * sysdeps/pthread/Makeconfig: New file.
35661 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35662 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35664 2012-08-16 Gary Benson <gbenson@redhat.com>
35666 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35667 unmapping the first object in a namespace.
35669 2012-08-16 Roland McGrath <roland@hack.frob.com>
35671 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35672 (__internal_setnetgrent): ... this. Add internal_function to
35673 definition. Add libc_hidden_def.
35674 (setnetgrent): Update caller.
35675 (internal_endnetgrent): Renamed to ...
35676 (__internal_endnetgrent): ... this. Add internal_function to
35677 definition. Add libc_hidden_def.
35678 (endnetgrent): Update caller.
35679 (internal_getnetgrent_r): Renamed to ...
35680 (__internal_getnetgrent_r): ... this. Add internal_function to
35681 definition. Add libc_hidden_def.
35682 (__getnetgrent_r): Update caller.
35683 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35685 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35687 * stdlib/longlong.h: Update from GCC.
35689 2012-08-16 Roland McGrath <roland@hack.frob.com>
35691 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35692 on _QL, which is set by umul_ppmm but never used.
35693 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35694 variables, which are set by GMP macros but never used.
35695 * stdio-common/_itowa.c (_itowa): Likewise.
35696 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35697 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35699 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35701 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35702 struct La_sh_regs is not constant.
35703 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35704 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35705 and struct La_sparc64_regs are not constant.
35707 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35709 * sysdeps/unix/sysv/linux/kernel-features.h
35710 (__ASSUME_POSIX_TIMERS): Remove.
35711 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35712 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35713 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35714 Make code unconditional.
35715 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35716 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35717 Make code unconditional.
35718 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35719 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35720 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35721 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35722 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35723 Make code unconditional.
35724 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35725 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35726 (__libc_missing_posix_timers): Remove.
35728 2012-08-15 Roland McGrath <roland@hack.frob.com>
35730 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35731 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35733 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35735 * elf/dl-sym.c: Include <stdlib.h>.
35737 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35738 constants, which avoids warnings in 32-bit builds.
35740 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35741 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35743 * misc/lseek.c: File moved to ...
35744 * io/lseek.c: ... here.
35746 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35748 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35749 shifting LEN more than 31 bits at once.
35751 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35754 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35755 segmentation fault for a case of two empty input strings.
35756 * string/test-strncasecmp.c (check1): Renamed to...
35757 (bz12205): ...this.
35758 (bz14195): Add new testcase for two empty input strings and N > 0.
35759 (test_main): Call new testcase, adapt for renamed function.
35761 2012-08-15 Andreas Jaeger <aj@suse.de>
35764 * crypt/md5test2.c: New test, based on test supplied by Serge
35765 Belyshev <belyshev@depni.sinp.msu.ru>.
35766 * crypt/Makefile (xtests): Add md5test-giant..
35767 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35769 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35772 * crypt/md5.c (md5_process_block): Don't assume the buffer
35773 length is less than 2**32.
35774 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35775 length is less than 2**64.
35777 2012-08-15 Roland McGrath <roland@hack.frob.com>
35779 * string/str-two-way.h: Include <sys/param.h>.
35780 (MAX): Macro removed.
35782 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35783 Move #define and #undef of memmove to just before and after
35784 including <string.h>.
35786 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35787 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35788 and after including <string.h>. Move declarations of
35789 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35790 to before #include "string/memmove.c".
35792 * include/dirent.h: Declare __getdirentries.
35794 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35795 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35797 2012-08-14 Mike Frysinger <vapier@gentoo.org>
35799 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35800 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35801 * sysdeps/i386/configure: Regenerated.
35802 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35803 STABS_CURRENT_FILE, and STABS_FUN.
35804 (END): Remove call to STABS_FUN_END.
35805 (STABS_CURRENT_FILE1): Delete.
35806 (STABS_CURRENT_FILE): Likewise.
35807 (STABS_FUN): Likewise.
35808 (STABS_FUN_END): Likewise.
35809 (STABS_FUN2): Likewise.
35810 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35811 * sysdeps/x86_64/configure: Regenerated.
35813 2012-08-14 Roland McGrath <roland@hack.frob.com>
35815 * elf/dl-open.c: Include <atomic.h>.
35816 * elf/dl-lookup.c: Likewise.
35818 2012-08-14 Joseph Myers <joseph@codesourcery.com>
35820 * sysdeps/unix/sysv/linux/kernel-features.h
35821 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35822 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35824 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35826 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35827 condition on __ASSUME_CLONE_THREAD_FLAGS.
35829 2012-08-14 Andreas Jaeger <aj@suse.de>
35831 * sysdeps/i386/fpu/libm-test-ulps: Update.
35833 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35835 * include/atomic.h (atomic_exchange_and_add): Split into ...
35836 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35839 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35843 2012-08-13 Jeff Law <law@redhat.com>
35845 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35846 null byte in the output string.
35848 2012-08-10 Joseph Myers <joseph@codesourcery.com>
35850 * sysdeps/unix/sysv/linux/kernel-features.h
35851 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35852 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35853 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35854 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35855 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35856 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35857 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35859 2012-08-09 Jeff Law <law@redhat.com>
35862 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35863 When avoid_arena is set, don't retry in the that arena. Pick the
35864 next one, whatever it might be.
35865 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35866 (arena_lock): Pass in new parameter to arena_get2.
35867 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35869 (__libc_malloc): Unify retrying after main arena failure with
35870 __libc_memalign version.
35871 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35873 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35876 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35877 to __redirect_strstr.
35878 (__strstr_sse42): Use typeof __redirect_strstr.
35879 (__strstr_ia32): Likewise.
35880 (__libc_strstr): New prototype.
35881 (strstr): Renamed to ...
35882 (__libc_strstr): This.
35883 (strstr): New strong alias of __libc_strstr.
35884 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35885 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35888 (__libc_time): New prototype.
35889 (time_ifunc): Replace time with __libc_time.
35890 (time): New strong alias and hidden definition of __libc_time.
35891 (__GI_time): Remove strong alias.
35892 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35893 Include <stddef.h>.
35894 (memmove): Redefined to __redirect_memmove.
35895 (__memmove_sse2): Use typeof __redirect_memmove.
35896 (__memmove_ssse3): Likewise.
35897 (__memmove_ssse3_back): Likewise.
35898 (__libc_memmove): New prototype.
35899 (memmove): Renamed to ...
35900 (__libc_memmove): This.
35901 (memmove): New strong alias of __libc_memmove.
35903 2012-08-08 Mark Salter <msalter@redhat.com>
35906 (R_MN10300_TLS_GD): Define.
35907 (R_MN10300_TLS_LD): Likewise.
35908 (R_MN10300_TLS_LDO): Likewise.
35909 (R_MN10300_TLS_GOTIE): Likewise.
35910 (R_MN10300_TLS_IE): Likewise.
35911 (R_MN10300_TLS_LE): Likewise.
35912 (R_MN10300_TLS_DTPMOD): Likewise.
35913 (R_MN10300_TLS_DTPOFF): Likewise.
35914 (R_MN10300_TLS_TPOFF): Likewise.
35915 (R_MN10300_SYM_DIFF): Likewise.
35916 (R_MN10300_ALIGN): Likewise.
35917 (R_MN10300_NUM): Update.
35919 2012-08-08 Joseph Myers <joseph@codesourcery.com>
35921 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35924 2012-08-08 Roland McGrath <roland@hack.frob.com>
35926 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35928 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35929 sysdeps/unix -> sysdeps/posix move.
35930 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35932 2012-08-07 Allan McRae <allan@archlinux.org>
35935 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35936 (SUNOS_CPP): Likewise.
35937 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35939 (open_input): Call CPP using execvp.
35941 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35943 * sysdeps/unix/sysv/linux/kernel-features.h
35944 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35945 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35946 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35947 (__ASSUME_WAITID_SYSCALL): Likewise.
35948 * sysdeps/unix/sysv/linux/dl-execstack.c
35949 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35950 code unconditional.
35951 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35953 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35954 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35955 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35957 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35959 [__ASSUME_WAITID_SYSCALL]: Likewise.
35960 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35962 2012-08-07 Roland McGrath <roland@hack.frob.com>
35964 * sysdeps/unix/closedir.c: Renamed to ...
35965 * sysdeps/posix/closedir.c: ... here.
35966 * sysdeps/unix/dirfd.c: Renamed to ...
35967 * sysdeps/posix/dirfd.c: ... here.
35968 * sysdeps/unix/dirstream.h: Renamed to ...
35969 * sysdeps/posix/dirstream.h: ... here.
35970 * sysdeps/unix/fdopendir.c: Renamed to ...
35971 * sysdeps/posix/fdopendir.c: ... here.
35972 * sysdeps/unix/opendir.c: Renamed to ...
35973 * sysdeps/posix/opendir.c: ... here.
35974 * sysdeps/unix/readdir.c: Renamed to ...
35975 * sysdeps/posix/readdir.c: ... here.
35976 * sysdeps/unix/readdir_r.c: Renamed to ...
35977 * sysdeps/posix/readdir_r.c: ... here.
35978 * sysdeps/unix/rewinddir.c: Renamed to ...
35979 * sysdeps/posix/rewinddir.c: ... here.
35980 * sysdeps/unix/seekdir.c: Renamed to ...
35981 * sysdeps/posix/seekdir.c: ... here.
35982 * sysdeps/unix/telldir.c: Renamed to ...
35983 * sysdeps/posix/telldir.c: ... here.
35984 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35985 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35986 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35987 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35989 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35990 * bits/fcntl.h: ... here.
35992 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35994 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35995 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35996 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35997 (struct flock): Move l_start, l_len to the beginning.
35998 Use __pid_t for l_pid.
35999 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36000 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36001 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36002 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36003 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36004 [__USE_LARGEFILE64] (struct flock64): New type.
36005 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36007 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36008 * bits/dirent.h: ... here.
36010 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36011 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36013 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36015 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36016 Change from 2.6.0 to 2.6.16.
36017 * sysdeps/unix/sysv/linux/configure: Regenerated.
36018 * sysdeps/unix/sysv/linux/kernel-features.h
36019 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36020 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36022 (__ASSUME_UTIMES): Likewise.
36023 (__ASSUME_CLONE_STOPPED): Remove.
36024 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36025 architectures, not kernel version.
36026 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36027 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36028 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36029 (__ASSUME_WAITID_SYSCALL): Likewise.
36030 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36031 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36032 * README: State 2.6.16 as minimum Linux kernel version. Do not
36033 refer to older versions.
36035 2012-08-06 Roland McGrath <roland@hack.frob.com>
36037 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36038 Define alphasort64 as an alias.
36039 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36040 Define versionsort64 as an alias.
36041 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36042 Define scandir64 as an alias.
36043 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36044 Define scandirat64 as an alias.
36045 * dirent/alphasort64.c (alphasort64):
36046 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36047 * dirent/versionsort64.c: Likewise.
36048 * dirent/scandir64.c: Likewise.
36049 * dirent/scandirat64.c: Likewise.
36050 * sysdeps/wordsize-64/alphasort.c: File removed.
36051 * sysdeps/wordsize-64/alphasort64.c: File removed.
36052 * sysdeps/wordsize-64/scandir.c: File removed.
36053 * sysdeps/wordsize-64/scandir64.c: File removed.
36054 * sysdeps/wordsize-64/scandirat.c: File removed.
36055 * sysdeps/wordsize-64/scandirat64.c: File removed.
36056 * sysdeps/wordsize-64/versionsort.c: File removed.
36057 * sysdeps/wordsize-64/versionsort64.c: File removed.
36058 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36059 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36060 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36061 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36062 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36063 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36064 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36065 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36067 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36068 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36069 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36070 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36071 [defined __arch64__ || defined __sparcv9]
36072 (__INO_T_MATCHES_INO64_T): New macro.
36073 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36074 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36075 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36076 * sysdeps/unix/sysv/linux/bits/dirent.h
36077 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36078 (_DIRENT_MATCHES_DIRENT64): New macro.
36080 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36081 Define lockf64 as an alias.
36082 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36083 Define fseeko64 as an alias.
36084 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36085 Define ftello64 as an alias.
36086 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36087 Define _IO_fgetpos64 and fgetpos64 as aliases.
36088 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36089 Define _IO_fsetpos64 and fsetpos64 as aliases.
36090 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36091 Conditionalize body on this.
36092 * libio/fseeko64.c: Likewise.
36093 * libio/ftello64.c: Likewise.
36094 * libio/iofgetpos64.c: Likewise.
36095 * libio/iofsetpos64.c: Likewise.
36096 * sysdeps/wordsize-64/lockf.c: File removed.
36097 * sysdeps/wordsize-64/lockf64.c: File removed.
36098 * sysdeps/wordsize-64/fseeko.c: File removed.
36099 * sysdeps/wordsize-64/fseeko64.c: File removed.
36100 * sysdeps/wordsize-64/ftello.c: File removed.
36101 * sysdeps/wordsize-64/ftello64.c: File removed.
36102 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36103 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36104 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36105 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36106 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36107 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36108 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36109 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36110 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36111 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36112 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36113 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36114 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36115 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36117 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36118 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36119 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36121 [defined __arch64__ || defined __sparcv9]
36122 (__OFF_T_MATCHES_OFF64_T): New macro.
36123 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36124 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36125 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36126 (__OFF_T_MATCHES_OFF64_T): New macro.
36128 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36130 * stdlib/secure-getenv.c (__secure_getenv): Replace
36131 GLIBC_2_16 with GLIBC_2_17.
36133 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36135 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36136 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36138 2012-08-03 David S. Miller <davem@davemloft.net>
36140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36142 2012-08-03 Joseph Myers <joseph@codesourcery.com>
36144 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36146 (__ASSUME_CORRECT_SI_PID): Likewise.
36147 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36148 (__ASSUME_TMPFS_NAME): Likewise.
36149 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36150 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36151 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36152 (HAVE_AUX_SECURE): Make definition unconditional.
36153 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36154 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36156 2012-08-03 Roland McGrath <roland@hack.frob.com>
36158 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36159 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36160 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36161 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36162 __eloop_threshold instead of SYMLOOP_MAX.
36164 * sysdeps/generic/eloop-threshold.h: New file.
36165 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36167 * elf/chroot_canon.c (chroot_canon): Likewise.
36169 2012-08-03 Joseph Myers <joseph@codesourcery.com>
36172 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36173 Change to 2.6.0 everywhere.
36174 * sysdeps/unix/sysv/linux/configure: Regenerated.
36175 * sysdeps/unix/sysv/linux/kernel-features.h
36176 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36177 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36179 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36180 (__ASSUME_FUTEX_REQUEUE): Remove.
36181 (__ASSUME_STATFS64): Define unconditionally.
36182 (__ASSUME_AT_SECURE): Likewise.
36183 (__ASSUME_CORRECT_SI_PID): Likewise.
36184 (__ASSUME_TGKILL): Define without depending on kernel version for
36186 (__ASSUME_UTIMES): Likewise.
36187 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36189 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36190 (__ASSUME_TMPFS_NAME): Likewise.
36191 * README: Update reference to Linux kernel versions.
36193 2012-08-02 Marek Polacek <polacek@redhat.com>
36196 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36197 libc_cv_asm_type_prefix with %.
36198 * configure: Regenerated.
36199 * include/libc-symbols.h: Remove comment about
36200 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36201 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36202 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36203 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36204 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36205 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36206 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36207 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36208 * elf/tst-unique2mod1.c: Likewise.
36209 * elf/tst-unique1mod2.c: Likewise.
36210 * elf/tst-unique1mod1.c: Likewise.
36211 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36212 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36213 Replace ASM_TYPE_DIRECTIVE with .type.
36214 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36215 * sysdeps/i386/sysdep.h: Likewise.
36216 * sysdeps/x86_64/sysdep.h: Likewise.
36217 * sysdeps/sh/sysdep.h: Likewise.
36218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36219 Do not define ASM_TYPE_DIRECTIVE.
36220 * sysdeps/powerpc/sysdep.h: Likewise.
36221 * sysdeps/powerpc/powerpc32/sysdep.h:
36222 Replace ASM_TYPE_DIRECTIVE with .type.
36223 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36224 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36225 * sysdeps/i386/fpu/e_powf.S: Likewise.
36226 * sysdeps/i386/fpu/e_expl.S: Likewise.
36227 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36228 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36229 * sysdeps/i386/fpu/e_pow.S: Likewise.
36230 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36231 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36232 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36233 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36234 * sysdeps/i386/fpu/e_log2.S: Likewise.
36235 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36236 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36237 * sysdeps/i386/fpu/e_powl.S: Likewise.
36238 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36239 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36240 * sysdeps/i386/fpu/e_logl.S: Likewise.
36241 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36242 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36243 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36244 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36245 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36246 * sysdeps/i386/fpu/e_log.S: Likewise.
36247 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36248 * sysdeps/i386/fpu/e_logf.S: Likewise.
36249 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36250 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36251 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36252 * sysdeps/i386/fpu/e_log10.S: Likewise.
36253 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36254 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36255 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36256 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36257 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36258 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36259 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36260 * sysdeps/i386/i686/strtok.S: Likewise.
36261 * sysdeps/i386/i386-mcount.S: Likewise.
36262 * sysdeps/i386/strtok.S: Likewise.
36263 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36264 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36265 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36266 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36267 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36268 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36269 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36270 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36271 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36272 * sysdeps/x86_64/_mcount.S: Likewise.
36273 * sysdeps/x86_64/strtok.S: Likewise.
36274 * sysdeps/sh/_mcount.S: Likewise.
36276 2012-08-01 Roland McGrath <roland@hack.frob.com>
36278 * libio/iofopen.c: Include <fcntl.h>.
36279 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36280 (_IO_fopen64, fopen64): Define as aliases.
36281 * libio/iofopen64.c: Include <fcntl.h>.
36282 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36283 Conditionalize body on this.
36284 * sysdeps/wordsize-64/iofopen.c: File removed.
36285 * sysdeps/wordsize-64/iofopen64.c: File removed.
36287 2012-08-01 Marek Polacek <polacek@redhat.com>
36289 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36290 Use dlfcn directly instead of a variable.
36291 (binfmt-subdir): Do not define.
36294 2012-08-01 Joseph Myers <joseph@codesourcery.com>
36296 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36297 Remove all definitions.
36298 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36299 <kernel-features.h>.
36300 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36301 (miss_F_GETOWN_EX): Remove all definitions.
36302 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36304 [!__ASSUME_FCNTL64]: Remove conditional code.
36305 [__ASSUME_FCNTL64]: Make code unconditional.
36306 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36307 <kernel-features.h>.
36308 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36309 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36310 (lockf64) [__NR_fcntl64]: Make code unconditional.
36311 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36313 * sysdeps/unix/sysv/linux/kernel-features.h
36314 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36315 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36316 Make code unconditional.
36317 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36318 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36320 [__NR_vfork]: Make code unconditional.
36321 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36322 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36324 [__NR_vfork]: Make code unconditional.
36325 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36326 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36328 2012-08-01 Roland McGrath <roland@hack.frob.com>
36330 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36331 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36333 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36334 Define mkstemp64 as an alias.
36335 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36336 Define mkstemps64 as an alias.
36337 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36338 Define mkostemp64 as an alias.
36339 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36340 Define mkostemps64 as an alias.
36341 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36342 Conditionalize body on this.
36343 * misc/mkostemp64.c: Likewise.
36344 * misc/mkostemps64.c: Likewise.
36345 * misc/mkstemps64.c: Likewise.
36346 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36347 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36348 * sysdeps/wordsize-64/mkostemp.c: File removed.
36349 * sysdeps/wordsize-64/mkstemp.c: File removed.
36350 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36351 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36352 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36353 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36356 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36357 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36358 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36359 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36361 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36362 compat_symbol macros from <shlib-compat.h> rather than the underlying
36363 default_symbol_version and symbol_version macros, so that DEFAULT
36364 lines in shlib-versions are respected.
36365 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36367 2012-08-01 Florian Weimer <fweimer@redhat.com>
36369 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36370 Declare with warn_unused_result.
36371 (setgid, setregid, setegid, setresgid): Likewise.
36372 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36374 * WUR-REPORT: Remove set*id functions.
36376 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36378 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36380 2012-07-31 Roland McGrath <roland@hack.frob.com>
36383 * include/sys/socket.h (__libc_accept, __libc_accept4):
36384 Add attribute_hidden.
36385 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36387 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36389 * inet/getnetgrent_r.c (setup): Likewise.
36391 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36393 2012-07-31 David S. Miller <davem@davemloft.net>
36395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36397 2012-07-31 Joseph Myers <joseph@codesourcery.com>
36400 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36401 value between 1.0 and 2.0 and smaller part has absolute value less
36403 * math/s_clog10.c (__clog10): Likewise.
36404 * math/s_clog10f.c (__clog10f): Likewise.
36405 * math/s_clog10l.c (__clog10l): Likewise.
36406 * math/s_clogf.c (__clogf): Likewise.
36407 * math/s_clogl.c (__clogl): Likewise.
36408 * math/libm-test.inc (clog_test): Add more tests.
36409 (clog10_test): Likewise.
36410 * sysdeps/i386/fpu/libm-test-ulps: Update.
36411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36413 2012-07-31 Florian Weimer <fweimer@redhat.com>
36415 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36416 Exit with zero in case no suitable GID is found, and write a
36417 message to standard error.
36419 2012-07-30 Roland McGrath <roland@hack.frob.com>
36421 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36423 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36424 (MAXPATHLEN): Removed.
36425 (NOGROUP, NODEV): New macros.
36426 (setbit, clrbit, isset, isclr): New macros.
36427 (howmany, roundup, powerof2): New macros.
36428 (DEV_BSIZE): New macro.
36430 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36431 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36433 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36434 definition on [!__NO_LONG_DOUBLE_MATH].
36436 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36437 PTR_MANGLE and PTR_DEMANGLE.
36439 * socket/accept4.c (accept4): Rename to __libc_accept4.
36440 Define accept4 as a weak alias.
36442 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36443 on [_DIRENT_HAVE_D_TYPE].
36444 * io/ftw.c (ftw_dir): Likewise.
36446 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36448 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36450 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36451 Use the BSD numbers rather than the arbitrary ones we had.
36452 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36453 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36454 (SIGXCPU, SIGXFSZ): New macros.
36457 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36458 initializer on [_LIBC_REENTRANT].
36460 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36461 definitions inside [_POSIX_MAPPED_FILES].
36463 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36465 * dirent/opendir.c: Include <fcntl.h>.
36467 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36468 (__libc_getspecific): Likewise.
36469 (__libc_key_create): Likewise.
36471 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36472 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36473 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36474 (tmpfile64): Define as alias.
36475 * sysdeps/wordsize-64/tmpfile.c: File removed.
36476 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36477 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36478 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36480 * stdio-common/vfscanf.c: Include <stdbool.h>.
36481 * nss/makedb.c: Likewise.
36482 * stdio-common/_i18n_number.h: Likewise.
36483 * argp/argp-help.c: Likewise.
36484 * posix/wordexp.c: Likewise.
36485 * sysdeps/posix/spawni.c: Likewise.
36486 * nss/nss_files/files-initgroups.c: Likewise.
36487 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36488 * nss/nss_files/files-initgroups.c: Likewise.
36489 * nss/nss_db/db-netgrp.c: Likewise.
36490 * nss/nss_db/db-initgroups.c: Likewise.
36491 * io/fchmodat.c: Include <sys/stat.h>.
36493 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36494 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36496 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36499 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36500 Add multiple inclusion protection.
36502 2012-07-27 David S. Miller <davem@davemloft.net>
36504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36506 2012-07-27 Gary Benson <gbenson@redhat.com>
36509 * elf/rtld.c: Include <stap-probe.h>.
36510 (dl_main): Added static probes "init_start" and "init_complete".
36511 * elf/dl-load.c: Include <stap-probe.h>.
36512 (lose): Take new parameter "nsid".
36513 Added static probe "map_failed".
36514 (_dl_map_object_from_fd): Pass namespace id to lose.
36515 Added static probe "map_start".
36516 (open_verify): Pass namespace id to lose.
36517 * elf/dl-open.c: Include <stap-probe.h>.
36518 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36519 and "reloc_complete".
36520 * elf/dl-close.c: Include <stap-probe.h>.
36521 (_dl_close_worker): Added static probes "unmap_start" and
36523 * elf/rtld-debugger-interface.txt: New file documenting the above.
36525 2012-07-26 Roland McGrath <roland@hack.frob.com>
36527 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36528 rather than a string variable.
36529 * sunrpc/rpc_main.c (h_output): Likewise.
36530 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36532 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36534 * inet/check_native.c: New file.
36536 2012-07-26 Joseph Myers <joseph@codesourcery.com>
36539 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36540 if larger part has absolute value 1.0.
36541 * math/s_clog10.c (__clog10): Likewise.
36542 * math/s_clog10f.c (__clog10f): Likewise.
36543 * math/s_clog10l.c (__clog10l): Likewise.
36544 * math/s_clogf.c (__clogf): Likewise.
36545 * math/s_clogl.c (__clogl): Likewise.
36546 * math/libm-test.inc (clog_test): Add more tests.
36547 (clog10_test): Likewise.
36548 * sysdeps/i386/fpu/libm-test-ulps: Update.
36549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36551 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36552 (pltexit): Likewise.
36553 (La_regs): Likewise.
36554 (La_retval): Likewise.
36555 (int_retval): Likewise.
36556 Update #error for removed macros to refer only to definitions in
36558 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36560 (pltexit): Likewise.
36561 (La_regs): Likewise.
36562 (La_retval): Likewise.
36563 (int_retval): Likewise.
36564 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36566 (pltexit): Likewise.
36567 (La_regs): Likewise.
36568 (La_retval): Likewise.
36569 (int_retval): Likewise.
36570 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36572 (pltexit): Likewise.
36573 (La_regs): Likewise.
36574 (La_retval): Likewise.
36575 (int_retval): Likewise.
36576 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36578 (pltexit): Likewise.
36579 (La_regs): Likewise.
36580 (La_retval): Likewise.
36581 (int_retval): Likewise.
36582 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36584 (pltexit): Likewise.
36585 (La_regs): Likewise.
36586 (La_retval): Likewise.
36587 (int_retval): Likewise.
36588 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36590 (pltexit): Likewise.
36591 (La_regs): Likewise.
36592 (La_retval): Likewise.
36593 (int_retval): Likewise.
36594 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36595 macro definitions in tst-audit.h.
36596 * sysdeps/i386/tst-audit.h: New file.
36597 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36598 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36599 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36600 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36601 * sysdeps/sh/tst-audit.h: Likewise.
36602 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36603 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36604 * sysdeps/x86_64/tst-audit.h: Likewise.
36606 2012-07-26 Andreas Jaeger <aj@suse.de>
36608 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36611 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36612 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36613 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36615 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36616 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36617 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36619 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36622 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36624 (si_call_addr, si_syscall, si_arch): Define new macro.
36625 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36627 (si_call_addr, si_syscall, si_arch): Define new marcro.
36628 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36630 (si_call_addr, si_syscall, si_arch): Define new macro.
36631 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36633 (si_call_addr, si_syscall, si_arch): Define new macro.
36635 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36638 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36639 Change to 2.4.21 where previously 2.4.1.
36640 * sysdeps/unix/sysv/linux/configure: Regenerated.
36641 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36642 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36643 Linux kernel version.
36644 (__ASSUME_STD_AUXV): Remove.
36645 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36647 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36648 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36649 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36650 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36651 (__ASSUME_NETLINK_SUPPORT): Likewise.
36652 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36653 (__no_netlink_support): Remove conditional definition.
36654 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36656 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36657 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36658 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36659 (if_nameindex_ioctl): Remove.
36660 (if_nameindex_netlink): Do not handle __no_netlink_support.
36661 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36663 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36664 Remove conditional code.
36665 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36667 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36669 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36670 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36671 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36673 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36674 [!__ASSUME_STD_AUXV]: Remove conditional code.
36675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36676 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36677 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36679 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36680 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36682 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36684 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36685 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36687 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36689 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36692 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36695 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36696 code unconditional.
36697 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36699 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36701 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36704 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36706 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36709 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36710 code unconditional.
36711 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36713 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36715 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36718 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36719 code unconditional.
36720 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36722 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36724 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36727 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36729 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36730 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36731 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36732 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36733 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36734 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36735 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36736 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36737 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36738 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36739 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36740 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36741 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36742 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36743 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36744 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36745 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36746 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36747 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36749 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36750 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36751 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36753 2012-07-25 Florian Weimer <fweimer@redhat.com>
36755 * Versions.def: Add GLIBC_2.17.
36756 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36757 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36758 Introduce __libc_secure_getenv.
36759 * stdlib/Versions (2.17): Add secure_getenv
36760 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36761 * stdlib/secure-getenv.c: Rename __secure_getenv to
36762 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36763 symbol __secure_getenv for GLIBC_2.0.
36764 * stdlib/tst-secure-getenv.c: New.
36765 * stdlib/Makefile (tests): Add testcase.
36766 * manual/startup.texi (Environment Access): Document
36768 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36769 __libc_secure_getenv.
36770 * inet/ruserpass.c (ruserpass): Likewise.
36771 * malloc/mtrace.c (mtrace): Likewise.
36772 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36773 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36774 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36775 * sysdeps/posix/tempname.c: Likewise. Evaluate
36776 HAVE_SECURE_GETENV.
36777 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36778 __secure_getenv to __libc_secure_getenv.
36779 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36786 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36792 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36794 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36795 (struct La_i86_retval): Likewise.
36796 (struct La_x86_64_regs): Likewise.
36797 (struct La_x86_64_retval): Likewise.
36798 (struct La_x32_regs): Likewise.
36799 (struct La_x32_retval): Likewise.
36800 (struct La_ppc32_regs): Likewise.
36801 (struct La_ppc32_retval): Likewise.
36802 (struct La_ppc64_regs): Likewise.
36803 (struct La_ppc64_retval): Likewise.
36804 (struct La_sh_regs): Likewise.
36805 (struct La_sh_retval): Likewise.
36806 (struct La_s390_32_regs): Likewise.
36807 (struct La_s390_32_retval): Likewise.
36808 (struct La_s390_64_regs): Likewise.
36809 (struct La_s390_64_retval): Likewise.
36810 (struct La_sparc32_regs): Likewise.
36811 (struct La_sparc32_retval): Likewise.
36812 (struct La_sparc64_regs): Likewise.
36813 (struct La_sparc64_retval): Likewise.
36814 (struct audit_ifaces): Remove architecture-specific pltenter and
36816 * sysdeps/i386/ldsodefs.h: New file.
36817 * sysdeps/powerpc/ldsodefs.h: Likewise.
36818 * sysdeps/s390/ldsodefs.h: Likewise.
36819 * sysdeps/sh/ldsodefs.h: Likewise.
36820 * sysdeps/sparc/ldsodefs.h: Likewise.
36821 * sysdeps/x86_64/ldsodefs.h: Likewise.
36823 2012-07-25 Marek Polacek <polacek@redhat.com>
36826 * math/libm-test.inc (yn_test): Add another test.
36827 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36828 to ERANGE when the result is +-Inf.
36829 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36830 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36831 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36832 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36834 2012-07-24 Joseph Myers <joseph@codesourcery.com>
36836 * conform/data/time.h-data (NULL): Use macro-constant. Require
36838 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36840 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36842 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36844 * configure.in <sysdeps resolving>: Correct printing
36846 * configure: Regenerate.
36848 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36850 * math/w_ilogb.c: Include <limits.h>.
36851 * math/w_ilogbl.c: Likewise.
36853 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36855 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36856 va_copy. Document allowing for unavailable va_copy only as
36857 pre-C99 compatibility.
36858 * manual/string.texi (Copying and Concatenation): Use va_copy
36859 instead of __va_copy in concat example.
36861 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36863 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36864 (__sendto): Use create_address_port. Initialize APORT and deallocate
36867 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36868 with O_NOLINK passed to __file_name_lookup.
36870 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36871 with O_NOLINK passed to __file_name_lookup.
36873 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36874 negative N or less than NGIDS.
36876 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36877 type to string_t. Set ERANGE as errno and return it if NAME is not big
36878 enough. Use memcpy instead of strncpy.
36880 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36882 * elf/Makefile (check-data): Remove.
36883 (localplt.data): New vpath directive.
36884 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36885 instead of $(check-data).
36886 * scripts/data/localplt-generic.data: Move to ...
36887 * sysdeps/generic/localplt.data: ... here.
36888 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36889 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36890 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36893 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36896 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36899 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36902 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36905 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36909 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36911 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36912 PPC32 and PPC64 files.
36913 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36914 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36916 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36918 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36919 __makecontext_ret to ...
36920 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36921 ... here and call exit if uc_link is NULL. New file.
36922 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36923 __makecontext_ret.S.
36924 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36925 __makecontext_ret to ...
36926 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36927 ... here and call exit if uc_link is NULL. New file.
36928 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36929 __makecontext_ret.S.
36931 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36933 * elf/elf.h (R_390_IRELATIVE): New definition.
36934 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36935 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36936 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36937 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36938 (elf_machine_lazy_rel): Likewise.
36939 * sysdeps/s390/dl-irel.h: New file.
36940 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36941 * sysdeps/s390/s390-64/memset.S: New asm code.
36942 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36943 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36944 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36945 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36946 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36947 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36948 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36949 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36950 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36951 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36952 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36953 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36954 * sysdeps/s390/s390-32/memset.S: New asm code.
36955 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36957 2012-07-17 Marek Polacek <polacek@redhat.com>
36960 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36961 * sysdeps/s390/s390-64/configure.in: Likewise.
36962 * sysdeps/sparc/configure.in: Likewise.
36963 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36964 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36965 * sysdeps/i386/configure.in: Likewise.
36966 * sysdeps/x86_64/configure.in: Likewise.
36967 * sysdeps/sh/configure.in: Likewise.
36968 * sysdeps/s390/s390-32/configure: Regenerated.
36969 * sysdeps/s390/s390-64/configure: Likewise.
36970 * sysdeps/x86_64/configure: Likewise.
36971 * sysdeps/sh/configure: Likewise.
36972 * sysdeps/powerpc/powerpc64/configure: Likewise.
36973 * sysdeps/powerpc/powerpc32/configure: Likewise.
36974 * sysdeps/sparc/configure: Likwise.
36975 * sysdeps/i386/configure: Likewise.
36977 * elf/dl-open.c: Comment fixes.
36979 2012-07-17 Joseph Myers <joseph@codesourcery.com>
36981 * Makefile [CXX] (check-data): Remove.
36982 [CXX] (c++-types.data): New vpath directive.
36983 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36984 vpath. Do not allow for C++ type data being missing.
36985 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36986 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36987 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36988 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36989 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36990 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36991 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36994 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36997 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37000 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37003 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37006 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37009 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37012 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37015 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37016 definitions to architecture-specific files.
37017 (TLS_IE): Likewise.
37018 (TLS_LD): Likewise.
37019 (TLS_GD): Likewise.
37020 * sysdeps/i386/tls-macros.h: New file.
37021 * sysdeps/powerpc/tls-macros.h: Likewise.
37022 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37023 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37024 * sysdeps/sh/tls-macros.h: Likewise.
37025 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37026 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37027 * sysdeps/x86_64/tls-macros.h: Likewise.
37029 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37031 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37032 zero value for regular exit case.
37034 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37035 (__start_context): Preserve zero value for regular exit case.
37037 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37038 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37040 * manual/setjmp.texi (setcontext): Clarify normal process
37041 termination when uc_link is the null pointer.
37042 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37045 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37047 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37048 preprocessor. Test for each exception mask separately.
37050 2012-07-16 Andreas Jaeger <aj@suse.de>
37052 * po/ru.po: Update from translation team.
37054 2012-07-15 Joseph Myers <joseph@codesourcery.com>
37056 * conform/data/string.h-data (NULL): Use macro-constant. Require
37058 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37059 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37060 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37061 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37062 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37064 2012-07-13 Andreas Jaeger <aj@suse.de>
37066 * po/fr.po: Update from translation team.
37068 2012-07-12 Marek Polacek <polacek@redhat.com>
37071 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37072 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37075 2012-07-12 Joseph Myers <joseph@codesourcery.com>
37078 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37079 Change to 2.4.1 where previously 2.4.0.
37080 * sysdeps/unix/sysv/linux/configure: Regenerated.
37081 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37082 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37084 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37085 (__ASSUME_AT_CLKTCK): Remove.
37086 (__ASSUME_AT_PAGESIZE): Likewise.
37087 (__ASSUME_AT_XID): Likewise.
37088 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37089 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37090 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37092 (HAVE_AUX_PAGESIZE): Likewise.
37093 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37094 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37095 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37097 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37101 the temporary buffer used to invoke __gethostbyname2_r,
37102 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37103 host_data / struct gaih_addrtuple.
37104 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37105 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37106 header file nss/nsswitch.h.
37107 * nss/nsswitch.h (global scope): Add definition of implementation
37108 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37109 resolv/nss_dns/dns-host.c).
37111 2012-07-11 Andreas Jaeger <aj@suse.de>
37113 * po/fr.po: Update from translation team.
37115 * po/sv.po: Update from translation team
37116 * po/fr.po: Another update from translation team.
37118 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37120 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37121 for subnormals or multiply small sinh result by itself.
37122 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37125 2012-07-11 David S. Miller <davem@davemloft.net>
37127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37129 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37132 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37133 (INTERNAL_MARK): Shift it here.
37135 2012-07-10 Marek Polacek <polacek@redhat.com>
37138 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37139 libc_cv_asm_global_directive with .globl.
37140 * configure: Regenerated.
37141 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37143 * sysdeps/i386/configure: Regenerated.
37144 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37146 * sysdeps/x86_64/configure: Regenerated.
37147 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37148 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37149 * elf/tst-unique2mod2.c: Likewise.
37150 * elf/tst-unique2mod1.c: Likewise.
37151 * elf/tst-unique1mod2.c: Likewise.
37152 * elf/tst-unique1mod1.c: Likewise.
37153 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37154 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37155 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37156 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37157 * sysdeps/mach/sysdep.h: Likewise.
37158 * sysdeps/i386/sysdep.h: Likewise.
37159 * sysdeps/i386/i386-mcount.S: Likewise.
37160 * sysdeps/x86_64/_mcount.S: Likewise.
37161 * sysdeps/x86_64/sysdep.h: Likewise.
37162 * sysdeps/sh/_mcount.S: Likewise.
37163 * sysdeps/sh/sysdep.h: Likewise.
37164 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37165 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37166 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37167 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37168 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37169 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37170 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37171 * locale/localeinfo.h: Likewise.
37172 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37173 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37175 2012-07-09 Roland McGrath <roland@hack.frob.com>
37178 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37180 * manual/message.texi (The Uniforum approach): Likewise.
37181 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37182 (glibc iconv Implementation): Likewise.
37184 2012-07-09 Joseph Myers <joseph@codesourcery.com>
37187 * math/s_clog.c (__clog): Avoid scaling a value down where that
37188 could result in underflow.
37189 * math/s_clog10.c (__clog10): Likewise.
37190 * math/s_clog10f.c (__clog10f): Likewise.
37191 * math/s_clog10l.c (__clog10l): Likewise.
37192 * math/s_clogf.c (__clogf): Likewise.
37193 * math/s_clogl.c (__clogl): Likewise.
37194 * math/libm-test.inc (clog_test): Add more tests.
37195 (clog10_test): Likewise.
37196 * sysdeps/i386/fpu/libm-test-ulps: Update.
37197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37199 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37202 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37203 by 7 not 8 to examine high bit of fractional part.
37206 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37207 for call to __mcount_internal.
37208 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37209 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37210 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37212 2012-07-06 Joseph Myers <joseph@codesourcery.com>
37215 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37216 approximation for values within 0x1p-13f of an odd multiple of
37218 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37219 exception. Add more tests.
37220 * sysdeps/i386/fpu/libm-test-ulps: Update.
37223 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37224 inputs and return -1 for them. Do not check for +Inf in case not
37225 reachable for +Inf.
37226 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37227 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37228 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37229 and return -1 for them. Do not check for +Inf in case not
37230 reachable for +Inf.
37231 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37233 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37234 and return -1 for them. Do not check for +Inf in case not
37235 reachable for +Inf.
37236 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37237 spurious underflow.
37238 * sysdeps/i386/fpu/libm-test-ulps: Update.
37239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37241 2012-07-06 Mike Frysinger <vapier@gentoo.org>
37243 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37245 2012-07-05 Joseph Myers <joseph@codesourcery.com>
37249 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37250 could result in spurious underflow. Scale down values above
37251 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37252 * math/s_csqrtf.c (__csqrtf): Likewise.
37253 * math/s_csqrtl.c (__csqrtl): Likewise.
37254 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37255 spurious underflow.
37256 * sysdeps/i386/fpu/libm-test-ulps: Update.
37257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37259 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37261 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37263 * catgets/xopen-msg.awk: New file.
37264 * catgets/xopen-msg.sed: Removed.
37266 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37268 * intl/po2test.awk: New file.
37269 * intl/po2test.sed: Removed.
37271 2012-07-04 Joseph Myers <joseph@codesourcery.com>
37274 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37275 or multiply small sinh result by itself.
37276 * math/s_ctanf.c (__ctanf): Likewise.
37277 * math/s_ctanh.c (__ctanh): Likewise.
37278 * math/s_ctanhf.c (__ctanhf): Likewise.
37279 * math/s_ctanhl.c (__ctanhl): Likewise.
37280 * math/s_ctanl.c (__ctanl): Likewise.
37281 * math/libm-test.inc (ctan_test_tonearest): New function.
37282 (ctan_test_towardzero): Likewise.
37283 (ctan_test_downward): Likewise.
37284 (ctan_test_upward): Likewise.
37285 (ctanh_test_tonearest): Likewise.
37286 (ctanh_test_towardzero): Likewise.
37287 (ctanh_test_downward): Likewise.
37288 (ctanh_test_upward): Likewise.
37289 (main): Call these new functions.
37290 * sysdeps/i386/fpu/libm-test-ulps: Update.
37291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37293 2012-07-03 Mike Frysinger <vapier@gentoo.org>
37295 * .gitignore: Delete /ports entry.
37297 2012-07-03 Andreas Jaeger <aj@suse.de>
37299 * po/bg.po: Update from translation team.
37300 * po/cs.po: Likewise.
37301 * po/de.po: Likewise.
37302 * po/hr.po: Likewise.
37303 * po/nl.pl: Likewise.
37304 * po/pl.po: Likewise.
37305 * po/vi.po: Likewise.
37307 2012-07-03 Joseph Myers <joseph@codesourcery.com>
37309 * Makeconfig [!+link] (+link-before-libc): New variable.
37310 [!+link] (+link-after-libc): Likewise.
37311 [!+link] (+link-tests): Likewise.
37312 [!+link] (+link): Define in terms of $(+link-before-libc) and
37313 $(+link-after-libc).
37314 [!+link-static] (+link-static-before-libc): New variable.
37315 [!+link-static] (+link-static-after-libc): Likewise.
37316 [!+link-static] (+link-static-tests): Likewise.
37317 [!+link-static] (+link-static): Define in terms of
37318 $(+link-static-before-libc) and $(+link-static-after-libc).
37319 [build-shared] (link-libc-before-gnulib): New variable.
37320 [build-shared] (link-libc-tests): Likewise.
37321 [build-shared] (link-libc): Define in terms of
37322 $(link-libc-before-gnulib).
37323 [!build-shared] (link-libc-tests): New variable.
37324 (link-libc-static-tests): New variable.
37325 [!gnulib] (gnulib-arch): New variable.
37326 [!gnulib] (gnulib-tests): Likewise.
37327 [!gnulib] (static-gnulib-arch): Likewise.
37328 [!gnulib] (static-gnulib-tests): Likewise.
37329 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37330 Define with "=" instead of ":=".
37331 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37332 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37333 * Rules (binaries-all-notests): New variable.
37334 (binaries-all-tests): Likewise.
37335 (binaries-static-notests): Likewise.
37336 (binaries-static-tests): Likewise.
37337 (binaries-all): Define using $(binaries-all-notests) and
37338 $(binaries-all-tests).
37339 (binaries-static): Define using $(binaries-static-notests) and
37340 $(binaries-static-tests).
37341 (binaries-shared-tests): New variable.
37342 (binaries-shared-notests): Likewise.
37343 (binaries-shared): Remove variable.
37344 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37345 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37346 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37347 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37348 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37349 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37350 * elf/Makefile (sln-modules): New variable.
37351 (extra-objs): Add $(sln-modules:=.o).
37352 (ldconfig-modules): Add static-stubs.
37353 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37354 * elf/static-stubs.c: New file.
37357 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37358 by 7 not 8 to examine high bit of fractional part. Use volatile
37359 variables when splitting into final array of floats if
37360 __FLT_EVAL_METHOD__ != 0.
37361 * math/libm-test.inc (cos_test): Add another test.
37362 (sin_test): Likewise.
37363 * sysdeps/i386/fpu/libm-test-ulps: Update.
37366 * math/libm-test.inc (cosh_test): Add more tests.
37368 * version.h (RELEASE): Set to "development".
37369 (VERSION): Set to "2.16.90".
37371 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37373 * NEWS: Update copyright. Remove last-updated date.
37374 Mention math library bug fixes and timezone data changes.
37375 * README: Mention GNU/Hurd, x32, and HPPA support status.
37377 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37379 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37381 2012-06-27 Andreas Jaeger <aj@suse.de>
37383 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37385 2012-06-25 Andreas Jaeger <aj@suse.de>
37387 * sysdeps/s390/fpu/libm-test-ulps: Update.
37389 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37390 Thomas Schwinge <thomas@codesourcery.com>
37392 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37393 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37394 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37397 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37399 * sysdeps/mach/start.c: Remove file.
37400 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37401 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37402 * sysdeps/sh/init-first.c: Likewise.
37404 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37405 registers for frame unwinding purposes, add CFI directives.
37406 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37407 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37408 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37411 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37412 __fortify_fail returning.
37413 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37415 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37416 sysdeps/sh/____longjmp_chk.S.
37417 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37418 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37419 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37420 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37422 * sysdeps/sh/abort-instr.h: New file.
37423 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37424 process in case exit returns.
37426 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37427 initialize the GOT register before use.
37429 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37430 calculation of ARGC > 4.
37432 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37433 meaningful names to some local labels.
37435 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37436 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37438 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37439 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37440 (__arch_compare_and_exchange_val_16_acq): Likewise.
37441 (__arch_compare_and_exchange_val_32_acq): Likewise.
37442 (atomic_exchange_and_add): Fix gUSA sequence.
37443 (atomic_add): Likewise.
37444 (atomic_add_negative): Likewise.
37445 (atomic_add_zero): Likewise.
37446 (atomic_bit_test_set): Likewise.
37448 2012-06-22 Andreas Schwab <schwab@redhat.com>
37451 * include/link.h (struct link_map): Add l_free_initfini.
37452 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37454 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37455 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37456 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37459 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37461 * configure.in: Use AC_LANG_SOURCE.
37462 * configure: Regenerate.
37464 2012-06-22 Roland McGrath <roland@hack.frob.com>
37466 * configure.in (libc_cv_localstatedir): New substituted variable.
37467 * configure: Regenerated.
37468 * config.make.in (localstatedir): New variable, substituted from
37469 libc_cv_localstatedir.
37470 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37471 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37472 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37473 * sysdeps/gnu/configure: Regenerated.
37475 2012-06-21 Jeff Law <law@redhat.com>
37478 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37479 free. Simplify list management for _LIBC case.
37481 2012-06-21 Joseph Myers <joseph@codesourcery.com>
37484 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37485 Clear sign bit of 64-bit integer value before comparing against
37488 * sysdeps/mach/configure: Regenerated.
37490 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37493 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37495 2012-06-21 Jeff Law <law@redhat.com>
37498 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37499 uint16_t for elements in the "seen" array to avoid char overflows.
37500 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37501 * elf/dl-open.c (dl_open_worker): Likewise.
37503 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37505 * scripts/list-sources.sh: Scan PORTS for translations.
37506 * po/libc.pot: Regenerated.
37508 2012-06-21 Andreas Jaeger <aj@suse.de>
37511 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37513 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37514 * bits/byteswap-16.h (__bswap_16): Likewise.
37515 * bits/byteswap.h (__bswap_constant_16): Likewise.
37517 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37520 * sysdeps/i386/fpu_control.h: Removed.
37521 * sysdeps/x86_64/fpu_control.h: Moved to ...
37522 * sysdeps/x86/fpu_control.h: Here.
37524 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37525 (_FPU_SETCW): Likewise.
37527 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37530 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37531 * sysdeps/x86/fpu/bits/mathinline.h: This.
37532 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37536 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37537 functions if __x86_64__ is defined.
37539 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37541 * string/endian.h: Add !__ASSEMBLER__ condition for including
37542 conversion interfaces.
37544 2012-06-15 Joseph Myers <joseph@codesourcery.com>
37547 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37548 of ABS(x) in calculating zero to negative powers other than odd
37550 * math/libm-test.inc (pow_test): Add more tests.
37552 2012-06-15 Andreas Jaeger <aj@suse.de>
37554 * manual/contrib.texi (Contributors): Update entry of Liubov
37555 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37558 2012-06-15 Cyril Hrubis <metan@ucw.cz>
37560 * string/string.h: Add __wur to GNU version of strerror_r.
37562 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37565 * string/Makefile (tests): Add tst-strtok_r.
37566 * string/tst-strtok_r.c: New file.
37567 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37568 RAX_LP/RDX_LP on SAVE_PTR.
37570 2012-06-14 Roland McGrath <roland@hack.frob.com>
37572 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37574 2012-06-14 Joseph Myers <joseph@codesourcery.com>
37576 * libm_test.inc (csqrt_test): Allow more spurious underflow
37578 (j0_test): Likewise.
37579 (j1_test): Likewise.
37580 (y0_test): Likewise.
37581 (y1_test): Likewise.
37583 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37585 * po/Makefile (libc.pot): Use UTF-8 charset.
37587 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37590 Suppress sign-conversion warning from FD_SET.
37591 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37592 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37593 not unsigned long int.
37594 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37596 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37600 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37601 __extern_always_inline instead of __extern_inline.
37602 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37603 (__signbit): Likewise.
37604 (__signbitl): Support C++ namespace.
37605 (lrintf): New inline function.
37607 (llrintf): Likewise.
37608 (llrint): Likewise.
37618 (floorf): Likewise.
37619 (nearbyint): Likewise.
37620 (nearbyintf): Likewise.
37622 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37624 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37625 non-default versions.
37627 2012-06-11 Roland McGrath <roland@hack.frob.com>
37630 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37632 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37634 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37635 (FE_UPWARD, FE_DOWNWARD): Don't define.
37636 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37637 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37639 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37641 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37642 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37644 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37646 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37648 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37649 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37651 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37654 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37655 * sysdeps/i386/fpu/Implies: New file.
37656 * sysdeps/x86_64/fpu/Implies: Likewise.
37657 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37658 * sysdeps/x86/fpu/bits/fenv.h: This.
37660 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37663 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37666 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37667 character 0xffff that matches the last element of the
37670 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37672 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37675 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37678 values higher than 25.6283.
37680 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37682 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37683 subnormal exponent extraction and add some __builtin_expect.
37684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37685 Fix for subnormal mantissa calculation.
37687 2012-06-04 Mike Frysinger <vapier@gentoo.org>
37689 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37690 cpu2 is -1 and errno is not ENOSYS.
37692 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37695 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37696 * sysdeps/x86/bits/string.h: This.
37697 * sysdeps/x86_64/bits/string.h: Removed.
37699 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37700 if not compiling for x86-64, but compiling for >= i486.
37702 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37703 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37705 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37706 New macro from Linux kernel 3.4.0.
37707 (FP_XSTATE_MAGIC2): Likewise.
37708 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37709 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37710 (struct _fpx_sw_bytes): New struct.
37711 (struct _xsave_hdr): Likewise.
37712 (struct _ymmh_state): Likewise.
37713 (struct _xstate): Likewise.
37715 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37716 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37717 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37718 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37719 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37720 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37722 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37723 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37724 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37725 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37726 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37727 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37729 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37732 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37733 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37734 (sysdep_headers): Include sys/platform/ppc.h.
37735 * sysdeps/powerpc/test-gettimebase.c: Test for
37736 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37737 * manual/Makefile (appendices): Include platform.texi.
37738 * manual/contrib.texi (Contributors): Update @node pointers.
37739 * manual/maint.texi (Maintenance): Likewise.
37740 (Platform): New node.
37741 * manual/platform.texi: New file. Document the new features.
37743 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37744 Jakub Jelinek <jakub@redhat.com>
37747 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37748 where __builtin_expect is unavailable.
37750 2012-06-03 David S. Miller <davem@davemloft.net>
37752 * stdlib/longlong.h: Updated from GCC.
37754 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37757 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37758 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37761 (GLIBC_2.16): Likewise.
37763 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37765 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37767 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37770 (default-abi): New variable.
37771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37772 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37774 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37776 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37778 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37781 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37782 definition. Document in comment.
37784 2012-06-01 David S. Miller <davem@davemloft.net>
37786 * stdlib/longlong.h: Updated from GCC.
37788 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37791 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37792 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37793 sys/debugreg.h sys/io.h here.
37794 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37795 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37797 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37798 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37799 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37800 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37801 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37802 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37804 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37805 Define only if __x86_64__ is defined.
37807 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37810 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37811 Use int64_t for variable i.
37812 * math/libm-test.inc (fmod_test): Add more tests.
37814 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37815 z computation is not scheduled after fetestexcept.
37816 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37817 Use math_force_eval instead of asm to ensure calculation scheduled
37818 before exception test.
37819 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37820 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37822 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37825 computation is not scheduled after fetestexcept.
37827 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37830 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37831 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37833 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37835 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37836 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37838 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37841 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37843 (__WCHAR_MIN): Support __WORDSIZE == 64.
37844 (__WCHAR_MAX): Likewise.
37846 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37847 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37850 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37851 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37854 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37855 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37857 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37858 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37860 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37861 Defined to 1 if __x86_64__ isn't defined.
37862 (_STAT_VER_LINUX_OLD): New.
37863 (st_atime): Remove duplicate.
37864 (st_mtime): Likewise.
37865 (st_ctime): Likewise.
37867 2012-05-31 David S. Miller <davem@davemloft.net>
37869 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37872 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37874 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37878 * elf/dl-reloc.c: Include <_itoa.h>.
37879 (_dl_reloc_bad_type): Remove use of INTUSE.
37880 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37881 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37882 * stdio-common/psiginfo.c (psiginfo): Likewise.
37883 * stdio-common/psignal.c (psignal): Likewise.
37884 * string/strsignal.c (strsignal): Likewise.
37885 * include/signal.h (_sys_siglist): Declare hidden proto.
37886 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37887 INTVARDEF with libc_hidden_data_def.
37888 * stdio-common/itoa-udigits.c: Likewise.
37889 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37890 (_itoa_lower_digits_internal): Remove declaration.
37891 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37892 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37893 (_sys_sigabbrev_internal): Remove aliases.
37894 (_sys_siglist): Define hidden alias.
37896 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37901 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37904 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37905 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37907 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37908 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37909 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37910 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37911 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37912 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37914 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37915 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37916 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37918 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37926 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37927 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37928 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37930 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37931 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37932 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37933 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37934 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37935 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37937 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37938 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37940 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37941 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37943 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37944 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37945 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37947 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37948 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37950 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37952 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37953 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37954 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37956 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37958 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37960 2012-05-31 Joseph Myers <joseph@codesourcery.com>
37962 * math/math.h (M_El): Use two more decimal places.
37963 (M_LOG2El): Likewise.
37964 (M_LOG10El): Likewise.
37965 (M_LN2l): Likewise.
37966 (M_LN10l): Likewise.
37968 (M_PI_2l): Likewise.
37969 (M_PI_4l): Likewise.
37970 (M_1_PIl): Likewise.
37971 (M_2_PIl): Likewise.
37972 (M_2_SQRTPIl): Likewise.
37973 (M_SQRT2l): Likewise.
37974 (M_SQRT1_2l): Likewise.
37976 2012-05-31 David S. Miller <davem@davemloft.net>
37978 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37979 values between float registers.
37980 * sysdeps/sparc/sparc64/memset.S: Likewise.
37981 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37983 2012-05-31 Mike Frysinger <vapier@gentoo.org>
37985 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37986 -D_FORTIFY_SOURCE=1.
37987 (CPPFLAGS-tst-longjmp_chk.c): Define.
37988 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37989 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37990 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37991 CFLAGS-tst-wchar-h.c.
37993 2012-05-31 Marek Polacek <polacek@redhat.com>
37996 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37997 __endmntent_internal): Remove declaration.
37998 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37999 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38000 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38002 2012-05-30 David S. Miller <davem@davemloft.net>
38004 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38005 (___Q_simulate_exceptions): Use real FP ops rather than writing
38007 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38010 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38013 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38014 * sysdeps/x86/bits/xtitypes.h: This.
38016 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38017 * sysdeps/x86/bits/wordsize.h: This.
38019 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38020 * sysdeps/x86/bits/huge_vall.h: This.
38022 * sysdeps/i386/bits/select.h: Removed.
38023 * sysdeps/x86_64/bits/select.h: Renamed to ...
38024 * sysdeps/x86/bits/select.h: This.
38026 * sysdeps/i386/bits/setjmp.h: Removed.
38027 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38028 * sysdeps/x86/bits/setjmp.h: This.
38030 * sysdeps/i386/bits/mathdef.h: Removed.
38031 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38032 * sysdeps/x86/bits/mathdef.h: This.
38034 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38037 * include/sys/socket.h (__connect_internal)
38038 (__libc_sa_len_internal): Remove declaration.
38039 (__connect, __libc_sa_len): Declare hidden_proto.
38040 (SA_LEN): Remove use of INTUSE.
38041 * socket/connect.c: Add libc_hidden_def.
38042 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38043 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38044 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38046 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38047 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38048 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38049 of adding _internal alias.
38051 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38054 * sysdeps/i386/bits/link.h: Removed.
38055 * sysdeps/i386/bits/linkmap.h: Likewise.
38056 * sysdeps/x86_64/bits/link.h: Renamed to ...
38057 * sysdeps/x86/bits/link.h: This.
38058 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38059 * sysdeps/x86/bits/linkmap.h: This.
38061 * sysdeps/i386/bits/endian.h: Removed.
38062 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38063 * sysdeps/x86/bits/endian.h: This.
38065 * sysdeps/i386/bits/byteswap.h: Removed.
38066 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38067 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38068 * sysdeps/x86/bits/byteswap.h: This.
38069 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38070 * sysdeps/x86/bits/byteswap-16.h: This.
38071 * sysdeps/i386/Implies: Add x86.
38072 * sysdeps/x86_64/Implies: Likewise.
38074 2012-05-30 David S. Miller <davem@davemloft.net>
38076 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38077 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38078 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38079 (FP_TRAPPING_EXCEPTIONS): Define.
38080 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38081 (FP_TRAPPING_EXCEPTIONS): Define.
38082 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38083 subnormals only when inexact has been signalled or underflow
38084 exceptions are enabled.
38085 (_FP_PACK_CANONICAL): Likewise.
38087 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38090 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38091 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38093 2012-05-30 Richard Henderson <rth@twiddle.net>
38095 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38096 with #ifndef NOT_IN_libc.
38098 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38099 marked to avoid plt entry.
38101 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38104 * Makeconfig (default-abi): New macro.
38105 (abi-includes): Likewise.
38106 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38107 $(abi-$(default-abi)-lib-soname) for soname if defined.
38108 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38110 * Makefile (installed-stubs): Likewise.
38111 * include/stubs-biarch.h: Removed.
38112 * scripts/lib-names.awk: Only handle one library at a time.
38113 * scripts/soversions.awk: Remove WORDSIZE support.
38114 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38116 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38118 (syscall-list-default-condition): Likewise.
38119 (syscall-list-default-condition): Likewise.
38120 (syscall-list-includes): Likewise.
38121 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38122 syscall-list-* with abi-*. Handle undefined abi-variants.
38123 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38124 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38125 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38126 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38127 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38128 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38130 (syscall-list-32-options): Likewise.
38131 (syscall-list-32-condition): Likewise.
38132 (syscall-list-64-options): Likewise.
38133 (syscall-list-64-condition): Likewise.
38134 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38136 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38139 (abi-64-ld-soname): New macro.
38140 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38141 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38144 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38145 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38147 2012-05-30 Joseph Myers <joseph@codesourcery.com>
38149 * sysdeps/unix/sysv/linux/kernel-features.h
38150 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38151 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38152 include <kernel-features.h>.
38153 [!__NR_ftruncate64]: Remove conditional code.
38154 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38155 [__NR_ftruncate64]: Make code unconditional.
38156 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38157 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38158 include <kernel-features.h>.
38159 [!__NR_ftruncate64]: Remove conditional code.
38160 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38161 [__NR_ftruncate64]: Make code unconditional.
38162 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38164 include <kernel-features.h>.
38165 [!__NR_ftruncate64]: Remove conditional code.
38166 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38167 [__NR_ftruncate64]: Make code unconditional.
38168 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38170 include <kernel-features.h>.
38171 [!__NR_ftruncate64]: Remove conditional code.
38172 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38173 [__NR_ftruncate64]: Make code unconditional.
38174 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38176 * configure.in (libc_cv_fpie): Weaken to a compile test using
38177 LIBC_TRY_CC_OPTION.
38178 * configure: Regenerated.
38180 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38195 2012-05-27 David S. Miller <davem@davemloft.net>
38197 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38199 (__Q_simulate_exceptions): Return void. Change to simulate
38200 exceptions by writing into the %fsr.
38201 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38202 (__Qp_handle_exceptions): Likewise.
38204 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38205 __Qp_handle_exceptions.
38206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38207 __Qp_handle_exceptions.
38208 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38209 as unused and give dummy FP_RND_NEAREST initializer.
38210 (FP_INHIBIT_RESULTS): Define.
38211 (___Q_simulate_exceptions): Update declaration.
38212 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38214 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38215 as unused and give dummy FP_RND_NEAREST initializer.
38216 (__Qp_handle_exceptions): Update declaration.
38217 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38220 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38222 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38223 the temporary FPU control word.
38224 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38225 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38226 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38227 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38228 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38229 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38230 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38231 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38232 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38233 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38234 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38236 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38238 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38241 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38243 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38244 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38245 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38246 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38248 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38249 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38252 2012-05-27 Ulrich Drepper <drepper@gmail.com>
38254 * po/h.po: Update from translation team.
38256 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38258 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38260 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38261 handling of denormals.
38262 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38263 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38264 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38265 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38266 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38268 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38271 2012-05-26 Marek Polacek <polacek@redhat.com>
38274 * math/libm-test.inc (fma_test): Don't always expect underflow
38277 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38280 * elf/tst-execstack.c: Include stackinfo.h.
38281 (do_test): Adjust test case to ensure that pthread_getattr_np
38282 behaviour remains the same after marking stack executable.
38284 2012-05-25 Joseph Myers <joseph@codesourcery.com>
38286 * sysdeps/unix/sysv/linux/kernel-features.h
38287 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38288 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38290 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38291 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38292 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38294 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38295 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38297 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38299 * configure.in: Define the default includes to being none.
38300 * configure: Regenerated.
38302 2012-05-25 Roland McGrath <roland@hack.frob.com>
38304 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38305 * sysdeps/x86_64/setjmp.S: Likewise.
38306 * sysdeps/i386/bsd-setjmp.S: Likewise.
38307 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38308 * sysdeps/i386/setjmp.S: Likewise.
38309 * sysdeps/i386/__longjmp.S: Likewise.
38310 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38311 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38313 * include/stap-probe.h: New file.
38314 * configure.in: Handle --enable-systemtap.
38315 * configure: Regenerated.
38316 * config.h.in (USE_STAP_PROBE): New #undef.
38317 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38318 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38319 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38321 2012-05-25 Joseph Myers <joseph@codesourcery.com>
38324 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38325 to 2.4.0 where earlier.
38326 * sysdeps/unix/sysv/linux/configure: Regenerated.
38327 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38328 <kernel-features.h>.
38329 [__ASSUME_32BITUIDS]: Make code unconditional.
38330 [!__ASSUME_32BITUIDS]: Remove conditional code.
38331 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38332 <kernel-features.h>.
38333 [__ASSUME_32BITUIDS]: Make code unconditional.
38334 [!__ASSUME_32BITUIDS]: Remove conditional code.
38335 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38336 [__ASSUME_32BITUIDS]: Make code unconditional.
38337 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38338 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38339 <kernel-features.h>.
38340 [__ASSUME_32BITUIDS]: Make code unconditional.
38341 [!__ASSUME_32BITUIDS]: Remove conditional code.
38342 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38343 <kernel-features.h>.
38344 [__ASSUME_32BITUIDS]: Make code unconditional.
38345 [!__ASSUME_32BITUIDS]: Remove conditional code.
38346 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38347 <kernel-features.h>.
38348 [__ASSUME_32BITUIDS]: Make code unconditional.
38349 [!__ASSUME_32BITUIDS]: Remove conditional code.
38350 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38351 <kernel-features.h>.
38352 [__ASSUME_32BITUIDS]: Make code unconditional.
38353 [!__ASSUME_32BITUIDS]: Remove conditional code.
38354 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38355 <kernel-features.h>.
38356 [__ASSUME_32BITUIDS]: Make code unconditional.
38357 [!__ASSUME_32BITUIDS]: Remove conditional code.
38358 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38359 <kernel-features.h>.
38360 [__ASSUME_32BITUIDS]: Make code unconditional.
38361 [!__ASSUME_32BITUIDS]: Remove conditional code.
38362 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38363 <kernel-features.h>.
38364 [__ASSUME_32BITUIDS]: Make code unconditional.
38365 [!__ASSUME_32BITUIDS]: Remove conditional code.
38366 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38367 <kernel-features.h>.
38368 [__ASSUME_32BITUIDS]: Make code unconditional.
38369 [!__ASSUME_32BITUIDS]: Remove conditional code.
38370 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38371 <kernel-features.h>.
38372 [__ASSUME_32BITUIDS]: Make code unconditional.
38373 [!__ASSUME_32BITUIDS]: Remove conditional code.
38374 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38375 <kernel-features.h>.
38376 [__ASSUME_32BITUIDS]: Make code unconditional.
38377 [!__ASSUME_32BITUIDS]: Remove conditional code.
38378 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38379 <kernel-features.h>.
38380 [__NR_setresgid] (__setresgid): Do not declare.
38381 [__ASSUME_32BITUIDS]: Make code unconditional.
38382 [!__ASSUME_32BITUIDS]: Remove conditional code.
38383 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38384 <kernel-features.h>.
38385 [__NR_setresuid] (__setresuid): Do not declare.
38386 [__ASSUME_32BITUIDS]: Make code unconditional.
38387 [!__ASSUME_32BITUIDS]: Remove conditional code.
38388 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38389 <kernel-features.h>.
38390 [__ASSUME_32BITUIDS]: Make code unconditional.
38391 [!__ASSUME_32BITUIDS]: Remove conditional code.
38392 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38393 <kernel-features.h>.
38394 [__ASSUME_32BITUIDS]: Make code unconditional.
38395 [!__ASSUME_32BITUIDS]: Remove conditional code.
38396 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38397 <kernel-features.h>.
38398 [__ASSUME_32BITUIDS]: Make code unconditional.
38399 [!__ASSUME_32BITUIDS]: Remove conditional code.
38400 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38401 <kernel-features.h>.
38402 [__ASSUME_32BITUIDS]: Make code unconditional.
38403 [!__ASSUME_32BITUIDS]: Remove conditional code.
38404 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38405 <kernel-features.h>.
38406 [__ASSUME_32BITUIDS]: Make code unconditional.
38407 [!__ASSUME_32BITUIDS]: Remove conditional code.
38408 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38409 <kernel-features.h>.
38410 [__ASSUME_32BITUIDS]: Make code unconditional.
38411 [!__ASSUME_32BITUIDS]: Remove conditional code.
38412 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38413 <kernel-features.h>.
38414 [__ASSUME_32BITUIDS]: Make code unconditional.
38415 [!__ASSUME_32BITUIDS]: Remove conditional code.
38416 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38417 <kernel-features.h>.
38418 [__ASSUME_32BITUIDS]: Make code unconditional.
38419 [!__ASSUME_32BITUIDS]: Remove conditional code.
38420 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38421 <kernel-features.h>.
38422 [__ASSUME_32BITUIDS]: Make code unconditional.
38423 [!__ASSUME_32BITUIDS]: Remove conditional code.
38424 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38425 <kernel-features.h>.
38426 [__ASSUME_32BITUIDS]: Make code unconditional.
38427 [!__ASSUME_32BITUIDS]: Remove conditional code.
38428 * sysdeps/unix/sysv/linux/kernel-features.h
38429 (__ASSUME_SETRESUID_SYSCALL): Remove.
38430 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38431 (__ASSUME_32BITUIDS): Likewise.
38432 (__ASSUME_LDT_WORKS): Likewise.
38433 (__ASSUME_O_DIRECTORY): Likewise.
38434 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38435 architecture but not kernel version.
38436 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38437 (__ASSUME_MMAP2_SYSCALL): Likewise.
38438 (__ASSUME_STAT64_SYSCALL): Likewise.
38439 (__ASSUME_IPC64): Likewise.
38440 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38441 <kernel-features.h>.
38442 [__ASSUME_32BITUIDS]: Make code unconditional.
38443 [!__ASSUME_32BITUIDS]: Remove conditional code.
38444 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38445 <kernel-features.h>.
38446 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38447 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38448 132096]: Remove conditional code.
38449 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38450 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38451 <kernel-features.h>.
38452 [__ASSUME_32BITUIDS]: Make code unconditional.
38453 [!__ASSUME_32BITUIDS]: Remove conditional code.
38454 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38455 <kernel-features.h>.
38456 [__ASSUME_32BITUIDS]: Make code unconditional.
38457 [!__ASSUME_32BITUIDS]: Remove conditional code.
38458 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38459 <kernel-features.h>.
38460 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38462 (__setresgid): Do not declare.
38463 [__ASSUME_32BITUIDS]: Make code unconditional.
38464 [!__ASSUME_32BITUIDS]: Remove conditional code.
38465 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38466 <kernel-features.h>.
38467 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38469 (__setresuid): Do not declare.
38470 [__ASSUME_32BITUIDS]: Make code unconditional.
38471 [!__ASSUME_32BITUIDS]: Remove conditional code.
38472 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38473 <kernel-features.h>.
38474 [__ASSUME_32BITUIDS]: Make code unconditional.
38475 [!__ASSUME_32BITUIDS]: Remove conditional code.
38476 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38477 <kernel-features.h>.
38478 [__ASSUME_32BITUIDS]: Make code unconditional.
38479 [!__ASSUME_32BITUIDS]: Remove conditional code.
38481 2012-05-25 Richard Henderson <rth@twiddle.net>
38483 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38484 dl_hwcap to ifunc resolver.
38485 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38487 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38488 dl_hwcap to ifunc resolver.
38489 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38491 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38494 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38495 for |x| <= 2**-26, not 2**-57.
38496 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38499 2012-05-24 Jeff Law <law@redhat.com>
38501 * stdio-common/Makefile (tests): Add bug25.
38502 * stdio-common/bug25.c: New test.
38504 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38507 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38508 multiple of MALLOC_ALIGNMENT in size.
38509 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38511 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38513 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38515 (FILENAME_MAX): Use macro-int-constant.
38516 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38517 (_IOFBF): Use macro-int-constant.
38518 (_IOLBF): Likewise.
38519 (_IONBF): Likewise.
38520 (SEEK_CUR): Likewise.
38521 (SEEK_END): Likewise.
38522 (SEEK_SET): Likewise.
38523 (TMP_MAX): Likewise.
38524 (EOF): Use macro-int-constant. Require < 0.
38525 (NULL): Use macro-constant. Require == 0.
38526 (stdin): Require type to be FILE *.
38527 (stdout): Likewise.
38528 (stderr): Likewise.
38529 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38530 macro-int-constant.
38531 (EXIT_SUCCESS): Likewise.
38532 (NULL): Use macro-constant. Require == 0.
38533 (RAND_MAX): Use macro-int-constant.
38534 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38535 [C99-based standards] (strtof): Require function.
38536 [C99-based standards] (strtold): Likewise.
38537 [C99-based standards] (strtoll): Likewise.
38538 [C99-based standards] (strtoull): Likewise.
38539 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38540 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38541 [ISO || ISO99 || ISO11] (math.h): Likewise.
38542 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38543 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38544 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38546 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38549 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38550 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38551 * intl/dgettext.c (DCGETTEXT): Likewise.
38552 * intl/gettext.c (DCGETTEXT): Likewise.
38553 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38554 * posix/regex_internal.h (gettext): Likewise.
38555 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38556 Remove declaration.
38557 * include/argz.h (__argz_count_internal)
38558 (__argz_stringify_internal): Remove declaration.
38559 (__argz_count, __argz_stringify): Declare hidden proto.
38560 * intl/dcgettext.c: Remove use of INTDEF.
38561 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38562 * string/argz-stringify.c: Likewise.
38563 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38564 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38565 Declare hidden proto.
38566 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38567 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38568 Declare hidden proto.
38569 * include/stdio.h (__asprintf_internal): Don't declare.
38570 (__asprintf): Don't define as macro. Declare hidden proto.
38571 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38572 (__fsetlocking): Declare hidden proto.
38573 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38574 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38576 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38577 (_IO_setlinebuf): Remove use of INTUSE.
38578 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38579 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38580 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38581 Remove declaration.
38582 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38583 (_IO_do_flush): Remove use of INTUSE.
38584 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38585 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38586 (_IO_adjust_column, _IO_least_wmarker)
38587 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38588 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38589 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38590 (_IO_default_doallocate, _IO_wdefault_doallocate)
38591 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38592 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38593 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38594 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38595 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38596 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38597 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38598 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38599 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38600 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38601 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38602 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38603 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38605 (_IO_flush_all_internal, _IO_adjust_column_internal)
38606 (_IO_default_uflow_internal, _IO_default_finish_internal)
38607 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38608 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38609 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38610 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38611 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38612 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38613 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38614 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38615 (_IO_file_close_internal, _IO_file_close_it_internal)
38616 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38617 (_IO_file_init_internal, _IO_file_attach_internal)
38618 (_IO_file_fopen_internal, _IO_file_read_internal)
38619 (_IO_file_sync_internal, _IO_file_seek_internal)
38620 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38621 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38622 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38623 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38624 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38625 (_IO_list_all_internal, _IO_link_in_internal)
38626 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38627 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38628 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38629 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38630 (_IO_do_write_internal, _IO_padn_internal)
38631 (_IO_getline_info_internal, _IO_getline_internal)
38632 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38633 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38634 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38635 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38636 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38637 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38638 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38639 with libc_hidden_ver, remove use of INTUSE.
38640 * libio/genops.c: Likewise.
38641 * libio/freopen.c: Likewise.
38642 * libio/freopen64.c: Likewise.
38643 * libio/iofclose.c: Likewise.
38644 * libio/iofdopen.c: Likewise.
38645 * libio/iofflush.c: Likewise.
38646 * libio/iofflush_u.c: Likewise.
38647 * libio/iofgets.c: Likewise.
38648 * libio/iofgets_u.c: Likewise.
38649 * libio/iofopen.c: Likewise.
38650 * libio/iofopncook.c: Likewise.
38651 * libio/iofread.c: Likewise.
38652 * libio/iofread_u.c: Likewise.
38653 * libio/ioftell.c: Likewise.
38654 * libio/iofwrite.c: Likewise.
38655 * libio/iogetline.c: Likewise.
38656 * libio/iogets.c: Likewise.
38657 * libio/iogetwline.c: Likewise.
38658 * libio/iopadn.c: Likewise.
38659 * libio/iopopen.c: Likewise.
38660 * libio/ioseekoff.c: Likewise.
38661 * libio/ioseekpos.c: Likewise.
38662 * libio/iosetbuffer.c: Likewise.
38663 * libio/iosetvbuf.c: Likewise.
38664 * libio/ioungetc.c: Likewise.
38665 * libio/ioungetwc.c: Likewise.
38666 * libio/iovdprintf.c: Likewise.
38667 * libio/iovsprintf.c: Likewise.
38668 * libio/iovsscanf.c: Likewise.
38669 * libio/memstream.c: Likewise.
38670 * libio/obprintf.c: Likewise.
38671 * libio/oldfileops.c: Likewise.
38672 * libio/oldiofclose.c: Likewise.
38673 * libio/oldiofdopen.c: Likewise.
38674 * libio/oldiofopen.c: Likewise.
38675 * libio/oldiopopen.c: Likewise.
38676 * libio/oldstdfiles.c: Likewise.
38677 * libio/putc.c: Likewise.
38678 * libio/setbuf.c: Likewise.
38679 * libio/setlinebuf.c: Likewise.
38680 * libio/stdfiles.c: Likewise.
38681 * libio/strops.c: Likewise.
38682 * libio/vasprintf.c: Likewise.
38683 * libio/vscanf.c: Likewise.
38684 * libio/vsnprintf.c: Likewise.
38685 * libio/vswprintf.c: Likewise.
38686 * libio/wfiledoalloc.c: Likewise.
38687 * libio/wfileops.c: Likewise.
38688 * libio/wgenops.c: Likewise.
38689 * libio/wmemstream.c: Likewise.
38690 * libio/wstrops.c: Likewise.
38691 * libio/__fpurge.c: Likewise.
38692 * libio/__fsetlocking.c: Likewise.
38693 * assert/assert.c: Likewise.
38694 * debug/fgets_chk.c: Likewise.
38695 * debug/fgets_u_chk.c: Likewise.
38696 * debug/fread_chk.c: Likewise.
38697 * debug/fread_u_chk.c: Likewise.
38698 * debug/gets_chk.c: Likewise.
38699 * debug/obprintf_chk.c: Likewise.
38700 * debug/vasprintf_chk.c: Likewise.
38701 * debug/vdprintf_chk.c: Likewise.
38702 * debug/vsnprintf_chk.c: Likewise.
38703 * debug/vsprintf_chk.c: Likewise.
38704 * malloc/mtrace.c: Likewise.
38705 * misc/error.c: Likewise.
38706 * misc/syslog.c: Likewise.
38707 * stdio-common/asprintf.c: Likewise.
38708 * stdio-common/fxprintf.c: Likewise.
38709 * stdio-common/getw.c: Likewise.
38710 * stdio-common/isoc99_fscanf.c: Likewise.
38711 * stdio-common/isoc99_scanf.c: Likewise.
38712 * stdio-common/isoc99_vfscanf.c: Likewise.
38713 * stdio-common/isoc99_vscanf.c: Likewise.
38714 * stdio-common/isoc99_vsscanf.c: Likewise.
38715 * stdio-common/printf-prs.c: Likewise.
38716 * stdio-common/printf_fp.c: Likewise.
38717 * stdio-common/printf_fphex.c: Likewise.
38718 * stdio-common/printf_size.c: Likewise.
38719 * stdio-common/putw.c: Likewise.
38720 * stdio-common/scanf.c: Likewise.
38721 * stdio-common/sprintf.c: Likewise.
38722 * stdio-common/tmpfile.c: Likewise.
38723 * stdio-common/vfprintf.c: Likewise.
38724 * stdio-common/vfscanf.c: Likewise.
38725 * stdlib/strfmon_l.c: Likewise.
38726 * sunrpc/openchild.c: Likewise.
38727 * sunrpc/xdr_stdio.c: Likewise.
38728 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38729 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38731 2012-05-24 Roland McGrath <roland@hack.frob.com>
38733 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38735 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38736 in the third column, to generate for the shared library an IFUNC
38737 that uses _dl_vdso_vsym.
38738 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38739 * Makeconfig (object-suffixes-noshared): New variable.
38741 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38742 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38743 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38744 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38747 * include/sys/time.h (__gettimeofday): Remove macro.
38748 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38749 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38751 (__gettimeofday): Add libc_hidden_def.
38752 (gettimeofday): Add libc_hidden_weak.
38753 * sysdeps/mach/gettimeofday.c: Likewise.
38754 * sysdeps/posix/gettimeofday.c: Likewise.
38755 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38756 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38758 (__gettimeofday_internal): Remove strong_alias.
38759 (__gettimeofday): Add libc_hidden_def.
38760 (gettimeofday): Add libc_hidden_weak.
38761 * sysdeps/unix/syscalls.list (gettimeofday):
38762 Remove __gettimeofday_internal alias.
38764 2012-05-24 Daniel Jacobowitz <drow@false.org>
38765 H.J. Lu <hongjiu.lu@intel.com>
38768 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38769 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38770 (largebin_index_32_big): New.
38771 (largebin_index): Use it for 16-byte alignment.
38772 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38773 correction with front_misalign.
38775 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38803 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38804 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38806 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38810 * math/libm-test.inc (exp_test): Add test from bug 14036.
38811 (pow_test): Add test from bug 10846.
38813 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38815 (special_function): Do not include flags in test name.
38816 (parse_args): Likewise.
38817 * sysdeps/i386/fpu/libm-test-ulps: Update.
38818 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38819 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38820 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38823 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38825 * math/libm-test.inc ("Philosophy"): Update comment about
38827 (UNDERFLOW_EXCEPTION): New macro.
38828 (UNDERFLOW_EXCEPTION_OK): Likewise.
38829 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38830 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38831 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38832 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38833 (INVALID_EXCEPTION_OK): Update value.
38834 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38835 (OVERFLOW_EXCEPTION_OK): Likewise.
38836 (IGNORE_ZERO_INF_SIGN): Likewise.
38837 (test_exceptions): Handle underflow exceptions.
38838 (acos_test): Update for underflow exception expectations.
38839 (cexp_test): Likewise.
38840 (clog_test): Likewise.
38841 (clog10_test): Likewise.
38842 (csqrt_test): Likewise.
38843 (ctan_test): Likewise.
38844 (ctanh_test): Likewise.
38845 (exp_test): Likewise.
38846 (exp10_test): Likewise.
38847 (exp2_test): Likewise.
38848 (expm1_test): Likewise.
38849 (fma_test): Likewise.
38850 (j0_test): Likewise.
38851 (jn_test): Likewise.
38852 (nexttoward_test): Likewise.
38853 (pow_test): Likewise.
38854 (scalbn_test): Likewise.
38855 (scalbln_test): Likewise.
38856 (tan_test): Likewise.
38857 (y1_test): Likewise.
38858 * sysdeps/i386/fpu/libm-test-ulps: Update.
38859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38861 2012-05-23 David S. Miller <davem@davemloft.net>
38863 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38864 (__libc_sigaction): Remove unused local variables.
38866 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38868 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38870 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38872 mktime: avoid signed integer overflow
38873 * time/mktime.c (__mktime_internal): Do not mishandle the case
38874 where diff == INT_MIN.
38876 mktime: simplify computation of average
38877 * time/mktime.c (ranged_convert): Use new time_t_avg function
38878 instead of rolling our own (probably-slower) code.
38880 mktime: do not assume signed right shift propagates sign bit
38881 * time/mktime.c (isdst_differ): New static function.
38882 (__mktime_internal): No need to normalize tm_isdst now.
38883 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38886 mktime: merge another wrapv change from gnulib
38887 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38888 from some compilers.
38890 mktime: remove incorrect attempt at unusual arithmetics
38891 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38892 The code didn't really work on such machines anyway.
38893 (TYPE_MINIMUM): Assume two's complement.
38894 (twos_complement_arithmetic): Verify that long_int and time_t
38895 are two's complement (or unsigned, in the latter case).
38897 mktime: check signed shifts on long_int and time_t, too
38898 * time/mktime.c (SHR): Check that shifts work as desired
38899 on the types long_int and time_t too, as SHR is used on
38902 mktime: do not assume 'long' is wide enough
38903 * time/mktime.c (verify): Move decl up.
38904 (long_int): New type.
38905 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38906 to remove assumption in the code that 'long' is wide enough to
38907 store year values. This assumption is not true on x32 and on
38908 some non-glibc platforms.
38910 mktime: merge wrapv change from gnulib
38911 * time/mktime.c (WRAPV): New macro.
38912 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38913 (guess_time_tm, __mktime_internal): Do not assume that signed
38914 integer overflow wraps around; modern compilers generate code
38915 where this assumption is no longer valid.
38917 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38919 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38920 Replace "jmp L(pseudo_end)" with "ret".
38921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38924 2012-05-23 Andreas Jaeger <aj@suse.de>
38926 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38927 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38929 2012-05-23 Andreas Jaeger <aj@suse.de>
38930 Maximilian Attems <max@stro.at>
38932 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38935 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38937 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38938 code so that pseudo_end is just ret and the stack pointer is
38939 correct also for static library in error case.
38941 2012-05-23 Joseph Myers <joseph@codesourcery.com>
38943 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38944 move to syscalls.list.
38945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38950 * manual/install.texi (Running make install): Do not mention Linux
38951 kernel version for which pt_chown is not needed.
38952 (Linux): Do not mention problems with nscd with 2.0 kernels.
38953 * INSTALL: Regenerated.
38955 2012-05-23 Andreas Jaeger <aj@suse.de>
38957 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38958 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38960 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38961 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38962 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38963 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38964 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38965 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38966 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38967 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38968 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38969 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38970 * sysdeps/unix/sysv/linux/bits/in.h
38971 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38973 2012-05-22 Roland McGrath <roland@hack.frob.com>
38975 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38976 (PREPARE_VERSION): Just use assert instead, it will be elided
38977 under [NDEBUG] anyway.
38979 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38981 * sysdeps/unix/sysv/linux/Makefile: Include
38982 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38983 (sysdep_routines): Remove sysctl.
38984 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38985 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38986 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38987 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38988 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38990 2012-05-22 Andreas Jaeger <aj@suse.de>
38992 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38993 that pseudo_end is just ret and the stack pointer is correct also
38994 for static library in error case.
38996 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38999 * nss/nsswitch.c (defconfig_entries): New variable.
39000 (__nss_database_lookup): Don't leak defconfig entries.
39001 (nss_parse_service_list): Don't leak on error paths.
39002 (free_database_entries): New function.
39003 (free_defconfig): New function.
39004 (free_mem): Move common code to free_database_entries.
39006 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39008 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39010 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39012 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39013 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39016 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39017 (INTERNAL_SYSCALL_TYPES): Likewise.
39018 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39019 (LOAD_REGS_TYPES_[1-6]): Likewise.
39020 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39021 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39023 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39025 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39026 copysignl for GLIBC_2_0.
39027 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39028 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39030 logbl for GLIBC_2_0.
39031 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39032 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39034 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39036 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39037 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39039 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39042 * time/mktime.c: Update copyright years.
39044 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39046 mktime: merge comment-quoting-style change from gnulib
39047 * time/mktime.c: Quote 'like this' in comments.
39048 The GNU coding standards suggest that we no longer quote `like this',
39049 as "`" and "'" are typically rendered asymmetrically nowadays.
39050 The typical gnulib style is to quote 'like this' when quoting
39051 code, and "like this" when quoting English.
39053 * time/mktime.c (compile-command): Add "-I.".
39055 mktime: merge mktime-internal.h change from gnulib
39056 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39058 mktime: merge time_r change from gnulib
39059 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39061 mktime: merge DEBUG change from gnulib
39062 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39063 case system <time.h> has a #define.
39065 mktime: merge <sys/types.h> change from gnulib
39066 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39067 since <time.t> is now guaranteed to define time_t.
39069 mktime: merge HAVE_CONFIG_H change from gnulib
39070 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39072 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39077 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39079 (struct rusage): Use anonymous union to pad each field to
39082 2012-05-21 David S. Miller <davem@davemloft.net>
39084 * Makefules (o-iterator): Remove .s cases.
39085 (compile-command.s): Delete.
39086 (COMPILE.s): Delete.
39087 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39089 2012-05-21 Joseph Myers <joseph@codesourcery.com>
39091 * configure.in (libc_cv_predef_stack_protector): Only consider
39092 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39093 * configure: Regenerated.
39095 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39098 New macro. Use R*LP on int and pointer.
39099 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39100 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39101 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39102 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39104 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39105 [__WORDSIZE_TIME64_COMPAT32] instead of
39106 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39107 (struct utmp): Likewise.
39108 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39109 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39111 (__WORDSIZE_TIME64_COMPAT32): This.
39112 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39113 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39114 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39115 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39116 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39117 (__WORDSIZE_TIME64_COMPAT32): New macro.
39119 2012-05-21 Andreas Jaeger <aj@suse.de>
39121 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39122 only if [SHARED]. Add prototype for __wcschr_ia32.
39124 2012-05-21 Roland McGrath <roland@hack.frob.com>
39126 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39127 of %rbp unmolested in the jmp_buf while mangling the low bits.
39128 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39129 unmolested high bits of %rbp while demangling the low bits.
39130 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39132 2012-05-21 Andreas Jaeger <aj@suse.de>
39134 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39135 * sunrpc/svc_simple.c: Use it for registerrpc.
39136 * sunrpc/xcrypt.c: Use it for passwd2des.
39138 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39140 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39142 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39143 Don't define if [__SYSCALL_WORDSIZE != 32].
39144 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39147 2012-05-21 Bruno Haible <bruno@clisp.org>
39148 Andreas Jaeger <aj@suse.de>
39150 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39151 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39152 inptr and inend for must_buffer_ch.
39153 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39154 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39155 * stdio-common/Makefile (tests): Remove bug15.
39156 (bug15-ENV): Remove macro.
39157 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39160 2012-05-19 Andreas Jaeger <aj@suse.de>
39161 Roland McGrath <roland@hack.frob.com>
39163 * manual/contrib.texi: Completely rewritten. It contains now an
39164 alphabetical list of contributors and their contributions.
39166 2012-05-21 Richard Henderson <rth@twiddle.net>
39168 * misc/getauxval.c (__getauxval): Use unsigned long int.
39169 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39170 (getauxval): Use unsigned long int.
39172 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39174 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39176 2012-05-21 Roland McGrath <roland@hack.frob.com>
39178 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39179 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39180 __alignof__ (long double).
39182 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39186 2012-05-20 Richard Henderson <rth@twiddle.net>
39188 * misc/getauxval.c: New file.
39189 * misc/sys/auxv.h: New file.
39190 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39191 (routines): Add getauxval.
39192 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39193 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39194 * elf/dl-sysdep.c (_dl_auxv): Remove.
39195 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39196 * elf/dl-support.c (_dl_auxv): New variable.
39197 (_dl_aux_init): Initialize it.
39198 * manual/startup.texi (Auxiliary Vector): New node.
39199 * sysdeps/generic/bits/hwcap.h: New file.
39200 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39201 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39202 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39203 * sysdeps/sparc/sysdep.h: ... here. Include it.
39204 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39205 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39211 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39217 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39221 2012-05-19 David S. Miller <davem@davemloft.net>
39223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39225 2012-05-19 Joseph Myers <joseph@codesourcery.com>
39228 * math/s_ccosh.c: Include <float.h>
39229 (__ccosh): Avoid internal overflow calculating sinh and cosh
39230 values before multiplying by sin and cos values.
39231 * math/s_ccoshf.c: Likewise.
39232 * math/s_ccoshl.c: Likewise.
39233 * math/s_csin.c: Likewise.
39234 * math/s_csinf.c: Likewise.
39235 * math/s_csinl.c: Likewise.
39236 * math/s_csinh.c: Likewise.
39237 * math/s_csinhf.c: Likewise.
39238 * math/s_csinhl.c: Likewise.
39239 * math/libm-test.inc (ccos_test): Add more tests.
39240 (ccosh_test): Likewise.
39241 (csin_test): Likewise.
39242 (csinh_test): Likewise.
39243 * sysdeps/i386/fpu/libm-test-ulps: Update.
39244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39246 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39248 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39249 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39251 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39253 2012-05-19 Joseph Myers <joseph@codesourcery.com>
39255 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39256 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39257 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39258 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39259 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39260 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39261 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39262 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39263 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39264 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39265 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39266 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39267 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39268 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39269 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39270 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39271 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39272 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39273 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39274 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39275 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39276 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39277 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39278 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39279 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39280 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39281 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39282 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39283 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39284 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39285 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39287 2012-05-18 Andreas Jaeger <aj@suse.de>
39289 * csu/.gitignore: Delete.
39291 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39293 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39294 (timex): Use __syscall_slong_t.
39296 2012-05-18 Andreas Jaeger <aj@suse.de>
39297 Carlos O'Donell <carlos_odonell@mentor.com>
39299 * manual/install.texi (Configuring and compiling): Update
39300 description about files modified in the source directory.
39301 * INSTALL: Regenerated.
39303 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39305 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39306 value. Use "or" to set return value to -1.
39307 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39308 negate return value.
39310 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39312 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39313 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39314 failure if the compiler has Graphite support disabled.
39315 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39317 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39318 (CFLAGS-memmove.c): Likewise.
39319 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39322 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39324 * sysdeps/x86_64/x32/_itoa.h: New file.
39326 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39327 getdents system call only if kernel and user dirents have the
39328 same d_ino and d_off.
39330 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39331 LLONG_MAX != LONG_MAX.
39332 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39333 (_fitoa_word): Likewise.
39335 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39337 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39338 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39339 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39341 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39342 include <bits/wordsize.h>. Check __x86_64__ instead of
39344 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39345 if __x86_64__ is defined. Use anonymous union on fpstate.
39347 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39350 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39352 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39353 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39354 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39355 Refer to _rtld_local_ro instead of _rtld_global_ro.
39356 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39358 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39360 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39362 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39363 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39364 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39366 * sysdeps/powerpc/powerpc32/dl-machine.c
39367 (__elf_machine_runtime_setup) [PROF]: Don't reference
39370 2012-05-18 Andreas Jaeger <aj@suse.de>
39372 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39373 function only available for GCCs before 3.4 since GCC 3.4
39374 introduced a builtin.
39376 (llrintf): Likewise.
39377 (llrint): Likewise.
39384 (nearbyint): Likewise.
39385 (nearbyintf): Likewise.
39389 (floorf): Likewise.
39391 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39393 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39394 on both fields and cast pointer to __syscall_ulong_t.
39396 * bits/types.h (__fsword_t): New type.
39397 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39398 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39399 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39400 (__FSWORD_T_TYPE): Likewise.
39401 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39402 (__FSWORD_T_TYPE): Likewise.
39403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39404 (__FSWORD_T_TYPE): Likewise.
39405 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39406 (__FSWORD_T_TYPE): Likewise.
39407 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39408 __SWORD_TYPE with __fsword_t.
39409 (statfs64): Likewise.
39411 2012-05-17 David S. Miller <davem@davemloft.net>
39413 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39415 2012-05-17 Andreas Jaeger <aj@suse.de>
39417 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39420 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39422 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39424 2012-05-17 Andreas Jaeger <aj@suse.de>
39426 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39429 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39431 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39433 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39435 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39436 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39438 2012-05-17 Andreas Jaeger <aj@suse.de>
39439 Carlos O'Donell <carlos_odonell@mentor.com>
39442 * sysdeps/x86_64/multiarch/init-arch.h
39443 (bit_YMM_Usable): Rename to...
39444 (bit_AVX_Usable): ... this.
39445 (bit_FMA4_Usable): New macro.
39446 (bit_XMM_state): New macro.
39447 (bit_YMM_state): New macro.
39448 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39449 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39450 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39451 (CPUID_OSXSAVE): New macro.
39452 (CPUID_AVX): New macro.
39453 (CPUID_FMA4): New macro.
39454 (index_YMM_Usable): Rename to...
39455 (index_AVX_Usable): ... this.
39456 (HAS_AVX): Use HAS_ARCH_FEATURE.
39457 (HAS_FMA4): Likewise.
39458 (HAS_YMM_USABLE): Remove.
39459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39460 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39462 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39463 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39464 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39465 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39466 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39468 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39470 * math/libm-test.c: Support platforms without multiple rounding modes.
39471 * math/bug-nextafter.c: Support platforms without FP exceptions.
39472 * math/bug-nexttoward.c: Likewise.
39473 * math/test-fenv.c: Likewise.
39474 * math/test-misc.c: Likewise.
39475 * stdlib/bug-getcontext.c: Likewise.
39477 2012-05-17 Andreas Jaeger <aj@suse.de>
39479 * manual/examples/search.c (critter_cmp): Change signature to
39481 * manual/string.texi (Collation Functions): Likewise.
39483 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39485 * bits/types.h: Fold copyright years.
39486 * bits/typesizes.h: Likewise.
39487 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39488 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39489 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39491 * time/time.h: Likewise.
39493 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39496 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39497 in instead of returning them. Return void.
39498 (__libc_mallinfo): Accumulate over all arenas.
39499 (__malloc_stats): Adjust for change in int_mallinfo interface.
39501 2012-05-16 Roland McGrath <roland@hack.frob.com>
39504 * configure.in (NM): Add AC_CHECK_TOOL for it.
39505 (libc_extra_cflags): New substituted variable.
39506 Check for -fstack-protector being used implicitly.
39507 * configure: Regenerated.
39508 * config.make.in (config-extra-cflags): New variable,
39509 gets @libc_extra_cflags@.
39510 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39513 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39514 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39515 * configure: Regenerated.
39516 * config.make.in (CPPUNDEFS): New substituted variable.
39517 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39518 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39519 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39521 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39523 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39524 (mq_attr): Use __syscall_slong_t.
39526 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39528 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39529 Check __x86_64__ instead of __WORDSIZE.
39530 (_STAT_VER_LINUX): Likewise.
39531 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39532 __syscall_ulong_t and __syscall_slong_t.
39533 (stat64): Likewise.
39535 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39537 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39539 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39541 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39543 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39545 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39548 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39549 include <bits/wordsize.h>. Check __x86_64__ instead of
39551 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39553 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39555 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39556 include <bits/wordsize.h>. Check __x86_64__ instead of
39558 (user_regs_struct): Use "__extension__ unsigned long long"
39559 instead of "unsigned long" if __x86_64__ is defined.
39560 (user): Likewise. Pad after pointer field if __ILP32__ is
39563 2012-05-16 Joseph Myers <joseph@codesourcery.com>
39565 * configure.in (makeinfo): Require version 4.5 or later. Allow
39567 * configure: Regenerated.
39568 * manual/install.texi (texinfo): Increase version requirement to
39570 * INSTALL: Regenerated.
39572 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39574 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39576 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39578 * sysdeps/x86_64/x32/ffs.c: New file.
39580 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39582 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39583 defined. Use __syscall_ulong_t.
39584 (shminfo): Use __syscall_ulong_t.
39585 (shm_info): Likewise.
39587 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39590 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39592 (msgqnum_t): Use __syscall_ulong_t.
39593 (msglen_t): Likewise.
39594 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39597 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39598 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39600 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39602 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39603 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39605 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39608 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39609 include <bits/wordsize.h>. Check __x86_64__ instead of
39612 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39613 "unsigned long long int" if __x86_64__ is defined.
39614 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39616 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39617 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39618 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39620 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39622 (GET_PC): Cast to uintptr_t first.
39623 (GET_FRAME): Likewise.
39624 (GET_STACK): Likewise.
39626 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39627 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39628 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39629 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39630 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39631 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39632 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39633 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39634 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39635 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39636 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39637 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39638 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39639 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39640 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39641 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39642 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39643 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39644 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39645 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39646 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39647 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39648 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39649 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39650 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39651 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39652 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39653 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39654 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39656 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39658 * Makerules (+depfiles): Also collect depfiles from .oS in
39660 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39661 .oS, $(libnldbl-routines)).
39663 * Makerules (native-compile-mkdep-flags): Define.
39664 * sunrpc/Makefile (extra-objs): Add $(addprefix
39665 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39666 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39667 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39668 calling $(make-target-directory).
39670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39672 * bits/types.h (__snseconds_t): Removed.
39673 * time/time.h (struct timespec): Replace __snseconds_t with
39675 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39676 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39678 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39679 (__SNSECONDS_T_TYPE): Likewise.
39680 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39681 (__SNSECONDS_T_TYPE): Likewise.
39682 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39683 (__SNSECONDS_T_TYPE): Likewise.
39685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39687 * sysdeps/mach/hurd/bits/typesizes.h
39688 (__SYSCALL_SLONG_TYPE): New macro.
39689 (__SYSCALL_ULONG_TYPE): Likewise.
39691 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39693 * bits/types.h (__syscall_slong_t): New type.
39694 (__syscall_ulong_t): Likewise.
39696 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39697 (__SYSCALL_ULONG_TYPE): Likewise.
39698 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39699 (__SYSCALL_SLONG_TYPE): Likewise.
39700 (__SYSCALL_ULONG_TYPE): Likewise.
39701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39702 (__SYSCALL_SLONG_TYPE): Likewise.
39703 (__SYSCALL_ULONG_TYPE): Likewise.
39704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39705 (__SYSCALL_SLONG_TYPE): Likewise.
39706 (__SYSCALL_ULONG_TYPE): Likewise.
39708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39710 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39711 Add sigaltstack-offsets.sym.
39712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39713 <sigaltstack-offsets.h>.
39714 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39715 longjmp_msg pointer.
39716 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39717 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39719 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39721 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39723 * elf/stackguard-macros.h: Remove file.
39724 * sysdeps/generic/stackguard-macros.h: New file.
39725 * sysdeps/i386/stackguard-macros.h: Likewise.
39726 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39727 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39728 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39729 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39730 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39731 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39732 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39733 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39734 <elf/stackguard-macros.h>.
39737 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39738 __aligned__ in attribute.
39739 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39740 (gregset_t): Likewise.
39742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39744 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39745 * sysdeps/x86_64/64/Implies-after: Here. New file.
39746 * sysdeps/x86_64/x32/Implies-after: New file.
39748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39750 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39751 and access return value for _dl_profile_fixup. Use R10_LP to
39754 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39756 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39760 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39761 * sysdeps/x86_64/x32/sysdep.h: New file.
39763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39765 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39766 * sysdeps/x86_64/setjmp.S: Likewise.
39768 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39770 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39771 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39772 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39773 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39774 remove unused global constant.
39776 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39778 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39779 include of <not-cancel.h>.
39781 2012-05-15 Roland McGrath <roland@hack.frob.com>
39783 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39785 2012-05-15 Jeff Law <law@redhat.com>
39786 Andreas Jaeger <aj@suse.de>
39789 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39791 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39792 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39793 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39794 code changing __hst_map_handle.map.
39796 2012-05-15 Roland McGrath <roland@hack.frob.com>
39798 * configure.in (sysnames): Look for Implies-before and Implies-after
39800 * configure: Regenerated.
39802 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39804 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39805 8-byte data alignment with LP_SIZE alignment.
39807 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39809 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39812 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39814 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39818 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39819 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39820 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39822 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39826 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39827 (stackinfo_sub_sp): Likewise.
39829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39831 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39836 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39839 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39841 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39844 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39846 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39850 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39851 into R11_LP and load __x86_64_shared_cache_size_half into
39854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39856 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39859 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39861 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39865 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39867 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39868 powerpc32/power7/fpu/s_logb.c via #include.
39869 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39870 powerpc32/power7/fpu/s_logbf.c via #include.
39871 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39872 powerpc32/power7/fpu/s_logbl.c via #include.
39874 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39876 * README.libm: Remove file.
39878 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39880 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39881 count for x32. Use R*_LP and omit operand-size suffix.
39883 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39885 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39886 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39887 * sysdeps/x86_64/x32/shlib-versions: New file.
39889 2012-05-14 Roland McGrath <roland@hack.frob.com>
39891 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39892 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39893 Use _dl_fatal_printf instead.
39895 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39897 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39898 set if not set by the user. Do not allow for being unset.
39899 * sysdeps/unix/sysv/linux/configure: Regenerated.
39901 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39903 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39904 the `q' suffix from lea and replace .quad with ASM_ADDR.
39906 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39909 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39911 (PTR_DEMANGLE): Likewise.
39913 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39915 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39917 (ASM_ADDR): Likewise.
39918 (RAX_LP): Likewise.
39919 (RBP_LP): Likewise.
39920 (RBX_LP): Likewise.
39921 (RCX_LP): Likewise.
39922 (RDI_LP): Likewise.
39923 (RSI_LP): Likewise.
39924 (RSP_LP): Likewise.
39927 (R10_LP): Likewise.
39928 (R10_LP): Likewise.
39929 (R11_LP): Likewise.
39930 (R12_LP): Likewise.
39931 (R13_LP): Likewise.
39932 (R14_LP): Likewise.
39933 (R15_LP): Likewise.
39935 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39937 * sysdeps/x86_64/x32/dl-machine.h: New file.
39939 2012-05-14 Andreas Jaeger <aj@suse.de>
39941 * manual/Makefile (subdir): Remove export of subdir.
39942 (all): Remove target.
39943 (.PHONY): Remove all from list.
39944 (mkinstalldirs): Remove.
39945 (.PHONY): Remove installdirs from list.
39946 ($(inst_infodir)/libc.info): Use make-target-directory.
39947 (installdirs): Remove.
39948 (subdir_%): Remove.
39949 (glibc-targets): Remove.
39952 ($(objpfx)stubs ../po/manual.pot): Remove.
39953 ($(objpfx)stamp%): Remove.
39954 (make-target-directory): Remove.
39955 (subdir_install): Remove.
39956 (routines): Remove.
39963 * manual/.gitignore: Remove, it's not needed anymore.
39964 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39966 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39968 (texis): Renamed to $(objpfx)texis.
39969 (texis-path): New, contains path to generated files.
39970 (chapters.%): Use texis-path for complete path, add extra argument
39972 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39973 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39974 (summary,texi, stamp-summary): Use complete path of
39975 files. Generate files in build dir.
39976 (dir-add.texi): Build in build dir.
39977 (libm-err.texi,stamp-libm-err): Likewise.
39978 (version.texi, stamp-version): Likewise.
39979 (.%c.texi): Likewise.
39980 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39981 (mostlyclean): Remove target.
39982 (realclean): Remove target.
39983 (generated): Add new variable with contents from mostlyclean and
39984 realclean, remove entries duplicated in common-mostlyclean, add
39985 stamp-libm-err and stamp-version.
39986 (generated-dirs): Add libc directory.
39987 ($(inst_infodir)/libc.info): Install files from build dir.
39989 * manual/install.texi (Configuring and compiling): Adjust since
39990 the info files are not part of the tar ball anymore.
39992 2012-05-14 Andreas Jaeger <aj@suse.de>
39994 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39997 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40001 to 2.2.0 where earlier.
40002 * sysdeps/unix/sysv/linux/configure: Regenerated.
40003 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40004 Remove conditional code.
40005 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40006 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40007 Remove conditional code.
40008 [!__NR_lchown]: Likewise.
40009 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40010 [__NR_lchown]: Likewise.
40011 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40012 comment referencing __ASSUME_LCHOWN_SYSCALL.
40013 * sysdeps/unix/sysv/linux/i386/sigaction.c
40014 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40015 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40016 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40017 Remove conditional code.
40018 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40019 (__protocol_available): Remove #if 0 code.
40020 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40022 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40023 * sysdeps/unix/sysv/linux/kernel-features.h
40024 (__ASSUME_GETCWD_SYSCALL): Don't define.
40025 (__ASSUME_REALTIME_SIGNALS): Likewise.
40026 (__ASSUME_PREAD_SYSCALL): Likewise.
40027 (__ASSUME_PWRITE_SYSCALL): Likewise.
40028 (__ASSUME_POLL_SYSCALL): Likewise.
40029 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40030 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40032 (__ASSUME_SIOCGIFNAME): Don't define.
40033 (__ASSUME_MSG_NOSIGNAL): Likewise.
40034 (__ASSUME_SENDFILE): Define unconditionally.
40035 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40036 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40038 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40039 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40040 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40041 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40042 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40043 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40044 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40046 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40047 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40049 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40050 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40052 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40053 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40055 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40056 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40058 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40059 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40061 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40062 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40064 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40065 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40067 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40068 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40069 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40070 Remove conditional code.
40071 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40072 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40073 Remove conditional code.
40074 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40075 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40076 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40077 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40078 Remove conditional code.
40079 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40080 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40081 Remove conditional code.
40082 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40083 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40084 Remove conditional code.
40085 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40086 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40087 Remove conditional code.
40088 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40089 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40090 Remove conditional code.
40091 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40092 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40093 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40094 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40095 * sysdeps/unix/sysv/linux/sigaction.c
40096 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40097 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40098 * sysdeps/unix/sysv/linux/sigpending.c
40099 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40100 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40101 * sysdeps/unix/sysv/linux/sigprocmask.c
40102 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40103 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40104 * sysdeps/unix/sysv/linux/sigsuspend.c
40105 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40106 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40107 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40108 (__libc_missing_rt_sigs): Remove.
40109 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40110 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40111 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40112 Remove conditional code.
40113 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40114 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40116 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40117 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40118 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40119 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40121 2012-05-14 Andreas Jaeger <aj@suse.de>
40123 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40124 it's not used in glibc.
40125 (__coshm1): Likewise.
40126 (__acosh1p): Likewise.
40129 * manual/string.texi (Copying and Concatenation): Add missing
40130 variable in concat example.
40131 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40133 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40136 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40137 __builtin_clzl with __builtin_clzll.
40139 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40142 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40145 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40147 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40148 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40149 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40150 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40152 2012-05-14 Mike Frysinger <vapier@gentoo.org>
40154 * NEWS: Update ia64 info.
40156 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40158 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40161 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40163 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40164 * sysdeps/unix/syscalls.list (dup3): Likewise.
40165 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40166 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40168 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40170 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40171 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40173 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40175 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40177 (TLS_IE): Use mov/add instead of movq/addq to load thread
40179 (TLS_GD_PREFIX): New.
40182 2012-05-11 David S. Miller <davem@davemloft.net>
40184 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40185 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40186 (_FPU_SETCW): Likewise.
40188 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40190 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40191 is 32-byte aligned.
40193 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40196 * iconvdata/gb18030.c: Update tables.
40197 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40198 characters specially.
40199 (BODY for TO_LOOP): Add encoding of missing ranges.
40201 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40204 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40205 * sysdeps/mach/hurd/dup3.c: Likewise.
40206 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40207 * sysdeps/powerpc/memmove.c:: Likewise.
40209 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40212 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40214 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40216 * elf/elf.h (R_X86_64_RELATIVE64): New.
40217 (R_X86_64_NUM): Updated.
40218 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40219 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40220 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40221 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40222 tst-quad1pie tst-quad2pie
40223 (modules-names): Add tst-quadmod1 tst-quadmod2.
40224 ($(objpfx)tst-quad1): New dependency.
40225 ($(objpfx)tst-quad2): Likewise.
40226 ($(objpfx)tst-quad1pie): Likewise.
40227 ($(objpfx)tst-quad2pie): Likewise.
40228 * sysdeps/x86_64/tst-quad1.c: New file.
40229 * sysdeps/x86_64/tst-quad1pie.c: New file.
40230 * sysdeps/x86_64/tst-quad2.c: Likewise.
40231 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40232 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40233 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40234 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40235 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40237 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40239 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40240 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40241 * streams/stropts.h (t_scalar_t): Define type.
40243 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40244 (_PATH_PRESERVE): Set to "/var/lib".
40245 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40247 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40250 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40251 if __dir_mkfile succeeded.
40253 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40254 checking for _hurd_dtablesize. Unlock it right after having
40255 finished _hurd_dtable allocation.
40257 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40259 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40260 * sysdeps/mach/hurd/configure: Regenerated.
40261 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40262 special-casing to...
40263 * sysdeps/gnu/configure.in: ... this new file.
40264 * sysdeps/unix/sysv/linux/configure: Regenerated.
40265 * sysdeps/gnu/configure: New generated file.
40267 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40268 for Linux: use nsec instead of usec, as well as:
40269 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40270 members of type struct timespec.
40271 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40273 (struct stat64): Likewise.
40274 (_STATBUF_ST_NSEC): New macro.
40275 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40277 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40278 __strtoul_internal rather than strtoul.
40280 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40282 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40285 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40287 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40288 which preserves existing values.
40289 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40291 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40293 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40294 TIMEOUT values. Return EINVAL for NFDS values either negative or
40295 greater than FD_SETSIZE.
40297 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40299 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40300 allocated, call __vm_protect to finish enabling the existing space, and
40301 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40302 allocate the remainder.
40304 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40306 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40307 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40309 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40311 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40312 sysdeps/mach/hurd/readlink.c.
40314 * posix/tst-sysconf.c (posix_options): Only use
40315 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40316 _POSIX_SYNCHRONIZED_IO when they are defined
40317 * sysdeps/mach/hurd/bits/posix_opt.h:
40318 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40319 (_XOPEN_REALTIME): Undefine macro.
40320 (_XOPEN_REALTIME_THREADS): Undefine macro.
40321 (_XOPEN_SHM): Undefine macro.
40322 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40324 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40326 (_POSIX_ASYNC_IO): Undefine macro.
40327 (_POSIX_PRIORITIZED_IO): Undefine macro.
40328 (_POSIX_SPIN_LOCKS): Define macro to -1.
40330 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40331 SA_NODEFER, SA_RESETHAND.
40332 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40333 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40336 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40338 * elf/Makefile (pldd-modules): Define unconditionally.
40340 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40342 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40344 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40346 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40347 Return ENOENT when name is empty.
40348 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40350 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40352 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40354 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40356 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40358 Fix mlock in all cases except non-readable pages.
40359 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40360 instead of VM_PROT_ALL as parameter to __vm_wire function.
40362 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40363 (__mkdir): When path is `/', just fail with EEXIST.
40364 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40366 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40368 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40369 <sys/uio.h> (for writev).
40370 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40371 and <sys/param.h> (for MIN).
40373 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40375 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40376 REQUESTED_TIME. Properly set the remaining time and return EINTR
40379 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40381 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40382 Depend on against $(link-rpcuserlibs).
40384 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40386 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40387 (__libc_stack_end): Do not use attribute_relro.
40388 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40389 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40390 to libthread-provided value.
40391 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40394 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40397 * bits/libc-lock.h (__libc_once_get): New macro.
40398 * sysdeps/mach/bits/libc-lock.h: Likewise.
40399 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40400 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40401 instead of using implementation details.
40403 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40404 * libio/freopen.c: Likewise.
40405 * libio/freopen64.c: Likewise.
40406 * misc/syslog.c: Likewise.
40407 * nscd/connections.c: Likewise.
40408 * nscd/netgroupcache.c: Likewise.
40409 * sysdeps/posix/getcwd.c: Likewise.
40411 2012-05-10 Roland McGrath <roland@hack.frob.com>
40413 * math/w_ilogbf.c: Add #include <limits.h>.
40415 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40417 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40418 path instead of returning without unlocking.
40420 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40421 immediate-write ioctls.
40422 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40424 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40426 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40427 __builtin_frame_address instead of making assumptions about the
40428 location of the return address relative to DATA. Force early load of
40429 the return address.
40430 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40431 __builtin_frame_address.
40434 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40435 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40436 implement dup3 and do some further code clean-ups.
40437 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40438 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40440 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40442 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40444 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40445 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40446 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40447 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40448 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40451 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40452 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40453 when handler == SIG_ERR, not when handler != SIG_ERR.
40455 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40457 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40458 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40461 accept4 for GNU Hurd.
40462 * include/sys/socket.h (__libc_accept4): New prototype.
40463 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40464 to implement __libc_accept4.
40465 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40467 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40469 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40470 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40471 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40472 signal-defines.sym.
40474 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40476 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40478 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40480 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40481 assertion on O_CLOEXEC flag.
40482 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40483 * hurd/intern-fd.c: Likewise.
40484 * hurd/port2fd.c: Likewise.
40486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40489 * bits/in.h (IPV6_PKTINFO): Define new macro.
40490 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40492 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40497 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40498 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40499 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40500 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40501 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40502 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40503 * math/libm-test.inc (logb_test) : Additional logb tests.
40505 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40506 Andreas Jaeger <aj@suse.de>
40508 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40509 * configure: Regenerated.
40510 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40511 * config.make.in (link-obsolete-rpc): New substituted variable.
40512 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40513 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40514 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40515 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40516 so that libc.a contains the symbols.
40517 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40518 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40519 * sunrpc/auth_none.c: Likewise.
40520 * sunrpc/auth_unix.c: Likewise.
40521 * sunrpc/authdes_prot.c: Likewise.
40522 * sunrpc/authuxprot.c: Likewise.
40523 * sunrpc/clnt_gen.c: Likewise.
40524 * sunrpc/clnt_perr.c: Likewise.
40525 * sunrpc/clnt_raw.c: Likewise.
40526 * sunrpc/clnt_simp.c: Likewise.
40527 * sunrpc/clnt_tcp.c: Likewise.
40528 * sunrpc/clnt_udp.c: Likewise.
40529 * sunrpc/clnt_unix.c: Likewise.
40530 * sunrpc/des_crypt.c: Likewise.
40531 * sunrpc/des_soft.c: Likewise.
40532 * sunrpc/get_myaddr.c: Likewise.
40533 * sunrpc/key_call.c: Likewise.
40534 * sunrpc/key_prot.c: Likewise.
40535 * sunrpc/netname.c: Likewise.
40536 * sunrpc/pm_getmaps.c: Likewise.
40537 * sunrpc/pm_getport.c: Likewise.
40538 * sunrpc/pmap_clnt.c: Likewise.
40539 * sunrpc/pmap_prot.c: Likewise.
40540 * sunrpc/pmap_prot2.c: Likewise.
40541 * sunrpc/pmap_rmt.c: Likewise.
40542 * sunrpc/publickey.c: Likewise.
40543 * sunrpc/rpc_cmsg.c: Likewise.
40544 * sunrpc/rpc_common.c: Likewise.
40545 * sunrpc/rpc_dtable.c: Likewise.
40546 * sunrpc/rpc_prot.c: Likewise.
40547 * sunrpc/rpc_thread.c: Likewise.
40548 * sunrpc/rtime.c: Likewise.
40549 * sunrpc/svc.c: Likewise.
40550 * sunrpc/svc_auth.c: Likewise.
40551 * sunrpc/svc_raw.c: Likewise.
40552 * sunrpc/svc_run.c: Likewise.
40553 * sunrpc/svc_tcp.c: Likewise.
40554 * sunrpc/svc_udp.c: Likewise.
40555 * sunrpc/svc_unix.c: Likewise.
40556 * sunrpc/svcauth_des.c: Likewise.
40557 * sunrpc/xcrypt.c: Likewise.
40558 * sunrpc/xdr.c: Likewise.
40559 * sunrpc/xdr_array.c: Likewise.
40560 * sunrpc/xdr_float.c: Likewise.
40561 * sunrpc/xdr_intXX_t.c: Likewise.
40562 * sunrpc/xdr_mem.c: Likewise.
40563 * sunrpc/xdr_rec.c: Likewise.
40564 * sunrpc/xdr_ref.c: Likewise.
40565 * sunrpc/xdr_sizeof.c: Likewise.
40566 * sunrpc/xdr_stdio.c: Likewise.
40568 2012-05-10 Roland McGrath <roland@hack.frob.com>
40570 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40571 change. Update copyright years.
40573 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40575 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40577 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40578 Joseph Myers <joseph@codesourcery.com>
40579 Paul Pluzhnikov <ppluzhnikov@google.com>
40582 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40584 [cross-compiling] (extra-libs): Likewise.
40585 [cross-compiling] (extra-libs-others): Likewise.
40586 [cross-compiling] (librpcsvc-routines): Likewise.
40587 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40588 [cross-compiling] (omit-deps): Likewise.
40589 (sunrpc-CPPFLAGS): New variable.
40590 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40591 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40592 (cross-rpcgen-objs): New variable.
40593 (extra-objs): Append $(cross-rpcgen-objs).
40594 ($(cross-rpcgen-objs)): New rule.
40595 ($(objpfx)cross-rpcgen): Likewise.
40596 (rpcgen-cmd): Define to use $(built-program-file). Expand
40598 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40599 ($(objpfx)x%.stmp): Likewise.
40600 * sunrpc/proto.h [IS_IN_build] (_): Define.
40601 [IS_IN_build] (_libc_intl_domainname): Likewise.
40603 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40605 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40606 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40607 and R_X86_64_TPOFF64.
40609 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40611 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40612 sysdeps/unix/sysv/syscalls.list.
40615 * sysdeps/unix/sysv/syscalls.list: Remove file.
40617 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40620 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40621 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40622 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40623 (__LC_IDENTIFICATION): Make these macros useful in #if
40624 expressions, as required by C99.
40626 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40628 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40629 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40632 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40634 * stdlib/longlong.h: Updated from GCC.
40636 2012-05-09 Andreas Jaeger <aj@suse.de>
40638 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40639 default is first entry.
40640 (run_mode): Set type.
40641 (main): Remove informal message about syslog.
40642 (options): Fix typo.
40645 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40648 (llrintf): Likewise.
40649 (llrint): Likewise.
40652 (nearbyint): Likewise.
40653 (nearbyintf): Likewise.
40655 2012-05-09 Andreas Jaeger <aj@suse.de>
40656 Pedro Alves <palves@redhat.com>
40658 * nscd/nscd.c (run_mode): Use enum.
40659 (main): Cleanup coding style issue.
40661 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
40662 Andreas Jaeger <aj@suse.de>
40664 * nscd/nscd.c (go_background): Replaced with...
40665 (run_mode): ... this.
40666 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40667 (options): Add -F --foreground.
40668 (main): Implement it.
40669 (parse_opt): Parse it.
40671 2012-05-09 Andreas Jaeger <aj@suse.de>
40674 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40675 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40676 -Wconversion warning.
40677 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40680 2012-05-09 Joseph Myers <joseph@codesourcery.com>
40682 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40684 (LC_ALL): Use macro-int-constant.
40685 (LC_COLLATE): Likewise.
40686 (LC_CTYPE): Likewise.
40687 (LC_MESSAGES): Likewise.
40688 (LC_MONETARY): Likewise.
40689 (LC_NUMERIC): Likewise.
40690 (LC_TIME): Likewise.
40691 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40692 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40693 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40694 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40696 [C99-based standards] (float_t): Expect type.
40697 [C99-based standards] (double_t): Expect type.
40698 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40700 [C99-based standards] (HUGE_VALL): Likewise.
40701 [C99-based standards] (INFINITY): Likewise.
40702 [C99-based standards] (NAN): Likewise.
40703 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40704 [C99-based standards] (FP_NAN): Likewise.
40705 [C99-based standards] (FP_NORMAL): Likewise.
40706 [C99-based standards] (FP_SUBNORMAL): Likewise.
40707 [C99-based standards] (FP_ZERO): Likewise.
40708 [C99-based standards] (FP_FAST_FMA): Use
40709 optional-macro-int-constant. Specify type. Require == 1.
40710 [C99-based standards] (FP_FAST_FMAF): Likewise.
40711 [C99-based standards] (FP_FAST_FMAL): Likewise.
40712 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40713 [C99-based standards] (FP_ILOGBNAN): Likewise.
40714 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40716 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40717 [C99-based standards] (math_errhandling): Specify type.
40718 [ISO99 || ISO11] (signgam): Do not allow.
40719 [non-C99-based standards] (copysignf): Do not allow.
40720 [non-C99-based standards] (exp2f): Likewise.
40721 [non-C99-based standards] (log2f): Likewise.
40722 [non-C99-based standards] (modff): Allow.
40723 [non-C99-based standards] (erff): Do not allow.
40724 [non-C99-based standards] (erfcf): Likewise.
40725 [non-C99-based standards] (gammaf): Likewise.
40726 [non-C99-based standards] (hypotf): Likewise.
40727 [non-C99-based standards] (j0f): Likewise.
40728 [non-C99-based standards] (j1f): Likewise.
40729 [non-C99-based standards] (jnf): Likewise.
40730 [non-C99-based standards] (lgammaf): Likewise.
40731 [non-C99-based standards] (tgammaf): Likewise.
40732 [non-C99-based standards] (y0f): Likewise.
40733 [non-C99-based standards] (y1f): Likewise.
40734 [non-C99-based standards] (ynf): Likewise.
40735 [non-C99-based standards] (isnanf): Likewise.
40736 [non-C99-based standards] (acoshf): Likewise.
40737 [non-C99-based standards] (asinhf): Likewise.
40738 [non-C99-based standards] (atanhf): Likewise.
40739 [non-C99-based standards] (cbrtf): Likewise.
40740 [non-C99-based standards] (expm1f): Likewise.
40741 [non-C99-based standards] (ilogbf): Likewise.
40742 [non-C99-based standards] (log1pf): Likewise.
40743 [non-C99-based standards] (logbf): Likewise.
40744 [non-C99-based standards] (nextafterf): Likewise.
40745 [non-C99-based standards] (remainderf): Likewise.
40746 [non-C99-based standards] (rintf): Likewise.
40747 [non-C99-based standards] (scalbf): Likewise.
40748 [non-C99-based standards] (copysignl): Likewise.
40749 [non-C99-based standards] (exp2l): Likewise.
40750 [non-C99-based standards] (log2l): Likewise.
40751 [non-C99-based standards] (modfl): Allow.
40752 [non-C99-based standards] (erfl): Do not allow.
40753 [non-C99-based standards] (erfcl): Likewise.
40754 [non-C99-based standards] (gammal): Likewise.
40755 [non-C99-based standards] (hypotl): Likewise.
40756 [non-C99-based standards] (j0l): Likewise.
40757 [non-C99-based standards] (j1l): Likewise.
40758 [non-C99-based standards] (jnl): Likewise.
40759 [non-C99-based standards] (lgammal): Likewise.
40760 [non-C99-based standards] (tgammal): Likewise.
40761 [non-C99-based standards] (y0l): Likewise.
40762 [non-C99-based standards] (y1l): Likewise.
40763 [non-C99-based standards] (ynl): Likewise.
40764 [non-C99-based standards] (isnanl): Likewise.
40765 [non-C99-based standards] (acoshl): Likewise.
40766 [non-C99-based standards] (asinhl): Likewise.
40767 [non-C99-based standards] (atanhl): Likewise.
40768 [non-C99-based standards] (cbrtl): Likewise.
40769 [non-C99-based standards] (expm1l): Likewise.
40770 [non-C99-based standards] (ilogbl): Likewise.
40771 [non-C99-based standards] (log1pl): Likewise.
40772 [non-C99-based standards] (logbl): Likewise.
40773 [non-C99-based standards] (nextafterl): Likewise.
40774 [non-C99-based standards] (remainderl): Likewise.
40775 [non-C99-based standards] (rintl): Likewise.
40776 [non-C99-based standards] (scalbl): Likewise.
40777 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40778 [non-C99-based standards] (FP_*): Do not allow.
40779 [C99-based standards] (FP_*): Change to
40780 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40781 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40783 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40784 (SIG_ERR): Likewise.
40785 [X/Open-based standards] (SIG_HOLD): Likewise.
40786 (SIG_IGN): Likewise.
40787 (SIGABRT): Use macro-int-constant. Specify type. Require
40789 (SIGFPE): Likewise.
40790 (SIGILL): Likewise.
40791 (SIGINT): Likewise.
40792 (SIGSEGV): Likewise.
40793 (SIGTER): Likewise.
40794 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40795 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40796 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40797 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40798 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40799 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40800 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40801 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40802 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40803 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40804 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40805 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40806 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40807 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40808 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40809 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40810 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40811 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40812 [X/Open-based standards] (SIGTRAP): Likewise.
40813 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40814 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40815 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40816 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40817 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40820 2012-05-08 Ian Wienand <ianw@vmware.com>
40823 * time/tzset.c (__tzset_parse_tz): Update default rules for
40824 daylight time changes in the Energy Policy Act of 2005.
40826 2012-05-09 Andreas Jaeger <aj@suse.de>
40829 * elf/ldconfig.c (parse_conf): Change string to make clear that
40830 ldconfig only issued a warning if ld.so.conf does not exist.
40832 2012-05-08 David S. Miller <davem@davemloft.net>
40834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40835 movxtod instead of popping the value on the stack.
40837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40839 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40841 * config.h.in: Add HAVE_ARM_PCS_VFP.
40843 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
40846 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40847 checking but the checks are disabled for any reason.
40849 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40851 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40852 and ELF64_R_TYPE with ELFW(R_TYPE).
40854 2012-05-08 Joseph Myers <joseph@codesourcery.com>
40856 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40857 (ulimit): Likewise.
40859 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40860 (settimeofday): Likewise.
40862 2012-05-08 Mike Frysinger <vapier@gentoo.org>
40864 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40865 a struct th_u2 inside the union, and move tu_block/tu_code into
40866 a new th_u3 union of tu_block/tu_code inside of that. Move
40867 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40868 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40869 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40870 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40871 (th_stuff): Change to th_u1.tu_stuff.
40873 (th_msg): Change to th_u1.th_u2.tu_data.
40875 2012-05-07 David S. Miller <davem@davemloft.net>
40877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40880 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40881 (SETUP_PIC_REG): Use it.
40882 (SETUP_PIC_REG_LEAF): Use it.
40884 2012-05-07 Joseph Myers <joseph@codesourcery.com>
40888 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40890 (EXPL_FINITE): Likewise.
40891 (FLDLOG): Likewise.
40892 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40893 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40895 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40897 (EXPL_FINITE): Likewise.
40898 (FLDLOG): Likewise.
40899 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40900 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40902 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40903 test of -max_value argument for long double.
40904 * sysdeps/i386/fpu/libm-test-ulps: Update.
40905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40907 2012-05-06 David S. Miller <davem@davemloft.net>
40909 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40910 quad soft-float symbols whose references which are compiler
40912 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40914 2012-05-06 Joseph Myers <joseph@codesourcery.com>
40918 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40920 (EXPL_FINITE): Likewise.
40921 (FLDLOG): Likewise.
40924 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40925 Adjust comments for base varying.
40926 (__expl_finite): Change alias to EXPL_FINITE.
40927 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40929 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40930 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40931 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40932 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40933 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40935 (EXPL_FINITE): Likewise.
40936 (FLDLOG): Likewise.
40939 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40940 Adjust comments for base varying.
40941 (__expl_finite): Change alias to EXPL_FINITE.
40942 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40947 * math/libm-test.inc (check_float_internal): Correct ulp
40948 calculation for subnormal expected results.
40950 2012-05-06 Andreas Jaeger <aj@suse.de>
40952 * Makeconfig (+math-flags): New, set to -frounding-math.
40953 (+cflags): Add +math-flags so that all of glibc gets compiled with
40956 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40958 2012-05-05 Joseph Myers <joseph@codesourcery.com>
40960 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40966 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40967 (__ieee754_expl): Allow for and saturate large arguments.
40968 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40969 (u_threshold): Likewise.
40970 (__exp): Call __ieee754_exp before checking for overflow and
40972 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40973 (u_threshold): Likewise.
40974 (__expf): Call __ieee754_expf before checking for overflow and
40976 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40977 (u_threshold): Likewise.
40978 (__expl): Call __ieee754_expl before checking for overflow and
40980 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40981 (__ieee754_expl): Allow for and saturate large arguments.
40982 * math/libm-test.inc (exp_test): Add another test. Do not allow
40983 missing overflow exception on overflow.
40984 (expm1_test): Do not allow missing overflow exception on overflow.
40986 * sysdeps/i386/fpu/e_expl.c: Move to ...
40987 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40988 rather than using inline asm.
40989 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40990 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40991 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40993 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40996 (signal): Likewise.
41000 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41002 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41003 sysdeps/unix/common/syscalls.list.
41004 (fchmod): Likewise.
41005 (fchown): Likewise.
41006 (ftruncate): Likewise.
41007 (getrusage): Likewise.
41008 (gettimeofday): Likewise.
41009 (setpgid): Likewise.
41010 (setregid): Likewise.
41011 (setreuid): Likewise.
41012 (sigaction): Likewise.
41013 (truncate): Likewise.
41014 (vhangup): Likewise.
41015 * sysdeps/unix/common/syscalls.list: Remove file.
41016 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41017 * sysdeps/unix/sysv/linux/Implies: Likewise.
41019 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41021 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41023 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41027 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41030 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41033 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41036 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41039 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41042 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41045 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41049 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41053 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41056 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41060 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41064 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41066 * sysdeps/unix/common/bits/dirent.h: Remove file.
41067 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41069 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41070 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41071 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41072 * sysdeps/unix/bsd/isatty.c: Likewise.
41073 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41074 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41075 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41077 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41080 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41081 long double comparison inaccuracies.
41082 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41085 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41087 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41088 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41090 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41093 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41094 nonzero digits before rounding a hex value.
41095 * stdlib/tst-strtod.c (tests): Add another test.
41097 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41099 * sysdeps/s390/fpu/libm-test-ulps: Update.
41101 2012-05-03 Andreas Jaeger <aj@suse.de>
41103 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41104 does not get optimized out.
41105 (malloc_opt_barrier): New.
41107 2012-05-03 Andreas Jaeger <aj@suse.de>
41108 Roland McGrath <roland@hack.frob.com>
41110 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41111 intermediate file deletion.
41112 (generated): Add .symlist files.
41114 2012-05-03 Joseph Myers <joseph@codesourcery.com>
41117 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41118 Redirect under this condition.
41119 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41120 [__USE_GNU] (__dprintf_chk): Not under this condition.
41121 [__USE_GNU] (__vdprintf_chk): Likewise.
41122 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41123 under this condition.
41124 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41125 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41126 [__USE_XOPEN2K8] (vdprintf): Likewise.
41127 [__USE_GNU] (__dprintf_chk): Not under this condition.
41128 [__USE_GNU] (__vdprintf_chk): Likewise.
41129 [__USE_GNU] (dprintf): Likewise.
41130 [__USE_GNU] (vdprintf): Likewise.
41132 2012-05-03 Roland McGrath <roland@hack.frob.com>
41134 * elf/Makefile (common-generated): Set this instead of generated for
41135 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41136 $(all-built-dso)-derived lists.
41138 2012-05-03 Andreas Jaeger <aj@suse.de>
41140 * sysdeps/i386/fpu/libm-test-ulps: Update.
41143 * FAQ.in: Likewise.
41144 * scripts/gen-FAQ.pl: Likewise.
41145 * manual/install.texi (Installation): Point to online location of
41147 * Makefile (files-for-dist): Remove FAQ.
41150 2012-05-02 Allan McRae <allan@archlinux.org>
41152 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41153 (LDFLAGS-reldepmod5.so): Likewise.
41154 (LDFLAGS-reldep6mod1.so): Likewise.
41155 (LDFLAGS-reldep6mod4.so): Likewise.
41156 (LDFLAGS-reldep8mod3.so): Likewise.
41157 (LDFLAGS-unload4mod1.so): Likewise.
41158 (LDFLAGS-unload4mod2.so): Likewise.
41159 (LDFLAGS-tst-initorder): Likewise.
41160 (LDFLAGS-tst-initordera2.so): Likewise.
41161 (LDFLAGS-tst-initordera3.so): Likewise.
41162 (LDFLAGS-tst-initordera4.so): Likewise.
41163 (LDFLAGS-tst-initorderb2.so): Likewise.
41164 (LDFLAGS-noload): Likewise.
41165 (LDFLAGS-next): Likewise.
41166 (LDFLAGS-order2mod1.so): Likewise.
41167 (LDFLAGS-order2mod2.so): Likewise.
41168 (LDFLAGS-tst-initorder2): Likewise.
41169 (LDFLAGS-tst-initorder2a.so): Likewise.
41170 (LDFLAGS-tst-initorder2b.so): Likewise.
41171 (LDFLAGS-tst-initorder2c.so): Likewise.
41172 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41174 2012-05-02 David S. Miller <davem@davemloft.net>
41176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41178 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41181 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41183 2012-05-02 Andreas Jaeger <aj@suse.de>
41185 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41186 since we manipulate rounding mode.
41187 (CPPFLAGS-test-idouble.c): Likewise.
41188 (CPPFLAGS-test-ifloat.c): Likewise.
41189 (CFLAGS-test-ldouble.c): Likewise.
41190 (CFLAGS-test-double.c): Likewise.
41191 (CFLAGS-test-float.c): Likewise.
41192 (CFLAGS-test-misc.c): Likewise.
41193 (CFLAGS-test-test-fenv.c): Likewise.
41195 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41199 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41200 comparisons to determine direction to adjust input.
41202 2012-05-01 Roland McGrath <roland@hack.frob.com>
41204 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41205 output to the target.
41207 * scripts/localplt.awk: New file.
41208 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41209 (check-localplt-CFLAGS): Variable removed.
41210 ($(all-built-dso:=.jmprel)): New static pattern rule.
41211 (generated): Add those targets.
41212 (localplt-built-dso): New variable.
41213 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41215 * elf/check-localplt.c: File removed.
41217 * scripts/check-execstack.awk: New file.
41218 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41219 (check-execstack-CFLAGS): Variable removed.
41220 ($(objpfx)check-execstack.h): Target removed.
41221 ($(objpfx)execstack-default): New target.
41222 (generated): Add that instead of check-execstack.h.
41223 ($(all-built-dso:=.phdr)): New static pattern rule.
41224 (generated): Add those targets.
41225 * elf/check-execstack.c: File removed.
41227 * scripts/check-textrel.awk: New file.
41228 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41229 (check-textrel-CFLAGS): Variable removed.
41230 (all-built-dso): Use := to define.o
41231 ($(all-built-dso:=.dyn)): New static pattern rule.
41232 (generated): Add those targets.
41233 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41234 * config.make.in (READELF): New substituted variable.
41235 * elf/check-textrel.c: File removed.
41237 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41239 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41241 * conform/data/ctype.h-data [C99-based standards] (isblank):
41243 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41244 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41245 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41246 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41247 Specify type. Require positive value.
41248 (EILSEQ): Likewise.
41249 (ERANGE): Likewise.
41250 [ISO || POSIX] (EILSEQ): Do not expect.
41251 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41252 Specify type. Require positive value.
41253 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41254 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41255 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41256 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41257 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41258 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41259 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41260 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41261 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41262 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41263 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41264 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41265 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41266 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41267 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41268 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41269 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41270 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41271 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41272 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41273 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41274 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41275 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41276 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41277 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41278 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41279 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41280 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41281 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41282 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41283 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41284 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41285 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41286 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41287 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41288 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41289 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41290 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41291 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41292 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41293 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41294 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41295 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41296 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41297 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41298 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41299 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41300 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41301 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41302 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41303 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41304 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41305 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41306 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41307 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41308 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41309 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41310 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41311 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41312 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41313 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41314 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41315 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41316 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41317 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41318 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41319 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41320 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41321 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41322 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41323 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41324 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41325 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41326 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41327 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41328 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41329 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41331 (FLT_ROUNDS): Expect as macro, not constant.
41332 (FLT_MANT_DIG): Use macro-int-constant.
41333 (DBL_MANT_DIG): Likewise.
41334 (LDBL_MANT_DIG): Likewise.
41335 (FLT_DIG): Likewise.
41336 (DBL_DIG): Likewise.
41337 (LDBL_DIG): Likewise.
41338 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41339 (DBL_MIN_EXP): Likewise.
41340 (LDBL_MIN_EXP): Likewise.
41341 (FLT_MAX_EXP): Use macro-int-constant.
41342 (DBL_MAX_EXP): Likewise.
41343 (LDBL_MAX_EXP): Likewise.
41344 (FLT_MAX_10_EXP): Likewise.
41345 (DBL_MAX_10_EXP): Likewise.
41346 (LDBL_MAX_10_EXP): Likewise.
41347 (FLT_MAX): Use macro-constant.
41348 (DBL_MAX): Likewise.
41349 (LDBL_MAX): Likewise.
41350 (FLT_EPSILON): Use macro-constant. Give upper bound.
41351 (DBL_EPSILON): Likewise.
41352 (LDBL_EPSILON): Likewise.
41353 (FLT_MIN): Likewise.
41354 (DBL_MIN): Likewise.
41355 (LDBL_MIN): Likewise.
41356 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41357 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41358 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41359 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41360 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41361 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41362 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41363 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41364 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41365 [ISO11] (FLT_TRUE_MIN): Likewise.
41366 [ISO11] (LDBL_TRUE_MIN): Likewise.
41367 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41368 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41369 (SCHAR_MIN): Use macro-int-constant. Specify type.
41370 (SCHAR_MAX): Likewise.
41371 (UCHAR_MAX): Likewise.
41372 (CHAR_MIN): Likewise.
41373 (CHAR_MAX): Likewise.
41374 (MB_LEN_MAX): Use macro-int-constant.
41375 (SHRT_MIN): Use macro-int-constant. Specify type.
41376 (SHRT_MAX): Likewise.
41377 (USHRT_MAX): Likewise.
41378 (INT_MAX): Likewise.
41379 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41381 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41383 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41385 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41386 bound negative. Suffix upper bound with "L".
41387 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41389 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41391 [C99-based standards] (LLONG_MAX): Likewise.
41392 [C99-based standards] (ULLONG_MAX): Likewise.
41393 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41395 [ISO11] (max_align_t): Require type.
41396 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41398 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41399 from $CFLAGS, without defining away __attribute__ calls.
41400 (checknamespace): Use $CFLAGS_namespace.
41402 * conform/conformtest.pl (@keywords): Only include C99 keywords
41403 for standards based on C99 or C11.
41405 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41407 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41410 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41411 usability of symbols in #if.
41413 * conform/conformtest.pl: If macro or constant types start
41414 "promoted:", expect the symbol to be of the following type
41415 promoted by the integer promotions.
41417 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41418 in one place. Also handle "macro-constant".
41420 * conform/conformtest.pl: Only accept expected macro values with
41421 "==". Parse all "macro" lines in one place.
41422 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41424 * conform/conformtest.pl: Handle braced types on "constant" lines
41425 instead of handling "typed-constant".
41426 * conform/data/signal.h-data: Use "constant" instead of
41429 * conform/conformtest.pl: Handle "optional-" at start of lines in
41430 one place rather than duplicating several cases. Handle each
41431 format of "macro" line with initial "optional-".
41433 * conform/conformtest.pl: Only accept expected constant or
41434 optional-constant values with "==". Parse all "constant" lines in
41435 one place. Parse all "optional-constant" lines in one place.
41436 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41437 * conform/data/fmtmsg.h-data: Likewise.
41438 * conform/data/netinet/in.h-data: Likewise.
41439 * conform/data/tar.h-data: Likewise.
41440 * conform/data/limits.h-data: Use "==" form on "constant" and
41441 "optional-constant" lines.
41443 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41444 Use -std=c99 for XOPEN2K.
41445 (@knownproblems): Remove.
41446 (newtoken): Don't check %isknown.
41448 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41449 Do not expect macro.
41450 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41451 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41452 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41453 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41454 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41455 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41456 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41457 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41458 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41459 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41460 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41461 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41462 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41463 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41464 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41465 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41466 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41467 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41468 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41469 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41470 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41471 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41472 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41473 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41474 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41475 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41476 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41477 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41478 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41479 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41480 [XPG3] (acosh): Likewise.
41481 [XPG3] (asinh): Likewise.
41482 [XPG3] (atanh): Likewise.
41483 [XPG3] (cbrt): Likewise.
41484 [XPG3] (expm1): Likewise.
41485 [XPG3] (ilogb): Likewise.
41486 [XPG3] (log1p): Likewise.
41487 [XPG3] (logb): Likewise.
41488 [XPG3] (nextafter): Likewise.
41489 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41490 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41491 [XPG3] (remainder): Likewise.
41492 [XPG3] (rint): Likewise.
41493 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41494 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41495 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41496 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41497 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41498 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41499 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41500 [UNIX98 || XOPEN2K] (scalb): Expect.
41501 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41502 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41503 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41504 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41505 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41506 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41507 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41508 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41509 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41510 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41511 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41512 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41513 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41514 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41515 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41516 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41517 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41518 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41519 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41520 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41521 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41522 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41523 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41524 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41525 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41526 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41527 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41528 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41529 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41530 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41531 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41532 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41533 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41534 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41535 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41536 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41537 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41538 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41539 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41540 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41541 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41542 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41543 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41544 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41545 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41546 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41547 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41548 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41549 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41550 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41551 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41552 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41553 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41554 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41555 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41556 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41557 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41558 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41559 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41560 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41561 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41562 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41563 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41564 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41565 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41566 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41567 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41568 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41569 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41570 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41571 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41572 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41573 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41574 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41575 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41576 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41577 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41578 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41579 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41580 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41581 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41582 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41583 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41584 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41585 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41586 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41587 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41588 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41589 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41590 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41591 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41592 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41593 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41594 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41595 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41596 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41597 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41598 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41599 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41600 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41601 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41602 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41603 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41604 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41605 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41606 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41607 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41608 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41609 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41610 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41611 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41612 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41613 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41614 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41615 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41616 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41617 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41618 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41619 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41620 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41621 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41622 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41623 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41624 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41625 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41626 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41627 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41628 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41629 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41630 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41631 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41632 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41633 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41634 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41635 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41636 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41637 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41639 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41640 _XOPEN_SOURCE_EXTENDED for XPG4.
41642 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41644 * Makeconfig (localtime): Remove variable.
41645 (inst_localtime-file): Likewise.
41647 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41668 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41672 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41673 comparisons to determine direction to adjust input.
41674 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41675 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41676 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41678 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41680 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41682 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41683 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41685 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41687 * math/libm-test.inc (nexttoward_test): Add more tests.
41689 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41692 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41693 in version GLIBC_2.1, not GLIBC_2.0.
41694 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41697 2012-04-30 Joseph Myers <joseph@codesourcery.com>
41700 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41702 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41703 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41704 * math/libm-test.inc (acos_test): Add more tests.
41705 (asin_test): Likewise.
41706 * sysdeps/i386/fpu/libm-test-ulps: Update.
41707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41710 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41712 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41713 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41714 * math/libm-test.inc (acos_test_tonearest): New function.
41715 (acos_test_towardzero): Likewise.
41716 (acos_test_downward): Likewise.
41717 (acos_test_upward): Likewise.
41718 (asin_test_tonearest): Likewise.
41719 (asin_test_towardzero): Likewise.
41720 (asin_test_downward): Likewise.
41721 (asin_test_upward): Likewise.
41722 (main): Call the new functions.
41723 * sysdeps/i386/fpu/libm-test-ulps: Update.
41724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41728 * math/e_exp10.c: Include <float.h>.
41729 (__ieee754_exp10): Handle underflow here rather than multiplying
41730 large negative argument by M_LN10.
41731 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41733 * math/e_exp10l.c: Include <float.h>.
41734 (__ieee754_exp10l): Handle underflow here rather than multiplying
41735 large negative argument by M_LN10l.
41736 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41737 spurious overflow exception on underflow.
41739 2012-04-29 Marek Polacek <polacek@redhat.com>
41741 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41742 (__fortify_function): New macro.
41743 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41744 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41745 __extern_always_inline.
41746 * libio/bits/stdio2.h: Likewise.
41747 * libio/bits/stdio.h: Likewise.
41748 * string/string.h: Likewise.
41749 * string/bits/string3.h: Likewise.
41750 * include/stdio.h: Likewise.
41751 * stdlib/bits/stdlib.h: Likewise.
41752 * stdlib/stdlib.h: Likewise.
41753 * rt/bits/mqueue2.h: Likewise.
41754 * rt/mqueue.h: Likewise.
41755 * posix/bits/unistd.h: Likewise.
41756 * posix/unistd.h: Likewise.
41757 * io/bits/poll2.h: Likewise.
41758 * io/bits/fcntl2.h: Likewise.
41759 * io/fcntl.h: Likewise.
41760 * io/sys/poll.h: Likewise.
41761 * misc/bits/syslog.h: Likewise.
41762 * misc/bits/syslog-ldbl.h: Likewise.
41763 * misc/sys/syslog.h: Likewise.
41764 * socket/bits/socket2.h: Likewise.
41765 * socket/sys/socket.h: Likewise.
41766 * debug/tst-chk1.c: Likewise.
41767 * wcsmbs/bits/wchar2.h: Likewise.
41768 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41769 * wcsmbs/wchar.h: Likewise.
41771 2012-04-29 Andreas Jaeger <aj@suse.de>
41773 * Makerules (tests): Remove enable-check-abi protection.
41774 (check-abi-warn): Remove.
41775 (check-abi-%): Remove check-abi-warn usage.
41777 * configure.in: Remove check-abi configure option.
41778 * configure: Regenerated.
41779 * config.make.in (enable-check-abi): Remove.
41781 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41784 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41785 double functions to double *_finite functions.
41788 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41789 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41791 * stdio-common/Makefile (tests): Add tst-sprintf3.
41792 * stdio-common/tst-sprintf3.c: New file.
41794 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41795 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41797 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41799 * conform/conformtest.pl: Remove duplicate typed-constant
41802 2012-04-28 David S. Miller <davem@davemloft.net>
41804 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41805 (check-abi-%): Remove AWK script prerequisite and explicit
41807 (check-abi): Rewrite to just diff the symlist with the abilist.
41808 (config-tls, config-abi-config): Delete, no longer used.
41809 (update-abi-%): Remove AWK script and explicit abilist directory.
41810 (update-abi): Rewrite to simply compare and conditionally copy the
41811 symlist and the sysdep abilist file. Remove update-abi-config
41813 * abilist/ld.abilist: Remove.
41814 * abilist/libBrokenLocale.abilist: Remove.
41815 * abilist/libanl.abilist: Remove.
41816 * abilist/libcrypt.abilist: Remove.
41817 * abilist/libdl.abilist: Remove.
41818 * abilist/librt.abilist: Remove.
41819 * abilist/libthread_db.abilist: Remove.
41820 * abilist/libutil.abilist: Remove.
41821 * scripts/extract-abilist.awk: Remove.
41822 * scripts/merge-abilist.awk: Remove.
41823 * sysdeps/generic/libcidn.abilist: New file.
41824 * sysdeps/generic/libnss_compat.abilist: New file.
41825 * sysdeps/generic/libnss_db.abilist: New file.
41826 * sysdeps/generic/libnss_dns.abilist: New file.
41827 * sysdeps/generic/libnss_files.abilist: New file.
41828 * sysdeps/generic/libnss_hesiod.abilist: New file.
41829 * sysdeps/generic/libnss_nis.abilist: New file.
41830 * sysdeps/generic/libnss_nisplus.abilist: New file.
41831 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41832 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41833 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41835 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41836 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41837 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41838 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41839 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41840 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41841 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41842 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41843 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41845 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41846 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41847 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41848 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41850 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41851 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41852 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41853 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41854 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41855 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41857 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41858 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41859 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41861 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41964 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41965 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41966 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41969 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41970 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41971 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41972 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41973 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41974 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41975 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41976 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41977 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42029 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42031 * conform/conformtest.pl: Fix typo in handling typed-constant from
42034 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42036 * README: Cut down references to pre-2.6 Linux kernels and
42037 Linuxthreads. Update lists of configurations in libc and ports
42038 and sort alphabetically. Say "or newer" with Linux kernel version
42041 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42043 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42046 * math/libm-test.inc (logb_test_downward): New test to expose
42047 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42050 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42053 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42055 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42056 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42058 2012-04-26 Joseph Myers <joseph@codesourcery.com>
42060 * sysdeps/unix/i386/brk.S: Remove file.
42061 * sysdeps/unix/i386/dl-brk.S: Likewise.
42062 * sysdeps/unix/i386/pipe.S: Likewise.
42063 * sysdeps/unix/i386/sigreturn.S: Likewise.
42064 * sysdeps/unix/i386/syscall.S: Likewise.
42065 * sysdeps/unix/i386/vfork.S: Likewise.
42066 * sysdeps/unix/i386/wait.S: Likewise.
42068 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42069 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42071 * configure.in (arm*-none*): Do not allow without
42072 --enable-hacker-mode.
42073 (netbsd*): Remove case setting base_os.
42074 (386bsd*): Likewise.
42075 (freebsd*): Likewise.
42078 (sunos*): Likewise.
42079 (ultrix*): Likewise.
42080 (newsos*): Likewise.
42081 (dynix*): Likewise.
42087 (minix*): Likewise.
42088 (irix4*): Likewise.
42089 (irix6*): Likewise.
42090 (solaris[2-9]*): Likewise.
42092 * configure: Regenerated.
42094 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42097 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42098 overflow or cancellation in calculating denominator.
42099 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42100 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42101 down expression to avoid unexpected rounding in newer GCCs.
42102 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42104 2012-04-26 David S. Miller <davem@davemloft.net>
42106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42107 long-double compat symbols.
42108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42122 2012-04-25 David S. Miller <davem@davemloft.net>
42124 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42125 HWCAP_* values only after the memory barriers have been defined.
42126 (atomic_full_barrier): Define.
42127 (atomic_read_barrier): Define.
42128 (atomic_write_barrier): Define.
42130 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42132 * shlib-versions: Add libgcc_s version information.
42133 * sysdeps/generic/libgcc_s.h: Remove.
42134 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42136 * sysdeps/gnu/unwind-resume.c: Likewise.
42137 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42139 2012-04-25 David S. Miller <davem@davemloft.net>
42141 * sysdeps/unix/sparc/brk.S: Delete.
42142 * sysdeps/unix/sparc/dl-brk.S: Delete.
42143 * sysdeps/unix/sparc/pipe.S: Delete.
42144 * sysdeps/unix/sparc/sysdep.S: Delete.
42145 * sysdeps/unix/sparc/sysdep.h: Delete.
42146 * sysdeps/unix/sparc/vfork.S: Delete.
42147 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42148 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42149 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42150 (ret_ERRVAL, r0, r1, MOVE): Define.
42151 (JUMPTARGET): Remove.
42152 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42153 sysdeps/unix/sparc/sysdep.h
42154 (ENTRY, END): Remove.
42155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42157 2012-04-25 Joseph Myers <joseph@codesourcery.com>
42159 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42160 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42163 * timezone/README: Update upstream location and email address for
42165 * timezone/zdump.c: Update from tzcode 2012b.
42166 * timezone/zic.c: Likewise.
42168 * configure.in (libc_cv_as_needed): Remove test.
42169 * configure: Regenerated.
42170 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42171 conditional definition.
42172 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42173 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42174 * config.make.in (have-as-needed): Remove variable.
42176 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42177 Paul Pluzhnikov <ppluzhnikov@google.com>
42179 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42182 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42184 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42185 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42186 * sysdeps/sh/strlen.S: Likewise.
42188 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42190 * sysdeps/unix/fork.S: Remove file.
42191 * sysdeps/unix/i386/fork.S: Likewise.
42192 * sysdeps/unix/sparc/fork.S: Likewise.
42194 * sysdeps/unix/system.c: Remove file.
42195 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42197 * sysdeps/unix/getegid.S: Remove file.
42198 * sysdeps/unix/geteuid.S: Likewise.
42200 2012-04-24 Roland McGrath <roland@hack.frob.com>
42202 * scripts/check-localplt.awk: New file.
42203 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42205 * scripts/data/localplt-generic.data: Add a comment.
42207 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42208 NODE when __dir_mkfile failed.
42209 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42210 Reported by Ludovic Courtès <ludo@gnu.org>.
42212 2012-04-24 Andreas Jaeger <aj@suse.de>
42214 * Makerules (common-clean): Also remove gen-as-const-headers
42217 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42219 * Makerules (native-compile): Do not change working directory for
42220 build. Use $(OUTPUT_OPTION) in command.
42221 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42223 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42226 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42227 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42228 * math/libm-test.inc (floor_test): Add more tests.
42229 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42231 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42233 * sysdeps/unix/getdents.c: Remove file.
42234 * sysdeps/unix/sysv/getdents.c: Likewise.
42235 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42237 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42238 sysdeps/unix/mman/syscalls.list.
42240 (mprotect): Likewise.
42242 (munmap): Likewise.
42243 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42244 * sysdeps/unix/mman/syscalls.list: Remove.
42245 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42247 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42248 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42249 * configure: Regenerated.
42250 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42251 $(libgcc_s_suffix).
42252 * config.make.in (libgcc_s_suffix): Remove variable.
42254 2012-04-23 Joseph Myers <joseph@codesourcery.com>
42256 * sysdeps/unix/sysv/gethostname.c: Move to ...
42257 * sysdeps/posix/gethostname.c: ... here.
42259 * sysdeps/unix/execve.S: Remove file.
42261 * sysdeps/unix/_exit.S: Remove file.
42263 2012-04-23 Andreas Jaeger <aj@suse.de>
42266 * manual/Makefile: Remove make dist support, there's no
42267 need for a stand-alone documentation tar ball.
42268 (TEXI2DVI): Define always, it's not in Makeconfig.
42271 (edition): Removed.
42272 (glibc-doc-$(edition).tar): Removed
42276 (ETAGS): Remove, it's in Makeconfig.
42277 (move-if-change): Remove, it's in Makeconfig.
42279 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
42282 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42283 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42284 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42285 (strtod_l, strtof_l, strtold_l): Remove __wur.
42286 It is not necessarily an error to ignore strtol's return value.
42287 One can reliably look at the stored endptr to decide whether
42288 the number had valid syntax.
42290 2012-04-21 Andreas Jaeger <aj@suse.de>
42293 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42295 2012-04-21 Joseph Myers <joseph@codesourcery.com>
42297 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42298 * sysdeps/unix/sysv/Versions: Remove file.
42300 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42305 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
42308 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42309 version from __vm86.
42311 2012-04-20 Joseph Myers <joseph@codesourcery.com>
42313 * sysdeps/unix/common/lxstat.c: Remove file.
42314 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42316 * sysdeps/unix/sysv/Makefile: Remove file.
42318 * sysdeps/unix/sysv/direct.h: Remove file.
42320 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42321 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42322 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42323 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42324 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42325 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42326 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42328 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42330 * sysdeps/unix/xmknod.c: Remove file.
42331 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42333 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42335 * sysdeps/unix/sysv/i386/time.S: Remove file.
42337 * sysdeps/unix/fxstat.c: Remove file.
42338 * sysdeps/unix/xstat.c: Likewise.
42339 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42341 * sysdeps/unix/sysv/sigaction.c: Remove file.
42343 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42344 (sysdep_headers): Remove variable.
42345 [termio.h not in sysdep_headers] (generated): Likewise.
42346 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42347 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42348 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42349 * sysdeps/unix/sysv/tcflow.c: Likewise.
42350 * sysdeps/unix/sysv/tcflush.c: Likewise.
42351 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42352 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42353 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42354 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42355 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42357 * sysdeps/unix/siglist.c: Remove file.
42359 * sysdeps/unix/getppid.S: Remove file.
42361 * sysdeps/unix/mkdir.c: Remove file.
42362 * sysdeps/unix/rmdir.c: Likewise.
42364 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42366 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42368 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42369 errlist-compat value.
42371 2012-04-18 David S. Miller <davem@davemloft.net>
42373 * sysdeps/generic/memcopy.h (reg_char): Delete.
42374 * debug/strcat_chk.c: Use char, not reg_char.
42375 * debug/strcpy_chk.c: Likewise.
42376 * debug/strncat_chk.c: Likewise.
42377 * debug/strncpy_chk.c: Likewise.
42378 * string/memchr.c: Likewise.
42379 * string/memrchr.c: Likewise.
42380 * string/rawmemchr.c: Likewise.
42381 * string/strcat.c: Likewise.
42382 * string/strchr.c: Likewise.
42383 * string/strchrnul.c: Likewise.
42384 * string/strcmp.c: Likewise.
42385 * string/strcpy.c: Likewise.
42386 * string/strncat.c: Likewise.
42387 * string/strncmp.c: Likewise.
42388 * string/strncpy.c: Likewise.
42390 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42392 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42393 __builtin_memcopy is called when src and dest ranges are known to not
42396 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42398 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42399 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42400 fwd_align_merge macro call.
42401 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42402 bwd_align_merge macro call.
42403 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42405 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42407 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42408 bwd_align_merge macros.
42409 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42410 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42411 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42413 2012-04-18 David S. Miller <davem@davemloft.net>
42415 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42417 2012-04-18 Andreas Jaeger <aj@suse.de>
42420 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42421 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42422 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42424 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42425 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42426 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42428 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42429 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42430 Adjust for changed ldbl-128 files.
42432 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42433 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42434 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42436 2012-04-17 David S. Miller <davem@davemloft.net>
42438 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42440 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42442 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42443 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42444 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42445 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42446 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42447 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42449 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42452 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42453 * math/libm-test.inc: Add ilogb errno and exception tests.
42454 * math/w_ilogb.c: New file: ilogb wrapper.
42455 * math/w_ilogbf.c: New file: ilogbf wrapper.
42456 * math/w_ilogbl.c: New file: ilogbl wrapper.
42457 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42458 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42459 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42460 exception being thrown with 0.0 as argument.
42461 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42462 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42463 exception being thrown with 0.0 as argument.
42464 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42465 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42466 exception being thrown with 0.0 as argument.
42467 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42468 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42469 exception being thrown with 0.0 as argument.
42470 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42471 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42472 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42473 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42474 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42475 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42476 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42477 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42478 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42480 2012-04-17 Petr Baudis <pasky@ucw.cz>
42482 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42485 2012-04-16 Marek Polacek <polacek@redhat.com>
42487 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42489 2012-04-16 Marek Polacek <polacek@redhat.com>
42491 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42492 operands of fdivp instruction.
42494 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42496 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42497 * elf/tst-auditmod3b.c: Likewise.
42498 * elf/tst-auditmod4b.c: Likewise.
42499 * elf/tst-auditmod5b.c: Likewise.
42500 * elf/tst-auditmod6b.c: Likewise.
42501 * elf/tst-auditmod6c.c: Likewise.
42502 * elf/tst-auditmod7b.c: Likewise.
42503 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42504 * sysdeps/x86_64/preconfigure.in: Likewise.
42505 * sysdeps/x86_64/preconfigure: Regenerated.
42507 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42509 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42512 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
42514 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42515 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42517 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42520 * locale/iso-639.def: Fix gl language name. Spotted by
42523 2012-04-12 Roland McGrath <roland@hack.frob.com>
42526 * libio/libio.h (__io_write_fn): Update comment.
42528 2012-04-12 Petr Baudis <pasky@ucw.cz>
42531 * stdio.texi (Hook Functions): The user provided writer function
42532 is not allowed to return -1.
42534 2012-04-11 David S. Miller <davem@davemloft.net>
42536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42538 2012-04-11 Mike Frysinger <vapier@gentoo.org>
42540 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42541 Add a leading slash to rtkaio.
42543 2012-04-11 Jim Meyering <meyering@redhat.com>
42546 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42547 It is not necessarily an error to ignore fwrite's return
42548 value. One can reliably use ferror to test for errors after
42551 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42553 * bits/types.h (__snseconds_t): New type.
42554 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42556 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42557 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42558 (__SNSECONDS_T_TYPE): Likewise.
42559 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42560 (__SNSECONDS_T_TYPE): Likewise.
42561 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42562 (__SNSECONDS_T_TYPE): Likewise.
42564 2012-04-10 Andreas Jaeger <aj@suse.de>
42567 * manual/time.texi (Processor Time): Return type of times is
42568 elapsed real time since an arbitrary point in the past.
42569 (CPU Time): Move CLK_TCK from here...
42570 (Processor Time): ...to here. Correct description.
42571 * manual/conf.texi (Constants for Sysconf): Correct description of
42574 2012-04-10 David S. Miller <davem@davemloft.net>
42577 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42578 where the is a gap between DT_REL(A) and DT_JMPREL.
42580 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42582 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42583 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42584 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42586 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42588 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42589 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42590 (dl_main): Handle --inhibit-cache.
42591 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42593 * elf/dl-load.c (_dl_map_object): Use it.
42594 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42596 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42599 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42600 (__ieee754_powl): Saturate large exponents rather than testing for
42601 overflow of y*log2(x).
42602 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42603 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42607 * math/s_ctan.c: Include <float.h>.
42608 (__ctan): Avoid internal overflow or cancellation in calculating
42610 * math/s_ctanf.c: Likewise.
42611 * math/s_ctanl.c: Likewise.
42612 * math/s_ctanh.c: Likewise.
42613 * math/s_ctanhf.c: Likewise.
42614 * math/s_ctanhl.c: Likewise.
42615 * math/libm-test.inc (ctan_test): Add more tests.
42616 (ctanh_test): Likewise.
42617 * sysdeps/i386/fpu/libm-test-ulps: Update.
42618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42620 2012-04-09 Andreas Jaeger <aj@suse.de>
42623 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42624 is an optional BSD extension.
42627 * manual/stdio.texi (Opening Streams): Document additional fopen
42630 2012-04-09 Roland McGrath <roland@hack.frob.com>
42632 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42633 %eax without telling the compiler.
42635 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42638 * manual/install.texi: Use sourceware.org.
42640 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42643 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42644 (__ieee754_pow): Generate overflow and underflow using huge*huge
42645 and tiny*tiny rather than just returning constant infinity or zero
42646 for large exponents.
42647 * math/libm-test.inc (pow_test): Require overflow exceptions for
42648 applicable cases of large exponents.
42651 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42652 (__ieee754_pow): Use iterative multiplication algorithm only for
42653 integer exponents with absolute value below 1024. Check for odd
42654 integer exponents when using algorithm for real exponents.
42655 * math/libm-test.inc (pow_test): Add more tests.
42656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42658 2012-04-08 Joseph Myers <joseph@codesourcery.com>
42661 * math/libm-test.inc (exp_test): Do not allow overflow exception
42664 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42667 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42668 instead of __kernel_standard_f.
42670 2012-04-08 Mike Frysinger <vapier@gentoo.org>
42672 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42673 * sysdeps/x86_64/memset_chk.S: Likewise.
42675 2012-04-08 Andreas Jaeger <aj@suse.de>
42678 * manual/startup.texi (Environment Access): Describe return value
42679 for putenv and setenv.
42682 * manual/filesys.texi (Directory Entries): Add description for
42686 * manual/filesys.texi (Directory Entries): Clarify that it's file
42687 system not operating system in the description of DT_UNKNOWN.
42690 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42692 2012-04-08 Stephen Compall <s11@member.fsf.org>
42695 * manual/llio.texi (Opening and Closing Files): Add cross
42696 reference to explain mode argument.
42698 2012-04-07 Mike Frysinger <vapier@gentoo.org>
42700 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42701 * sysdeps/x86_64/memset_chk.S: Likewise.
42703 2012-04-07 David S. Miller <davem@davemloft.net>
42705 * elf/elf.h (R_SPARC_WDISP10): Define.
42706 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42708 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42709 R_SPARC_SIZE64 and R_SPARC_H34.
42711 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42713 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42714 conditions and remove no longer applicable assertion.
42716 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42718 * bits/byteswap.h: Include <features.h>.
42719 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42720 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42722 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42724 * bits/byteswap.h (__bswap_16): Removed.
42725 Include <bits/byteswap-16.h> to get __bswap_16.
42726 * sysdeps/i386/bits/byteswap.h: Likewise.
42727 * sysdeps/s390/bits/byteswap.h: Likewise.
42728 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42729 * bits/byteswap-16.h: New file.
42730 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42731 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42732 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42733 * string/Makefile (headers): Add bits/byteswap-16.h.
42735 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42738 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42740 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42741 * nss/tst-nss-static.c: New.
42743 2012-04-06 Robert Millan <rmh@gnu.org>
42746 * manual/llio.texi (File Position Primitive): lseek
42747 refers to WHENCE when it really means OFFSET.
42749 2012-04-06 Andreas Jaeger <aj@suse.de>
42751 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42752 strncmp declarations.
42754 * abilist/libc.abilist: Add __poll and __ppoll.
42756 2012-04-05 David S. Miller <davem@davemloft.net>
42758 * scripts/check-local-headers.sh: Accept a host triplet in the
42759 path matched by the exclude regexp.
42761 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42763 * sysdeps/powerpc/powerpc32/dl-machine.h
42764 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42765 * sysdeps/s390/s390-32/dl-machine.h
42766 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42767 * sysdeps/sparc/sparc32/dl-machine.h
42768 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42769 * sysdeps/sparc/sparc64/dl-machine.h
42770 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42772 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42774 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42775 undefined symbol errors.
42777 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42780 2012-04-05 Michael Matz <matz@suse.de>
42783 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42785 2012-04-05 Andreas Jaeger <aj@suse.de>
42788 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42791 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42793 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42794 which ROUND is no valid rounding mode.
42796 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42798 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42800 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42802 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42804 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42805 an exception using FPU order intentionally.
42807 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42809 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42810 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42811 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42812 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42814 2012-04-05 Simon Josefsson <simon@josefsson.org>
42817 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42818 EINVAL when BUFLEN is too smal.
42820 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42823 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42824 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42826 2012-04-03 Andreas Jaeger <aj@suse.de>
42829 * manual/setjmp.texi (System V contexts): Fix sentence.
42832 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42833 New macro for this case.
42834 [!__GNUC__] (__bswap_64): New inline function for this case.
42835 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42836 * bits/byteswap.h: Likewise.
42837 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42838 ull, guard with __GLIBC_HAVE_LONG_LONG.
42840 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42841 __GLIBC_HAVE_LONG_LONG.
42843 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42844 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42846 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42849 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42850 inptr and inend, rather than using last_ch.
42852 2012-04-02 David S. Miller <davem@davemloft.net>
42854 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42855 * stdio-common/printf-parse.h (read_int): Change return type to
42856 'int', return -1 on INT_MAX overflow.
42857 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42858 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42859 overflows INT_MAX. Check for overflow of in-format-string precision
42860 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42861 SIZE_MAX not INT_MAX for integer overflow test.
42862 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42863 skip the construct in the format string but do not record anything.
42864 * stdio-common/bug22.c: Adjust to test both width/prevision
42865 INT_MAX overflow as well as total length INT_MAX overflow. Check
42866 explicitly for proper errno values.
42868 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42870 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42872 * string/test-strcmp.c [! WIDE]: Likewise.
42873 * time/tst-mktime2.c: Likewise for INT_MAX.
42874 * string/test-string.h: #include <sys/param.h> for MIN.
42876 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42877 * sysdeps/i386/init-first.c (init): Likewise.
42878 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42879 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42880 * sysdeps/sh/init-first.c (init): Likewise.
42882 2012-04-01 Ulrich Drepper <drepper@gmail.com>
42884 * po/ru.po: Update from translation team.
42885 * po/vi.po: Likewise.
42887 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42889 * resolv/nss_dns/dns-host.c: Merge copyright years.
42891 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42893 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42894 Optimize memcpy with prefetch if
42895 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42896 src, dst pointers have unequal 16 byte alignments.
42898 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42901 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42902 from a CNAME entry and return the minimum ttl for the query.
42903 (gaih_getanswer_slice): Likewise.
42905 2012-03-30 Jeff Law <law@redhat.com>
42907 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42909 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42910 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42912 * resolv/nss_dns/dns-host.c: Update copyright year.
42914 2012-03-30 Ulrich Drepper <drepper@gmail.com>
42916 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42917 requests to save a system call. Fix check that all bytes are sent.
42919 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42920 comments for sendmmsg.
42922 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42925 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42926 with only 1 character between 0x0041 and 0x01b0.
42927 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42928 * wcsmbs/tst-mbsnrtowcs.c: New file.
42930 2012-03-29 David S. Miller <davem@davemloft.net>
42932 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42933 small copies by hand.
42935 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42938 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42939 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42942 2012-03-28 David S. Miller <davem@davemloft.net>
42944 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42945 that branches into memcpy.
42946 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42947 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42948 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42949 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42950 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42952 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42953 implementation too.
42954 * sysdeps/sparc/mempcpy.S: New file.
42956 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42957 the IFUNC routine in the libc case.
42958 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42960 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42961 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42962 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42963 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42964 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42965 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42966 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42967 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42969 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42970 loop to 256 bytes instead of 64 bytes and fix test signedness.
42972 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42973 * sysdeps/sparc/sparc32/Makefile: rather than here...
42974 * sysdeps/sparc/sparc64/Makefile: and here.
42976 2012-03-28 Ulrich Drepper <drepper@gmail.com>
42978 * malloc/mallocbug.c: Avoid warnings about unused variables.
42980 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42983 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42984 in the right place. Discard and retry query if response is
42985 larger than input buffer size.
42987 2012-03-28 Joseph Myers <joseph@codesourcery.com>
42992 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42993 x for large integer exponent.
42994 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42995 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42996 sign of result as needed afterwards.
42997 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42998 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42999 result for underflowing pow the same as for overflow.
43000 (__kernel_standard_l): Handle powl overflow and underflow here
43001 rather than calling __kernel_standard.
43002 * math/libm-test.inc (pow_test): Add more tests.
43017 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43018 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43019 (__kernel_standard_l): New function.
43020 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43022 * math/w_acosl.c (__acosl): Likewise.
43023 * math/w_asinl.c (__asinl): Likewise.
43024 * math/w_atan2l.c (__atan2l): Likewise.
43025 * math/w_atanhl.c (__atanhl): Likewise.
43026 * math/w_coshl.c (__coshl): Likewise.
43027 * math/w_exp10l.c (__exp10l): Likewise.
43028 * math/w_exp2l.c (__exp2l): Likewise.
43029 * math/w_fmodl.c (__fmodl): Likewise.
43030 * math/w_hypotl.c (__hypotl): Likewise.
43031 * math/w_j0l.c (__j0l, __y0l): Likewise.
43032 * math/w_j1l.c (__j1l, __y1l): Likewise.
43033 * math/w_jnl.c (__jnl, __ynl): Likewise.
43034 * math/w_lgammal.c (__lgammal): Likewise.
43035 * math/w_log10l.c (__log10l): Likewise.
43036 * math/w_log2l.c (__log2l): Likewise.
43037 * math/w_logl.c (__logl): Likewise.
43038 * math/w_powl.c (__powl): Likewise.
43039 * math/w_remainderl.c (__remainderl): Likewise.
43040 * math/w_scalbl.c (sysv_scalbl): Likewise.
43041 * math/w_sinhl.c (__sinhl): Likewise.
43042 * math/w_sqrtl.c (__sqrtl): Likewise.
43043 * math/w_tgammal.c (__tgammal): Likewise.
43044 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43045 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43046 * math/libm-test.inc (acos_test): Add more tests.
43047 (acosh_test): Likewise.
43048 (asin_test): Likewise.
43049 (atanh_test): Likewise.
43050 (exp_test): Likewise.
43051 (exp10_test): Likewise.
43052 (exp2_test): Likewise.
43053 (expm1_test): Likewise.
43054 (lgamma_test): Likewise.
43055 (log_test): Likewise.
43056 (log10_test): Likewise.
43057 (log1p_test): Likewise.
43058 (log2_test): Likewise.
43059 (pow_test): Do not allow some spurious overflow exceptions.
43060 (sqrt_test): Add more tests.
43061 (tgamma_test): Likewise.
43062 (y0_test): Likewise.
43063 (y1_test): Likewise.
43064 (yn_test): Likewise.
43066 2012-03-27 Anton Blanchard <anton@samba.org>
43068 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43070 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43071 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43072 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43074 2012-03-27 David S. Miller <davem@davemloft.net>
43076 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43078 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43079 have-as-vis3 check.
43081 2012-03-27 Andreas Jaeger <aj@suse.de>
43083 * sysdeps/x86_64/elf/configure.in: Moved to ...
43084 * sysdeps/x86_64/configure.in: ... here.
43085 * sysdeps/x86_64/elf/start.S: Moved to ...
43086 * sysdeps/x86_64/start.S: ... here.
43087 * sysdeps/x86_64/elf/configure: Delete.
43089 * sysdeps/x86_64/configure.in: Merge contents from
43090 sysdeps/i386/configure.in (without i686 check).
43092 * sysdeps/i386/elf/Versions: Merge into ...
43093 * sysdeps/i386/Versions: ... this.
43094 * sysdeps/i386/elf/Versions: Delete file.
43095 * sysdeps/i386/elf/start.S: Moved to ...
43096 * sysdeps/i386/start.S: ...here.
43097 * sysdeps/i386/elf/configure.in: Merge into...
43098 * sysdeps/i386/configure.in: ...here.
43099 * sysdeps/i386/elf/configure.in: Delete file.
43100 * sysdeps/i386/elf/configure: Delete file.
43102 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43103 * debug/backtracesyms.c: ... here.
43104 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43105 * debug/backtracesymsfd.c: ... here.
43106 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43107 * sysdeps/generic/ifunc-sel.h: ... here.
43109 * sysdeps/unix/i386/start.c: Delete file.
43110 * sysdeps/unix/sparc/start.c: Delete file.
43111 * sysdeps/unix/start.c: Delete file.
43113 * sysdeps/sh/elf/configure.in: Moved to ...
43114 * sysdeps/sh/configure.in: ... here.
43115 * sysdeps/sh/elf/start.S: Moved to ...
43116 * sysdeps/sh/start.S: ... here.
43117 * sysdeps/sh/elf/configure: Delete file.
43119 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43120 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43121 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43122 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43123 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43124 * sysdeps/powerpc/powerpc64/start.S: here.
43125 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43126 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43127 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43128 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43129 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43131 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43132 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43133 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43134 * sysdeps/powerpc/powerpc32/start.S: ... here.
43135 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43136 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43137 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43139 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43140 * sysdeps/powerpc/ifunc-sel.h: ... here.
43141 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43142 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43144 * sysdeps/sparc/elf/configure.in: Moved to ...
43145 * sysdeps/sparc/configure.in: ... here.
43146 * sysdeps/sparc/elf/configure: Delete file.
43147 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43148 * sysdeps/sparc/sparc32/start.S: ... here.
43149 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43150 * sysdeps/sparc/sparc64/start.S: ... here.
43151 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43152 * sysdeps/sparc/sparc32/Makefile: ... this.
43153 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43154 * sysdeps/sparc/sparc64/Makefile: ... this.
43156 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43157 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43158 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43159 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43160 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43161 * sysdeps/s390/s390-32/setjmp.S: ... here.
43162 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43163 * sysdeps/s390/s390-32/configure.in: ... here.
43164 * sysdeps/s390/s390-32/elf/configure: Delete file.
43165 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43166 * sysdeps/s390/s390-32/start.S: ... here.
43168 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43169 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43170 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43171 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43172 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43173 * sysdeps/s390/s390-64/setjmp.S: ... here.
43174 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43175 * sysdeps/s390/s390-64/configure.in: ... here
43176 * sysdeps/s390/s390-64/elf/configure: Delete file.
43177 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43178 * sysdeps/s390/s390-64/start.S: ... here.
43179 * sysdeps/s390/s390-64/elf/configure: Delete.
43181 * configure.in: Remove support for elf directories in sysdeps.
43183 * configure: Regenerated.
43184 * sysdeps/i386/configure: Regenerated.
43185 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43186 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43187 * sysdeps/s390/s390-32/configure: Regenerated.
43188 * sysdeps/s390/s390-64/configure: Regenerated.
43189 * sysdeps/sh/configure: Regenerated.
43190 * sysdeps/sparc/configure: Regenerated.
43191 * sysdeps/x86_64/configure: Regenerated.
43193 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43197 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43198 denormal result into account.
43200 2012-03-25 Roland McGrath <roland@hack.frob.com>
43202 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43203 Reported by Allan McRae <allan@archlinux.org>.
43205 2012-03-23 Jeff Law <law@redhat.com>
43207 * nss/getnssent.c (__nss_getent): Fix typo.
43209 2012-03-23 David S. Miller <davem@davemloft.net>
43211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43213 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43215 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43216 to pad to uint64_t for each field.
43217 (dl_tls_index): Replace unsigned long with uint64_t.
43219 2012-03-23 Daniel Jacobowitz <dmj@google.com>
43220 Paul Pluzhnikov <ppluzhnikov@google.com>
43223 * grp/Makefile (otherlibs): Don't set it.
43224 * inet/Makefile (otherlibs): Likewise.
43225 * login/Makefile (otherlibs): Likewise.
43226 * nscd/Makefile (otherlibs): Likewise.
43227 * posix/Makefile (otherlibs): Likewise.
43228 * pwd/Makefile (otherlibs): Likewise.
43229 * rt/Makefile (otherlibs): Likewise.
43230 * sunrpc/Makefile (otherlibs): Likewise.
43231 * nss/Makefile (otherlibs): Likewise.
43232 Add libnss_files to routines and static-only-routines.
43233 ($(objpfx)getent): Remove rule.
43234 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43235 static-only-routines.
43237 2012-03-22 Joseph Myers <joseph@codesourcery.com>
43240 * math/s_cexp.c: Include <float.h>.
43241 (__cexp): Handle exp result overflowing not necessarily
43242 overflowing both real and imaginary parts of result.
43243 * math/s_cexpf.c: Likewise.
43244 * math/s_cexpl.c: Likewise.
43245 * math/libm-test.inc (cexp_test): Add more tests.
43246 * sysdeps/i386/fpu/libm-test-ulps: Update.
43247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43249 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43251 * include/link.h (ELFW): New macro.
43252 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43253 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43255 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43257 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43260 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43262 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43264 (struct La_x32_retval): Likewise.
43266 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43268 * sysdeps/x86_64/preconfigure.in: New file.
43269 * sysdeps/x86_64/preconfigure: New generated file.
43271 2012-03-22 Joseph Myers <joseph@codesourcery.com>
43274 * math/e_exp2l.c: Include <float.h>.
43275 (__ieee754_exp2l): Handle overflow and underflow cases
43276 separately. Only pass fractional part of argument to
43278 * math/libm-test.inc (exp2_test): Add more tests.
43280 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43281 negating x to take absolute value.
43282 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43284 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43285 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43287 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43288 computing low part if x was negated.
43289 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43291 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43293 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43294 la_x32_gnu_pltexit.
43295 (pltexit): Cast int_retval to ptrdiff_t.
43296 * elf/tst-auditmod3b.c: Likewise.
43297 * elf/tst-auditmod4b.c: Likewise.
43298 * elf/tst-auditmod5b.c: Likewise.
43299 * elf/tst-auditmod6b.c: Likewise.
43300 * elf/tst-auditmod6c.c: Likewise.
43301 * elf/tst-auditmod7b.c: Likewise.
43303 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43304 and x32_gnu_pltexit.
43306 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43307 __ELF_NATIVE_CLASS.
43308 (La_x32_regs): New macro.
43309 (La_x32_retval): Likewise.
43310 (la_x32_gnu_pltenter): New function prototype.
43311 (la_x32_gnu_pltexit): Likewise.
43313 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43315 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43320 * configure.in (libc_cv_cc_nofma): Check for option to disable
43321 generation of FMA instructions.
43322 * configure: Regenerate.
43323 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43324 * sysdeps/ieee754/dbl-64/Makefile: New file.
43325 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43326 Remove brandred-fma4.
43327 (CFLAGS-brandred-fma4.c): Remove.
43328 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43329 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43331 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43334 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43336 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43337 LLONG_MAX != LONG_MAX.
43338 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43339 (_fitoa_word): Likewise.
43340 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43341 LLONG_MAX != LONG_MAX.
43342 * stdio-common/_itowa.h: Include <_itoa.h>.
43343 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43344 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43345 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43346 only if not defined.
43347 (_ITOA_WORD_TYPE): Likewise.
43348 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43349 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43351 2012-03-21 David S. Miller <davem@davemloft.net>
43353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43355 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43357 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43358 of x86_64 when setting libc_cv_slibdir, libdir and
43360 * sysdeps/unix/sysv/linux/configure: Regenerated.
43362 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43364 * manual/lang.texi (Old Varargs): Remove section.
43365 (How Variadic): Update menu.
43366 (va_start): Do not mention varargs.h.
43368 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43369 Joseph Myers <joseph@codesourcery.com>
43371 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43373 * configure: Regenerated.
43375 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43377 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43378 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43381 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43384 * Makefile (files-for-dist): Remove NOTES.
43385 (NOTES): Remove rule.
43386 * README: Don't refer to NOTES.
43387 * manual/creature.texi: Don't include macros.texi.
43388 * manual/intro.texi (creature.texi): Remove comment referring to
43391 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43392 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43393 * configure: Regenerated.
43394 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43395 LIBC_TRY_CC_OPTION.
43396 (libc_cv_as_i686): Likewise.
43397 (libc_cv_cc_avx): Likewise.
43398 (libc_cv_cc_sse2avx): Likewise.
43399 (libc_cv_cc_fma4): Likewise.
43400 (libc_cv_cc_novzeroupper): Likewise.
43401 * sysdeps/i386/configure: Regenerated.
43404 * sysdeps/i386/fpu/s_cexp.S: Remove.
43405 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43406 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43407 * math/libm-test.inc (cexp_test): Add more tests.
43408 * sysdeps/i386/fpu/libm-test-ulps: Update.
43409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43411 2012-03-21 Allan McRae <allan@archlinux.org>
43413 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43415 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43418 * math/w_exp2.c: Do not include <float.h>.
43419 (o_threshold, u_threshold): Remove.
43420 (__exp2): Calculate result before checking finiteness and calling
43422 * math/w_exp2f.c: Likewise.
43423 * math/w_exp2l.c: Likewise.
43424 * math/libm-test.inc (exp2_test): Require overflow exception for
43428 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43429 range of signed 64-bit integers before using fistpll. Remove
43430 checks for whether integers fit in mantissa bits.
43431 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43432 the range of signed 32-bit integers before using fistpl. Remove
43433 checks for whether integers fit in mantissa bits.
43434 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43435 (__ieee754_powl): Test for y outside the range of signed 64-bit
43436 integers before using fistpll. Reduce 64-bit values to 63-bit
43438 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43439 divide-by-zero is raised for zero to large negative powers.
43440 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43441 (__ieee754_powl): Test for y outside the range of signed 64-bit
43442 integers before using fistpll. Reduce 64-bit values to 63-bit
43444 * math/libm-test.inc (pow_test): Add more tests.
43446 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43448 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43449 <stdio-common/_itoa.h>.
43450 * debug/segfault.c: Likewise.
43451 * elf/dl-cache.c: Likewise.
43452 * elf/dl-minimal.c: Likewise.
43453 * elf/dl-misc.c: Likewise.
43454 * elf/dl-sysdep.c: Likewise.
43455 * elf/dl-version.c: Likewise.
43456 * elf/rtld.c: Likewise.
43457 * hurd/hurdsock.c: Likewise.
43458 * hurd/lookup-retry.c: Likewise.
43459 * malloc/malloc.c: Likewise.
43460 * malloc/mtrace.c: Likewise.
43461 * nscd/nscd_getgr_r.c: Likewise.
43462 * nscd/nscd_getpw_r.c: Likewise.
43463 * nscd/nscd_getserv_r.c: Likewise.
43464 * posix/getopt_init.c: Likewise.
43465 * posix/wordexp.c: Likewise.
43466 * stdio-common/_itoa.c: Likewise.
43467 * stdio-common/printf_fphex.c: Likewise.
43468 * stdio-common/vfprintf.c: Likewise.
43469 * string/_strerror.c: Likewise.
43470 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43471 * sysdeps/i386/i686/hp-timing.h: Likewise.
43472 * sysdeps/mach/_strerror.c: Likewise.
43473 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43474 * sysdeps/mach/hurd/sethostid.c: Likewise.
43475 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43476 * sysdeps/mach/xpg-strerror.c: Likewise.
43477 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43478 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43479 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43480 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43481 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43482 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43483 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43484 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43485 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43486 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43487 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43488 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43489 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43490 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43491 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43492 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43493 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43494 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43495 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43496 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43497 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43499 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43501 * stdio-common/_itoa.h: Moved to ...
43502 * sysdeps/generic/_itoa.h: Here.
43504 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43506 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43507 instead of "_itoa.h" and "_itowa.h".
43508 * stdio-common/vfprintf.: Likewise.
43510 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43512 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43514 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43515 (__signbit): Likwise.
43516 (llrintf): Likwise.
43519 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43521 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43524 2012-03-20 Joseph Myers <joseph@codesourcery.com>
43526 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43527 OVERFLOW_EXCEPTION_OK.
43528 * math/libm-test.inc ("Philosophy"): Update comment about
43530 (OVERFLOW_EXCEPTION): Define.
43531 (OVERFLOW_EXCEPTION_OK): Likewise.
43532 (INVALID_EXCEPTION_OK): Renumber.
43533 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43534 (IGNORE_ZERO_INF_SIGN): Likewise.
43535 (test_exceptions): Handle FE_OVERFLOW.
43536 (exp10_test): Expect overflow exceptions.
43537 (exp2_test): Likewise.
43538 (expm1_test): Likewise.
43539 (nextafter_test): Likewise.
43540 (pow_test): Likewise.
43541 (scalbn_test): Likewise.
43542 (scalbln_test): Likewise.
43544 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43546 * sysdeps/x86_64/bits/atomic.h
43547 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43549 (atomic_exchange_acq): Likewise.
43550 (__arch_exchange_and_add_body): Likewise.
43551 (__arch_add_body): Likewise.
43552 (atomic_add_negative): Likewise.
43553 (atomic_add_zero): Likewise.
43555 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43557 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43558 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43560 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43562 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43563 Check __x86_64__ instead of __WORDSIZE.
43565 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43567 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43569 2012-03-19 David S. Miller <davem@davemloft.net>
43571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43573 * sysdeps/sparc/fpu/fenv_private.h: New file.
43574 * sysdeps/sparc/fpu/math_private.h: Use it.
43575 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43577 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43578 (libc_feholdexcept_setroundl): Remove.
43579 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43581 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43582 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43584 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43586 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43587 int64_t instead of long int.
43588 (INSERT_WORDS64): Likwise.
43590 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43592 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43593 _Unwind_GetCFA return to _Unwind_Ptr first.
43595 2012-03-19 Joseph Myers <joseph@codesourcery.com>
43598 * math/s_clog.c: Include <float.h>.
43599 (__clog): Scale large or subnormal inputs.
43600 * math/s_clogf.c: Likewise.
43601 * math/s_clogl.c: Likewise.
43602 * math/s_clog10.c: Include <float.h>.
43603 (M_LOG10_2): Define.
43604 (__clog10): Scale large or subnormal inputs.
43605 * math/s_clog10f.c: Likewise.
43606 * math/s_clog10l.c: Likewise.
43607 * math/libm-test.inc (clog_test): Add more tests.
43608 (clog10_test): Likewise.
43609 * sysdeps/i386/fpu/libm-test-ulps: Update.
43610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43613 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43615 * math/libm-test.inc (atan2_test): Add another test.
43617 * Makerules (common-objdir-compile): Remove.
43618 * sysdeps/unix/Makefile (config-generated): Do not add
43619 $(unix-generated) to variable.
43620 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43621 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43623 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43625 [generic bits/local_lim.h] (before-compile): Do not append to
43627 [generic bits/local_lim.h] (common-generated): Likewise.
43628 [generic sys/param.h] (before-compile): Do not append to variable.
43629 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43630 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43631 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43632 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43634 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43635 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43636 [generic sys/param.h] ($(addprefix
43637 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43638 [generic sys/param.h] (common-generated): Do not append to
43640 [generic sys/param.h] (sysdep_headers): Likewise.
43641 [generic bits/errno.h] (before-compile): Do not append to
43643 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43645 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43646 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43647 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43648 [generic bits/errno.h] (common-generated): Do not append to
43650 [generic bits/ioctls.h] (before-compile): Do not append to
43652 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43654 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43655 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43656 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43658 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43659 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43660 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43661 [generic bits/ioctls.h] (common-generated): Do not append to
43663 [generic sys/syscall.h] (syscall.h): Remove variable.
43664 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43666 [generic sys/syscall.h] (before-compile): Do not append to
43668 [generic sys/syscall.h] (common-generated): Likewise.
43669 * sysdeps/unix/errnos-tmpl.c: Remove file.
43670 * sysdeps/unix/errnos.awk: Likewise.
43671 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43672 * sysdeps/unix/ioctls.awk: Likewise.
43673 * sysdeps/unix/mk-local_lim.c: Likewise.
43674 * sysdeps/unix/snarf-ioctls: Likewise.
43676 2012-03-19 Richard Henderson <rth@twiddle.net>
43678 * sysdeps/i386/fpu/fenv_private.h: New file.
43679 * sysdeps/i386/fpu/math_private.h: Use it.
43680 (math_opt_barrier, math_force_eval): Remove.
43681 (libc_feholdexcept_setround_53bit): Remove.
43682 (libc_feupdateenv_53bit): Remove.
43683 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43684 (math_opt_barrier, math_force_eval): Remove.
43685 (libc_feholdexcept): Remove.
43686 (libc_feholdexcept_setround): Remove.
43687 (libc_fetestexcept, libc_fesetenv): Remove.
43688 (libc_feupdateenv_test): Remove.
43689 (libc_feupdateenv, libc_feholdsetround): Remove.
43690 (libc_feresetround): Remove.
43692 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43693 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43695 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43696 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43697 (libc_feupdateenv_testl): New.
43698 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43699 (libc_feupdateenv_testf): New.
43700 (libc_feupdateenv): Use libc_feupdateenv_test.
43701 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43702 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43704 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43705 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43706 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43707 (libc_feresetround_noex): New.
43708 (libc_feresetround_noexf): New.
43709 (libc_feresetround_noexl): New.
43710 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43711 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43712 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43713 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43715 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43716 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43718 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43719 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43720 SET_RESTORE_ROUND_NOEX.
43721 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43722 SET_RESTORE_ROUND_NOEXF.
43723 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43724 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43725 (libc_feholdsetroundf): New.
43726 (libc_feresetround, libc_feresetroundf): New.
43728 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43729 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43730 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43732 * sysdeps/generic/math_private.h: Include <fenv.h>.
43733 (default_libc_feholdexcept): New.
43734 (default_libc_feholdexcept_setround): New.
43735 (default_libc_fesetenv, default_libc_feupdateenv): New.
43736 (libc_feholdexcept): Only define if undefined.
43737 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43738 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43739 (libc_feholdexcept_setroundl): Likewise.
43740 (libc_feholdexcept_setround_53bit): Likewise.
43741 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43742 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43743 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43744 (libc_feupdateenv_53bit): Likewise.
43745 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43746 (libc_feholdexcept): Convert from macro to inline function.
43747 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43748 (libc_fesetenv, libc_feupdateenv): Likewise.
43750 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43751 not previously defined.
43752 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43753 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43754 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43755 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43756 * sysdeps/ieee754/flt-32/math_private.h: New file.
43757 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43758 math_private.h below SET_FLOAT_WORD.
43759 (__isnan, __isinf_ns, __finite): Remove.
43760 (__isnanf, __isinf_nsf, __finitef): Remove.
43762 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43766 2012-03-17 David S. Miller <davem@davemloft.net>
43769 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43772 2012-03-16 David S. Miller <davem@davemloft.net>
43774 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43778 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43780 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43781 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43782 sysdep_routines when subdir is sysvipc.
43783 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43784 __getshmlba helper.
43786 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43788 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43790 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43793 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43795 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43796 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43797 (__lround): Renamed to ...
43798 (__llround): This. Replace long int with long long int.
43799 Define lround functions as aliases of llround functions.
43800 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43802 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43804 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43805 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43806 adresses to uintptr_t. Replace "long int" and "unsigned long
43807 int" with "greg_t" on va_arg.
43809 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43811 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43812 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43814 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43815 Move e_machine check before EI_CLASS check. Handle x32
43816 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43817 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43818 SKIP_EM_IA_64 and include
43819 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43821 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43822 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43823 (add_system_dir): New macro.
43825 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43826 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43828 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43839 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43841 * math/w_j0f.c (j0f): Likewise.
43843 * math/w_j0l.c (__j0l): Likewise.
43845 * math/w_j1.c (j1): Likewise.
43847 * math/w_j1f.c (j1f): Likewise.
43849 * math/w_j1l.c (__j1l): Likewise.
43851 * math/w_jn.c (jn): Likewise.
43853 * math/w_jnf.c (jnf): Likewise.
43855 * math/w_jnl.c (__jnl): Likewise.
43857 * math/libm-test.inc (j0_test): Add more tests.
43858 (j1_test): Likewise.
43859 (jn_test): Likewise. Add trailing semicolon to existing test.
43860 (y0_test): Likewise.
43861 (y1_test): Likewise.
43862 * sysdeps/i386/fpu/libm-test-ulps: Update.
43863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43867 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43868 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43869 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43870 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43871 (__tanl): Set errno for infinite argument.
43872 * sysdeps/i386/fpu/mptan.c: Remove.
43873 * sysdeps/i386/fpu/s_tan.S: Likewise.
43874 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43875 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43876 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43877 * math/libm-test.inc (tan_test): Add more tests and enable more
43878 tests for double and long double.
43879 * sysdeps/i386/fpu/libm-test-ulps: Update.
43880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43882 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43884 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43885 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43887 2012-03-16 Roland McGrath <roland@hack.frob.com>
43889 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43890 * configure.in: Use it for both main tree and add-ons.
43891 * configure: Regenerated.
43893 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43895 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43897 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43899 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43903 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43904 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43905 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43906 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43907 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43909 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43910 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43911 != 0 for prec == 2.
43912 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43913 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43914 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43915 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43916 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43917 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43918 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43919 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43920 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43921 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43922 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43923 * math/libm-test.inc (cos_test): Add more tests and enable more
43924 tests for long double.
43925 (sin_test): Likewise.
43926 (sincos_test): Likewise.
43927 * sysdeps/i386/fpu/libm-test-ulps: Update.
43928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43930 2012-03-16 David S. Miller <davem@davemloft.net>
43932 * sysdeps/sparc/fpu/math_private.h: New file.
43934 2012-03-15 David S. Miller <davem@davemloft.net>
43936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43950 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43951 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43953 * sysdeps/sparc/sparc-ifunc.h: New file.
43954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43980 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43981 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43983 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43992 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43993 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43995 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43996 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43997 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43999 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44001 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44005 2012-03-15 Andreas Jaeger <aj@suse.de>
44008 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44009 ieee754/flt-32 implementation for sin, cos and sincos.
44010 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44011 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44012 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44013 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44014 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44015 ieee754/flt-32 implementation for tan.
44017 * math/libm-test.inc (cos_test): Enable some large input tests for
44019 (sin_test): Likewise.
44020 (sincos_test): Likewise.
44021 (tan_test): Add tests for large input.
44023 * sysdeps/i386/fpu/libm-test-ulps: Update.
44025 2012-03-15 Andreas Jaeger <aj@suse.de>
44028 * math/libm-test.inc (cos_test): Add more test cases.
44029 (sin_test): Likewise.
44030 (sincos_test): Likewise.
44032 2012-03-15 Andreas Jaeger <aj@suse.de>
44035 * math/libm-test.inc (cos_test): Add a test case for large input
44037 (sin_test): Likewise.
44038 (sincos_test): Likewise.
44040 2012-03-15 Andreas Jaeger <aj@suse.de>
44041 Joseph Myers <joseph@codesourcery.com>
44044 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44045 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44046 * sysdeps/i386/fpu/branred.c: Likewise.
44047 * sysdeps/i386/fpu/dosincos.c: Likewise.
44048 * sysdeps/i386/fpu/mpa.c: Likewise.
44049 * sysdeps/i386/fpu/s_cos.S: Likewise.
44050 * sysdeps/i386/fpu/s_sin.S: Likewise.
44051 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44052 * sysdeps/i386/fpu/sincos32.c: Likewise.
44054 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44056 (libc_feupdateenv_53bit): Define.
44057 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44059 (libc_feupdateenv_53bit): Define.
44061 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44062 53 bit (without extend i386 double precision).
44064 * math/libm-test.inc (sincos_test): Add tests for large input.
44068 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44070 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44074 2012-03-15 David S. Miller <davem@davemloft.net>
44076 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44077 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44078 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44079 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44104 fmin/fmax sysdep routines.
44105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44107 2012-03-14 David S. Miller <davem@davemloft.net>
44109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44113 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44115 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44116 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44120 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44127 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44128 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44130 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44131 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44132 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44133 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44134 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44181 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44186 * sysdeps/sparc/configure.in: New file.
44187 * sysdeps/sparc/configure: Generate.
44188 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44189 * configure: Regenerate.
44190 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44191 * config.make.in (have-as-vis3): New.
44192 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44193 available use -Av9d instead of -Av9a.
44194 * sysdeps/sparc/sparc64/Makefile: Likewise.
44195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44208 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44210 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44211 fzeros/fnegs to load 0x80000000 into a float register instead of
44213 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44215 2012-03-14 Joseph Myers <joseph@codesourcery.com>
44217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44219 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44220 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44221 ($(inst_includedir)/bits/syscall.h): Remove rule.
44222 ($(objpfx)bits/syscall.d): Include instead of
44223 $(objpfx)syscall-list.d.
44224 (generated): Change syscall-list.h and syscall-list.d to
44225 bits/syscall.h and bits/syscall.d.
44227 2012-03-14 Roland McGrath <roland@hack.frob.com>
44230 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44232 2012-03-14 Joseph Myers <joseph@codesourcery.com>
44235 * math/s_csqrt.c: Include <float.h>.
44236 (__csqrt): Scale large or subnormal inputs.
44237 * math/s_csqrtf.c: Likewise.
44238 * math/s_csqrtl.c: Likewise.
44239 * math/libm-test.inc (csqrt_test): Add more tests.
44240 * sysdeps/i386/fpu/libm-test-ulps: Update.
44241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44244 * math/libm-test.inc (hypot_test): Add more tests.
44246 2012-03-13 David S. Miller <davem@davemloft.net>
44249 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44250 double-precision for the calculation instead of scaling.
44252 2012-03-13 Joseph Myers <joseph@codesourcery.com>
44254 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44255 manipulate bits before adding and subtracting TWO52[sx].
44256 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44257 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44259 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44261 2012-03-13 David S. Miller <davem@davemloft.net>
44263 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44264 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44265 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44266 rtld-global-offsets.h
44267 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44269 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44272 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44274 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44275 'err' in the ifdef scope in which it is actually used.
44277 * nss/nss_db/db-init.c: Include string.h
44279 2012-03-12 David S. Miller <davem@davemloft.net>
44281 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44282 masking out of the most significant byte of random value used.
44283 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44284 Fix coding style in previous change.
44286 * sysdeps/unix/sysv/linux/kernel-features.h
44287 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44288 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44290 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44293 2012-03-11 David S. Miller <davem@davemloft.net>
44295 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44296 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44297 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44298 for 'resultvar' otherwise things get truncated on 64-bit.
44300 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44301 Fix masking out of the most significant byte of random value used.
44303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44305 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44309 2012-03-09 David S. Miller <davem@davemloft.net>
44311 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44312 variables with appropriate CPP guards.
44313 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44314 from the frame pointer, not the stack pointer. Correct layout
44315 comments. Fix test on resulting framesize and the management of
44316 the outregs buffer for pltexit. Preserve floating point return
44317 values across _dl_call_pltexit call.
44318 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44319 framesize and the management of the outregs buffer for pltexit.
44320 Preserve floating point return values across _dl_call_pltexit
44322 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44323 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44324 (la_sparc64_gnu_pltexit): New functions.
44325 (print_exit): Fix format string for return register value.
44327 2012-03-10 Joseph Myers <joseph@codesourcery.com>
44329 * sunrpc/Makefile (others): Add rpcgen.
44330 ($(objpfx)rpcgen): Remove special build rule and dependency on
44332 * sunrpc/rpcgen.c: New file.
44334 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44337 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44338 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44339 * sysdeps/i386/crti.S: Likewise.
44340 * sysdeps/i386/crtn.S: Likewise.
44341 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44342 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44343 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44344 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44345 * sysdeps/sh/crti.S: Likewise.
44346 * sysdeps/sh/crtn.S: Likewise.
44347 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44350 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44352 * locale/programs/locfile-kw.gperf: Likewise.
44353 * locale/programs/charmap-kw.h: Regenerated.
44354 * locale/programs/locfile-kw.h: Likewise.
44357 * intl/plural.y: Replace FSF snail mail address with URL.
44358 * intl/plural.c: Regenerated.
44360 2012-03-09 Richard Henderson <rth@twiddle.net>
44362 * include/math_private.h: Remove file.
44363 * math/math_private.h: Move file ...
44364 * sysdeps/generic/math_private.h: ... here.
44366 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44367 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44368 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44370 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44371 and <math_private.h>.
44372 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44373 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44374 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44375 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44376 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44377 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44378 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44379 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44380 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44381 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44383 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44384 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44385 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44386 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44387 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44388 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44389 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44390 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44391 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44393 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44394 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44396 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44397 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44398 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44399 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44400 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44401 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44402 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44403 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44404 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44405 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44406 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44407 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44408 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44409 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44410 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44411 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44412 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44413 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44414 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44415 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44416 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44417 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44418 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44419 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44420 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44421 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44422 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44423 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44424 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44425 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44426 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44427 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44428 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44429 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44430 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44431 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44432 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44433 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44434 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44435 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44436 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44437 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44438 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44439 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44440 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44441 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44442 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44443 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44444 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44445 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44446 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44447 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44448 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44449 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44450 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44451 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44452 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44453 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44454 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44455 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44456 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44458 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44459 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44460 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44461 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44462 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44463 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44464 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44465 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44466 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44467 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44468 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44469 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44470 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44471 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44472 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44473 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44474 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44475 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44476 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44477 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44478 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44479 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44480 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44481 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44482 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44483 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44484 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44485 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44486 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44487 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44488 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44489 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44490 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44491 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44492 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44493 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44494 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44495 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44496 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44497 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44498 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44499 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44500 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44501 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44502 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44503 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44504 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44505 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44506 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44507 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44508 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44509 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44510 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44511 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44512 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44513 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44514 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44515 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44516 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44517 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44518 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44519 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44520 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44521 * sysdeps/ieee754/k_standard.c: Likewise.
44522 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44523 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44524 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44525 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44526 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44527 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44528 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44529 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44530 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44531 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44532 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44533 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44534 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44535 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44536 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44537 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44538 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44539 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44540 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44541 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44542 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44543 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44544 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44545 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44546 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44547 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44548 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44549 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44550 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44551 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44552 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44553 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44554 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44555 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44556 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44557 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44558 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44559 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44560 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44561 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44562 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44563 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44564 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44565 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44566 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44567 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44568 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44569 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44570 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44571 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44572 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44573 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44574 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44575 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44576 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44577 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44578 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44579 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44580 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44581 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44582 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44583 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44584 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44585 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44586 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44587 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44588 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44589 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44590 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44591 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44592 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44594 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44595 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44596 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44597 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44598 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44599 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44600 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44601 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44602 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44603 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44604 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44605 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44606 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44607 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44608 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44609 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44610 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44611 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44612 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44613 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44614 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44615 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44616 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44617 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44618 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44619 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44620 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44621 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44622 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44623 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44624 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44625 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44626 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44627 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44628 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44629 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44630 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44631 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44632 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44633 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44634 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44635 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44636 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44637 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44638 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44639 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44640 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44641 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44642 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44643 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44644 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44645 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44646 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44647 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44648 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44649 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44650 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44651 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44652 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44653 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44654 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44655 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44656 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44657 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44658 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44659 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44660 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44661 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44662 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44663 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44664 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44665 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44666 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44667 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44668 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44669 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44670 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44671 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44672 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44673 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44674 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44675 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44676 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44677 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44678 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44679 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44680 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44681 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44682 * sysdeps/ieee754/s_lib_version.c: Likewise.
44683 * sysdeps/ieee754/s_matherr.c: Likewise.
44684 * sysdeps/ieee754/s_signgam.c: Likewise.
44685 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44686 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44687 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44688 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44689 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44690 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44691 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44692 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44693 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44694 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44695 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44696 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44697 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44698 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44699 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44700 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44701 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44702 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44703 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44704 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44705 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44707 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44709 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44710 * sunrpc/rpc_main.c: Likewise.
44711 * sunrpc/rpc_svcout.c: Likewise.
44713 2012-03-09 David S. Miller <davem@davemloft.net>
44715 * include/math_private.h: New file.
44717 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44719 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44720 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44721 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44722 from <bits/socket_type.h>.
44723 (enum __socket_type): Don't define here.
44724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44725 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44726 bits/socket_type.h.
44729 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44730 checking __USE_GNU.
44732 * Makerules ($(inst_includedir)/%.h): New rule.
44733 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44734 (install-others): Remove variable setting.
44735 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44737 2012-03-08 Richard Henderson <rth@twiddle.net>
44739 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44740 from macro to inline function; merge with the
44741 !__LIBC_INTERNAL_MATH_INLINES version.
44742 (__ieee754_sqrtf): Likewise.
44744 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44745 to inline function.
44746 (__rintf, __floor, __floorf): Likewise.
44748 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44749 macro to inline function.
44750 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44752 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44753 not <math/math_private.h>.
44755 2012-03-08 David S. Miller <davem@davemloft.net>
44757 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44759 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44761 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44763 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44765 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44766 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44768 2012-03-08 Ulrich Drepper <drepper@gmail.com>
44770 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44771 be defined individually, they must be defined as a block. Define
44772 S for printing a string instead of hidint the different by using a
44773 macro for adding the 'l'.
44774 * stdio-common/tst-fphex-wide.c: Adjust.
44776 2012-03-07 Marek Polacek <polacek@redhat.com>
44778 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44780 2012-03-08 Marek Polacek <polacek@redhat.com>
44783 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44784 * stdio-common/tst-fphex.c: Define a few macros to make the
44785 test reusable. Use them.
44786 * stdio-common/tst-fphex-wide.c: New file.
44788 2012-03-08 Joseph Myers <joseph@codesourcery.com>
44791 * manual/macros.texi (gnusystems): New macro.
44792 (nongnusystems): Likewise.
44793 (gnulinuxhurdsystems): Likewise.
44794 (gnuhurdsystems): Likewise..
44795 (gnulinuxsystems): Likewise.
44796 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44797 variants of the GNU system, not "GNU system".
44798 * manual/conf.texi: Likewise.
44799 * manual/errno.texi: Likewise. Update example of errno macro
44801 * manual/filesys.texi: Likewise.
44802 (getumask): Document as specific to GNU/Hurd.
44803 * manual/install.texi: Likewise. Reword some references to
44805 * manual/intro.texi: Likewise.
44806 * manual/io.texi: Likewise.
44807 (File Name Portability): Detail which constraints are inapplicable
44808 to all GNU systems and which are only inapplicable to GNU/Hurd.
44809 * manual/job.texi: Likewise.
44810 * manual/llio.texi: Likewise.
44811 (O_NOCTTY): Document as present on GNU/Linux.
44812 * manual/maint.texi: Likewise.
44813 * manual/memory.texi: Likewise.
44814 * manual/pattern.texi: Likewise.
44815 * manual/pipe.texi: Likewise.
44816 * manual/process.texi: Likewise.
44817 * manual/resource.texi: Likewise.
44818 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44820 * manual/setjmp.texi: Likewise.
44821 * manual/signal.texi: Likewise.
44822 * manual/startup.texi: Likewise.
44823 * manual/stdio.texi: Likewise.
44824 * manual/terminal.texi: Likewise.
44825 (ONLCR): Document as POSIX.
44826 (OXTABS): Document availability on GNU/Linux as XTABS.
44827 (ONOEOT): Document availability separately from other bits.
44828 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44829 * manual/time.texi: Likewise.
44830 * manual/users.texi: Likewise.
44831 * INSTALL: Regenerated.
44832 * sysdeps/gnu/errlist.c: Regenerated.
44834 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44835 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44836 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44838 * configure: Regenerated.
44840 2012-03-07 Joseph Myers <joseph@codesourcery.com>
44842 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44843 default includes instead of AC_HEADER_CHECK.
44844 * sysdeps/i386/configure: Regenerated.
44847 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44848 * math/s_cacoshf.c (__cacoshf): Likewise.
44849 * math/s_cacoshl.c (__cacoshl): Likewise.
44850 * math/s_casinh.c (__casinh): Set signs of result from argument.
44851 * math/s_casinhf.c (__casinhf): Likewise.
44852 * math/s_casinhl.c (__casinhl): Likewise.
44853 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44854 (casinh_test): Add more tests.
44855 * sysdeps/i386/fpu/libm-test-ulps: Update.
44856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44858 2012-03-07 Ulrich Drepper <drepper@gmail.com>
44860 * po/zh_TW.po: Update from translation team.
44862 * login/Makefile (distribute): Remove variable.
44863 * catgets/Makefile: Likewise.
44864 * mach/Makefile: Likewise.
44865 * malloc/Makefile: Likewise.
44866 * misc/Makefile: Likewise.
44867 * iconv/Makefile: Likewise.
44868 * nscd/Makefile: Likewise.
44869 * hurd/Makefile: Likewise.
44870 * manual/Makefile: Likewise.
44871 * locale/Makefile: Likewise.
44872 * intl/Makefile: Likewise.
44873 * conform/Makefile: Likewise.
44874 * nss/Makefile: Likewise.
44875 * time/Makefile: Likewise.
44876 * soft-fp/Makefile: Likewise.
44877 * dirent/Makefile: Likewise.
44878 * gmon/Makefile: Likewise.
44879 * po/Makefile: Likewise.
44880 * rt/Makefile: Likewise.
44881 * socket/Makefile: Likewise.
44882 * math/Makefile: Likewise.
44883 * signal/Makefile: Likewise.
44884 * debug/Makefile: Likewise.
44885 * elf/Makefile: Likewise.
44886 * timezone/Makefile: Likewise.
44887 * stdlib/Makefile: Likewise.
44888 * iconvdata/Makefile: Likewise.
44889 * sunrpc/Makefile: Likewise.
44890 * io/Makefile: Likewise.
44891 * argp/Makefile: Likewise.
44892 * inet/Makefile: Likewise.
44893 * hesiod/Makefile: Likewise.
44894 * grp/Makefile: Likewise.
44895 * csu/Makefile: Likewise.
44896 * wctype/Makefile: Likewise.
44897 * crypt/Makefile: Likewise.
44898 * libio/Makefile: Likewise.
44899 * string/Makefile: Likewise.
44900 * nis/Makefile: Likewise.
44901 * resolv/Makefile: Likewise.
44902 * stdio-common/Makefile: Likewise.
44903 * wcsmbs/Makefile: Likewise.
44904 * dlfcn/Makefile: Likewise.
44905 * posix/Makefile: Likewise.
44908 * timezone/Makefile: Don't install timezone files, just the programs
44911 2012-03-06 Ulrich Drepper <drepper@gmail.com>
44913 * nss/databases.def: Add missing gshadow entry.
44915 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44917 2012-03-06 Marek Polacek <polacek@redhat.com>
44920 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44921 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44922 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44923 * stdio-common/tst-long-dbl-fphex.c: New file.
44925 2012-03-06 David S. Miller <davem@davemloft.net>
44927 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44928 (set_obp_int): New function.
44929 (get_obp_int): New function.
44930 (__get_clockfreq_via_dev_openprom): Likewise.
44931 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44932 Avoid unused variable warnings on 'val' and use builtin_expect.
44933 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44935 (INLINE_CLONE_SYSCALL): Likewise.
44937 2012-03-05 David S. Miller <davem@davemloft.net>
44939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44941 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44945 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44946 only for |x| >= 40.
44947 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44949 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
44951 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44952 Replace gettimeofday with __vdso_gettimeofday.
44954 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44955 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44956 __vdso_clock_gettime and __vdso_getcpu.
44958 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44959 time with __vdso_time.
44961 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44963 * manual/lang.texi (size_t): Note types to which size_t may be
44964 equivalent with the GNU C Library, but do not describe when
44965 differences between them are significant.
44967 2012-03-05 Andreas Jaeger <aj@suse.de>
44969 * sysdeps/i386/fpu/libm-test-ulps: Update.
44971 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44974 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44975 (__ieee754_pow): Save and restore rounding mode and use
44976 round-to-nearest for main computations.
44977 * math/libm-test.inc (pow_test_tonearest): New function.
44978 (pow_test_towardzero): Likewise.
44979 (pow_test_downward): Likewise.
44980 (pow_test_upward): Likewise.
44981 (main): Call the new functions.
44982 * sysdeps/i386/fpu/libm-test-ulps: Update.
44983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44986 * math/libm-test.inc (cosh_test_tonearest): New function.
44987 (cosh_test_towardzero): Likewise.
44988 (cosh_test_downward): Likewise.
44989 (cosh_test_upward): Likewise.
44990 (sinh_test_tonearest): Likewise.
44991 (sinh_test_towardzero): Likewise.
44992 (sinh_test_downward): Likewise.
44993 (sinh_test_upward): Likewise.
44994 (main): Call the new functions.
44995 * sysdeps/i386/fpu/libm-test-ulps: Update.
44996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44998 2012-03-05 Tom de Vries <tom@codesourcery.com>
45000 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45001 default stack guard is set in last bytes.
45002 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45004 2012-03-05 Kees Cook <keescook@chromium.org>
45006 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45009 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45010 possibly allocate from heap instead of stack.
45011 * stdio-common/bug-vfprintf-nargs.c: New file.
45012 * stdio-common/Makefile (tests): Add nargs overflow test.
45014 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45018 2012-03-03 Marek Polacek <polacek@redhat.com>
45020 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45021 * math/math_private.h: Likewise.
45022 * stdlib/tst-strtod.c: Likewise.
45023 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45024 * sysdeps/x86_64/bits/atomic.h: Likewise.
45026 2012-03-02 David S. Miller <davem@davemloft.net>
45028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45032 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45033 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45034 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45035 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45037 2012-03-02 Roland McGrath <roland@hack.frob.com>
45040 * manual/examples/README: New file, says the example source files
45041 can be used under GPL>=2.
45042 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45043 line containing just "*/".
45044 * manual/examples/add.c: Add copyright header (GPL>=2).
45045 * manual/examples/argp-ex1.c: Likewise.
45046 * manual/examples/argp-ex2.c: Likewise.
45047 * manual/examples/argp-ex3.c: Likewise.
45048 * manual/examples/argp-ex4.c: Likewise.
45049 * manual/examples/atexit.c: Likewise.
45050 * manual/examples/db.c: Likewise.
45051 * manual/examples/dir.c: Likewise.
45052 * manual/examples/dir2.c: Likewise.
45053 * manual/examples/execinfo.c: Likewise.
45054 * manual/examples/filecli.c: Likewise.
45055 * manual/examples/filesrv.c: Likewise.
45056 * manual/examples/fmtmsgexpl.c: Likewise.
45057 * manual/examples/genpass.c: Likewise.
45058 * manual/examples/inetcli.c: Likewise.
45059 * manual/examples/inetsrv.c: Likewise.
45060 * manual/examples/isockad.c: Likewise.
45061 * manual/examples/longopt.c: Likewise.
45062 * manual/examples/memopen.c: Likewise.
45063 * manual/examples/memstrm.c: Likewise.
45064 * manual/examples/mkfsock.c: Likewise.
45065 * manual/examples/mkisock.c: Likewise.
45066 * manual/examples/mygetpass.c: Likewise.
45067 * manual/examples/pipe.c: Likewise.
45068 * manual/examples/popen.c: Likewise.
45069 * manual/examples/rprintf.c: Likewise.
45070 * manual/examples/search.c: Likewise.
45071 * manual/examples/select.c: Likewise.
45072 * manual/examples/setjmp.c: Likewise.
45073 * manual/examples/sigh1.c: Likewise.
45074 * manual/examples/sigusr.c: Likewise.
45075 * manual/examples/stpcpy.c: Likewise.
45076 * manual/examples/strdupa.c: Likewise.
45077 * manual/examples/strftim.c: Likewise.
45078 * manual/examples/strncat.c: Likewise.
45079 * manual/examples/subopt.c: Likewise.
45080 * manual/examples/swapcontext.c: Likewise.
45081 * manual/examples/termios.c: Likewise.
45082 * manual/examples/testopt.c: Likewise.
45083 * manual/examples/testpass.c: Likewise.
45084 * manual/examples/timeval_subtract.c: Likewise.
45087 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45089 * manual/timeval_subtract.c.texi: ... here, new file.
45091 2012-03-02 David S. Miller <davem@davemloft.net>
45093 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45095 2012-03-02 Joseph Myers <joseph@codesourcery.com>
45098 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45099 (__sin): Save and restore rounding mode and use round-to-nearest
45100 for all computations.
45101 (__cos): Save and restore rounding mode and use round-to-nearest
45102 for all computations.
45103 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45105 (tan): Save and restore rounding mode and use round-to-nearest for
45107 * math/libm-test.inc (cos_test_tonearest): New function.
45108 (cos_test_towardzero): Likewise.
45109 (cos_test_downward): Likewise.
45110 (cos_test_upward): Likewise.
45111 (sin_test_tonearest): Likewise.
45112 (sin_test_towardzero): Likewise.
45113 (sin_test_downward): Likewise.
45114 (sin_test_upward): Likewise.
45115 (tan_test_tonearest): Likewise.
45116 (tan_test_towardzero): Likewise.
45117 (tan_test_downward): Likewise.
45118 (tan_test_upward): Likewise.
45119 (main): Call the new functions.
45120 * sysdeps/i386/fpu/libm-test-ulps: Update.
45121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45124 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45125 small n, then large n, before computing and testing k+n.
45126 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45127 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45129 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45131 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45132 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45133 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45134 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45135 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45136 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45137 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45138 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45139 * math/libm-test.inc (scalbn_test): Add more tests.
45140 (scalbln_test): Likewise.
45142 * manual/filesys.texi (mode_t): Describe constraints on size and
45143 signedness, not exact equivalence to a particular type.
45145 (ino64_t): Likewise.
45147 (nlink_t): Likewise.
45148 (blkcnt_t): Likewise.
45149 (blkcnt64_t): Likewise.
45150 * manual/llio.texi (off_t): Likewise.
45153 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45154 (__ieee754_exp): Save and restore rounding mode and use
45155 round-to-nearest for all computations.
45156 * math/libm-test.inc (exp_test_tonearest): New function.
45157 (exp_test_towardzero): Likewise.
45158 (exp_test_downward): Likewise.
45159 (exp_test_upward): Likewise.
45160 (main): Call the new functions.
45161 * sysdeps/i386/fpu/libm-test-ulps: Update.
45162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45164 2012-03-01 Chris Demetriou <cgd@google.com>
45166 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45167 have predictable order.
45169 2012-03-01 David S. Miller <davem@davemloft.net>
45171 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45173 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45174 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45175 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45176 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45178 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45179 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45180 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45182 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45183 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45184 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45185 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45186 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45190 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45191 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45192 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45194 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45195 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45196 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45197 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45198 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45199 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45200 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45201 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45202 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45203 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45204 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45205 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45206 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45207 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45208 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45209 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45210 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45211 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45212 * sysdeps/sparc/elf/configure: Regenerated.
45214 2012-03-01 Joseph Myers <joseph@codesourcery.com>
45216 * configure.in (AS, LD): Require binutils 2.20 or later.
45217 * configure: Regenerated.
45218 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45219 as required minimum version.
45220 * INSTALL: Regenerated.
45224 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45225 before squaring exponent.
45226 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45227 bottom long double and 27 bits of top long double before squaring
45229 * math/libm-test.inc (erfc_test): Add more tests.
45230 * sysdeps/i386/fpu/libm-test-ulps: Update.
45231 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45234 2012-03-01 Kai Tietz <ktietz@redhat.com>
45236 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45237 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45238 containing bit-fields.
45239 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45240 * soft-fp/single.h (_FP_UNION_S): Likewise.
45241 * soft-fp/double.h (_FP_UNION_D): Likewise.
45243 2012-02-29 Joseph Myers <joseph@codesourcery.com>
45246 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45247 not include ../strcmp.S.
45248 [USE_AS_STRNCASECMP_L]: Likewise.
45249 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45250 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45251 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45252 (__strncasecmp_l_ia32): Define as alias to
45253 __strncasecmp_l_nonascii.
45256 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45257 * sysdeps/i386/fpu/libm-test-ulps: Update.
45258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45260 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45263 2012-02-29 Jeff Law <law@redhat.com>
45265 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45266 out of bounds read.
45268 2012-02-29 Marek Polacek <polacek@redhat.com>
45271 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45272 * elf/Makefile: Add rules to run tst-unused-dep.out.
45274 2012-02-28 David S. Miller <davem@davemloft.net>
45276 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45277 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45278 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45279 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45280 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45281 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45283 2012-02-29 Joseph Myers <joseph@codesourcery.com>
45285 * math/libm-test.inc (llround_test): Move one test from
45286 lround_test. Use TEST_f_L in moved test.
45287 (lround_test): Move misplaced test to llround_test. Add testcase
45290 2012-02-28 Ulrich Drepper <drepper@gmail.com>
45292 * sysdeps/x86_64/fpu/e_expf.S: New file.
45293 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45295 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45298 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45299 of remain_len that may cause incomplete multi-byte character and
45301 * posix/bug-regex33.c: New file.
45302 * posix/Makefile (tests): Add bug-regex33.
45304 2012-02-28 Joseph Myers <joseph@codesourcery.com>
45306 * manual/macros.texi: New file.
45307 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45308 * manual/libc.texinfo: Include macros.texi.
45309 * manual/creatute.texi: Likewise.
45310 * manual/install.texi: Likewise.
45311 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45312 @glibcadj{} in references to the GNU C Library.
45313 * manual/charset.texi: Likewise.
45314 * manual/conf.texi: Likewise.
45315 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45316 when not using those macros.
45317 * manual/creature.texi: Likewise.
45318 * manual/crypt.texi: Likewise.
45319 * manual/errno.texi: Likewise.
45320 * manual/filesys.texi: Likewise.
45321 * manual/header.texi: Likewise.
45322 * manual/install.texi: Likewise.
45323 * manual/intro.texi: Likewise.
45324 * manual/io.texi: Likewise.
45325 * manual/job.texi: Likewise.
45326 * manual/lang.texi: Likewise.
45327 * manual/libc.texiinfo: Likewise.
45328 * manual/llio.texi: Likewise.
45329 * manual/locale.texi: Likewise.
45330 * manual/maint.texi: Likewise.
45331 * manual/math.texi: Likewise.
45332 * manual/memory.texi: Likewise.
45333 * manual/message.texi: Likewise.
45334 * manual/nss.texi: Likewise.
45335 * manual/pattern.texi: Likewise.
45336 * manual/process.texi: Likewise.
45337 * manual/resource.texi: Likewise.
45338 * manual/search.texi: Likewise.
45339 * manual/setjmp.texi: Likewise.
45340 * manual/signal.texi: Likewise.
45341 * manual/socket.texi: Likewise.
45342 * manual/startup.texi: Likewise.
45343 * manual/stdio.texi: Likewise.
45344 * manual/string.texi: Likewise.
45345 * manual/sysinfo.texi: Likewise.
45346 * manual/syslog.texi: Likewise.
45347 * manual/terminal.texi: Likewise.
45348 * manual/time.texi: Likewise.
45349 * manual/users.texi: Likewise.
45350 * INSTALL: Regenerated.
45351 * NOTES: Regenerated.
45352 * sysdeps/gnu/errlist.c: Regenerated.
45354 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45356 * include/dirent.h: Include <dirstream.h> before
45359 2012-02-28 David S. Miller <davem@davemloft.net>
45361 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45362 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45363 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45364 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45366 2012-02-27 David S. Miller <davem@davemloft.net>
45368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45370 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45371 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45374 frame pointer instead of stack pointer relative arg slot.
45375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45376 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45377 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45379 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45382 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45384 2012-02-27 David S. Miller <davem@davemloft.net>
45386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45390 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45391 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45392 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45393 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45395 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45397 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45398 later. Allow versions 5-9.
45399 * configure: Regenerated.
45400 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45401 required minimum version and 4.6 as recommended version. Do not
45402 mention bugs in GCC 2.7 and 2.8.
45403 * INSTALL: Regenerated.
45405 2012-02-27 David S. Miller <davem@davemloft.net>
45407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45411 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45412 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45413 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45414 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45416 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45417 manipulate bits before adding and subtracting TWO112[sx].
45418 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45420 2012-02-27 Roland McGrath <roland@hack.frob.com>
45423 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45424 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45425 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45426 being in POSIX, because they are in 1003.1-2008.
45428 * rt/tst-aio.c: Include <fcntl.h>.
45429 * rt/tst-aio7.c: Likewise.
45430 * rt/tst-aio64.c: Likewise.
45432 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45434 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45436 * manual/install.texi (--with-headers): Describe headers as
45437 interface headers, not private headers.
45438 (Specific advice for GNU/Linux systems): Describe use of headers
45439 from "make headers_install", not private headers from older
45441 * INSTALL: Regenerated.
45442 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45444 * sysdeps/unix/sysv/linux/configure: Regenerated.
45446 * manual/llio.texi (fclean): Remove documentation.
45448 * manual/Makefile (libc-texi-generated): New variable. Include
45450 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45451 $(libc-texi-generated), not duplicated list of files.
45452 (version.texi, stamp-version): New rules.
45453 (realclean): Remove $(libc-texi-generated), not individual files
45454 from that list. Do not remove dir-add.texinfo.
45455 * manual/libc.texinfo: Comment out uses of edition numbers and
45456 references to printed manual. Remove last-updated dates.
45457 (EDITION): Comment out.
45459 (VERSION, UPDATED): Remove.
45460 (version.texi): Include.
45462 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45464 * sysdeps/posix/spawni.c: Include <signal.h>.
45465 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45466 * sysdeps/pthread/aio_fsync.c: Likewise.
45468 2012-02-26 Ulrich Drepper <drepper@gmail.com>
45470 * conform/Makefile (tests): Run only when not cross-compiling and
45471 when fast-check is not defined.
45473 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45474 * conform/data/limits.h-data: Fixes for POSIX2008.
45475 * conform/run-conformtest.sh: Run all tests.
45476 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45478 * include/bits/dlfcn.h: Likewise.
45479 * include/langinfo.h: Likewise.
45480 * include/monetary.h: Likewise.
45481 * include/sys/poll.h: Likewise.
45483 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45485 * posix/spawn.h: Define __need_sigset_t.
45486 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45487 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45488 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45489 to get sigevent_t only.
45490 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45491 only for __USE_GNU.
45492 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45493 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45494 process_vm_writev only for __USE_GNU.
45495 * termios/termios.h: Declare tcgetsid also for POSIX2008.
45497 * conform/Makefile: For now ignore errors from run-conformtest.
45498 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45499 POSIX to avoid namespace pollution. Don't prepend headers.
45500 * conform/data/aio.h-data: Fixes for POSIX testing.
45501 * conform/data/fcntl.h-data: Likewise.
45502 * conform/data/glob.h-data: Likewise.
45503 * conform/data/grp.h-data: Likewise.
45504 * conform/data/pthread.h-data: Likewise.
45505 * conform/data/pwd.h-data: Likewise.
45506 * conform/data/signal.h-data: Likewise.
45507 * conform/data/spawn.h-data: Likewise.
45508 * conform/data/stdio.h-data: Likewise.
45509 * conform/data/stdlib.h-data: Likewise.
45510 * conform/data/stropts.h-data: Likewise.
45511 * conform/data/sys/mman.h-data: Likewise.
45512 * conform/data/sys/stat.h-data: Likewise.
45513 * conform/data/sys/types.h-data: Likewise.
45514 * conform/data/sys/wait.h-data: Likewise.
45515 * conform/data/time.h-data: Likewise.
45516 * conform/data/unistd.h-data: Likewise.
45517 * conform/data/utime.h-data: Likewise.
45519 * io/sys/stat.h: fchmod was always in POSIX.
45520 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45521 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45522 * rt/aio.h: Define __need_timespec before including <time.h>.
45523 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45524 struct. Add forward declaration of pthread_attr_t and use it in
45526 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45527 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45528 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45529 always remove CLK_TCK definition.
45531 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45533 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45535 2012-02-25 Ulrich Drepper <drepper@gmail.com>
45537 * conform/run-conformtest.sh: New file.
45538 * conform/Makefile: Run run-conformtest for tests.
45539 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45542 * conform/data/uchar.h-data: New file.
45543 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45544 * conform/data/arpa/inet.h-data: Likewise.
45545 * conform/data/assert.h-data: Likewise.
45546 * conform/data/complex.h-data: Likewise.
45547 * conform/data/cpio.h-data: Likewise.
45548 * conform/data/ctype.h-data: Likewise.
45549 * conform/data/dirent.h-data: Likewise.
45550 * conform/data/dlfcn.h-data: Likewise.
45551 * conform/data/errno.h-data: Likewise.
45552 * conform/data/fcntl.h-data: Likewise.
45553 * conform/data/float.h-data: Likewise.
45554 * conform/data/fmtmsg.h-data: Likewise.
45555 * conform/data/fnmatch.h-data: Likewise.
45556 * conform/data/ftw.h-data: Likewise.
45557 * conform/data/glob.h-data: Likewise.
45558 * conform/data/grp.h-data: Likewise.
45559 * conform/data/iconv.h-data: Likewise.
45560 * conform/data/inttypes.h-data: Likewise.
45561 * conform/data/langinfo.h-data: Likewise.
45562 * conform/data/libgen.h-data: Likewise.
45563 * conform/data/limits.h-data: Likewise.
45564 * conform/data/locale.h-data: Likewise.
45565 * conform/data/math.h-data: Likewise.
45566 * conform/data/monetary.h-data: Likewise.
45567 * conform/data/mqueue.h-data: Likewise.
45568 * conform/data/ndbm.h-data: Likewise.
45569 * conform/data/net/if.h-data: Likewise.
45570 * conform/data/netdb.h-data: Likewise.
45571 * conform/data/netinet/in.h-data: Likewise.
45572 * conform/data/nl_types.h-data: Likewise.
45573 * conform/data/poll.h-data: Likewise.
45574 * conform/data/pthread.h-data: Likewise.
45575 * conform/data/pwd.h-data: Likewise.
45576 * conform/data/regex.h-data: Likewise.
45577 * conform/data/sched.h-data: Likewise.
45578 * conform/data/search.h-data: Likewise.
45579 * conform/data/semaphore.h-data: Likewise.
45580 * conform/data/setjmp.h-data: Likewise.
45581 * conform/data/signal.h-data: Likewise.
45582 * conform/data/spawn.h-data: Likewise.
45583 * conform/data/stdarg.h-data: Likewise.
45584 * conform/data/stdio.h-data: Likewise.
45585 * conform/data/stdlib.h-data: Likewise.
45586 * conform/data/string.h-data: Likewise.
45587 * conform/data/strings.h-data: Likewise.
45588 * conform/data/stropts.h-data: Likewise.
45589 * conform/data/sys/ipc.h-data: Likewise.
45590 * conform/data/sys/mman.h-data: Likewise.
45591 * conform/data/sys/msg.h-data: Likewise.
45592 * conform/data/sys/resource.h-data: Likewise.
45593 * conform/data/sys/select.h-data: Likewise.
45594 * conform/data/sys/sem.h-data: Likewise.
45595 * conform/data/sys/shm.h-data: Likewise.
45596 * conform/data/sys/socket.h-data: Likewise.
45597 * conform/data/sys/stat.h-data: Likewise.
45598 * conform/data/sys/statvfs.h-data: Likewise.
45599 * conform/data/sys/time.h-data: Likewise.
45600 * conform/data/sys/timeb.h-data: Likewise.
45601 * conform/data/sys/times.h-data: Likewise.
45602 * conform/data/sys/types.h-data: Likewise.
45603 * conform/data/sys/uio.h-data: Likewise.
45604 * conform/data/sys/un.h-data: Likewise.
45605 * conform/data/sys/utsname.h-data: Likewise.
45606 * conform/data/sys/wait.h-data: Likewise.
45607 * conform/data/syslog.h-data: Likewise.
45608 * conform/data/tar.h-data: Likewise.
45609 * conform/data/termios.h-data: Likewise.
45610 * conform/data/utime.h-data: Likewise.
45611 * conform/data/utmpx.h-data: Likewise.
45612 * conform/data/varargs.h-data: Likewise.
45613 * conform/data/wchar.h-data: Likewise.
45614 * conform/data/wctype.h-data: Likewise.
45615 * conform/data/wordexp.h-data: Likewise.
45617 * include/stropts.h: New file.
45618 * include/uchar.h: New file.
45619 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45620 * include/assert.h: Likewise.
45621 * include/ctype.h: Likewise.
45622 * include/dirent.h: Likewise.
45623 * include/dlfcn.h: Likewise.
45624 * include/fcntl.h: Likewise.
45625 * include/fnmatch.h: Likewise.
45626 * include/glob.h: Likewise.
45627 * include/grp.h: Likewise.
45628 * include/libio.h: Likewise.
45629 * include/locale.h: Likewise.
45630 * include/math.h: Likewise.
45631 * include/net/if.h: Likewise.
45632 * include/netdb.h: Likewise.
45633 * include/netinet/in.h: Likewise.
45634 * include/pthread.h: Likewise.
45635 * include/pwd.h: Likewise.
45636 * include/regex.h: Likewise.
45637 * include/sched.h: Likewise.
45638 * include/search.h: Likewise.
45639 * include/setjmp.h: Likewise.
45640 * include/signal.h: Likewise.
45641 * include/stdio.h: Likewise.
45642 * include/stdlib.h: Likewise.
45643 * include/string.h: Likewise.
45644 * include/sys/cdefs.h: Likewise.
45645 * include/sys/mman.h: Likewise.
45646 * include/sys/msg.h: Likewise.
45647 * include/sys/resource.h: Likewise.
45648 * include/sys/select.h: Likewise.
45649 * include/sys/socket.h: Likewise.
45650 * include/sys/stat.h: Likewise.
45651 * include/sys/statvfs.h: Likewise.
45652 * include/sys/time.h: Likewise.
45653 * include/sys/times.h: Likewise.
45654 * include/sys/uio.h: Likewise.
45655 * include/sys/utsname.h: Likewise.
45656 * include/sys/wait.h: Likewise.
45657 * include/termios.h: Likewise.
45658 * include/time.h: Likewise.
45659 * include/ulimit.h: Likewise.
45660 * include/unistd.h: Likewise.
45661 * include/utime.h: Likewise.
45662 * include/wchar.h: Likewise.
45663 * include/wctype.h: Likewise.
45664 * include/wordexp.h: Likewise.
45666 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45668 * time/time.h: TIME_UTC must be a macro.
45669 Make timespec_get available for ISO C11 only as well.
45671 2012-02-24 Ulrich Drepper <drepper@gmail.com>
45673 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45674 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45676 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45678 * configure.in: Use -o not -a in test for unsupported multi-arch.
45680 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45682 * manual/texinfo.tex: Update to version 2012-01-19.16.
45684 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45686 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45688 2012-02-24 Roland McGrath <roland@hack.frob.com>
45691 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45692 * manual/fdl-1.3.texi: New file.
45693 * manual/fdl-1.1.texi: File removed.
45696 * manual/libc.texinfo (FDL_VERSION): New @set.
45697 Use it for mention of FDL in cover text.
45698 (Documentation License): Use it in @include file name.
45700 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45701 Roland McGrath <roland@hack.frob.com>
45704 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45705 (not LONG_LONG_MAX and LONG_LONG_MIN.
45706 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45707 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45709 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45711 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45715 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45716 manipulate bits before adding and subtracting TWO23[sx].
45717 * math/libm-test.inc (nearbyint_test): Add more tests.
45719 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45722 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45723 bits before adding and subtracting TWO23[sx].
45724 * math/libm-test.inc (rint_test): Add more tests.
45725 (rint_test_tonearest): Likewise.
45726 (rint_test_towardzero): Likewise.
45727 (rint_test_downward): Likewise.
45728 (rint_test_upward: Likewise.
45730 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45733 * include/stdc-predef.h: New file. Extracted from features.h.
45734 * include/features.h: Include stdc-predef.h.
45735 * Makefile (headers): Add stdc-predef.h.
45736 * CONFORMANCE (Compiler limitations): Update.
45738 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45740 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45742 2012-02-21 David S. Miller <davem@davemloft.net>
45744 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45745 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45747 2012-02-20 David S. Miller <davem@davemloft.net>
45749 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45750 using a normal save/restore sequence, rather than allocating a
45751 dummy stack frame just to store a frame pointer and restore.
45752 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45754 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45756 * manual/install.texi: Fix stray word in line-wrapped comment.
45758 2012-02-20 David S. Miller <davem@davemloft.net>
45760 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45761 both binutils and gcc support GOTDATA.
45763 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45764 "rd %pc" in the PIC register setup sequences.
45766 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45767 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45768 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45769 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45770 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45771 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45772 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45773 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45774 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45775 (SYSCALL_ERROR_HANDLER): Likewise.
45776 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45777 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45778 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45779 (SYSCALL_ERROR_HANDLER): Likewise.
45781 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45782 (HAVE_GCC_GOTDATA): New.
45783 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45784 relocation support in both binutils and gcc.
45785 * sysdeps/sparc/elf/configure: Regenerate.
45787 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45788 * sysdeps/sparc/sparc32/elf/configure: Delete.
45789 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45790 * sysdeps/sparc/sparc64/elf/configure: Delete.
45791 * sysdeps/sparc/elf/configure.in: New file.
45792 * sysdeps/sparc/elf/configure: Generate.
45794 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45795 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45796 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45797 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45798 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45800 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45802 * manual/install.texi: Do not mention specific glibc version
45804 * manual/libc.texinfo (VERSION, UPDATED): Update.
45805 (@copying): Use @copyright{} and range of years.
45807 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45810 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45811 [crti.S not in sysdirs] (generated): Do not append.
45812 [crti.S not in sysdirs] (omit-deps): Likewise.
45813 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45814 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45815 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45816 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45817 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45819 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45820 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45821 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45822 * csu/defs.awk: Remove file.
45823 * sysdeps/generic/initfini.c: Likewise.
45824 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45826 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45829 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45831 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45832 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45833 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45834 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45835 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45836 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45838 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45839 (__EPOLL_PACKED): Define to empty if not defined by
45841 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45845 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45847 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45848 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45849 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45850 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45852 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45856 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45858 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45860 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45861 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45862 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45865 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45867 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45868 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45870 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45872 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45873 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45875 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45877 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45880 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45882 * math/w_acos.c: Use non-signaling floating-point comparisons.
45883 * math/w_acosf.c: Likewise.
45884 * math/w_acosh.c: Likewise.
45885 * math/w_acoshf.c: Likewise.
45886 * math/w_acoshl.c: Likewise.
45887 * math/w_acosl.c: Likewise.
45888 * math/w_asin.c: Likewise.
45889 * math/w_asinf.c: Likewise.
45890 * math/w_asinl.c: Likewise.
45891 * math/w_atanh.c: Likewise.
45892 * math/w_atanhf.c: Likewise.
45893 * math/w_atanhl.c: Likewise.
45894 * math/w_exp2.c: Likewise.
45895 * math/w_exp2f.c: Likewise.
45896 * math/w_exp2l.c: Likewise.
45897 * math/w_j0.c: Likewise.
45898 * math/w_j0f.c: Likewise.
45899 * math/w_j0l.c: Likewise.
45900 * math/w_j1.c: Likewise.
45901 * math/w_j1f.c: Likewise.
45902 * math/w_j1l.c: Likewise.
45903 * math/w_jn.c: Likewise.
45904 * math/w_jnf.c: Likewise.
45905 * math/w_log.c: Likewise.
45906 * math/w_log10.c: Likewise.
45907 * math/w_log10f.c: Likewise.
45908 * math/w_log10l.c: Likewise.
45909 * math/w_log2.c: Likewise.
45910 * math/w_log2f.c: Likewise.
45911 * math/w_log2l.c: Likewise.
45912 * math/w_logf.c: Likewise.
45913 * math/w_logl.c: Likewise.
45914 * math/w_sqrt.c: Likewise.
45915 * math/w_sqrtf.c: Likewise.
45916 * math/w_sqrtl.c: Likewise.
45917 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45918 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45919 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45920 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45921 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45923 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45926 * manual/string.texi (strnlen): Use correct parameter name in
45927 equivalent expression.
45929 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45932 * manual/users.texi (seteuid): Consistently use neweuid for
45935 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45938 * manual/nss.texi (Services in the NSS configuration): Correct
45939 list of services in example configuration file.
45941 2012-02-19 Nick Bowler <nbowler@draconx.ca>
45944 * manual/arith.texi: Remove statements about negative zero
45945 behaving identically to zero.
45947 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45950 * manual/install.texi: Do not document upgrading from libc5.
45952 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45955 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45957 2012-02-18 David S. Miller <davem@davemloft.net>
45959 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45960 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45961 %o7 across the call.
45962 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45964 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45965 SETUP_PIC_REG_LEAF.
45966 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45967 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45968 * sysdeps/sparc/crtn.S: Likewise.
45970 2012-02-17 Ulrich Drepper <drepper@gmail.com>
45972 * aout/Makefile: Remove.
45974 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45977 * manual/examples/argp-ex1.c (main): Format definition in GNU
45979 * manual/examples/argp-ex2.c (main): Likewise.
45980 * manual/examples/argp-ex3.c (main): Likewise.
45981 * manual/examples/argp-ex4.c (main): Likewise.
45982 * manual/examples/longopt.c (main): Use new-style prototype
45984 * manual/examples/strncat.c (main): Specify return type and use
45985 (void) for arguments.
45986 * manual/examples/subopt.c (main): Use char **argv argument.
45988 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45991 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45994 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45997 * manual/string.texi (strchr): Change when strchrnul is
46000 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46003 * manual/locale.texi (setlocale): Document LOCPATH.
46005 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46008 * manual/process.texi (execle): Move @dots{} before last argument.
46010 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
46013 * manual/charset.texi (Generic Charset Conversion): Fix typo
46014 (LC_TYPE -> LC_CTYPE).
46016 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46019 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46020 (scalbnf): Likewise.
46021 (scalbnl): Likewise.
46022 (scalbln): Likewise.
46023 (scalblnf): Likewise.
46024 (scalblnl): Likewise.
46025 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46026 (vwarnx): Likewise.
46029 * manual/filesys.texi (telldir): Use braces around return type.
46030 * manual/llio.texi (mmap): Add space after comma.
46031 (mmap64): Likewise.
46032 * manual/math.texi (jn): Use @var{} on parameter names.
46038 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46040 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46042 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46043 (sched_get_priority_max): Likewise.
46044 * manual/signal.texi (sigvec): Add space after comma.
46045 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46047 (if_indextoname): Likewise.
46048 (if_freenameindex): Likewise.
46049 (sendto): Use ',' instead of '.' in prototype.
46050 * manual/startup.texi (syscall): Use @dots{} instead of literal
46052 * manual/stdio.texi (__fpending): Separate initial words of
46053 paragraph from @deftypefun line.
46054 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46056 (vsyslog): Use @var{} on parameter names.
46057 * manual/terminal.texi (stty): Use @var{} on parameter names.
46058 * manual/users.texi (getutmp): Use @var{} on parameter names.
46059 (getutmpx): Likewise.
46061 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46064 * manual/stdio.texi (fopen): Fix typos in description of
46067 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46070 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46071 get clock_id definition.
46073 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
46076 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46077 (madvise): Cast every argument to void on its own.
46079 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46082 * manual/startup.texi (Exit Status): Fix typo.
46084 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46087 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46088 * manual/examples/argp-ex2.c: Likewise.
46089 * manual/examples/argp-ex3.c: Likewise.
46091 2012-02-16 Richard Henderson <rth@redhat.com>
46093 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46094 * sysdeps/s390/s390-32/initfini.c: Remove.
46095 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46096 * sysdeps/s390/s390-64/initfini.c: Remove.
46098 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46100 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46101 compiler output for sysdeps/generic/initfini.c.
46102 * sysdeps/sh/elf/initfini.c: Remove file.
46104 2012-02-16 David S. Miller <davem@davemloft.net>
46107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46109 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46110 * sysdeps/sparc/crti.S: New file.
46111 * sysdeps/sparc/crtn.S: New file.
46112 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46113 * sysdeps/sparc/sparc64/Makefile: Likewise.
46115 2012-02-15 Mike Frysinger <vapier@gentoo.org>
46118 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46120 2012-02-15 Roland McGrath <roland@hack.frob.com>
46123 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46125 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46126 (write, read, close): Likewise.
46127 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46129 2012-02-15 Joseph Myers <joseph@codesourcery.com>
46131 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46132 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46133 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46134 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46136 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46140 2012-02-14 Marek Polacek <polacek@redhat.com>
46142 * sysdeps/x86_64/crti.S: New file.
46143 * sysdeps/x86_64/crtn.S: New file.
46144 * sysdeps/x86_64/elf/initfini.c: Remove file.
46146 2012-02-13 Joseph Myers <joseph@codesourcery.com>
46148 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46149 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46150 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46151 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46153 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46157 2012-02-13 Joseph Myers <joseph@codesourcery.com>
46159 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46160 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46161 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46162 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46164 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46168 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46170 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46171 __feraiseexcept instead of feraiseexcept.
46173 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46174 nanosleep invocations.
46175 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46176 strings, and add error checking for a nanosleep invocations.
46178 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46180 Replace FSF snail mail address with URLs, as per GNU coding standards.
46181 Most of the snail mail addresses were wrong anyway, and omitting
46182 them makes the source code easier to maintain. Almost all of the
46183 changes are to license notices and to locale LC_IDENTIFICATION
46184 addresses, except for this one:
46185 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46186 not its snail mail address.
46188 2012-02-09 Richard Henderson <rth@twiddle.net>
46190 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46191 of kernel-features.h.
46193 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46195 2012-02-08 Marek Polacek <polacek@redhat.com>
46197 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46198 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46199 * sysdeps/gnu/_G_config.h: Likewise.
46200 * sysdeps/generic/_G_config.h: Likewise.
46202 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46204 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46208 * sysdeps/powerpc/powerpc32/crti.S: New file.
46209 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46210 * sysdeps/powerpc/powerpc64/crti.S: New file.
46211 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46213 * Makeconfig (have-initfini): Don't set.
46214 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46215 * configure.in (nopic_initfini): Don't substitute.
46216 * config.h.in (HAVE_INITFINI): Don't #undef.
46217 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46218 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46220 2012-02-08 Joseph Myers <joseph@codesourcery.com>
46222 Support crti.S and crtn.S provided directly by architectures.
46223 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46224 [crti.S in sysdirs] (omit-deps): Likewise.
46225 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46226 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46227 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46228 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46229 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46230 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46231 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46232 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46233 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46234 compiler output for sysdeps/generic/initfini.c.
46235 * sysdeps/i386/elf/Makefile: Remove file.
46236 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46238 2012-02-07 Marek Polacek <polacek@redhat.com>
46240 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46241 * sysdeps/gnu/_G_config.h: Likewise.
46242 * sysdeps/mach/hurd/_G_config.h: Likewise.
46244 2012-02-07 Marek Polacek <polacek@redhat.com>
46246 * math/Makefile (tests): Add tst-CMPLX2.
46247 * math/tst-CMPLX2.c: New file.
46249 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46251 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46253 * math/libm-test.inc (jn_test): Add missing L suffix.
46255 2012-02-06 Marek Polacek <polacek@redhat.com>
46257 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46258 * sysdeps/i386/fpu/e_powf.S: Likewise.
46259 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46260 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46261 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46262 * sysdeps/i386/fpu/e_pow.S: Likewise.
46263 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46264 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46265 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46266 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46267 * sysdeps/i386/fpu/e_log2.S: Likewise.
46268 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46269 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46270 * sysdeps/i386/fpu/e_powl.S: Likewise.
46271 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46272 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46273 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46274 * sysdeps/i386/fpu/e_logl.S: Likewise.
46275 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46276 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46277 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46278 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46279 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46280 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46281 * sysdeps/i386/fpu/e_log.S: Likewise.
46282 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46283 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46284 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46285 * sysdeps/i386/fpu/e_logf.S: Likewise.
46286 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46287 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46288 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46289 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46290 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46291 * sysdeps/i386/fpu/e_log10.S: Likewise.
46292 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46293 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46294 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46295 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46296 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46297 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46298 * sysdeps/i386/asm-syntax.h: Likewise.
46299 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46300 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46301 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46302 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46303 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46304 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46305 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46306 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46307 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46308 * sysdeps/powerpc/sysdep.h: Likewise.
46309 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46310 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46312 2012-02-06 Joseph Myers <joseph@codesourcery.com>
46315 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46317 2012-02-06 Joseph Myers <joseph@codesourcery.com>
46319 * sysdeps/i386/sysdep.h: Include <features.h>.
46320 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46323 2012-02-05 Joseph Myers <joseph@codesourcery.com>
46325 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46327 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46330 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46332 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46333 (SETUP_PIC_REG): Use GET_PC_THUNK.
46334 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46337 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46339 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46340 for non-PIC compilation.
46341 (SETUP_PIC_REG): Add .p2align directive.
46342 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46343 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46344 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46345 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46346 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46347 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46348 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46349 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46350 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46351 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46352 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46353 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46354 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46355 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46356 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46357 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46358 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46359 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46360 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46361 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46362 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46363 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46364 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46365 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46366 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46367 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46368 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46369 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46370 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46371 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46372 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46373 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46374 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46375 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46376 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46377 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46378 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46379 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46380 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46381 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46382 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46384 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46386 * math/tst-CMPLX.c: Include <stdio.h>.
46388 2012-01-31 Joseph Myers <joseph@codesourcery.com>
46390 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46392 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46393 * sysdeps/sparc/bits/mathdef.h: Likewise.
46395 2012-01-31 Marek Polacek <polacek@redhat.com>
46397 * libio/libio.h: Don't define _PARAMS.
46398 * locale/programs/config.h: Don't define PARAMS.
46399 * stdlib/strtol_l.c: Likewise.
46400 (__strtol_l): Remove PARAMS from the prototype.
46402 2012-01-31 Ulrich Drepper <drepper@gmail.com>
46404 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46405 names. Just use the correct names. Remove unnecessary wrapper
46407 * malloc/arena.c: Likewise.
46408 * malloc/hooks.c: Likewise.
46410 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46411 ARENA_TEST says not to. Simplify test for creation of a new arena.
46412 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46414 2012-01-30 Ulrich Drepper <drepper@gmail.com>
46416 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46418 (update_get_addr): New function.
46419 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46420 GET_ADDR_MODULE parameter.
46422 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46424 * crypt/cert.c: Remove __STDC__ conditionals.
46425 * crypt/crypt-entry.c: Likewise.
46426 * crypt/crypt_util.c: Likewise.
46427 * libio/filedoalloc.c: Likewise.
46428 * libio/fileops.c: Likewise.
46429 * libio/genops.c: Likewise.
46430 * libio/iofclose.c: Likewise.
46431 * libio/iofdopen.c: Likewise.
46432 * libio/iofopen.c: Likewise.
46433 * libio/iofopen64.c: Likewise.
46434 * libio/iogetdelim.c: Likewise.
46435 * libio/iopopen.c: Likewise.
46436 * libio/obprintf.c: Likewise.
46437 * libio/oldfileops.c: Likewise.
46438 * libio/oldiofclose.c: Likewise.
46439 * libio/oldiofdopen.c: Likewise.
46440 * libio/oldiofopen.c: Likewise.
46441 * libio/oldiopopen.c: Likewise.
46442 * libio/wfiledoalloc.c: Likewise.
46443 * libio/wgenops.c: Likewise.
46444 * locale/programs/xmalloc.c: Likewise.
46445 * misc/syslog.c: Likewise.
46446 * stdio-common/xbug.c: Likewise.
46447 * string/memchr.c: Likewise.
46448 * string/memcmp.c: Likewise.
46449 * string/memrchr.c: Likewise.
46450 * string/rawmemchr.c: Likewise.
46451 * sysdeps/posix/getcwd.c: Likewise.
46452 * time/strftime_l.c: Likewise.
46454 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46456 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46457 * config.make.in (config-cflags-sse2avx): Define.
46458 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46461 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46463 * scripts/config.guess: Update from upstream config git repository.
46464 * scripts/config.sub: Likewise.
46466 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46468 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46470 (R_TILEPRO_*, R_TILEGX_*): New macros.
46472 * scripts/firstversions.awk: Fix bug in version range handling.
46474 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46476 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46478 * include/sys/epoll.h: New file.
46479 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46482 2012-01-28 Ulrich Drepper <drepper@gmail.com>
46484 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46485 Avoid unnecessary __WORDSIZE == 64 test.
46486 (fmaxf): Use VEX format if possible.
46491 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46492 * math/math_private.h: Remove libc_fegetround* and
46494 * sysdeps/i386/configure.in: Check for -msse2avx.
46495 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46496 also if SSE2AVX is defined.
46497 Remove libc_fegetround* and libc_fesetround*.
46498 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46499 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46500 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46502 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46503 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46504 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46505 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46506 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46508 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46510 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46512 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46514 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46516 2012-01-27 Ulrich Drepper <drepper@gmail.com>
46519 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46521 * Makeconfig (libm): Define.
46522 * elf/Makefile: Add rules to build and run tst-relsort1.
46523 * elf/tst-relsort1.c: New file.
46524 * elf/tst-relsort1mod1.c: New file.
46525 * elf/tst-relsort1mod2.c: New file.
46527 2012-01-27 Joseph Myers <joseph@codesourcery.com>
46529 * math/s_ldexp.c: Remove __STDC__ conditionals.
46530 * math/s_ldexpf.c: Likewise.
46531 * math/s_ldexpl.c: Likewise.
46532 * math/s_nextafter.c: Likewise.
46533 * math/s_nexttowardf.c: Likewise.
46534 * math/s_significand.c: Likewise.
46535 * math/s_significandf.c: Likewise.
46536 * math/s_significandl.c: Likewise.
46537 * math/w_jnl.c: Likewise.
46538 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46539 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46540 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46541 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46542 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46544 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46545 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46546 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46547 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46548 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46549 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46550 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46551 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46552 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46553 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46554 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46555 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46556 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46557 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46558 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46559 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46560 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46561 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46562 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46563 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46564 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46565 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46566 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46567 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46568 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46569 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46570 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46571 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46572 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46573 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46574 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46575 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46576 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46577 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46578 * sysdeps/ieee754/k_standard.c: Likewise.
46579 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46580 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46581 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46582 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46583 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46584 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46585 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46586 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46587 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46588 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46589 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46590 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46591 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46592 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46593 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46594 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46595 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46596 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46597 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46598 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46599 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46600 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46601 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46602 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46603 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46604 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46605 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46606 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46608 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46609 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46610 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46611 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46612 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46613 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46614 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46615 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46616 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46617 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46618 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46619 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46620 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46621 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46622 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46623 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46624 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46625 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46626 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46627 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46628 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46629 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46630 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46631 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46632 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46633 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46634 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46635 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46636 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46637 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46638 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46639 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46640 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46641 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46642 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46643 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46644 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46645 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46646 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46647 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46648 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46649 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46650 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46651 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46652 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46653 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46654 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46655 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46656 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46657 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46658 * sysdeps/ieee754/s_matherr.c: Likewise.
46659 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46660 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46661 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46662 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46664 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46666 * crypt/md5.h: Remove __STDC__ conditionals.
46667 * libio/libioP.h: Likewise.
46668 * locale/programs/config.h: Likewise.
46669 * sysdeps/generic/sysdep.h: Likewise.
46670 * sysdeps/i386/asm-syntax.h: Likewise.
46671 * sysdeps/s390/asm-syntax.h: Likewise.
46672 * sysdeps/unix/sysdep.h: Likewise.
46673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46676 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46678 * libio/libio.h: Remove __STDC__ conditionals.
46679 * malloc/obstack.h: Likewise.
46680 * math/complex.h: Likewise.
46681 * math/math.h: Likewise.
46682 * sysdeps/generic/_G_config.h: Likewise.
46683 * sysdeps/gnu/_G_config.h: Likewise.
46684 * sysdeps/mach/hurd/_G_config.h: Likewise.
46685 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46686 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46687 * sysdeps/sparc/bits/mathdef.h: Likewise.
46689 2012-01-26 Ulrich Drepper <drepper@gmail.com>
46692 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46693 Clean up HAS_* macros.
46694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46695 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46697 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46699 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46700 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46701 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46702 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46703 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46705 2012-01-25 Joseph Myers <joseph@codesourcery.com>
46707 * elf/tst-unique3.cc (gets): Remove declaration.
46708 * elf/tst-unique3lib.cc (gets): Likewise.
46709 * elf/tst-unique3lib2.cc (gets): Likewise.
46710 * elf/tst-unique4.cc (gets): Likewise.
46712 2012-01-24 Ulrich Drepper <drepper@gmail.com>
46714 * include/stdio.h: Add C++ protection. Add gets declarations and
46716 * debug/tst-chk1.c: Don't declare gets here.
46717 * stdio-common/tst-gets.c: Likewise.
46719 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46721 * posix/glob: Remove directory.
46723 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46725 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46727 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46729 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46730 of the non-standard EPFNOSUPPORT.
46732 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46734 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46735 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46736 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46738 2012-01-21 Ulrich Drepper <drepper@gmail.com>
46740 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46742 2012-01-20 Ulrich Drepper <drepper@gmail.com>
46744 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46746 * nscd/grpcache.c (cache_addgr): Likewise.
46747 * nscd/hstcache.c (cache_addhst): Likewise.
46748 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46749 * nscd/pwdcache.c (cache_addpw): Likewise.
46750 * nscd/servicescache.c (cache_addserv): Likewise.
46752 2012-01-16 Ulrich Drepper <drepper@gmail.com>
46754 * malloc/malloc.c: Various cleanups.
46755 * malloc/hooks.c: Likewise.
46757 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46758 * stdlib/bug-fmtmsg1.c: New file.
46760 * stdlib/fmtmsg.c (init): Add missing unlock.
46761 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46763 2012-01-12 Marek Polacek <polacek@redhat.com>
46765 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46768 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46770 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46771 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46772 macro to ensure uniqueness of label name.
46773 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46774 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46776 2012-01-11 Ulrich Drepper <drepper@gmail.com>
46778 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46780 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46781 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46782 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46783 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46785 2012-01-10 Ulrich Drepper <drepper@gmail.com>
46787 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46789 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46790 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46791 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46793 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46795 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46796 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46798 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46800 * math/bits/math-finite.h: Add ldexp support.
46802 2012-01-10 Marek Polacek <polacek@redhat.com>
46804 * locale/programs/localedef.h (show_archive_content): Add noreturn
46807 2012-01-09 Ulrich Drepper <drepper@gmail.com>
46809 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46811 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46813 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46815 * io/Makefile (headers): Add bits/poll2.h.
46817 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46820 typo #include statement.
46822 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46824 * include/sys/cdefs.h: Define __attribute_alloc_size.
46825 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46826 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46827 * elf/pldd.c: Likewise.
46828 * iconv/iconv_charmap.c: Likewise.
46829 * iconv/iconvconfig.c: Likewise.
46830 * iconv/strtab.c: Likewise.
46831 * locale/programs/locale.c: Likewise.
46832 * locale/programs/localedef.h: Likewise.
46833 * locale/programs/simple-hash.c: Likewise.
46834 * nscd/nscd.h: Likewise.
46835 * nss/makedb.c: Likewise.
46836 * sysdeps/generic/ldconfig.h: Likewise.
46837 * locale/programs/localedef.c: Remove xmalloc prototype.
46838 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46840 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46842 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46845 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46847 * math/Makefile (tests): Add tst-CMPLX.
46848 * math/tst-CMPLX.c: New file.
46850 * math/complex.h (CMPLXL): Fix typo.
46852 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46853 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46855 * debug/tst-chk1.c: Add poll and ppoll tests.
46856 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46857 * include/sys/poll.h: Add hidden proto for ppoll.
46858 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46859 * sysdeps/mach/hurd/ppoll.c: Likewise.
46860 * io/ppoll.c: Likewise.
46861 * debug/poll_chk.c: New file.
46862 * debug/ppoll_chk.c: New file.
46863 * include/bits/poll2.h: New file.
46864 * io/bits/poll2.h: New file.
46867 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46869 * configure.in: static is always set to yes. Remove.
46870 * config.make.in: Don't set build-static.
46871 * Makeconfig: Remove use of build-static.
46872 * dlfcn/Makefile: Likewise.
46873 * elf/Makefile: Likewise.
46874 * math/Makefile: Likewise.
46875 * misc/Makefile: Likewise.
46876 * nptl/Makefile: Likewise.
46877 * sysdeps/mach/hurd/Makefile: Likewise.
46879 * configure.in: PWD_P is not used anymore.
46880 * config.make.in: Remove PWD_P entry.
46882 * configure.in: Remove last remnants of RANLIB.
46883 No need to check for signed size_t anymore.
46884 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46886 Remove __builtin_expect test because we require at least gcc 3.4.
46887 * aclocal.m4: Likewise.
46889 * wcsmbs/mbrtoc16.c: Implement using towc function.
46890 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46891 * wcsmbs/wcsmbsload.c: Likewise.
46892 * iconv/gconv_simple.c: Likewise.
46893 * iconv/gconv_int.h: Likewise.
46894 * iconv/gconv_builtin.h: Likewise.
46895 * iconv/iconv_prog.c: Remove CHAR16 handling.
46897 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46899 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46901 * configure.in: Remove --with-elf and --enable-bounded options.
46902 Dont set base_machine for ia64. More non-ELF conditions removed.
46903 Remove testing and setting of leading underscore information.
46904 * config.make.in (build-bounded): Set to no.
46905 * config.h.in: Remove NO_UNDERSCORES entry.
46906 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46908 * csu/start.c: Remove !NO_UNDERSCORE code.
46909 * locale/localeinfo.h: Likewise.
46910 * sysdeps/generic/machine-gmon.h: Likewise.
46911 * sysdeps/generic/sysdep.h: Likewise.
46912 * sysdeps/i386/sysdep.h: Likewise.
46913 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46914 * sysdeps/mach/sysdep.h: Likewise.
46915 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46916 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46917 * sysdeps/sh/sysdep.h: Likewise.
46918 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46919 * sysdeps/unix/i386/sysdep.S: Likewise.
46920 * sysdeps/unix/sparc/start.c: Likewise.
46921 * sysdeps/unix/sparc/sysdep.S: Likewise.
46922 * sysdeps/unix/sparc/sysdep.h: Likewise.
46923 * sysdeps/unix/start.c: Likewise.
46924 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46925 * sysdeps/x86_64/sysdep.h: Likewise.
46927 2012-01-07 Ulrich Drepper <drepper@gmail.com>
46930 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46932 * argp/argp-fmtstream.h: Use const instead __const.
46933 * argp/argp.h: Likewise.
46934 * assert/assert.h: Likewise.
46935 * bits/fenv.h: Likewise.
46936 * bits/sched.h: Likewise.
46937 * bits/sigset.h: Likewise.
46938 * bits/sigthread.h: Likewise.
46939 * catgets/nl_types.h: Likewise.
46940 * conform/data/pthread.h-data: Likewise.
46941 * crypt/crypt-private.h: Likewise.
46942 * crypt/crypt.h: Likewise.
46943 * crypt/crypt_util.c: Likewise.
46944 * ctype/ctype.h: Likewise.
46945 * debug/execinfo.h: Likewise.
46946 * debug/mbsnrtowcs_chk.c: Likewise.
46947 * debug/mbsrtowcs_chk.c: Likewise.
46948 * debug/wcsnrtombs_chk.c: Likewise.
46949 * debug/wcsrtombs_chk.c: Likewise.
46950 * debug/wcstombs_chk.c: Likewise.
46951 * dirent/dirent.h: Likewise.
46952 * dlfcn/dlfcn.h: Likewise.
46953 * elf/neededtest4.c: Likewise.
46954 * grp/grp.h: Likewise.
46955 * gshadow/gshadow.h: Likewise.
46956 * iconv/gconv.h: Likewise.
46957 * iconv/gconv_int.h: Likewise.
46958 * iconv/gconv_simple.c: Likewise.
46959 * iconv/iconv.h: Likewise.
46960 * iconv/loop.c: Likewise.
46961 * iconv/skeleton.c: Likewise.
46962 * include/aio.h: Likewise.
46963 * include/aliases.h: Likewise.
46964 * include/argz.h: Likewise.
46965 * include/arpa/inet.h: Likewise.
46966 * include/assert.h: Likewise.
46967 * include/dirent.h: Likewise.
46968 * include/dlfcn.h: Likewise.
46969 * include/execinfo.h: Likewise.
46970 * include/fcntl.h: Likewise.
46971 * include/fenv.h: Likewise.
46972 * include/glob.h: Likewise.
46973 * include/grp.h: Likewise.
46974 * include/libintl.h: Likewise.
46975 * include/mntent.h: Likewise.
46976 * include/netdb.h: Likewise.
46977 * include/pwd.h: Likewise.
46978 * include/rpc/netdb.h: Likewise.
46979 * include/sched.h: Likewise.
46980 * include/search.h: Likewise.
46981 * include/shadow.h: Likewise.
46982 * include/signal.h: Likewise.
46983 * include/stdio.h: Likewise.
46984 * include/stdlib.h: Likewise.
46985 * include/string.h: Likewise.
46986 * include/sys/socket.h: Likewise.
46987 * include/sys/stat.h: Likewise.
46988 * include/sys/statfs.h: Likewise.
46989 * include/sys/statvfs.h: Likewise.
46990 * include/sys/syslog.h: Likewise.
46991 * include/sys/time.h: Likewise.
46992 * include/sys/uio.h: Likewise.
46993 * include/time.h: Likewise.
46994 * include/unistd.h: Likewise.
46995 * include/utmp.h: Likewise.
46996 * include/wchar.h: Likewise.
46997 * include/wctype.h: Likewise.
46998 * inet/aliases.h: Likewise.
46999 * inet/arpa/inet.h: Likewise.
47000 * inet/netinet/ether.h: Likewise.
47001 * inet/netinet/in.h: Likewise.
47002 * intl/libintl.h: Likewise.
47003 * io/bits/fcntl2.h: Likewise.
47004 * io/fcntl.h: Likewise.
47005 * io/ftw.h: Likewise.
47006 * io/sys/poll.h: Likewise.
47007 * io/sys/stat.h: Likewise.
47008 * io/sys/statfs.h: Likewise.
47009 * io/sys/statvfs.h: Likewise.
47010 * io/utime.h: Likewise.
47011 * libio/bits/stdio.h: Likewise.
47012 * libio/bits/stdio2.h: Likewise.
47013 * libio/libio.h: Likewise.
47014 * libio/libioP.h: Likewise.
47015 * libio/stdio.h: Likewise.
47016 * locale/lc-ctype.c: Likewise.
47017 * locale/locale.h: Likewise.
47018 * login/utmp.h: Likewise.
47019 * malloc/arena.c: Likewise.
47020 * malloc/malloc.c: Likewise.
47021 * malloc/malloc.h: Likewise.
47022 * malloc/mcheck.c: Likewise.
47023 * malloc/mtrace.c: Likewise.
47024 * math/bits/mathcalls.h: Likewise.
47025 * math/fenv.h: Likewise.
47026 * math/math_private.h: Likewise.
47027 * misc/bits/error.h: Likewise.
47028 * misc/bits/syslog.h: Likewise.
47029 * misc/err.h: Likewise.
47030 * misc/error.h: Likewise.
47031 * misc/fstab.h: Likewise.
47032 * misc/mntent.h: Likewise.
47033 * misc/regexp.h: Likewise.
47034 * misc/search.h: Likewise.
47035 * misc/sgtty.h: Likewise.
47036 * misc/sys/mman.h: Likewise.
47037 * misc/sys/syslog.h: Likewise.
47038 * misc/sys/uio.h: Likewise.
47039 * misc/sys/xattr.h: Likewise.
47040 * misc/ttyent.h: Likewise.
47041 * nis/rpcsvc/ypclnt.h: Likewise.
47042 * nss/nss.h: Likewise.
47043 * posix/bits/unistd.h: Likewise.
47044 * posix/fnmatch.h: Likewise.
47045 * posix/glob.h: Likewise.
47046 * posix/sched.h: Likewise.
47047 * posix/spawn.h: Likewise.
47048 * posix/sys/wait.h: Likewise.
47049 * posix/unistd.h: Likewise.
47050 * posix/wordexp.h: Likewise.
47051 * pwd/pwd.h: Likewise.
47052 * resolv/netdb.h: Likewise.
47053 * resource/sys/resource.h: Likewise.
47054 * rt/aio.h: Likewise.
47055 * rt/bits/mqueue2.h: Likewise.
47056 * rt/mqueue.h: Likewise.
47057 * shadow/shadow.h: Likewise.
47058 * signal/signal.h: Likewise.
47059 * socket/send.c: Likewise.
47060 * socket/sendto.c: Likewise.
47061 * socket/sys/socket.h: Likewise.
47062 * stdio-common/printf.h: Likewise.
47063 * stdlib/bits/stdlib.h: Likewise.
47064 * stdlib/fmtmsg.h: Likewise.
47065 * stdlib/monetary.h: Likewise.
47066 * stdlib/stdlib.h: Likewise.
47067 * stdlib/ucontext.h: Likewise.
47068 * streams/stropts.h: Likewise.
47069 * string/argz.h: Likewise.
47070 * string/bits/string2.h: Likewise.
47071 * string/string.h: Likewise.
47072 * string/strings.h: Likewise.
47073 * sunrpc/rpc/auth.h: Likewise.
47074 * sunrpc/rpc/auth_des.h: Likewise.
47075 * sunrpc/rpc/clnt.h: Likewise.
47076 * sunrpc/rpc/netdb.h: Likewise.
47077 * sunrpc/rpc/pmap_clnt.h: Likewise.
47078 * sunrpc/rpc/xdr.h: Likewise.
47079 * sysdeps/generic/inttypes.h: Likewise.
47080 * sysdeps/generic/net/if.h: Likewise.
47081 * sysdeps/generic/sys/swap.h: Likewise.
47082 * sysdeps/gnu/net/if.h: Likewise.
47083 * sysdeps/gnu/utmpx.h: Likewise.
47084 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47085 * sysdeps/i386/i486/bits/string.h: Likewise.
47086 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47087 * sysdeps/s390/bits/string.h: Likewise.
47088 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47089 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47090 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47091 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47092 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47093 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47094 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47095 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47096 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47097 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47098 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47099 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47100 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47101 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47102 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47103 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47104 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47105 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47106 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47107 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47108 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47109 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47110 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47111 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47112 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47113 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47114 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47115 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47116 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47117 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47118 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47119 * sysvipc/sys/ipc.h: Likewise.
47120 * sysvipc/sys/msg.h: Likewise.
47121 * sysvipc/sys/sem.h: Likewise.
47122 * sysvipc/sys/shm.h: Likewise.
47123 * termios/termios.h: Likewise.
47124 * time/sys/time.h: Likewise.
47125 * time/time.h: Likewise.
47126 * wcsmbs/bits/wchar2.h: Likewise.
47127 * wcsmbs/uchar.h: Likewise.
47128 * wcsmbs/wchar.h: Likewise.
47129 * wctype/wctype.h: Likewise.
47132 * Makeconfig: Remove all but ELF support including AIX support.
47133 * Makerules: Likewise.
47134 * config.h.in: Likewise.
47135 * config.make.in: Likewise.
47136 * configure: Likewise.
47137 * configure.in: Likewise.
47138 * csu/Makefile: Likewise.
47139 * csu/version.c: Likewise.
47140 * debug/Makefile: Likewise.
47141 * dlfcn/Makefile: Likewise.
47142 * elf/Makefile: Likewise.
47143 * extra-lib.mk: Likewise.
47144 * iconv/Makefile: Likewise.
47145 * include/libc-symbols.h: Likewise.
47146 * include/shlib-compat.h: Likewise.
47147 * resolv/Makefile: Likewise.
47148 * resolv/res_libc.c: Likewise.
47149 * rt/Makefile: Likewise.
47150 * sysdeps/i386/asm-syntax.h: Likewise.
47151 * sysdeps/i386/sysdep.h: Likewise.
47152 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47153 * sysdeps/mach/sysdep.h: Likewise.
47154 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47155 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47156 * sysdeps/s390/asm-syntax.h: Likewise.
47157 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47158 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47159 * sysdeps/sh/sysdep.h: Likewise.
47160 * sysdeps/unix/sparc/sysdep.h: Likewise.
47161 * sysdeps/wordsize-32/divdi3.c: Likewise.
47162 * sysdeps/x86_64/sysdep.h: Likewise.
47164 * argp/Versions: Remove _argp_unlock_xxx.
47167 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47168 * abilist/libBrokenLocale.abilist: Likewise.
47169 * abilist/libanl.abilist: Likewise.
47170 * abilist/libc.abilist: Likewise.
47171 * abilist/libcrypt.abilist: Likewise.
47172 * abilist/libdl.abilist: Likewise.
47173 * abilist/libm.abilist: Likewise.
47174 * abilist/libnsl.abilist: Likewise.
47175 * abilist/libpthread.abilist: Likewise.
47176 * abilist/libresolv.abilist: Likewise.
47177 * abilist/librt.abilist: Likewise.
47178 * abilist/libthread_db.abilist: Likewise.
47179 * abilist/libutil.abilist: Likewise.
47180 * abilist/libnss_db.abilist: New file.
47182 * scripts/abilist.awk: Add support for indirect functions.
47184 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47186 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47188 * shlib-versions: Remove entries for ports architectures.
47190 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47192 * elf/stackguard-macros.h: Remove support for IA-64.
47193 * elf/tst-auditmod1.c: Likewise.
47194 * sysdeps/generic/ldsodefs.h: Likewise.
47196 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47197 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47201 * configure.in: Remove --enable-omitfp support.
47203 * config.make.in: Likewise.
47204 * Makeconfig: Likewise.
47205 * manual/install.texi: Likewise.
47207 In case anyone cares, the IA-64 architecture could move to ports.
47208 * sysdeps/ia64/*: Removed.
47209 * sysdeps/unix/sysv/linux/ia64/*: Removed.
47210 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47213 * configure.in: Remove entries for unsupported architectures.
47216 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47217 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47219 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47220 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47221 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47222 fall back to using wcrtomb.
47223 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47224 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47226 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47227 * wcsmbs/tst-c16c32-1.c: New file.
47229 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47232 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47234 * elf/tst-unique3.cc: Add explicit declaration of gets.
47235 * elf/tst-unique3lib.cc: Likewise.
47236 * elf/tst-unique3lib2.cc: Likewise.
47237 * elf/tst-unique4.cc: Likewise.
47239 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47241 2012-01-06 Joseph Myers <joseph@codesourcery.com>
47244 * assert/assert.h (static_assert): Don't define for C++.
47245 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47246 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47248 2012-01-03 Ulrich Drepper <drepper@gmail.com>
47250 * iconv/loop.c (single loop): Fix assertion in storing of
47253 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47255 2012-01-01 Ulrich Drepper <drepper@gmail.com>
47257 * posix/getconf.c: Update copyright year.
47258 * nss/getent.c: Likewise.
47259 * nss/makedb.c: Likewise.
47260 * iconv/iconvconfig.c: Likewise.
47261 * iconv/iconv_prog.c: Likewise.
47262 * elf/ldconfig.c: Likewise.
47263 * elf/pldd.c: Likewise.
47264 * elf/sotruss.ksh: Likewise.
47265 * catgets/gencat.c: Likewise.
47266 * csu/version.c: Likewise.
47267 * elf/ldd.bash.in: Likewise.
47268 * elf/sprof.c (print_version): Likewise.
47269 * locale/programs/locale.c: Likewise.
47270 * locale/programs/localedef.c: Likewise.
47271 * login/programs/pt_chown.c: Likewise.
47272 * nscd/nscd.c (print_version): Likewise.
47273 * debug/xtrace.sh: Likewise.
47274 * malloc/memusage.sh: Likewise.
47275 * malloc/mtrace.pl: Likewise.
47276 * debug/catchsegv.sh: Likewise.
47278 2011-12-30 Jakub Jelinek <jakub@redhat.com>
47280 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47283 2011-12-24 Ulrich Drepper <drepper@gmail.com>
47286 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47287 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47289 * iconv/gconv_int.h: Likewise.
47290 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47291 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47292 from libc for GLIBC_2.16.
47293 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47294 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47295 * wcsmbs/uchar.h: Really define mbstate_t.
47296 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47297 * wcsmbs/c16rtomb.c: New file.
47298 * wcsmbs/mbrtoc16.c: New file.
47299 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47300 for C/POSIX locale.
47301 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47302 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47304 * wcsmbs/wchar.h: Add missing __restrict.
47306 2011-12-23 Ulrich Drepper <drepper@gmail.com>
47309 * time/Makefile (routines): Add timespec_get.
47310 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47311 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47312 timespec for ISO C11.
47313 * time/timespec_get.c: New file.
47314 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47315 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47318 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47319 * stdlib/stdlib.h: Declare aligned_alloc.
47320 * Versions.def: Add GLIBC_2.16 for libc.
47321 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47324 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47327 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47331 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47334 * assert/assert.h (static_assert): Define.
47336 * version.h: Update for 2.16 development version.
47339 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47342 * version.h (RELEASE): Bump for 2.15 release.
47343 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47345 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47346 Patch by Marek Polacek <mpolacek@redhat.com>.
47348 * bits/byteswap.h: Protect long long constants with __extension__.
47349 * sysdeps/i386/bits/byteswap.h: Likewise.
47350 * sysdeps/ia64/bits/byteswap.h: Likewise.
47351 * sysdeps/s390/bits/byteswap.h: Likewise.
47352 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47354 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47357 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47358 destination buffer.
47359 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47361 2011-12-23 Marek Polacek <polacek@redhat.com>
47363 * elf/dl-addr.c (determine_info): Add inline keyword.
47364 * elf/tst-auditmod4b.c (check_avx): Likewise.
47365 * elf/tst-auditmod6b.c (check_avx): Likewise.
47366 * elf/tst-auditmod6c.c (check_avx): Likewise.
47367 * elf/tst-auditmod7b.c (check_avx): Likewise.
47369 2011-12-23 Ulrich Drepper <drepper@gmail.com>
47371 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47374 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47377 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47378 processing for last bytes.
47380 2011-08-06 Bruno Haible <bruno@clisp.org>
47383 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47384 U+0385, not to U+1FEE.
47387 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47388 entry for U+00A5 U+0301.
47390 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47393 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47394 buffer for the output is too small.
47396 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47400 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47401 SSE flags if possible.
47403 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47406 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47407 processing for last bytes.
47409 2011-12-22 Joseph Myers <joseph@codesourcery.com>
47411 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47412 (syscall-list-default-options, syscall-list-default-condition)
47413 (syscall-list-includes): Define.
47414 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47415 list of ABIs and options and #if conditions for each ABI. Do not
47416 handle common syscalls between ABIs specially.
47417 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47419 (syscall-list-variants, syscall-list-32bit-options)
47420 (syscall-list-32bit-condition, syscall-list-64bit-options)
47421 (syscall-list-64bit-condition): Define.
47422 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47423 (syscall-list-variants, syscall-list-32bit-options)
47424 (syscall-list-32bit-condition, syscall-list-64bit-options)
47425 (syscall-list-64bit-condition): Define.
47426 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47428 (syscall-list-variants, syscall-list-32bit-options)
47429 (syscall-list-32bit-condition, syscall-list-64bit-options)
47430 (syscall-list-64bit-condition): Define.
47431 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47433 (syscall-list-variants, syscall-list-32bit-options)
47434 (syscall-list-32bit-condition, syscall-list-64bit-options)
47435 (syscall-list-64bit-condition): Define.
47437 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47439 * locale/iso-639.def: Add brx entry.
47442 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47443 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47445 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47446 __feraiseexcept_renamed.
47448 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47451 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47452 EPOLLET with unsigned values.
47453 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47454 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47456 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47457 to large cancellation.
47458 * math/s_cacoshf.c: Likewise.
47459 * math/s_cacoshl.c: Likewise.
47461 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47465 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47466 * math/s_cacoshf.c: Likewise.
47467 * math/s_cacoshl.c: Likewise.
47469 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47472 * iconv/gconv.h: Define __GCONV_SWAP.
47473 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47474 * iconvdata/utf-16.c: Likewise.
47475 * iconvdata/utf-32.c: Likewise.
47477 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47480 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47481 numerator after shifting it by one limb.
47483 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47485 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47486 under [__USE_EXTERN_INLINES].
47488 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47491 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47493 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47495 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47496 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47498 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47499 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47500 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47501 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47502 for strncasecmp/strncasecmp_l compilation.
47503 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47504 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47506 2011-12-08 Marek Polacek <mpolacek@redhat.com>
47509 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47512 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47515 * time/tzfile.c (__tzfile_read): Check values from file header.
47517 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47519 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47520 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47521 * powerpc/powerpc32/dl-start.S: Likewise.
47522 * powerpc/powerpc32/elf/start.S: Likewise.
47523 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47524 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47525 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47526 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47527 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47528 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47529 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47530 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47531 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47532 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47533 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47534 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47535 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47536 * powerpc/powerpc32/memset.S: Likewise.
47537 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47538 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47539 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47540 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47541 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47542 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47543 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47544 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47545 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47546 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47547 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47548 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47549 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47551 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47553 * math/libm-test.inc: Added more nearbyint tests.
47554 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47555 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47556 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47557 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47559 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47561 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47564 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47566 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47567 Add wcscpy-ssse3 wcscpy-c.
47568 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47569 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47570 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47571 * sysdeps/x86_64/wcschr.S: New file.
47572 * sysdeps/x86_64/wcsrchr.S: New file.
47573 * string/test-strcmp.c: Remove checking of wcscmp function for
47575 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47576 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47577 wcsrchr-sse2 wcsrchr-c.
47578 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47579 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47580 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47581 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47582 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47583 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47584 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47585 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47586 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47587 * wcsmbc/wcschr.c (WCSCHR): New macro.
47589 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47591 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47592 * wcsmbs/test-wcsrchr.c: New file.
47593 * string/test-strrchr.c: Add wcsrchr support.
47595 * wcsmbs/test-wcscpy.c: New file.
47596 * string/test-strcpy.c: Add wcscpy support.
47599 2011-12-10 Ulrich Drepper <drepper@gmail.com>
47601 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47604 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47607 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47609 2011-12-04 Ulrich Drepper <drepper@gmail.com>
47611 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47612 Minor optimizations.
47614 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47615 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47616 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47618 2011-12-03 Ulrich Drepper <drepper@gmail.com>
47620 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47621 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47622 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47623 for gcc to avoid warnings.
47624 * inet/Makefile (tests): Add tst-checks.
47625 * inet/tst-checks.c: New file.
47627 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47630 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47633 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47634 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47636 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47638 2011-12-02 Ulrich Drepper <drepper@gmail.com>
47640 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47643 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47645 2011-11-29 Joseph Myers <joseph@codesourcery.com>
47647 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47648 conditional on GCC version.
47649 (__arch_compare_and_exchange_val_8_acq)
47650 (__arch_compare_and_exchange_val_16_acq)
47651 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47652 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47653 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47655 2011-12-02 Joseph Myers <joseph@codesourcery.com>
47657 * sysdeps/sh/backtrace.c: New file.
47659 2011-12-02 Andreas Schwab <schwab@redhat.com>
47661 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47664 2011-12-01 Andreas Schwab <schwab@redhat.com>
47666 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47667 falling back to utime.
47669 2011-11-30 Andreas Schwab <schwab@redhat.com>
47671 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47672 expectations for float.
47674 2011-11-29 Andreas Schwab <schwab@redhat.com>
47676 * locale/weight.h (findidx): Add parameter len.
47677 * locale/weightwc.h (findidx): Likewise.
47678 * posix/fnmatch_loop.c (FCT): Adjust caller.
47679 * posix/regcomp.c (build_equiv_class): Likewise.
47680 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47681 * posix/regexec.c (check_node_accept_bytes): Likewise.
47682 * string/strcoll_l.c (STRCOLL): Likewise.
47683 * string/strxfrm_l.c (STRXFRM): Likewise.
47685 2011-11-17 Ulrich Drepper <drepper@gmail.com>
47687 * Makefile.in: Remove CVSOPT handling.
47688 * configure.in: Remove use of AC_REVISION.
47689 * iconvdata/Makefile (distribute): No need to filter out CVS.
47690 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47693 2011-11-16 Andreas Schwab <schwab@redhat.com>
47695 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47696 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47697 [USE_AS_STRNCASECMP_L]: Likewise.
47698 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47699 NO_TLS_DIRECT_SEG_REFS.
47700 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47701 Fix argument offsets for non-PIC.
47702 [USE_AS_STRNCASECMP_L]: Likewise.
47703 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47704 NO_TLS_DIRECT_SEG_REFS.
47706 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47708 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47710 * locale/loadlocale.c (_nl_load_locale): Likewise.
47712 2011-11-15 Andreas Schwab <schwab@redhat.com>
47714 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47715 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47716 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47717 (SYSCALL_GETTIME): Set errno on error.
47719 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47720 count references to noai6ai_cached.
47722 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47724 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47726 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47727 FD_CLOEXEC for /proc/self/maps.
47729 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47730 FD_CLOEXEC for /proc/meminfo.
47732 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47735 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47736 FD_CLOEXEC for given file.
47738 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47740 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47741 FD_CLOEXEC for /etc/hosts.
47742 (_gethtent): Likewise.
47744 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47746 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47747 cancellation and set FD_CLOEXEC for /etc/netgroup.
47749 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47750 reading /etc/publickey.
47752 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47753 allow cancellation when reading /etc/group.
47755 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47757 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47759 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47760 when using data file.
47762 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47764 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47765 (write_nis_obj): Use "c" and "e" in fopen.
47767 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47769 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47771 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47773 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47775 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47778 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47780 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47782 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47784 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47785 file parsing and set FD_CLOEXEC.
47787 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47789 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47791 2011-11-14 Andreas Schwab <schwab@redhat.com>
47793 * malloc/arena.c (arena_get2): Don't call reused_arena when
47794 _int_new_arena failed.
47796 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47798 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47799 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47800 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47801 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47802 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47803 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47804 to compile strcasecmp and strncasecmp.
47805 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47806 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47808 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47810 2011-11-13 Ulrich Drepper <drepper@gmail.com>
47812 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47813 locale-defines.sym to gen-as-const-headers.
47814 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47815 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47816 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47817 to compile strcasecmp and strncasecmp.
47818 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47819 strcasecmp_l and strncasecmp_l.
47820 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47821 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47822 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47823 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47824 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47825 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47826 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47827 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47828 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47829 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47830 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47832 2011-11-12 Ulrich Drepper <drepper@gmail.com>
47834 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47835 result of SYSDEP_GETTIME_CPU to retval.
47836 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47837 parameter list to macro. Remove trailing semicolon. Adjust users.
47839 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47842 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47844 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47846 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47847 from unused variable.
47849 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47851 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47854 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47857 * sunrpc/rpc_prot.c (rejected): Fix case value.
47859 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47860 unsigned long long int to avoid warnings in shift.
47862 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47864 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47867 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47868 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47869 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47871 * nis/nis_table.c (nis_list): Use variable of correct type for
47872 result of __follow_path call.
47874 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47876 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47877 of math functions ceil, trunc, floor, round, and sqrt, when
47878 avaliable on the platform.
47879 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47881 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47882 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47883 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47885 2011-10-30 Marek Polacek <mpolacek@redhat.com>
47887 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47888 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47890 2011-11-11 Roland McGrath <roland@hack.frob.com>
47892 * include/unistd.h: Fix __readlink return type.
47893 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47895 2011-11-11 Ulrich Drepper <drepper@gmail.com>
47897 * stdlib/ucontext.h: Undo last change for makecontext.
47899 2011-11-11 Andreas Schwab <schwab@redhat.com>
47901 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47903 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47904 * setjmp/setjmp.h: Mark functions as non-leaf.
47905 * setjmp/bits/setjmp2.h: Likewise.
47906 * stdlib/ucontext.h: Likewise.
47908 2011-11-10 Andreas Schwab <schwab@redhat.com>
47910 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47911 (reused_arena): Don't check arena limit.
47912 (arena_get2): Atomically check arena limit.
47914 2011-11-08 Ulrich Drepper <drepper@gmail.com>
47916 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47917 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47922 2011-11-07 Andreas Schwab <schwab@redhat.com>
47924 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47925 handler when locking.
47927 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47928 Fix size of allocated buffer.
47930 2011-11-04 Andreas Schwab <schwab@redhat.com>
47933 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47934 declarations for long double functions.
47935 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47937 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47939 2011-11-03 Andreas Schwab <schwab@redhat.com>
47941 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47944 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47947 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47949 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47951 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47953 * include/alloca.h (stackinfo_alloca_round): Define.
47954 (extend_alloca): Use it.
47955 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47956 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47959 * scripts/check-local-headers.sh: Ignore libaudit.h.
47961 * nscd/Makefile (extra-objs): Make recursively expanded.
47963 2011-11-01 Ulrich Drepper <drepper@gmail.com>
47965 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47966 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47968 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47969 * posix/tst-rfc3484-2.c: Likewise.
47970 * posix/tst-rfc3484-3.c: Likewise.
47972 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47974 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47976 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47977 process_vm_writev from libc using GLIBC_2.15 version.
47979 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47981 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47983 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47986 2011-10-31 Ulrich Drepper <drepper@gmail.com>
47989 * nss/getent.c (initgroups_keys): Show error message in case no group
47992 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47993 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47994 __bump_nl_timestamp.
47995 * nscd/connections (nscd_init): When host database is served open
47996 netlink socket and request notification about configuration changes.
47997 (main_loop_poll): Track netlink file descriptor and bump timestamp
47998 in case data becomes available.
47999 (main_loop_epoll): Likewise.
48000 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48001 (database_pers_head): Add extra_data fileds.
48002 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48003 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48004 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48006 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48007 in6ai data, call __free_in6ai.
48008 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48009 Add -DHAVE_NETLINK.
48010 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48011 interface information. Reuse previous data if netlink timestamp
48013 (__bump_nl_timestamp): New function.
48014 (__free_in6ai): New function.
48016 2011-10-30 Ulrich Drepper <drepper@gmail.com>
48018 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48019 close_not_cancel_no_status here.
48020 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48022 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48025 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48028 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48029 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48030 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48032 2011-07-03 Andreas Jaeger <aj@suse.de>
48035 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48036 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48037 * math/libm-test.inc (sin_test): Add test case.
48039 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48042 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48043 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48045 * elf/chroot_canon.c (chroot_canon): Cleanups.
48047 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48050 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48051 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48053 * string/test-strchr.c: Make usable for strchrnul testing.
48054 * string/test-strchrnul.c: New file.
48055 * string/Makefile (strop-tests): Add strchrnul.
48057 * po/it.po: Update from translation team.
48058 * po/es.po: Likewise.
48060 2011-10-28 Ulrich Drepper <drepper@gmail.com>
48062 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48063 the three constants needed as parameters. Drop the others.
48064 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48065 __m128i_strloadu_tolower.
48066 Create and initialize variable zero and use it in all the places
48067 where _mm_setzero_si128 was used.
48069 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48070 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48071 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48072 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48074 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48075 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48076 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48077 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48078 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48079 __mpranred, __mptan.
48080 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48081 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48082 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48083 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48084 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48085 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48086 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48087 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48088 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48090 2011-10-28 Andreas Schwab <schwab@redhat.com>
48092 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48093 redefine if SHARED.
48094 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48097 wide char related routines to wcsmbs subdir.
48099 2011-10-27 Andreas Schwab <schwab@redhat.com>
48102 * misc/sys/cdefs.h (__THROWNL): Define.
48103 * posix/unistd.h: Use __THREADNL instead of __THREAD
48104 for memory synchronization functions.
48106 2011-10-26 Roland McGrath <roland@hack.frob.com>
48109 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48111 * manual/stdio.texi (Obstack Streams): Node removed.
48113 2011-10-26 Andreas Schwab <schwab@redhat.com>
48115 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48116 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48117 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48119 * math/math_private.h (math_force_eval): Allow non-addressable
48121 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48123 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48125 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48126 file is not needed.
48128 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48129 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48130 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48131 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48132 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48133 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48134 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48135 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48137 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48138 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48139 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48140 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48141 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48142 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48143 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48144 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48145 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48146 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48147 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48148 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48149 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48150 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48151 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48152 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48153 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48154 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48155 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48157 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48158 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48160 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48161 place. Use VEX encoding when compiling for AVX.
48163 2011-10-25 Andreas Schwab <schwab@redhat.com>
48165 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48166 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48168 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48170 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48172 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48173 useless if() expression.
48174 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48175 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48176 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48177 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48178 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48179 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48180 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48181 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48182 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48183 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48184 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48185 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48186 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48187 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48188 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48189 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48190 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48191 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48192 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48194 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48196 2011-10-25 Andreas Schwab <schwab@redhat.com>
48198 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48200 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48202 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48204 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48205 .text section. Avoid duplicate constants.
48206 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48207 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48208 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48209 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48210 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48211 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48212 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48213 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48214 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48215 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48216 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48217 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48218 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48219 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48220 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48221 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48222 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48223 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48224 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48226 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48227 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48228 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48229 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48230 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48231 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48232 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48233 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48234 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48235 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48236 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48237 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48238 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48239 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48240 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48241 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48242 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48243 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48244 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48245 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48246 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48247 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48248 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48249 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48250 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48252 2011-10-24 Ulrich Drepper <drepper@gmail.com>
48254 * sysdeps/x86_64/dla.h: Move to ...
48255 * sysdeps/x86_64/fpu/dla.h: ...here.
48256 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48257 situations. Use __builtin_fma only for gcc 4.6 and up.
48259 * config.make.in: Add have-mfma4 entry.
48260 * configure.in: Substitute libc_cv_cc_fma4.
48261 * math/Makefile (dbl-only-routines): Add sincostab.
48262 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48263 Use __sincostab not sincos.
48264 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48266 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48267 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48268 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48269 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48271 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48272 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48273 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48274 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48276 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48277 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48279 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48280 define aliases when function name is a macro.
48281 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48282 sysdeps/ieee754/dbl-64/sincos.tbl.
48283 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48284 fma4-enabled routines.
48285 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48286 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48287 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48288 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48289 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48290 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48291 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48292 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48293 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48294 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48295 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48296 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48297 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48298 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48299 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48300 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48301 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48302 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48303 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48304 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48305 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48306 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48307 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48308 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48309 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48310 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48311 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48312 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48313 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48314 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48316 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48318 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48319 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48320 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48321 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48322 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48323 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48324 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48325 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48327 2011-10-24 Andreas Schwab <schwab@redhat.com>
48329 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48331 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48333 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48335 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48337 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48339 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48340 Remove unused variable magic_bits.
48341 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48343 * string/strnlen.c: Define and use STRNLEN macro.
48344 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48345 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48346 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48347 * wcsmbs/wcslen.c: Define and use WCSLEN.
48348 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48349 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48350 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48351 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48352 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48353 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48354 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48356 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48359 strnlen-sse2-no-bsf.
48360 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48361 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48362 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48363 Add strnlen support.
48364 (USE_AS_STRNLEN): New macro.
48365 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48366 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48367 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48368 * sysdeps/x86_64/wcslen.S: New file.
48370 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48372 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48373 XMM-moves are used for copying on small sizes.
48375 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48377 * wcsmbs/Makefile (strop-tests): Add wcschr.
48378 * wcsmbs/test-wcschr.c: New file.
48379 * string/test-strchr.c: Update.
48380 Add wcschr support.
48383 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48385 * wcsmbs/Makefile (strop-tests): Add wcslen.
48386 * wcsmbs/test-wcslen.c: New file.
48387 * string/test-strlen.c: Update.
48388 Add wcslen support.
48391 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48393 * po/it.po: Update from translation team.
48395 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48397 * sysdeps/x86_64/wcscmp.S: Update.
48398 Fix wrong comparison semantics.
48399 wcscmp shall use signed comparison not unsigned.
48400 Don't use substraction to avoid overflow bug.
48401 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48402 * wcsmbc/wcscmp.c: Likewise.
48403 * string/test-strcmp.c: Likewise.
48404 Add new tests to check cases with negative values.
48406 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48408 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48409 * sysdeps/x86_64/dla.h: ...here. New file.
48410 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48412 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48414 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48415 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48420 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48422 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48423 __ynl_finite aliases.
48425 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48429 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48431 [DLA_FMA] (EMULV): Use DLA_FMA.
48432 [DLA_FMA] (MUL12): Use EMULV.
48433 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48434 that are not needed.
48435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48437 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48438 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48439 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48440 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48443 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48445 * math/s_nan.c: Undef __nan.
48446 * math/s_nanf.c: Undef __nanf.
48447 * math/s_nanl.c: Undef __nanl.
48448 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48451 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48453 * math/s_catan.c: Add branch predictions.
48454 * math/s_catanf.c: Likewise.
48455 * math/s_catanh.c: Likewise.
48456 * math/s_catanhf.c: Likewise.
48457 * math/s_catanhl.c: Likewise.
48458 * math/s_catanl.c: Likewise.
48459 * math/s_cexp.c: Likewise.
48460 * math/s_cexpf.c: Likewise.
48461 * math/s_cexpl.c: Likewise.
48462 * math/s_clog.c: Likewise.
48463 * math/s_clog10.c: Likewise.
48464 * math/s_clog10f.c: Likewise.
48465 * math/s_clog10l.c: Likewise.
48466 * math/s_clogf.c: Likewise.
48467 * math/s_clogl.c: Likewise.
48468 * math/s_csqrt.c: Likewise.
48469 * math/s_csqrtf.c: Likewise.
48470 * math/s_csqrtl.c: Likewise.
48471 * math/s_ctanf.c: Likewise.
48472 * math/s_ctanh.c: Likewise.
48473 * math/s_ctanhf.c: Likewise.
48474 * math/s_ctanhl.c: Likewise.
48475 * math/s_ctanl.c: Likewise.
48477 * math/math_private.h: Define __nan, __nanf, __nanl.
48478 * math/s_cacosh.c: Include <math_private.h>.
48479 * math/s_cacoshl.c: Likewise.
48480 * math/s_casinh.c: Likewise.
48481 * math/s_casinhf.c: Likewise.
48482 * math/s_casinhl.c: Likewise.
48483 * math/s_ccos.c: Rely entire on ccosh.
48484 * math/s_ccosf.c: Rely entire on ccoshf.
48485 * math/s_ccosl.c: Rely entirely on ccoshl.
48486 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48487 Remove tests for FE_INVALID.
48488 * math/s_ccoshf.c: Likewise.
48489 * math/s_ccoshl.c: Likewise.
48490 * math/s_csin.c: Likewise.
48491 * math/s_csinf.c: Likewise.
48492 * math/s_csinh.c Likewise.
48493 * math/s_csinhf.c: Likewise.
48494 * math/s_csinhl.c: Likewise.
48495 * math/s_csinl.c: Likewise.
48496 * math/s_ctan.c: Likewise.
48497 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48498 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48499 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48501 2011-10-21 Ulrich Drepper <drepper@gmail.com>
48503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48504 compilation problems.
48506 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48509 2011-10-20 Ulrich Drepper <drepper@gmail.com>
48511 * sysdeps/i386/configure.in: Test for -mfma4 option.
48512 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48513 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48514 COMMON_CPUID_INDEX_80000001.
48515 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48516 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48517 use it if FMA3 is not supported.
48518 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48520 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48521 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48523 2011-10-20 Andreas Schwab <schwab@redhat.com>
48526 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48527 it would create a cycle with a link time dependency.
48529 2011-10-19 Ulrich Drepper <drepper@gmail.com>
48531 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48533 * string/Makefile (strop-tests): Add rawmemchr.
48534 * string/test-rawmemchr.c: New file.
48536 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48537 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48538 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48539 when compiling str{,n}casecmp and when AVX is available. Hook up
48540 new optimized code in initializers.
48542 2011-10-19 Andreas Schwab <schwab@redhat.com>
48544 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48545 __feraiseexcept instead of feraiseexcept.
48547 2011-10-18 Ulrich Drepper <drepper@gmail.com>
48549 * math/math_private.h: Define defaults for libc_fetestexcept and
48551 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48552 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48553 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48554 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48555 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48556 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48557 libc_fetestexcept and libc_feupdateenv.
48559 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48560 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48561 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48562 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48563 libc_feholdexcept_setround.
48565 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48566 Add s_nearbyint-c and s_nearbyintf-c.
48567 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48568 nearbyintf inlines.
48569 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48570 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48571 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48572 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48574 * math/math_private.h: Define defaults for libc_fegetround,
48575 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48576 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48577 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48578 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48579 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48580 standard functions.
48581 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48582 Remove comments and hacks for old compiler versions.
48583 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48584 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48585 libc_feholdexceptl.
48587 2011-10-18 Andreas Schwab <schwab@redhat.com>
48589 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48590 (__feraiseexcept_renamed): Add __NTH.
48591 (feraiseexcept): Add __NTH. Rename local variables to fix
48592 namespace violations.
48594 2011-10-17 Ulrich Drepper <drepper@gmail.com>
48596 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48598 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48600 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48601 recently added interfaces.
48602 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48604 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48605 about macro parameter expansion.
48607 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48608 __NO_MATH_INLINES is defined. Cleanups.
48610 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48611 and __floorf is target has SSE4.1.
48612 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48613 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48614 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48615 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48617 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48619 (floorf): Likewise.
48621 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48623 2011-10-17 Andreas Schwab <schwab@redhat.com>
48625 * misc/sys/cdefs.h: Fix last change.
48627 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48630 2011-10-16 Ulrich Drepper <drepper@gmail.com>
48632 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48634 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48635 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48636 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48637 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48638 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48639 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48640 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48641 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48642 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48643 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48644 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48645 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48646 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48647 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48648 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48649 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48650 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48651 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48652 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48653 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48654 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48655 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48657 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48658 ceil, ceilf, floor, floorf.
48660 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48661 Perform IRELATIVE relocations last.
48663 * elf/do-rel.h: Add another parameter nrelative, replacing the
48664 local variable with the same name. Change name of the function
48665 to end in Rel or Rela (uppercase).
48666 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48667 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48668 elf_dynamic_do_##reloc function.
48670 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48672 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48673 is sufficient, at least on modern CPUs.
48675 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48677 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48678 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48680 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48682 * math/bits/math-finite.h: Add entries for exp.
48683 * math/e_expl.c: Add __*_finite alias.
48684 * sysdeps/i386/fpu/e_exp.S: Likewise.
48685 * sysdeps/i386/fpu/e_expf.S: Likewise.
48686 * sysdeps/i386/fpu/e_expl.c: Likewise.
48687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48688 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48689 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48690 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48691 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48692 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48693 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48695 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48696 is sufficient, at least on modern CPUs.
48698 * ctype/ctype-info.c (__ctype_init): Define.
48699 * include/ctype.h (__ctype_init): Declare.
48700 (__ctype_b_loc): The variable is always initialized.
48701 (__ctype_toupper_loc): Likewise.
48702 (__ctype_tolower_loc): Likewise.
48703 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48704 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48706 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48708 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48710 * configure.in: Also look in $cxxmachine/include for C++ system
48713 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48715 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48716 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48717 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48718 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48719 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48720 (USE_AS_WMEMCMP): New macro.
48722 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48723 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48724 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48725 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48727 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48728 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48729 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48730 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48731 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48732 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48733 (USE_AS_WMEMCMP): New macro.
48734 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48735 * sysdeps/string/test-memcmp.c: Update.
48736 Fix simple_wmemcmp.
48738 * wcsmbs/wmemcmp.c: Update.
48739 (WMEMCMP): New macro.
48742 2011-10-12 Andreas Jaeger <aj@suse.de>
48745 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48747 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48749 * libio/iofwide.c (do_length): Avoid warning.
48751 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48753 2011-10-14 Ulrich Drepper <drepper@gmail.com>
48755 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48757 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48758 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48759 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48760 * sysdeps/i386/i686/fpu/e_log.S: New file.
48761 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48762 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48764 * ctype/ctype.h: Add support for inlined isXXX functions when
48765 compiling C++ code.
48767 2011-10-14 Andreas Schwab <schwab@redhat.com>
48769 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48771 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48773 2011-10-13 Roland McGrath <roland@hack.frob.com>
48776 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48778 2011-10-13 Andreas Schwab <schwab@redhat.com>
48780 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48781 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48784 * sysdeps/x86_64/memrchr.S: Check for zero size.
48786 * string/stratcliff.c: Add memrchr tests.
48788 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48791 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48792 rawmemchr-sse2 rawmemchr-sse2-bsf.
48793 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48794 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48795 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48796 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48797 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48798 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48799 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48800 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48801 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48802 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48803 * string/memrchr.c (MEMRCHR): New macro.
48805 2011-10-12 Ulrich Drepper <drepper@gmail.com>
48807 Add integration with gcc's -ffinite-math-only and optimize wrapper
48809 * Versions.def: Define GLIBC_2.15 version for libm.
48810 * math/Makefile (headers): Add bits/math-finite.h.
48811 * math/bits/math-finite.h: New file.
48812 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48813 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48814 * math/e_acoshl.c: Add __*_finite alias.
48815 * math/e_acosl.c: Likewise.
48816 * math/e_asinl.c: Likewise.
48817 * math/e_atan2l.c: Likewise.
48818 * math/e_atanhl.c: Likewise.
48819 * math/e_coshl.c: Likewise.
48820 * math/e_exp10.c: Likewise.
48821 * math/e_exp10f.c: Likewise.
48822 * math/e_exp10l.c: Likewise.
48823 * math/e_exp2l.c: Likewise.
48824 * math/e_fmodl.c: Likewise.
48825 * math/e_gammal_r.c: Likewise.
48826 * math/e_hypotl.c: Likewise.
48827 * math/e_j0l.c: Likewise.
48828 * math/e_j1l.c: Likewise.
48829 * math/e_jnl.c: Likewise.
48830 * math/e_lgammal_r.c: Likewise.
48831 * math/e_log10l.c: Likewise.
48832 * math/e_log2l.c: Likewise.
48833 * math/e_logl.c: Likewise.
48834 * math/e_powl.c: Likewise.
48835 * math/e_sinhl.c: Likewise.
48836 * math/e_sqrtl.c: Likewise.
48837 * math/e_scalb.c: Completely rewritten and optimized.
48838 * math/e_scalbf.c: Likewise.
48839 * math/e_scalbl.c: Likewise.
48840 * math/w_acos.c: Likewise.
48841 * math/w_acosf.c: Likewise.
48842 * math/w_acosl.c: Likewise.
48843 * math/w_acosh.c: Likewise.
48844 * math/w_acoshf.c: Likewise.
48845 * math/w_acoshl.c: Likewise.
48846 * math/w_asin.c: Likewise.
48847 * math/w_asinf.c: Likewise.
48848 * math/w_asinl.c: Likewise.
48849 * math/w_atan2.c: Likewise.
48850 * math/w_atan2f.c: Likewise.
48851 * math/w_atan2l.c: Likewise.
48852 * math/w_atanh.c: Likewise.
48853 * math/w_atanhf.c: Likewise.
48854 * math/w_atanhl.c: Likewise.
48855 * math/w_exp10.c: Likewise.
48856 * math/w_exp10f.c: Likewise.
48857 * math/w_exp10l.c: Likewise.
48858 * math/w_fmod.c: Likewise.
48859 * math/w_fmodf.c: Likewise.
48860 * math/w_fmodl.c: Likewise.
48861 * math/w_j0.c: Likewise.
48862 * math/w_j0f.c: Likewise.
48863 * math/w_j0l.c: Likewise.
48864 * math/w_j1.c: Likewise.
48865 * math/w_j1f.c: Likewise.
48866 * math/w_j1l.c: Likewise.
48867 * math/w_jn.c: Likewise.
48868 * math/w_jnf.c: Likewise.
48869 * math/w_log.c: Likewise.
48870 * math/w_logf.c: Likewise.
48871 * math/w_logl.c: Likewise.
48872 * math/w_log10.c: Likewise.
48873 * math/w_log10f.c: Likewise.
48874 * math/w_log10l.c: Likewise.
48875 * math/w_log2.c: Likewise.
48876 * math/w_log2f.c: Likewise.
48877 * math/w_log2l.c: Likewise.
48878 * math/w_pow.c: Likewise.
48879 * math/w_powf.c: Likewise.
48880 * math/w_powl.c: Likewise.
48881 * math/w_remainder.c: Likewise.
48882 * math/w_remainderf.c: Likewise.
48883 * math/w_remainderl.c: Likewise.
48884 * math/w_scalb.c: Likewise.
48885 * math/w_scalbf.c: Likewise.
48886 * math/w_scalbl.c: Likewise.
48887 * math/w_sqrt.c: Likewise.
48888 * math/w_sqrtf.c: Likewise.
48889 * math/w_sqrtl.c: Likewise.
48890 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48891 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48893 * math/math_private.h: Declare __kernel_standard_f.
48894 * math/w_cosh.c: Remove cruft and optimize a bit.
48895 * math/w_coshf.c: Likewise.
48896 * math/w_coshl.c: Likewise.
48897 * math/w_exp2.c: Likewise.
48898 * math/w_exp2f.c: Likewise.
48899 * math/w_exp2l.c: Likewise.
48900 * math/w_hypot.c: Likewise.
48901 * math/w_hypotf.c: Likewise.
48902 * math/w_hypotl.c: Likewise.
48903 * math/w_lgamma.c: Likewise.
48904 * math/w_lgamma_r.c: Likewise.
48905 * math/w_lgammaf.c: Likewise.
48906 * math/w_lgammaf_r.c: Likewise.
48907 * math/w_lgammal.c: Likewise.
48908 * math/w_lgammal_r.c: Likewise.
48909 * math/w_sinh.c: Likewise.
48910 * math/w_sinhf.c: Likewise.
48911 * math/w_sinhl.c: Likewise.
48912 * math/w_tgamma.c: Likewise.
48913 * math/w_tgammaf.c: Likewise.
48914 * math/w_tgammal.c: Likewise.
48915 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48916 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48917 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48918 Minor optimizations. Pretty printing. Remove cruft.
48919 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48920 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48921 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48922 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48923 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48924 * sysdeps/i386/fpu/e_asin.S: Likewise.
48925 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48926 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48927 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48928 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48929 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48930 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48931 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48932 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48933 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48934 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48935 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48936 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48937 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48938 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48939 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48940 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48941 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48942 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48943 * sysdeps/i386/fpu/e_log.S: Likewise.
48944 * sysdeps/i386/fpu/e_log10.S: Likewise.
48945 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48946 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48947 * sysdeps/i386/fpu/e_log2.S: Likewise.
48948 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48949 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48950 * sysdeps/i386/fpu/e_logf.S: Likewise.
48951 * sysdeps/i386/fpu/e_logl.S: Likewise.
48952 * sysdeps/i386/fpu/e_pow.S: Likewise.
48953 * sysdeps/i386/fpu/e_powf.S: Likewise.
48954 * sysdeps/i386/fpu/e_powl.S: Likewise.
48955 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48956 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48957 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48958 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48959 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48960 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48961 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48962 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48963 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48964 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48965 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48967 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48968 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48969 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48970 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48971 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48972 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48973 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48974 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48975 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48976 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48977 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48978 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48979 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48980 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48981 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48982 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48983 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48984 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48985 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48986 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48987 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48988 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48989 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48990 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48991 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48992 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48993 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48994 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48995 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48996 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48997 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48998 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48999 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49000 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49001 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49002 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49003 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49004 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49005 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49006 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49007 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49008 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49009 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49010 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49011 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49012 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49013 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49014 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49015 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49016 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49017 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49018 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49019 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49020 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49021 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49022 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49023 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49024 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49025 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49026 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49028 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49029 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49030 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49031 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49032 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49033 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49034 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49035 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49036 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49037 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49038 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49039 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49040 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49041 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49042 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49043 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49044 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49045 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49046 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49047 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49048 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49049 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49050 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49051 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49052 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49053 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49054 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49055 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49056 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49057 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49058 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49059 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49060 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49061 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49062 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49063 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49064 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49065 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49066 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49067 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49068 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49069 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49070 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49071 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49072 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49073 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49074 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49075 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49076 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49077 (__isnanf): Likewise.
49078 (__isinf_ns): Likewise.
49079 (__isinf_nsf): Likewise.
49080 (__finite): Likewise.
49081 (__finitef): Likewise.
49082 (__ieee754_sqrt): Define as macro.
49083 (__ieee754_sqrtf): Define as macro.
49084 (__ieee754_sqrtl): Define as macro.
49085 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49087 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49088 __FINITE_MATH_ONLY__ consistent.
49089 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49091 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49093 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49096 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49098 2011-10-09 Ulrich Drepper <drepper@gmail.com>
49100 * po/ja.po: Update from translation team.
49102 2011-10-08 Roland McGrath <roland@hack.frob.com>
49104 * locale/programs/locarchive.c (prepare_address_space): New function.
49105 (create_archive, enlarge_archive, open_archive): Use it.
49107 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49108 inside [SHARED], where it is used.
49110 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49112 * nss/getent.c (netgroup_keys): Remove unused variable.
49113 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49115 2011-10-08 Ulrich Drepper <drepper@gmail.com>
49117 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49118 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49119 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49120 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49121 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49122 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49123 * math/Makefile (libm-calls): Add s_isinf_ns.
49124 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49125 * math/multc3.c: Likewise.
49126 * math/s_casin.c: Likewise.
49127 * math/s_casinf.c: Likewise.
49128 * math/s_casinl.c: Likewise.
49129 * math/s_ccos.c: Likewise.
49130 * math/s_ccosf.c: Likewise.
49131 * math/s_ccosl.c: Likewise.
49132 * math/s_ctan.c: Likewise.
49133 * math/s_ctanf.c: Likewise.
49134 * math/s_ctanh.c: Likewise.
49135 * math/s_ctanhf.c: Likewise.
49136 * math/s_ctanhl.c: Likewise.
49137 * math/s_ctanl.c: Likewise.
49138 * math/w_fmod.c: Likewise.
49139 * math/w_fmodf.c: Likewise.
49140 * math/w_fmodl.c: Likewise.
49141 * math/w_remainder.c: Likewise.
49142 * math/w_remainderf.c: Likewise.
49143 * math/w_remainderl.c: Likewise.
49144 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49145 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49146 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49147 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49148 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49149 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49150 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49151 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49153 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49155 * stdio-common/printf_fphex.c: Likewise.
49156 * stdio-common/printf_size.c: Likewise.
49158 * math/e_exp10.c: Include math_private.h using <...> not "...".
49159 * math/e_exp10f.c: Likewise.
49160 * math/e_exp10l.c: Likewise.
49161 * math/e_exp2l.c: Likewise.
49162 * math/e_j0l.c: Likewise.
49163 * math/e_j1l.c: Likewise.
49164 * math/e_jnl.c: Likewise.
49165 * math/e_lgammal_r.c: Likewise.
49166 * math/e_rem_pio2l.c: Likewise.
49167 * math/e_scalb.c: Likewise.
49168 * math/e_scalbf.c: Likewise.
49169 * math/e_scalbl.c: Likewise.
49170 * math/k_cosl.c: Likewise.
49171 * math/k_sinl.c: Likewise.
49172 * math/k_tanl.c: Likewise.
49173 * math/s_cacoshf.c: Likewise.
49174 * math/s_catan.c: Likewise.
49175 * math/s_catanf.c: Likewise.
49176 * math/s_catanh.c: Likewise.
49177 * math/s_catanhf.c: Likewise.
49178 * math/s_catanhl.c: Likewise.
49179 * math/s_catanl.c: Likewise.
49180 * math/s_ccosh.c: Likewise.
49181 * math/s_ccoshf.c: Likewise.
49182 * math/s_ccoshl.c: Likewise.
49183 * math/s_cexp.c: Likewise.
49184 * math/s_cexpf.c: Likewise.
49185 * math/s_cexpl.c: Likewise.
49186 * math/s_clog.c: Likewise.
49187 * math/s_clog10.c: Likewise.
49188 * math/s_clog10f.c: Likewise.
49189 * math/s_clog10l.c: Likewise.
49190 * math/s_clogf.c: Likewise.
49191 * math/s_clogl.c: Likewise.
49192 * math/s_csin.c: Likewise.
49193 * math/s_csinf.c: Likewise.
49194 * math/s_csinh.c: Likewise.
49195 * math/s_csinhf.c: Likewise.
49196 * math/s_csinhl.c: Likewise.
49197 * math/s_csinl.c: Likewise.
49198 * math/s_csqrt.c: Likewise.
49199 * math/s_csqrtf.c: Likewise.
49200 * math/s_csqrtl.c: Likewise.
49201 * math/s_ctan.c: Likewise.
49202 * math/s_ctanf.c: Likewise.
49203 * math/s_ctanh.c: Likewise.
49204 * math/s_ctanhf.c: Likewise.
49205 * math/s_ctanhl.c: Likewise.
49206 * math/s_ctanl.c: Likewise.
49207 * math/s_ldexp.c: Likewise.
49208 * math/s_ldexpf.c: Likewise.
49209 * math/s_ldexpl.c: Likewise.
49210 * math/s_significand.c: Likewise.
49211 * math/s_significandf.c: Likewise.
49212 * math/s_significandl.c: Likewise.
49213 * math/w_acos.c: Likewise.
49214 * math/w_acosf.c: Likewise.
49215 * math/w_acosh.c: Likewise.
49216 * math/w_acoshf.c: Likewise.
49217 * math/w_acoshl.c: Likewise.
49218 * math/w_acosl.c: Likewise.
49219 * math/w_asin.c: Likewise.
49220 * math/w_asinf.c: Likewise.
49221 * math/w_asinl.c: Likewise.
49222 * math/w_atan2.c: Likewise.
49223 * math/w_atan2f.c: Likewise.
49224 * math/w_atan2l.c: Likewise.
49225 * math/w_atanh.c: Likewise.
49226 * math/w_atanhf.c: Likewise.
49227 * math/w_atanhl.c: Likewise.
49228 * math/w_cosh.c: Likewise.
49229 * math/w_coshf.c: Likewise.
49230 * math/w_coshl.c: Likewise.
49231 * math/w_dremf.c: Likewise.
49232 * math/w_exp10.c: Likewise.
49233 * math/w_exp10f.c: Likewise.
49234 * math/w_exp10l.c: Likewise.
49235 * math/w_exp2.c: Likewise.
49236 * math/w_exp2f.c: Likewise.
49237 * math/w_fmod.c: Likewise.
49238 * math/w_fmodf.c: Likewise.
49239 * math/w_fmodl.c: Likewise.
49240 * math/w_hypot.c: Likewise.
49241 * math/w_hypotf.c: Likewise.
49242 * math/w_hypotl.c: Likewise.
49243 * math/w_j0.c: Likewise.
49244 * math/w_j0f.c: Likewise.
49245 * math/w_j0l.c: Likewise.
49246 * math/w_j1.c: Likewise.
49247 * math/w_j1f.c: Likewise.
49248 * math/w_j1l.c: Likewise.
49249 * math/w_jn.c: Likewise.
49250 * math/w_jnf.c: Likewise.
49251 * math/w_jnl.c: Likewise.
49252 * math/w_lgamma.c: Likewise.
49253 * math/w_lgamma_r.c: Likewise.
49254 * math/w_lgammaf.c: Likewise.
49255 * math/w_lgammaf_r.c: Likewise.
49256 * math/w_lgammal.c: Likewise.
49257 * math/w_lgammal_r.c: Likewise.
49258 * math/w_log.c: Likewise.
49259 * math/w_log10.c: Likewise.
49260 * math/w_log10f.c: Likewise.
49261 * math/w_log10l.c: Likewise.
49262 * math/w_log2.c: Likewise.
49263 * math/w_log2f.c: Likewise.
49264 * math/w_log2l.c: Likewise.
49265 * math/w_logf.c: Likewise.
49266 * math/w_logl.c: Likewise.
49267 * math/w_pow.c: Likewise.
49268 * math/w_powf.c: Likewise.
49269 * math/w_powl.c: Likewise.
49270 * math/w_remainder.c: Likewise.
49271 * math/w_remainderf.c: Likewise.
49272 * math/w_remainderl.c: Likewise.
49273 * math/w_scalb.c: Likewise.
49274 * math/w_scalbf.c: Likewise.
49275 * math/w_scalbl.c: Likewise.
49276 * math/w_sinh.c: Likewise.
49277 * math/w_sinhf.c: Likewise.
49278 * math/w_sinhl.c: Likewise.
49279 * math/w_sqrt.c: Likewise.
49280 * math/w_sqrtf.c: Likewise.
49281 * math/w_sqrtl.c: Likewise.
49282 * math/w_tgamma.c: Likewise.
49283 * math/w_tgammaf.c: Likewise.
49284 * math/w_tgammal.c: Likewise.
49286 * po/ja.po: Update from translation team.
49288 2011-09-29 Andreas Jaeger <aj@suse.de>
49291 * sunrpc/netname.c (netname2host): Fix logic.
49295 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49297 * math/w_remainder.c (__remainder): Likewise.
49298 * math/w_remainderf.c (__remainderf): Likewise.
49299 * math/libm-test.inc (remainder_test): Add test cases.
49301 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49303 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49306 2011-10-07 Ulrich Drepper <drepper@gmail.com>
49308 * string/test-memcmp.c: Avoid unncessary #defines.
49309 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49311 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49313 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49314 Use new sse2 version for core i3 - i7 as it's faster
49315 than sse42 version.
49316 (bit_Prefer_PMINUB_for_stringop): New.
49317 * sysdeps/x86_64/rawmemchr.S: Update.
49318 Replace with faster SSE2 version.
49319 * sysdeps/x86_64/memrchr.S: New file.
49320 * sysdeps/x86_64/memchr.S: Update.
49321 Replace with faster SSE2 version.
49323 2011-09-12 Marek Polacek <mpolacek@redhat.com>
49325 * elf/dl-load.c (lose): Add cast to avoid warning.
49327 2011-10-07 Ulrich Drepper <drepper@gmail.com>
49329 * po/ca.po: Update from translation team.
49331 * inet/getnetgrent_r.c: Hook up nscd.
49332 * nscd/Makefile (routines): Add nscd_netgroup.
49333 (nscd-modules): Add netgroupcache.
49334 (CFLAGS-netgroupcache.c): Define.
49335 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49336 (cache_search): Add const to second parameter.
49337 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49339 (dbs): Add netgrdb entry.
49340 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49341 (verify_persistent_db): Handle netgrdb.
49342 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49343 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49345 (netgroup_response_header): Define.
49346 (innetgroup_response_header): Define.
49347 (datahead): Add netgroup_response_header and innetgroup_response_header
49349 * nscd/nscd.conf: Add entries for netgroup cache.
49350 * nscd/nscd.h (dbtype): Add netgrdb.
49351 (_PATH_NSCD_NETGROUP_DB): Define.
49352 (netgroup_iov_disabled): Declare.
49353 (xmalloc, xcalloc, xrealloc): Move declarations here.
49354 (cache_search): Adjust prototype.
49355 Add netgroup-related prototypes.
49356 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49357 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49358 (__nscd_innetgr): Declare.
49359 * nscd/selinux.c (perms): Use access_vector_t as element type and
49360 add netgroup-related initializers.
49361 * nscd/netgroupcache.c: New file.
49362 * nscd/nscd_netgroup.c: New file.
49363 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49364 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49365 For four parameters use innetgr.
49366 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49367 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49368 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49369 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49371 * nscd/connections.c (register_traced_file): Don't register file
49372 for disabled databases.
49374 2011-10-06 Ulrich Drepper <drepper@gmail.com>
49376 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49378 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49379 from tree and freeing node.
49381 2011-09-25 Jiri Olsa <jolsa@redhat.com>
49383 * nss/nsswitch.c (__nss_database_lookup): Handle
49384 nss_parse_service_list out of memory case.
49386 2011-09-15 Jiri Olsa <jolsa@redhat.com>
49388 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49389 out of memory case.
49391 2011-10-04 Andreas Schwab <schwab@redhat.com>
49393 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49394 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49396 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49397 elf_machine_rela, elf_machine_lazy_rel.
49398 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49399 (ELF_DYNAMIC_DO_REL): Likewise.
49400 (ELF_DYNAMIC_DO_RELA): Likewise.
49401 (ELF_DYNAMIC_RELOCATE): Likewise.
49402 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49403 to ELF_DYNAMIC_DO_REL.
49404 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49405 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49406 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49408 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49409 skip_ifunc, don't call ifunc function if non-zero.
49410 (elf_machine_rela): Likewise.
49411 (elf_machine_lazy_rel): Likewise.
49412 (elf_machine_lazy_rela): Likewise.
49413 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49414 (elf_machine_lazy_rel): Likewise.
49415 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49417 (elf_machine_lazy_rel): Likewise.
49418 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49420 (elf_machine_lazy_rel): Likewise.
49421 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49422 (elf_machine_lazy_rel): Likewise.
49423 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49424 (elf_machine_lazy_rel): Likewise.
49425 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49426 (elf_machine_lazy_rel): Likewise.
49427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49428 (elf_machine_lazy_rel): Likewise.
49429 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49430 (elf_machine_lazy_rel): Likewise.
49431 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49432 (elf_machine_lazy_rel): Likewise.
49434 2011-09-28 Ulrich Drepper <drepper@gmail.com>
49436 * nss/nss_files/files-init.c (_nss_files_init): Use static
49437 initialization for all the *_traced_file variables.
49439 2011-09-28 Andreas Schwab <schwab@redhat.com>
49441 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49443 2011-09-27 Roland McGrath <roland@hack.frob.com>
49446 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49448 2011-09-27 Andreas Schwab <schwab@redhat.com>
49450 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49451 Reread the line before reparsing it.
49453 2011-09-26 Andreas Schwab <schwab@redhat.com>
49455 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49457 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49458 Maxim Kuvyrkov <maxim@codesourcery.com>
49459 Joseph Myers <joseph@codesourcery.com>
49461 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49462 if needed for __stack_chk_guard.
49464 2011-09-19 Roland McGrath <roland@hack.frob.com>
49466 * sysdeps/posix/spawni.c (script_execute): Always define it.
49467 It will be optimized away if unused.
49468 (maybe_script_execute): New function.
49469 (__spawni): Call it.
49471 * Makerules: Don't include tls.make.
49472 (config-tls): Always set to thread.
49473 * tls.make.c: File removed.
49475 2011-09-19 Mike Frysinger <vapier@gentoo.org>
49477 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49478 * config.make.in (CPPFLAGS-config): New substituted variable.
49480 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49482 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49485 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49486 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49488 2011-09-15 Roland McGrath <roland@hack.frob.com>
49490 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49491 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49493 (CALL_FAIL): Likewise.
49494 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49495 (CALL_FAIL): Macro removed.
49496 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49498 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49500 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49501 for __FINITE_MATH_ONLY__ == 1.
49503 2011-09-15 Andreas Schwab <schwab@redhat.com>
49505 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49506 __ieee754_sqrt instead of sqrt.
49507 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49508 __ieee754_sqrtf instead of sqrtf.
49509 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49510 __floorf instead of floorf.
49511 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49512 __floorf, __truncf instead of floorf, truncf.
49514 2011-09-14 Ulrich Drepper <drepper@gmail.com>
49516 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49518 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49519 __extern_always_inline.
49520 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49523 2011-09-14 Andreas Schwab <schwab@redhat.com>
49525 * elf/rtld.c (dl_main): Also relocate in dependency order when
49526 doing symbol dependency testing.
49528 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49530 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49531 Always define `refsym'.
49533 2011-09-13 Andreas Schwab <schwab@redhat.com>
49535 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49536 (__FD_ELT): Renamed from __FDELT.
49537 * misc/bits/select2.h (__FD_ELT): Likewise.
49538 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49539 __FD_MASK instead of __FDELT, __FDMASK.
49540 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49542 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49545 * elf/Makefile (gen-ldd): Fix pattern.
49547 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49548 (init_tls): Likewise.
49550 2011-09-12 Ulrich Drepper <drepper@gmail.com>
49552 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49554 2011-09-12 Andreas Schwab <schwab@redhat.com>
49556 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49557 `struct cmsghdr *' instead of `void *'.
49558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49561 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49563 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49565 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49566 ldd_rewrite_script.
49568 2011-09-11 Ulrich Drepper <drepper@gmail.com>
49570 * configure.in: Remove --with-tls option.
49571 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49572 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49573 out in case it is missing.
49574 * sysdeps/ia64/elf/configure.in: Likewise.
49575 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49576 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49577 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49578 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49579 * sysdeps/sh/elf/configure.in: Likewise.
49580 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49581 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49582 * sysdeps/x86_64/elf/configure.in: Likewise.
49583 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49584 * sysdeps/mach/hurd/tls.h: Likewise.
49587 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49590 * configure.in: Fix use of AC_INIT.
49592 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49594 2011-09-10 Ulrich Drepper <drepper@gmail.com>
49596 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49598 * malloc/hooks.c: Likewise.
49601 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49602 variables statically.
49603 (narenas): Initialize.
49604 (list_lock): Initialize.
49605 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49606 initializtion of main_arena and list_lock. Small cleanups.
49607 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49608 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49609 Add initializers to main_arena and mp_.
49610 (malloc_state): Remove pagesize member. Change all users to use
49613 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49614 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49615 is always initialized.
49617 * malloc/malloc.c: Removed unused configurations and dead code.
49618 * malloc/arena.c: Likewise.
49619 * malloc/hooks.c: Likewise.
49620 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49622 * include/tls.h: Removed. USE___THREAD must always be defined.
49623 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49624 * elf/dl-libc.c: Likewise.
49625 * elf/dl-tsd.c: Likewise.
49626 * include/errno.h: Likewise.
49627 * include/netdb.h: Likewise.
49628 * include/resolv.h: Likewise.
49629 * inet/herrno-loc.c: Likewise.
49630 * inet/herrno.c: Likewise.
49631 * malloc/arena.c: Likewise.
49632 * malloc/hooks.c: Likewise.
49633 * malloc/malloc.c: Likewise.
49634 * resolv/res-state.c: Likewise.
49635 * resolv/res_libc.c: Likewise.
49636 * sysdeps/i386/dl-machine.h: Likewise.
49637 * sysdeps/ia64/dl-machine.h: Likewise.
49638 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49639 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49640 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49641 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49642 * sysdeps/sh/dl-machine.h: Likewise.
49643 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49644 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49645 * sysdeps/unix/i386/sysdep.S: Likewise.
49646 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49647 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49648 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49649 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49650 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49651 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49652 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49653 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49654 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49655 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49656 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49657 * sysdeps/x86_64/dl-machine.h: Likewise.
49658 * tls.make.c: Likewise.
49660 * configure.in: Remove --with-__thread option. Make tests for
49661 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49662 tls_model attribute fail if no support is available. Remove
49664 * Makeconfig: Adjust for dropped configure option. All features are
49666 * Makerules: Likewise.
49667 * Versions.def: Likewise.
49668 * argp/argp-fmtstream.c: Likewise.
49669 * argp/argp-fmtstream.h: Likewise.
49670 * argp/argp-help.c: Likewise.
49671 * assert/assert.c: Likewise.
49672 * config.h.in: Likewise.
49673 * config.make.in: Likewise.
49674 * configure: Likewise.
49675 * configure.in: Likewise.
49676 * csu/Versions: Likewise.
49677 * csu/init.c: Likewise.
49678 * elf/tst-audit2.c: Likewise.
49679 * elf/tst-tls10.c: Likewise.
49680 * elf/tst-tls10.h: Likewise.
49681 * elf/tst-tls11.c: Likewise.
49682 * elf/tst-tls12.c: Likewise.
49683 * elf/tst-tls14.c: Likewise.
49684 * elf/tst-tlsmod11.c: Likewise.
49685 * elf/tst-tlsmod12.c: Likewise.
49686 * elf/tst-tlsmod13.c: Likewise.
49687 * elf/tst-tlsmod13a.c: Likewise.
49688 * elf/tst-tlsmod14a.c: Likewise.
49689 * elf/tst-tlsmod15b.c: Likewise.
49690 * elf/tst-tlsmod16a.c: Likewise.
49691 * elf/tst-tlsmod16b.c: Likewise.
49692 * elf/tst-tlsmod7.c: Likewise.
49693 * elf/tst-tlsmod8.c: Likewise.
49694 * elf/tst-tlsmod9.c: Likewise.
49695 * gmon/gmon.c: Likewise.
49696 * grp/fgetgrent_r.c: Likewise.
49697 * grp/putgrent.c: Likewise.
49698 * hurd/fopenport.c: Likewise.
49699 * include/libc-symbols.h: Likewise.
49700 * include/tls.h: Likewise.
49701 * intl/gettextP.h: Likewise.
49702 * intl/loadinfo.h: Likewise.
49703 * locale/global-locale.c: Likewise.
49704 * locale/localeinfo.h: Likewise.
49705 * mach/devstream.c: Likewise.
49706 * malloc/arena.c: Likewise.
49707 * malloc/set-freeres.c: Likewise.
49708 * misc/err.c: Likewise.
49709 * misc/getttyent.c: Likewise.
49710 * misc/mntent_r.c: Likewise.
49711 * posix/getopt.c: Likewise.
49712 * posix/wordexp.c: Likewise.
49713 * pwd/fgetpwent_r.c: Likewise.
49714 * resolv/Versions: Likewise.
49715 * resolv/res_hconf.c: Likewise.
49716 * shadow/fgetspent_r.c: Likewise.
49717 * shadow/putspent.c: Likewise.
49718 * stdio-common/printf_fphex.c: Likewise.
49719 * stdio-common/tmpfile.c: Likewise.
49720 * stdlib/abort.c: Likewise.
49721 * stdlib/fmtmsg.c: Likewise.
49722 * sunrpc/auth_unix.c: Likewise.
49723 * sunrpc/clnt_perr.c: Likewise.
49724 * sunrpc/clnt_tcp.c: Likewise.
49725 * sunrpc/clnt_udp.c: Likewise.
49726 * sunrpc/clnt_unix.c: Likewise.
49727 * sunrpc/openchild.c: Likewise.
49728 * sunrpc/svc_simple.c: Likewise.
49729 * sunrpc/svc_tcp.c: Likewise.
49730 * sunrpc/svc_udp.c: Likewise.
49731 * sunrpc/svc_unix.c: Likewise.
49732 * sunrpc/xdr.c: Likewise.
49733 * sunrpc/xdr_array.c: Likewise.
49734 * sunrpc/xdr_rec.c: Likewise.
49735 * sunrpc/xdr_ref.c: Likewise.
49736 * sunrpc/xdr_stdio.c: Likewise.
49738 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49740 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49742 2011-07-03 Andreas Jaeger <aj@suse.de>
49744 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49745 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49746 regenerate with gen-libm-tests.pl.
49748 2010-05-12 Petr Baudis <pasky@suse.cz>
49751 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49752 around j0() zero points by switching to j1().
49753 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49754 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49755 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49756 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49758 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49760 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49762 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49765 Patch in part by Pavel Roskin <proski@gnu.org>.
49768 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49770 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49771 Free memory block if necessary.
49774 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49775 be NULL. Don't lock in this case.
49777 2011-09-09 Roland McGrath <roland@hack.frob.com>
49779 * elf/elf.h (ELFOSABI_GNU): New macro.
49780 (ELFOSABI_LINUX): Define to that.
49782 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49784 * string/strncat.c (strncat): Undef the symbol in case it has been
49785 defined in bits/string.h.
49787 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49789 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49791 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49794 2011-08-17 Andreas Jaeger <aj@suse.de>
49796 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49798 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49799 Ian Lance Taylor <iant@google.com>
49801 * math/libm-test.inc (lround_test): New testcase.
49802 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49804 2011-09-08 Ulrich Drepper <drepper@gmail.com>
49806 * Makefile: Remove support for automatic cvs check-ins.
49807 * Makerules: Likewise.
49808 * config.make.in: Likewise.
49809 * configure.in: Likewise.
49810 * intl/Makefile: Likewise.
49811 * locale/Makefile: Likewise.
49812 * po/Makefile: Likewise.
49813 * posix/Makefile: Likewise.
49814 * sysdeps/gnu/Makefile: Likewise.
49815 * sysdeps/mach/hurd/Makefile: Likewise.
49816 * sysdeps/sparc/sparc32/Makefile: Likewise.
49819 * posix/Makefile (bug-regex32-ENV): Define.
49820 Patch by John Stanley <jpsinthemix@verizon.net>.
49822 * misc/Makefile (headers): Add bits/select2.h.
49823 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49824 * misc/bits/select2.h: New file.
49825 * include/bits/select2.h: New file.
49826 * debug/Makefile (routines): Add fdelt_chk.
49827 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49828 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49830 * debug/fdelt_chk.c: New file.
49832 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49833 * wcsmbs/test-wmemcmp.c: Likewise.
49834 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49835 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49837 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49839 * string/Makefile (strop-tests): Add memcmp.
49840 * string/test-wmemcmp.c: New file.
49841 * string/test-memcmp.c: Add wmemcmp support.
49843 2011-09-08 Roland McGrath <roland@hack.frob.com>
49846 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49849 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49850 garbage value in a __mach_port_mod_refs call in the cases of the
49851 task-self and thread-self ports.
49853 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49855 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49857 2011-09-08 Andreas Schwab <schwab@redhat.com>
49859 * elf/dl-load.c (lose): Check for non-null L.
49861 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49863 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49865 * elf/dl-libc.c (dlerror_run): Pass back error code from
49869 * elf/dl-load.c (lose): Free l_origin if it is valid.
49871 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49873 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49874 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49875 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49876 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49877 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49878 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49880 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49882 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49883 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49884 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49885 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49886 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49887 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49888 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49889 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49890 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49891 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49893 2011-08-15 Alan Modra <amodra@gmail.com>
49896 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49897 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49898 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49899 ppc_mcount to static-only-routines.
49900 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49902 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49903 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49905 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49907 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49908 for finite and infinity parameters.
49910 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49912 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49913 and add nop instructions for throughput optimization.
49914 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49916 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49918 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49919 aligned copy for power7 with vector-scalar instructions.
49920 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49922 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49924 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49927 2011-09-07 Andreas Schwab <schwab@redhat.com>
49930 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49933 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49935 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49936 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49937 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49938 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49941 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49943 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49944 Forgot to demangle the pointer.
49946 * sysdeps/i386/sysdep.h: Define atom_text_section.
49947 * sysdeps/x86_64/sysdep.h: Likewise.
49948 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49949 section with atom_text_section.
49950 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49951 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49952 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49953 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49954 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49956 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49957 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49958 already be defined. Change to take two parameters and don't assign
49959 result to variable. Adjust all users.
49960 Define INTERNAL_GETTIME if not already defined.
49961 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49964 HAVE_CLOCK_GETTIME_VSYSCALL.
49965 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49967 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49968 gettimeofday vsyscall, just use time.
49970 2011-09-06 Andreas Schwab <schwab@redhat.com>
49972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49975 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49977 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49979 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49981 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49982 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49983 syscall if possible.
49985 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49987 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49988 e_ident. Don't pass to find_mapsXX.
49989 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49991 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49994 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49995 * sysdeps/x86_64/multiarch/strchr.S: Update.
49996 Check bit_slow_BSF bit.
49997 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49998 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49999 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50001 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50004 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50006 (tryshell): Define.
50007 (__spawni): Change last parameter to be flag. Test
50008 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50009 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50010 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50011 * posix/spawni.c: Likewise.
50012 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50013 * posix/spawnp.c: Likewise. Change normal version to use
50014 SPAWN_XFLAGS_USE_PATH.
50015 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50016 SPAWN_XFLAGS_TRY_SHELL.
50019 * posix/glob.h: Remove gcc 1.x support.
50022 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50024 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50026 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50027 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50029 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50030 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50031 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50032 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50033 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50034 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50036 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50038 * sysdeps/x86_64/wcscmp.S: New file.
50040 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50041 wcscmp-c wcscmp-sse2
50042 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50043 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50044 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50045 * wcsmbs/wcscmp.c: Allow renaming.
50047 2011-09-05 David S. Miller <davem@davemloft.net>
50049 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50050 stack slot, rather than the struct return pointer slot.
50051 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50052 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50054 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50056 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50058 * po/ja.po: Update from translation team.
50061 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50062 kernel in 64-bit binaries.
50064 2011-09-01 David S. Miller <davem@davemloft.net>
50066 * elf/elf.h (HWCAP_SPARC_*): Move to..
50067 * sysdeps/sparc/sysdep.h: this new file and add new values.
50068 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50069 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50070 _DL_HWCAP_COUNT to 24.
50071 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50073 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50074 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50075 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50076 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50077 instead of magic constants.
50078 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50080 2011-08-31 David S. Miller <davem@davemloft.net>
50082 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50083 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50084 Reimplement to do errno handling inline.
50085 (SYSCALL_ERROR_HANDLER): New macro.
50086 (__SYSCALL_STRING): Do not do errno handling in asm.
50087 (__CLONE_SYSCALL_STRING): Delete.
50088 (__INTERNAL_SYSCALL_STRING): Delete.
50089 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50090 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50091 (PSEUDO): Reimplement to do errno handling inline.
50092 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50093 (SYSCALL_ERROR_HANDLER): New macro.
50094 (__SYSCALL_STRING): Do not do errno handling in asm.
50095 (__CLONE_SYSCALL_STRING): Delete.
50096 (__INTERNAL_SYSCALL_STRING): Delete.
50097 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50098 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50100 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50101 (inline_syscall*): Add 'err' argument.
50102 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50103 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50104 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50105 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50107 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50108 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50110 2011-08-30 Andreas Schwab <schwab@redhat.com>
50112 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50114 2011-08-29 Jiri Olsa <jolsa@redhat.com>
50116 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50119 2011-08-24 David S. Miller <davem@davemloft.net>
50121 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50123 2011-08-24 Andreas Schwab <schwab@redhat.com>
50125 * elf/Makefile: Add rules to build and run unload8 test.
50126 * elf/unload8.c: New file.
50127 * elf/unload8mod1.c: New file.
50128 * elf/unload8mod1x.c: New file.
50129 * elf/unload8mod2.c: New file.
50130 * elf/unload8mod3.c: New file.
50132 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50135 2011-08-23 David S. Miller <davem@davemloft.net>
50137 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50138 subtract stack bias.
50139 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50140 %sp not %fp in calculations.
50141 (_JMPBUF_UNWINDS_ADJ): Likewise.
50143 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50144 (aio_suspend): Call it to force an exception region around the
50145 AIO_MISC_WAIT() invocation.
50147 2011-08-23 Andreas Schwab <schwab@redhat.com>
50149 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50152 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50154 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50156 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50157 and <dl-machine.h>.
50158 (Elf64_FuncDesc): Remove.
50160 2011-08-22 David S. Miller <davem@davemloft.net>
50162 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50163 sigaltstack check, add missing cfi directives.
50164 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50165 missing cfi directives, and sigaltstack handling.
50167 2011-08-16 Andreas Schwab <schwab@redhat.com>
50170 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50171 object is seen twice.
50172 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50174 * elf/Makefile (distribute): Add tst-initorder2.c.
50175 (tests): Add tst-initorder2.
50176 (modules-names): Add tst-initorder2a tst-initorder2b
50177 tst-initorder2c tst-initorder2d. Add rules to build them.
50178 ($(objpfx)tst-initorder2.out): New rule.
50179 * elf/tst-initorder2.c: New file.
50180 * elf/tst-initorder2.exp: New file.
50182 2011-08-22 Andreas Schwab <schwab@redhat.com>
50184 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50186 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50187 dependencies back to end of function.
50189 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50190 $(elfobjdir)/ld.so.
50192 2011-08-21 Ulrich Drepper <drepper@gmail.com>
50194 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50195 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50197 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50198 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50199 of __vdso_gettimeofday.
50200 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50201 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50203 (_libc_vdso_platform_setup): Remove initialization of
50204 __vdso_gettimeofday and __vdso_time.
50206 2011-08-20 Ulrich Drepper <drepper@gmail.com>
50208 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50209 and fgetc_unlocked.
50210 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50213 * elf/dl-open.c (add_to_global): Report additions to the global scope
50214 for LD_DEBUG=scopes.
50215 (dl_open_worker): Also print scope of newly loaded dependencies.
50216 (_dl_show_scope): Indicate if there is no scope.
50219 * stdio-common/Makefile (tests): Add bug24.
50220 * stdio-common/bug24.c: New file.
50222 2011-08-19 Andreas Jaeger <aj@suse.de>
50225 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50226 non-existant file when using close-on-exec mode.
50228 2011-08-20 Ulrich Drepper <drepper@gmail.com>
50230 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50231 the very first instruction.
50233 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50234 the CFI state in the end.
50235 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50236 inclusion of dl-trampoline.h.
50237 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50239 2011-08-19 Andreas Schwab <schwab@redhat.com>
50241 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50242 expectations for long double.
50244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50245 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50247 2011-08-14 David S. Miller <davem@davemloft.net>
50249 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50250 artificual limit depends upon the system page size.
50252 2011-08-17 Ulrich Drepper <drepper@gmail.com>
50254 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50255 * resolv/Makefile: Define CFLAGS-libresolv.
50257 2011-08-17 Andreas Schwab <schwab@redhat.com>
50259 * nss/makedb.c (compute_tables): Make variables used in nested
50262 2011-08-17 Ulrich Drepper <drepper@gmail.com>
50264 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50265 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50266 if buffer was too small.
50268 * elf/pldd.c (main): Attach to all threads in the process.
50269 Rewrite /proc handling to use *at functions.
50271 2011-08-16 Ulrich Drepper <drepper@gmail.com>
50273 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50274 specifies first scope to show.
50275 (dl_open_worker): Update callers. Move printing scope of new
50276 object to before the relocation.
50277 * elf/rtld.c (dl_main): Update _dl_show_scope call.
50278 * sysdeps/generic/ldsodefs.h: Update declaration.
50280 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50281 string for the scope number.
50283 2011-08-14 Ulrich Drepper <drepper@gmail.com>
50285 * nscd/servicescache.c (cache_addserv): Make sure written is always
50288 2011-08-14 Roland McGrath <roland@hack.frob.com>
50290 * sysdeps/i386/i486/bits/atomic.h
50291 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50292 statement expression, so as to suppress "set but not used" warning.
50293 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50295 * string/strncat.c (STRNCAT): Use prototype definition.
50297 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50298 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50300 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50301 (localedef-modules): Add localedef.
50302 (locale-modules): Add locale.
50304 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50305 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50306 to avoid a warning.
50308 2011-08-14 David S. Miller <davem@davemloft.net>
50310 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50311 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50313 2011-08-13 Ulrich Drepper <drepper@gmail.com>
50315 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50316 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50317 * elf/rtld.c (dl_main): Set l_name of vDSO.
50318 Call _dl_show_scope when DL_DEBUG_SCOPES.
50319 (process_dl_debug): Recognize scopes flag and also set it for all.
50320 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50321 Declare _dl_show_scope.
50323 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50324 (do_dlopen): Pass caller_dlopen to dl_open.
50325 (__libc_dlopen_mode): Initialize caller_dlopen.
50327 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50328 of libc. Make tolower call locale-independent. Optimize a bit by
50329 using isdigit instead of isalnum.
50330 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50332 2011-08-12 Ulrich Drepper <drepper@gmail.com>
50334 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50335 was a dependency or dynamically loaded.
50337 2011-08-11 Ulrich Drepper <drepper@gmail.com>
50339 * intl/l10nflist.c: Allow architecture-specific pop function.
50340 * sysdeps/x86_64/l10nflist.c: New file.
50342 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50345 2011-08-10 Andreas Schwab <schwab@redhat.com>
50347 * include/dirent.h: Add libc_hidden_proto for scandirat and
50348 scandirat64. Don't declare __scandirat64.
50349 * dirent/scandirat.c: Add libc_hidden_def.
50350 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50351 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50353 2011-08-10 David S. Miller <davem@davemloft.net>
50355 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50357 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50358 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50359 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50361 2011-08-09 Ulrich Drepper <drepper@gmail.com>
50363 * Versions.def [libc]: Add GLIBC_2.15.
50364 * dirent/Makefile (routines): Add scandirat and scandirat64.
50365 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50367 * dirent/dirent.h: Declare scandirat and scandirat64.
50368 * dirent/scandirat.c: New file.
50369 * dirent/scandirat64.c: New file.
50370 * sysdeps/wordsize-64/scandirat.c: New file.
50371 * sysdeps/wordsize-64/scandirat64.c: New file.
50372 * dirent/opendir.c: Define opendirat.
50373 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50375 * dirent/scandir64.c: Adjust for scandir.c change.
50376 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50377 __scandirat64, and __scandir_cancel_handler.
50378 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50379 additional parameter and use openat instead of open (outside of ld.so).
50380 Add new __opendir as wrapper around __opendirat.
50381 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50382 here without requiring old scandirat implementation.
50384 2011-08-08 Ulrich Drepper <drepper@gmail.com>
50386 * dirent/scandir.c (cancel_handler): Renamed to
50387 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50388 defined. Adjust users.
50389 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50390 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50392 2011-08-04 Ulrich Drepper <drepper@gmail.com>
50394 * string/test-string.h (IMPL): Use __STRING to expand name and then
50397 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50400 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50402 * string/Makefile: Update.
50403 (strop-tests): Append strncat.
50404 * string/test-wcscmp.c: New file.
50405 New comprehensive test for wcscmp.
50406 * string/test-strcmp.c: Update.
50407 (WIDE): New define.
50409 2011-07-22 Andreas Schwab <schwab@redhat.com>
50411 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50414 2011-07-26 Andreas Schwab <schwab@redhat.com>
50416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50417 encoding to ACE if AI_IDN.
50419 2011-08-01 Jakub Jelinek <jakub@redhat.com>
50421 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50422 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50424 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50426 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50427 Fix overflow bug in strncat.
50428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50430 * string/test-strncat.c: Update.
50431 Add new tests for checking overflow bugs.
50433 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50435 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50436 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50437 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50438 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50439 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50440 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50441 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50442 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50443 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50445 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50446 (USE_AS_STRCAT): Define.
50447 Add strcat and strncat support.
50448 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50450 2011-07-25 Andreas Schwab <schwab@redhat.com>
50452 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50453 __n bigger than INT_MAX+1.
50454 (__strncmp_g): Likewise.
50456 2011-07-23 Ulrich Drepper <drepper@gmail.com>
50458 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50459 * libio/stido.h: Likewise.
50461 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50463 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50466 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50467 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50468 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50469 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50470 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50473 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50476 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50478 (_dl_x86_64_save_sse): Likewise.
50480 2011-07-22 Ulrich Drepper <drepper@gmail.com>
50482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50484 (_dl_x86_64_save_sse): Likewise.
50486 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50488 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50490 2011-07-21 Andreas Schwab <schwab@redhat.com>
50492 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50494 (_dl_x86_64_save_sse): Use correct AVX check.
50496 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50498 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50499 bug in strncpy/strncat.
50500 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50502 2011-07-21 Ulrich Drepper <drepper@gmail.com>
50504 * string/tester.c (test_strcat): Add tests for different alignments
50505 of source and destination.
50506 (test_strncat): Likewise.
50508 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50511 * posix/glob.c (glob): Check passed in values before using them in
50512 expressions to avoid some overflows.
50513 (glob_in_dir): Likewise.
50516 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50517 check for AVX enablement so that we don't crash with old kernels and
50519 * elf/tst-audit4.c: Add same checks here.
50520 * elf/tst-audit6.c: Likewise.
50522 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50524 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50526 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50528 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50530 * po/cs.po: Update from translation team.
50531 * po/bg.po: Likewise.
50533 2011-07-12 Marek Polacek <mpolacek@redhat.com>
50535 * misc/sys/cdefs.h: Add support for const attribute.
50536 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50537 to gnu_dev_{major,minor,makedev} functions.
50539 2011-07-20 Marek Polacek <mpolacek@redhat.com>
50541 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50543 2011-07-20 Andreas Schwab <schwab@redhat.com>
50545 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50548 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50550 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50551 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50552 register in order to avoid conflicts with the soft frame pointer
50553 being held in r11 when necessary.
50554 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50555 (INTERNAL_VSYSCALL_NCS): Likewise.
50557 2011-07-14 Marek Polacek <mpolacek@redhat.com>
50559 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50560 * elf/dl-fini.c (_dl_fini): Adjust caller.
50561 * elf/dl-close.c (_dl_close_worker): Likewise.
50562 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50564 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50566 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50567 "aux_cache->nlibs < 0".
50569 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50570 in the reload-count case.
50572 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50575 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50576 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50577 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50578 * sysdeps/x86_64/multiarch/strcat.S: New file.
50579 * sysdeps/x86_64/multiarch/strncat.S: New file.
50580 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50581 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50582 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50583 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50584 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50585 (USE_AS_STRCAT): Define.
50586 Add strcat and strncat support.
50587 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50588 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50589 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50590 * string/strncat.c: Update.
50591 (USE_AS_STRNCAT): Define.
50592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50593 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50595 * sysdeps/x86_64/multiarch/init-arch.h
50596 (bit_Prefer_PMINUB_for_stringop): New.
50597 (index_Prefer_PMINUB_for_stringop): Likewise.
50598 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50599 bit_Prefer_PMINUB_for_stringop.
50601 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50603 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50605 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50606 of casting of buffer.
50607 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50608 buffer32 and buffer64.
50609 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50610 writes instead of casting of buffer.
50611 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50613 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50616 2011-07-19 Andreas Schwab <schwab@redhat.com>
50618 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50620 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50622 * nscd/nscd.c (termination_handler): Don't do anything for a database
50623 if it has not yet been initialized.
50625 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50627 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50629 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50631 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50633 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50635 * po/nl.po: Update from translation team.
50636 * po/sv.po: Likewise.
50638 2011-07-16 Roland McGrath <roland@hack.frob.com>
50640 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50641 now disallowed by GCC.
50643 * configure.in (use-default-link): Default to yes if a test -shared
50644 link meets our qualifications.
50645 * configure: Regenerated.
50647 * config.make.in (output-format): New variable.
50648 * configure.in: Check for ld --print-output-format support.
50649 * configure: Regenerated.
50650 * Makerules ($(common-objpfx)format.lds)
50651 [$(output-format) != unknown]: Just use $(output-format),
50652 instead of the linker-script munging.
50654 2011-07-14 Roland McGrath <roland@hack.frob.com>
50656 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50657 of $(common-objpfx)shlib.lds.
50658 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50660 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50661 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50663 * configure.in (-z relro check): Adjust test code to add a large
50664 writable data section after it.
50665 * configure: Regenerated.
50667 2011-07-11 Roland McGrath <roland@hack.frob.com>
50669 * configure.in (-z relro check): Fix test code to make the variable
50671 * configure: Regenerated.
50673 2011-07-11 Ulrich Drepper <drepper@gmail.com>
50675 * nscd/nscd.h (struct traced_file): Define.
50676 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50677 elements. Add traced_files.
50678 (inotify_fd): Declare.
50679 (register_traced_file): Declare.
50680 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50681 (inotify_fd): Export.
50682 (resolv_conf_descr): Remove.
50683 (nscd_init): Move inotify descriptor creation to main.
50684 Don't register files for notification here.
50685 (register_traced_file): New function.
50686 (invalidate_cache): Don't use reset_res to determine whether to call
50687 res_init, go through the list of registered files.
50688 (main_loop_poll): The inotify descriptors are now stored in the
50689 structures for the traced files.
50690 (main_loop_epoll): Likewise
50691 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50692 to __nss_disable_nscd.
50693 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50694 for a database anymore. Check the records for all the registered
50696 * nss/Makefile (libnss_files-routines): Add files-init.
50697 (libnss_db-routines): Add db-init.
50698 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50699 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50700 * nss/nss_db/db-init.c: New file.
50701 * nss/nss_files/files-init.c: New file.
50702 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50703 __nss_lookup_function.
50704 (__nss_lookup_function): Call nss_load_library.
50705 (nss_load_all_libraries): New function.
50706 (__nss_disable_nscd): Take parameter with callback function for files
50707 to register. Set is_nscd. Load all the DSOs for the NSS modules
50708 used for the cached services.
50709 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50710 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50711 options for features to all the files in nscd.
50713 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50715 2011-07-10 Roland McGrath <roland@hack.frob.com>
50717 * csu/elf-init.c (__libc_csu_init): Comment typo.
50719 2011-07-09 Ulrich Drepper <drepper@gmail.com>
50721 * po/pl.po: Update from translation team.
50722 * po/ja.po: Likewise.
50723 * po/ru.po: Likewise.
50724 * po/ko.po: Likewise.
50725 * po/fr.po: Likewise.
50727 2011-07-09 Roland McGrath <roland@hack.frob.com>
50729 * configure.in (.ctors/.dtors header and trailer check):
50730 Use an empirical test on a built program.
50731 * configure: Regenerated.
50733 * configure.in (-z relro check): Use an empirical test on a built DSO.
50734 Detect, but do not require, on ia64.
50735 * configure: Regenerated.
50737 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50738 Update tests that use readelf to use $READELF instead.
50739 * configure: Regenerated.
50741 2011-07-08 Ulrich Drepper <drepper@gmail.com>
50743 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50744 if the result is not used.
50746 2011-07-05 Andreas Jaeger <aj@suse.de>
50749 * stdlib/tst-strtod.c: Add testcase.
50751 2011-07-07 Ulrich Drepper <drepper@gmail.com>
50753 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50754 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50755 The latter has a higher limit. Take additional parameter to pass to
50757 (__pathconf): Pass file to __statfs_link_max.
50758 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50760 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50764 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50765 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50767 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50768 (__statfs_filesize_max): Likewise.
50769 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50771 2011-07-05 Andreas Jaeger <aj@suse.de>
50773 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50775 2011-07-06 Marek Polacek <mpolacek@redhat.com>
50777 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50779 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50782 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50784 * Makefile (strop-tests): Add strncat.
50785 * string/test-strncat.c: New file.
50787 2011-06-30 Marek Polacek <mpolacek@redhat.com>
50789 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50791 2011-06-21 Andreas Jaeger <aj@suse.de>
50793 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50794 Copy rule from iconvdata/Makefile.
50796 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50799 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50800 but no long options are defined, just return 'W'.
50802 2011-06-22 Marek Polacek <mpolacek@redhat.com>
50805 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50807 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50809 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50811 (innetgr): Likewise.
50813 2011-07-05 Roland McGrath <roland@hack.frob.com>
50815 * config.make.in (install_root): Default to $(DESTDIR).
50817 2011-07-05 Ulrich Drepper <drepper@gmail.com>
50819 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50821 2011-07-02 Roland McGrath <roland@hack.frob.com>
50823 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50825 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50826 containing directory rather than embedding absolute directory names.
50828 * scripts/check-local-headers.sh: Rewritten using awk.
50829 Match by word, not by line. Print error messages for matches.
50830 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50832 * Makerules [shlib-lds-flags empty]:
50833 ($(common-objpfx)libc_pic.opts): New target.
50834 ($(common-objpfx)libc_pic.os.clean): New target.
50835 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50837 * config.make.in (OBJCOPY): New variable.
50838 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50839 * configure: Regenerated.
50841 * config.make.in (use-default-link): New variable.
50842 * configure.in (use_default_link): Grok --with-default-link to set it.
50843 * configure: Regenerated.
50844 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50845 (shlib-lds, shlib-lds-flags): Define to empty.
50847 * Makerules (shlib-lds): New variable.
50848 (shlib-lds-flags): New variable.
50849 (build-shlib, build-moduile, build-module-asneeded): Use it.
50850 ($(common-objpfx)libc.so): Use $(shlib-lds).
50851 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50852 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50854 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50855 DT_FLAGS/DT_FLAGS_1 with zero flags.
50857 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50858 linker script munging.
50860 2011-07-02 Ulrich Drepper <drepper@gmail.com>
50862 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50864 * crypt/sha512.c (sha512_process_block): Perform total addition using
50865 128-bit if possible.
50866 (__sha512_finish_ctx): Likewise.
50867 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50869 * crypt/sha256.c (SWAP64): Define.
50870 (sha256_process_block): Perform total addition using 64-bit if
50872 (__sha256_finish_ctx): Likewise.
50874 2011-07-01 Ulrich Drepper <drepper@gmail.com>
50876 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50877 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50878 * nscd/hstcache.c (cache_addhst): Likewise.
50879 * nscd/grpcache.c (cache_addgr): Likewise.
50880 * nscd/aicache.c (addhstaiX): Likewise
50881 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50883 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
50885 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50886 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50887 * nscd/hstcache.c (cache_addhst): Likewise.
50888 * nscd/grpcache.c (cache_addgr): Likewise.
50889 * nscd/aicache.c (addhstaiX): Likewise
50891 2011-07-01 Andreas Schwab <schwab@redhat.com>
50893 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50894 domain only when needed.
50896 2011-06-30 Andreas Schwab <schwab@redhat.com>
50898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50899 is always restored.
50901 2011-06-29 Ulrich Drepper <drepper@gmail.com>
50903 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50904 are re-adding the entry.
50905 * nscd/servicescache.c (cache_addserv): Likewise.
50907 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50909 * sysdeps/generic/dl-irel.h: fix protection against multiple
50911 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50913 2011-06-28 Ulrich Drepper <drepper@gmail.com>
50916 * malloc/memusage.sh: Fix quoting in message.
50917 * debug/xtrace.sh: Likewise.
50919 * configure.in: Remove support for --experimental-malloc option, make
50921 * config.make.in: Likewise.
50922 * malloc/Makefile: Likewise.
50924 2011-06-27 Andreas Schwab <schwab@redhat.com>
50926 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50927 two-byte characters.
50929 2011-06-27 Roland McGrath <roland@hack.frob.com>
50931 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50932 AC_CACHE_CHECK invocation.
50933 * configure: Regenerated.
50935 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50937 2011-06-27 Ulrich Drepper <drepper@gmail.com>
50940 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50941 bit from old_res_options.
50943 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50945 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50946 value type for setfct.
50948 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50950 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50951 __gettimeofday instead of gettimeofday.
50953 2011-06-26 Ulrich Drepper <drepper@gmail.com>
50955 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50957 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50959 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50961 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50964 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50966 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50967 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50968 strcpy-sse2-unaligned strncpy-sse2-unaligned
50969 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50970 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50971 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50972 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50973 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50974 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50975 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50976 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50977 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50978 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50979 (STRCPY): Support SSE2 and SSSE3 versions.
50981 2011-06-24 Ulrich Drepper <drepper@gmail.com>
50984 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50985 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50986 kernels which artificially limit size of requests.
50988 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50991 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50992 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50993 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50994 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50995 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50996 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50997 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50998 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50999 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51000 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51001 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51002 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51003 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51004 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51006 Enable unaligned load optimization for Intel Core i3, i5 and i7
51008 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51010 (index_Fast_Unaligned_Load): Define.
51011 (HAS_FAST_UNALIGNED_LOAD): Define.
51013 2011-06-23 Marek Polacek <mpolacek@redhat.com>
51015 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51017 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51021 until it is clear that the information is realy needed.
51022 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51024 2011-06-22 Andreas Schwab <schwab@redhat.com>
51026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51028 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51030 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51031 /sys/devices/system/cpu/online if it is usable.
51033 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51034 reading the information from the /proc filesystem to once a second.
51036 2011-06-21 Andreas Jaeger <aj@suse.de>
51038 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51039 NULL after inclusion of kernel headers.
51041 2011-06-21 Ulrich Drepper <drepper@gmail.com>
51043 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51044 calls to internal_setent.
51047 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51048 addresses using gethostbyname4_r ignore IPv4 addresses.
51050 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51051 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51053 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51055 2011-06-20 David S. Miller <davem@davemloft.net>
51057 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51059 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51061 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51062 (elf_irel): Use it.
51063 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51064 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51065 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51066 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51067 * sysdeps/x86_64/dl-irel.h: Likewise.
51069 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51070 * elf/dl-sym.c: Likewise.
51072 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51074 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51075 need to dereference resplen2.
51077 2011-06-14 Andreas Schwab <schwab@redhat.com>
51079 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51081 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51083 * Makeconfig: Define vardbdir and inst_vardbdir.
51084 * nss/Makefile: Add rules to install db-Makefile.
51086 * nss/nss_db/db-XXX.c: Cleanup.
51088 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51089 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51091 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51092 * nss/makedb.c: Implement -g option to specify that value strings
51093 are generated and should not be added to table iterated over for
51095 * nss/nss_db/db-initgroups.c: New file.
51097 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51100 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51101 (internal_getgrouplist): Adjust to name change.
51102 Update use_initgroups_entry if this is not the first call.
51103 * nss/databases.def: Add initgroups entry.
51105 * nss/makedb.c (compute_tables): Check result of multiple hash table
51106 sizes to minimize maximum chain length.
51108 2011-06-14 Ulrich Drepper <drepper@gmail.com>
51110 * Versions.def: Add entry for libnss_db.
51111 * shlib-versions: Likewise.
51112 * nss/Makefile: Add rules to build libnss_db.
51113 * nss/Versions: Add libnss_db information. Organize libnss_files
51115 * nss/db-Makefile: Add gshadow support. Change rules for the new
51116 makedb progra. Some minor improvements to generate smaller files.
51117 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51119 * nss/makedb.c: ...here.
51120 Improve database format to be smaller and require less memory at
51122 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51124 * nss/nss_db/db-netgrp.c: Likewise.
51125 * nss/nss_db/db-open.c: Likewise.
51126 * nss/nss_files/flies-XXX.x: Adjust comments.
51127 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51128 * nss/nss_files/files-grp.c: Likewise.
51129 * nss/nss_files/files-hosts.c: Likewise.
51130 * nss/nss_files/files-network.c: Likewise.
51131 * nss/nss_files/files-proto.c: Likewise.
51132 * nss/nss_files/files-pwd.c: Likewise.
51133 * nss/nss_files/files-rpc.c: Likewise.
51134 * nss/nss_files/files-service.c: Likewise.
51135 * nss/nss_files/files-sgrp.c: Likewise.
51136 * nss/nss_files/files-spwd.c: Likewise.
51137 * nss/nss_db/db-alias.c: Removed.
51138 * nss/nss_db/dummy-db.h: Removed.
51140 2011-06-02 Ulrich Drepper <drepper@gmail.com>
51142 * nss/makedb.c: Rewritten to not use database library.
51143 * nss/Makefile: Update to build new makedb program.
51145 2011-06-14 Andreas Jaeger <aj@suse.de>
51147 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51148 memset declaration.
51150 2011-06-10 Andreas Schwab <schwab@redhat.com>
51152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51155 2011-06-10 Roland McGrath <roland@hack.frob.com>
51157 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51158 * elf/Makefile ($(objpfx)ld.so): Likewise.
51160 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51161 Don't list ld.so twice in dependencies.
51163 * posix/bug-regex31.c: Include <stdlib.h>.
51165 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51167 * nis/nss_compat/compat-spwd.c
51168 (getspent_next_nss_netgr): Remove unused variable.
51169 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51171 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51172 nonmembers" output to use the right array.
51174 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51176 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51178 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51179 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51180 * catgets/gencat.c (read_input_file): Likewise.
51181 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51183 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51184 variable definition inside #if's controlling its use.
51186 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51188 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51190 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51192 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51195 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51197 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51198 * configure: Regenerated.
51200 * Makerules: Revert last change.
51201 * elf/Makefile: Likewise.
51203 2011-06-09 Roland McGrath <roland@hack.frob.com>
51205 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51206 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51207 (reloc-link): Likewise.
51209 2011-06-09 Ulrich Drepper <drepper@gmail.com>
51211 * elf/Makefile: Add rules to build pldd.
51212 * elf/pldd.c: New file.
51213 * elf/pldd-xx.c: New file.
51215 2011-06-07 Ulrich Drepper <drepper@gmail.com>
51217 * version.h: Update for 2.15 development version.
51219 2011-06-07 David S. Miller <davem@davemloft.net>
51221 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51223 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51224 elf_machine_lazy_rel): Likewise.
51225 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51226 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51227 elf_machine_lazy_rel): Likewise.
51228 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51229 dl_hwcap via passed in argument.
51230 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51233 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51235 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51237 2011-06-06 Roland McGrath <roland@hack.frob.com>
51240 * manual/fdl-1.1.texi: New file, verbatim from:
51241 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51242 * manual/lgpl-2.1.texi: New file, verbatim from:
51243 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51244 * manual/Makefile (licenses): New variable, list those new file names.
51246 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51248 * manual/fdl.texi: File removed.
51249 * manual/lesser.texi: File removed.
51250 * manual/libc.texinfo (Copying, Documentation License):
51251 Use new @include file names, put @appendix directive before @include.
51253 2011-06-04 Jakub Jelinek <jakub@redhat.com>
51256 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51257 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51258 (mq_open): Add __NTH.
51260 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51263 Assume Intel Core i3/i5/i7 processor if AVX is available.
51265 2011-05-31 Ulrich Drepper <drepper@gmail.com>
51267 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51270 2011-05-31 Andreas Schwab <schwab@redhat.com>
51272 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51273 memory. Use alloca_account. Fix memory leak when retrying.
51275 2011-05-31 Ulrich Drepper <drepper@gmail.com>
51277 * version.h (RELEASE): Bump for 2.14 release.
51278 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51280 * config.make.in (RANLIB): Remove entry.
51282 2011-05-30 Ulrich Drepper <drepper@gmail.com>
51284 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51285 (libc.pot): Work around missing support for .ksh extension in xgettext.
51288 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51289 if both request failed.
51290 (send_dg): In case of server errors clear resplen or *resplen2.
51293 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51294 when there are multiple maps.
51295 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51296 (_dl_fini): Remove test here.
51298 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51300 2011-05-29 Ulrich Drepper <drepper@gmail.com>
51303 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51304 bit from old_res_options.
51305 (gaih_inet): Likewise.
51308 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51311 * resolv/res_init.c (res_setoptions): Make the code more compact.
51314 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51318 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51320 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51323 * malloc/malloc.h: Declare malloc hook variables as volatile.
51325 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51329 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51330 raise in the comment.
51331 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51332 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51333 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51335 2011-05-28 Ulrich Drepper <drepper@gmail.com>
51338 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51339 grow the buffers more if it already has to be sufficient.
51340 (build_wcs_upper_buffer): Likewise.
51341 * posix/regexec.c (check_matching): Likewise.
51342 (clean_state_log_if_needed): Likewise.
51343 (extend_buffers): Don't enlarge buffers beyond size of the input
51345 Patches mostly by Emil Wojak <emil@wojak.eu>.
51346 * posix/bug-regex32.c: New file.
51347 * posix/Makefile (tests): Add bug-regex32.
51349 * locale/findlocale.c (_nl_find_locale): Return right away if
51350 _nl_explode_name failed.
51351 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51353 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51355 * debug/xtrace.sh: Unify messages.
51356 * malloc/memusage.sh: Likewise.
51359 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51360 time symbol from vDSO. Substitute with vsyscall if not available.
51361 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51364 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51365 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51366 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51367 Add sendmmsg and internal_sendmmsg.
51368 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51369 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51370 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51372 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51373 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51374 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51376 2011-05-27 Ulrich Drepper <drepper@gmail.com>
51379 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51380 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51382 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51386 * iconvdata/Makefile (tests): Add bug-iconv9.
51387 * iconvdata/bug-iconv9.c: New file.
51389 2011-05-27 Andreas Schwab <schwab@redhat.com>
51392 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51394 2011-05-25 Jakub Jelinek <jakub@redhat.com>
51396 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51397 (struct user_regs_struct): Change intcs field back to cs.
51399 2011-05-25 Ulrich Drepper <drepper@gmail.com>
51401 * po/ja.po: Update from translation team.
51403 2011-05-23 Ulrich Drepper <drepper@gmail.com>
51406 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51407 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51409 2011-05-20 Andreas Schwab <schwab@redhat.com>
51411 * stdlib/longlong.h: Update from GCC.
51413 2011-05-23 Andreas Schwab <schwab@redhat.com>
51415 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51417 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51418 Add parameter name.
51419 (__sysconf): Pass it down.
51421 2011-05-22 Ulrich Drepper <drepper@gmail.com>
51424 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51426 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51427 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51428 add in in __libc_use_alloca calls. Adjust callers.
51429 (glob): Use malloc in some situations.
51431 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51432 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51435 2011-05-21 Ulrich Drepper <drepper@gmail.com>
51437 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51438 and CLOCK_BOOTTIME_ALARM.
51441 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51444 * string/_strerror.c (__strerror_r): Print negative errors as signed
51448 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51449 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51450 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51452 * configure.in: Fix typo in redirection and correct removal of test
51453 files in two cases.
51456 * locale/setlocale.c (new_composite_name): Fix test to check for
51457 identical name of all categories.
51460 * libio/filedoalloc.c (local_isatty): New function.
51461 (_IO_file_doallocate): Use local_isatty.
51462 * stdio-common/perror.c (perror): In case a new stream is used
51463 forward the stream error.
51464 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51467 2011-05-20 Ulrich Drepper <drepper@gmail.com>
51470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51472 * include/alloca.h (extend_alloca_account): Define.
51475 * posix/regex.h: Fix comments with documentation of user-accessible
51476 fields after compilation and describe correct free'ing of pattern
51477 after re_compile_pattern.
51478 Patch by Reuben Thomas <rrt@sc3d.org>.
51480 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51482 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51483 and -mno-altivec to prevent the compiler from using Altivec and/or
51484 VSX instructions when the corresponding registers are not available.
51486 2011-05-19 Andreas Schwab <schwab@redhat.com>
51488 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51490 2011-05-19 Ulrich Drepper <drepper@gmail.com>
51492 * libio/freopen.c (freopen): Use __dup2, not dup2.
51493 * libio/freopen64.c (freopen64): Likewise.
51495 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51498 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51499 * math/Makefile (tests): Add test-powl.
51500 (CFLAGS-test-powl.c): Define.
51501 * math/test-powl.c: New file.
51503 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51505 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51507 2011-05-17 Ulrich Drepper <drepper@gmail.com>
51510 * iconvdata/gb18030.c: Update to GB18020-2005.
51512 2011-05-16 Ulrich Drepper <drepper@gmail.com>
51514 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51515 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51516 Patch by Aharon Robbins <arnold@skeeve.com>.
51519 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51523 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51524 through underflows.
51527 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51528 point to strings before performing equality test for error_one_per_line
51532 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51535 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51536 (struct user_fpregs_struct): Avoid __uint*_t types.
51539 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51540 symbol info. Use it instead of calling _dl_addr locally.
51541 (lock_and_info): New function.
51542 (tr_freehook): Call lock_and_info and pass symbol info as additional
51543 parameter to tr_where.
51544 (tr_mallochook): Likewise.
51545 (tr_reallochook): Likewise.
51546 (tr_memalignhook): Likewise.
51548 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51549 used and couldn't be at all thread-safe.
51551 2011-05-15 Ulrich Drepper <drepper@gmail.com>
51553 * libio/freopen.c (freopen): Don't close old file descriptor
51554 before the new one is opened. Instead dup the new file descriptor
51555 to the old one after the new stream is created.
51556 * libio/freopen64.c (freopen64): Likewise.
51557 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51558 * libio/fileops.c (_IO_new_file_close_it): Handle new
51559 _IO_FLAGS2_NOCLOSE flag.
51560 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51561 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51562 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51563 _IO_FLAGS2_NOCLOSE flag.
51564 * include/unistd.h: Add hidden_proto for dup3.
51565 Define __have_dup3.
51566 * io/dup3.c: Define hidden symbol.
51567 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51570 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51571 when an incomplete long option is used.
51572 * posix/tst-getopt_long1.c: New file.
51573 * posix/Makefile (tests): Add tst-getopt_long1.
51576 * scripts/config.guess: Update from autoconf-2.68.
51577 * scripts/config.sub: Likewise.
51580 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51582 (has_cpuclock): ...this. New function.
51583 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51584 macro here based on has_cpuclock code.
51587 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51588 First byte (not low byte) is now always NUL.
51589 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51591 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51592 Use non-cancelable interfaces.
51595 * locale/iso-639.def: Add entry for Sorani.
51598 * include/stdlib.h: Move include protection to the right place.
51599 Define abort_msg_s. Declare __abort_msg with it.
51600 * stdlib/abort.c (__abort_msg): Adjust type.
51601 * assert/assert.c (__assert_fail_base): New function. Majority
51602 of code from __assert_fail. Allocate memory for __abort_msg with
51604 (__assert_fail): Now call __assert_fail_base.
51605 * assert/assert-perr.c: Remove bulk of implementation. Use
51606 __assert_fail_base.
51607 * include/assert.hL Declare __assert_fail_base.
51608 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51610 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51612 2011-05-14 Ulrich Drepper <drepper@gmail.com>
51616 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51617 until all modules are registered in the DTV.
51618 * elf/Makefile: Add rules to build and run tst-tls19.
51619 * elf/tst-tls19.c: New file.
51620 * elf/tst-tls19mod1.c: New file.
51621 * elf/tst-tls19mod2.c: New file.
51622 * elf/tst-tls19mod3.c: New file.
51623 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51626 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51630 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51631 two-byte sequence errors.
51632 * iconvdata/Makefile (tests): Add bug-iconv8.
51633 * iconvdata/bug-iconv8.c: New file.
51636 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51639 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51642 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51643 (dummy_getcfa): New function.
51644 (init): Get _Unwind_GetCFA address, use dummy if not found.
51645 (backtrace_helper): In recursion check, also check whether CFA changes.
51646 (__backtrace): Completely initialize arg.
51648 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51649 storing incomplete byte sequence in state object. Avoid testing for
51650 guaranteed too small input if we know there is enough data available.
51652 2011-05-11 Andreas Schwab <schwab@redhat.com>
51654 * Makeconfig (+link-pie): Indent.
51655 * Rules (binaries-pie): Define if $(have-fpie) and
51657 (binaries-shared): Also filter out $(binaries-pie).
51658 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51659 * nscd/Makefile (others-pie): Add nscd.
51660 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51661 ($(objpfx)nscd): Remove command override.
51662 * login/Makefile (others-pie): Add pt_chown.
51663 ($(objpfx)pt_chown): Remove command override.
51664 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51665 remove command overrides.
51667 2011-05-13 Ulrich Drepper <drepper@gmail.com>
51669 * libio/tst_putwc.c: Fix error messages.
51672 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51673 currently writing and seek to current position when not.
51674 * libio/Makefile (tests): Add bug-fclose1.
51675 * libio/bug-fclose1.c: New file.
51677 2011-05-12 Ulrich Drepper <drepper@gmail.com>
51680 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51681 don't set DF_1_NODELETE here.
51682 (do_lookup_x): When entering new entry test for copy relocation
51683 and if necessary set DF_1_NODELETE flag.
51684 * elf/tst-unique4.cc: New file.
51685 * elf/tst-unique4.h: New file.
51686 * elf/tst-unique4lib.cc: New file.
51687 * elf/Makefile: Add rules to build and run tst-unique4.
51688 Patch by Piotr Bury <pbury@goahead.com>.
51690 2011-05-11 Ulrich Drepper <drepper@gmail.com>
51693 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51696 * misc/mntent_r.c (addmntent): Flush the stream after the output
51699 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51700 (is_trusted_path_normalize): Skip initial colon. Append slash
51701 to empty buffer. Duplicate is_trusted_path code but allow
51702 constructed patch to be prefix.
51703 (is_dst): Allow $ORIGIN followed by /.
51704 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51705 Correct testing of result of is_trusted_path_normalize
51706 (decompose_rpath): Fix warning.
51708 2011-05-10 Ulrich Drepper <drepper@gmail.com>
51711 * grp/initgroups.c (internal_getgrouplist): When we found the service
51712 list through the initgroups entry in nsswitch.conf do not always
51713 continue on a successful lookup. Don't always use the
51714 __nss_group_database value if it is set.
51715 * nss/nsswitch.conf (initgroups): Change action for successful db
51716 lookup to continue for compatibility.
51718 2011-05-09 Ulrich Drepper <drepper@gmail.com>
51721 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51723 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51725 * iconvdata/tst-tables.sh: Likewise.
51726 * iconvdata/cp770.c: New file.
51727 * iconvdata/cp771.c: New file.
51728 * iconvdata/cp772.c: New file.
51729 * iconvdata/cp773.c: New file.
51730 * iconvdata/cp774.c: New file.
51731 * iconvdata/testdata/CP770: New file.
51732 * iconvdata/testdata/CP770..UTF8: New file.
51733 * iconvdata/testdata/CP771: New file.
51734 * iconvdata/testdata/CP771..UTF8: New file.
51735 * iconvdata/testdata/CP772: New file.
51736 * iconvdata/testdata/CP772..UTF8: New file.
51737 * iconvdata/testdata/CP773: New file.
51738 * iconvdata/testdata/CP773..UTF8: New file.
51739 * iconvdata/testdata/CP774: New file.
51740 * iconvdata/testdata/CP774..UTF8: New file.
51742 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51744 * iconvdata/gen-8bit-gap.sh: Likewise.
51745 * iconvdata/gen-8bit.sh: Likewise.
51747 * locale/iso-639.def: Add ary entry.
51750 * locale/C-translit.h.in: Add U20A1 transliteration.
51753 * locale/iso-639.def: Add wae entry.
51754 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51757 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51761 * locale/C-translit.h.in: Add entry for U20B9.
51762 Patch by pravin.d.s@gmail.com.
51764 2011-05-08 Ulrich Drepper <drepper@gmail.com>
51767 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51768 ENAMETOOLONG use generic getcwd.
51769 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51770 in rtld. Use *stat64.
51771 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51772 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51773 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51774 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51775 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51776 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51777 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51778 __fstatat64 macros.
51779 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51780 * dirent/rewinddir.c: Add libc_hidden_def.
51781 * sysdeps/mach/hurd/rewinddir.c: Likewise.
51782 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
51784 * include/dirent.h (__alloc_dir): Add flags parameter.
51785 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51786 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51788 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51789 from fdopendir if O_CLOEXEC is already set.
51791 2011-03-15 Alan Modra <amodra@gmail.com>
51793 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51794 l_tls_firstbyte_offset non-zero. Save padding offset in
51795 l_tls_firstbyte_offset for later use.
51796 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51797 freeing static tls block.
51799 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51801 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51802 where #ifdef was intended. The intent is to prevent ARG_MAX from
51803 being defined by the kernel headers.
51805 2011-05-07 Ulrich Drepper <drepper@gmail.com>
51808 * resolv/resolv.h: Define RES_NOTLDQUERY.
51809 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51810 no-tld-query and set RES_NOTLDQUERY.
51811 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51812 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51813 modern BIND to search name as TLD unless forbidden.
51815 2011-05-07 Petr Baudis <pasky@suse.cz>
51816 Ulrich Drepper <drepper@gmail.com>
51819 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51820 (is_trusted_path): ...to here.
51821 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51822 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51823 using is_trusted_path_normalize() in setuid scripts.
51825 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51827 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51828 __BEGIN/__END_DECLS.
51830 2011-05-06 Ulrich Drepper <drepper@gmail.com>
51832 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51833 NSS_STATUS_NOTFOUND if no record was found.
51835 2011-05-05 Andreas Schwab <schwab@redhat.com>
51837 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51838 (headers-not-in-tirpc): Remove rpc/netdb.h
51839 * resolv/netdb.h: Revert last change.
51841 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51843 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51844 circular dependency between libgcc.a and libc.a.
51846 2011-05-05 Andreas Schwab <schwab@redhat.com>
51848 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51849 * nis/Makefile: Don't install rpcsvc/*.
51850 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51851 instead of <rpc/types.h>.
51852 (MAXHOSTNAMELEN): Define.
51854 2011-05-03 Andreas Schwab <schwab@redhat.com>
51856 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51858 2011-04-28 Maciej Babinski <mbabinski@google.com>
51861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51862 gethostbyname4_r when IPv6 results are possible.
51864 2011-05-02 Ulrich Drepper <drepper@gmail.com>
51867 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51868 _PC_PIPE_BUF handling.
51870 2011-04-30 Bruno Haible <bruno@clisp.org>
51873 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51874 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51876 * inet/getnameinfo.c (getnameinfo): Likewise.
51878 2011-04-29 Ulrich Drepper <drepper@gmail.com>
51880 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51881 to groups setting in database lookup.
51882 * nss/nsswitch.conf: Add initgroups entry.
51884 2011-04-22 Ulrich Drepper <drepper@gmail.com>
51887 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51889 Patch by Eric Blake <eblake@redhat.com>.
51891 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51893 * sunrpc/Makefile (need-export-routines): Add svc_run.
51894 (routines): Remove svc_run.
51895 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51896 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51897 * sunrpc/svc_run.c (svc_run): Likewise.
51898 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51900 2011-04-21 Ulrich Drepper <drepper@gmail.com>
51902 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51903 problem in reallocation in last patch.
51905 2011-04-20 Ulrich Drepper <drepper@gmail.com>
51907 * sunrpc/Makefile: Move inclusion of Rules.
51909 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51911 * nss/nss_files/files-initgroups.c: New file.
51912 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51913 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51914 _nss_files_initgroups_dyn.
51916 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51918 * elf/elf.h (R_ARM_IRELATIVE): Define.
51920 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51922 * po/ru.po: Update from translation team.
51924 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51926 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51929 2011-02-06 Mike Frysinger <vapier@gentoo.org>
51932 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51933 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51934 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51935 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51936 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51938 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51940 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51942 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51943 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51944 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51946 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51949 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51951 * stdlib/bug-getcontext.c: New file.
51952 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51954 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51956 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51957 instructions into .machine "z9-109".
51958 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51959 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51961 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51963 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51964 between environment variables and auxiliary vector.
51966 2011-04-16 Ulrich Drepper <drepper@gmail.com>
51968 * Makefile: Add rules to build linkobj/libc.so.
51969 * include/libc-symbols.h: Define libc_hidden_nolink.
51970 * include/rpc/auth.h: Mark functions which are to be hidden.
51971 * include/rpc/auth_des.h: Likewise.
51972 * include/rpc/auth_unix.h: Likewise.
51973 * include/rpc/clnt.h: Likewise.
51974 * include/rpc/des_crypt.h: Likewise.
51975 * include/rpc/key_prot.h: Likewise.
51976 * include/rpc/pmap_clnt.h: Likewise.
51977 * include/rpc/pmap_prot.h: Likewise.
51978 * include/rpc/pmap_rmt.h: Likewise.
51979 * include/rpc/rpc_msg.h: Likewise.
51980 * include/rpc/svc.h: Likewise.
51981 * include/rpc/svc_auth.h: Likewise.
51982 * include/rpc/xdr.h: Likewise.
51983 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51984 * nss/Makefile: Likewise.
51985 * sunrpc/Makefile: Don't install headers. Build library with normal
51986 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51987 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51988 for the compat linking library. Remove use of INTDEF/INTUSE.
51989 * sunrpc/auth_none.c: Likewise.
51990 * sunrpc/auth_unix.c: Likewise.
51991 * sunrpc/authdes_prot.c: Likewise.
51992 * sunrpc/authuxprot.c: Likewise.
51993 * sunrpc/clnt_gen.c: Likewise.
51994 * sunrpc/clnt_perr.c: Likewise.
51995 * sunrpc/clnt_raw.c: Likewise.
51996 * sunrpc/clnt_simp.c: Likewise.
51997 * sunrpc/clnt_tcp.c: Likewise.
51998 * sunrpc/clnt_udp.c: Likewise.
51999 * sunrpc/clnt_unix.c: Likewise.
52000 * sunrpc/des_crypt.c: Likewise.
52001 * sunrpc/des_soft.c: Likewise.
52002 * sunrpc/get_myaddr.c: Likewise.
52003 * sunrpc/key_call.c: Likewise.
52004 * sunrpc/key_prot.c: Likewise.
52005 * sunrpc/netname.c: Likewise.
52006 * sunrpc/pm_getmaps.c: Likewise.
52007 * sunrpc/pm_getport.c: Likewise.
52008 * sunrpc/pmap_clnt.c: Likewise.
52009 * sunrpc/pmap_prot.c: Likewise.
52010 * sunrpc/pmap_prot2.c: Likewise.
52011 * sunrpc/pmap_rmt.c: Likewise.
52012 * sunrpc/publickey.c: Likewise.
52013 * sunrpc/rpc_cmsg.c: Likewise.
52014 * sunrpc/rpc_common.c: Likewise.
52015 * sunrpc/rpc_dtable.c: Likewise.
52016 * sunrpc/rpc_prot.c: Likewise.
52017 * sunrpc/rpc_thread.c: Likewise.
52018 * sunrpc/rtime.c: Likewise.
52019 * sunrpc/svc.c: Likewise.
52020 * sunrpc/svc_auth.c: Likewise.
52021 * sunrpc/svc_authux.c: Likewise.
52022 * sunrpc/svc_raw.c: Likewise.
52023 * sunrpc/svc_run.c: Likewise.
52024 * sunrpc/svc_simple.c: Likewise.
52025 * sunrpc/svc_tcp.c: Likewise.
52026 * sunrpc/svc_udp.c: Likewise.
52027 * sunrpc/svc_unix.c: Likewise.
52028 * sunrpc/svcauth_des.c: Likewise.
52029 * sunrpc/xcrypt.c: Likewise.
52030 * sunrpc/xdr.c: Likewise.
52031 * sunrpc/xdr_array.c: Likewise.
52032 * sunrpc/xdr_float.c: Likewise.
52033 * sunrpc/xdr_intXX_t.c: Likewise.
52034 * sunrpc/xdr_mem.c: Likewise.
52035 * sunrpc/xdr_rec.c: Likewise.
52036 * sunrpc/xdr_ref.c: Likewise.
52037 * sunrpc/xdr_sizeof.c: Likewise.
52038 * sunrpc/xdr_stdio.c: Likewise.
52040 2011-04-10 Ulrich Drepper <drepper@gmail.com>
52043 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52044 * sysdeps/ia64/dl-tls.h: Likewise.
52045 * sysdeps/powerpc/dl-tls.h: Likewise.
52046 * sysdeps/s390/dl-tls.h: Likewise.
52047 * sysdeps/sh/dl-tls.h: Likewise.
52048 * sysdeps/sparc/dl-tls.h: Likewise.
52049 * sysdeps/x86_64/dl-tls.h: Likewise.
52050 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52052 2011-03-14 Andreas Schwab <schwab@redhat.com>
52054 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52055 rpath element also skip the following colon.
52056 (expand_dynamic_string_token): Add is_path parameter and pass
52057 down to DL_DST_REQUIRED and _dl_dst_substitute.
52058 (decompose_rpath): Call expand_dynamic_string_token with
52059 non-zero is_path. Ignore empty rpaths.
52060 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52063 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52068 2011-04-09 Ulrich Drepper <drepper@gmail.com>
52071 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52072 Patch by Filipe David Manana <fdmanana@apache.org>.
52074 2011-04-07 Andreas Schwab <schwab@redhat.com>
52076 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52077 Maintain aligned stack.
52078 (CHECK_RSP): Remove unused macro.
52080 2011-04-03 Ulrich Drepper <drepper@gmail.com>
52082 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52083 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52085 2011-04-02 Ulrich Drepper <drepper@gmail.com>
52087 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52089 * include/features.h: Mention __USE_XOPEN2K8 in comment.
52091 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52094 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52095 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52096 * sysdeps/x86_64/memmove.c: New file.
52097 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52098 (memcpy): Renamed to ...
52099 (__new_memcpy): This.
52100 (memcpy): Provide GLIBC_2_14 memcpy.
52101 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52102 (memcpy): Provide GLIBC_2_2_5 memcpy.
52104 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52107 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52109 2011-03-30 Andreas Schwab <schwab@redhat.com>
52111 * misc/syncfs.c: New file.
52112 * misc/Makefile (routines): Add syncfs.
52113 * posix/unistd.h: Declare syncfs.
52114 * sysdeps/unix/syscalls.list: Add syncfs.
52116 2011-04-01 Andreas Schwab <schwab@redhat.com>
52118 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52120 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52121 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52122 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52123 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52124 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52125 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52126 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52128 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52130 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52131 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52132 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52133 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52134 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52138 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52139 sync_file_range.c with -fexceptions.
52140 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52141 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52142 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52143 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52144 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52145 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52146 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52147 sync_file_range as cancellation point
52148 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52149 now a wrapper around __call_sync_file_range with cancellation handling.
52150 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52151 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52152 function name to __call_sync_file_range.
52153 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52154 Add call_sync_file_range.
52156 2011-04-01 Andreas Schwab <schwab@redhat.com>
52158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52161 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52163 * iconv/iconv.h: Fix typo in comment.
52164 * io/fcntl.h: Likewise.
52165 * libio/stdio.h: Likewise.
52166 * posix/spawn.h: Likewise.
52167 * posix/unistd.h: Likewise.
52168 * stdlib/stdlib.h: Likewise.
52169 * time/time.h: Likewise.
52170 * wcsmbs/wchar.h: Likewise.
52172 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52173 open_by_handle): Add.
52174 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52175 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52176 Augment a few comments.
52177 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52179 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52181 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52182 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52185 * io/fcntl.h (AT_EMPTY_PATH): Define.
52187 2011-03-30 Ulrich Drepper <drepper@gmail.com>
52189 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52190 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52191 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52193 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
52194 * Versions.def: Add GLIBC_2.14.
52195 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52198 2011-03-22 Ulrich Drepper <drepper@gmail.com>
52200 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52202 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52204 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52207 * string/test-strncmp.c (do_page_test): New function.
52208 (check2): Likewise.
52209 (test_main): Call check2.
52210 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52212 2011-03-20 Ulrich Drepper <drepper@gmail.com>
52215 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52216 Handle cache information in CPU leaf 4.
52217 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52219 2011-03-18 Ulrich Drepper <drepper@gmail.com>
52222 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52223 character representation.
52224 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52226 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52228 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52229 END(__isnan) to END(__isnanf) to match function entry point/label
52230 EALIGN(__isnanf,...).
52232 2011-03-10 Jakub Jelinek <jakub@redhat.com>
52234 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52236 2011-03-10 Ulrich Drepper <drepper@gmail.com>
52239 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52240 copy from the symbol referenced in the relocation to initialize the
52242 Patch by Piotr Bury <pbury@goahead.com>.
52243 * elf/Makefile: Add rules to build and tst-unique3.
52244 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52245 * elf/tst-unique3.cc: New file.
52246 * elf/tst-unique3.h: New file.
52247 * elf/tst-unique3lib.cc: New file.
52248 * elf/tst-unique3lib2.cc: New file.
52250 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52252 2011-03-10 Mike Frysinger <vapier@gentoo.org>
52254 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52255 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52258 2011-03-06 Ulrich Drepper <drepper@gmail.com>
52260 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52261 to-be-loaded object along a path to loader is ld.so.
52263 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52264 Ulrich Drepper <drepper@gmail.com>
52266 * sysdeps/x86_64/memset.S: After aligning destination, code
52267 branches to different locations depending on the value of
52268 misalignment, when multiarch is enabled. Fix this.
52270 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52272 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52273 Set _x86_64_preferred_memory_instruction for AMD processsors.
52274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52275 Set bit_Prefer_SSE_for_memop for AMD processors.
52277 2011-03-04 Ulrich Drepper <drepper@gmail.com>
52279 * libio/fmemopen.c (fmemopen): Optimize a bit.
52281 2011-03-03 Andreas Schwab <schwab@redhat.com>
52283 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52285 2011-03-03 Roland McGrath <roland@redhat.com>
52287 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52289 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52291 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52292 __bzero_ultra1 instead of __memset_ultra1.
52294 2011-02-23 Andreas Schwab <schwab@redhat.com>
52295 Ulrich Drepper <drepper@gmail.com>
52298 * include/link.h (struct link_map): Add l_orig_initfini.
52299 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52300 returning unsuccessfully.
52301 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52302 close of a file loaded at startup, restore the original l_initfini
52304 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52305 list, store the pointer.
52306 * elf/Makefile ($(objpfx)noload-mem): New rule.
52307 (noload-ENV): Define.
52308 (tests): Add $(objpfx)noload-mem.
52309 * elf/noload.c: Include <memcheck.h>.
52310 (main): Call mtrace. Close all opened handles.
52312 2011-02-17 Andreas Schwab <schwab@redhat.com>
52315 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52316 dependencies are missing.
52318 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52320 Fix __if_freereq crash: Unlike the generic version which uses free,
52322 * sysdeps/mach/hurd/ifreq.h: New file.
52324 2011-01-27 Petr Baudis <pasky@suse.cz>
52325 Ulrich Drepper <drepper@gmail.com>
52328 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52329 to extend_alloca().
52330 * stdio-common/bug23.c: New file.
52331 * stdio-common/Makefile (tests): Add bug23.
52333 2010-09-28 Andreas Schwab <schwab@redhat.com>
52334 Ulrich Drepper <drepper@gmail.com>
52337 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52338 before performing relro protection. At old place add assertion
52339 to make sure nothing changed.
52341 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52342 Glauber de Oliveira Costa <glommer@gmail.com>
52344 * elf/elf.h: Add new ARM TLS relocs.
52346 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52349 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52351 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52353 * sysdeps/wordsize-64/tst-writev.c: New file.
52355 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52357 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52358 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52359 insns in _dl_start to prevent a TOC reference before relocs are
52362 2011-02-15 Ulrich Drepper <drepper@gmail.com>
52365 * Makeconfig: Remove RANLIB definition.
52366 * Makerules: Don't use RANLIB.
52367 * aclocal.m4: Remove ranlib test.
52368 * configure.in: No need to check for ranlib.
52369 * elf/rtld-Rules: Don't use RANLIB.
52371 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52373 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52375 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52376 inclusion protection macro.
52378 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52379 SIGRTMIN and SIGRTMAX and print information in that case only when
52380 SIGRTMIN is defined.
52382 2011-02-11 Jakub Jelinek <jakub@redhat.com>
52384 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52385 arginfo fn returning -1.
52387 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52388 and thousands string is zero terminated.
52390 2011-02-03 Andreas Schwab <schwab@redhat.com>
52392 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52393 sysdeps/unix/sysv/linux/bits/socket.h.
52395 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52397 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52398 (__CPU_COUNT): Remove old macros.
52399 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52400 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52401 (__CPU_ALLOC, __CPU_FREE): Add macros.
52402 (__sched_cpualloc, __sched_cpufree): Add declarations.
52404 2011-02-05 Ulrich Drepper <drepper@gmail.com>
52406 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52407 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52408 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52409 (readdhstai): Return value of addhstaiX call.
52410 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52411 (addgrbyX): Return value returned by cache_addgr.
52412 (readdgrbyname): Return value returned by addgrbyX.
52413 (readdgrbygid): Likewise.
52414 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52415 (addpwbyX): Return value returned by cache_addpw.
52416 (readdpwbyname): Return value returned by addhstbyX.
52417 (readdpwbyuid): Likewise.
52418 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52419 (addservbyX): Return value returned by cache_addserv.
52420 (readdservbyname): Return value returned by addservbyX:
52421 (readdservbyport): Likewise.
52422 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52423 (addhstbyX): Return value returned by cache_addhst.
52424 (readdhstbyname): Return value returned by addhstbyX.
52425 (readdhstbyaddr): Likewise.
52426 (readdhstbynamev6): Likewise.
52427 (readdhstbyaddrv6): Likewise.
52428 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52429 (readdinitgroups): Return value returned by addinitgroupsX.
52430 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52431 (prune_cache): Keep track of timeout value of re-added entries.
52432 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52433 * nscd/nscd.h: Adjust prototypes of readd* functions.
52435 2011-02-04 Roland McGrath <roland@redhat.com>
52437 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52438 (nis_stats): Likewise.
52439 * nis/nis_modify.c (nis_modify): Likewise.
52440 * nis/nis_remove.c (nis_remove): Likewise.
52441 * nis/nis_add.c (nis_add): Likewise.
52443 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52445 * posix/fnmatch_loop.c: Add some consts.
52447 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52449 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52452 * config.make.in (config-cflags-novzeroupper): Define.
52453 * configure.in: Substitute libc_cv_cc_novzeroupper.
52454 * elf/Makefile (AVX-CFLAGS): Define.
52455 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52456 (CFLAGS-tst-auditmod4a.c): Likewise.
52457 (CFLAGS-tst-auditmod4b.c): Likewise.
52458 (CFLAGS-tst-auditmod6b.c): Likewise.
52459 (CFLAGS-tst-auditmod6c.c): Likewise.
52460 (CFLAGS-tst-auditmod7b.c): Likewise.
52461 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52463 2011-02-02 Ulrich Drepper <drepper@gmail.com>
52465 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52466 function to the callback.
52467 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52469 2011-02-02 Andreas Schwab <schwab@redhat.com>
52471 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52474 2011-01-19 Ulrich Drepper <drepper@gmail.com>
52477 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52479 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52481 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52484 * elf/Makefile: Add rules to build and run new test.
52485 * elf/tst-initorder.c: New file.
52486 * elf/tst-initorder.exp: New file.
52487 * elf/tst-initordera1.c: New file.
52488 * elf/tst-initordera2.c: New file.
52489 * elf/tst-initordera3.c: New file.
52490 * elf/tst-initordera4.c: New file.
52491 * elf/tst-initorderb1.c: New file.
52492 * elf/tst-initorderb2.c: New file.
52493 * elf/tst-order-a1.c: New file.
52494 * elf/tst-order-a2.c: New file.
52495 * elf/tst-order-a3.c: New file.
52496 * elf/tst-order-a4.c: New file.
52497 * elf/tst-order-b1.c: New file.
52498 * elf/tst-order-b2.c: New file.
52499 * elf/tst-order-main.c: New file.
52500 New test case by George Gensure <werkt0@gmail.com>.
52502 2010-10-01 Andreas Schwab <schwab@redhat.com>
52504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52505 decoding ACE if AI_CANONIDN.
52507 2011-01-18 Ulrich Drepper <drepper@gmail.com>
52509 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52511 2011-01-17 Ulrich Drepper <drepper@gmail.com>
52513 * version.h (RELEASE): Bump for 2.13 release.
52514 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52516 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52518 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52520 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52521 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52522 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52523 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52524 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52525 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52527 * posix/getconf.c: Update copyright year.
52528 * catgets/gencat.c: Likewise.
52529 * csu/version.c: Likewise.
52530 * debug/catchsegv.sh: Likewise.
52531 * debug/xtrace.sh: Likewise.
52532 * elf/ldconfig.c: Likewise.
52533 * elf/ldd.bash.in: Likewise.
52534 * elf/sprof.c (print_version): Likewise.
52535 * iconv/iconv_prog.c: Likewise.
52536 * iconv/iconvconfig.c: Likewise.
52537 * locale/programs/locale.c: Likewise.
52538 * locale/programs/localedef.c: Likewise.
52539 * malloc/memusage.sh: Likewise.
52540 * malloc/mtrace.pl: Likewise.
52541 * nscd/nscd.c (print_version): Likewise.
52542 * nss/getent.c: Likewise.
52544 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52545 PF_CAIF, and PF_ALG.
52546 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52548 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52550 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52551 (modules-names): Use them.
52552 (ifunc-test-modules, ifunc-pie-tests): Define.
52553 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52554 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52555 (test-extras): Likewise.
52556 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52557 $(compile-command.c).
52558 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52559 (all-built-dso): Define.
52560 (check-textrel.out, check-execstack.out): Depend on it.
52562 * configure.in: Don't override --enable-multi-arch.
52564 2011-01-15 Ulrich Drepper <drepper@gmail.com>
52567 * nscd/hstcache.c (tryagain): Define.
52568 (cache_addhst): Return tryagain not notfound for temporary errors.
52569 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52572 2011-01-14 Ulrich Drepper <drepper@gmail.com>
52575 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52576 to make the syscall.
52577 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52580 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52581 and fall back to matching as normal character if the string ends before
52582 the matching ']' is found. This is what POSIX requires.
52583 * posix/testfnm.c: Adjust test result.
52584 * posix/globtest.sh: Adjust test result. Add new test.
52585 * posix/tst-fnmatch.input: Likewise.
52586 * posix/tst-fnmatch2.c: Add new test.
52588 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52590 * elf/Makefile (check-execstack): Revert last change. Depend on
52592 (check-execstack.h): New target.
52593 (generated): Add check-execstack.h.
52594 * elf/check-execstack.c: Include "check-execstack.h".
52595 (main): Revert last change.
52596 (handle_file): Return zero if GNU_STACK is absent and
52597 DEFAULT_STACK_PERMS doesn't include PF_X.
52599 2011-01-13 Ulrich Drepper <drepper@gmail.com>
52601 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52602 in child fails because the descriptor is already closed.
52603 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52604 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52605 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52608 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52612 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52613 temporary buffer used to handle multi lookups locally.
52614 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52616 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52618 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52621 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52623 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52624 alignment for SSE2.
52626 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52629 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52630 characters. When rounding increased number of integer digits recompute
52632 * stdio-common/tst-grouping.c: New file.
52633 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52635 2011-01-09 Ulrich Drepper <drepper@gmail.com>
52637 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52638 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52640 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52642 * bits/select.h: Likewise.
52644 2011-01-08 Ulrich Drepper <drepper@gmail.com>
52646 * po/ja.po: Update from translation team.
52648 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
52651 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52652 implementation just like for lxstat, fxstatat, et al.
52654 2010-12-27 Jim Meyering <meyering@redhat.com>
52657 * posix/regexec.c (build_trtable): Return failure indication upon
52658 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52660 2010-12-25 Ulrich Drepper <drepper@gmail.com>
52663 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52664 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52665 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52666 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52669 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52672 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52673 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52675 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52677 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52678 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52679 script has SORT_BY_INIT_PRIORITY.
52680 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52681 NO_CTORS_DTORS_SECTIONS is defined.
52682 * elf/soinit.c: Likewise.
52683 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52684 NO_CTORS_DTORS_SECTIONS is defined.
52685 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52686 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52687 * sysdeps/sh/init-first.c: Likewise.
52688 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52690 2010-12-24 Ulrich Drepper <drepper@gmail.com>
52692 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52693 always use the slow path.
52695 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52697 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52698 similar rule which adds the sysdep directories to the header search in
52699 order to pick up the correct platform stackinfo.h.
52700 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52701 perform test if it is, otherwise return successfully without testing.
52702 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52703 DEFAULT_STACK_PERMS define in stackinfo.h.
52704 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52705 defined in stackinfo.h.
52706 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52707 DEFAULT_STACK_PERMS defined in stackinfo.h.
52708 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52709 * sysdeps/ia64/stackinfo.h: Likewise.
52710 * sysdeps/s390/stackinfo.h: Likewise.
52711 * sysdeps/sh/stackinfo.h: Likewise.
52712 * sysdeps/sparc/stackinfo.h: Likewise.
52713 * sysdeps/x86_64/stackinfo.h: Likewise.
52714 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52715 PF_X for powerpc64. Retain PF_X for powerpc32.
52717 2010-12-19 Ulrich Drepper <drepper@gmail.com>
52719 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52721 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52722 GETDENTS_64BIT_ALIGNED.
52724 2010-12-14 Ulrich Drepper <dreper@gmail.com>
52726 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52728 2010-12-10 Andreas Schwab <schwab@redhat.com>
52730 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52733 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52734 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52736 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52737 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52739 2010-12-09 Ulrich Drepper <drepper@gmail.com>
52742 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52745 2010-12-09 Jakub Jelinek <jakub@redhat.com>
52747 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52749 2010-12-03 Ulrich Drepper <drepper@gmail.com>
52751 * po/it.po: Update from translation team.
52753 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52755 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52758 2010-11-30 Ulrich Drepper <drepper@gmail.com>
52760 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52762 2010-11-24 Andreas Schwab <schwab@redhat.com>
52764 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52766 (gaih_getanswer_slice): Likewise.
52768 2010-10-20 Jakub Jelinek <jakub@redhat.com>
52770 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52772 2010-05-31 Petr Baudis <pasky@suse.cz>
52775 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52776 silently even in the chroot mode.
52778 2010-11-22 Ulrich Drepper <drepper@gmail.com>
52780 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52781 last patch a bit. Pretty printing
52783 2010-05-31 Petr Baudis <pasky@suse.cz>
52786 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52787 initialization of skip_initgroups_dyn.
52789 2010-11-19 Ulrich Drepper <drepper@gmail.com>
52791 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52792 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52794 2010-11-16 Ulrich Drepper <drepper@gmail.com>
52796 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52798 2010-11-11 Andreas Schwab <schwab@redhat.com>
52800 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52801 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52802 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52803 ($(objpfx)tst-fnmatch-mem): New rule.
52804 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52805 * posix/tst-fnmatch.c (main): Call mtrace.
52807 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52810 Support Intel processor model 6 and model 0x2c.
52812 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
52814 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52817 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52820 * string/test-strncasecmp.c (check_result): New function.
52821 (do_one_test): Use it.
52822 (check1): New function.
52823 (test_main): Use it.
52824 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52825 Support strcasecmp and strncasecmp.
52827 2010-11-08 Ulrich Drepper <drepper@gmail.com>
52830 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52831 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52833 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52835 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52839 * sysdeps/x86_64/multiarch/bzero.S: New file.
52840 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52841 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52842 * sysdeps/x86_64/multiarch/memset.S: New file.
52843 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52845 Set bit_Prefer_SSE_for_memop for Intel processors.
52846 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52848 (index_Prefer_SSE_for_memop): Define.
52849 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52851 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
52853 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52854 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52856 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52859 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52860 (__x86_64_raw_data_cache_size_half): Likewise.
52861 (__x86_64_raw_shared_cache_size): Likewise.
52862 (__x86_64_raw_shared_cache_size_half): Likewise.
52864 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52865 (__x86_64_raw_data_cache_size_half): Likewise.
52866 (__x86_64_raw_shared_cache_size): Likewise.
52867 (__x86_64_raw_shared_cache_size_half): Likewise.
52868 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52869 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52870 and __x86_64_raw_shared_cache_size_half. Round
52871 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52872 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52873 to multiple of 256 bytes.
52875 2010-11-03 Ulrich Drepper <drepper@gmail.com>
52878 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52879 of inacessible symlinks. Verify result of symlink before returning it.
52880 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52881 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52883 2010-10-28 Erich Ritz <erichritz@gmail.com>
52885 * math/math.h (isinf): Fix typo in comment.
52887 2010-11-01 Ulrich Drepper <drepper@gmail.com>
52889 * po/da.po: Update from translation team.
52891 2010-10-26 Ulrich Drepper <drepper@gmail.com>
52893 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52894 is added to the list.
52896 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52897 Ulrich Drepper <drepper@gmail.com>
52899 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52900 the global list here. Move code to...
52901 (_dl_add_to_namespace_list): ...here. New function.
52902 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52903 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52904 * elf/dl-load.c (lose): Don't remove the element from the list.
52905 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52906 (_dl_map_object): Likewise.
52908 2010-10-25 Ulrich Drepper <drepper@gmail.com>
52911 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52912 into all bytes of SSE register.
52913 Patch by Richard Li <richardpku@gmail.com>.
52915 2010-10-24 Ulrich Drepper <drepper@gmail.com>
52918 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52921 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52923 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52924 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52925 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52926 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52931 2010-10-22 Andreas Schwab <schwab@redhat.com>
52933 * include/dlfcn.h (__RTLD_SECURE): Define.
52934 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52935 mode & __RTLD_SECURE instead.
52936 (open_path): Rename preloaded parameter to secure.
52937 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52938 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52939 * elf/dl-deps.c (openaux): Likewise.
52940 * elf/rtld.c (struct map_args): Remove is_preloaded.
52941 (map_doit): Don't use it.
52942 (dl_main): Likewise.
52943 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52944 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52946 2010-09-09 Andreas Schwab <schwab@redhat.com>
52948 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52949 (sysd-rules-targets): Remove duplicates.
52950 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52951 rtld-%.$o dependency.
52953 2010-10-18 Andreas Schwab <schwab@redhat.com>
52955 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52956 _dl_map_object do it.
52958 2010-10-19 Ulrich Drepper <drepper@gmail.com>
52960 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52961 fast fma builtins, define the macros in the C99 standard.
52962 (FP_FAST_FMAF): Likewise.
52963 (FP_FAST_FMAL): Likewise.
52964 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52966 * bits/mathdef.h: Update copyright year.
52967 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52969 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52971 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52972 builtins, define the macros in the C99 standard.
52973 (FP_FAST_FMAF): Likewise.
52974 (FP_FAST_FMAL): Likewise.
52975 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52977 (FP_FAST_FMAF): Likewise.
52979 2010-10-15 Jakub Jelinek <jakub@redhat.com>
52982 * math/libm-test.inc (fma_test): Some new testcases.
52983 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52984 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52985 y and infinite z. Do multiplication by C already in long double.
52986 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52988 y and infinite z. Do bitwise or of inexact bit into u.d.
52989 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52990 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52991 * sysdeps/i386/fpu/s_fma.S: Removed.
52992 * sysdeps/i386/fpu/s_fmal.S: Removed.
52994 2010-10-16 Jakub Jelinek <jakub@redhat.com>
52997 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52998 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52999 computation is not scheduled after fetestexcept. Fix value
53000 of minimum denormal long double.
53002 2010-10-14 Jakub Jelinek <jakub@redhat.com>
53005 * math/libm-test.inc (fma_test): Add some more tests.
53006 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53009 2010-10-15 Andreas Schwab <schwab@redhat.com>
53011 * scripts/data/localplt-s390-linux-gnu.data: New file.
53012 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53014 2010-10-13 Jakub Jelinek <jakub@redhat.com>
53017 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53018 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53020 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53022 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53024 if one of x and y is very large and the other is subnormal.
53025 * sysdeps/s390/fpu/s_fmaf.c: New file.
53026 * sysdeps/s390/fpu/s_fma.c: New file.
53027 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53028 * sysdeps/powerpc/fpu/s_fma.S: New file.
53029 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53030 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53031 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53033 2010-10-12 Jakub Jelinek <jakub@redhat.com>
53036 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53038 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53039 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53040 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53041 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53042 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53043 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53044 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53046 2010-10-12 Ulrich Drepper <drepper@redhat.com>
53049 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53050 * posix/bug-regex31.input: Add test case.
53052 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53054 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53055 * posix/bug-regex31.input: New file.
53058 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53059 (parse_sub_exp): Fix last change, use postorder.
53061 * posix/bug-regex31.c: New file.
53062 * posix/Makefile: Add rules to build and run bug-regex31.
53064 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53067 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53070 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53071 to have entries in sys_siglist.
53074 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53077 2010-10-07 Jakub Jelinek <jakub@redhat.com>
53080 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53081 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53082 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53083 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53084 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53085 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53086 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53087 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53088 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53089 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53090 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53091 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53092 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53093 * math/ftestexcept.c (fetestexcept): Likewise.
53094 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53095 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53096 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53097 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53098 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53099 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53100 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53102 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53105 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53108 2010-10-06 Ulrich Drepper <drepper@gmail.com>
53110 * string/bug-strstr1.c: New file.
53111 * string/Makefile: Add rules to build and run bug-strstr1.
53113 2010-10-05 Eric Blake <eblake@redhat.com>
53116 * string/str-two-way.h (two_way_long_needle): Always clear memory
53117 when skipping input due to the shift table.
53119 2010-10-03 Ulrich Drepper <drepper@gmail.com>
53122 * malloc/mcheck.c: Handle large requests.
53125 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53126 for strncmp and strncasecmp.
53127 * string/stratcliff.c: Add tests for strcmp and strncmp.
53128 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53130 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53132 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53135 2010-09-30 Andreas Jaeger <aj@suse.de>
53137 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53138 (CGROUP_SUPER_MAGIC): Define.
53139 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53140 Handle btrfs and cgroup file systems.
53141 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53144 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
53146 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53147 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53149 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53152 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53153 trying to locate the ELF header.
53155 2010-09-27 Andreas Schwab <schwab@redhat.com>
53158 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53159 Mask out sign-bit copies when constructing f_fsid.
53161 2010-09-24 Petr Baudis <pasky@suse.cz>
53163 * debug/stack_chk_fail_local.c: Add missing licence exception.
53164 * debug/warning-nop.c: Likewise.
53166 2010-09-15 Joseph Myers <joseph@codesourcery.com>
53168 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53169 implementing getdents64 using getdents syscall, set d_type if
53170 __ASSUME_GETDENTS32_D_TYPE.
53172 2010-09-16 Andreas Schwab <schwab@redhat.com>
53174 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53175 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53177 2010-09-21 Ulrich Drepper <drepper@redhat.com>
53180 * posix/unistd.h: Undo change of feature selection for ftruncate from
53183 2010-09-20 Ulrich Drepper <drepper@redhat.com>
53185 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53188 2010-09-20 Andreas Schwab <schwab@redhat.com>
53190 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53192 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53194 2010-09-14 Andreas Schwab <schwab@redhat.com>
53196 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53197 variables after CHECK_SP call.
53198 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53200 2010-09-13 Andreas Schwab <schwab@redhat.com>
53201 Ulrich Drepper <drepper@redhat.com>
53203 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53204 re-relocationg ld.so.
53205 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53206 _dl_init_paths call.
53207 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53210 2010-09-14 Ulrich Drepper <drepper@redhat.com>
53212 * resolv/res_init.c (__res_vinit): Count the default server we added.
53214 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53215 Ulrich Drepper <drepper@redhat.com>
53218 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53219 (____longjmp_chk): Use %ebx for saving value across system call.
53222 2010-09-06 Andreas Schwab <schwab@redhat.com>
53224 * manual/Makefile: Don't mix pattern rules with normal rules.
53226 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53228 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53230 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53231 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53232 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53233 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53234 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53237 2010-09-04 Ulrich Drepper <drepper@redhat.com>
53240 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53241 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53243 2010-09-02 Ulrich Drepper <drepper@redhat.com>
53245 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53246 * sysdeps/x86_64/addmul_1.S: Likewise.
53247 * sysdeps/x86_64/lshift.S: Likewise.
53248 * sysdeps/x86_64/mul_1.S: Likewise.
53249 * sysdeps/x86_64/rshift.S: Likewise.
53250 * sysdeps/x86_64/sub_n.S: Likewise.
53251 * sysdeps/x86_64/submul_1.S: Likewise.
53253 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53255 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53256 Define __sched_param instead of SCHED_* and sched_param when
53257 <bits/sched.h> is included with __need_schedparam defined.
53258 * bits/sched.h [__need_schedparam]
53259 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53260 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53261 (__defined_schedparam): Define to 1.
53262 (__sched_param): New structure, identical to sched_param.
53263 (__need_schedparam): Undefine.
53265 2010-08-31 Mike Frysinger <vapier@gentoo.org>
53267 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53268 (epoll_create1): Declare.
53270 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53272 2010-08-31 Andreas Schwab <schwab@redhat.com>
53275 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53276 shifting retval into place.
53278 2010-09-01 Ulrich Drepper <drepper@redhat.com>
53280 * nis/rpcsvc/nis.h: Update copyright notice.
53281 * nis/rpcsvc/nis.x: Likewise.
53282 * nis/rpcsvc/nis_callback.h: Likewise.
53283 * nis/rpcsvc/nis_callback.x: Likewise.
53284 * nis/rpcsvc/nis_object.x: Likewise.
53285 * nis/rpcsvc/nis_tags.h: Likewise.
53286 * nis/rpcsvc/yp.h: Likewise.
53287 * nis/rpcsvc/yp.x: Likewise.
53288 * nis/rpcsvc/ypupd.h: Likewise.
53289 * nis/yp_xdr.c: Likewise.
53290 * nis/ypupdate_xdr.c: Likewise.
53292 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53293 mainly the body of pmap_getport. Add parameters to specify timeouts.
53294 (pmap_getport): Use __libc_rpc_getport.
53295 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53296 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53297 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53299 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53304 2010-08-27 Roland McGrath <roland@redhat.com>
53306 * sysdeps/i386/i686/multiarch/Makefile
53307 (CFLAGS-varshift.c): New variable.
53309 2010-08-27 Ulrich Drepper <drepper@redhat.com>
53311 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53312 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53314 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53316 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53318 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53320 * sysdeps/x86_64/strlen.S: Unroll the loop.
53321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53322 strlen-sse2 strlen-sse2-bsf.
53323 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53324 __strlen_no_bsf if bit_Slow_BSF is set.
53325 (__strlen_sse42): Removed.
53326 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53327 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53329 2010-08-25 Roland McGrath <roland@redhat.com>
53331 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53332 * sysdeps/x86_64/multiarch/varshift.c: New file.
53333 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53334 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53335 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53336 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53338 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53341 strlen-sse2 strlen-sse2-bsf.
53342 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53343 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53344 (__strlen_sse2): Removed.
53345 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53346 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53348 bit_Slow_BSF for Atom.
53349 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53350 (index_Slow_BSF): Define.
53351 (HAS_SLOW_BSF): Define.
53353 2010-08-25 Ulrich Drepper <drepper@redhat.com>
53356 * resolv/res_init.c (__res_vinit): When no server address at all
53357 is given default to loopback.
53359 2010-08-24 Roland McGrath <roland@redhat.com>
53361 * configure.in: Remove config-name.h generation.
53362 * configure: Regenerated.
53363 * config-name.in: File removed.
53364 * scripts/config-uname.sh: New file.
53365 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53366 ($(objdir)config-name.h): New target.
53368 * sunrpc/rpc_parse.h: Avoid nested comment.
53370 2010-08-24 Richard Henderson <rth@redhat.com>
53371 Ulrich Drepper <drepper@redhat.com>
53372 H.J. Lu <hongjiu.lu@intel.com>
53374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53376 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53377 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53378 _mm_alignr_epi8 with _mm_loadu_si128.
53379 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53380 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53381 (__m128i_shift_right): Removed.
53382 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53383 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53384 * sysdeps/x86_64/multiarch/varshift.h: New file.
53385 * sysdeps/x86_64/multiarch/varshift.S: New file.
53387 2010-08-21 Mike Frysinger <vapier@gentoo.org>
53389 * configure.in: Move assembler checks to before sysdep dir checking.
53391 2010-08-20 Petr Baudis <pasky@suse.cz>
53393 * LICENSES: Sync the sunrpc license.
53395 2010-08-19 Ulrich Drepper <drepper@redhat.com>
53397 * sunrpc/auth_des.c: Update copyright notice once again.
53398 * sunrpc/auth_none.c: Likewise.
53399 * sunrpc/auth_unix.c: Likewise.
53400 * sunrpc/authdes_prot.c: Likewise.
53401 * sunrpc/authuxprot.c: Likewise.
53402 * sunrpc/bindrsvprt.c: Likewise.
53403 * sunrpc/clnt_gen.c: Likewise.
53404 * sunrpc/clnt_perr.c: Likewise.
53405 * sunrpc/clnt_raw.c: Likewise.
53406 * sunrpc/clnt_simp.c: Likewise.
53407 * sunrpc/clnt_tcp.c: Likewise.
53408 * sunrpc/clnt_udp.c: Likewise.
53409 * sunrpc/clnt_unix.c: Likewise.
53410 * sunrpc/des_crypt.c: Likewise.
53411 * sunrpc/des_soft.c: Likewise.
53412 * sunrpc/get_myaddr.c: Likewise.
53413 * sunrpc/getrpcport.c: Likewise.
53414 * sunrpc/key_call.c: Likewise.
53415 * sunrpc/key_prot.c: Likewise.
53416 * sunrpc/openchild.c: Likewise.
53417 * sunrpc/pm_getmaps.c: Likewise.
53418 * sunrpc/pm_getport.c: Likewise.
53419 * sunrpc/pmap_clnt.c: Likewise.
53420 * sunrpc/pmap_prot.c: Likewise.
53421 * sunrpc/pmap_prot2.c: Likewise.
53422 * sunrpc/pmap_rmt.c: Likewise.
53423 * sunrpc/rpc/auth.h: Likewise.
53424 * sunrpc/rpc/auth_unix.h: Likewise.
53425 * sunrpc/rpc/clnt.h: Likewise.
53426 * sunrpc/rpc/des_crypt.h: Likewise.
53427 * sunrpc/rpc/key_prot.h: Likewise.
53428 * sunrpc/rpc/netdb.h: Likewise.
53429 * sunrpc/rpc/pmap_clnt.h: Likewise.
53430 * sunrpc/rpc/pmap_prot.h: Likewise.
53431 * sunrpc/rpc/pmap_rmt.h: Likewise.
53432 * sunrpc/rpc/rpc.h: Likewise.
53433 * sunrpc/rpc/rpc_des.h: Likewise.
53434 * sunrpc/rpc/rpc_msg.h: Likewise.
53435 * sunrpc/rpc/svc.h: Likewise.
53436 * sunrpc/rpc/svc_auth.h: Likewise.
53437 * sunrpc/rpc/types.h: Likewise.
53438 * sunrpc/rpc/xdr.h: Likewise.
53439 * sunrpc/rpc_clntout.c: Likewise.
53440 * sunrpc/rpc_cmsg.c: Likewise.
53441 * sunrpc/rpc_common.c: Likewise.
53442 * sunrpc/rpc_cout.c: Likewise.
53443 * sunrpc/rpc_dtable.c: Likewise.
53444 * sunrpc/rpc_hout.c: Likewise.
53445 * sunrpc/rpc_main.c: Likewise.
53446 * sunrpc/rpc_parse.c: Likewise.
53447 * sunrpc/rpc_parse.h: Likewise.
53448 * sunrpc/rpc_prot.c: Likewise.
53449 * sunrpc/rpc_sample.c: Likewise.
53450 * sunrpc/rpc_scan.c: Likewise.
53451 * sunrpc/rpc_scan.h: Likewise.
53452 * sunrpc/rpc_svcout.c: Likewise.
53453 * sunrpc/rpc_tblout.c: Likewise.
53454 * sunrpc/rpc_util.c: Likewise.
53455 * sunrpc/rpc_util.h: Likewise.
53456 * sunrpc/rpcinfo.c: Likewise.
53457 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53458 * sunrpc/rpcsvc/key_prot.x: Likewise.
53459 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53460 * sunrpc/rpcsvc/mount.x: Likewise.
53461 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53462 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53463 * sunrpc/rpcsvc/rex.x: Likewise.
53464 * sunrpc/rpcsvc/rstat.x: Likewise.
53465 * sunrpc/rpcsvc/rusers.x: Likewise.
53466 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53467 * sunrpc/rpcsvc/spray.x: Likewise.
53468 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53469 * sunrpc/rtime.c: Likewise.
53470 * sunrpc/svc.c: Likewise.
53471 * sunrpc/svc_auth.c: Likewise.
53472 * sunrpc/svc_authux.c: Likewise.
53473 * sunrpc/svc_raw.c: Likewise.
53474 * sunrpc/svc_run.c: Likewise.
53475 * sunrpc/svc_simple.c: Likewise.
53476 * sunrpc/svc_tcp.c: Likewise.
53477 * sunrpc/svc_udp.c: Likewise.
53478 * sunrpc/svc_unix.c: Likewise.
53479 * sunrpc/svcauth_des.c: Likewise.
53480 * sunrpc/xcrypt.c: Likewise.
53481 * sunrpc/xdr.c: Likewise.
53482 * sunrpc/xdr_array.c: Likewise.
53483 * sunrpc/xdr_float.c: Likewise.
53484 * sunrpc/xdr_mem.c: Likewise.
53485 * sunrpc/xdr_rec.c: Likewise.
53486 * sunrpc/xdr_ref.c: Likewise.
53487 * sunrpc/xdr_sizeof.c: Likewise.
53488 * sunrpc/xdr_stdio.c: Likewise.
53490 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53493 2010-08-19 Andreas Schwab <schwab@redhat.com>
53495 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53497 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
53499 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53500 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53501 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53502 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53503 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53504 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53505 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53506 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53507 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53508 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53509 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53510 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53511 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53512 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53514 2010-07-26 Anton Blanchard <anton@samba.org>
53516 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53517 * malloc/arena.c (heap_trim): Likewise.
53519 2010-08-16 Ulrich Drepper <drepper@redhat.com>
53521 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53523 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53524 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53526 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53528 * sysdeps/i386/elf/Makefile: New file.
53530 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53532 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53533 from fanotify_init.
53534 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53535 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53537 2010-08-15 Ulrich Drepper <drepper@redhat.com>
53539 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53541 * sysdeps/multiarch/strcmp.S: Likewise.
53543 2010-08-14 Ulrich Drepper <drepper@redhat.com>
53545 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53546 strncase_l-nonascii.
53547 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53548 Add strncase_l-ssse3.
53549 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53550 * sysdeps/x86_64/strcmp.S: Likewise.
53551 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53552 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53553 * sysdeps/x86_64/strncase.S: New file.
53554 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53555 * sysdeps/x86_64/strncase_l.S: New file.
53556 * string/Makefile (strop-tests): Add strncasecmp.
53557 * string/test-strncasecmp.c: New file.
53559 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53562 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53563 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53565 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53567 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53569 2010-08-12 Ulrich Drepper <drepper@redhat.com>
53571 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53572 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53573 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53575 2010-05-01 Alan Modra <amodra@gmail.com>
53577 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53578 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53579 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53580 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53581 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53582 tidying. Don't tail-call __sigjmp_save for static lib.
53583 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53585 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53586 (CALL_MCOUNT): Add eh info, and nop after bl.
53587 (TAIL_CALL_SYSCALL_ERROR): New macro.
53588 (PSEUDO_RET): Use it.
53589 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53590 Correct save location of integer regs and cr.
53591 (_dl_profile_resolve): Correct cr save location. Delete nops
53592 after bl when SHARED. Reduce cfi size a little by better
53593 placement of cfi directives.
53594 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53595 make a stack frame. Instead use parm save area as a temp.
53596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53597 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53599 Don't make a stack frame for parent, use parm save area.
53600 Increase child stack frame to 112 bytes. Don't save unused reg,
53601 and adjust reg usage. Set up cfi on error recovery and
53602 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53604 (__makecontext): Add dummy nop after jump to exit.
53605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53606 Use correct parm save area and cr save, reduce stack frame.
53607 Correct cfi for possible PSEUDO_RET frame setup.
53608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53609 Branch to local label emitted by PSEUDO_RET rather than
53612 2010-08-12 Andreas Schwab <schwab@redhat.com>
53615 * locale/programs/locale.c (print_assignment): New function.
53616 (show_locale_vars): Use it.
53618 2010-08-11 Ulrich Drepper <drepper@redhat.com>
53620 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53622 (struct statfs64): Likewise.
53623 (_STATFS_F_FLAGS): Define.
53624 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53625 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53626 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53627 (ST_VALID): Define locally.
53628 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53629 __statvfs_getflags, use the provided value.
53630 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53631 __ASSUME_STATFS_F_FLAGS.
53633 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53635 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53636 Add sys/fanotify.h.
53637 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53638 fanotify_mask for GLIBC_2.13.
53639 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53640 fanotify_init and fanotify_mark.
53641 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53642 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53644 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53646 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53647 prlimit64 for GLIBC_2.13.
53648 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53650 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53653 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53654 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53655 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53656 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53658 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53661 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53662 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53664 * nss/Makefile: Add rules to build and run tst-nss-test1.
53665 * shlib-versions: Add entry for libnss_test1.
53666 * nss/nss_test1.c: New file.
53667 * nss/tst-nss-test1.c: New file.
53669 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53670 (__nss_configure_lookup): Set appropriate entry in
53671 __nss_configure_lookup to true.
53672 * nss/nsswitch.h: Define enum with indeces of databases in
53673 databases and __nss_database_custom arrays. Declare
53674 __nss_database_custom.
53675 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53676 to avoid using nscd when custom rules are installed.
53677 * nss/getXXbyYY_r.c: Likewise.
53678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53680 * nss/nss_files/files-parse.c: Whitespace fixes.
53682 2010-08-09 Ulrich Drepper <drepper@redhat.com>
53685 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53686 * posix/fnmatch_loop.c: Likewise.
53688 2010-07-17 Andi Kleen <ak@linux.intel.com>
53690 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53691 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53692 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53693 * Versions.def [GLIBC_2.13]: Add.
53695 2010-08-06 Ulrich Drepper <drepper@redhat.com>
53697 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53698 Also fail if tpwd after pwuid call is NULL.
53700 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53702 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53703 when converting to ms.
53705 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53707 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53708 EOPNOTSUPP errors with ENOTTY.
53709 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53710 EOPNOTSUPP errors with ENOTTY.
53712 2010-07-31 Ulrich Drepper <drepper@redhat.com>
53714 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53715 Add strcasecmp_l-ssse3.
53716 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53718 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53719 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53720 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53722 2010-07-30 Ulrich Drepper <drepper@redhat.com>
53724 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53726 * string/Makefile (strop-tests): Add strcasecmp.
53727 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53728 strcasecmp_l-nonascii.
53729 (gen-as-const-headers): Add locale-defines.sym.
53730 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53731 * sysdeps/x86_64/strcasecmp.S: New file.
53732 * sysdeps/x86_64/strcasecmp_l.S: New file.
53733 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53734 * sysdeps/x86_64/locale-defines.sym: New file.
53735 * string/test-strcasecmp.c: New file.
53737 * string/test-strcasestr.c: Test both ends of the range of characters.
53738 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53740 2010-07-29 Roland McGrath <roland@redhat.com>
53743 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53745 2010-07-27 Ulrich Drepper <drepper@redhat.com>
53747 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53750 2010-07-27 Andreas Schwab <schwab@redhat.com>
53752 * manual/memory.texi (Malloc Tunable Parameters): Document
53755 2010-07-26 Roland McGrath <roland@redhat.com>
53758 * configure.in (-fgnu89-inline check): Set and substitute
53759 gnu89_inline, not libc_cv_gnu89_inline.
53760 * configure: Regenerated.
53761 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53763 2010-07-26 Ulrich Drepper <drepper@redhat.com>
53765 * string/test-strnlen.c: New file.
53766 * string/Makefile (strop-tests): Add strnlen.
53767 * string/tester.c (test_strnlen): Add a few more test cases.
53768 * string/tst-strlen.c: Better error reporting.
53770 * sysdeps/x86_64/strnlen.S: New file.
53772 2010-07-24 Ulrich Drepper <drepper@redhat.com>
53774 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53775 lower-latency instructions.
53777 2010-07-23 Ulrich Drepper <drepper@redhat.com>
53779 * string/test-strcasestr.c: New file.
53780 * string/test-strstr.c: New file.
53781 * string/Makefile (strop-tests): Add strstr and strcasestr.
53782 * string/str-two-way.h: Don't undefine MAX.
53783 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53785 2010-07-21 Andreas Schwab <schwab@redhat.com>
53787 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53788 strcasestr-nonascii.
53789 (CFLAGS-strcasestr-nonascii.c): Define.
53790 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53791 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53792 Remove unused attribute.
53794 2010-07-20 Roland McGrath <roland@redhat.com>
53796 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53797 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53798 ld.so.cache was broken. With it, there is no way to disable dsocaps
53799 like LD_HWCAP_MASK can disable hwcaps.
53801 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53803 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53805 2010-07-16 Ulrich Drepper <drepper@redhat.com>
53807 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53808 call in strcasestr.
53809 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53810 __strcasestr_sse42_nonascii.
53811 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53812 strcasestr-nonascii.c.
53813 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53815 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
53817 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53818 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53819 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53820 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53822 2010-07-09 Ulrich Drepper <drepper@redhat.com>
53824 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53827 2010-07-06 Andreas Schwab <schwab@redhat.com>
53830 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53833 2010-07-06 Ulrich Drepper <drepper@redhat.com>
53835 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53836 _PC_PIPE_BUF using F_GETPIPE_SZ.
53838 2010-07-05 Roland McGrath <roland@redhat.com>
53840 * manual/arith.texi (Rounding Functions): Fix rint description
53841 implicit in round description.
53843 2010-07-02 Ulrich Drepper <drepper@redhat.com>
53845 * elf/Makefile: Fix linking for a few tests to make recent linker
53848 2010-06-30 Andreas Schwab <schwab@redhat.com>
53850 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53851 $(common-objpfx)libc_nonshared.a.
53853 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
53855 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53856 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53857 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53858 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53859 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53860 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53861 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53862 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53877 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53878 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53879 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53880 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53881 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53882 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53883 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53884 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53885 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53886 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53887 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53888 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53904 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53906 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53907 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53908 * string/memmove.c (memmove): Renamed to ...
53909 (MEMMOVE): ...this. Default to memmove.
53910 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53911 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53914 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53915 mempcpy-ssse3-back memmove-ssse3-back.
53916 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53917 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53918 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53919 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53920 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53921 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53922 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53923 * sysdeps/x86_64/multiarch/memmove.c: New file.
53924 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53925 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53926 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53927 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53928 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53929 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53931 (index_Fast_Copy_Backward): Define.
53932 (HAS_ARCH_FEATURE): Define.
53933 (HAS_FAST_REP_STRING): Define.
53934 (HAS_FAST_COPY_BACKWARD): Define.
53936 2010-06-21 Andreas Schwab <schwab@redhat.com>
53938 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53939 Restore proper fallback handling.
53941 2010-06-19 Ulrich Drepper <drepper@redhat.com>
53944 * posix/group_member.c (__group_member): Correct checking loop.
53946 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53947 OOM in getpwuid_r correctly. Return error number when the caller
53948 should return, otherwise -1.
53949 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53950 call returning > 0 value.
53951 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53953 2010-06-07 Andreas Schwab <schwab@redhat.com>
53955 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53956 libc_nonshared.a from targets in modules-names.
53958 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53960 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53963 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
53965 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53966 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53967 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53968 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53970 2010-06-02 Andreas Schwab <schwab@redhat.com>
53972 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53974 2010-06-14 Ulrich Drepper <drepper@redhat.com>
53976 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53978 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53982 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53983 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53985 2010-06-14 Roland McGrath <roland@redhat.com>
53987 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53989 2010-06-07 Jakub Jelinek <jakub@redhat.com>
53991 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53992 __REDIRECT followed by __THROW.
53993 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53994 * posix/getopt.h (getopt): Likewise.
53996 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53998 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53999 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54000 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54002 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54003 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54005 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
54007 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54009 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54013 Properly check family and model.
54015 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54017 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54019 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
54021 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54023 2010-05-21 Ulrich Drepper <drepper@redhat.com>
54025 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54028 2010-05-19 Andreas Schwab <schwab@redhat.com>
54030 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54033 2010-05-21 Andreas Schwab <schwab@redhat.com>
54035 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54036 and internal_recvmmsg.
54037 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54038 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54039 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54040 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54042 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54043 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54044 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54046 2010-05-20 Andreas Schwab <schwab@redhat.com>
54048 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54050 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
54052 POWER7 optimizations.
54053 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54054 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54056 2010-05-19 Ulrich Drepper <drepper@redhat.com>
54058 * version.h: Update for 2.13 development version.
54060 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
54062 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54063 exceptions. Return 0.
54065 2010-05-07 Roland McGrath <roland@redhat.com>
54067 * elf/ldconfig.c (main): Add a const.
54069 2010-05-06 Ulrich Drepper <drepper@redhat.com>
54071 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54072 (args_options): Add no-idn option.
54073 (ahosts_keys_int): Add idn_flags to ai_flags.
54074 (parse_option): Handle 'i' option to clear idn_flags.
54076 * malloc/malloc.c (_int_free): Possible race in the most recently
54077 added check. Only act on the data if no current modification
54080 See ChangeLog.17 for earlier changes.