1 2014-05-13 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4 Deconditionalize the code that was previously under [RESET_PID].
5 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7 * sysdeps/generic/exit-thread.h: New file.
8 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9 * include/unistd.h (__exit_thread): Remove declaration.
10 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12 * csu/libc-start.c: Include <exit-thread.h>.
13 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14 * nptl/pthread_create.c: Include <exit-thread.h>.
15 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
22 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
23 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
24 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
25 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
26 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
27 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
30 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33 2014-05-13 Andreas Schwab <schwab@suse.de>
35 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37 2014-05-12 Joseph Myers <joseph@codesourcery.com>
39 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40 (__ASSUME_UTIMES): Do not condition on kernel version.
41 (__ASSUME_PSELECT): Define unconditionally.
42 (__ASSUME_PPOLL): Likewise.
43 (__ASSUME_ATFCTS): Likewise.
44 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
45 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
46 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
47 (__ASSUME_UTIMENSAT): Define unconditionally.
48 (__ASSUME_PRIVATE_FUTEX): Likewise.
49 (__ASSUME_FALLOCATE): Likewise.
50 (__ASSUME_O_CLOEXEC): Likewise.
51 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
53 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
54 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
55 (__ASSUME_IN_NONBLOCK): Likewise.
56 (__ASSUME_PIPE2): Likewise.
57 (__ASSUME_EVENTFD2): Likewise.
58 (__ASSUME_SIGNALFD4): Likewise.
59 (__ASSUME_DUP3): Likewise.
60 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
61 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
62 (__ASSUME_AT_RANDOM): Likewise.
63 (__ASSUME_PREADV): Likewise.
64 (__ASSUME_PWRITEV): Likewise.
65 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
66 (__ASSUME_F_GETOWN_EX): Define unconditionally.
67 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
68 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
69 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
70 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
71 (__ASSUME_O_CLOEXEC): Define unconditionally.
72 (__ASSUME_PSELECT): Do not undefine conditionally.
73 (__ASSUME_PPOLL): Likewise.
74 (__ASSUME_ATFCTS): Likewise.
75 (__ASSUME_SET_ROBUST_LIST): Likewise.
76 (__ASSUME_UTIMENSAT): Likewise.
77 (__ASSUME_FDATASYNC): Define unconditionally.
78 * sysdeps/unix/sysv/linux/arm/kernel-features.h
79 (__ASSUME_SIGFRAME_V2): Likewise.
80 )__ASSUME_EVENTFD2): Likewise.
81 (__ASSUME_SIGNALFD4): Likewise.
82 (__ASSUME_PSELECT): Do not undefine conditionally.
83 (__ASSUME_PPOLL): Likewise.
84 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
85 (__ASSUME_PSELECT): Define unconditionally.
86 (__ASSUME_PPOLL): Likewise.
87 (__ASSUME_O_CLOEXEC): Likewise.
88 (__ASSUME_SOCK_CLOEXEC): Likewise.
89 (__ASSUME_IN_NONBLOCK): Likewise.
90 (__ASSUME_PIPE2): Likewise.
91 (__ASSUME_EVENTFD2): Likewise.
92 (__ASSUME_SIGNALFD4): Likewise.
93 (__ASSUME_DUP3): Likewise.
94 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
95 (__ASSUME_O_CLOEXEC): Likewise.
96 (__ASSUME_SOCK_CLOEXEC): Likewise.
97 (__ASSUME_IN_NONBLOCK): Likewise.
98 (__ASSUME_PIPE2): Likewise.
99 (__ASSUME_EVENTFD2): Likewise.
100 (__ASSUME_SIGNALFD4): Likewise.
101 (__ASSUME_DUP3): Likewise.
102 * sysdeps/unix/sysv/linux/mips/kernel-features.h
103 (__ASSUME_EVENTFD2): Likewise.
104 (__ASSUME_SIGNALFD4): Likewise.
105 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
107 2014-05-12 Andreas Schwab <schwab@suse.de>
110 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
111 (_nss_nis_gethostbyname4_r): Return error if item length is larger
112 than maximum RPC packet size.
113 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
114 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
115 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
116 (_nss_nis_getservbyport_r): Likewise.
118 2014-05-12 Will Newton <will.newton@linaro.org>
120 * malloc/Makefile (tests): Add tst-mallopt.
121 * malloc/tst-mallopt.c: New file.
123 2014-05-09 Roland McGrath <roland@hack.frob.com>
125 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
126 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
128 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
130 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
131 (tst-tlsmod6.so): Likewise.
133 2014-05-09 Roland McGrath <roland@hack.frob.com>
135 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
137 2014-05-09 Joseph Myers <joseph@codesourcery.com>
140 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
142 (__fegetenv): Save SSE state in envp->__eip if supported.
143 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
144 envp->__eip if supported.
145 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
147 (__fesetenv): Always set __eip, __cs_selector, __opcode,
148 __data_offset and __data_selector in environment to 0. Set SSE
150 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
152 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
154 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
156 2014-05-09 Will Newton <will.newton@linaro.org>
158 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
159 and libc_relro_required for ARM.
160 * sysdeps/arm/preconfigure: Regenerate.
162 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
163 Stefan Liebler <stli@linux.vnet.ibm.com>
165 * config.make.in (enable-lock-elision): New Makefile variable.
166 * configure.ac: Likewise.
167 * configure: Regenerate.
168 * sysdeps/s390/configure.ac:
169 Add check for gcc transactions support.
170 * sysdeps/s390/configure: Regenerate.
171 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
172 Build elision files if enabled.
173 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
174 Add lock elision support for s390.
175 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
176 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
177 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
178 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
179 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
180 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
181 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
183 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
185 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
187 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
189 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
190 (__lll_timedlock_elision, __lll_lock_elision)
191 (__lll_unlock_elision, __lll_trylock_elision)
192 (lll_timedlock_elision, lll_lock_elision)
193 (lll_unlock_elision, lll_trylock_elision): Add.
194 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
195 (pthread_mutex_t): Add lock elision support for s390.
197 2014-05-09 Will Newton <will.newton@linaro.org>
199 * sysdeps/arm/armv7/strcmp.S: New file.
200 * NEWS: Mention addition of ARMv7 optimized strcmp.
202 2014-05-08 Roland McGrath <roland@hack.frob.com>
204 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
205 look for %.ac rather than %.in.
207 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
208 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
209 * sysdeps/mach/hurd/configure: Regenerated.
210 * sysdeps/unix/sysv/linux/configure: Regenerated.
212 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
214 2014-05-07 Steve Ellcey <sellcey@mips.com>
217 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
221 2014-05-07 Andreas Schwab <schwab@suse.de>
223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
224 when skipping over non-matching result from nscd.
226 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
229 * nptl/sockperf.c (client): Check socket return value.
232 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
235 2014-05-06 Roland McGrath <roland@hack.frob.com>
237 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
238 * sysdeps/arm/unwind.h: ... here.
240 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
243 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
246 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
248 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
249 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
250 multiarch strncpy for PPC64.
251 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
252 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
254 multiarch optimizations.
255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
256 (__libc_ifunc_impl_list): Likewise.
257 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
258 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
259 multiarch stpncpy for PPC64.
260 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
261 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
263 2014-05-06 Andreas Schwab <schwab@suse.de>
266 * gmon/mcount.c (_MCOUNT_DECL): Use
267 atomic_compare_and_exchange_bool_acq instead of
268 catomic_compare_and_exchange_bool_acq.
270 2014-05-05 Roland McGrath <roland@hack.frob.com>
272 * elf/Makefile (others, install-bin): Remove pldd.
273 (pldd-modules): Variable removed.
274 ($(objpfx)pldd): Target removed.
275 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
276 (others, install-bin): Append pldd here.
277 ($(objpfx)pldd): New target.
279 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
280 to 0, so the first #if test emitted later doesn't see it undefined.
281 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
282 * sysdeps/gnu/errlist.c: Regenerated.
284 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
286 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
287 [libc_hidden_builtin_def]: Define to empty value.
288 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
289 [libc_hidden_builtin_def]: Likewise.
290 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
291 [libc_hidden_builtin_def]: Likewise.
292 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
293 [libc_hidden_builtin_def]: Likewise.
294 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
295 __redirect_memcpy and define ifunc as default hidden symbol.
296 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
297 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
299 2014-05-04 Adam Conrad <adconrad@0c3.net>
301 * locale/iso-4217.def: Reintroduce XDR currency.
303 2014-05-04 Allan McRae <allan@archlinux.org>
305 * po/eo.po: Update Esperanto translation from translation project.
307 2014-05-02 Carlos O'Donell <carlos@redhat.com>
309 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
310 and FEATURE_INDEX_MAX to 1.
311 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
313 2014-05-01 Steve Ellcey <sellcey@mips.com>
315 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
316 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
317 * iconvdata/big5.c (ONE_DIRECTION): Define.
318 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
319 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
320 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
321 * iconvdata/cp932.c (ONE_DIRECTION): Define.
322 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
323 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
324 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
325 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
326 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
327 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
328 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
329 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
330 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
331 * iconvdata/gbk.c (ONE_DIRECTION): Define.
332 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
333 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
334 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
335 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
336 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
337 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
338 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
339 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
340 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
341 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
342 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
343 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
344 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
345 * iconvdata/iso646.c (ONE_DIRECTION): Define.
346 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
347 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
348 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
349 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
350 * iconvdata/johab.c (ONE_DIRECTION): Define.
351 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
352 * iconvdata/sjis.c (ONE_DIRECTION): Define.
353 * iconvdata/t.61.c (ONE_DIRECTION): Define.
354 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
355 * iconvdata/tscii.c (ONE_DIRECTION): Define.
356 * iconvdata/uhc.c (ONE_DIRECTION): Define.
357 * iconvdata/unicode.c (ONE_DIRECTION): Define.
358 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
359 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
360 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
362 2014-05-01 Roland McGrath <roland@hack.frob.com>
364 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
365 (_IO_JUMPS_OFFSET): Define to 0.
367 * nptl/sysdeps/pthread/bits/libc-lock.h
368 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
369 (__libc_lock_define_initialized_recursive): Always define using
370 initializer. Modern compilers treat uninitialized (implicit zero) and
371 explicit zero initializers the same (i.e. put the datum in bss).
373 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
375 * nscd/nscd-client.h: Include <string.h>.
377 2014-05-01 David S. Miller <davem@davemloft.net>
380 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
381 multiple zero bytes exist at the end of a string.
382 Reported by Aurelien Jarno <aurelien@aurel32.net>
384 * string/test-strcmp.c (check): Add explicit test for situations where
385 there are multiple zero bytes after the first.
387 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
390 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
391 when compiling wprintf.
392 * stdio-common/tstdiomisc.c (t3): New function.
395 2014-05-01 Steve Ellcey <sellcey@mips.com>
397 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
398 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
399 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
400 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
402 2014-05-01 Steve Ellcey <sellcey@mips.com>
404 * stdlib/longlong.h: Updated from GCC.
406 2014-05-01 Will Newton <will.newton@linaro.org>
407 Bernard Ogden <bernie.ogden@linaro.org>
409 * NEWS: Update fixed bug list.
412 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
414 2014-04-30 David S. Miller <davem@davemloft.net>
416 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
417 (libc_feholdexcept_setround_sparc_ctx): New function.
418 (libc_fesetenv_sparc_ctx): Likewise.
419 (libc_feupdateenv_sparc_ctx): Likewise.
420 (libc_feholdsetround_sparc_ctx): Likewise.
421 (libc_feholdexcept_setround_ctx): Define.
422 (libc_feholdexcept_setroundf_ctx): Likewise.
423 (libc_feholdexcept_setroundl_ctx): Likewise.
424 (libc_fesetenv_ctx): Likewise.
425 (libc_fesetenvf_ctx): Likewise.
426 (libc_fesetenvl_ctx): Likewise.
427 (libc_feupdateenv_ctx): Likewise.
428 (libc_feupdateenvf_ctx): Likewise.
429 (libc_feupdateenvl_ctx): Likewise.
430 (libc_feresetround_ctx): Likewise.
431 (libc_feresetroundf_ctx): Likewise.
432 (libc_feresetroundl_ctx): Likewise.
433 (libc_feholdsetround_ctx): Likewise.
434 (libc_feholdsetroundf_ctx): Likewise.
435 (libc_feholdsetroundl_ctx): Likewise.
437 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
438 with __USE_GNU instead of XOPEN cpp guards.
440 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
443 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
444 with XOPEN cpp guards.
446 2014-04-30 Julian Brown <julian@codesourcery.com>
449 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
452 2014-04-30 Joseph Myers <joseph@codesourcery.com>
455 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
457 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
458 * sysdeps/unix/sysv/linux/configure: Regenerated.
459 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
460 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
461 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
462 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
463 * README: Update reference to required Linux kernel version.
464 * manual/install.texi (Linux): Update reference to required Linux
465 kernel headers version.
466 * INSTALL: Regenerated.
468 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
470 [POSIX] (limits.h): Likewise.
471 [POSIX] (math.h): Likewise.
472 [POSIX] (sys/wait.h): Likewise.
473 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
475 [POSIX] (stddef.h): Do not allow header inclusion.
477 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
479 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
481 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
483 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
484 Return immediately after lll_futex_wake.
486 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
489 * nscd/nscd-client.h (datahead_init_common): Initialize entire
491 (datahead_init_pos): Call datahead_init_common early.
492 (datahead_init_neg): Likewise.
494 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
495 datahead_init_neg): New functions.
496 * nscd/aicache.c (addhstaiX): Use them.
497 * nscd/grpcache.c (cache_addgr): Likewise.
498 * nscd/hstcache.c (cache_addhst): Likewise.
499 * nscd/initgrcache.c (addinitgroupsX): Likewise.
500 * nscd/netgroupcache.c (do_notfound): Likewise.
501 (addgetnetgrentX): Likewise.
502 (addinnetgrX): Likewise.
503 * nscd/pwdcache.c (cache_addpw): Likewise.
504 * nscd/servicescache.c (cache_addserv): Likewise.
506 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
507 Atsushi Onoe <atsushi@onoe.org>
512 * resolv/res_query.c (__libc_res_nsearch): Return if at least
513 one response is valid.
514 * resolv/res_send.c (send_dg): Check for validity of other
515 response if the current response is a referral.
517 2014-04-29 Steve Ellcey <sellcey@mips.com>
519 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
521 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
524 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
525 Always divide by positive zero when computing -Inf result.
526 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
527 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
529 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
531 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
532 FPSCR if value do not change.
533 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
534 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
535 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
536 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
537 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
538 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
541 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
543 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
544 * sysdeps/unix/sysv/linux/hppa: Move directory from
545 ports/systeps/unix/sysv/linux/hppa.
546 * README: Update listing for hppa-*-linux-gnu.
548 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
551 * manual/stdio.texi (Hook functions): Fix types of stream hook
554 * socket/sys/socket.h: Fix typo in comment.
556 2014-04-28 Wilco <wdijkstr@arm.com>
558 * sysdeps/arm/fenv_private.h: New file.
559 * sysdeps/arm/math_private.h: New file.
560 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
562 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
564 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
566 (La_x86_64_retval): Likewise.
568 2014-04-24 Ian Bolton <ian.bolton@arm.com>
570 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
571 fpsr if value didn't change.
572 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
573 to fpcr if value didn't change.
574 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
575 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
576 fpsr or fpcr if value didn't change.
577 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
578 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
579 fpcr if value didn't change.
580 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
581 to fpsr if value didn't change.
583 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
585 * nptl/tst-sem3.c: Use test-skeleton.c
586 (main): Rename to do_test. Use return instead of
588 * nptl/tst-sem4.c: Use test-skeleton.c
589 (main): Rename to do_test.
591 2014-04-22 David S. Miller <davem@davemloft.net>
593 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
594 (struct sigaction): New struct member __glibc_reserved0, change
595 type of sa_flags to int.
597 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
599 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
600 (COUNT_LEADING_ZEROS_0): Define for AArch64.
602 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
604 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
605 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
607 2014-04-22 Will Newton <will.newton@linaro.org>
608 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
610 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
611 (__longjmp): Add longjmp and longjmp_target SystemTap
613 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
614 (__sigsetjmp): Add setjmp SystemTap probe.
616 2014-04-17 Carlos O'Donell <carlos@redhat.com>
618 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
621 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
623 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
625 * sysdeps/powerpc/fpu/fenv_private.h
626 (libc_feholdexcept_setroundl_ctx): Define to
627 libc_feholdexcept_setround_ppc_ctx.
628 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
629 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
630 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
631 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
633 2014-04-17 Ian Bolton <ian.bolton@arm.com>
635 * sysdeps/aarch64/math-tests.h: New file.
637 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
639 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
642 Check and set bit_AVX2_Usable.
643 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
645 (bit_AVX2): Likewise.
646 (index_AVX2_Usable): Likewise.
647 (CPUID_AVX2): Likewise.
648 (HAS_AVX2): Likewise.
650 2014-04-17 Will Newton <will.newton@linaro.org>
652 * manual/setjmp.texi (System V contexts): Add note that
653 calling setcontext on a context created by a call to a
654 signal handler is undefined. Update text to note that
655 setcontext from a signal handler is possible but not
659 * stdlib/tst-setcontext.c: Include signal.h.
660 (main): Check that the signal stack before and
661 after swapcontext is the same.
663 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
664 Re-implement to restore registers in user code and avoid
665 rt_sigreturn system call.
667 2014-04-17 Wilco <wdijkstr@arm.com>
669 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
670 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
671 * math/test-fenv.c: Skip exception trap tests on targets which only
672 support non-stop mode.
674 2014-04-17 Ian Bolton <ian.bolton@arm.com>
675 Wilco Dijkstra <wilco.dijkstra@arm.com>
677 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
678 (libc_feholdsetround_aarch64_ctx)
679 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
680 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
681 (libc_feresetround_ctx, libc_feresetroundf_ctx)
682 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
683 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
684 (libc_feresetround_noexl_ctx): Define.
686 2014-04-16 Richard Henderson <rth@redhat.com>
688 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
690 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
693 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
694 const from the non-libc, non-ldso copy.
696 * sysdeps/alpha/libm-test-ulps: Regenerate.
698 2014-04-16 Ian Bolton <ian.bolton@arm.com>
699 Wilco Dijkstra <wilco.dijkstra@arm.com>
701 * sysdeps/aarch64/fpu/math_private.h: New file.
703 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
705 * sysdeps/aarch64/libm-test-ulps: Regenerate.
707 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
709 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
710 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
711 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
712 Intel MPX bound registers before _dl_profile_fixup.
713 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
714 registers after _dl_profile_fixup. Save and restore bound
715 registers bnd0/bnd1 when calling _dl_call_pltexit.
716 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
717 (LR_BND_OFFSET): Likewise.
718 (LRV_BND0_OFFSET): Likewise.
719 (LRV_BND1_OFFSET): Likewise.
721 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
723 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
725 * sysdeps/mach/hurd/i386/tls.h: ... here.
726 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
727 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
730 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
732 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
734 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
736 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
738 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
741 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
742 * sysdeps/s390/configure: Regenerate.
745 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
746 Set round-to-nearest internally to reduce error accumulation.
748 2014-04-16 Alan Modra <amodra@gmail.com>
752 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
753 * math/libm-test.inc (frexp_test_data): Add tests.
754 * NEWS: Update fixed bug list.
756 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
758 * benchtests/Makefile: Depend on libraries in build directory.
759 (bench-math): Separate out math tests.
760 (bench-pthread): Separate out pthread tests.
761 (bench): Include math and pthread tests.
763 2014-04-14 Carlos O'Donell <carlos@redhat.com>
766 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
767 _dl_debug_initialize.
769 * configure.ac: Remove SELinux header check.
770 * configure: Regenerate.
771 * nscd/selinux.c (perms): Array of const char* to permission names.
772 (nscd_request_avc_has_perm): Call security_deny_unknown to find
773 default policy. Call string_to_security_class and string_to_av_perm to
774 translate strings. Enforce default policy and call avs_has_perm with
775 results of translated strings.
777 2014-04-13 David S. Miller <davem@davemloft.net>
779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
781 2014-04-12 Allan McRae <allan@archlinux.org>
784 * manual/string.texi (Collation Functions): Fix qsort argument
786 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
788 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
790 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
791 Make the test a no-op if there are no exceptions defined.
793 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
795 * elf/Makefile (tests): make tst-dlopen-aout conditional on
796 enable-hardcoded-path-in-tests
798 2014-04-11 Will Newton <will.newton@linaro.org>
800 * benchtests/Makefile (extra-objs): Add json-lib.o.
801 (bench-func): Tidy up JSON output.
802 * benchtests/bench-skeleton.c: Include json-lib.h.
803 (main): Use JSON library functions to do output of
805 * benchtests/bench-timing-type.c (main): Output the
806 timing type simply, leaving formatting to the user.
807 * benchtests/json-lib.c: New file.
808 * benchtests/json-lib.h: Likewise.
810 2014-04-11 Torvald Riegel <triegel@redhat.com>
813 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
814 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
815 memory barriers. Add comments.
816 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
817 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
818 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
819 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
820 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
821 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
823 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
825 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
826 * sysdeps/s390/s390-64/configure.ac: ... this ...
827 * sysdeps/s390/configure.ac: ... to here.
828 * sysdeps/s390/s390-32/configure: Delete file.
829 * sysdeps/s390/s390-64/configure: Delete file.
830 * sysdeps/s390/configure: Regenerate.
832 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
834 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
836 2014-04-11 Will Newton <will.newton@linaro.org>
838 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
839 to zero if it is not defined elsewhere. (mtrim): Test
840 the value of MALLOC_DEBUG with #if rather than #ifdef.
842 2014-04-10 Torvald Riegel <triegel@redhat.com>
844 * benchtests/pthread_once-inputs: New file.
845 * benchtests/pthread_once-source.c: New file.
846 * benchtests/README: Update documentation.
848 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
849 H.J. Lu <hongjiu.lu@intel.com>
851 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
852 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
853 * sysdeps/x86_64/configure: Regenerated.
854 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
856 (REGISTER_SAVE_RAX): Likewise.
857 (REGISTER_SAVE_RCX): Likewise.
858 (REGISTER_SAVE_RDX): Likewise.
859 (REGISTER_SAVE_RSI): Likewise.
860 (REGISTER_SAVE_RDI): Likewise.
861 (REGISTER_SAVE_R8): Likewise.
862 (REGISTER_SAVE_R9): Likewise.
863 (REGISTER_SAVE_BND0): Likewise.
864 (REGISTER_SAVE_BND1): Likewise.
865 (REGISTER_SAVE_BND2): Likewise.
866 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
867 bound registers when calling _dl_fixup.
869 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
871 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
872 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
874 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
875 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
876 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
877 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
878 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
879 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
880 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
882 2014-04-09 Peter Brett <peter@peter-b.co.uk>
885 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
886 pathconf(_PC_NAME_MAX).
888 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
890 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
892 (__PTHREAD_SPINS): Move definition to ...
893 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
894 (__PTHREAD_SPINS): ... here.
895 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
896 (__PTHREAD_SPIN): Likewise.
897 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
898 (__PTHREAD_SPIN): Likewise.
899 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
900 (__PTHREAD_SPIN): Likewise.
901 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
902 (__PTHREAD_SPIN): Likewise.
903 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
904 (__PTHREAD_SPIN): Likewise.
905 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
906 (__PTHREAD_SPIN): Likewise.
907 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
908 (__PTHREAD_SPIN): Likewise.
909 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
910 (__PTHREAD_SPIN): Likewise.
911 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
912 (__PTHREAD_SPIN): Likewise.
913 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
914 (__PTHREAD_SPIN): Likewise.
915 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
916 (__PTHREAD_SPIN): Likewise.
917 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
918 (__PTHREAD_SPIN): Likewise.
920 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
921 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
922 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
923 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
925 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
926 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
927 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
928 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
930 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
931 strlen symbol for non multi-arch builds.
932 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
933 missing hidden_def and weak_alias.
935 2014-04-08 Carlos O'Donell <carlos@redhat.com>
937 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
939 2014-04-07 Will Newton <will.newton@linaro.org>
941 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
942 and contents. [!_LIBC] Remove #ifndef and contents.
943 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
944 * string/memccpy.c (__memccpy): Use ANSI prototype.
945 * string/memfrob.c (memfrob): Likewise.
946 * string/strcoll.c (STRCOLL): Likewise.
947 * string/strlen.c (strlen): Likewise.
948 * string/strtok.c (STRTOK): Likewise.
949 * string/strcat.c: Remove unused #include of memcopy.h.
950 (strcat): Use ANSI prototype.
951 * string/strchr.c: Remove unused #include of memcopy.h.
952 (strchr): Use ANSI prototype.
953 * string/strcmp.c: Remove unused #include of memcopy.h.
954 (strcmp): Use ANSI prototype.
955 * string/strcpy.c: Remove unused #include of memcopy.h.
956 (strcpy): Use ANSI prototype.
958 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
960 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
961 * config.make.in (config-extra-cppflags): Set it from
963 * configure.ac (libc_extra_cflags): Make it accumulate over
965 (libc_extra_cppflags): New flag.
966 * configure. Regenerate.
967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
968 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
969 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
973 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
974 result for FE_DOWNWARD rounding mode.
975 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
979 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
981 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
982 in function argument name.
984 2014-04-03 David Svoboda <svoboda@cert.org>
987 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
990 2014-04-03 Roland McGrath <roland@hack.frob.com>
992 * elf/dl-unmap-segments.h: New file.
993 * sysdeps/generic/ldsodefs.h
994 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
995 * elf/dl-close.c: Include <dl-unmap-segments.h>.
996 * elf/dl-fptr.c: Likewise.
997 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
998 * sysdeps/aarch64/tlsdesc.c: Likewise.
999 * sysdeps/arm/tlsdesc.c: Likewise.
1000 * sysdeps/i386/tlsdesc.c: Likewise.
1001 * sysdeps/tile/dl-runtime.c: Likewise.
1002 * sysdeps/x86_64/tlsdesc.c: Likewise.
1003 * elf/dl-load.h: New file.
1004 * elf/dl-load.c: Include it.
1005 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1006 Macros moved to dl-load.h.
1007 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1008 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1009 Use _dl_unmap_segments in place of __munmap.
1010 Break out segment-mapping loop into ...
1011 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1013 2014-04-03 Will Newton <will.newton@linaro.org>
1015 * elf/dl-lookup.c (do_lookup_x): Remove comment
1016 referring to nested function and move variable
1017 declarations down to before first use.
1019 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1023 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1025 * math/s_catanf.c (__catanf): Likewise.
1026 * math/s_catanh.c (__catanh): Likewise.
1027 * math/s_catanhf.c (__catanhf): Likewise.
1028 * math/s_catanhl.c (__catanhl): Likewise.
1029 * math/s_catanl.c (__catanl): Likewise.
1030 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1031 by positive zero when computing -Inf result.
1032 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1033 (catanh_test): Likewise.
1034 * sysdeps/i386/fpu/libm-test-ulps: Update.
1035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1038 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1039 instead of using underflowing value in computing result.
1040 * math/s_clog10.c (__clog10): Likewise.
1041 * math/s_clog10f.c (__clog10f): Likewise.
1042 * math/s_clog10l.c (__clog10l): Likewise.
1043 * math/s_clogf.c (__clogf): Likewise.
1044 * math/s_clogl.c (__clogl): Likewise.
1045 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1046 (clog10_test): Likewise.
1047 * sysdeps/i386/fpu/libm-test-ulps: Update.
1048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1050 2014-04-02 Alan Modra <amodra@gmail.com>
1053 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1054 output when value is near a power of two. Use int64_t for lx and
1055 remove casts. Use decimal rather than hex exponent constants.
1056 Don't use long double multiplication when double will suffice.
1057 * math/libm-test.inc (nextafter_test_data): Add tests.
1058 * NEWS: Add 16739 and 16786 to bug list.
1060 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1062 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1064 2014-04-01 Will Newton <will.newton@linaro.org>
1066 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1067 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1069 2014-04-01 Florian Weimer <fweimer@redhat.com>
1072 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1073 * nptl/tst-setuid2.c: New file.
1074 * nptl/Makefile (xtests): Add tst-setuid2.
1076 2014-04-01 Alan Modra <amodra@gmail.com>
1079 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1081 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1085 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1086 set errno as appropriate.
1087 * math/w_scalbf.c (__scalbf): Likewise.
1088 * math/w_scalbl.c (__scalbl): Likewise.
1089 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1090 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1091 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1095 * math/w_atan2.c: Include <errno.h>.
1096 (__atan2): Set errno for result underflowing to zero.
1097 * math/w_atan2f.c: Include <errno.h>.
1098 (__atan2f): Set errno for result underflowing to zero.
1099 * math/w_atan2l.c: Include <errno.h>.
1100 (__atan2l): Set errno for result underflowing to zero.
1101 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1103 * math/auto-libm-test-out: Regenerated.
1105 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1107 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1108 Encode instruction correctly in little endian.
1109 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1111 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1113 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1115 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1118 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1121 * sysdeps/unix/sysv/linux/kernel-features.h
1122 [__sparc__ && !__arch64__ && !__sparc_v9__]
1123 (__ASSUME_SET_ROBUST_LIST): Do not define.
1124 [__sparc__ && !__arch64__ && !__sparc_v9__]
1125 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1126 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1128 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1129 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1130 (__ASSUME_REQUEUE_PI): Likewise.
1131 (__ASSUME_SET_ROBUST_LIST): Likewise.
1132 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1133 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1135 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1136 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1138 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1140 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1142 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1143 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1145 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1146 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1150 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1151 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1152 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1154 2014-03-31 Will Newton <will.newton@linaro.org>
1156 * benchtests/Makefile (bench): Add ffs and ffsll to list
1158 * benchtests/ffs-inputs: New file.
1159 * benchtests/ffsll-inputs: Likewise.
1161 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1164 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1165 too large before casting to int.
1166 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1167 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1168 * math/libm-test.inc (scalb_test_data): Add more tests.
1170 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1172 * benchtests/Makefile (DETAILED_OPT): New make option.
1173 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1175 * benchtests/bench-skeleton.c: Include stdbool.h.
1176 (main): Store and print timings per input.
1177 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1178 member to each argument value.
1179 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1180 (_print_arg_data): Initialize per-input timing to 0.
1182 * benchtests/Makefile (timing-type): New binary.
1183 (bench-clean): Also remove bench-timing-type.
1184 (bench): New target for timing-type.
1185 (bench-func): Print output in JSON format.
1186 * benchtests/bench-skeleton.c (main): Print output in JSON
1188 * benchtests/bench-timing-type.c: New file.
1189 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1190 (TIMING_PRINT_STATS): Remove.
1191 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1194 * benchtests/bench-modf.c: Remove.
1195 * benchtests/modf-inputs: New inputs file.
1197 2014-03-28 Joseph Myers <joseph@codesourcery.com>
1200 * math/s_clog10.c (M_PI_LOG10E): New macro.
1201 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1202 imaginary parts are 0.
1203 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1204 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1205 imaginary parts are 0.
1206 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1207 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1208 imaginary parts are 0.
1209 * math/libm-test.inc (clog10_test_data): Update expected results
1210 for when real and imaginary parts are 0.
1212 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1214 * elf/dl-load.c: Finish conversion of __builtin_expect into
1217 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1220 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1221 1+x for argument with exponent below -67.
1222 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1224 * math/auto-libm-test-in: Add more tests of exp.
1225 * math/auto-libm-test-out: Regenerated.
1227 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1230 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1231 (nscd_getnetgrent): Use it.
1234 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1237 2014-03-27 Andi Kleen <ak@linux.intel.com>
1239 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1240 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1241 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1242 (lll_robust_unlock): Remove out of line section. Use cfi
1244 (LLL_STUB_UNWIND_INFO*): Remove.
1245 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1246 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1247 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1248 (lll_robust_unlock): Remove out of line section. Use cfi
1250 (LLL_STUB_UNWIND_INFO*): Remove.
1252 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1255 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1258 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1260 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1262 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1265 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1267 * math/test-fenv-preserve.c: New file.
1268 * math/Makefile (tests): Add test-fenv-preserve.
1270 2014-03-26 Will Newton <will.newton@linaro.org>
1272 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1274 2014-03-25 Roland McGrath <roland@hack.frob.com>
1276 * scripts/versionlist.awk: Partition the version sets and emit all
1277 GLIBC_* (sorted) before all others (sorted).
1279 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1281 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1282 GLIBC_2.2.5 version.
1284 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1286 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1289 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1294 2014-03-25 Andreas Schwab <schwab@suse.de>
1296 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1297 label to be used after in6ailist is initialized.
1299 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1301 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1302 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1304 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1308 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1310 (fp_formats): Update initializers.
1311 (init_fp_formats): Initialize new field.
1312 (output_for_one_input_case): Allow underflow for results up to
1314 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1315 * math/auto-libm-test-in: Don't mark some underflows from asin and
1317 * math/auto-libm-test-out: Regenerated.
1318 * sysdeps/i386/fpu/libm-test-ulps: Update.
1319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1321 2014-03-25 Andreas Schwab <schwab@suse.de>
1323 * libio/Makefile (tst-ftell-partial-wide-ENV)
1324 (tst-ftell-active-handler-ENV): Define.
1326 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1328 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1330 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1332 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1334 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1336 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1337 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1338 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1340 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1343 * elf/dl-load.c (open_verify): Add mode parameter.
1344 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1345 (open_path): Change from boolean 'secure' to complete flag 'mode'
1346 (_dl_map_object): Adjust.
1347 * elf/Makefile (tests): Add tst-dlopen-aout.
1348 * elf/tst-dlopen-aout.c: New test.
1350 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1353 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1354 (struct stat): Rename member pad0 to __glibc_reserved0.
1357 * sysdeps/s390/s390-32/bits/wordsize.h
1358 (__WORDSIZE32_SIZE_ULONG): New define.
1359 * sysdeps/s390/s390-64/bits/wordsize.h
1360 (__WORDSIZE32_SIZE_ULONG): Likewise.
1361 * sysdeps/generic/stdint.h (SIZE_MAX):
1362 Define as UL if __WORDSIZE32_SIZE_ULONG.
1365 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1366 (__glibc_reserved0): New variable.
1367 (sa_flags): Change type to int.
1369 * posix/Makefile (before-compile): Use += before-compile instead
1372 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1373 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1375 2014-03-20 Andreas Schwab <schwab@suse.de>
1378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1379 non-matching result from nscd.
1381 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1383 * scripts/bench.py: Moved to ...
1384 * benchtests/scripts/bench.py: ... here.
1385 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1387 2014-03-24 Andreas Schwab <schwab@suse.de>
1390 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1391 alloca_account and account alloca use for struct in6ailist.
1393 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1396 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1397 rounding mode to recompute results that overflow to infinity or
1399 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1401 * math/auto-libm-test-out: Regenerated.
1402 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1403 (ccosh_test): Likewise.
1404 (csin_test_data): Use plus_oflow.
1405 (csin_test): Use ALL_RM_TEST.
1406 (csinh_test_data): Use plus_oflow.
1407 (csinh_test): Use ALL_RM_TEST.
1408 * sysdeps/i386/fpu/libm-test-ulps: Update.
1409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1411 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1413 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1414 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1415 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1418 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1420 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1421 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1422 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1423 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1425 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1426 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1428 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1429 * sysdeps/i386/fpu/libm-test-ulps: Update.
1430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1432 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1434 * scripts/bench.pl: Remove file.
1435 * scripts/bench.py: New benchmark script.
1436 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1437 * benchtests/README: Mention python dependency.
1438 * scripts/pylintrc: New file.
1439 * scripts/pylint: New file.
1441 * bits/mathdef.h: Use #ifdef instead of #if.
1442 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1443 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1444 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1445 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1446 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1447 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1449 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1450 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1452 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1454 and strpbrk-ppc64 objects.
1455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1456 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1457 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1458 multiarch strpbrk for POWER7.
1459 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1460 multiarch strpbrk for PPC64.
1461 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1463 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1466 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1468 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1469 (atan_test): Likewise.
1470 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1471 (atanh_test): Use ALL_RM_TEST.
1472 (atan2_test_data): Likewise.
1473 (cabs_test): Likewise.
1474 (cacosh_test): Likewise.
1475 (carg_test): Likewise.
1476 (casin_test): Likewise.
1477 (casinh_test): Likewise.
1478 (cbrt_test): Likewise.
1479 (csqrt_test): Likewise.
1480 (erf_test): Likewise.
1481 (erfc_test): Likewise.
1482 (pow10_test): Likewise.
1483 (exp2_test): Likewise.
1484 (hypot_test): Likewise.
1485 (j0_test): Likewise.
1486 (j1_test): Likewise.
1487 (lgamma_test): Likewise.
1488 (gamma_test): Likewise.
1489 (sincos_test): Likewise.
1490 (tanh_test): Likewise.
1491 (y0_test): Likewise.
1492 (y1_test): Likewise.
1493 * sysdeps/i386/fpu/libm-test-ulps: Update.
1494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1496 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1498 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1500 and strcspn-ppc64 objects.
1501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1502 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1503 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1504 multiarch strcspn for POWER7.
1505 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1506 multiarch strcspn for PPC64.
1507 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1509 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1512 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1514 * math/gen-libm-test.pl (generate_testfile): Expect only function
1515 name as argument to AUTO_TESTS_* and pass results for all rounding
1516 modes to parse_args.
1517 (parse_auto_input): Separate inputs of automatic tests from
1518 outputs before storing in %auto_tests.
1519 * math/libm-test.inc (acos_test_data): Update call to
1521 (acos_test): Use ALL_RM_TEST.
1522 (acos_tonearest_test_data): Remove.
1523 (acos_test_tonearest): Likewise.
1524 (acos_towardzero_test_data): Likewise.
1525 (acos_test_towardzero): Likewise.
1526 (acos_downward_test_data): Likewise.
1527 (acos_test_downward): Likewise.
1528 (acos_upward_test_data): Likewise.
1529 (acos_test_upward): Likewise.
1530 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1531 (asin_test_data): Likewise.
1532 (asin_test): Use ALL_RM_TEST.
1533 (asin_tonearest_test_data): Remove.
1534 (asin_test_tonearest): Likewise.
1535 (asin_towardzero_test_data): Likewise.
1536 (asin_test_towardzero): Likewise.
1537 (asin_downward_test_data): Likewise.
1538 (asin_test_downward): Likewise.
1539 (asin_upward_test_data): Likewise.
1540 (asin_test_upward): Likewise.
1541 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1542 (atan_test_data): Likewise.
1543 (atanh_test_data): Likewise.
1544 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1545 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1546 (carg_test_data): Likewise.
1547 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1548 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1549 (ccosh_test_data): Likewise.
1550 (cexp_test_data): Likewise.
1551 (clog_test_data): Likewise.
1552 (clog10_test_data): Likewise.
1553 (cos_test_data): Update call to AUTO_TESTS_f_f.
1554 (cos_test): Use ALL_RM_TEST.
1555 (cos_tonearest_test_data): Remove.
1556 (cos_test_tonearest): Likewise.
1557 (cos_towardzero_test_data): Likewise.
1558 (cos_test_towardzero): Likewise.
1559 (cos_downward_test_data): Likewise.
1560 (cos_test_downward): Likewise.
1561 (cos_upward_test_data): Likewise.
1562 (cos_test_upward): Likewise.
1563 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1564 (cosh_test): Use ALL_RM_TEST.
1565 (cosh_tonearest_test_data): Remove.
1566 (cosh_test_tonearest): Likewise.
1567 (cosh_towardzero_test_data): Likewise.
1568 (cosh_test_towardzero): Likewise.
1569 (cosh_downward_test_data): Likewise.
1570 (cosh_test_downward): Likewise.
1571 (cosh_upward_test_data): Likewise.
1572 (cosh_test_upward): Likewise.
1573 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1574 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1575 (ctan_test_data): Likewise.
1576 (ctan_test): Use ALL_RM_TEST.
1577 (ctan_tonearest_test_data): Remove.
1578 (ctan_test_tonearest): Likewise.
1579 (ctan_towardzero_test_data): Likewise.
1580 (ctan_test_towardzero): Likewise.
1581 (ctan_downward_test_data): Likewise.
1582 (ctan_test_downward): Likewise.
1583 (ctan_upward_test_data): Likewise.
1584 (ctan_test_upward): Likewise.
1585 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1586 (ctanh_test): Use ALL_RM_TEST.
1587 (ctanh_tonearest_test_data): Remove.
1588 (ctanh_test_tonearest): Likewise.
1589 (ctanh_towardzero_test_data): Likewise.
1590 (ctanh_test_towardzero): Likewise.
1591 (ctanh_downward_test_data): Likewise.
1592 (ctanh_test_downward): Likewise.
1593 (ctanh_upward_test_data): Likewise.
1594 (ctanh_test_upward): Likewise.
1595 (erf_test_data): Update call to AUTO_TESTS_f_f.
1596 (erfc_test_data): Likewise.
1597 (exp_test_data): Likewise.
1598 (exp_test): Use ALL_RM_TEST.
1599 (exp_tonearest_test_data): Remove.
1600 (exp_test_tonearest): Likewise.
1601 (exp_towardzero_test_data): Likewise.
1602 (exp_test_towardzero): Likewise.
1603 (exp_downward_test_data): Likewise.
1604 (exp_test_downward): Likewise.
1605 (exp_upward_test_data): Likewise.
1606 (exp_test_upward): Likewise.
1607 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1608 (exp10_test): Use ALL_RM_TEST.
1609 (exp10_tonearest_test_data): Remove.
1610 (exp10_test_tonearest): Likewise.
1611 (exp10_towardzero_test_data): Likewise.
1612 (exp10_test_towardzero): Likewise.
1613 (exp10_downward_test_data): Likewise.
1614 (exp10_test_downward): Likewise.
1615 (exp10_upward_test_data): Likewise.
1616 (exp10_test_upward): Likewise.
1617 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1618 (expm1_test_data): Likewise.
1619 (expm1_test): Use ALL_RM_TEST.
1620 (expm1_tonearest_test_data): Remove.
1621 (expm1_test_tonearest): Likewise.
1622 (expm1_towardzero_test_data): Likewise.
1623 (expm1_test_towardzero): Likewise.
1624 (expm1_downward_test_data): Likewise.
1625 (expm1_test_downward): Likewise.
1626 (expm1_upward_test_data): Likewise.
1627 (expm1_test_upward): Likewise.
1628 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1629 (fma_test): Use ALL_RM_TEST.
1630 (fma_towardzero_test_data): Remove.
1631 (fma_test_towardzero): Likewise.
1632 (fma_downward_test_data): Likewise.
1633 (fma_test_downward): Likewise.
1634 (fma_upward_test_data): Likewise.
1635 (fma_test_upward): Likewise.
1636 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1637 (j0_test_data): Update call to AUTO_TESTS_f_f.
1638 (j1_test_data): Likewise.
1639 (jn_test_data): Update call to AUTO_TESTS_if_f.
1640 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1641 (log_test_data): Update call to AUTO_TESTS_f_f.
1642 (log10_test_data): Likewise.
1643 (log1p_test_data): Likewise.
1644 (log2_test_data): Likewise.
1645 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1646 (pow_tonearest_test_data): Likewise.
1647 (sin_test_data): Update call to AUTO_TESTS_f_f.
1648 (sin_test): Use ALL_RM_TEST.
1649 (sin_tonearest_test_data): Remove.
1650 (sin_test_tonearest): Likewise.
1651 (sin_towardzero_test_data): Likewise.
1652 (sin_test_towardzero): Likewise.
1653 (sin_downward_test_data): Likewise.
1654 (sin_test_downward): Likewise.
1655 (sin_upward_test_data): Likewise.
1656 (sin_test_upward): Likewise.
1657 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1658 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1659 (sinh_test): Use ALL_RM_TEST.
1660 (sinh_tonearest_test_data): Remove.
1661 (sinh_test_tonearest): Likewise.
1662 (sinh_towardzero_test_data): Likewise.
1663 (sinh_test_towardzero): Likewise.
1664 (sinh_downward_test_data): Likewise.
1665 (sinh_test_downward): Likewise.
1666 (sinh_upward_test_data): Likewise.
1667 (sinh_test_upward): Likewise.
1668 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1669 (sqrt_test): Use ALL_RM_TEST.
1670 (sqrt_tonearest_test_data): Remove.
1671 (sqrt_test_tonearest): Likewise.
1672 (sqrt_towardzero_test_data): Likewise.
1673 (sqrt_test_towardzero): Likewise.
1674 (sqrt_downward_test_data): Likewise.
1675 (sqrt_test_downward): Likewise.
1676 (sqrt_upward_test_data): Likewise.
1677 (sqrt_test_upward): Likewise.
1678 (tan_test_data): Update call to AUTO_TESTS_f_f.
1679 (tan_test): Use ALL_RM_TEST.
1680 (tan_tonearest_test_data): Remove.
1681 (tan_test_tonearest): Likewise.
1682 (tan_towardzero_test_data): Likewise.
1683 (tan_test_towardzero): Likewise.
1684 (tan_downward_test_data): Likewise.
1685 (tan_test_downward): Likewise.
1686 (tan_upward_test_data): Likewise.
1687 (tan_test_upward): Likewise.
1688 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1689 (tgamma_test_data): Likewise.
1690 (y0_test_data): Likewise.
1691 (y1_test_data): Likewise.
1692 (yn_test_data): Update call to AUTO_TESTS_if_f.
1693 (main): Do not call removed functions.
1695 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1697 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1698 (ldexp_test_data): Remove.
1699 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1701 (scalb_test): Use ALL_RM_TEST.
1703 2014-03-19 Andreas Schwab <schwab@suse.de>
1705 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1707 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1710 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1711 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1712 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1713 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1714 (__ASSUME_PREADV): Undefine.
1715 (__ASSUME_PWRITEV): Likewise.
1717 2014-03-18 Roland McGrath <roland@hack.frob.com>
1719 * bits/mman-linux.h: Add comment about non-Linux use.
1720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1721 bits/mman-linux.h resting place.
1723 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1724 * bits/mman-linux.h: ... here.
1726 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1728 * conform/conformtest.pl: Add standard definition when calling C
1729 preprocessor on data files.
1730 (checknamespace): Remove unused variable.
1732 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1734 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1735 minus_oflow, plus_uflow and minus_uflow in expected results.
1736 * math/libm-test.inc (scalbn_test_data): Add more tests of
1737 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1739 (scalbn_test): Use ALL_RM_TEST.
1740 (scalbln_test_data): Add more tests of negative arguments. Use
1741 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1742 (scalbln_test): Use ALL_RM_TEST.
1744 2014-03-18 Roland McGrath <roland@hack.frob.com>
1746 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1748 2014-03-18 Will Newton <will.newton@linaro.org>
1750 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1753 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1755 * Makerules [!subdir] (check-abi): Exit with error status if a
1758 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1760 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1761 for rint. Include results for all rounding modes.
1762 (nearbyint_test): Use ALL_RM_TEST.
1763 (rint_test_data): Include all tests used for nearbyint.
1765 2014-03-17 Will Newton <will.newton@linaro.org>
1767 * nptl/sysdeps/pthread/pthread.h: Revert previous
1770 * sysdeps/generic/ldsodefs.h: Revert previous
1773 * libio/genops.c: Revert previous change.
1774 * libio/libioP.h: Likewise.
1775 * stdio-common/vfprintf.c: Likewise.
1777 * sysdeps/generic/math_private.h: Revert previous
1780 * sysdeps/generic/math_private.h: Check whether
1781 HAVE_RM_CTX is defined with #ifdef rather
1784 * argp/argp-fmtstream.h: Check whether
1785 __STRICT_ANSI__ is defined with #ifdef rather
1787 * argp/argp.h: Likewise.
1789 * libio/genops.c: Check whether
1790 _IO_JUMPS_OFFSET is defined with #ifdef rather
1792 * libio/libioP.h: Likewise.
1793 * stdio-common/vfprintf.c: Likewise.
1795 * sysdeps/generic/ldsodefs.h: Check whether
1796 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1799 * nptl/sysdeps/pthread/pthread.h: Check
1800 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1803 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1805 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1807 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1811 * libio/fileops.c (_IO_file_open): Seek to end of file but
1812 don't cache the offset.
1813 (get_file_offset): Remove function.
1814 (do_ftell): Use cached offset when available.
1815 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1816 don't cache the offset.
1817 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1819 (do_one_test): Call it.
1820 (do_ftell_test): Fix up expected old offset for a+ mode.
1821 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1824 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1825 up test status with function return status.
1826 (do_write_test): Likewise.
1827 (do_append_test): Likewise.
1829 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1830 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1833 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1835 * math/gen-libm-test.pl (parse_args): Handle results specified for
1836 each rounding mode separately.
1837 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1838 tests and results from lrint_tonearest_test_data,
1839 lrint_towardzero_test_data, lrint_downward_test_data and
1840 lrint_upward_test_data.
1841 (lrint_test): Use ALL_RM_TEST.
1842 (lrint_tonearest_test_data): Remove.
1843 (lrint_test_tonearest): Likewise.
1844 (lrint_towardzero_test_data): Likewise.
1845 (lrint_test_towardzero): Likewise.
1846 (lrint_downward_test_data): Likewise.
1847 (lrint_test_downward): Likewise.
1848 (lrint_upward_test_data): Likewise.
1849 (lrint_test_upward): Likewise.
1850 (llrint_test_data): Merge in per-rounding-mode tests and results
1851 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1852 llrint_downward_test_data and llrint_upward_test_data.
1853 (llrint_test): Use ALL_RM_TEST.
1854 (llrint_tonearest_test_data): Remove.
1855 (llrint_test_tonearest): Likewise.
1856 (llrint_towardzero_test_data): Likewise.
1857 (llrint_test_towardzero): Likewise.
1858 (llrint_downward_test_data): Likewise.
1859 (llrint_test_downward): Likewise.
1860 (llrint_upward_test_data): Likewise.
1861 (llrint_test_upward): Likewise.
1862 (rint_test_data): Merge in per-rounding-mode tests and results
1863 from rint_tonearest_test_data, rint_towardzero_test_data,
1864 rint_downward_test_data and rint_upward_test_data. Add
1865 per-rounding-mode results for tests not in those arrays.
1866 (rint_test): Use ALL_RM_TEST.
1867 (rint_tonearest_test_data): Remove.
1868 (rint_test_tonearest): Likewise.
1869 (rint_towardzero_test_data): Likewise.
1870 (rint_test_towardzero): Likewise.
1871 (rint_downward_test_data): Likewise.
1872 (rint_test_downward): Likewise.
1873 (rint_upward_test_data): Likewise.
1874 (rint_test_upward): Likewise.
1875 (main): Don't call removed functions.
1877 2014-03-14 Roland McGrath <roland@hack.frob.com>
1879 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1880 "Compiled on ..." crapola. It is anti-useful.
1882 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1884 * scripts/evaluate-test.sh: Handle fourth argument to determine
1885 whether test run should stop on failure.
1886 * Makeconfig (stop-on-test-failure): New variable.
1887 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1888 $(stop-on-test-failure).
1889 * Makefile (tests): Give a summary of results from testing and
1890 exit with failure status if they include an ERROR or FAIL.
1892 * manual/install.texi (Configuring and compiling): Mention
1893 stop-on-test-failure=y.
1894 * INSTALL: Regenerated.
1896 2014-03-14 Roland McGrath <roland@hack.frob.com>
1898 * scripts/versionlist.awk: New file.
1899 * Makerules [$(build-shared) = yes]
1900 (postclean-generated): Add Versions.def, not Versions.def.v and
1902 ($(common-objpfx)Versions.def.v.i): Target removed.
1903 ($(common-objpfx)Versions.def): New target.
1904 ($(common-objpfx)Versions.all): Depend on that rather that
1905 $(common-objpfx)Versions.def.v.
1906 * Versions.def: File removed.
1908 * Makeconfig (+gccwarn): Add -Wundef.
1909 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1910 a dl-sysdep.h breaking its contract.
1911 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1912 * include/stackinfo.h: New file.
1913 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1914 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1915 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1916 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1917 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1918 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1919 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1920 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1921 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1922 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1923 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1924 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1925 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1926 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1927 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1929 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1932 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1934 * math/libm-test.inc (round_test_data): Add more tests.
1937 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1939 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1942 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1944 * math/libm-test.inc (ceil_test_data): Add more tests.
1946 * math/libm-test.inc (trunc_test_data): Add more tests related to
1949 2014-03-14 Roland McGrath <roland@hack.frob.com>
1951 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1952 with #if rather than #ifdef.
1953 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1955 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1957 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1958 first. Disable AVX-512 GCC support if assembler doesn't support
1960 * sysdeps/x86_64/configure: Regenerated.
1962 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1964 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1965 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1966 (__old_pthread_attr_setstack): Likewise.
1967 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1968 [!_STACK_GROWS_DOWN]: Likewise.
1970 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1972 * config.make.in (have-bash2): Delete.
1973 * configure.ac (libc_cv_have_bash2): Delete.
1974 * configure: Regenerate.
1975 * elf/Makefile (common-ldd-rewrite): Rename to ...
1976 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1977 (sh-ldd-rewrite): Delete.
1978 (bash-ldd-rewrite): Delete.
1979 (have-bash2): Delete checks.
1980 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1983 * config.make.in (have-ksh): Delete.
1985 * configure.ac (libc_cv_have_ksh): Delete.
1986 * configure: Regenerate.
1988 * elf/Makefile: Delete $(have-ksh) check.
1989 ($(objpfx)sotruss): Change KSH to BASH.
1990 * elf/sotruss.ksh: Rename to ...
1991 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1992 function style to match POSIX. Drop ksh vim mode setting.
1994 * manual/time.texi (Specifying the Time Zone with TZ): Change
1995 Tuesday to Thursday.
1997 * debug/tst-longjmp_chk2.c: Update header comment.
1998 (stackoverflow_handler): Add comment. Call assert on pass value.
2000 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2002 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2003 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2004 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2005 (La_x86_64_vector): Add zmm.
2006 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2007 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2008 ($(objpfx)tst-audit10): New target.
2009 ($(objpfx)tst-audit10.out): Likewise.
2010 (tst-audit10-ENV): New.
2011 (AVX512-CFLAGS): Likewise.
2012 (CFLAGS-tst-audit10.c): Likewise.
2013 (CFLAGS-tst-auditmod10a.c): Likewise.
2014 (CFLAGS-tst-auditmod10b.c): Likewise.
2015 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2016 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2017 * sysdeps/x86_64/configure: Regenerated.
2018 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2019 AVX-512 zmm register support.
2020 (_dl_x86_64_save_sse): Likewise.
2021 (_dl_x86_64_restore_sse): Likewise.
2022 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2023 size vector registers.
2024 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2025 (ZMM_SIZE): Likewise.
2026 * sysdeps/x86_64/tst-audit10.c: New file.
2027 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2028 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2030 2014-03-13 Roland McGrath <roland@hack.frob.com>
2032 * configure.ac (HAVE_EHDR_START): New check.
2033 * configure: Regenerated.
2034 * config.h.in (HAVE_EHDR_START): New #undef.
2035 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2036 assuming the lowest-addressed segment maps the start of the file.
2038 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2040 * INSTALL: Regenerated.
2042 2014-03-13 Will Newton <will.newton@linaro.org>
2044 * manual/setjmp.texi (System V contexts): Improve
2045 clarity and grammar of documentation.
2047 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2050 * elf/Makefile (tests): Add tst-pie2.
2051 (tests-pie): Add tst-pie2.
2052 * elf/tst-pie2.c: New file.
2053 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2055 * elf/rtld.c (map_doit): Load executable as lt_executable.
2056 (dl_main): Likewise.
2058 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2061 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2062 (__ASSUME_PSELECT): Undefine.
2064 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2067 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2068 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2070 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2071 selector for static builds.
2073 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2076 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2079 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2081 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2082 IFUNC selector for static builds.
2084 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2086 * sysdeps/mips/math_private.h [__mips_hard_float]
2087 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2088 libc_feresetround_mips_ctx.
2089 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2090 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2091 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2094 * math/s_nextafter.c (__nextafter): Do not return value from
2095 overflowing computation.
2096 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2097 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2098 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2100 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2102 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2103 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2105 2014-03-11 Roland McGrath <roland@hack.frob.com>
2107 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2108 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2109 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2110 the new mov targetting sp.
2112 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2115 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2116 Define it for static builds as well.
2117 (NO_BZERO_IMPL): Likewise.
2119 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2121 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2122 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2123 multiarch strspn for PPC64.
2124 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2125 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2127 (__libc_ifunc_impl_list): Likewise.
2128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2129 multiarch optimizations
2130 * string/strspn.c (strspn): Using macro to redefine symbol name.
2132 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2133 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2135 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2136 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2137 multiarch strncat for PPC64.
2138 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2139 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2141 (__libc_ifunc_impl_list): Likewise.
2142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2143 multiarch optimizations
2145 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2148 * nscd/nscd.service: Make service type forking.
2150 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2152 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2153 sign in non default rounding modes.
2154 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2156 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2158 * math/libm-test.inc (ALL_RM_TEST): New macro.
2159 (ceil_test): Use ALL_RM_TEST.
2160 (cimag_test): Likewise.
2161 (conj_test): Likewise.
2162 (copysign_test): Likewise.
2163 (cproj_test): Likewise.
2164 (creal_test): Likewise.
2165 (fabs_test): Likewise.
2166 (floor_test): Likewise.
2167 (fmax_test): Likewise.
2168 (fmin_test): Likewise.
2169 (fmod_test): Likewise.
2170 (fpclassify_test): Likewise.
2171 (frexp_test): Likewise.
2172 (ilogb_test): Likewise.
2173 (isfinite_test): Likewise.
2174 (finite_test): Likewise.
2175 (isgreater_test): Likewise.
2176 (isgreaterequal_test): Likewise.
2177 (isinf_test): Likewise.
2178 (isless_test): Likewise.
2179 (islessequal_test): Likewise.
2180 (islessgreater_test): Likewise.
2181 (isnan_test): Likewise.
2182 (isnormal_test): Likewise.
2183 (issignaling_test): Likewise.
2184 (isunordered_test): Likewise.
2185 (logb_test): Likewise.
2186 (logb_downward_test_data): Remove.
2187 (logb_test_downward): Likewise.
2188 (lround_test): Use ALL_RM_TEST.
2189 (llround_test): Likewise.
2190 (modf_test): Likewise.
2191 (nexttoward_test): Likewise.
2192 (remainder_test): Likewise.
2193 (drem_test): Likewise.
2194 (remainder_tonearest_test_data): Likewise.
2195 (remainder_test_tonearest): Likewise.
2196 (drem_test_tonearest): Likewise.
2197 (remainder_towardzero_test_data): Likewise.
2198 (remainder_test_towardzero): Likewise.
2199 (drem_test_towardzero): Likewise.
2200 (remainder_downward_test_data): Likewise.
2201 (remainder_test_downward): Likewise.
2202 (drem_test_downward): Likewise.
2203 (remainder_upward_test_data): Likewise.
2204 (remainder_test_upward): Likewise.
2205 (drem_test_upward): Likewise.
2206 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2207 (round_test): Use ALL_RM_TEST.
2208 (signbit_test): Likewise.
2209 (trunc_test): Likewise.
2210 (significand_test): Likewise.
2211 (main): Don't call removed functions.
2213 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2216 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2218 (ILL_ILLOPN): Likewise.
2219 (ILL_ILLADR): Likewise.
2220 (ILL_ILLTRP): Likewise.
2221 (ILL_PRVOPC): Likewise.
2222 (ILL_PRVREG): Likewise.
2223 (ILL_COPROC): Likewise.
2224 (ILL_BADSTK): Likewise.
2225 (FPE_INTDIV): Likewise.
2226 (FPE_INTOVF): Likewise.
2227 (FPE_FLTDIV): Likewise.
2228 (FPE_FLTOVF): Likewise.
2229 (FPE_FLTUND): Likewise.
2230 (FPE_FLTRES): Likewise.
2231 (FPE_FLTINV): Likewise.
2232 (FPE_FLTSUB): Likewise.
2233 (SEGV_MAPERR): Likewise.
2234 (SEGV_ACCERR): Likewise.
2235 (BUS_ADRALN): Likewise.
2236 (BUS_ADRERR): Likewise.
2237 (BUS_OBJERR): Likewise.
2238 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2239 (TRAP_TRACE): Likewise.
2240 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2242 (CLD_KILLED): Likewise.
2243 (CLD_DUMPED): Likewise.
2244 (CLD_TRAPPED): Likewise.
2245 (CLD_STOPPED): Likewise.
2246 (CLD_CONTINUED): Likewise.
2247 (POLL_IN): Likewise.
2248 (POLL_OUT): Likewise.
2249 (POLL_MSG): Likewise.
2250 (POLL_ERR): Likewise.
2251 (POLL_PRI): Likewise.
2252 (POLL_HUP): Likewise.
2253 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2255 (ILL_ILLOPN): Likewise.
2256 (ILL_ILLADR): Likewise.
2257 (ILL_ILLTRP): Likewise.
2258 (ILL_PRVOPC): Likewise.
2259 (ILL_PRVREG): Likewise.
2260 (ILL_COPROC): Likewise.
2261 (ILL_BADSTK): Likewise.
2262 (FPE_INTDIV): Likewise.
2263 (FPE_INTOVF): Likewise.
2264 (FPE_FLTDIV): Likewise.
2265 (FPE_FLTOVF): Likewise.
2266 (FPE_FLTUND): Likewise.
2267 (FPE_FLTRES): Likewise.
2268 (FPE_FLTINV): Likewise.
2269 (FPE_FLTSUB): Likewise.
2270 (SEGV_MAPERR): Likewise.
2271 (SEGV_ACCERR): Likewise.
2272 (BUS_ADRALN): Likewise.
2273 (BUS_ADRERR): Likewise.
2274 (BUS_OBJERR): Likewise.
2275 (BUS_MCEERR_AR): Likewise.
2276 (BUS_MCEERR_AO): Likewise.
2277 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2278 (TRAP_TRACE): Likewise.
2279 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2281 (CLD_KILLED): Likewise.
2282 (CLD_DUMPED): Likewise.
2283 (CLD_TRAPPED): Likewise.
2284 (CLD_STOPPED): Likewise.
2285 (CLD_CONTINUED): Likewise.
2286 (POLL_IN): Likewise.
2287 (POLL_OUT): Likewise.
2288 (POLL_MSG): Likewise.
2289 (POLL_ERR): Likewise.
2290 (POLL_PRI): Likewise.
2291 (POLL_HUP): Likewise.
2292 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2293 (ILL_ILLOPN): Likewise.
2294 (ILL_ILLADR): Likewise.
2295 (ILL_ILLTRP): Likewise.
2296 (ILL_PRVOPC): Likewise.
2297 (ILL_PRVREG): Likewise.
2298 (ILL_COPROC): Likewise.
2299 (ILL_BADSTK): Likewise.
2300 (FPE_INTDIV): Likewise.
2301 (FPE_INTOVF): Likewise.
2302 (FPE_FLTDIV): Likewise.
2303 (FPE_FLTOVF): Likewise.
2304 (FPE_FLTUND): Likewise.
2305 (FPE_FLTRES): Likewise.
2306 (FPE_FLTINV): Likewise.
2307 (FPE_FLTSUB): Likewise.
2308 (SEGV_MAPERR): Likewise.
2309 (SEGV_ACCERR): Likewise.
2310 (BUS_ADRALN): Likewise.
2311 (BUS_ADRERR): Likewise.
2312 (BUS_OBJERR): Likewise.
2313 (BUS_MCEERR_AR): Likewise.
2314 (BUS_MCEERR_AO): Likewise.
2315 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2316 (TRAP_TRACE): Likewise.
2317 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2319 (CLD_KILLED): Likewise.
2320 (CLD_DUMPED): Likewise.
2321 (CLD_TRAPPED): Likewise.
2322 (CLD_STOPPED): Likewise.
2323 (CLD_CONTINUED): Likewise.
2324 (POLL_IN): Likewise.
2325 (POLL_OUT): Likewise.
2326 (POLL_MSG): Likewise.
2327 (POLL_ERR): Likewise.
2328 (POLL_PRI): Likewise.
2329 (POLL_HUP): Likewise.
2330 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2332 (ILL_ILLOPN): Likewise.
2333 (ILL_ILLADR): Likewise.
2334 (ILL_ILLTRP): Likewise.
2335 (ILL_PRVOPC): Likewise.
2336 (ILL_PRVREG): Likewise.
2337 (ILL_COPROC): Likewise.
2338 (ILL_BADSTK): Likewise.
2339 (ILL_BADIADDR): Likewise.
2340 (ILL_BREAK): Likewise.
2341 (FPE_INTDIV): Likewise.
2342 (FPE_INTOVF): Likewise.
2343 (FPE_FLTDIV): Likewise.
2344 (FPE_FLTOVF): Likewise.
2345 (FPE_FLTUND): Likewise.
2346 (FPE_FLTRES): Likewise.
2347 (FPE_FLTINV): Likewise.
2348 (FPE_FLTSUB): Likewise.
2349 (FPE_DECOVF): Likewise.
2350 (FPE_DECDIV): Likewise.
2351 (FPE_DECERR): Likewise.
2352 (FPE_INVASC): Likewise.
2353 (FPE_INVDEC): Likewise.
2354 (SEGV_MAPERR): Likewise.
2355 (SEGV_ACCERR): Likewise.
2356 (SEGV_PSTKOVF): Likewise.
2357 (BUS_ADRALN): Likewise.
2358 (BUS_ADRERR): Likewise.
2359 (BUS_OBJERR): Likewise.
2360 (BUS_MCEERR_AR): Likewise.
2361 (BUS_MCEERR_AO): Likewise.
2362 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2363 (TRAP_TRACE): Likewise.
2364 (TRAP_BRANCH): Likewise.
2365 (TRAP_HWBKPT): Likewise.
2366 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2368 (CLD_KILLED): Likewise.
2369 (CLD_DUMPED): Likewise.
2370 (CLD_TRAPPED): Likewise.
2371 (CLD_STOPPED): Likewise.
2372 (CLD_CONTINUED): Likewise.
2373 (POLL_IN): Likewise.
2374 (POLL_OUT): Likewise.
2375 (POLL_MSG): Likewise.
2376 (POLL_ERR): Likewise.
2377 (POLL_PRI): Likewise.
2378 (POLL_HUP): Likewise.
2379 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2380 (ILL_ILLOPN): Likewise.
2381 (ILL_ILLADR): Likewise.
2382 (ILL_ILLTRP): Likewise.
2383 (ILL_PRVOPC): Likewise.
2384 (ILL_PRVREG): Likewise.
2385 (ILL_COPROC): Likewise.
2386 (ILL_BADSTK): Likewise.
2387 (FPE_INTDIV): Likewise.
2388 (FPE_INTOVF): Likewise.
2389 (FPE_FLTDIV): Likewise.
2390 (FPE_FLTOVF): Likewise.
2391 (FPE_FLTUND): Likewise.
2392 (FPE_FLTRES): Likewise.
2393 (FPE_FLTINV): Likewise.
2394 (FPE_FLTSUB): Likewise.
2395 (SEGV_MAPERR): Likewise.
2396 (SEGV_ACCERR): Likewise.
2397 (BUS_ADRALN): Likewise.
2398 (BUS_ADRERR): Likewise.
2399 (BUS_OBJERR): Likewise.
2400 (BUS_MCEERR_AR): Likewise.
2401 (BUS_MCEERR_AO): Likewise.
2402 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2403 (TRAP_TRACE): Likewise.
2404 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2406 (CLD_KILLED): Likewise.
2407 (CLD_DUMPED): Likewise.
2408 (CLD_TRAPPED): Likewise.
2409 (CLD_STOPPED): Likewise.
2410 (CLD_CONTINUED): Likewise.
2411 (POLL_IN): Likewise.
2412 (POLL_OUT): Likewise.
2413 (POLL_MSG): Likewise.
2414 (POLL_ERR): Likewise.
2415 (POLL_PRI): Likewise.
2416 (POLL_HUP): Likewise.
2417 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2418 (ILL_ILLOPN): Likewise.
2419 (ILL_ILLADR): Likewise.
2420 (ILL_ILLTRP): Likewise.
2421 (ILL_PRVOPC): Likewise.
2422 (ILL_PRVREG): Likewise.
2423 (ILL_COPROC): Likewise.
2424 (ILL_BADSTK): Likewise.
2425 (FPE_INTDIV): Likewise.
2426 (FPE_INTOVF): Likewise.
2427 (FPE_FLTDIV): Likewise.
2428 (FPE_FLTOVF): Likewise.
2429 (FPE_FLTUND): Likewise.
2430 (FPE_FLTRES): Likewise.
2431 (FPE_FLTINV): Likewise.
2432 (FPE_FLTSUB): Likewise.
2433 (SEGV_MAPERR): Likewise.
2434 (SEGV_ACCERR): Likewise.
2435 (BUS_ADRALN): Likewise.
2436 (BUS_ADRERR): Likewise.
2437 (BUS_OBJERR): Likewise.
2438 (BUS_MCEERR_AR): Likewise.
2439 (BUS_MCEERR_AO): Likewise.
2440 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2441 (TRAP_TRACE): Likewise.
2442 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2444 (CLD_KILLED): Likewise.
2445 (CLD_DUMPED): Likewise.
2446 (CLD_TRAPPED): Likewise.
2447 (CLD_STOPPED): Likewise.
2448 (CLD_CONTINUED): Likewise.
2449 (POLL_IN): Likewise.
2450 (POLL_OUT): Likewise.
2451 (POLL_MSG): Likewise.
2452 (POLL_ERR): Likewise.
2453 (POLL_PRI): Likewise.
2454 (POLL_HUP): Likewise.
2455 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2456 (ILL_ILLOPN): Likewise.
2457 (ILL_ILLADR): Likewise.
2458 (ILL_ILLTRP): Likewise.
2459 (ILL_PRVOPC): Likewise.
2460 (ILL_PRVREG): Likewise.
2461 (ILL_COPROC): Likewise.
2462 (ILL_BADSTK): Likewise.
2463 (FPE_INTDIV): Likewise.
2464 (FPE_INTOVF): Likewise.
2465 (FPE_FLTDIV): Likewise.
2466 (FPE_FLTOVF): Likewise.
2467 (FPE_FLTUND): Likewise.
2468 (FPE_FLTRES): Likewise.
2469 (FPE_FLTINV): Likewise.
2470 (FPE_FLTSUB): Likewise.
2471 (SEGV_MAPERR): Likewise.
2472 (SEGV_ACCERR): Likewise.
2473 (BUS_ADRALN): Likewise.
2474 (BUS_ADRERR): Likewise.
2475 (BUS_OBJERR): Likewise.
2476 (BUS_MCEERR_AR): Likewise.
2477 (BUS_MCEERR_AO): Likewise.
2478 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2479 (TRAP_TRACE): Likewise.
2480 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2482 (CLD_KILLED): Likewise.
2483 (CLD_DUMPED): Likewise.
2484 (CLD_TRAPPED): Likewise.
2485 (CLD_STOPPED): Likewise.
2486 (CLD_CONTINUED): Likewise.
2487 (POLL_IN): Likewise.
2488 (POLL_OUT): Likewise.
2489 (POLL_MSG): Likewise.
2490 (POLL_ERR): Likewise.
2491 (POLL_PRI): Likewise.
2492 (POLL_HUP): Likewise.
2493 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2494 (ILL_ILLOPN): Likewise.
2495 (ILL_ILLADR): Likewise.
2496 (ILL_ILLTRP): Likewise.
2497 (ILL_PRVOPC): Likewise.
2498 (ILL_PRVREG): Likewise.
2499 (ILL_COPROC): Likewise.
2500 (ILL_BADSTK): Likewise.
2501 (ILL_DBLFLT): Likewise.
2502 (ILL_HARDWALL): Likewise.
2503 (FPE_INTDIV): Likewise.
2504 (FPE_INTOVF): Likewise.
2505 (FPE_FLTDIV): Likewise.
2506 (FPE_FLTOVF): Likewise.
2507 (FPE_FLTUND): Likewise.
2508 (FPE_FLTRES): Likewise.
2509 (FPE_FLTINV): Likewise.
2510 (FPE_FLTSUB): Likewise.
2511 (SEGV_MAPERR): Likewise.
2512 (SEGV_ACCERR): Likewise.
2513 (BUS_ADRALN): Likewise.
2514 (BUS_ADRERR): Likewise.
2515 (BUS_OBJERR): Likewise.
2516 (BUS_MCEERR_AR): Likewise.
2517 (BUS_MCEERR_AO): Likewise.
2518 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2519 (TRAP_TRACE): Likewise.
2520 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2522 (CLD_KILLED): Likewise.
2523 (CLD_DUMPED): Likewise.
2524 (CLD_TRAPPED): Likewise.
2525 (CLD_STOPPED): Likewise.
2526 (CLD_CONTINUED): Likewise.
2527 (POLL_IN): Likewise.
2528 (POLL_OUT): Likewise.
2529 (POLL_MSG): Likewise.
2530 (POLL_ERR): Likewise.
2531 (POLL_PRI): Likewise.
2532 (POLL_HUP): Likewise.
2533 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2534 (ILL_ILLOPN): Likewise.
2535 (ILL_ILLADR): Likewise.
2536 (ILL_ILLTRP): Likewise.
2537 (ILL_PRVOPC): Likewise.
2538 (ILL_PRVREG): Likewise.
2539 (ILL_COPROC): Likewise.
2540 (ILL_BADSTK): Likewise.
2541 (FPE_INTDIV): Likewise.
2542 (FPE_INTOVF): Likewise.
2543 (FPE_FLTDIV): Likewise.
2544 (FPE_FLTOVF): Likewise.
2545 (FPE_FLTUND): Likewise.
2546 (FPE_FLTRES): Likewise.
2547 (FPE_FLTINV): Likewise.
2548 (FPE_FLTSUB): Likewise.
2549 (SEGV_MAPERR): Likewise.
2550 (SEGV_ACCERR): Likewise.
2551 (BUS_ADRALN): Likewise.
2552 (BUS_ADRERR): Likewise.
2553 (BUS_OBJERR): Likewise.
2554 (BUS_MCEERR_AR): Likewise.
2555 (BUS_MCEERR_AO): Likewise.
2556 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2557 (TRAP_TRACE): Likewise.
2558 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2560 (CLD_KILLED): Likewise.
2561 (CLD_DUMPED): Likewise.
2562 (CLD_TRAPPED): Likewise.
2563 (CLD_STOPPED): Likewise.
2564 (CLD_CONTINUED): Likewise.
2565 (POLL_IN): Likewise.
2566 (POLL_OUT): Likewise.
2567 (POLL_MSG): Likewise.
2568 (POLL_ERR): Likewise.
2569 (POLL_PRI): Likewise.
2570 (POLL_HUP): Likewise.
2571 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2572 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2575 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2576 before #include of <time.h>.
2577 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2578 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2579 (test-xfail-UNIX98/sched.h/conform): Likewise.
2581 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2583 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2584 error absence of trapping exception support.
2585 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2587 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2589 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2590 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2591 * timezone/Makefile (testdata): Move definition above include of
2593 (test-zones): New variable.
2594 (tests-special): Add zone files.
2595 (build-testdata): Use $(evaluate-test).
2597 * elf/Makefile (tests-special): Rename tests to end with .out.
2598 ($(objpfx)noload-mem): Likewise.
2599 ($(objpfx)tst-leaks1-mem): Likewise.
2600 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2601 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2602 $(objpfx)test-iconvconfig.out.
2603 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2604 set -e inside subshell and redirect output to file.
2605 * iconvdata/Makefile (generated): Rename tests to end with .out.
2607 (tests-special): Rename tests to end with .out.
2608 ($(objpfx)mtrace-tst-loading): Likewise.
2609 * intl/Makefile (generated): Likewise.
2610 (tests-special): Likewise.
2611 ($(objpfx)mtrace-tst-gettext): Likewise.
2612 * misc/Makefile (generated): Likewise.
2613 (tests-special): Likewise.
2614 ($(objpfx)tst-error1-mem): Likewise.
2615 * nptl/Makefile (tests-special): Likewise.
2616 ($(objpfx)tst-stack3-mem): Likewise.
2617 (generated): Likewise.
2618 * posix/Makefile (generated): Likewise.
2619 (tests-special): Likewise.
2620 (xtests-special): Likewise.
2621 ($(objpfx)tst-fnmatch-mem): Likewise.
2622 ($(objpfx)bug-regex2-mem): Likewise.
2623 ($(objpfx)bug-regex14-mem): Likewise.
2624 ($(objpfx)bug-regex21-mem): Likewise.
2625 ($(objpfx)bug-regex31-mem): Likewise.
2626 ($(objpfx)tst-vfork3-mem): Likewise.
2627 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2628 ($(objpfx)tst-pcre-mem): Likewise.
2629 ($(objpfx)tst-boost-mem): Likewise.
2630 ($(objpfx)bug-ga2-mem): Likewise.
2631 ($(objpfx)bug-glob2-mem): Likewise.
2632 * resolv/Makefile (generate): Likewise.
2633 (tests-special): Likewise.
2634 (xtests-special): Likewise.
2635 (generated): Likewise.
2636 ($(objpfx)mtrace-tst-leaks): Likewise.
2637 ($(objpfx)mtrace-tst-leaks2): Likewise.
2639 * scripts/merge-test-results.sh: New file.
2640 * Makefile (tests-special-notdir): New variable.
2641 (tests): Run merge-test-results.sh.
2643 * Rules (tests-special-notdir): New variable.
2644 (xtests-special-notdir): Likewise.
2645 (tests): Run merge-test-results.sh
2648 * Makeconfig (test-xfail-name): New variable.
2649 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2650 compute variable name for expected failures.
2651 * conform/Makefile (conformtest-headers-data): New variable.
2652 (conformtest-standards): Likewise.
2653 (conformtest-headers-ISO): Likewise.
2654 (conformtest-headers-ISO99): Likewise.
2655 (conformtest-headers-ISO11): Likewise.
2656 (conformtest-headers-POSIX): Likewise.
2657 (conformtest-headers-XPG3): Likewise.
2658 (conformtest-headers-XPG4): Likewise.
2659 (conformtest-headers-UNIX98): Likewise.
2660 (conformtest-headers-XOPEN2K): Likewise.
2661 (conformtest-headers-POSIX2008): Likewise.
2662 (conformtest-headers-XOPEN2K8): Likewise.
2663 (conformtest-header-list-base): Likewise.
2664 (conformtest-header-list-tests): Likewise.
2665 (conformtest-header-base): Likewise.
2666 (conformtest-header-tests): Likewise.
2667 (tests-special): Add $(conformtest-header-list-tests). If
2668 [$(fast-check) && !$(cross-compiling)], add
2669 $(conformtest-header-tests) instead of
2670 $(objpfx)run-conformtest.out.
2671 (generated): Add $(conformtest-header-list-base). If
2672 [$(fast-check) && !$(cross-compiling)], add
2673 $(conformtest-header-base). Remove previous setting.
2674 ($(conformtest-header-list-tests)): New target.
2675 (test-xfail-run-conformtest): Remove variable.
2676 ($(objpfx)run-conformtest.out): Remove target.
2677 (test-xfail-ISO11/complex.h/conform): New variable.
2678 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2679 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2680 (test-xfail-XPG3/varargs.h/conform): Likewise.
2681 (test-xfail-XPG4/varargs.h/conform): Likewise.
2682 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2683 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2684 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2685 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2686 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2687 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2688 (test-xfail-XPG3/ftw.h/conform): Likewise.
2689 (test-xfail-XPG3/grp.h/conform): Likewise.
2690 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2691 (test-xfail-XPG3/limits.h/conform): Likewise.
2692 (test-xfail-XPG3/pwd.h/conform): Likewise.
2693 (test-xfail-XPG3/search.h/conform): Likewise.
2694 (test-xfail-XPG3/signal.h/conform): Likewise.
2695 (test-xfail-XPG3/stdio.h/conform): Likewise.
2696 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2697 (test-xfail-XPG3/string.h/conform): Likewise.
2698 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2699 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2700 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2701 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2702 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2703 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2704 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2705 (test-xfail-XPG3/termios.h/conform): Likewise.
2706 (test-xfail-XPG3/time.h/conform): Likewise.
2707 (test-xfail-XPG3/unistd.h/conform): Likewise.
2708 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2709 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2710 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2711 (test-xfail-XPG4/netdb.h/conform): Likewise.
2712 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2713 (test-xfail-XPG4/signal.h/conform): Likewise.
2714 (test-xfail-XPG4/stdio.h/conform): Likewise.
2715 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2716 (test-xfail-XPG4/stropts.h/conform): Likewise.
2717 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2718 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2719 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2720 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2721 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2722 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2723 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2724 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2725 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2726 (test-xfail-XPG4/termios.h/conform): Likewise.
2727 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2728 (test-xfail-XPG4/unistd.h/conform): Likewise.
2729 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2730 (test-xfail-POSIX/sched.h/conform): Likewise.
2731 (test-xfail-POSIX/signal.h/conform): Likewise.
2732 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2733 (test-xfail-POSIX/tar.h/conform): Likewise.
2734 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2735 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2736 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2737 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2738 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2739 (test-xfail-UNIX98/sched.h/conform): Likewise.
2740 (test-xfail-UNIX98/signal.h/conform): Likewise.
2741 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2742 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2743 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2744 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2745 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2746 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2747 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2748 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2749 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2750 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2751 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2752 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2753 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2754 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2755 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2756 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2757 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2758 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2759 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2760 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2761 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2762 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2763 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2764 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2765 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2766 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2767 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2768 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2769 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2770 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2771 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2772 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2773 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2774 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2775 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2776 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2777 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2778 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2779 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2780 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2781 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2782 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2783 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2784 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2785 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2786 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2787 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2788 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2789 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2790 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2791 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2792 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2793 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2794 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2795 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2796 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2797 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2798 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2799 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2800 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2801 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2802 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2803 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2804 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2805 (conformtest-cc-flags): Likewise.
2806 ($(conformtest-header-tests): New target.
2807 * conform/check-header-lists.sh: New file.
2808 * conform/run-conformtest.sh: Remove.
2810 * conform/conformtest.pl: Allow ' and \ in values given for
2812 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2814 [POSIX] (sys/types.h): Likewise.
2815 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2817 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2819 * conform/data/signal.h-data (SIGIO): Remove expectation.
2820 [XPG3] (SIGBUS): Do not expect.
2821 [POSIX || XPG3] (SIGPOLL): Likewise.
2822 [POSIX || XPG3] (SIGPROF): Likewise.
2823 [POSIX || XPG3] (SIGSYS): Likewise.
2824 [XPG3] (SIGTRAP): Likewise.
2825 [POSIX || XPG3] (SIGURG): Likewise.
2826 [POSIX || XPG3] (SIGVTALRM): Likewise.
2827 [POSIX || XPG3] (SIGXCPU): Likewise.
2828 [POSIX || XPG3] (SIGXFSZ): Likewise.
2829 [POSIX] (SA_SIGINFO): Expect.
2830 [XPG3] (siginfo_t): Do not expect type or contents.
2831 [POSIX] (si_pid): Do not expect element.
2832 [POSIX] (si_uid): Likewise.
2833 [POSIX] (si_addr): Likewise.
2834 [POSIX] (si_status): Likewise.
2835 [POSIX] (si_band): Likewise.
2836 [XPG4] (si_value): Likewise.
2837 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2838 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2839 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2840 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2841 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2842 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2843 [POSIX || XPG3] (ILL_COPROC): Likewise.
2844 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2845 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2846 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2847 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2848 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2849 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2850 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2851 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2852 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2853 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2854 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2855 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2856 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2857 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2858 [POSIX || XPG3] (CLD_EXITED): Likewise.
2859 [POSIX || XPG3] (CLD_KILLED): Likewise.
2860 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2861 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2862 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2863 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2864 [POSIX || XPG3] (POLL_IN): Likewise.
2865 [POSIX || XPG3] (POLL_OUT): Likewise.
2866 [POSIX || XPG3] (POLL_MSG): Likewise.
2867 [POSIX || XPG3] (POLL_ERR): Likewise.
2868 [POSIX || XPG3] (POLL_PRI): Likewise.
2869 [POSIX || XPG3] (POLL_HUP): Likewise.
2870 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2871 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2872 (SIG*): Do not allow.
2873 [XPG3] (si_*): Likewise.
2874 [XPG3] (SI_*): Likewise.
2875 [XPG3 || XPG4] (sigev_*): Likewise.
2876 [XPG3 || XPG4] (SIGEV_*): Likewise.
2877 [XPG3 || XPG4] (sival_*): Likewise.
2878 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2879 [POSIX || XPG3] (BUS_*): Likewise.
2880 [POSIX || XPG3] (CLD_*): Likewise.
2881 [POSIX || XPG3] (FPE_*): Likewise.
2882 [POSIX || XPG3] (ILL_*): Likewise.
2883 [POSIX || XPG3] (POLL_*): Likewise.
2884 [POSIX || XPG3] (SEGV_*): Likewise.
2885 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2886 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2887 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2888 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2889 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2890 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2891 Specify type and value.
2892 (TVERSLEN): Likewise.
2893 (REGTYPE): Likewise.
2894 (AREGTYPE): Likewise.
2895 (LNKTYPE): Likewise.
2896 (SYMTYPE): Likewise.
2897 (CHRTYPE): Likewise.
2898 (BLKTYPE): Likewise.
2899 (DIRTYPE): Likewise.
2900 (FIFOTYPE): Likewise.
2901 (CONTTYPE): Likewise.
2906 (TUWRITE): Likewise.
2909 (TGWRITE): Likewise.
2912 (TOWRITE): Likewise.
2914 [POSIX] (TSVTX): Expect constant.
2916 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2918 * Makefile (tests): Change dependencies to ....
2919 (tests-special): ... additions to this variable.
2920 (tests): Depend on $(tests-special).
2921 * Makerules (check-abi-list): New variable.
2922 (check-abi): Depend on $(check-abi-list).
2923 [$(subdir) = elf] (tests-special): Add
2924 $(objpfx)check-abi-libc.out.
2925 [$(build-shared) = yes && subdir] (tests-special): Add
2927 [$(build-shared) = yes && subdir] (tests): Do not depend on
2929 * Rules (tests): Depend on $(tests-special).
2930 (xtests): Depend on $(xtests-special).
2931 * catgets/Makefile (tests): Change dependencies to ....
2932 (tests-special): ... additions to this variable.
2933 * conform/Makefile (tests): Change dependencies to ....
2934 (tests-special): ... additions to this variable.
2935 * elf/Makefile (tests): Change dependencies to ....
2936 (tests-special): ... additions to this variable.
2937 * grp/Makefile (tests): Change dependencies to ....
2938 (tests-special): ... additions to this variable.
2939 * iconv/Makefile (xtests): Change dependencies to ....
2940 (xtests-special): ... additions to this variable.
2941 * iconvdata/Makefile (tests): Change dependencies to ....
2942 (tests-special): ... additions to this variable.
2943 * intl/Makefile (tests): Change dependencies to ....
2944 (tests-special): ... additions to this variable. Also add
2945 $(objpfx)tst-gettext.out.
2946 * io/Makefile (tests): Change dependencies to ....
2947 (tests-special): ... additions to this variable.
2948 * libio/Makefile (tests): Change dependencies to ....
2949 (tests-special): ... additions to this variable.
2950 * malloc/Makefile (tests): Change dependencies to ....
2951 (tests-special): ... additions to this variable.
2952 * misc/Makefile (tests): Change dependencies to ....
2953 (tests-special): ... additions to this variable.
2954 * nptl/Makefile (tests): Change dependencies to ....
2955 (tests-special): ... additions to this variable.
2956 * nptl_db/Makefile (tests): Change dependencies to ....
2957 (tests-special): ... additions to this variable.
2958 * posix/Makefile (tests): Change dependencies to ....
2959 (tests-special): ... additions to this variable.
2960 (xtests): Change dependencies to ....
2961 (xtests-special): ... additions to this variable.
2962 * resolv/Makefile (tests): Change dependencies to ....
2963 (tests-special): ... additions to this variable.
2964 (xtests): Change dependencies to ....
2965 (xtests-special): ... additions to this variable.
2966 * stdio-common/Makefile (tests): Change dependencies to ....
2967 (tests-special): ... additions to this variable.
2968 (do-tst-unbputc): Remove target.
2969 (do-tst-printf): Likewise.
2970 * stdlib/Makefile (tests): Change dependencies to ....
2971 (tests-special): ... additions to this variable.
2972 * string/Makefile (tests): Change dependencies to ....
2973 (tests-special): ... additions to this variable.
2974 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2975 (tests-special): ... additions to this variable.
2977 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2979 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2981 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2982 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2984 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2985 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2986 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2987 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2988 * conform/data/libgen.h-data [XPG3]: Likewise.
2989 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2990 * conform/data/ndbm.h-data [XPG3]: Likewise.
2991 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2992 * conform/data/netdb.h-data [XPG3]: Likewise.
2993 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2994 * conform/data/poll.h-data [XPG3]: Likewise.
2995 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2996 * conform/data/strings.h-data [XPG3]: Likewise.
2997 * conform/data/stropts.h-data [XPG3]: Likewise.
2998 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2999 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3000 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3002 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3003 * conform/data/sys/time.h-data [XPG3]: Likewise.
3004 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3005 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3006 * conform/data/sys/un.h-data [XPG3]: Likewise.
3007 * conform/data/syslog.h-data [XPG3]: Likewise.
3008 * conform/data/ucontext.h-data [XPG3]: Likewise.
3009 * conform/data/utmpx.h-data [XPG3]: Likewise.
3010 * conform/data/varargs.h-data [UNIX98]: Enable file.
3012 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3014 * math/libm-test.inc (struct test_f_f_data): Move expected results
3015 into structure for each rounding mode.
3016 (struct test_ff_f_data): Likewise.
3017 (struct test_ff_f_data_nexttoward): Likewise.
3018 (struct test_fi_f_data): Likewise.
3019 (struct test_fl_f_data): Likewise.
3020 (struct test_if_f_data): Likewise.
3021 (struct test_fff_f_data): Likewise.
3022 (struct test_c_f_data): Likewise.
3023 (struct test_f_f1_data): Likewise.
3024 (struct test_fF_f1_data): Likewise.
3025 (struct test_ffI_f1_data): Likewise.
3026 (struct test_c_c_data): Likewise.
3027 (struct test_cc_c_data): Likewise.
3028 (struct test_f_i_data): Likewise.
3029 (struct test_ff_i_data): Likewise.
3030 (struct test_f_l_data): Likewise.
3031 (struct test_f_L_data): Likewise.
3032 (struct test_fFF_11_data): Likewise.
3034 (RM_FE_DOWNWARD): Likewise.
3035 (RM_FE_TONEAREST): Likewise.
3036 (RM_FE_TOWARDZERO): Likewise.
3037 (RM_FE_UPWARD): Likewise.
3038 (RUN_TEST_LOOP_f_f): Update references to expected results.
3039 (RUN_TEST_LOOP_2_f): Likewise.
3040 (RUN_TEST_LOOP_fff_f): Likewise.
3041 (RUN_TEST_LOOP_c_f): Likewise.
3042 (RUN_TEST_LOOP_f_f1): Likewise.
3043 (RUN_TEST_LOOP_fF_f1): Likewise.
3044 (RUN_TEST_LOOP_fI_f1): Likewise.
3045 (RUN_TEST_LOOP_ffI_f1): Likewise.
3046 (RUN_TEST_LOOP_c_c): Likewise.
3047 (RUN_TEST_LOOP_cc_c): Likewise.
3048 (RUN_TEST_LOOP_f_i): Likewise.
3049 (RUN_TEST_LOOP_f_i_tg): Likewise.
3050 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3051 (RUN_TEST_LOOP_f_b): Likewise.
3052 (RUN_TEST_LOOP_f_b_tg): Likewise.
3053 (RUN_TEST_LOOP_f_l): Likewise.
3054 (RUN_TEST_LOOP_f_L): Likewise.
3055 (RUN_TEST_LOOP_fFF_11): Likewise.
3056 * math/gen-libm-test.pl (parse_args): Output four copies of
3057 expected results for each test.
3059 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3060 (__ASSUME_UTIMES): Remove.
3061 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3062 (__ASSUME_UTIMES): Likewise.
3064 * math/gen-auto-libm-tests.c: Update comment on output format.
3065 (output_for_one_input_case): Generate before-rounding and
3066 after-rounding information as conditions on output flags not
3067 floating-point format.
3068 * math/auto-libm-test-out: Regenerated.
3069 * math/gen-libm-test.pl (cond_value): New function.
3070 (or_cond_value): Use cond_value.
3071 (generate_testfile): Handle conditional exceptions.
3073 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3075 * math/libm-test.inc (max_valid_error): New variable.
3076 (init_max_error): Take new argument specifying whether function
3077 results are exactly determined. Set max_valid_error and bound
3078 other variables for errors based on this argument.
3079 (set_max_error): Do not record results above max_valid_error.
3080 (check_float_internal): Only accept errors of up to 0.5ulps if
3081 also at most max_valid_error.
3082 (START): Take new argument EXACT and pass it to init_max_error.
3083 (acos_test): Update call to START.
3084 (acos_test_tonearest): Likewise.
3085 (acos_test_towardzero): Likewise.
3086 (acos_test_downward): Likewise.
3087 (acos_test_upward): Likewise.
3088 (acosh_test): Likewise.
3089 (asin_test): Likewise.
3090 (asin_test_tonearest): Likewise.
3091 (asin_test_towardzero): Likewise.
3092 (asin_test_downward): Likewise.
3093 (asin_test_upward): Likewise.
3094 (asinh_test): Likewise.
3095 (atan_test): Likewise.
3096 (atanh_test): Likewise.
3097 (atan2_test): Likewise.
3098 (cabs_test): Likewise.
3099 (cacos_test): Likewise.
3100 (cacosh_test): Likewise.
3101 (carg_test): Likewise.
3102 (casin_test): Likewise.
3103 (casinh_test): Likewise.
3104 (catan_test): Likewise.
3105 (catanh_test): Likewise.
3106 (cbrt_test): Likewise.
3107 (ccos_test): Likewise.
3108 (ccosh_test): Likewise.
3109 (ceil_test): Likewise.
3110 (cexp_test): Likewise.
3111 (cimag_test): Likewise.
3112 (clog_test): Likewise.
3113 (clog10_test): Likewise.
3114 (conj_test): Likewise.
3115 (copysign_test): Likewise.
3116 (cos_test): Likewise.
3117 (cos_test_tonearest): Likewise.
3118 (cos_test_towardzero): Likewise.
3119 (cos_test_downward): Likewise.
3120 (cos_test_upward): Likewise.
3121 (cosh_test): Likewise.
3122 (cosh_test_tonearest): Likewise.
3123 (cosh_test_towardzero): Likewise.
3124 (cosh_test_downward): Likewise.
3125 (cosh_test_upward): Likewise.
3126 (cpow_test): Likewise.
3127 (cproj_test): Likewise.
3128 (creal_test): Likewise.
3129 (csin_test): Likewise.
3130 (csinh_test): Likewise.
3131 (csqrt_test): Likewise.
3132 (ctan_test): Likewise.
3133 (ctan_test_tonearest): Likewise.
3134 (ctan_test_towardzero): Likewise.
3135 (ctan_test_downward): Likewise.
3136 (ctan_test_upward): Likewise.
3137 (ctanh_test): Likewise.
3138 (ctanh_test_tonearest): Likewise.
3139 (ctanh_test_towardzero): Likewise.
3140 (ctanh_test_downward): Likewise.
3141 (ctanh_test_upward): Likewise.
3142 (erf_test): Likewise.
3143 (erfc_test): Likewise.
3144 (exp_test): Likewise.
3145 (exp_test_tonearest): Likewise.
3146 (exp_test_towardzero): Likewise.
3147 (exp_test_downward): Likewise.
3148 (exp_test_upward): Likewise.
3149 (exp10_test): Likewise.
3150 (exp10_test_tonearest): Likewise.
3151 (exp10_test_towardzero): Likewise.
3152 (exp10_test_downward): Likewise.
3153 (exp10_test_upward): Likewise.
3154 (pow10_test): Likewise.
3155 (exp2_test): Likewise.
3156 (expm1_test): Likewise.
3157 (expm1_test_tonearest): Likewise.
3158 (expm1_test_towardzero): Likewise.
3159 (expm1_test_downward): Likewise.
3160 (expm1_test_upward): Likewise.
3161 (fabs_test): Likewise.
3162 (fdim_test): Likewise.
3163 (floor_test): Likewise.
3164 (fma_test): Likewise.
3165 (fma_test_towardzero): Likewise.
3166 (fma_test_downward): Likewise.
3167 (fma_test_upward): Likewise.
3168 (fmax_test): Likewise.
3169 (fmin_test): Likewise.
3170 (fmod_test): Likewise.
3171 (fpclassify_test): Likewise.
3172 (frexp_test): Likewise.
3173 (hypot_test): Likewise.
3174 (ilogb_test): Likewise.
3175 (isfinite_test): Likewise.
3176 (finite_test): Likewise.
3177 (isgreater_test): Likewise.
3178 (isgreaterequal_test): Likewise.
3179 (isinf_test): Likewise.
3180 (isless_test): Likewise.
3181 (islessequal_test): Likewise.
3182 (islessgreater_test): Likewise.
3183 (isnan_test): Likewise.
3184 (isnormal_test): Likewise.
3185 (issignaling_test): Likewise.
3186 (isunordered_test): Likewise.
3187 (j0_test): Likewise.
3188 (j1_test): Likewise.
3189 (jn_test): Likewise.
3190 (ldexp_test): Likewise.
3191 (lgamma_test): Likewise.
3192 (gamma_test): Likewise.
3193 (lrint_test): Likewise.
3194 (lrint_test_tonearest): Likewise.
3195 (lrint_test_towardzero): Likewise.
3196 (lrint_test_downward): Likewise.
3197 (lrint_test_upward): Likewise.
3198 (llrint_test): Likewise.
3199 (llrint_test_tonearest): Likewise.
3200 (llrint_test_towardzero): Likewise.
3201 (llrint_test_downward): Likewise.
3202 (llrint_test_upward): Likewise.
3203 (log_test): Likewise.
3204 (log10_test): Likewise.
3205 (log1p_test): Likewise.
3206 (log2_test): Likewise.
3207 (logb_test): Likewise.
3208 (logb_test_downward): Likewise.
3209 (lround_test): Likewise.
3210 (llround_test): Likewise.
3211 (modf_test): Likewise.
3212 (nearbyint_test): Likewise.
3213 (nextafter_test): Likewise.
3214 (nexttoward_test): Likewise.
3215 (pow_test): Likewise.
3216 (pow_test_tonearest): Likewise.
3217 (pow_test_towardzero): Likewise.
3218 (pow_test_downward): Likewise.
3219 (pow_test_upward): Likewise.
3220 (remainder_test): Likewise.
3221 (drem_test): Likewise.
3222 (remainder_test_tonearest): Likewise.
3223 (drem_test_tonearest): Likewise.
3224 (remainder_test_towardzero): Likewise.
3225 (drem_test_towardzero): Likewise.
3226 (remainder_test_downward): Likewise.
3227 (drem_test_downward): Likewise.
3228 (remainder_test_upward): Likewise.
3229 (drem_test_upward): Likewise.
3230 (remquo_test): Likewise.
3231 (rint_test): Likewise.
3232 (rint_test_tonearest): Likewise.
3233 (rint_test_towardzero): Likewise.
3234 (rint_test_downward): Likewise.
3235 (rint_test_upward): Likewise.
3236 (round_test): Likewise.
3237 (scalb_test): Likewise.
3238 (scalbn_test): Likewise.
3239 (scalbln_test): Likewise.
3240 (signbit_test): Likewise.
3241 (sin_test): Likewise.
3242 (sin_test_tonearest): Likewise.
3243 (sin_test_towardzero): Likewise.
3244 (sin_test_downward): Likewise.
3245 (sin_test_upward): Likewise.
3246 (sincos_test): Likewise.
3247 (sinh_test): Likewise.
3248 (sinh_test_tonearest): Likewise.
3249 (sinh_test_towardzero): Likewise.
3250 (sinh_test_downward): Likewise.
3251 (sinh_test_upward): Likewise.
3252 (sqrt_test): Likewise.
3253 (sqrt_test_tonearest): Likewise.
3254 (sqrt_test_towardzero): Likewise.
3255 (sqrt_test_downward): Likewise.
3256 (sqrt_test_upward): Likewise.
3257 (tan_test): Likewise.
3258 (tan_test_tonearest): Likewise.
3259 (tan_test_towardzero): Likewise.
3260 (tan_test_downward): Likewise.
3261 (tan_test_upward): Likewise.
3262 (tanh_test): Likewise.
3263 (tgamma_test): Likewise.
3264 (trunc_test): Likewise.
3265 (y0_test): Likewise.
3266 (y1_test): Likewise.
3267 (yn_test): Likewise.
3268 (significand_test): Likewise.
3270 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3271 individual tests in comment.
3272 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3273 (prev_max_error): New variable.
3274 (prev_real_max_error): Likewise.
3275 (prev_imag_max_error): Likewise.
3276 (compare_ulp_data): Don't refer to test names in comment.
3277 (find_test_ulps): Remove function.
3278 (find_function_ulps): Likewise.
3279 (find_complex_function_ulps): Likewise.
3280 (init_max_error): Take function name as argument. Look up ulps
3282 (print_ulps): Remove function.
3283 (print_max_error): Use prev_max_error instead of calling
3285 (print_complex_max_error): Use prev_real_max_error and
3286 prev_imag_max_error instead of calling find_complex_function_ulps.
3287 (check_float_internal): Take max_ulp parameter instead of calling
3288 find_test_ulps. Don't call print_ulps.
3289 (check_float): Update call to check_float_internal.
3290 (check_complex): Update calls to check_float_internal.
3291 (START): Pass argument to init_max_error.
3292 * math/gen-libm-test.pl (%results): Don't include "kind"
3294 (parse_ulps): Don't handle ulps of individual tests.
3295 (print_ulps_file): Likewise.
3296 (output_ulps): Likewise.
3297 * math/README.libm-test: Update.
3298 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3300 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3301 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3302 * sysdeps/arm/libm-test-ulps: Likewise.
3303 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3304 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3305 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3306 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3307 * sysdeps/microblaze/libm-test-ulps: Likewise.
3308 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3309 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3310 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3311 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3312 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3313 * sysdeps/sh/libm-test-ulps: Likewise.
3314 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3315 * sysdeps/tile/libm-test-ulps: Likewise.
3316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3318 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3320 * math/libm-test.inc (print_complex_max_error): Check separately
3321 whether real and imaginary errors are within allowed range and
3322 pass 0 to print_complex_function_ulps instead of value within
3325 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3327 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3329 (get_handles_fopen): Likewise.
3330 (do_write_test): Likewise.
3332 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3334 * libio/fileops.c (do_ftell): Use cached offset when
3336 * libio/iofwide.c (do_ftell_wide): Likewise.
3337 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3339 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3342 * libio/libioP.h (get_file_offset): New function.
3343 * libio/fileops.c (get_file_offset): Likewise.
3344 (do_ftell): Likewise.
3345 (_IO_new_file_seekoff): Split out ftell logic.
3346 * libio/wfileops.c (do_ftell_wide): Likewise.
3347 (_IO_wfile_seekoff): Split out ftell logic.
3348 * libio/tst-ftell-active-handler.c: New test case.
3349 * libio/Makefile (tests): Add it.
3351 2014-03-03 Roland McGrath <roland@hack.frob.com>
3353 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3354 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3356 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3359 * nscd/connections.c (nscd_init): Call do_exit.
3360 (start_threads): Call do_exit and notify_parent.
3361 (begin_drop_privileges): Call do_exit.
3362 (finish_drop_privileges): Likewise.
3363 * nscd/selinux.c (preserve_capabilities): Likewise.
3364 (install_real_capabilities): Likewise.
3365 (nscd_selinux_enabled): Likewise.
3366 (avc_create_thread): Likewise.
3367 (avc_alloc_lock): Likewise.
3368 (nscd_avc_init): Likewise.
3369 * nscd/nscd.c (parent_fd): New static variable.
3370 (main): Create a pipe between parent and child processes.
3371 Skip closing parent_fd.
3372 (monitor_child): New function.
3373 (do_exit): Likewise.
3374 (notify_parent): Likewise.
3375 * nscd/nscd.h (notify_parent): Likewise.
3376 (do_exit): Likewise.
3378 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3380 * malloc/malloc.c (__libc_calloc): Revert last change.
3382 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3386 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3388 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3392 (__libc_ifunc_impl_list): Likewise.
3393 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3394 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3395 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3396 * string/strrchr.c: Define STRRCHR.
3398 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3400 * benchtest/bench-strtok.c (simple_strtok): Delete.
3401 (strtok_string): Use as benchmark.
3402 * string/strtok (STRTOK): New macro.
3404 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3406 * manual/threads.texi: Add header and standard comments to all
3409 * elf/dl-lookup.c (check_match): New function.
3410 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3411 (do_lookup_x): Remove nested function check_match. Use non-nested
3412 function check_match.
3414 2014-02-28 Roland McGrath <roland@hack.frob.com>
3416 * csu/Makefile (generated, before-compile): Use += rather than =.
3417 * catgets/Makefile (generated, generated-dirs): Likewise.
3418 * debug/Makefile (generated): Likewise.
3419 * dlfcn/Makefile (generated): Likewise.
3420 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3421 * iconvdata/Makefile (before-compile, generated): Likewise.
3422 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3423 * libio/Makefile (generated): Likewise.
3424 * malloc/Makefile (generated): Likewise.
3425 * manual/Makefile (generated, generated-dirs): Likewise.
3426 * misc/Makefile (generated): Likewise.
3427 * posix/Makefile (generated): Likewise.
3428 * resolv/Makefile (generated): Likewise.
3429 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3430 * timezone/Makefile (generated, generated-dirs): Likewise.
3432 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3434 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3437 power8 implementation.
3438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3439 file: POWER8 llround ifunc implementation.
3440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3441 (__lllround): Add POWER8 implementation.
3442 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3443 POWER8 llround implementation.
3445 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3446 power8 implementation.
3447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3448 file: POWER8 llrint ifunc implementation.
3449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3450 Add POWER8 implementation.
3451 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3452 POWER8 llrint implementation.
3454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3455 power8 implementation.
3456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3457 file: POWER8 finite ifunc implementation.
3458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3459 Add POWER8 implementation.
3460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3462 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3463 POWER8 finite implementation.
3464 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3466 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3467 power8 implementation.
3468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3469 file: POWER8 isinf ifunc implementation.
3470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3471 POWER8 implementation.
3472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3474 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3475 isinf implementation.
3476 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3478 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3479 (INIT_ARCH): Add hwcap2 initialization.
3480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3481 power8 implementation.
3482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3483 file: POWER8 isnan ifunc implementation.
3484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3485 POWER8 implementation.
3486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3488 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3489 isnan implementation.
3490 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3492 2014-02-27 Joey Ye <joey.ye@arm.com>
3494 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3495 (_FP_NANFRAC_Q): Set to zero.
3497 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3500 * math/auto-libm-test-in: New test inputs.
3501 * math/auto-libm-test-out: Regenerate.
3502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3505 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3507 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3509 * scripts/evaluate-test.sh: Take new argument indicating whether
3510 failure is expected.
3511 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3512 indicating whether failure is expected.
3513 * conform/Makefile (test-xfail-run-conformtest): New variable.
3514 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3516 * posix/Makefile (test-xfail-annexc): New variable.
3517 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3519 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3521 * argp/Makefile: Include Makeconfig immediately after defining
3523 * assert/Makefile: Likewise.
3524 * benchtests/Makefile: Likewise.
3525 * catgets/Makefile: Likewise.
3526 * conform/Makefile: Likewise.
3527 * crypt/Makefile: Likewise.
3528 * csu/Makefile: Likewise.
3529 (all): Remove target.
3530 * ctype/Makefile: Include Makeconfig immediately after defining
3532 * debug/Makefile: Likewise.
3533 * dirent/Makefile: Likewise.
3534 * dlfcn/Makefile: Likewise.
3535 * gmon/Makefile: Likewise.
3536 * gnulib/Makefile: Likewise.
3537 * grp/Makefile: Likewise.
3538 * gshadow/Makefile: Likewise.
3539 * hesiod/Makefile: Likewise.
3540 * hurd/Makefile: Likewise.
3541 (all): Remove target.
3542 * iconvdata/Makefile: Include Makeconfig immediately after
3544 * inet/Makefile: Likewise.
3545 * intl/Makefile: Likewise.
3546 * io/Makefile: Likewise.
3547 * libio/Makefile: Likewise.
3548 (all): Remove target.
3549 * locale/Makefile: Include Makeconfig immediately after defining
3551 * login/Makefile: Likewise.
3552 * mach/Makefile: Likewise.
3553 (all): Remove target.
3554 * malloc/Makefile: Include Makeconfig immediately after defining
3556 (all): Remove target.
3557 * manual/Makefile: Include Makeconfig immediately after defining
3559 * math/Makefile: Likewise.
3560 * misc/Makefile: Likewise.
3561 * nis/Makefile: Likewise.
3562 * nss/Makefile: Likewise.
3563 * po/Makefile: Likewise.
3564 (all): Remove target.
3565 * posix/Makefile: Include Makeconfig immediately after defining
3567 * pwd/Makefile: Likewise.
3568 * resolv/Makefile: Likewise.
3569 * resource/Makefile: Likewise.
3570 * rt/Makefile: Likewise.
3571 * setjmp/Makefile: Likewise.
3572 * shadow/Makefile: Likewise.
3573 * signal/Makefile: Likewise.
3574 * socket/Makefile: Likewise.
3575 * soft-fp/Makefile: Likewise.
3576 * stdio-common/Makefile: Likewise.
3577 * stdlib/Makefile: Likewise.
3578 * streams/Makefile: Likewise.
3579 * string/Makefile: Likewise.
3580 * sunrpc/Makefile: Likewise.
3581 (all): Remove target.
3582 * sysvipc/Makefile: Include Makeconfig immediately after defining
3584 * termios/Makefile: Likewise.
3585 * time/Makefile: Likewise.
3586 * timezone/Makefile: Likewise.
3587 (all): Remove target.
3588 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3590 * wctype/Makefile: Likewise.
3592 2014-02-26 Steve Ellcey <sellcey@mips.com>
3594 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3595 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3596 (libc_feholdexcept_setround_mips): Ditto.
3597 (libc_feholdsetround): New.
3598 (libc_feholdsetroundf): New.
3599 (libc_feholdsetroundl): New.
3600 (libc_feupdateenv_test_mips): New.
3601 (libc_feupdateenv_test): New.
3602 (libc_feupdateenv_testf): New.
3603 (libc_feupdateenv_testl): New.
3604 (libc_feresetround): New.
3605 (libc_feresetroundf): New.
3606 (libc_feresetroundl): New.
3607 (libc_fetestexcept_mips): New.
3608 (libc_fetestexcept): New.
3609 (libc_fetestexceptf): New.
3610 (libc_fetestexceptl): New.
3612 (libc_feholdexcept_setround_mips_ctx): New.
3613 (libc_feholdexcept_setround_ctx): New.
3614 (libc_feholdexcept_setroundf_ctx): New.
3615 (libc_feholdexcept_setroundl_ctx): New.
3616 (libc_fesetenv_mips_ctx): New.
3617 (libc_fesetenv_ctx): New.
3618 (libc_fesetenv_ctxf): New.
3619 (libc_fesetenv_ctxl): New.
3620 (libc_feupdateenv_mips_ctx): New.
3621 (libc_feupdateenv_ctx): New.
3622 (libc_feupdateenvf_ctx): New.
3623 (libc_feupdateenvl_ctx): New.
3624 (libc_feholdsetround_mips_ctx): New.
3625 (libc_feholdsetround_ctx): New.
3626 (libc_feholdsetroundf_ctx): New.
3627 (libc_feholdsetroundl_ctx): New.
3628 (libc_feresetround_mips_ctx): New.
3629 (libc_feresetround_ctx): New.
3630 (libc_feresetroundf_ctx): New.
3631 (libc_feresetroundl_ctx): New.
3633 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3635 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3637 * manual/ipc.texi: New file.
3638 * manual/Makefile (chapters): Add ipc.
3639 * manual/job.texi: Add "Inter-Process Communication" to next.
3640 * manual/process.texi: Add "Inter-Process Communication" to prev.
3642 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3646 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3648 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3650 * manual/arith.texi: Fix spaces after sentences.
3651 * manual/charset.texi: Likewise.
3652 * manual/errno.texi: Likewise.
3653 * manual/install.texi: Likewise.
3654 * manual/llio.texi: Likewise.
3655 * manual/locale.texi: Likewise.
3656 * manual/maint.texi: Likewise.
3657 * manual/math.texi: Likewise.
3658 * manual/memory.texi: Likewise.
3659 * manual/message.texi: Likewise.
3660 * manual/probes.texi: Likewise.
3661 * manual/resource.texi: Likewise.
3662 * manual/signal.texi: Likewise.
3663 * manual/socket.texi: Likewise.
3664 * manual/stdio.texi: Likewise.
3665 * manual/string.texi: Likewise.
3666 * manual/time.texi: Likewise.
3667 * manual/users.texi: Likewise.
3669 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3672 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3673 _DEFAULT_SOURCE is defined.
3675 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3676 Carlos O'Donell <carlos@redhat.com>
3679 * elf/dl-tls.c (_dl_count_modids): New function.
3680 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3681 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3682 audit library and increment generation counter.
3683 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3684 * elf/tst-audit9.c: New file.
3685 * elf/tst-auditmod9a.c: New file.
3686 * elf/tst-auditmod9b.c: New file.
3687 * elf/Makefile: Add rules to build and run tst-audit9.
3689 2014-02-25 Florian Weimer <fweimer@redhat.com>
3692 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3694 2014-02-25 Will Newton <will.newton@linaro.org>
3696 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3697 (__longjmp): Restore sp and lr before restoring callee
3698 saved registers. Add longjmp and longjmp_target
3699 SystemTap probe point.
3700 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3701 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3702 Define to zero to match jmpbuf layout.
3703 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3704 (__sigsetjmp): Save sp and lr before saving callee
3705 saved registers. Add setjmp SystemTap probe point.
3707 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3709 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3711 2014-02-24 Andreas Schwab <schwab@suse.de>
3714 * elf/pldd.c (wait_for_ptrace_stop): New function.
3715 (main): Call it after attaching.
3717 2014-02-22 Roland McGrath <roland@hack.frob.com>
3719 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3720 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3721 Versions files is now verboten.
3722 * hurd/Versions (libc: GLIBC_2.0):
3723 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3724 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3725 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3726 * mach/Versions: Likewise.
3728 * csu/Versions: Remove unused %include.
3729 * resolv/Versions: Likewise.
3731 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3733 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3734 ($(objpfx)check-local-headers.out): Likewise.
3735 ($(objpfx)begin-end-check.out): Likewise.
3736 * Makerules (check-abi-%.out): Likewise.
3737 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3738 ($(objpfx)test2.cat): Likewise.
3739 ($(objpfx)de/libc.cat): Likewise.
3740 ($(objpfx)test-gencat.out): Likewise.
3741 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3742 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3743 ($(objpfx)noload-mem): Likewise.
3744 ($(objpfx)tst-pathopt.out): Likewise.
3745 ($(objpfx)tst-rtld-load-self.out): Likewise.
3746 ($(objpfx)tst-array1-cmp.out): Likewise.
3747 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3748 ($(objpfx)tst-array2-cmp.out): Likewise.
3749 ($(objpfx)tst-array3-cmp.out): Likewise.
3750 ($(objpfx)tst-array4-cmp.out): Likewise.
3751 ($(objpfx)tst-array5-cmp.out): Likewise.
3752 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3753 ($(objpfx)check-textrel.out): Likewise.
3754 ($(objpfx)check-execstack.out): Likewise.
3755 ($(objpfx)check-localplt.out): Likewise.
3756 ($(objpfx)order2-cmp.out): Likewise.
3757 ($(objpfx)tst-leaks1-mem): Likewise.
3758 ($(objpfx)tst-leaks1-static-mem): Likewise.
3759 ($(objpfx)tst-initorder-cmp.out): Likewise.
3760 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3761 ($(objpfx)tst-unused-dep.out): Likewise.
3762 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3763 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3764 * iconv/Makefile (test-iconvconfig): Likewise.
3765 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3766 ($(objpfx)iconv-test.out): Likewise.
3767 ($(objpfx)tst-tables.out): Likewise.
3768 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3769 ($(objpfx)tst-gettext.out): Likewise.
3770 ($(objpfx)tst-translit.out): Likewise.
3771 ($(objpfx)tst-gettext2.out): Likewise.
3772 ($(objpfx)tst-gettext4.out): Likewise.
3773 ($(objpfx)tst-gettext6.out): Likewise.
3774 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3775 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3776 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3777 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3778 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3779 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3780 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3781 ($(objpfx)wordexp-tst.out): Likewise.
3782 ($(objpfx)annexc.out): Likewise.
3783 ($(objpfx)tst-fnmatch-mem): Likewise.
3784 ($(objpfx)bug-regex2-mem): Likewise.
3785 ($(objpfx)bug-regex14-mem): Likewise.
3786 ($(objpfx)bug-regex21-mem): Likewise.
3787 ($(objpfx)bug-regex31-mem): Likewise.
3788 ($(objpfx)tst-vfork3-mem): Likewise.
3789 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3790 ($(objpfx)tst-pcre-mem): Likewise.
3791 ($(objpfx)tst-boost-mem): Likewise.
3792 ($(objpfx)tst-getconf.out): Likewise.
3793 ($(objpfx)bug-ga2-mem): Likewise.
3794 ($(objpfx)bug-glob2-mem): Likewise.
3795 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3796 ($(objpfx)mtrace-tst-leaks2): Likewise.
3797 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3798 ($(objpfx)tst-printf.out): Likewise.
3799 ($(objpfx)tst-setvbuf1.out): Likewise.
3800 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3801 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3802 ($(objpfx)tst-fmtmsg.out): Likewise.
3803 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3804 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3806 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3807 * bits/sigaction.h [__USE_MISC]: Likewise.
3808 * bits/waitstatus.h: Update #endif comments.
3809 * ctype/ctype.h: Likewise.
3810 * dirent/dirent.h: Likewise.
3811 [__USE_MISC]: Remove redundant conditionals.
3812 * grp/grp.h: Update #endif comments.
3813 [__USE_GNU]: Remove redundant conditionals.
3814 [__USE_MISC]: Likewise.
3815 * inet/netinet/in.h [__USE_GNU]: Likewise.
3816 * io/sys/stat.h [__USE_MISC]: Likewise.
3817 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3818 * libio/bits/stdio.h: Update #endif comments.
3819 [__USE_MISC]: Remove redundant conditionals.
3820 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3821 * libio/stdio.h: Update #endif comments.
3822 [__USE_MISC]: Remove redundant conditionals.
3823 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3824 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3825 * math/math.h: Update #else and #endif comments.
3826 [__USE_MISC]: Remove redundant conditionals.
3827 * misc/sys/uio.h: Update #endif comments.
3828 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3829 * posix/glob.h [__USE_MISC]: Likewise.
3830 * posix/sys/types.h: Update #endif comments.
3831 [__USE_MISC]: Remove redundant conditionals.
3832 * posix/sys/wait.h: Update #endif comments.
3833 [__USE_MISC]: Remove redundant conditionals.
3834 * posix/unistd.h: Update #endif comments.
3835 [__USE_MISC]: Remove redundant conditionals.
3836 * pwd/pwd.h [__USE_GNU]: Likewise.
3837 [__USE_MISC]: Likewise.
3838 * resolv/netdb.h [__USE_GNU]: Likewise.
3839 * signal/signal.h: Update #endif comments.
3840 [__USE_MISC]: Remove redundant conditionals.
3841 * stdlib/stdlib.h: Update #else and #endif comments.
3842 [__USE_MISC]: Remove redundant conditionals.
3843 [__USE_GNU]: Likewise.
3844 * string/bits/string2.h [__USE_MISC]: Likewise.
3845 * string/string.h: Update #endif comments.
3846 [__USE_MISC]: Remove redundant conditionals.
3847 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3849 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3850 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3851 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3853 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3855 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3857 [__USE_MISC]: Remove redundant conditionals.
3858 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3859 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3860 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3861 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3862 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3864 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3865 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3867 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3868 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3870 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3872 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3873 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3875 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3877 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3878 * sysdeps/x86/bits/string.h: Update #endif comments.
3879 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3881 * time/sys/time.h: Update #endif comments.
3882 * time/time.h: Likewise.
3883 [__USE_MISC]: Remove redundant conditionals.
3885 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3888 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3890 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3892 * Versions.def (librt): Add GLIBC_2.17.
3894 2014-02-21 Adam Conrad <adconrad@0c3.net>
3896 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3897 synonym for _SYS_AUXV_H to allow direct inclusion.
3898 * sysdeps/sparc/bits/hwcap.h: Likewise.
3899 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3900 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3901 * sysdeps/sparc/sysdep.h: Likewise.
3903 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3905 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3907 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3909 * benchtests/bench-strrchr.c: Print length instead of position.
3911 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3914 * sysdeps/unix/sysv/linux/kernel-features.h
3915 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3916 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3917 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3918 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3920 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3921 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3922 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3923 (__ASSUME_SENDMMSG): Define instead of using previous
3924 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3925 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3926 (__ASSUME_SENDMMSG_SYSCALL): Define.
3927 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3928 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3930 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3931 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3933 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3934 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3936 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3937 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3938 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3939 [__ASSUME_SENDMMSG]: Change conditionals to
3940 [__ASSUME_SENDMMSG_SOCKETCALL].
3941 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3942 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3944 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3945 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3947 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3948 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3949 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3950 [!__ASSUME_SENDMMSG]: Change conditional to
3951 [!__ASSUME_SENDMMSG_SOCKETCALL].
3952 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3953 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3957 * sysdeps/unix/sysv/linux/kernel-features.h
3958 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3959 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3960 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3961 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3962 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3963 [__i386__ || __sparc__]
3964 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3965 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3966 (__ASSUME_RECVMMSG): Define instead of using previous
3967 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3968 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3969 (__ASSUME_RECVMMSG_SYSCALL): Define.
3970 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3971 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3973 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3974 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3976 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3977 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3979 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3980 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3981 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3982 [__ASSUME_RECVMMSG]: Change condition to
3983 [__ASSUME_RECVMMSG_SOCKETCALL].
3984 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3985 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3987 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3988 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3989 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3991 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3992 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3993 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3994 [!__ASSUME_RECVMMSG]: Change condition to
3995 [!__ASSUME_RECVMMSG_SOCKETCALL].
3996 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3997 (__ASSUME_RECVMMSG_SYSCALL): Define.
4000 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4001 __powerpc__ || __s390__ || __sh__ || __sparc__]
4002 (__ASSUME_SOCKETCALL): Define.
4003 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4004 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4005 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4006 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4007 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4008 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4009 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4010 (__ASSUME_ACCEPT4): Define instead of using previous
4011 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4012 __powerpc__ || __sparc__ || __s390__)] condition.
4013 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4014 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4015 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4016 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4017 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4018 [!__ASSUME_ACCEPT4]: Change condition to
4019 [!__ASSUME_ACCEPT4_SOCKETCALL].
4020 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4021 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4022 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4023 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4024 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4025 __ASSUME_ACCEPT4_SYSCALL.
4026 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4027 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4028 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4029 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4030 __ASSUME_ACCEPT4_SYSCALL.
4031 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4032 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4033 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4034 [__ASSUME_ACCEPT4]: Change condition to
4035 [__ASSUME_ACCEPT4_SOCKETCALL].
4036 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4037 (__ASSUME_SOCKETCALL): Define.
4038 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4039 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4040 (__ASSUME_SOCKETCALL): Define.
4041 (__ASSUME_ACCEPT4): Remove.
4042 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4044 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4045 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4047 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4048 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4050 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4052 (HWCAP_ARM_LPAE): Likewise.
4053 (HWCAP_ARM_EVTSTRM): Likewise.
4054 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4055 Add vpfd32, lpae and evtstrm.
4056 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4059 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4061 * math/auto-libm-test-in: Add tests of clog10.
4062 * math/auto-libm-test-out: Regenerated.
4063 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4064 * sysdeps/i386/fpu/libm-test-ulps: Update.
4065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4067 2014-02-18 Andreas Schwab <schwab@suse.de>
4070 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4071 Store non-zero if the second buffer was newly allocated.
4072 (send_dg): Likewise.
4073 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4074 to send_vc and send_dg.
4075 (res_nsend): Pass NULL for ansp2_malloced.
4076 * resolv/res_query.c (__libc_res_nquery): Add parameter
4077 answerp2_malloced and pass it down to __libc_res_nsend.
4078 (res_nquery): Pass additional NULL to __libc_res_nquery.
4079 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4080 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4081 second answer buffer if answerp2_malloced was set.
4082 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4083 (__libc_res_nquerydomain): Add parameter
4084 answerp2_malloced and pass it down to __libc_res_nquery.
4085 (res_nquerydomain): Pass additional NULL to
4086 __libc_res_nquerydomain.
4087 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4088 additional NULL to __libc_res_nsend and __libc_res_nquery.
4089 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4090 additional NULL to __libc_res_nsearch.
4091 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4092 parameter of __libc_res_nsearch to check for separately allocated
4094 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4096 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4097 additional NULL to __libc_res_nquery.
4098 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4100 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4101 * include/resolv.h: Update prototypes of __libc_res_nquery,
4102 __libc_res_nsearch, __libc_res_nsend.
4104 2014-02-18 Joseph Myers <joseph@codesourcery.com>
4106 * math/auto-libm-test-in: Add tests of fma.
4107 * math/auto-libm-test-out: Regenerated.
4108 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4109 (fma_towardzero_test_data): Likewise.
4110 (fma_downward_test_data): Likewise.
4111 (fma_upward_test_data): Likewise.
4112 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4114 (rounding_modes): Add values for new field.
4115 (func_calc_method): Add value mpfr_fff_f.
4116 (func_calc_desc): Add mpfr_fff_f union field.
4117 (test_function): Add field exact_args.
4118 (FUNC): Add macro argument EXACT_ARGS.
4119 (FUNC_mpfr_f_f): Update call to FUNC.
4120 (FUNC_mpfr_f_f): Likewise.
4121 (FUNC_mpfr_ff_f): Likewise.
4122 (FUNC_mpfr_if_f): Likewise.
4123 (FUNC_mpc_c_f): Likewise.
4124 (FUNC_mpc_c_c): Likewise.
4125 (test_functions): Add fma. Update calls to FUNC.
4126 (handle_input_arg): Add argument exact_args.
4127 (add_test): Update call to handle_input_arg.
4128 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4129 (output_for_one_input_case): Update call to calc_generic_results.
4130 Recalculate exact zero results in each rounding mode.
4132 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4133 non-negative before setting low bit.
4134 * math/auto-libm-test-in: Mark one asin test possibly having
4136 * math/auto-libm-test-out: Regenerated.
4137 * sysdeps/i386/fpu/libm-test-ulps: Update.
4138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4140 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4142 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4143 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4144 ports/sysdeps/unix/sysv/linux/microblaze.
4145 * README: Add missing listing for microblaze*-*-linux-gnu.
4147 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4149 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4150 * sysdeps/unix/sysv/linux/ia64: Move directory from
4151 ports/sysdeps/unix/sysv/linux/ia64.
4152 * README: Update listing for ia64-*-linux-gnu.
4154 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4155 Joseph Myers <joseph@codesourcery.com>
4157 * Makeconfig (test-name): New variable.
4158 (evaluate-test): Likewise.
4159 * Makerules (do-test-clean): Remove .test-result files.
4160 (common-mostlyclean): Likewise.
4161 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4162 * scripts/evaluate-test.sh: New file.
4164 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4166 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4167 separate $(objpfx)tst-fopenloc-cmp.out and
4168 $(objpfx)tst-fopenloc-mem.out targets.
4169 (tests): Update dependencies.
4170 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4171 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4172 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4173 (tst-rxspencer-no-utf8-ARGS): New variable.
4174 (tst-rxspencer-no-utf8-ENV): Likewise.
4175 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4176 instead of $(objpfx)tst-rxspencer-mem.
4177 ($(objpfx)tst-rxspencer-mem): Change target to
4178 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4179 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4180 * posix/tst-rxspencer-no-utf8.c: New file.
4182 * elf/Makefile ($(objpfx)order.out): Remove rule.
4183 [$(run-built-tests) = yes] (tests): Depend on
4184 $(objpfx)order-cmp.out.
4185 ($(objpfx)order-cmp.out): New rule.
4186 [$(run-built-tests) = yes] (tests): Depend on
4187 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4188 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4189 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4190 $(objpfx)tst-array5-static-cmp.out.
4191 ($(objpfx)tst-array1.out): Remove rule.
4192 ($(objpfx)tst-array1-cmp.out): New rule.
4193 ($(objpfx)tst-array1-static.out): Remove rule.
4194 ($(objpfx)tst-array1-static-cmp.out): New rule.
4195 ($(objpfx)tst-array2.out): Remove rule.
4196 ($(objpfx)tst-array2-cmp.out): New rule.
4197 ($(objpfx)tst-array3.out): Remove rule.
4198 ($(objpfx)tst-array3-cmp.out): New rule.
4199 ($(objpfx)tst-array4.out): Remove rule.
4200 ($(objpfx)tst-array4-cmp.out): New rule.
4201 ($(objpfx)tst-array5.out): Remove rule.
4202 ($(objpfx)tst-array5-cmp.out): New rule.
4203 ($(objpfx)tst-array5-static.out): Remove rule.
4204 ($(objpfx)tst-array5-static-cmp.out): New rule.
4205 [$(run-built-tests) = yes] (tests): Depend on
4206 $(objpfx)order2-cmp.out.
4207 ($(objpfx)order2.out): Remove rule.
4208 ($(objpfx)order2-cmp.out): New rule.
4209 ($(objpfx)tst-initorder.out): Remove rule.
4210 [$(run-built-tests) = yes] (tests): Depend on
4211 $(objpfx)tst-initorder-cmp.out.
4212 ($(objpfx)tst-initorder-cmp.out): New rule.
4213 ($(objpfx)tst-initorder2.out): Remove rule.
4214 [$(run-built-tests) = yes] (tests): Depend on
4215 $(objpfx)tst-initorder2-cmp.out.
4216 ($(objpfx)tst-initorder2-cmp.out): New rule.
4217 [$(run-built-tests) = yes] (tests): Depend on
4218 $(objpfx)tst-unused-dep-cmp.out.
4219 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4220 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4221 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4222 on $(objpfx)tst-setvbuf1-cmp.out.
4223 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4224 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4225 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4226 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4227 ($(objpfx)tst-svc.out): Remove rule.
4228 ($(objpfx)tst-svc-cmp.out): New rule.
4230 2014-02-13 Joseph Myers <joseph@codesourcery.com>
4232 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4233 * ctype/ctype.h [__USE_MISC]: Likewise.
4234 * dirent/dirent.h [__USE_MISC]: Likewise.
4235 * grp/grp.h [__USE_MISC]: Likewise.
4236 * io/fcntl.h [__USE_MISC]: Likewise.
4237 * io/sys/stat.h [__USE_MISC]: Likewise.
4238 * libio/stdio.h [__USE_MISC]: Likewise.
4239 * posix/unistd.h [__USE_MISC]: Likewise.
4240 * pwd/pwd.h [__USE_MISC]: Likewise.
4241 * stdlib.h [__USE_MISC]: Likewise.
4242 * string/bits/string2.h [__USE_MISC]: Likewise.
4243 * string/string.h [__USE_MISC]: Likewise.
4244 * time/time.h [__USE_MISC]: Likewise.
4246 2014-02-13 Andreas Schwab <schwab@suse.de>
4249 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4250 second answer buffer if it was separately allocated.
4252 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4254 * sysdeps/mips/math-tests.h: Include <features.h>.
4255 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4256 (ROUNDING_TESTS_long_double): Do not define.
4257 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4258 (EXCEPTION_TESTS_long_double): Likewise.
4259 * sysdeps/mips/mips64/libm-test-ulps: Update.
4261 * include/features.h (__USE_BSD): Remove macro definitions.
4262 (__USE_SVID): Likewise.
4263 (_BSD_SOURCE): Likewise.
4264 (_SVID_SOURCE): Likewise.
4265 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4266 from definition of _DEFAULT_SOURCE.
4267 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4269 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4270 * bits/mman.h [__USE_BSD]: Likewise.
4271 * bits/termios.h [__USE_BSD]: Likewise.
4272 * bits/waitstatus.h [__USE_BSD]: Likewise.
4273 * ctype/ctype.h [__USE_SVID]: Likewise.
4274 * dirent/dirent.h [__USE_BSD]: Likewise.
4275 * grp/grp.h [__USE_SVID]: Likewise.
4276 [__USE_BSD]: Likewise.
4277 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4278 * io/fcntl.h [__USE_BSD]: Likewise.
4279 * io/ftw.h [__USE_BSD]: Likewise.
4280 * io/sys/stat.h [__USE_BSD]: Likewise.
4281 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4282 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4283 * libio/stdio.h [__USE_SVID]: Likewise.
4284 [__USE_BSD]: Likewise.
4285 * math/math.h [__USE_SVID]: Likewise.
4286 [__USE_BSD]: Likewise.
4287 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4288 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4289 * misc/search.h [__USE_SVID]: Likewise.
4290 * misc/sys/mman.h [__USE_BSD]: Likewise.
4291 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4292 * misc/sys/uio.h [__USE_BSD]: Likewise.
4293 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4294 * posix/glob.h [__USE_BSD]: Likewise.
4295 * posix/regex.h [__USE_BSD]: Likewise.
4296 * posix/sys/types.h [__USE_BSD]: Likewise.
4297 [__USE_SVID]: Likewise.
4298 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4299 * posix/sys/wait.h [__USE_BSD]: Likewise.
4300 [__USE_SVID]: Likewise.
4301 * posix/unistd.h [__USE_BSD]: Likewise.
4302 [__USE_SVID]: Likewise.
4303 * pwd/pwd.h [__USE_SVID]: Likewise.
4304 * resolv/netdb.h [__USE_BSD]: Likewise.
4305 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4306 * signal/signal.h [__USE_BSD]: Likewise.
4307 [__USE_SVID]: Likewise.
4308 * socket/sys/socket.h [__USE_BSD]: Likewise.
4309 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4310 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4311 [__USE_SVID]: Likewise.
4312 * string/bits/string2.h [__USE_BSD]: Likewise.
4313 [__USE_SVID]: Likewise.
4314 * string/bits/string3.h [__USE_BSD]: Likewise.
4315 * string/endian.h [__USE_BSD]: Likewise.
4316 * string/string.h [__USE_SVID]: Likewise.
4317 [__USE_BSD]: Likewise.
4318 * string/strings.h [__USE_BSD]: Likewise.
4319 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4320 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4321 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4322 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4323 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4324 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4326 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4328 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4329 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4331 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4332 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4334 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4336 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4337 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4338 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4340 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4342 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4343 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4344 * termios/termios.h [__USE_BSD]: Likewise.
4345 * time/sys/time.h [__USE_BSD]: Likewise.
4346 * time/time.h [__USE_BSD]: Likewise.
4347 [__USE_SVID]: Likewise.
4349 * Makefile (subdir_targets): Remove subdir_lint.out.
4351 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4352 (do-tst-printf): Likewise.
4353 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4354 $(objpfx)tst-printf.out.
4356 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4358 * Makerules (check-abi-%): Change target to
4359 $(objpfx)check-abi-%.out.
4360 (check-abi target): Update dependencies.
4361 (check-abi-pattern variable): Redirect output of diff to $@.
4362 (check-abi variable): Likewise.
4363 * elf/Makefile (check-abi): Update dependencies.
4365 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4367 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4368 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4370 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4371 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4372 value has largest subnormal exponent.
4373 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4374 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4375 * sysdeps/aarch64/soft-fp/sfp-machine.h
4376 (_FP_TININESS_AFTER_ROUNDING): New macro.
4377 * sysdeps/alpha/soft-fp/sfp-machine.h
4378 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4379 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4381 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4382 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4383 * sysdeps/mips/soft-fp/sfp-machine.h
4384 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4385 * sysdeps/powerpc/soft-fp/sfp-machine.h
4386 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4387 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4389 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4390 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4391 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4392 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4393 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4396 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4399 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4402 2014-02-12 Richard Henderson <rth@redhat.com>
4404 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4405 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4406 * sysdeps/unix/sysv/linux/alpha: Move directory from
4407 ports/sysdeps/unix/sysv/linux/alpha.
4408 * README: Update listing for alpha-*-linux-gnu.
4410 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4412 * include/features.h: Update comment documenting feature test
4414 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4416 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4417 (_SVID_SOURCE): Likewise.
4418 (_DEFAULT_SOURCE): Update description of default features.
4419 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4421 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4422 (S_ISVTX): Likewise.
4423 * manual/math.texi (Mathematical Constants): Likewise.
4424 * manual/signal.texi (Interrupted Primitives): Likewise.
4425 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4426 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4427 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4428 Don't refer to _SVID_SOURCE in warning text.
4430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4432 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4434 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4435 * sysdeps/mips/dl-lookup.c: Remove.
4436 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4438 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4441 * math/auto-libm-test-in: Add testcase for expl.
4442 * math/auto-libm-test-out: Regenerate.
4443 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4444 calculation of unsafe.
4445 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4447 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4449 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4450 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4451 ports/sysdeps/unix/sysv/linux/aarch64.
4452 * README: Update listing for aarch64*-*-linux-gnu.
4454 2014-02-11 Will Newton <will.newton@linaro.org>
4456 * manual/probes.texi (Mathematical Function Probes): Use
4457 "triggered" instead of "hit".
4459 * manual/probes.texi (Internal Probes): Add documentation
4460 of setjmp, longjmp and longjmp_target probes.
4462 * include/stap-probe.h: Add comment about probe argument
4465 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4466 definition. (tr_where, tr_freehook, tr_mallochook,
4467 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4469 2014-02-11 David S. Miller <davem@davemloft.net>
4471 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4472 processing int_tests.
4474 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4476 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4477 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4478 * sysdeps/unix/sysv/linux/mips: Move directory from
4479 ports/sysdeps/unix/sysv/linux/mips.
4480 * README: Update listing for mips-*-linux-gnu and
4483 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4485 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4486 * sysdeps/unix/sysv/linux/m68k: Move directory from
4487 ports/sysdeps/unix/sysv/linux/m68k.
4488 * README: Update listing for m68k-*-linux-gnu.
4490 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4492 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4493 * sysdeps/unix/sysv/linux/generic: Move directory from
4494 ports/sysdeps/unix/sysv/linux/generic.
4495 * sysdeps/unix/sysv/linux/tile: Move directory from
4496 ports/sysdeps/unix/sysv/linux/tile.
4497 * README: Update listing for tile*-*-linux-gnu.
4499 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4501 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4503 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4504 * catgets/open_catalog.c (__open_catalog): Likewise.
4505 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4506 * debug/confstr_chk.c: Likewise.
4507 * debug/fread_chk.c (__fread_chk): Likewise.
4508 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4509 * debug/getgroups_chk.c: Likewise.
4510 * debug/mbsnrtowcs_chk.c: Likewise.
4511 * debug/mbsrtowcs_chk.c: Likewise.
4512 * debug/mbstowcs_chk.c: Likewise.
4513 * debug/memcpy_chk.c: Likewise.
4514 * debug/memmove_chk.c: Likewise.
4515 * debug/mempcpy_chk.c: Likewise.
4516 * debug/memset_chk.c: Likewise.
4517 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4518 * debug/strcat_chk.c (__strcat_chk): Likewise.
4519 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4520 * debug/strncat_chk.c (__strncat_chk): Likewise.
4521 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4522 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4523 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4524 * debug/wcpncpy_chk.c: Likewise.
4525 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4526 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4527 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4528 * debug/wcsncpy_chk.c: Likewise.
4529 * debug/wcsnrtombs_chk.c: Likewise.
4530 * debug/wcsrtombs_chk.c: Likewise.
4531 * debug/wcstombs_chk.c: Likewise.
4532 * debug/wmemcpy_chk.c: Likewise.
4533 * debug/wmemmove_chk.c: Likewise.
4534 * debug/wmempcpy_chk.c: Likewise.
4535 * debug/wmemset_chk.c: Likewise.
4536 * dirent/scandirat.c (SCANDIRAT): Likewise.
4537 * dlfcn/dladdr1.c (dladdr1): Likewise.
4538 * dlfcn/dladdr.c (dladdr): Likewise.
4539 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4540 * dlfcn/dlerror.c (__dlerror): Likewise.
4541 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4542 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4543 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4544 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4545 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4546 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4547 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4548 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4550 * elf/dl-conflict.c: Likewise.
4551 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4552 * elf/dl-dst.h: Likewise.
4553 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4554 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4555 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4556 * elf/dl-init.c (call_init, _dl_init): Likewise.
4557 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4558 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4559 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4561 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4563 * elf/dl-minimal.c (__libc_memalign): Likewise.
4564 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4565 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4566 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4567 * elf/dl-sym.c (do_sym): Likewise.
4568 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4569 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4570 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4571 * elf/dl-writev.h (_dl_writev): Likewise.
4572 * elf/ldconfig.c (search_dir): Likewise.
4573 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4574 (dl_main): Likewise.
4575 * elf/setup-vdso.h (setup_vdso): Likewise.
4576 * grp/compat-initgroups.c (compat_call): Likewise.
4577 * grp/fgetgrent.c (fgetgrent): Likewise.
4578 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4579 * grp/putgrent.c (putgrent): Likewise.
4580 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4582 * hurd/hurdinit.c: Likewise.
4583 * iconvdata/8bit-gap.c (struct): Likewise.
4584 * iconvdata/ansi_x3.110.c : Likewise.
4585 * iconvdata/big5.c : Likewise.
4586 * iconvdata/big5hkscs.c : Likewise.
4587 * iconvdata/cp1255.c: Likewise.
4588 * iconvdata/cp1258.c : Likewise.
4589 * iconvdata/cp932.c : Likewise.
4590 * iconvdata/euc-cn.c: Likewise.
4591 * iconvdata/euc-jisx0213.c : Likewise.
4592 * iconvdata/euc-jp.c: Likewise.
4593 * iconvdata/euc-jp-ms.c : Likewise.
4594 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4595 * iconvdata/gb18030.c : Likewise.
4596 * iconvdata/gbbig5.c (const): Likewise.
4597 * iconvdata/gbgbk.c: Likewise.
4598 * iconvdata/gbk.c : Likewise.
4599 * iconvdata/ibm1364.c : Likewise.
4600 * iconvdata/ibm930.c : Likewise.
4601 * iconvdata/ibm932.c: Likewise.
4602 * iconvdata/ibm933.c : Likewise.
4603 * iconvdata/ibm935.c : Likewise.
4604 * iconvdata/ibm937.c : Likewise.
4605 * iconvdata/ibm939.c : Likewise.
4606 * iconvdata/ibm943.c: Likewise.
4607 * iconvdata/iso_11548-1.c: Likewise.
4608 * iconvdata/iso-2022-cn.c : Likewise.
4609 * iconvdata/iso-2022-cn-ext.c : Likewise.
4610 * iconvdata/iso-2022-jp-3.c: Likewise.
4611 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4612 * iconvdata/iso-2022-kr.c : Likewise.
4613 * iconvdata/iso646.c (gconv_end): Likewise.
4614 * iconvdata/iso_6937-2.c : Likewise.
4615 * iconvdata/iso_6937.c : Likewise.
4616 * iconvdata/iso8859-1.c: Likewise.
4617 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4618 * iconvdata/shift_jisx0213.c : Likewise.
4619 * iconvdata/sjis.c : Likewise.
4620 * iconvdata/t.61.c : Likewise.
4621 * iconvdata/tcvn5712-1.c : Likewise.
4622 * iconvdata/tscii.c: Likewise.
4623 * iconvdata/uhc.c : Likewise.
4624 * iconvdata/unicode.c (gconv_end): Likewise.
4625 * iconvdata/utf-16.c (gconv_end): Likewise.
4626 * iconvdata/utf-32.c (gconv_end): Likewise.
4627 * iconvdata/utf-7.c (base64): Likewise.
4628 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4629 * iconv/gconv_close.c (__gconv_close): Likewise.
4630 * iconv/gconv_open.c (__gconv_open): Likewise.
4631 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4632 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4633 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4634 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4635 (ucs4le_internal_loop_single): Likewise.
4636 * iconv/iconv.c (iconv): Likewise.
4637 * iconv/iconv_close.c: Likewise.
4638 * iconv/loop.c (SINGLE): Likewise.
4639 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4640 * include/atomic.h: Likewise.
4641 * inet/inet6_option.c (option_alloc): Likewise.
4642 * intl/bindtextdom.c (set_binding_values): Likewise.
4643 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4644 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4645 * intl/localealias.c (read_alias_file): Likewise.
4646 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4647 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4648 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4649 * libio/fmemopen.c (fmemopen): Likewise.
4650 * libio/iofgets.c (_IO_fgets): Likewise.
4651 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4652 * libio/iofgetws.c (fgetws): Likewise.
4653 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4654 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4655 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4656 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4657 * locale/findlocale.c (_nl_find_locale): Likewise.
4658 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4659 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4661 * locale/setlocale.c (setlocale): Likewise.
4662 * login/programs/pt_chown.c (main): Likewise.
4663 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4664 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4665 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4666 (mmap, mmap64, mremap, munmap): Likewise.
4667 * math/e_exp2l.c: Likewise.
4668 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4669 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4670 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4671 * math/s_catan.c (__catan): Likewise.
4672 * math/s_catanf.c (__catanf): Likewise.
4673 * math/s_catanh.c (__catanh): Likewise.
4674 * math/s_catanhf.c (__catanhf): Likewise.
4675 * math/s_catanhl.c (__catanhl): Likewise.
4676 * math/s_catanl.c (__catanl): Likewise.
4677 * math/s_ccosh.c (__ccosh): Likewise.
4678 * math/s_ccoshf.c (__ccoshf): Likewise.
4679 * math/s_ccoshl.c (__ccoshl): Likewise.
4680 * math/s_cexp.c (__cexp): Likewise.
4681 * math/s_cexpf.c (__cexpf): Likewise.
4682 * math/s_cexpl.c (__cexpl): Likewise.
4683 * math/s_clog10.c (__clog10): Likewise.
4684 * math/s_clog10f.c (__clog10f): Likewise.
4685 * math/s_clog10l.c (__clog10l): Likewise.
4686 * math/s_clog.c (__clog): Likewise.
4687 * math/s_clogf.c (__clogf): Likewise.
4688 * math/s_clogl.c (__clogl): Likewise.
4689 * math/s_csin.c (__csin): Likewise.
4690 * math/s_csinf.c (__csinf): Likewise.
4691 * math/s_csinh.c (__csinh): Likewise.
4692 * math/s_csinhf.c (__csinhf): Likewise.
4693 * math/s_csinhl.c (__csinhl): Likewise.
4694 * math/s_csinl.c (__csinl): Likewise.
4695 * math/s_csqrt.c (__csqrt): Likewise.
4696 * math/s_csqrtf.c (__csqrtf): Likewise.
4697 * math/s_csqrtl.c (__csqrtl): Likewise.
4698 * math/s_ctan.c (__ctan): Likewise.
4699 * math/s_ctanf.c (__ctanf): Likewise.
4700 * math/s_ctanh.c (__ctanh): Likewise.
4701 * math/s_ctanhf.c (__ctanhf): Likewise.
4702 * math/s_ctanhl.c (__ctanhl): Likewise.
4703 * math/s_ctanl.c (__ctanl): Likewise.
4704 * math/w_pow.c: Likewise.
4705 * math/w_powf.c: Likewise.
4706 * math/w_powl.c: Likewise.
4707 * math/w_scalb.c (sysv_scalb): Likewise.
4708 * math/w_scalbf.c (sysv_scalbf): Likewise.
4709 * math/w_scalbl.c (sysv_scalbl): Likewise.
4710 * misc/error.c (error_tail): Likewise.
4711 * misc/pselect.c (__pselect): Likewise.
4712 * nis/nis_callback.c (__nis_create_callback): Likewise.
4713 * nis/nis_call.c (__nisfind_server): Likewise.
4714 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4715 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4716 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4717 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4718 * nis/nis_lookup.c (nis_lookup): Likewise.
4719 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4720 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4721 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4722 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4723 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4724 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4725 * nis/nss_compat/compat-initgroups.c (add_group)
4726 (internal_getgrent_r): Likewise.
4727 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4728 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4729 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4730 (internal_getspnam_r): Likewise.
4731 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4732 (_nss_nis_getaliasbyname_r): Likewise.
4733 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4734 (_nss_nis_getntohost_r): Likewise.
4735 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4736 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4737 (_nss_nis_getgrgid_r): Likewise.
4738 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4739 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4740 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4741 (_nss_nis_gethostbyname4_r): Likewise.
4742 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4743 (initgroups_netid): Likewise.
4744 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4745 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4746 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4747 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4748 (_nss_nis_getprotobynumber_r): Likewise.
4749 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4750 (_nss_nis_getsecretkey): Likewise.
4751 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4752 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4753 (_nss_nis_getpwuid_r): Likewise.
4754 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4755 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4756 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4757 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4758 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4759 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4760 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4762 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4763 (_nss_nisplus_getntohost_r): Likewise.
4764 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4765 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4766 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4767 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4769 * nis/nss_nisplus/nisplus-initgroups.c
4770 (_nss_nisplus_initgroups_dyn): Likewise.
4771 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4772 (_nss_nisplus_getnetbyaddr_r): Likewise.
4773 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4774 (_nss_nisplus_getprotobynumber_r): Likewise.
4775 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4776 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4777 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4779 * nis/nss_nisplus/nisplus-service.c
4780 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4781 (_nss_nisplus_getservbyport_r): Likewise.
4782 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4783 (_nss_nisplus_getspnam_r): Likewise.
4784 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4786 * nscd/aicache.c (addhstaiX): Likewise.
4787 * nscd/cache.c (cache_search, prune_cache): Likewise.
4788 * nscd/connections.c (register_traced_file, send_ro_fd)
4789 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4790 (main_loop_epoll): Likewise.
4791 * nscd/grpcache.c (addgrbyX): Likewise.
4792 * nscd/hstcache.c (addhstbyX): Likewise.
4793 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4794 * nscd/mem.c (gc, mempool_alloc): Likewise.
4795 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4796 (addinnetgrX): Likewise.
4797 * nscd/nscd-client.h (__nscd_acquire_maplock)
4798 (__nscd_drop_map_ref): Likewise.
4799 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4800 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4801 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4803 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4804 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4805 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4806 (__nscd_get_map_ref): Likewise.
4807 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4808 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4810 * nscd/pwdcache.c (addpwbyX): Likewise.
4811 * nscd/selinux.c (preserve_capabilities): Likewise.
4812 * nscd/servicescache.c (addservbyX): Likewise.
4813 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4814 * posix/fnmatch.c (fnmatch): Likewise.
4815 * posix/getopt.c (_getopt_internal_r): Likewise.
4816 * posix/glob.c (glob, glob_in_dir): Likewise.
4817 * posix/wordexp.c (exec_comm_child): Likewise.
4818 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4819 (getanswer_r, gaih_getanswer_slice): Likewise.
4820 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4821 * resolv/res_init.c: Likewise.
4822 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4823 * resolv/res_query.c (__libc_res_nquery): Likewise.
4824 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4826 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4827 * stdio-common/perror.c (perror): Likewise.
4828 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4829 * stdio-common/tmpnam.c (tmpnam): Likewise.
4830 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4831 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4832 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4834 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4835 * stdlib/putenv.c (putenv): Likewise.
4836 * stdlib/setenv.c (__add_to_environ): Likewise.
4837 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4838 * stdlib/strtol_l.c (INTERNAL): Likewise.
4839 * string/memmem.c (memmem): Likewise.
4840 * string/strerror.c (strerror): Likewise.
4841 * string/strnlen.c (__strnlen): Likewise.
4842 * string/test-memmem.c (simple_memmem): Likewise.
4843 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4844 * sunrpc/pm_getport.c (__get_socket): Likewise.
4845 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4846 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4847 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4848 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4850 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4851 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4852 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4853 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4854 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4855 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4857 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4859 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4860 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4861 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4862 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4863 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4865 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4866 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4867 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4868 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4869 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4870 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4872 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4874 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4876 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4877 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4878 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4879 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4880 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4881 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4882 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4883 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4884 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4885 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4886 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4887 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4888 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4889 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4890 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4891 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4893 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4895 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4897 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4899 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4900 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4901 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4903 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4904 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4905 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4906 * sysdeps/posix/sleep.c: Likewise.
4907 * sysdeps/posix/tempname.c: Likewise.
4908 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4909 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4911 * sysdeps/powerpc/powerpc32/dl-machine.h
4912 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4913 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4914 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4915 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4916 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4918 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4919 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4920 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4921 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4922 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4923 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4924 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4925 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4926 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4927 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4928 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4929 (elf_machine_lazy_rel): Likewise.
4930 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4931 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4932 (elf_machine_lazy_rel): Likewise.
4933 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4934 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4935 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4936 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4937 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4938 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4939 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4940 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4942 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4943 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4944 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4945 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4946 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4947 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4948 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4949 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4950 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4951 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4952 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4954 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4955 (__posix_fallocate64_l64): Likewise.
4956 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4957 (posix_fallocate): Likewise.
4958 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4960 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4961 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4962 (getifaddrs_internal): Likewise.
4963 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4964 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4965 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4966 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4967 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4968 (__posix_fallocate64_l64): Likewise.
4969 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4971 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4972 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4973 (__get_clockfreq): Likewise.
4974 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4975 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4976 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4977 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4978 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4979 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4980 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4981 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4983 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4984 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4985 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4986 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4987 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4988 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4989 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4991 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4992 (posix_fallocate): Likewise.
4993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4994 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4995 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4996 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4997 (elf_machine_rela, elf_machine_rela_relative)
4998 (elf_machine_lazy_rel): Likewise.
4999 * time/asctime.c (asctime_internal): Likewise.
5000 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5001 * time/tzset.c (__tzset_parse_tz): Likewise.
5002 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5003 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5004 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5005 * wcsmbs/wcsmbsload.h: Likewise.
5008 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5010 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5011 (arena_get2): Remove THREAD_STATS conditionals.
5012 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5013 (__malloc_stats, int): Likewise.
5015 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5017 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5018 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5020 * manual/setjmp.texi: Fix typos/grammar errors.
5022 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5023 Only return early when n is <= 0. Delete unused return statement.
5025 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5026 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5027 * debug/tst-longjmp_chk3.c: New file.
5029 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5030 (test_main): Replace code with set_fortify_handler call.
5031 * debug/test-strcpy_chk.c: Likewise.
5032 * debug/tst-chk1.c: Likewise.
5033 * debug/tst-longjmp_chk.c: Likewise.
5034 * test-skeleton.c: Include fcntl.h & paths.h
5035 (set_fortify_handler): Define.
5037 * debug/tst-longjmp_chk.c: Add header comment and include
5039 (do_test): Mark static.
5040 (TEST_FUNCTION): Define.
5042 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5043 (IP_PMTUDISC_INTERFACE): Likewise.
5044 (IP_MULTICAST_IF): Likewise.
5045 (IP_MULTICAST_TTL): Likewise.
5046 (IP_MULTICAST_LOOP): Likewise.
5047 (IP_ADD_MEMBERSHIP): Likewise.
5048 (IP_DROP_MEMBERSHIP): Likewise.
5049 (IP_UNBLOCK_SOURCE): Likewise.
5050 (IP_BLOCK_SOURCE): Likewise.
5051 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5052 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5053 (IP_MSFILTER): Likewise.
5054 (MCAST_JOIN_GROUP): Likewise.
5055 (MCAST_BLOCK_SOURCE): Likewise.
5056 (MCAST_UNBLOCK_SOURCE): Likewise.
5057 (MCAST_LEAVE_GROUP): Likewise.
5058 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5059 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5060 (MCAST_MSFILTER): Likewise.
5061 (IP_MULTICAST_ALL): Likewise.
5062 (IP_UNICAST_IF): Likewise.
5064 * timezone/Makefile: Delete $(have-ksh) check.
5065 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5066 * timezone/tzselect.ksh: Add +x mode bits.
5068 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5069 (ANON_INODE_FS_MAGIC): Likewise.
5070 (BDEVFS_MAGIC): Likewise.
5071 (BINFMTFS_MAGIC): Likewise.
5072 (BTRFS_TEST_MAGIC): Likewise.
5073 (CRAMFS_MAGIC_WEND): Likewise.
5074 (DEBUGFS_MAGIC): Likewise.
5075 (ECRYPTFS_SUPER_MAGIC): Likewise.
5076 (EXT3_SUPER_MAGIC): Likewise.
5077 (EXT4_SUPER_MAGIC): Likewise.
5078 (FUTEXFS_SUPER_MAGIC): Likewise.
5079 (HOSTFS_SUPER_MAGIC): Likewise.
5080 (HUGETLBFS_MAGIC): Likewise.
5081 (MINIX3_SUPER_MAGIC): Likewise.
5082 (MTD_INODE_FS_MAGIC): Likewise.
5083 (NILFS_SUPER_MAGIC): Likewise.
5084 (OPENPROM_SUPER_MAGIC): Likewise.
5085 (PIPEFS_MAGIC): Likewise.
5086 (PSTOREFS_MAGIC): Likewise.
5087 (QNX6_SUPER_MAGIC): Likewise.
5088 (RAMFS_MAGIC): Likewise.
5089 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5090 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5091 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5092 (SECURITYFS_MAGIC): Likewise.
5093 (SELINUX_MAGIC): Likewise.
5094 (SMACK_MAGIC): Likewise.
5095 (SOCKFS_MAGIC): Likewise.
5096 (SQUASHFS_MAGIC): Likewise.
5097 (STACK_END_MAGIC): Likewise.
5098 (TMPFS_MAGIC): Likewise.
5099 (USBDEVICE_SUPER_MAGIC): Likewise.
5100 (V9FS_MAGIC): Likewise.
5101 (XENFS_SUPER_MAGIC): Likewise.
5102 (CRAMFS_MAGIC): Fix typo in comment.
5103 (EXT2_SUPER_MAGIC): Update comment.
5104 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5106 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5108 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5109 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5110 * sysdeps/unix/sysv/linux/arm: Move directory from
5111 ports/sysdeps/unix/sysv/linux/arm.
5112 * README: Update listing for arm-*-linux-gnueabi.
5114 * README: Remove mention of am33.
5116 2014-02-07 Roland McGrath <roland@hack.frob.com>
5118 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5119 than the comma operator, to avoid "rhs of comma has no effect"
5121 (__sigfillset, __sigandset, __sigorset): Likewise.
5122 * include/signal.h (__sigemptyset): Likewise.
5123 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5125 2014-02-07 Allan McRae <allan@archlinux.org>
5127 * version.h (RELEASE): Set to "development".
5128 (VERSION): Set to "2.19.90"
5129 * NEWS: Add 2.20 section.
5131 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5134 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5136 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5138 * manual/contrib.texi: Update entry for Carlos O'Donell,
5139 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5141 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5143 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5145 * sysdeps/unix/sysv/linux/kernel-features.h
5146 [__LINUX_KERNEL_VERSION >= 0x020621]
5147 (__ASSUME_PROC_PID_TASK_COMM): Define.
5149 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5152 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5153 conversion when destination buffer does not have enough space.
5154 * libio/tst-ftell-partial-wide.c: New test case.
5155 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5157 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5158 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5159 Leonard and Allan McRae.
5161 2014-02-04 David S. Miller <davem@davemloft.net>
5163 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5166 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5195 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5197 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5198 * shlib-versions: Likewise.
5200 2014-02-04 Roland McGrath <roland@hack.frob.com>
5201 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5203 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5204 (abilist-pattern): New variable, set to %-le.abilist.
5206 * Makerules (abilist-pattern): New variable.
5207 (vpath): Use $(abilist-pattern) in place of %.abilist.
5208 (check-abi-% pattern rule): Likewise.
5209 (check-abi, update-abi): Likewise.
5211 2014-02-04 Eric Wong <normalperson@yhbt.net>
5213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5215 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5217 * manual/startup.texi: Add next, previous, and top entries for
5218 the `Program Arguments' and `Environment Variables' nodes.
5220 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5222 * manual/macros.texi: Add comments before MTASC-safety macros.
5224 * manual/users.texi: Document MTASC-safety properties.
5226 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5227 (pthread_getspecific, pthread_setspecific): Format with
5228 @deftypefun, and add @safety note.
5229 * manual/signal.texi: Move comments that analyze the above
5230 functions to their home place.
5232 2014-02-03 Allan McRae <allan@archlinux.org>
5234 * po/sl.po: Update Slovenian translation from translation project.
5236 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
5238 * manual/time.texi (timegm): Add missing blank after @c.
5239 Reported by Joseph Myers <joseph@codesourcery.com>.
5241 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
5243 * manual/check-safety.sh: New.
5244 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5246 * manual/terminal.texi: Document MTASC-safety properties.
5248 * manual/filesys.texi: Document MTASC-safety properties.
5250 * manual/errno.texi: Document MTASC-safety properties.
5252 * manual/intro.texi: Document safety identifiers and
5255 * manual/string.texi (wcstok): Fix prototype.
5256 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5258 * manual/time.texi: Document MTASC-safety properties.
5260 * manual/string.texi: Document MTASC-safety properties.
5262 * manual/threads.texi: Document MTASC-safety properties.
5264 * manual/stdio.texi: Document MTASC-safety properties.
5266 * manual/syslog.texi: Document MTASC-safety properties.
5268 * manual/sysinfo.texi: Document MTASC-safety properties.
5270 * manual/startup.texi: Document MTASC-safety properties.
5272 * manual/socket.texi: Document MTASC-safety properties.
5274 * manual/signal.texi: Document MTASC-safety properties.
5276 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5278 * manual/setjmp.texi: Document MTASC-safety properties.
5280 * manual/search.texi: Document MTASC-safety properties.
5282 * manual/resource.texi: Document MTASC-safety properties.
5284 * manual/process.texi: Document MTASC-safety properties.
5286 * manual/platform.texi: Document MTASC-safety properties.
5288 * manual/pipe.texi: Document MTASC-safety properties.
5290 * manual/pattern.texi: Document MTASC-safety properties.
5292 * manual/message.texi: Document MTASC-safety properties.
5295 * manual/memory.texi: Document MTASC-safety properties.
5297 * manual/math.texi: Document MTASC-safety properties.
5299 * manual/locale.texi: Document MTASC-safety properties.
5301 * manual/llio.texi: Document MTASC-safety properties.
5303 * manual/libdl.texi: New.
5305 * manual/lang.texi: Document MTASC-safety properties.
5307 * manual/job.texi: Document MTASC-safety properties.
5309 * manual/getopt.texi: Document MTASC-safety properties.
5311 * manual/ctype.texi: Document MTASC-safety properties.
5313 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5316 * csu/libc-tls.c (static_map): Remove variable.
5317 (__libc_setup_tls): Use main executable's link map for TLS data.
5318 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5319 casing for LM_ID_BASE and GL(dl_nns).
5320 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5321 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5322 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5323 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5324 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5326 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5329 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5331 * manual/debug.texi: Document MTASC-safety properties.
5333 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5336 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5337 of __x86_64__ when disabling x87 inline functions.
5339 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5341 * manual/charset.texi: Document MTASC-safety properties.
5343 * manual/crypt.texi: Document MTASC-safety properties.
5345 * manual/conf.texi: Document MTASC-safety properties.
5347 * manual/arith.texi: Document MTASC-safety properties.
5349 * manual/argp.texi: Document MTASC-safety properties.
5351 * manual/macros.texi: Introduce macros to document multi
5352 thread, asynchronous signal and asynchronous cancellation
5354 * manual/intro.texi: Introduce the properties themselves.
5356 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5358 * sysdeps/sh/sh4/Makefile: New file.
5360 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5362 * math/gen-libm-test.pl ($srcdir): New variable.
5363 ($auto_input): Use it.
5365 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5368 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5369 access beyond array bounds when parsing netgroups file.
5371 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5372 the old buffer before realloc.
5374 2014-01-27 Allan McRae <allan@archlinux.org>
5376 * po/fr.po: Update French translation from translation project.
5378 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5380 * sysdeps/sh/libm-test-ulps: Regenerate.
5382 2014-01-24 David S. Miller <davem@davemloft.net>
5384 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5386 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5388 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5389 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5391 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5394 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5395 string pointers after reallocation.
5397 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5399 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5400 __SH4A__ instead of __SH_FPU_ANY__.
5402 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5404 * sysdeps/sh/fpu_control.h: New file.
5405 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5406 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5407 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5408 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5409 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5410 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5411 * sysdeps/sh/sys/ucontext.h: Remove.
5412 * sysdeps/sh/sys: Remove directory.
5414 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5416 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5417 s390/sys/ucontext.h.
5418 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5419 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5421 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5424 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5426 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5429 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5430 Adjust the vDSO correctly for internal calls.
5431 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5433 2014-01-20 Allan McRae <allan@archlinux.org>
5435 * po/ca.po: Update Catalan translation from translation project.
5437 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5439 * sysdeps/s390/sotruss-lib.c: New file.
5441 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5444 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5445 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5446 local calls issues by not having a PLT stub required for IFUNC calls.
5447 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5449 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5451 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5452 * math/test-fpucw-static.c: Likewise.
5454 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5457 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5459 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5461 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5462 implementation for powerpc.
5464 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5467 * sysdeps/posix/system.c (__libc_system): Do not enable
5468 asynchronous cancellation.
5470 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5473 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5474 handling only for numbers special also in the IEEE case.
5476 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5478 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5480 2014-01-11 Allan McRae <allan@archlinux.org>
5482 * po/bg.po: Update Bulgarian translation from translation project.
5484 * po/de.po: Update German translation from translation project.
5486 2014-01-10 Roland McGrath <roland@hack.frob.com>
5488 * sysdeps/generic/gcc-compat.h: New file.
5490 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5492 * benchtests/asin-inputs: Correct slow inputs.
5493 * benchtests/acos-inputs: Likewise.
5495 2014-01-10 Allan McRae <allan@archlinux.org>
5497 * po:sv.po: Update Swedish translation from translation project.
5499 * po/vi.po: Update Vietnamese translation from translation project.
5501 * po/eo.po: Update Esperanto translation from translation project.
5503 * po/cs.po: Update Czech translation from translation project.
5505 * po/nl.po: Update Dutch translation from translation project.
5507 * po/pl.po: Update Polish translation from translation project.
5509 * po/ru.po: Update Russian translation from translation project.
5511 * po/uk.po: Update Ukrainian translation from translation project.
5513 2014-01-08 Brooks Moses <bmoses@google.com>
5515 * elf/dl-load.c: Fix comment typo.
5517 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5519 * po/header.pot: Rename to...
5520 * po/pot.header: ... this.
5521 * po/Makefile: Use pot.header.
5523 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5524 Maxim Kuvyrkov <maxim@kugelworks.com>
5527 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5528 SRC and DEST against LEN.
5530 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5533 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5535 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5537 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5541 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5544 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5545 for large positive arguments.
5547 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5549 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5551 * math/auto-libm-test-in: Mark various tests with
5552 xfail-rounding:ldbl-128ibm.
5553 * math/auto-libm-test-out: Regenerated.
5556 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5557 Increase overflow threshold.
5559 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5562 * stdio-common/vfprintf.c: Check for integer overflow.
5564 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5566 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5567 the first argument and return value of __tls_get_addr_internal.
5569 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5571 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5572 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5574 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5576 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5577 * sysdeps/s390/rtld-global-offsets.sym: New file.
5578 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5580 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5581 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5582 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5584 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5585 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5591 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5592 halfs of GPRs for high_gprs contexts.
5593 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5594 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5596 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5598 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5600 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5601 for high GPRs (uc_high_gprs) and for future extensions
5603 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5604 for future extensions (__reserved).
5605 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5607 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5608 SC_HIGHGPRS offset definition.
5609 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5610 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5612 * Versions.def: Add GLIBC_2.19 for libpthread.
5613 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5614 siglongjmp for libpthread with GLIBC_2.19 symver.
5615 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5616 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5617 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5618 * sysdeps/s390/__longjmp.c: New file.
5619 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5620 * sysdeps/s390/longjmp.c: New file.
5621 * sysdeps/s390/setjmp.S: New file.
5622 * sysdeps/s390/sigjmp.S: New file.
5623 * sysdeps/s390/v1-longjmp.c: New file.
5624 * sysdeps/s390/v1-setjmp.h: New file.
5625 * sysdeps/s390/v1-sigjmp.c: New file.
5626 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5627 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5629 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5630 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5631 versioned symbols for ____longjmp_chk.
5632 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5642 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5643 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5644 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5645 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5646 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5647 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5648 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5649 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5650 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5651 * sysdeps/s390/rtld-__longjmp.c: New file.
5652 * sysdeps/s390/rtld-setjmp.S: New file.
5654 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5657 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5658 Return -__logl (x) for small positive arguments without evaluating
5661 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5663 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5665 (__ptrace_peeksiginfo_args): ... this.
5666 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5667 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5668 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5670 2014-01-06 Allan McRae <allan@archlinux.org>
5672 * inet/netinet/in.h: Fix typo in comment.
5674 2014-01-05 Andreas Jaeger <aj@suse.de>
5676 * sysdeps/i386/fpu/libm-test-ulps: Update.
5678 2014-01-05 Allan McRae <allan@archlinux.org>
5680 * po/libc.pot: Regenerated.
5682 * malloc/memusagestat.c: Fix gettext call formatting.
5684 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5686 * nscd/nscd.c: Improve usage() output.
5688 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5690 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5691 * sysdeps/unix/sysv/linux/configure: Regenerated.
5692 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5693 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5695 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5698 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5699 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5701 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5703 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5704 extra tokens at end of #undef directive.
5705 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5706 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5707 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5709 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5711 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5713 * math/auto-libm-test-in: Mark various tests with
5714 xfail-rounding:ldbl-128ibm.
5715 * math/auto-libm-test-out: Regenerated.
5717 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5720 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5721 numbers with subnormal high part when calculating exponent.
5724 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5728 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5730 (__ieee754_acoshl): Use __log1pl not __log1p.
5732 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5734 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5735 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5736 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5737 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5738 (reused_arena, arena_get2): Convert to GNU style.
5739 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5740 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5741 (memalign_check, __malloc_set_state): Likewise.
5742 * malloc/mallocbug.c (main): Likewise.
5743 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5744 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5745 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5746 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5747 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5748 (__posix_memalign, malloc_info): Likewise.
5749 * malloc/malloc.h: Likewise.
5750 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5751 (mallochook, memalignhook, reallochook, mabort): Likewise.
5752 * malloc/mcheck.h: Likewise.
5753 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5754 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5755 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5756 * malloc/morecore.c (__default_morecore): Likewise.
5757 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5758 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5759 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5760 (print_and_abort): Likewise.
5761 * malloc/obstack.h: Likewise.
5762 * malloc/set-freeres.c (__libc_freeres): Likewise.
5763 * malloc/tst-mallocstate.c (main): Likewise.
5764 * malloc/tst-mtrace.c (main): Likewise.
5765 * malloc/tst-realloc.c (do_test): Likewise.
5767 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5770 * nscd/netgroupcache.c (do_notfound): New function.
5771 (addgetnetgrentX): Use it.
5774 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5775 NSS_STATUS_NOTFOUND.
5777 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5779 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5782 2014-01-01 Allan McRae <allan@archlinux.org>
5784 * scripts/update-copyrights: Update configure input file suffix.
5786 * NEWS: Update copyright year.
5787 * catgets/gencat.c: Likewise.
5788 * csu/version.c: Likewise.
5789 * debug/catchsegv.sh: Likewise.
5790 * debug/pcprofiledump.c: Likewise.
5791 * debug/xtrace.sh: Likewise.
5792 * elf/ldconfig.c: Likewise.
5793 * elf/ldd.bash.in: Likewise.
5794 * elf/pldd.c: Likewise.
5795 * elf/sotruss.ksh: Likewise.
5796 * elf/sprof.c: Likewise.
5797 * iconv/iconv_prog.c: Likewise.
5798 * iconv/iconvconfig.c: Likewise.
5799 * locale/programs/locale.c: Likewise.
5800 * locale/programs/localedef.c: Likewise.
5801 * login/programs/pt_chown.c: Likewise.
5802 * malloc/memusage.sh: Likewise.
5803 * malloc/memusagestat.c: Likewise.
5804 * malloc/mtrace.pl: Likewise.
5805 * manual/libc.texinfo: Likewise.
5806 * nscd/nscd.c: Likewise.
5807 * nss/getent.c: Likewise.
5808 * nss/makedb.c: Likewise.
5809 * posix/getconf.c: Likewise.
5810 * scripts/test-installation.pl: Likewise.
5812 * All files with FSF copyright notices: Update copyright dates
5813 using scripts/update-copyrights.
5814 * intl/plural.c: Regenerated.
5815 * locale/programs/charmap-kw.h: Likewise.
5816 * locale/programs/locfile-kw.h: Likewise.
5818 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5820 * sysdeps/unix/sysv/linux/configure: Regenerated.
5821 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5822 the linux/fanotify.h header.
5823 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5824 HAVE_LINUX_FANOTIFY_H is defined.
5826 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5828 * benchtests/cos-inputs: New inputs.
5829 * benchtests/sin-inputs: Likewise.
5831 * benchtests/atan-inputs: New inputs. Fix name of multiple
5832 precision fallback inputs.
5834 * benchtests/atanh-inputs: New inputs.
5835 * benchtests/tanh-inputs: Likewise.
5837 * benchtests/acosh-inputs: New inputs.
5838 * benchtests/asinh-inputs: Likewise.
5840 * benchtests/cosh-inputs: New inputs.
5841 * benchtests/sinh-inputs: Likewise.
5843 * benchtests/acos-inputs: Add more inputs.
5844 * benchtests/asin-inputs: Likewise.
5846 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5849 * manual/arith.texi: Fix spelling.
5850 * manual/charset.texi: Likewise.
5851 * manual/errno.texi: Likewise.
5852 * manual/filesys.texi: Likewise.
5853 * manual/lang.texi: Likewise.
5854 * manual/llio.texi: Likewise.
5855 * manual/locale.texi: Likewise.
5856 * manual/message.texi: Likewise.
5857 * manual/resource.texi: Likewise.
5858 * manual/search.texi: Likewise.
5859 * manual/setjmp.texi: Likewise.
5860 * manual/stdio.texi: Likewise.
5861 * manual/string.texi: Likewise.
5862 * manual/sysinfo.texi: Likewise.
5863 * manual/time.texi: Likewise.
5865 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5867 * po/sl.po: New file.
5869 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5871 * .gitignore: Add core/.gdbinit/.gdb_history.
5873 2013-12-27 Allan McRae <allan@archlinux.org>
5876 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5877 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5879 2013-12-24 Brooks Moses <bmoses@google.com>
5881 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5882 all compilers that claim C++98 compliance, not just GCC.
5883 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5886 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5888 * NEWS: Restore accidentally deleted bug-fix entries.
5890 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5891 Ondřej Bílka <neleai@seznam.cz>
5894 * malloc/malloc.c (_int_free): Perform sanity check only if we
5897 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5900 * manual/stdio.texi (String Input Conversions): Clarify that character
5901 classes are not supported.
5903 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5907 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5910 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5911 Calculate results for small negative arguments directly rather
5912 than using reflection formula with special underflow handling.
5914 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5915 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5916 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5917 (fchflags): Likewise.
5919 (setlogin): Likewise.
5920 (sigaltstack): Likewise.
5923 (sigsetmask): Likewise.
5925 (waitpid): Likewise.
5926 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5927 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5929 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5930 * sysdeps/unix/bsd/Makefile: ... here.
5931 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5932 * sysdeps/unix/bsd/Versions: ... here.
5933 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5934 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5935 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5936 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5937 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5938 * sysdeps/unix/bsd/sigblock.c: ... here.
5939 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5940 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5941 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5942 * sysdeps/unix/bsd/sigvec.c: ... here.
5943 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5944 * sysdeps/unix/bsd/tcdrain.c: ... here.
5945 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5946 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5947 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5948 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5949 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5950 * sysdeps/unix/bsd/wait.c: ... here.
5951 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5952 * sysdeps/unix/bsd/wait3.c: ... here.
5953 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5954 * sysdeps/unix/bsd/waitpid.c: ... here.
5956 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5959 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5960 round-to-nearest for [!USE_AS_EXPM1L].
5961 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5962 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5963 more tests of exp and exp10. Expect some exp10 tests to miss
5964 exceptions or fail in directed rounding modes.
5965 * math/auto-libm-test-out: Regenerated.
5966 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5967 (exp10_test_tonearest): New function.
5968 (exp10_towardzero_test_data): New array.
5969 (exp10_test_towardzero): New function.
5970 (exp10_downward_test_data): New array.
5971 (exp10_test_downward): New function.
5972 (exp10_upward_test_data): New array.
5973 (exp10_test_upward): New function.
5974 (main): Call the new functions.
5975 * sysdeps/i386/fpu/libm-test-ulps: Update.
5976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5978 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5980 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5981 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5982 * math/auto-libm-test-out: Regenerated.
5983 * math/libm-test.inc (acosh_test_data): Add more tests.
5984 (atanh_test_data): Likewise.
5985 (ceil_test_data): Likewise.
5986 (copysign_test_data): Likewise.
5987 * sysdeps/i386/fpu/libm-test-ulps: Update.
5988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5990 * timezone/checktab.awk: Update from tzcode 2013i.
5991 * timezone/private.h: Likewise.
5992 * timezone/scheck.c: Likewise.
5993 * timezone/tzfile.h: Likewise.
5994 * timezone/tzselect.ksh: Likewise.
5995 * timezone/zdump.c: Likewise.
5996 * timezone/zic.c: Likewise.
5998 * math/auto-libm-test-in: Add tests of cpow.
5999 * math/auto-libm-test-out: Regenerated.
6000 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6001 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6003 (func_calc_desc): Add mpc_cc_c union field.
6004 (test_functions): Add cpow.
6005 (special_fill_2pi): New function.
6006 (special_real_inputs): Add 2pi.
6007 (calc_generic_results): Handle mpc_cc_c.
6008 * sysdeps/i386/fpu/libm-test-ulps: Update.
6009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6011 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6012 csqrt, ctan and ctanh.
6013 * math/auto-libm-test-out: Regenerated.
6014 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6015 (TEST_COND_x86): Likewise.
6016 (ccos_test_data): Use AUTO_TESTS_c_c.
6017 (ccosh_test_data): Likewise.
6018 (cexp_test_data): Likewise.
6019 (clog_test_data): Likewise.
6020 (csqrt_test_data): Likewise.
6021 (ctan_test_data): Likewise.
6022 (ctan_tonearest_test_data): Likewise.
6023 (ctan_towardzero_test_data): Likewise.
6024 (ctan_downward_test_data): Likewise.
6025 (ctan_upward_test_data): Likewise.
6026 (ctanh_test_data): Likewise.
6027 (ctanh_tonearest_test_data): Likewise.
6028 (ctanh_towardzero_test_data): Likewise.
6029 (ctanh_downward_test_data): Likewise.
6030 (ctanh_upward_test_data): Likewise.
6031 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6033 (func_calc_desc): Add mpc_c_c union field.
6034 (FUNC_mpc_c_c): New macro.
6035 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6036 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6038 (special_fill_min_subnorm_p120): New function.
6039 (special_real_inputs): Add min_subnorm_p120.
6040 (calc_generic_results): Handle mpc_c_c.
6041 * sysdeps/i386/fpu/libm-test-ulps: Update.
6042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6044 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6046 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6047 (do_sin_slow): New functions.
6048 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6049 (cslow2, csloww1, csloww2): Use the new functions.
6051 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6052 Use M to change sign of result instead of X. Assume X is
6054 (csloww1): Likewise.
6058 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6063 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6065 (sloww1): Don't adjust sign of DX.
6066 (csloww1): Likewise.
6067 (sloww2): Use X directly and don't adjust sign of DX.
6068 (csloww2): Likewise.
6070 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6072 * math/auto-libm-test-in: Add tests of cabs and carg.
6073 * math/auto-libm-test-out: Regenerated.
6074 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6075 (carg_test_data): Likewise.
6076 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6078 (func_calc_desc): Add mpc_c_f union field.
6079 (test_functions): Add cabs and carg.
6080 (calc_generic_results): Handle mpc_c_f.
6082 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6083 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6084 as a macro and a compat symbol.
6085 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6086 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6087 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6088 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6089 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6090 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6092 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6094 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6096 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6098 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6100 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6102 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6103 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6106 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6110 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6112 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6113 trailing whitespace removed.
6114 * scripts/config.guess: Update to version 2013-11-29.
6115 * scripts/config.sub: Update to version 2013-10-01.
6117 * math/auto-libm-test-in: Add tests of sincos.
6118 * math/auto-libm-test-out: Regenerated.
6119 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6120 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6122 (func_calc_desc): Add mpfr_f_11 union field.
6123 (test_functions): Add sincos.
6124 (calc_generic_results): Handle mpfr_f_11.
6125 * sysdeps/i386/fpu/libm-test-ulps: Update.
6126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6128 2013-12-19 Andreas Schwab <schwab@suse.de>
6130 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6132 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6133 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6134 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6136 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6138 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6139 * sysdeps/i386/fpu/libm-test-ulps: Update.
6140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6143 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6144 round-to-nearest mode when using frndint.
6145 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6146 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6147 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6149 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6151 * math/auto-libm-test-out: Regenerated.
6152 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6153 (TEST_COND_x86): Likewise.
6154 (expm1_tonearest_test_data): New array.
6155 (expm1_test_tonearest): New function.
6156 (expm1_towardzero_test_data): New array.
6157 (expm1_test_towardzero): New function.
6158 (expm1_downward_test_data): New array.
6159 (expm1_test_downward): New function.
6160 (expm1_upward_test_data): New array.
6161 (expm1_test_upward): New function.
6162 (main): Run the new test functions.
6163 * sysdeps/i386/fpu/libm-test-ulps: Update.
6164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6166 * include/features.h: Update comment documenting feature test
6167 macros. Mention _DEFAULT_SOURCE in comment.
6168 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6169 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6170 _BSD_SOURCE and _SVID_SOURCE.
6171 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6172 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6173 !_SVID_SOURCE]: Likewise.
6174 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6175 (__USE_POSIX_IMPLICITLY): Define.
6176 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6177 (_POSIX_SOURCE): Undefine and redefine.
6178 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6179 (_POSIX_C_SOURCE): Likewise.
6180 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6181 (Feature Test Macros): Update documentation of default features.
6183 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6185 * benchtests/Makefile: Add bench-strtok.
6186 * benchtests/bench-strtok.c: New file: strtok benchtest.
6188 2013-12-19 Allan McRae <allan@archlinux.org>
6190 * manual/install.texi: Suppress menu for plain text output.
6191 * INSTALL: Regenerated.
6193 2013-12-18 Brooks Moses <bmoses@google.com>
6196 * misc/getauxval.c: Include errno.h.
6197 (__getauxval): Set errno to ENOENT if the requested type is not
6199 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6200 don't declare with __attribute_const__.
6201 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6202 * manual/startup.texi: Document that getauxval sets errno.
6204 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6206 * math/auto-libm-test-in: Add tests of jn and yn.
6207 * math/auto-libm-test-out: Regenerated.
6208 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6209 (yn_test_data): Likewise.
6210 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6212 (func_calc_desc): Add mpfr_if_f union field.
6213 (FUNC_mpfr_if_f): New macro.
6214 (test_functions): Add jn and yn.
6215 (calc_generic_results): Assert type of second input for
6216 mpfr_ff_f. Handle mpfr_if_f.
6217 (output_for_one_input_case): Disable all checking for arguments
6218 fitting floating-point types in case of an integer argument.
6219 * sysdeps/i386/fpu/libm-test-ulps: Update.
6220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6223 Don't expect fegetround reference in libm.so.
6225 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6227 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6228 $(config-cflags-nofma).
6230 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6232 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6233 * math/auto-libm-test-out: Regenerated.
6236 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6237 to determine exponent and adjust argument to have exponent of -1.
6238 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6240 * math/auto-libm-test-out: Regenerated.
6241 * sysdeps/i386/fpu/libm-test-ulps: Update.
6242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6244 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
6246 * manual/probes.texi: Remove cases when per-thread arenas are
6249 2013-12-18 Andreas Schwab <schwab@suse.de>
6251 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6252 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6253 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6254 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6255 * sysdeps/i386/i686/multiarch/Makefile: Update.
6256 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6258 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6260 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6261 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6263 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6266 Support TZ transition times < 00:00:00.
6267 This is needed for version-3 tz-format files; it supports time
6268 stamps past 2037 for America/Godthab (the only entry in the tz
6269 database for which this change is relevant).
6270 * manual/time.texi (TZ Variable): Document transition times
6271 from -167:59:59 through -00:00:01.
6272 * time/tzset.c (tz_rule): Time of day is now signed.
6273 (__tzset_parse_tz): Parse negative time of day.
6275 Document TZ transition times >= 25:00:00.
6276 * manual/time.texi (TZ Variable): Document transition times from
6277 25:00:00 through 167:59:59. These are already supported, and this
6278 support will help with version-3 tz-format files.
6280 * manual/time.texi (TZ Variable): Modernize North America example
6281 to reflect current (i.e., 2007-and-later) daylight saving rules.
6283 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6285 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6287 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6288 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6289 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6291 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6292 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6293 * sysdeps/unix/bsd/clock.c: Likewise.
6294 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6295 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6296 * sysdeps/unix/bsd/init-posix.c: Likewise.
6297 * sysdeps/unix/bsd/poll.c: Likewise.
6298 * sysdeps/unix/bsd/ptsname.c: Likewise.
6299 * sysdeps/unix/bsd/seekdir.c: Likewise.
6300 * sysdeps/unix/bsd/setegid.c: Likewise.
6301 * sysdeps/unix/bsd/seteuid.c: Likewise.
6302 * sysdeps/unix/bsd/setgid.c: Likewise.
6303 * sysdeps/unix/bsd/setrgid.c: Likewise.
6304 * sysdeps/unix/bsd/setruid.c: Likewise.
6305 * sysdeps/unix/bsd/setsid.c: Likewise.
6306 * sysdeps/unix/bsd/setuid.c: Likewise.
6307 * sysdeps/unix/bsd/sigaction.c: Likewise.
6308 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6309 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6310 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6311 * sysdeps/unix/bsd/telldir.c: Likewise.
6312 * sysdeps/unix/bsd/times.c: Likewise.
6313 * sysdeps/unix/bsd/usleep.c: Likewise.
6315 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6316 ($(objpfx)libbsd-compat.a): Remove rule.
6318 * include/features.h (__FAVOR_BSD): Do not define.
6319 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6320 features conflicting with POSIX.
6321 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6322 (_BSD_SOURCE): Remove description of not being a subset of other
6323 feature test macros.
6324 * manual/job.texi (getpgrp): Do not document BSD version.
6325 (getpgid): Do not document by reference to BSD getpgrp.
6326 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6327 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6328 * signal/signal.h [__FAVOR_BSD]: Likewise.
6329 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6330 instead of making contents conditional on [__FAVOR_BSD].
6331 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6333 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6337 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6340 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6341 values below 2**-450, not 2**-500.
6342 * math/auto-libm-test-in: Don't allow spurious underflow from
6344 * math/auto-libm-test-out: Regenerated.
6348 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6349 values of ha and hb and sort them after adjusting subnormal
6351 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6353 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6354 values of ea and eb and sort them after adjusting subnormal
6356 * math/auto-libm-test-in: Do not expect some hypot tests of
6357 subnormals to fail. Add more hypot tests.
6358 * math/auto-libm-test-out: Regenerated.
6360 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6363 * sysdeps/sh/s_fma.c: New file.
6364 * sysdeps/sh/s_fmaf.c: New file.
6365 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6367 * sysdeps/sh/Implies: Add sh/soft-fp.
6369 2013-12-16 Roland McGrath <roland@hack.frob.com>
6371 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6372 level of indirection to members `objname', `errstring', `malloced'.
6373 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6374 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6375 it as the __longjmp argument (just pass 1 instead).
6376 (_dl_catch_error): Initialize C with argument pointers and address of
6377 volatile local ERRCODE rather than copying values out of C at return.
6379 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6381 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6382 * math/auto-libm-test-out: Regenerated.
6383 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6384 (hypot_test_data): Likewise.
6385 (pow_test_data): Likewise.
6386 (pow_tonearest_test_data): Likewise.
6387 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6389 (func_calc_desc): Add mpfr_ff_f union field.
6390 (FUNC_mpfr_ff_f): New macro.
6391 (test_functions): Add atan2, hypot and pow.
6392 (special_fill_min): New function.
6393 (special_fill_minus_min): Likewise.
6394 (special_fill_min_subnorm): Likewise.
6395 (special_fill_minus_min_subnorm): Likewise.
6396 (special_real_inputs): Add min, -min, min_subnorm and
6398 (calc_generic_results): Handle mpfr_ff_f.
6399 * sysdeps/i386/fpu/libm-test-ulps: Update.
6400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6402 2013-12-16 Will Newton <will.newton@linaro.org>
6404 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6405 (Aligned Memory Blocks): Add documentation for aligned_alloc
6406 and suggest it as an alternative to posix_memalign.
6407 (Hooks for Malloc): Document __memalign_hook is also called
6408 for aligned_alloc. (Summary of Malloc): Add summary for
6409 aligned alloc. Document __memalign_hook is also called
6412 2013-12-16 Will Newton <will.newton@linaro.org>
6414 * manual/memory.texi (Malloc Examples): Clarify default
6415 alignment documentation. Suggest posix_memalign rather
6416 than memalign or valloc.
6417 (Aligned Memory Blocks): Remove suggestion to use memalign
6418 or valloc. Remove obsolete comment about BSD.
6419 Document memalign errno values and mark the function obsolete.
6420 Document posix_memalign returned error codes. Mark valloc
6421 as obsolete. (Hooks for Malloc): __memalign_hook is also
6422 called for posix_memalign and valloc.
6423 (Summary of Malloc): Add posix_memalign to function summary.
6424 __memalign_hook is also called for posix_memalign and valloc.
6426 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6428 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6432 (sloww): Use mynumber union. Expand ternary operator into
6434 (cslow): use mynumber union.
6436 2013-12-16 Allan McRae <allan@archlinux.org>
6438 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6439 * configure: Regenerated.
6441 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6444 * configure.ac: Added --enable-maintainer-mode. Check for
6445 autoconf when enabled.
6446 * configure: Regenerated.
6448 * nscd/nscd.service: New file.
6449 * nscd/nscd.tmpfiles: New file.
6451 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6454 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6455 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6456 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6457 (strstr): Add __strstr_sse2_unaligned ifunc.
6458 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6459 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6460 (strcasestr): Remove __strcasestr_sse42 ifunc.
6461 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6462 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6465 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6467 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6468 * sysdeps/sh/bits/fenv.h: ... here.
6469 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6471 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6473 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6475 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6476 hypotf multiarch implementations.
6477 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6478 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6479 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6480 multiarch hypot for PPC64.
6481 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6482 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6483 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6484 multiarch hypotf for PPC64.
6486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6487 modff multiarch implementations.
6488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6491 multiarch modf for PPC64.
6492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6495 multiarch modff for PPC64.
6497 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6498 and logl multiarch implementations.
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6502 multiarch logb for PPC64.
6503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6506 multiarch logb for PPC64.
6507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6510 multiarch logb for PPC64.
6512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6513 isinff multiarch implementation.
6514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6518 multiarch isinf for PPC64.
6519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6522 multiarch isinff for PPC64.
6524 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6525 finitef multiarch implementation.
6526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6530 multiarch finite for PPC64.
6531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6534 multiarch finitef for PPC64.
6536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6537 lrint multiarch implementation.
6538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6542 multiarch llrint for PPC64.
6543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6544 multiarch lrint for PPC64.
6546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6547 copysignf multiarch implementation.
6548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6553 multiarch copysign for PPC64.
6554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6555 multiarch copysignf for PPC64.
6557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6558 multiarch implementation.
6559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6567 multiarch llround for PPC64.
6568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6569 multiarch trunc for PPC64.
6570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6571 multiarch truncf for PPC64.
6573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6574 multiarch implementation.
6575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6583 multiarch llround for PPC64.
6584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6585 multiarch round for PPC64.
6586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6587 multiarch roundf for PPC64.
6589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6590 multiarch implementation.
6591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6599 multiarch llround for PPC64.
6600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6601 multiarch floor for PPC64.
6602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6603 multiarch floorf for PPC64.
6605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6606 multiarch implementation.
6607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6615 multiarch llround for PPC64.
6616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6617 multiarch ceil for PPC64.
6618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6619 multiarch ceilf for PPC64.
6621 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6622 multiarch implementation.
6623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6630 multiarch llround for PPC64.
6631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6632 multiarch lround for PPC64.
6634 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6635 multiarch implementation.
6636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6643 multiarch isnan for PPC64.
6644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6645 multiarch isnanf for PPC64.
6647 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6648 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6649 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6650 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6651 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6654 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6655 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6656 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6657 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6660 multiarch implementations.
6661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6662 (__libc_ifunc_impl_list): Likewise.
6663 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6664 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6665 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6666 multiarch stpcpy for PPC64.
6668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6669 multiarch implementations.
6670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6671 (__libc_ifunc_impl_list): Likewise.
6672 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6673 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6674 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6675 multiarch strcpy for PPC64.
6677 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6678 redefine function name.
6679 (_wordcopy_fwd_dest_aligned): Likewise.
6680 (_wordcopy_bwd_aligned): Likewise.
6681 (_wordcopy_bwd_dest_aligned): Likewise.
6682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6683 multiarch implementations.
6684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6685 (__libc_ifunc_impl_list): Likewise.
6686 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6687 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6688 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6689 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6690 multiarch wcscpy for PPC64.
6692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6693 multiarch implementations.
6694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6695 (__libc_ifunc_impl_list): Likewise.
6696 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6697 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6698 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6699 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6700 multiarch wcscpy for PPC64.
6702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6703 multiarch implementations.
6704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6705 (__libc_ifunc_impl_list): Likewise.
6706 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6707 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6708 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6709 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6710 multiarch wcsrchr for PPC64.
6712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6713 multiarch implementations.
6714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6715 (__libc_ifunc_impl_list): Likewise.
6716 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6717 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6718 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6719 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6720 multiarch wcschr for PPC64.
6722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6723 multiarch implementations.
6724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6725 (__libc_ifunc_impl_list): Likewise.
6726 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6727 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6728 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6729 multiarch strchrnul for PPC64.
6731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6734 (__libc_ifunc_impl_list): Likewise.
6735 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6736 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6737 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6738 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6744 (__libc_ifunc_impl_list): Likewise.
6745 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6746 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6747 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6748 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6752 multiarch implementations.
6753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6754 (__libc_ifunc_impl_list): Likewise.
6755 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6756 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6757 strncasecmp for PPC64.
6758 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6759 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6760 multiarch strncasecmp_l for PPC64.
6762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6763 multiarch implementations.
6764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6765 (__libc_ifunc_impl_list): Likewise.
6766 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6767 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6768 multiarch strcasecmp for PPC64.
6769 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6771 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6772 multiarch strcasecmp_l for PPC64.
6774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6777 (__libc_ifunc_impl_list): Likewise.
6778 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6779 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6780 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6786 (__libc_ifunc_impl_list): Likewise.
6787 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6788 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6789 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6795 (__libc_ifunc_impl_list): Likewise.
6796 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6797 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6798 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6799 rawmemrchr for PPC64.
6801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6804 (__libc_ifunc_impl_list): Likewise.
6805 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6806 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6807 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6813 (__libc_ifunc_impl_list): Likewise.
6814 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6815 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6816 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6822 (__libc_ifunc_impl_list): Likewise.
6823 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6824 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6825 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6828 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6829 avoid cretion of __bzero symbol.
6830 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6832 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6834 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6836 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6837 multiarch implementations.
6838 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6839 (__libc_ifunc_impl_list): Likewise.
6840 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6841 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6842 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6843 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6845 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6846 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6847 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6848 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6849 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6851 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6853 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6854 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6857 (__libc_ifunc_impl_list): Likewise.
6858 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6859 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6860 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6861 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6864 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6865 multiarch for POWER/PPC64.
6866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6867 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6868 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6869 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6870 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6871 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6872 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6873 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6874 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6877 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6878 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6879 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6880 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6881 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6882 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6883 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6884 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6885 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6886 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6887 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6888 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6889 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6890 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6891 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6900 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6902 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6904 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6906 * benchtests/Makefile (bench): Add exp2 and log2.
6907 (LDLIBS-bench-exp2): Add -lm.
6908 (LDLIBS-bench-log2): Likewise.
6909 * benchtests/exp2-inputs: New inputs file.
6910 * benchtests/log2-inputs: New inputs file.
6911 * benchtests/log-inputs: Add new inputs.
6912 * benchtests/tan-inputs: Likewise.
6914 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6916 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6918 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6919 (csloww2): ... from here.
6921 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6922 instead of structures.
6923 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6924 (POLYNOMIAL): Likewise.
6925 (TAYLOR_SLOW): Likewise.
6933 (bsloww1): Likewise.
6934 (bsloww2): Likewise.
6937 (csloww1): Likewise.
6938 (csloww2): Likewise.
6940 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6942 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6943 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6944 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6945 * malloc/hooks.c (realloc_check): Likewise.
6947 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6948 * malloc/arena.c: Remove PER_THREAD conditional.
6949 [!PER_THREAD]: Remove code.
6950 (ptmalloc_unlock_all2): Likewise.
6951 (ptmalloc_init): Likewise.
6952 (_int_new_arena): Likewise.
6953 (arena_get2): Likewise.
6954 * malloc/hooks.c (__malloc_get_state): Likewise.
6955 (__malloc_set_state): Likewise.
6956 * malloc/malloc.c: Likewise.
6957 (struct malloc_state): Likewise.
6958 (struct malloc_par): Likewise.
6959 (__libc_realloc): Likewise.
6960 (__libc_mallopt): Likewise.
6962 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6964 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6966 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6968 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6969 macro to a function. Check for zero perturb_byte.
6970 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6972 * malloc/malloc.c: (force_reg): Remove.
6973 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6974 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6975 force_reg by atomic_forced_read.
6976 * malloc/arena.c (ptmalloc_init): Likewise.
6977 * malloc/hooks.c (top_check): Likewise.
6979 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6983 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6987 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6989 * math/auto-libm-test-in: Add tests of lgamma.
6990 * math/auto-libm-test-out: Regenerated.
6991 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6992 (M_LOG_2_SQRT_PIl): Likewise.
6993 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6994 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6996 (func_calc_desc): Add mpfr_f_f1 union field.
7005 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7006 (test_functions): Add lgamma.
7007 (calc_generic_results): Handle mpfr_f_f1.
7008 * sysdeps/i386/fpu/libm-test-ulps: Update.
7009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7011 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7013 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7014 __mpn_add_n for PowerPC64/POWER7.
7015 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7016 __mpn_sub_n for PowerPC64/POWER7.
7018 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7019 __mpn_addmul_1 for PowerPC64.
7020 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7021 __mpn_submul_1 for PowerPC64.
7022 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7024 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7027 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7030 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7032 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7034 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7036 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7037 add multiarch folders.
7038 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7039 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7040 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7041 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7042 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7043 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7044 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7045 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7046 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7047 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7048 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7057 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7063 multiarch __ieee754_hypot for PowerPC32.
7064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7069 multiarch __ieee754_hypotf for PowerPC32.
7071 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7072 long_double_symbol only if __logbl is defined.
7073 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7074 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7076 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7077 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7078 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7079 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7080 path for implementation.
7081 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7082 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7084 logb, and logbl multiarch implementations for PowerPC32.
7085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7090 multiarch logb for PowerPC32.
7091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7096 multiarch logbf for PowerPC32.
7097 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7101 multiarch logbl implementation for PowerPC32.
7103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7104 and modff multiarch implementations.
7105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7110 multiarch modf for PowerPC32.
7111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7116 multiarch modff for PowerPC32.
7118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7119 and lrintf multiarch implementations.
7120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7125 multiarch lrint for PowerPC32.
7126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7127 file: multiarch lrintf for PowerPC32.
7129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7130 and lroundf multiarch implementations.
7131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7138 multiarch lround for PowerPC32.
7139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7140 file: multiarch lroundf for PowerPC32.
7142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7143 copysign and copysignf multiarch implementations.
7144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7149 file: multiarch copysign for PowerPC32.
7150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7151 file: multiarch copysignf for PowerPC32.
7153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7154 and truncf multiarch implementations.
7155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7160 multiarch trunc for PowerPC32.
7161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7166 multiarch truncf for PowerPC32.
7168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7169 and roundf multiarch implementations.
7170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7175 multiarch round for PowerPC32.
7176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7181 multiarch roundf for PowerPC32.
7183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7184 and floorf multiarch implementations.
7185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7190 multiarch floor for PowerPC32.
7191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7196 multiarch floorf for PowerPC32.
7198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7199 and ceilf multiarch implementations.
7200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7205 multiarch ceil for PowerPC32.
7206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7211 multiarch ceilf for PowerPC32.
7213 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7215 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7218 and finitef multiarch implementations.
7219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7224 multiarch finite for PowerPC32.
7225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7228 file: multiarch finitef for PowerPC32.
7230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7231 and isinff multiarch implementations.
7232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7237 multiarch isinf for PowerPC32.
7238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7241 multiarch isinff for PowerPC32.
7243 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7244 alias when __isnan is defined.
7245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7246 and isnanf multiarch implementations.
7247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7256 multiarch isnan for PowerPC32.
7257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7262 multiarch isnanf for PowerPC32.
7264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7265 and sqrtf multiarch implementations.
7266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7271 multiarch sqrt for PowerPC32.
7272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7277 multiarch sqrtf for PowerPC32.
7279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7280 and llroundf multiarch implementations.
7281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7288 file: multiarch llround for PowerPC32.
7289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7290 file: multiarch llroundf for PowerPC32.
7292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7293 multiarch PowerPC32 fpu implementations.
7294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7299 multiarch llrint for PowerPC32.
7300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7309 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7311 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7313 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7315 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7316 multiarch wordcopy for PPC32.
7317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7320 (__libc_ifunc_impl_list): Likewise.
7321 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7322 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7323 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7324 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7325 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7326 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7328 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7329 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7331 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7333 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7335 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7336 multiarch wcscpy for PPC32.
7337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7340 (__libc_ifunc_impl_list): Likewise.
7341 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7342 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7343 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7344 sysdeps/powerpc/power6/wcscpy.c.
7346 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7351 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7354 multiarch wcsrchr for PPC32.
7355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7358 (__libc_ifunc_impl_list): Likewise.
7359 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7360 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7361 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7362 sysdeps/powerpc/power6/wcsrchr.c.
7364 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7366 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7368 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7370 multiarch wcschr for PPc32.
7371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7374 (__libc_ifunc_impl_list): Likewise.
7375 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7376 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7377 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7378 sysdeps/powerpc/power6/wcschr.c.
7380 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7381 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7383 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7384 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7385 file: multiarch strchr for PPC32.
7386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7389 (__libc_ifunc_impl_list): Likewise.
7391 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7393 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7395 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7397 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7398 multiarch strchrnul for PPC32.
7399 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7402 (__libc_ifunc_impl_list): Likewise.
7404 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7406 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7407 multiarch strncasecmp for PPC32.
7408 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7410 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7411 multiarch strncasecmp_l for PPC32.
7412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7413 strncasecmp multiarch objects.
7414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7415 (__libc_ifunc_impl_list): Likewise.
7417 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7419 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7420 multiarch strncasecmp for PPC32.
7421 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7423 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7424 multiarch strcasecmp_l for PPC32.
7425 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7427 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7428 (__libc_ifunc_impl_list): Likewise.
7430 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7432 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7434 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7435 multiarch strncmp for PPC32.
7436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7439 (__libc_ifunc_impl_list): Likewise.
7441 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7442 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7444 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7445 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7449 (__libc_ifunc_impl_list): Likewise.
7451 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7453 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7455 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7459 (__libc_ifunc_impl_list): Likewise.
7461 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7463 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7465 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7466 multiarch rawmemchr for PPC32.
7467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7470 (__libc_ifunc_impl_list): Likewise.
7472 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7474 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7476 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7477 file: memrchr multiarch for PPC32.
7478 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7480 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7481 (__libc_ifunc_impl_list): Likewise.
7483 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7484 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7486 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7487 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7488 multiarch memchr for PPC32.
7489 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7491 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7492 (__libc_ifunc_impl_list): Likewise.
7494 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7495 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7497 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7499 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7500 file: multiarch mempcpy for PPC32.
7501 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7503 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7504 (__libc_ifunc_impl_list): Likewise.
7506 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7507 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7508 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7509 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7510 multiarch bzero for PPC32.
7511 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7513 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7515 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7516 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7517 file: multiarch memset for PPC32.
7518 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7520 memset multiarch objects.
7521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7522 (__libc_ifunc_impl_list): Likewise.
7524 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7526 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7527 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7529 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7530 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7532 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7533 (__libc_ifunc_impl_list): Likewise.
7535 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7536 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7537 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7539 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7541 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7543 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7544 multiarch memcpy for PPC32.
7545 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7547 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7548 (__libc_ifunc_impl_list): Likewise.
7550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7551 support multiarch for POWER/PPC32.
7552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7554 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7556 Implies file to make multiarch folder appers before the fpu and
7557 default folder for power4 configuration.
7559 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7561 * scripts/bench.pl: Append volatile keyword to type.
7563 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7565 * sysdeps/sh/sotruss-lib.c: New file.
7566 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7568 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7572 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7575 * math/w_tgamma.c: Include <errno.h>.
7576 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7577 * math/w_tgammaf.c: Include <errno.h>.
7578 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7579 * math/w_tgammal.c: Include <errno.h>.
7580 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7581 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7582 underflow. Add more tgamma tests.
7583 * math/auto-libm-test-out: Regenerated.
7584 * sysdeps/i386/fpu/libm-test-ulps: Update.
7585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7587 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7588 sin, sinh, tan, tanh, tgamma, y0 and y1.
7589 * math/auto-libm-test-out: Regenerated.
7590 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7591 (TEST_COND_x86): Likewise.
7592 (M_E2l): Remove macro.
7594 (M_2_SQRT_PIl): Likewise.
7595 (M_SQRT_PIl): Likewise.
7596 (M_1_DIV_El): Likewise.
7597 (log_test_data): Use AUTO_TESTS_f_f.
7598 (log10_test_data): Likewise.
7599 (log1p_test_data): Likewise.
7600 (log2_test_data): Likewise.
7601 (sin_test_data): Likewise.
7602 (sin_tonearest_test_data): Likewise.
7603 (sin_towardzero_test_data): Likewise.
7604 (sin_downward_test_data): Likewise.
7605 (sin_upward_test_data): Likewise.
7606 (sinh_test_data): Likewise.
7607 (sinh_tonearest_test_data): Likewise.
7608 (sinh_towardzero_test_data): Likewise.
7609 (sinh_downward_test_data): Likewise.
7610 (sinh_upward_test_data): Likewise.
7611 (tan_test_data): Likewise.
7612 (tan_tonearest_test_data): Likewise.
7613 (tan_towardzero_test_data): Likewise.
7614 (tan_downward_test_data): Likewise.
7615 (tan_upward_test_data): Likewise.
7616 (tanh_test_data): Likewise.
7617 (tgamma_test_data): Likewise.
7618 (y0_test_data): Likewise.
7619 (y1_test_data): Likewise.
7620 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7621 (special_real_inputs): Add pi/4.
7622 * sysdeps/i386/fpu/libm-test-ulps: Update.
7623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7625 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7627 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7628 "longjmp_target" static probes.
7629 (__longjmp): Rename to __longjmp_symbol.
7630 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7631 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7632 on which longjmp to generate.
7633 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7634 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7636 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7637 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7638 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7639 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7640 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7641 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7643 __longjmp_symbol based on which __longjmp to generate.
7644 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7646 (setjmp): Rename to setjmp_symbol.
7647 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7648 (_setjmp): Rename to _setjmp_symbol.
7649 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7650 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7651 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7652 which setjmp to generate.
7653 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7654 "longjmp_target" static probes.
7656 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7658 * benchtests/README: Add note about output arguments.
7659 * benchtests/bench-sincos.c: Remove file.
7660 * benchtests/sincos-inputs: New file.
7661 * scripts/bench.pl: Identify output arguments and define
7662 static variables for them.
7664 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7667 * Makefile (INSTALL): Add install-plain.texi as the primary
7669 * manual/install-plain.texi: New file.
7670 * manual/install.texi: Include node directive only for
7671 non-plaintext output.
7673 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7675 * stdlib/longlong.h: Update from GCC.
7679 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7680 * math/w_j0f.c (y0f): Likewise.
7681 * math/w_j0l.c (__y0l): Likewise.
7682 * math/w_j1.c (y1): Likewise.
7683 * math/w_j1f.c (y1f): Likewise.
7684 * math/w_j1l.c (__y1l): Likewise
7685 * math/w_jn.c (yn): Likewise.
7686 * math/w_jnf.c (ynf): Likewise.
7687 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7688 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7689 value for Bessel function domain errors outside _SVID_ mode.
7690 Adjust sign of return value for yn (negative integer, 0).
7691 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7692 by zero in return for negative x and set sign appropriately for
7694 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7695 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7696 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7697 expectations in error cases.
7698 (y1_test_data): Likewise.
7699 (yn_test_data): Likewise.
7700 * sysdeps/i386/fpu/libm-test-ulps: Update.
7701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7703 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7705 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7706 "64" to "64-v1". Add "64-v2".
7707 (abi-64-options): Rename to ...
7708 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7709 (abi-64-condition): Rename to ...
7710 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7711 (abi-64-ld-soname): Rename to ...
7712 (abi-64-v1-ld-soname): ... this.
7713 (abi-64-v2-options): Define.
7714 (abi-64-v2-condition): Likewise.
7715 (abi-64-v2-ld-soname): Likewise.
7716 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7717 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7722 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7723 Alan Modra <amodra@gmail.com>
7725 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7726 New versions for use with the ELFv2 ABI.
7727 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7728 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7730 (struct La_ppc64v2_retval): Likewise.
7731 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7732 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7733 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7734 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7735 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7736 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7737 Do not save or restore CR.
7738 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7739 (_dl_profile_resolve): Do no save or restore CR. Support extended
7740 return values for ELFv2 ABI. Fix location of FPR return registers.
7741 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7742 updated values for _CALL_ELF == 2.
7743 (La_regs, La_retval, int_retval): Likewise.
7745 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7747 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7748 (FRAME_MIN_SIZE_PARM): Likewise.
7749 (FRAME_BACKCHAIN): Likewise.
7750 (FRAME_CR_SAVE): Likewise.
7751 (FRAME_LR_SAVE): Likewise.
7752 (FRAME_TOC_SAVE): Likewise.
7753 (FRAME_PARM_SAVE): Likewise.
7754 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7755 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7756 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7757 (call_mcount_parm_offset): New macro.
7758 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7759 (PROF): Use symbolic stack frame offsets.
7760 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7761 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7762 Redefine in terms of FRAME_MIN_SIZE.
7763 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7764 (_dl_profile_resolve): Likewise. Update comment.
7765 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7766 symbols stack frame offsets.
7767 (__sigsetjmp): Likewise.
7768 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7769 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7770 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7771 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7774 (FRAME_BACKCHAIN): Remove.
7775 (FRAME_CR_SAVE): Likewise.
7776 (FRAME_LR_SAVE): Likewise.
7777 (FRAME_COMPILER_DW): Likewise.
7778 (FRAME_LINKER_DW): Likewise.
7779 (FRAME_TOC_SAVE): Likewise.
7780 (FRAME_PARM_SAVE): Likewise.
7781 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7782 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7783 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7785 (CHECK_SP): Use symbolic stack frame offsets.
7786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7787 zone" instead of caller's parameter save area for temp storage.
7788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7789 Likewise. Also, use symbolic stack frame offsets.
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7791 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7792 our own stack frame instead of the caller's.
7793 (__socket): Use symbolic stack frame offsets.
7795 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7796 Alan Modra <amodra@gmail.com>
7798 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7800 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7801 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7802 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7804 (elf_machine_fixup_plt): Call it.
7805 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7807 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7808 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7809 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7810 r2 before calling target.
7812 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7813 Alan Modra <amodra@gmail.com>
7815 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7816 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7817 versions of macros to support ELFv2 ABI.
7818 (LOCALENTRY): New macro.
7819 (ENTRY, EALIGN): Use it.
7820 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7821 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7822 fall through into ENTRY entry point.
7823 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7824 Only define if _CALL_ELF != 2.
7826 (elf_machine_matches_host): Verify ABI version matches.
7827 (RTLD_START): Use LOCALENTRY.
7828 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7829 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7830 (PLT_ENTRY_WORDS): New macro.
7831 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7832 (elf_machine_runtime_setup): Support ELFv2 ABI.
7833 (elf_machine_fixup_plt): Likewise.
7834 (elf_machine_plt_conflict): Likewise.
7835 (resolve_ifunc): Likewise.
7836 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7837 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7840 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7842 (makecontext): Support ELFv2 ABI.
7843 * elf/elf.h (EF_PPC64_ABI): Define.
7845 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7847 * sysdeps/powerpc/powerpc64/sysdep.h
7848 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7849 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7850 (ENTRY) [ASSEMBLER]: ... but instead here ...
7851 (EALIGN) [ASSEMBLER]: ... and here.
7852 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7853 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7854 (ENTRY_2) [!ASSEMBLER]: Use it.
7855 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7856 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7857 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7858 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7859 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7861 Use PPC64_LOAD_FUNCPTR.
7863 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7865 2013-12-04 Alan Modra <amodra@gmail.com>
7867 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7868 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7869 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7870 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7872 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7873 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7874 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7875 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7876 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7877 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7879 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7882 (__makecontext): Fix incorrect CFI when backtracing out of
7883 context created via makecontext.
7884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7885 (__setcontext): Fix incorrect CFI during switch to new context.
7886 (__novec_setcontext): Likewise.
7888 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7891 * time/strptime_l.c (__strptime_internal): Allow modifiers
7893 * time/tst-strptime.c (day_tests): Add testcase.
7895 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7897 * scripts/bench.pl: Skip over blank lines.
7899 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7902 * manual/time.texi (Calendar Time): Clarify what timezone functions
7905 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7909 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7911 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7913 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7914 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7915 * debug/memset_chk.c (__memset_chk): Likewise.
7916 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7917 * debug/strncpy_chk.c: Likewise.
7919 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7923 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7924 (__ieee754_exp): For possibly underflowing results, check size of
7925 result and force underflow exception if required.
7926 * math/auto-libm-test-in: Add more tests of exp.
7927 * math/auto-libm-test-out: Regenerated.
7928 * sysdeps/i386/fpu/libm-test-ulps: Update.
7929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7932 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7933 * math/w_exp2f.c (__exp2f): Likewise.
7934 * math/w_exp2l.c (__exp2l): Likewise.
7935 * math/auto-libm-test-in: Do not allow missing errno on exp2
7937 * math/auto-libm-test-out: Regenerated.
7939 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7942 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7943 handle filename validation.
7944 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7947 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7950 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7951 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7952 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7954 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7955 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7956 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7957 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7958 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7959 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7960 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7961 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7962 Add more erfc tests.
7963 * math/auto-libm-test-out: Regenerated.
7964 * sysdeps/i386/fpu/libm-test-ulps: Update.
7965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7967 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7968 exp2, expm1, j0 and j1.
7969 * math/auto-libm-test-out: Regenerated.
7970 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7971 (erfc_test_data): Likewise.
7972 (exp_test_data): Likewise.
7973 (exp_tonearest_test_data): Likewise.
7974 (exp_towardzero_test_data): Likewise.
7975 (exp_downward_test_data): Likewise.
7976 (exp_upward_test_data): Likewise.
7977 (exp10_test_data): Likewise.
7978 (exp2_test_data): Likewise.
7979 (expm1_test_data): Likewise.
7980 (j0_test_data): Likewise.
7981 (j1_test_data): Likewise.
7982 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7983 (input_flag_type): Add flag_xfail_rounding.
7984 (input_flags): Add xfail-rounding.
7985 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7986 (output_for_one_input_case): Handle flag_xfail_rounding.
7987 * sysdeps/i386/fpu/libm-test-ulps: Update.
7988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7990 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7993 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7996 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7999 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8000 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8001 (STAP_PROBE0): New macro.
8002 (STAP_PROBE1): Likewise.
8003 (STAP_PROBE2): Likewise.
8004 (STAP_PROBE3): Likewise.
8005 (STAP_PROBE4): Likewise.
8007 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8009 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8011 2013-12-02 Steve Ellcey <sellcey@mips.com>
8013 * benchtests/Makefile (bench): Add sqrt.
8014 (LDLIBS-bench-sqrt): New.
8015 * benchtests/sqrt-input: New.
8017 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8019 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8020 (GAIH_EAI): Likewise.
8021 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8022 (gaih_inet): Likewise.
8023 (getaddrinfo): Don't use GAIH_EAI.
8025 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8026 (struct gaih): Remove definition.
8028 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8030 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8031 Use HERRNOP directly.
8033 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8037 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8039 * math/gen-auto-libm-tests.c (test_functions): Add more
8040 single-argument functions.
8041 (special_fill_pi_2): New function.
8042 (special_fill_minus_pi_2): Likewise.
8043 (special_fill_pi_6): Likewise.
8044 (special_fill_minus_pi_6): Likewise.
8045 (special_fill_pi_3): Likewise.
8046 (special_fill_2pi_3): Likewise.
8047 (special_fill_e): Likewise.
8048 (special_fill_1_e): Likewise.
8049 (special_fill_e_minus_1): Likewise.
8050 (special_real_inputs): Add more special inputs.
8051 (output_for_one_input_case): Do not require ERANGE on underflow to
8052 zero if round-to-nearest result does not underflow to zero, unless
8053 exact results required.
8054 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8055 atan, atanh, cbrt, cos and cosh.
8056 * math/auto-libm-test-out: Regenerated.
8057 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8058 (acos_tonearest_test_data): Likewise.
8059 (acos_towardzero_test_data): Likewise.
8060 (acos_downward_test_data): Likewise.
8061 (acos_upward_test_data): Likewise.
8062 (acosh_test_data): Likewise.
8063 (asin_test_data): Likewise.
8064 (asin_tonearest_test_data): Likewise.
8065 (asin_towardzero_test_data): Likewise.
8066 (asin_upward_test_data): Likewise.
8067 (asinh_test_data): Likewise.
8068 (atan_test_data): Likewise.
8069 (atanh_test_data): Likewise.
8070 (cbrt_test_data): Likewise.
8071 (cos_test_data): Likewise.
8072 (cos_tonearest_test_data): Likewise.
8073 (cos_towardzero_test_data): Likewise.
8074 (cos_downward_test_data): Likewise.
8075 (cos_upward_test_data): Likewise.
8076 (cosh_test_data): Likewise.
8077 (cosh_tonearest_test_data): Likewise.
8078 (cosh_towardzero_test_data): Likewise.
8079 (cosh_downward_test_data): Likewise.
8080 (cosh_upward_test_data): Likewise.
8081 * sysdeps/i386/fpu/libm-test-ulps: Update.
8082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8084 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8087 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8088 * math/w_exp10f.c (__exp10f): Likewise.
8089 * math/w_exp10l.c (__exp10l): Likewise.
8090 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8091 errno settings in existing tests.
8094 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8095 precision control set to double precision.
8096 * sysdeps/i386/fpu/w_sqrt.c: New file.
8097 * math/auto-libm-test-in: Add more tests.
8098 * math/auto-libm-test-out: Update.
8100 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8101 (sqrt_test_tonearest): New function.
8102 (sqrt_towardzero_test_data): New variable.
8103 (sqrt_test_towardzero): New function.
8104 (sqrt_downward_test_data): New variable.
8105 (sqrt_test_downward): New function.
8106 (sqrt_upward_test_data): New variable.
8107 (sqrt_test_upward): New function.
8108 (main): Call the new functions.
8110 * math/gen-auto-libm-tests.c: New file.
8111 * math/auto-libm-test-in: Likewise.
8112 * math/auto-libm-test-out: New generated file.
8113 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8115 (%beautify): Add generated representations of zero.
8116 (top level): Set $auto_input and call parse_auto_input.
8117 (beautify): Remove trailing "f" from hex float constants.
8118 (parse_args): Handle XFAIL_TEST.
8119 (convert_condition): New function.
8120 (or_value): Likewise.
8121 (or_cond_value): Likewise.
8122 (generate_testfile): Handle AUTO_TESTS_* lines.
8123 (parse_auto_input): New function.
8124 * math/libm-test.inc (XFAIL_TEST): New macro.
8125 (ERRNO_UNCHANGED): Update value.
8126 (ERRNO_EDOM): Likewise.
8127 (ERRNO_ERANGE): Likewise.
8128 (IGNORE_RESULT): Likewise.
8129 (TEST_COND_flt_32): New macro.
8130 (TEST_COND_dbl_64): Likewise.
8131 (TEST_COND_ldbl_96_intel): Likewise.
8132 (TEST_COND_ldbl_96_m68k): Likewise.
8133 (TEST_COND_ldbl_128): Likewise.
8134 (TEST_COND_ldbl_128ibm): Likewise.
8135 (TEST_COND_long32): Likewise.
8136 (TEST_COND_long64): Likewise.
8137 (TEST_COND_before_rounding): Likewise.
8138 (TEST_COND_after_rounding): Likewise.
8139 (enable_test): Handle XFAIL_TEST flag.
8140 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8141 with finite results.
8142 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8145 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8146 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8149 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8150 __tls_get_addr_internal instead of __tls_get_offset in order to
8151 avoid GOT pointer dependency. Make rtld export
8152 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8153 __tls_get_addr since we are a __tls_get_offset platform.
8154 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8155 GOT pointer being set up before.
8156 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8158 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8160 * manual/math.texi (Errors in Math Functions): Document accuracy
8164 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8165 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8166 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8167 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8168 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8169 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8170 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8171 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8172 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8173 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8174 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8175 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8176 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8177 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8178 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8179 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8181 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8182 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8183 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8184 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8185 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8187 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8189 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8191 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8192 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8193 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8194 atomic-feupdateenv and flt-rounds.
8195 * sysdeps/powerpc/nofpu/Versions (libc): Add
8196 __atomic_feholdexcept, __atomic_feclearexcept,
8197 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8198 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8199 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8200 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8201 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8206 * manual/arith.texi (FP Exceptions): Document that exceptions may
8207 not be raised when matherr is used.
8208 (Math Error Reporting): Document overflow in directed rounding
8209 modes. Document that errno may not be set when finite values are
8210 returned on overflow. Document intent to set errno on underflow
8211 only for underflow to zero.
8214 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8215 round-to-nearest then adjust result for other rounding modes.
8216 * include/fenv.h (fegetround): Use libm_hidden_proto.
8217 * math/fegetround.c (fegetround): Use libm_hidden_def.
8218 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8219 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8220 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8221 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8223 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8224 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8225 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8226 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8228 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8231 * nss/Versions (libnss_files): Add
8232 _nss_files_gethostbyname3_r.
8233 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8235 (HOST_DB_LOOKUP): Remove macro.
8236 (_nss_files_gethostbyname_r): Implement function without the
8237 HOST_DB_LOOKUP macro.
8238 (_nss_files_gethostbyname2_r): Likewise.
8240 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
8242 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8244 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
8246 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8247 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8250 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8252 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8253 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8254 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8255 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8256 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8257 __fe_nomask_env_priv and attribute_hidden.
8258 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8259 (libc_feupdateenv_test_ppc): Likewise.
8260 (libc_feresetround_ppc): Likewise.
8261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8262 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8263 compat_symbol macro.
8264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8265 (__fe_nomask_env): Likewise.
8266 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8268 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8270 * string/Makefile: Remove ifunc tests.
8271 * string/test-string.h: Define TEST_IFUNC.
8272 * string/test-bcopy-ifunc.c: Remove.
8273 * string/test-bzero-ifunc.c: Likewise.
8274 * string/test-memccpy-ifunc.c: Likewise.
8275 * string/test-memchr-ifunc.c: Likewise.
8276 * string/test-memcmp-ifunc.c: Likewise.
8277 * string/test-memcpy-ifunc.c: Likewise.
8278 * string/test-memmem-ifunc.c: Likewise.
8279 * string/test-memmove-ifunc.c: Likewise.
8280 * string/test-mempcpy-ifunc.c: Likewise.
8281 * string/test-memrchr-ifunc.c: Likewise.
8282 * string/test-memset-ifunc.c: Likewise.
8283 * string/test-rawmemchr-ifunc.c: Likewise.
8284 * string/test-stpcpy-ifunc.c: Likewise.
8285 * string/test-stpncpy-ifunc.c: Likewise.
8286 * string/test-strcasecmp-ifunc.c: Likewise.
8287 * string/test-strcasestr-ifunc.c: Likewise.
8288 * string/test-strcat-ifunc.c: Likewise.
8289 * string/test-strchr-ifunc.c: Likewise.
8290 * string/test-strchrnul-ifunc.c: Likewise.
8291 * string/test-strcmp-ifunc.c: Likewise.
8292 * string/test-strcpy-ifunc.c: Likewise.
8293 * string/test-strcspn-ifunc.c: Likewise.
8294 * string/test-strlen-ifunc.c: Likewise.
8295 * string/test-strncasecmp-ifunc.c: Likewise.
8296 * string/test-strncat-ifunc.c: Likewise.
8297 * string/test-strncmp-ifunc.c: Likewise.
8298 * string/test-strncpy-ifunc.c: Likewise.
8299 * string/test-strnlen-ifunc.c: Likewise.
8300 * string/test-strpbrk-ifunc.c: Likewise.
8301 * string/test-strrchr-ifunc.c: Likewise.
8302 * string/test-strspn-ifunc.c: Likewise.
8303 * string/test-strstr-ifunc.c: Likewise.
8305 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8307 * benchtests/Makefile: Remove ifunc tests.
8308 * benchtests/bench-string.h: Define TEST_IFUNC.
8309 * benchtests/bench-bcopy-ifunc.c: Remove.
8310 * benchtests/bench-bzero-ifunc.c: Likewise.
8311 * benchtests/bench-memccpy-ifunc.c: Likewise.
8312 * benchtests/bench-memchr-ifunc.c: Likewise.
8313 * benchtests/bench-memcmp-ifunc.c: Likewise.
8314 * benchtests/bench-memcpy-ifunc.c: Likewise.
8315 * benchtests/bench-memmem-ifunc.c: Likewise.
8316 * benchtests/bench-memmove-ifunc.c: Likewise.
8317 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8318 * benchtests/bench-memrchr-ifunc.c: Likewise.
8319 * benchtests/bench-memset-ifunc.c: Likewise.
8320 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8321 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8322 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8323 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8324 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8325 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8326 * benchtests/bench-strcat-ifunc.c: Likewise.
8327 * benchtests/bench-strchr-ifunc.c: Likewise.
8328 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8329 * benchtests/bench-strcmp-ifunc.c: Likewise.
8330 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8331 * benchtests/bench-strcpy-ifunc.c: Likewise.
8332 * benchtests/bench-strcspn-ifunc.c: Likewise.
8333 * benchtests/bench-strlen-ifunc.c: Likewise.
8334 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8335 * benchtests/bench-strncat-ifunc.c: Likewise.
8336 * benchtests/bench-strncmp-ifunc.c: Likewise.
8337 * benchtests/bench-strncpy-ifunc.c: Likewise.
8338 * benchtests/bench-strnlen-ifunc.c: Likewise.
8339 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8340 * benchtests/bench-strrchr-ifunc.c: Likewise.
8341 * benchtests/bench-strsep-ifunc.c: Likewise.
8342 * benchtests/bench-strspn-ifunc.c: Likewise.
8343 * benchtests/bench-strstr-ifunc.c: Likewise.
8345 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8347 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8349 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8351 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8352 * rt/aio.h: Likewise.
8353 * sysdeps/gnu/bits/utmp.h: Likewise.
8354 * sysdeps/gnu/bits/utmpx.h: Likewise.
8355 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8356 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8357 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8358 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8359 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8360 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8361 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8362 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8363 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8364 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8365 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8366 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8367 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8369 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8370 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8371 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8372 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8373 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8374 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8375 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8376 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8377 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8378 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8379 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8381 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8382 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8383 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8384 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8385 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8386 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8387 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8388 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8389 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8390 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8391 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8392 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8393 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8394 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8395 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8396 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8398 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8401 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8402 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8404 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8406 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8407 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8410 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8413 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8414 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8415 (__fesetround): Remove define.
8416 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8417 rounding and exceptions handling.
8418 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8419 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8420 (__fe_nomask_env): Likewise.
8421 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8422 __fegetround instead of fegetround.
8423 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8424 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8426 2013-11-21 Roland McGrath <roland@hack.frob.com>
8428 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8431 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8433 2013-11-21 Meador Inge <meadori@codesourcery.com>
8436 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8437 (encrypt_r): Likewise.
8438 * malloc/obstack.h (obstack_free): Likewise.
8439 * posix/unistd.h (encrypt): Likewise.
8441 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8443 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8444 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8445 DL_CALL_DT_FINI() that call the functions directly.
8446 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8447 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8448 * elf/dl-fini.c: Likewise.
8450 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8452 * malloc/hooks.c (memalign_check): Add alignment rounding.
8453 * malloc/malloc.c (_mid_memalign): New function.
8454 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8455 Implement by calling _mid_memalign.
8456 * manual/probes.texi (Memory Allocation Probes): Remove
8457 memory_valloc_retry and memory_pvalloc_retry.
8459 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8461 * locale/programs/locarchive.c (open_archive): Add const
8462 qualifier to ARCHIVEFNAME and copy default fname to
8466 * libio/tst-widetext.input: Rename Oriya to Odia.
8467 * locale/iso-639.def: Likewise.
8469 * manual/probes.texi (Mathematical Function Probes): Add
8470 documentation for sin, cos, asin and acos probes.
8471 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8472 (__sin32): Add slowasin probe.
8473 (__cos32): Add slowacos probe.
8474 (__mpsin): Add slowsin probe.
8475 (__mpcos): Add slowcos probe.
8477 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8480 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8481 thread-local __sim_exceptions_thread and global
8482 __sim_exceptions_global.
8483 (__sim_disabled_exceptions): Change to thread-local
8484 __sim_disabled_exceptions_thread and global
8485 __sim_disabled_exceptions_global.
8486 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8487 and global __sim_round_mode_global.
8488 (__simulate_exceptions): Use thread-local floating-point state and
8489 set global state from it as needed.
8490 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8491 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8492 __sim_round_mode_thread.
8493 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8494 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8495 and global __sim_exceptions_global.
8496 (__sim_disabled_exceptions): Change to thread-local
8497 __sim_disabled_exceptions_thread and global
8498 __sim_disabled_exceptions_global.
8499 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8500 and global __sim_round_mode_global.
8501 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8502 (SIM_SET_GLOBAL): Likewise.
8503 * sysdeps/powerpc/soft-fp/sfp-machine.h
8504 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8505 __sim_round_mode_thread.
8506 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8507 __sim_disabled_exceptions_thread.
8508 (__sim_exceptions): Change to __sim_exceptions_thread.
8509 (__sim_disabled_exceptions): Change to
8510 __sim_disabled_exceptions_thread.
8511 (__sim_round_mode): Change to __sim_round_mode_thread.
8512 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8513 thread-local floating-point state and set global state from it as
8515 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8516 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8517 (__sim_disabled_exceptions): Remove extern declaration.
8518 (feenableexcept): Use thread-local floating-point state and set
8519 global state from it as needed.
8520 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8522 (__sim_disabled_exceptions): Likewise.
8523 (__sim_round_mode): Likewise.
8524 (__fegetenv): Use thread-local floating-point state.
8525 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8526 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8527 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8528 floating-point state and set global state from it as needed.
8529 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8530 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8531 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8533 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8534 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8536 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8537 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8538 Use __sim_round_mode_thread.
8539 * math/test-fenv-tls.c: New file.
8540 * math/Makefile (tests): Add test-fenv-tls.
8541 ($(objpfx)test-fenv-tls): Depend on
8542 $(common-objpfx)nptl/libpthread.so.
8544 2013-11-19 Andreas Schwab <schwab@suse.de>
8546 * locale/programs/locale.c (show_info): Decode wordarray elements.
8547 * locale/categories.def (LC_MONETARY): Add element for
8548 _NL_MONETARY_CRNCYSTR.
8549 * locale/C-monetary.c (conversion_rate): New variable.
8550 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8553 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8555 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8556 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8558 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8560 * elf/Makefile (tst-auxv): New test.
8561 * elf/tst-auxv.c: New
8562 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8564 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8566 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8567 (hidden_proto): Caller changed.
8568 (hidden_tls_proto): New macro.
8569 (libc_hidden_tls_proto): Likewise.
8570 (rtld_hidden_tls_proto): Likewise.
8571 (libm_hidden_tls_proto): Likewise.
8572 (libresolv_hidden_tls_proto): Likewise.
8573 (librt_hidden_tls_proto): Likewise.
8574 (libdl_hidden_tls_proto): Likewise.
8575 (libnss_files_hidden_tls_proto): Likewise.
8576 (libnsl_hidden_tls_proto): Likewise.
8577 (libnss_nisplus_hidden_tls_proto): Likewise.
8578 (libutil_hidden_tls_proto): Likewise.
8580 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8583 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8584 (decompose_rpath): Defer expansion to fillin_rpath.
8585 (_dl_init_paths): Pass linkmap to fillin_rpath.
8587 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8589 * benchtests/Makefile: Add strsep.
8590 * benchtests/bench-strsep.c: New file: strsep benchtest.
8591 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8593 2013-11-18 Andreas Schwab <schwab@suse.de>
8595 * locale/programs/locale.c (show_info) [case byte]: Check for
8596 '\377' instead of '\177'.
8597 * locale/C-monetary.c (not_available): Always use "\377".
8598 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8599 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8600 detect unavailable sign_posn locale elements.
8601 * locale/localeconv.c (__localeconv): For grouping and
8602 mon_grouping handle "\177" and "\377" like no grouping.
8603 (INT_ELEM): New macro. Use it to set all numeric members.
8604 * locale/programs/ld-monetary.c (monetary_read)
8605 <tok_mon_grouping>: Normalize single -1 to the empty string.
8606 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8609 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8612 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8613 when we match (nil).
8614 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8616 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8618 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8619 (NO_TEST_INLINE): Update value.
8620 (ERRNO_UNCHANGED): Likewise.
8621 (ERRNO_EDOM): Likewise.
8622 (ERRNO_ERANGE): Likewise.
8623 (IGNORE_RESULT): Likewise.
8624 (check_float_internal): Check signs of NaN results if
8626 (check_complex): Pass TEST_NAN_SIGN flag through to second
8627 check_float_internal call.
8628 (copysign_test_data): Add tests with quiet NaNs as second
8629 argument. Use TEST_NAN_SIGN.
8630 (fabs_test_data): Add test of negative quiet NaN argument. Use
8632 (signbit_test_data): Add tests of quiet NaN argument.
8633 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8635 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8637 (parse_args): Handle function results specified as IGNORE.
8638 * math/libm-test.inc (IGNORE_RESULT): New macro.
8639 (check_float_internal): Do not check numerical result if flag
8641 (check_complex): Pass through IGNORE_RESULT to second
8642 check_float_internal call.
8643 (check_int): Do not check numerical result if flag IGNORE_RESULT
8645 (check_long): Likewise.
8646 (check_bool): Likewise.
8647 (check_longlong): Likewise.
8648 (lrint_test_data): Add tests of infinite and NaN arguments.
8649 (lrint_tonearest_test_data): Likewise.
8650 (lrint_towardzero_test_data): Likewise.
8651 (lrint_downward_test_data): Likewise.
8652 (lrint_upward_test_data): Likewise.
8653 (llrint_test_data): Likewise.
8654 (llrint_tonearest_test_data): Likewise.
8655 (llrint_towardzero_test_data): Likewise.
8656 (llrint_downward_test_data): Likewise.
8657 (llrint_upward_test_data): Likewise.
8658 (lround_test_data): Likewise.
8659 (llround_test_data): Likewise.
8661 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8662 (ERRNO_UNCHANGED): Update value.
8663 (ERRNO_EDOM): Likewise.
8664 (ERRNO_ERANGE): Likewise.
8665 (NO_TEST_INLINE_FLOAT): New macro.
8666 (NO_TEST_INLINE_DOUBLE): Likewise.
8667 (enable_test): New function.
8668 (RUN_TEST_f_f): Check enable_test before running test.
8669 (RUN_TEST_2_f): Likewise.
8670 (RUN_TEST_fff_f): Likewise.
8671 (RUN_TEST_c_f): Likewise.
8672 (RUN_TEST_f_f1): Likewise.
8673 (RUN_TEST_fF_f1): Likewise.
8674 (RUN_TEST_fI_f1): Likewise.
8675 (RUN_TEST_ffI_f1): Likewise.
8676 (RUN_TEST_c_c): Likewise.
8677 (RUN_TEST_cc_c): Likewise.
8678 (RUN_TEST_f_i): Likewise.
8679 (RUN_TEST_f_i_tg): Likewise.
8680 (RUN_TEST_ff_i_tg): Likewise.
8681 (RUN_TEST_f_b): Likewise.
8682 (RUN_TEST_f_b_tg): Likewise.
8683 (RUN_TEST_f_l): Likewise.
8684 (RUN_TEST_f_L): Likewise.
8685 (RUN_TEST_fFF_11): Likewise.
8686 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8688 (cosh_test_data): Likewise.
8689 (exp_test_data): Likewise.
8690 (expm1_test_data): Likewise.
8691 (hypot_test_data): Likewise.
8692 (pow_test_data): Likewise.
8693 (sinh_test_data): Likewise.
8694 (tanh_test_data): Likewise.
8695 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8698 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8699 tests with quiet NaN input and output.
8700 (acosh_test_data): Likewise.
8701 (asin_test_data): Likewise.
8702 (asinh_test_data): Likewise.
8703 (atan_test_data): Likewise.
8704 (atanh_test_data): Likewise.
8705 (atan2_test_data): Likewise.
8706 (cbrt_test_data): Likewise.
8707 (cos_test_data): Likewise.
8708 (cosh_test_data): Likewise.
8709 (erf_test_data): Likewise.
8710 (erfc_test_data): Likewise.
8711 (exp_test_data): Likewise.
8712 (exp10_test_data): Likewise.
8713 (exp2_test_data): Likewise.
8714 (expm1_test_data): Likewise.
8715 (hypot_test_data): Likewise.
8716 (j0_test_data): Likewise.
8717 (j1_test_data): Likewise.
8718 (jn_test_data): Likewise.
8719 (lgamma_test_data): Likewise.
8720 (log_test_data): Likewise.
8721 (log10_test_data): Likewise.
8722 (log1p_test_data): Likewise.
8723 (log2_test_data): Likewise.
8724 (pow_test_data): Likewise.
8725 (scalb_test_data): Likewise.
8726 (sin_test_data): Likewise.
8727 (sincos_test_data): Likewise.
8728 (sinh_test_data): Likewise.
8729 (tan_test_data): Likewise.
8730 (tanh_test_data): Likewise.
8731 (tgamma_test_data): Likewise.
8732 (y0_test_data): Likewise.
8733 (y1_test_data): Likewise.
8734 (yn_test_data): Likewise.
8737 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8738 argument being NaN and avoid computations with second argument in
8740 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8741 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8742 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8744 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8746 * locale/iso-639.def: Add Chitwani Tharu (the).
8748 2013-11-14 Andreas Schwab <schwab@suse.de>
8750 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8751 word instead of empty string.
8753 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8756 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8758 (__fe_nomask_env): Likewise.
8760 2013-11-13 Steve Ellcey <sellcey@mips.com>
8762 * benchtests/bench-timing.h: Include time.h.
8764 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8767 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8769 * sysdeps/unix/sysv/linux/configure: Regenerated.
8771 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8774 * stdlib/strtod_l.c (round_and_return): Do not consider
8775 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8776 exponent one less than half the least subnormal exponent.
8777 * stdlib/test-strtod-round-data: Add more tests.
8778 * stdlib/tst-strtod-round.c (tests): Regenerated.
8780 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8783 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8784 (__fe_mask_env): Likewise.
8785 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8786 libm_hidden_proto and add function prototype.
8787 (__fe_mask_env): Add function prototype.
8788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8789 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8791 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8793 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8795 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8797 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8798 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8800 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8802 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8803 of htab_find_slot().
8805 2013-11-11 David S. Miller <davem@davemloft.net>
8808 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8809 symbol in the non-vis3 case in static builds.
8810 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8811 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8812 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8813 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8815 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8818 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8821 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8823 * benchtests/Makefile: Add bench-strtod.
8824 * benchtests/bench-strtod.c: New file: strtod benchtest
8826 2013-11-11 Andreas Schwab <schwab@suse.de>
8829 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8830 terminating NUL in key length.
8832 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8834 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8835 Add artificial ODP entry for vDSO symbol for PPC64.
8836 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8837 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8839 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8842 * nss/getent.c (services_keys): Recognize services starting with digit.
8844 2013-11-06 David S. Miller <davem@davemloft.net>
8847 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8848 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8850 2013-11-06 Will Newton <will.newton@linaro.org>
8852 * manual/memory.texi (Malloc Examples): Remove register
8853 keyword from examples.
8855 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8857 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8859 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8862 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8863 depending on [__GCC_IEC_559 > 0].
8864 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8865 depending on [__GCC_IEC_559_COMPLEX > 0].
8867 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8869 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8872 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8874 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8876 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8879 * malloc/malloc (malloc_info): Do not handle first bin as
8882 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8884 * locale/iso-639.def: Add Central Nahuatl (nhn).
8886 2013-11-01 Bruno Haible <bruno@clisp.org>
8889 * manual/math.texi (BSD Random): Specify range upper bound as
8892 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8894 * locale/iso-639.def: Add Meadow Mari (mhr).
8896 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8898 [BZ #14752], [BZ #15763]
8899 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8901 * rt/tst_shm.c: Add test for escaping directory.
8903 2013-10-31 Andreas Schwab <schwab@suse.de>
8906 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8907 followed by 'x' as part of digit sequence.
8908 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8910 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8913 * configure.ac: allow GNU Make 4.0 and greater.
8914 * configure: Regenerated.
8916 2013-10-30 Will Newton <will.newton@linaro.org>
8919 * malloc/hooks.c (memalign_check): Limit alignment to the
8920 maximum representable power of two.
8921 * malloc/malloc.c (__libc_memalign): Likewise.
8922 * malloc/tst-memalign.c (do_test): Add test for very
8923 large alignment values.
8924 * malloc/tst-posix_memalign.c (do_test): Likewise.
8926 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8929 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8930 (munmap_chunk): Likewise.
8931 (mremap_chunk): Likewise.
8933 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8936 * stdlib/div.c (div): Remove obsolete code.
8937 * stdlib/ldiv.c (ldiv): Likewise.
8938 * stdlib/lldiv.c (lldiv): Likewise.
8940 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8943 * nss/nss_files/files-XXX.c (get_contents_ret): New
8945 (get_contents): New function.
8946 (internal_getent): Use it. Expand size of LINEBUFLEN.
8948 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8950 * configure.in: Moved to ...
8951 * configure.ac: ... here. Change reference to configure.in
8953 * sysdeps/arm/preconfigure.ac: ... here.
8954 configure.in to configure.ac.
8955 * sysdeps/gnu/configure.in: Moved to ...
8956 * sysdeps/gnu/configure.ac: ... here.
8957 * sysdeps/i386/configure.in: Moved to ...
8958 * sysdeps/i386/configure.ac: ... here.
8959 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8960 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8961 * sysdeps/mach/configure.in: Moved to ...
8962 * sysdeps/mach/configure.ac: ... here.
8963 * sysdeps/mach/hurd/configure.in: Moved to ...
8964 * sysdeps/mach/hurd/configure.ac: ... here.
8965 * sysdeps/powerpc/configure.in: Moved to ...
8966 * sysdeps/powerpc/configure.ac: ... here.
8967 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8968 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8969 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8970 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8971 * sysdeps/s390/s390-32/configure.in: Moved to ...
8972 * sysdeps/s390/s390-32/configure.ac: ... here.
8973 * sysdeps/s390/s390-64/configure.in: Moved to ...
8974 * sysdeps/s390/s390-64/configure.ac: ... here.
8975 * sysdeps/sh/configure.in: Moved to ...
8976 * sysdeps/sh/configure.ac: ... here.
8977 * sysdeps/sparc/configure.in: Moved to ...
8978 * sysdeps/sparc/configure.ac: ... here.
8979 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8980 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8981 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8982 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8983 * sysdeps/x86_64/configure.in: Moved to ...
8984 * sysdeps/x86_64/configure.ac: ... here.
8985 * sysdeps/x86_64/preconfigure.in: Moved to ...
8986 * sysdeps/x86_64/preconfigure.ac: ... here.
8987 * aclocal.m4: Change reference to configure.in to configure.ac.
8988 * config.h.in: Likewise.
8989 * manual/install.texi: Likewise.
8990 * manual/maint.texi: Likewise.
8991 * Makefile: Likewise.
8992 * malloc/Makefile: Likewise.
8993 * nscd/Makefile: Likewise.
8994 * Makeconfig: Change reference to configure.in and
8995 preconfigure.in to configure.ac and preconfigure.ac
8997 * INSTALL: Regenerated.
8998 * configure: Likewise.
8999 * sysdeps/gnu/configure: Likewise.
9000 * sysdeps/i386/configure: Likewise.
9001 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9002 * sysdeps/mach/configure: Likewise.
9003 * sysdeps/mach/hurd/configure: Likewise.
9004 * sysdeps/powerpc/configure: Likewise.
9005 * sysdeps/powerpc/powerpc32/configure: Likewise.
9006 * sysdeps/powerpc/powerpc64/configure: Likewise.
9007 * sysdeps/s390/s390-32/configure: Likewise.
9008 * sysdeps/s390/s390-64/configure: Likewise.
9009 * sysdeps/sh/configure: Likewise.
9010 * sysdeps/sparc/configure: Likewise.
9011 * sysdeps/unix/sysv/linux/configure: Likewise.
9012 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9013 * sysdeps/x86_64/configure: Likewise.
9014 * sysdeps/x86_64/preconfigure: Likewise.
9016 2013-10-29 Andreas Schwab <schwab@suse.de>
9018 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9020 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9022 * benchtests/pow-inputs: Add new inputs.
9024 * benchtests/exp-inputs: Add new inputs.
9026 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9027 conditional check for return value.
9028 (__cos32): Likewise.
9030 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9032 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9033 to provide a boost for large inputs with word alignment.
9034 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9035 implementation based on optimized PPC64 strcpy.
9036 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9037 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9038 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9039 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9041 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9044 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9046 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9049 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9050 * time/tst-strptime.c (day_tests): Add testcase.
9052 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9055 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9057 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9060 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9061 MAP_FAILED on error.
9063 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9066 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9067 heap for large requests.
9069 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9072 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9073 result if the result has no associated interface.
9074 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9075 interface for all 127.X.Y.Z addresses.
9077 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9079 * locale/iso-639.def: Add Ligurian (lij)
9081 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9084 * sunrpc/rpc_main.c: Document rpcgen -5.
9086 2013-10-19 Michael Stahl <mstahl@redhat.com>
9088 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9090 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9093 * posix/glob.c: Match only directories when trailing slash is present.
9094 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9095 (main): Add testcase.
9097 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9100 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9102 2013-10-18 Carlos O'Donell <carlos@redhat.com>
9104 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9105 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9106 AUTH_DES and cindex for FIPS 140-2.
9107 (DES Encryption): Add cindex FIPS 46-3.
9109 * locale/locarchive.h (struct locarhandle): Add fname.
9110 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9111 if an optional argument was specified to --list-archive,
9113 * locale/programs/locarchive.c (show_archive_content): Take new
9114 argument fname and pass it via ah.fname to open_archive.
9115 * locale/programs/localedef.h: Update decl.
9116 (open_archive): If AH->fname is non-null, open that file
9117 rather than the default file name, and don't ignore ENOENT.
9118 (create_archive): Set AH.fname to NULL.
9119 (delete_locales_from_archive): Likewise.
9120 (add_locales_to_archive): Likewise.
9121 * locale/programs/locfile.c (write_all_categories): Likewise.
9123 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9124 Aldy Hernandez <aldyh@redhat.com>
9126 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9127 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9128 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9129 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9130 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9131 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9132 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9133 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9134 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9135 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9136 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9137 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9138 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9139 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9140 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9142 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9144 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9146 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9148 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9149 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9151 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9152 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9153 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9154 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9156 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9157 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9158 * sysdeps/powerpc/preconfigure: Likewise.
9159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9161 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9162 Replace contents of file by #include of <fenv_libc.h>.
9163 * sysdeps/powerpc/soft-fp/sfp-machine.h
9164 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9166 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9167 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9168 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9169 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9170 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9171 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9173 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9174 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9175 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9176 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9177 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9179 Allow copysignl PLT reference to be missing.
9181 2013-10-18 Richard Sandiford <richard@codesourcery.com>
9182 Joseph Myers <joseph@codesourcery.com
9185 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9187 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9189 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9191 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9192 * elf/tst-tls1.c: Likewise.
9193 * elf/tst-tls10.h: Likewise.
9194 * elf/tst-tls14.c: Likewise.
9195 * elf/tst-tls2.c: Likewise.
9196 * elf/tst-tls3.c: Likewise.
9197 * elf/tst-tls4.c: Likewise.
9198 * elf/tst-tls5.c: Likewise.
9199 * elf/tst-tls6.c: Likewise.
9200 * elf/tst-tls7.c: Likewise.
9201 * elf/tst-tls8.c: Likewise.
9202 * elf/tst-tls9.c: Likewise.
9203 * elf/tst-tlsmod1.c: Likewise.
9204 * elf/tst-tlsmod13.c: Likewise.
9205 * elf/tst-tlsmod13a.c: Likewise.
9206 * elf/tst-tlsmod14a.c: Likewise.
9207 * elf/tst-tlsmod16a.c: Likewise.
9208 * elf/tst-tlsmod16b.c: Likewise.
9209 * elf/tst-tlsmod2.c: Likewise.
9210 * elf/tst-tlsmod3.c: Likewise.
9211 * elf/tst-tlsmod4.c: Likewise.
9212 * elf/tst-tlsmod5.c: Likewise.
9213 * elf/tst-tlsmod6.c: Likewise.
9215 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9218 * malloc/malloc.c: remove checks for statistics.
9220 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9223 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9224 * inet/tst-network.c: Add testcase.
9226 2013-10-17 Andreas Schwab <schwab@suse.de>
9229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9230 to determine canonical name.
9232 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9234 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9235 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9237 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9239 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9240 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9241 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9242 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9243 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9244 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9245 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9246 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9247 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9248 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9249 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9250 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9251 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9252 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9253 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9254 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9256 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9258 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9259 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9263 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9264 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9265 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9266 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9267 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9268 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9269 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9270 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9271 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9272 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9273 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9274 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9275 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9281 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9282 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9285 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9286 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9289 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9290 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9291 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9293 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9296 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9297 make result into a quiet NaN.
9299 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9301 * soft-fp/adddf3.c: Fix horizontal whitespace.
9302 * soft-fp/addsf3.c: Likewise.
9303 * soft-fp/addtf3.c: Likewise.
9304 * soft-fp/divdf3.c: Likewise.
9305 * soft-fp/divsf3.c: Likewise.
9306 * soft-fp/divtf3.c: Likewise.
9307 * soft-fp/double.h: Likewise.
9308 * soft-fp/eqdf2.c: Likewise.
9309 * soft-fp/eqsf2.c: Likewise.
9310 * soft-fp/eqtf2.c: Likewise.
9311 * soft-fp/extenddftf2.c: Likewise.
9312 * soft-fp/extended.h: Likewise.
9313 * soft-fp/extendsfdf2.c: Likewise.
9314 * soft-fp/extendsftf2.c: Likewise.
9315 * soft-fp/extendxftf2.c: Likewise.
9316 * soft-fp/fixdfdi.c: Likewise.
9317 * soft-fp/fixdfsi.c: Likewise.
9318 * soft-fp/fixdfti.c: Likewise.
9319 * soft-fp/fixsfdi.c: Likewise.
9320 * soft-fp/fixsfsi.c: Likewise.
9321 * soft-fp/fixsfti.c: Likewise.
9322 * soft-fp/fixtfdi.c: Likewise.
9323 * soft-fp/fixtfsi.c: Likewise.
9324 * soft-fp/fixtfti.c: Likewise.
9325 * soft-fp/fixunsdfdi.c: Likewise.
9326 * soft-fp/fixunsdfsi.c: Likewise.
9327 * soft-fp/fixunsdfti.c: Likewise.
9328 * soft-fp/fixunssfdi.c: Likewise.
9329 * soft-fp/fixunssfsi.c: Likewise.
9330 * soft-fp/fixunssfti.c: Likewise.
9331 * soft-fp/fixunstfdi.c: Likewise.
9332 * soft-fp/fixunstfsi.c: Likewise.
9333 * soft-fp/fixunstfti.c: Likewise.
9334 * soft-fp/floatdidf.c: Likewise.
9335 * soft-fp/floatdisf.c: Likewise.
9336 * soft-fp/floatditf.c: Likewise.
9337 * soft-fp/floatsidf.c: Likewise.
9338 * soft-fp/floatsisf.c: Likewise.
9339 * soft-fp/floatsitf.c: Likewise.
9340 * soft-fp/floattidf.c: Likewise.
9341 * soft-fp/floattisf.c: Likewise.
9342 * soft-fp/floattitf.c: Likewise.
9343 * soft-fp/floatundidf.c: Likewise.
9344 * soft-fp/floatundisf.c: Likewise.
9345 * soft-fp/floatunditf.c: Likewise.
9346 * soft-fp/floatunsidf.c: Likewise.
9347 * soft-fp/floatunsisf.c: Likewise.
9348 * soft-fp/floatunsitf.c: Likewise.
9349 * soft-fp/floatuntidf.c: Likewise.
9350 * soft-fp/floatuntisf.c: Likewise.
9351 * soft-fp/floatuntitf.c: Likewise.
9352 * soft-fp/fmadf4.c: Likewise.
9353 * soft-fp/fmasf4.c: Likewise.
9354 * soft-fp/fmatf4.c: Likewise.
9355 * soft-fp/gedf2.c: Likewise.
9356 * soft-fp/gesf2.c: Likewise.
9357 * soft-fp/getf2.c: Likewise.
9358 * soft-fp/ledf2.c: Likewise.
9359 * soft-fp/lesf2.c: Likewise.
9360 * soft-fp/letf2.c: Likewise.
9361 * soft-fp/muldf3.c: Likewise.
9362 * soft-fp/mulsf3.c: Likewise.
9363 * soft-fp/multf3.c: Likewise.
9364 * soft-fp/negdf2.c: Likewise.
9365 * soft-fp/negsf2.c: Likewise.
9366 * soft-fp/negtf2.c: Likewise.
9367 * soft-fp/op-1.h: Likewise.
9368 * soft-fp/op-2.h: Likewise.
9369 * soft-fp/op-4.h: Likewise.
9370 * soft-fp/op-8.h: Likewise.
9371 * soft-fp/op-common.h: Likewise.
9372 * soft-fp/quad.h: Likewise.
9373 * soft-fp/single.h: Likewise.
9374 * soft-fp/soft-fp.h: Likewise.
9375 * soft-fp/sqrtdf2.c: Likewise.
9376 * soft-fp/sqrtsf2.c: Likewise.
9377 * soft-fp/sqrttf2.c: Likewise.
9378 * soft-fp/subdf3.c: Likewise.
9379 * soft-fp/subsf3.c: Likewise.
9380 * soft-fp/subtf3.c: Likewise.
9381 * soft-fp/truncdfsf2.c: Likewise.
9382 * soft-fp/trunctfdf2.c: Likewise.
9383 * soft-fp/trunctfsf2.c: Likewise.
9384 * soft-fp/trunctfxf2.c: Likewise.
9385 * soft-fp/unorddf2.c: Likewise.
9386 * soft-fp/unordsf2.c: Likewise.
9387 * soft-fp/unordtf2.c: Likewise.
9389 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9391 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9392 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9394 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9396 * elf/dl-libc.c: Clear initfini list after freeing.
9398 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9400 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9401 * soft-fp/addsf3.c: Likewise.
9402 * soft-fp/addtf3.c: Likewise.
9403 * soft-fp/divdf3.c: Likewise.
9404 * soft-fp/divsf3.c: Likewise.
9405 * soft-fp/divtf3.c: Likewise.
9406 * soft-fp/double.h: Likewise.
9407 * soft-fp/eqdf2.c: Likewise.
9408 * soft-fp/eqsf2.c: Likewise.
9409 * soft-fp/eqtf2.c: Likewise.
9410 * soft-fp/extenddftf2.c: Likewise.
9411 * soft-fp/extended.h: Likewise.
9412 * soft-fp/extendsfdf2.c: Likewise.
9413 * soft-fp/extendsftf2.c: Likewise.
9414 * soft-fp/extendxftf2.c: Likewise.
9415 * soft-fp/fixdfdi.c: Likewise.
9416 * soft-fp/fixdfsi.c: Likewise.
9417 * soft-fp/fixdfti.c: Likewise.
9418 * soft-fp/fixsfdi.c: Likewise.
9419 * soft-fp/fixsfsi.c: Likewise.
9420 * soft-fp/fixsfti.c: Likewise.
9421 * soft-fp/fixtfdi.c: Likewise.
9422 * soft-fp/fixtfsi.c: Likewise.
9423 * soft-fp/fixtfti.c: Likewise.
9424 * soft-fp/fixunsdfdi.c: Likewise.
9425 * soft-fp/fixunsdfsi.c: Likewise.
9426 * soft-fp/fixunsdfti.c: Likewise.
9427 * soft-fp/fixunssfdi.c: Likewise.
9428 * soft-fp/fixunssfsi.c: Likewise.
9429 * soft-fp/fixunssfti.c: Likewise.
9430 * soft-fp/fixunstfdi.c: Likewise.
9431 * soft-fp/fixunstfsi.c: Likewise.
9432 * soft-fp/fixunstfti.c: Likewise.
9433 * soft-fp/floatdidf.c: Likewise.
9434 * soft-fp/floatdisf.c: Likewise.
9435 * soft-fp/floatditf.c: Likewise.
9436 * soft-fp/floatsidf.c: Likewise.
9437 * soft-fp/floatsisf.c: Likewise.
9438 * soft-fp/floatsitf.c: Likewise.
9439 * soft-fp/floattidf.c: Likewise.
9440 * soft-fp/floattisf.c: Likewise.
9441 * soft-fp/floattitf.c: Likewise.
9442 * soft-fp/floatundidf.c: Likewise.
9443 * soft-fp/floatundisf.c: Likewise.
9444 * soft-fp/floatunsidf.c: Likewise.
9445 * soft-fp/floatunsisf.c: Likewise.
9446 * soft-fp/floatuntidf.c: Likewise.
9447 * soft-fp/floatuntisf.c: Likewise.
9448 * soft-fp/floatuntitf.c: Likewise.
9449 * soft-fp/fmadf4.c: Likewise.
9450 * soft-fp/fmasf4.c: Likewise.
9451 * soft-fp/fmatf4.c: Likewise.
9452 * soft-fp/gedf2.c: Likewise.
9453 * soft-fp/gesf2.c: Likewise.
9454 * soft-fp/getf2.c: Likewise.
9455 * soft-fp/ledf2.c: Likewise.
9456 * soft-fp/lesf2.c: Likewise.
9457 * soft-fp/letf2.c: Likewise.
9458 * soft-fp/muldf3.c: Likewise.
9459 * soft-fp/mulsf3.c: Likewise.
9460 * soft-fp/multf3.c: Likewise.
9461 * soft-fp/negdf2.c: Likewise.
9462 * soft-fp/negsf2.c: Likewise.
9463 * soft-fp/negtf2.c: Likewise.
9464 * soft-fp/op-1.h: Likewise.
9465 * soft-fp/op-2.h: Likewise.
9466 * soft-fp/op-4.h: Likewise.
9467 * soft-fp/op-8.h: Likewise.
9468 * soft-fp/op-common.h: Likewise.
9469 * soft-fp/quad.h: Likewise.
9470 * soft-fp/single.h: Likewise.
9471 * soft-fp/soft-fp.h: Likewise.
9472 * soft-fp/sqrtdf2.c: Likewise.
9473 * soft-fp/sqrtsf2.c: Likewise.
9474 * soft-fp/sqrttf2.c: Likewise.
9475 * soft-fp/subdf3.c: Likewise.
9476 * soft-fp/subsf3.c: Likewise.
9477 * soft-fp/subtf3.c: Likewise.
9478 * soft-fp/truncdfsf2.c: Likewise.
9479 * soft-fp/trunctfdf2.c: Likewise.
9480 * soft-fp/trunctfsf2.c: Likewise.
9481 * soft-fp/trunctfxf2.c: Likewise.
9482 * soft-fp/unorddf2.c: Likewise.
9483 * soft-fp/unordsf2.c: Likewise.
9484 * soft-fp/unordtf2.c: Likewise.
9486 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9489 * misc/error.c (error_tail): Fix possible buffer overflow.
9491 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9494 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9497 2013-10-14 P. J. McDermott <pj@pehjota.net>
9500 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9501 testing pipefail option.
9503 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9505 * soft-fp/double.h: Indent preprocessor directives inside #if.
9506 * soft-fp/extended.h: Likewise.
9507 * soft-fp/op-2.h: Likewise.
9508 * soft-fp/op-4.h: Likewise.
9509 * soft-fp/op-common.h: Likewise.
9510 * soft-fp/quad.h: Likewise.
9511 * soft-fp/single.h: Likewise.
9512 * soft-fp/soft-fp.h: Likewise.
9514 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9516 * iconv/iconv_prog.c: Fix typos.
9517 * stdio-common/psiginfo-data.h: Likewise.
9519 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9522 * locale/setlocale.c: Fix typo.
9524 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9527 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9528 signaling NaN arguments.
9529 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9530 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9533 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9535 * soft-fp/gesf2.c (__gesf2): Likewise.
9536 * soft-fp/getf2.c (__getf2): Likewise.
9537 * soft-fp/ledf2.c (__ledf2): Likewise.
9538 * soft-fp/lesf2.c (__lesf2): Likewise.
9539 * soft-fp/letf2.c (__letf2): Likewise.
9541 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9542 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9543 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9544 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9545 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9546 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9547 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9548 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9549 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9550 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9551 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9552 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9553 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9554 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9555 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9556 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9557 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9558 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9559 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9560 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9561 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9562 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9563 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9564 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9565 * soft-fp/floattidf.c (__floattidf): Likewise.
9566 * soft-fp/floattisf.c (__floattisf): Likewise.
9567 * soft-fp/floattitf.c (__floattitf): Likewise.
9568 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9569 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9570 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9571 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9572 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9573 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9574 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9575 * soft-fp/gesf2.c (__gesf2): Likewise.
9576 * soft-fp/getf2.c (__getf2): Likewise.
9577 * soft-fp/ledf2.c (__ledf2): Likewise.
9578 * soft-fp/lesf2.c (__lesf2): Likewise.
9579 * soft-fp/letf2.c (__letf2): Likewise.
9581 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9582 Undefine and redefine.
9583 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9584 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9585 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9586 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9587 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9588 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9589 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9590 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9591 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9592 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9593 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9594 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9595 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9596 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9597 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9600 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9601 without decrementing exponent if mantissa >= that for the
9603 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9604 denominator, not >. Decrement exponent in < case instead of
9605 incrementing in >= case.
9606 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9607 without decrementing exponent if mantissa >= that for the
9610 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9611 computing saturated result for unsigned overflow.
9613 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9614 Jeff Law <law@redhat.com>
9616 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9617 (atan2Mp): Add systemtap probe marker.
9618 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9619 (__ieee754_log): Add systemtap probe marker.
9620 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9621 (atanMp): Add systemtap probe marker.
9622 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9623 (tanMp): Add systemtap probe marker.
9624 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9625 (__slowexp): Add systemtap probe marker.
9626 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9627 (__slowpow): Add systemtap probe marker.
9628 * manual/probes.texi: Document probes.
9630 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9633 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9635 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9637 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9638 written to buffer but not flushed.
9639 * libio/iofwrite_u.c: Likewise.
9640 * libio/iopadn.c: Return bytes returned even if EOF was
9642 * libio/iowpadn.c: Likewise.
9643 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9644 if _IO_padn does not write the whole buffer.
9645 [!COMPILE_WPRINTF] (PAD): Likewise.
9647 2013-10-10 David S. Miller <davem@davemloft.net>
9649 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9652 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9654 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9655 instead of FSF address.
9656 * soft-fp/fixdfti.c: Likewise.
9657 * soft-fp/fixsfti.c: Likewise.
9658 * soft-fp/fixtfti.c: Likewise.
9659 * soft-fp/fixunsdfti.c: Likewise.
9660 * soft-fp/fixunssfti.c: Likewise.
9661 * soft-fp/fixunstfti.c: Likewise.
9662 * soft-fp/floattidf.c: Likewise.
9663 * soft-fp/floattisf.c: Likewise.
9664 * soft-fp/floattitf.c: Likewise.
9665 * soft-fp/floatuntidf.c: Likewise.
9666 * soft-fp/floatuntisf.c: Likewise.
9667 * soft-fp/floatuntitf.c: Likewise.
9668 * soft-fp/trunctfxf2.c: Likewise.
9670 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9671 * soft-fp/fixdfti.c: Likewise.
9672 * soft-fp/fixsfti.c: Likewise.
9673 * soft-fp/fixtfti.c: Likewise.
9674 * soft-fp/fixunsdfti.c: Likewise.
9675 * soft-fp/fixunssfti.c: Likewise.
9676 * soft-fp/fixunstfti.c: Likewise.
9677 * soft-fp/floattidf.c: Likewise.
9678 * soft-fp/floattisf.c: Likewise.
9679 * soft-fp/floattitf.c: Likewise.
9680 * soft-fp/floatuntidf.c: Likewise.
9681 * soft-fp/floatuntisf.c: Likewise.
9682 * soft-fp/floatuntitf.c: Likewise.
9683 * soft-fp/trunctfxf2.c: Likewise.
9685 2013-10-10 David S. Miller <davem@davemloft.net>
9687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9689 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9691 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9692 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9693 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9694 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9695 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9696 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9697 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9699 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9700 for NaNs before doing comparisons on argument.
9701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9704 2013-10-10 Will Newton <will.newton@linaro.org>
9706 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9707 passed to _int_memalign does not overflow.
9709 2013-10-10 Torvald Riegel <triegel@redhat.com>
9711 * scripts/bench.pl: Add include-sources directive.
9712 * benchtests/README: Update documentation.
9714 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9716 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9717 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9718 instead of FP_INIT_ROUNDMODE.
9719 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9720 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9723 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9724 copy class of input value.
9725 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9726 not handle exceptions.
9727 * soft-fp/negsf2.c (__negsf2): Likewise.
9728 * soft-fp/negtf2.c (__negtf2): Likewise.
9729 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9731 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9733 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9734 semicolon. From Linux kernel.
9736 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9738 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9740 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9743 * manual/socket.texi: Added statement about buffer
9744 for gethostbyname2_r.
9746 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9748 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9749 Use .p2align directive instead, throughout.
9750 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9751 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9752 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9753 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9754 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9755 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9756 * sysdeps/x86_64/strchr.S: Likewise.
9757 * sysdeps/x86_64/strrchr.S: Likewise.
9759 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9761 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9763 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9765 * sysdeps/generic/math_private.h (__mpsin1): Remove
9767 (__mpcos1): Likewise.
9768 (__mpsin): New argument __range_reduce.
9769 (__mpcos): Likewise.
9770 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9771 (slow): Use __mpsin and __mpcos.
9778 (bsloww1): Likewise.
9779 (bsloww2): Likewise.
9782 (csloww1): Likewise.
9783 (csloww2): Likewise.
9784 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9785 range_reduce. Merge in __mpsin1.
9786 (__mpcos): Likewise.
9788 (__mpcos1): Likewise.
9790 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9792 * locale/loadlocale.c (_nl_intern_locale_data): Use
9794 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9795 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9796 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9797 obstack data is appropriately aligned.
9798 (obstack_int32_grow_fast): Likewise.
9799 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9800 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9801 (add_locale_uint32_array): Likewise.
9803 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9805 * benchtests/Makefile: Remove ARGLIST and RET variables.
9806 ($(objpfx)bench-%.c): Pass only function name to the script.
9807 * benchtests/README: Update documentation.
9808 * benchtests/acos-inputs: Add new directives.
9809 * benchtests/acosh-inputs: Likewise.
9810 * benchtests/asin-inputs: Likewise.
9811 * benchtests/asinh-inputs: Likewise.
9812 * benchtests/atan-inputs: Likewise.
9813 * benchtests/atanh-inputs: Likewise.
9814 * benchtests/cos-inputs: Likewise.
9815 * benchtests/cosh-inputs: Likewise.
9816 * benchtests/exp-inputs: Likewise.
9817 * benchtests/log-inputs: Likewise.
9818 * benchtests/pow-inputs: Likewise.
9819 * benchtests/rint-inputs: Likewise.
9820 * benchtests/sin-inputs: Likewise.
9821 * benchtests/sinh-inputs: Likewise.
9822 * benchtests/tan-inputs: Likewise.
9823 * benchtests/tanh-inputs: Likewise.
9824 * scripts/bench.pl: Add support for new directives.
9826 2013-10-07 Alan Modra <amodra@gmail.com>
9828 * README: Fix careless merge.
9830 2013-10-05 Alan Modra <amodra@gmail.com>
9832 * NEWS: Mention powerpc64le support and bugs fixed.
9833 * README: Both big-endian and little-endian powerpc64 supported.
9835 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9837 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9838 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9839 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9840 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9842 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9844 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9847 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9849 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9850 Move -mhard-float appending from
9851 ports/sysdeps/powerpc/powerpc32/Makefile.
9852 [$(with-fp) = yes] (ASFLAGS): Likewise.
9853 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9854 * sysdeps/powerpc/nofpu: Move directory from
9855 ports/sysdeps/powerpc/nofpu.
9856 * sysdeps/powerpc/soft-fp: Move directory from
9857 ports/sysdeps/powerpc/soft-fp.
9858 * sysdeps/powerpc/powerpc32/405: Move directory from
9859 ports/sysdeps/powerpc/powerpc32/405.
9860 * sysdeps/powerpc/powerpc32/440: Move directory from
9861 ports/sysdeps/powerpc/powerpc32/440.
9862 * sysdeps/powerpc/powerpc32/464: Move directory from
9863 ports/sysdeps/powerpc/powerpc32/464.
9864 * sysdeps/powerpc/powerpc32/476: Move directory from
9865 ports/sysdeps/powerpc/powerpc32/476.
9866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9867 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9869 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9871 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9873 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9875 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9876 * README: Update for powerpc-*-linux-gnu software floating point
9879 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9880 case to powerpc/powerpc32*.
9881 * sysdeps/unix/sysv/linux/configure: Regenerated.
9883 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9884 (_FPU_MASK_OM): Define as 0x04.
9885 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9886 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9888 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9890 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9893 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9896 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9899 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9900 and setcontext_e500.
9902 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9904 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9906 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9908 * manual/threads.texi (Default Thread Attributes): Fix typo.
9910 2013-10-04 Will Newton <will.newton@linaro.org>
9912 * malloc/Makefile: Add tst-memalign.
9913 * malloc/tst-memalign.c: New file.
9915 * malloc/tst-posix_memalign.c: Add comments.
9916 (do_test): Add comments and call free on all potentially
9917 allocated pointers. Add space after cast.
9919 * malloc/tst-pvalloc.c: Add comments.
9920 (do_test): Add comments and call free on all potentially
9921 allocated pointers. Remove duplicate check for NULL pointer.
9922 Add space after cast.
9924 * malloc/tst-valloc.c: Add comments.
9925 (do_test): Add comments and call free on all potentially
9926 allocated pointers. Remove duplicate check for NULL pointer.
9927 Add space after cast.
9929 2013-10-04 Alan Modra <amodra@gmail.com>
9931 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9932 Use stdint types in rather than __attribute__((mode())).
9933 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9935 2013-10-04 Alan Modra <amodra@gmail.com>
9937 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9938 Correct handling of unaligned relocs for little-endian.
9939 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9941 2013-10-04 Alan Modra <amodra@gmail.com>
9943 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9944 * configure: Regenerate.
9945 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9946 * shlib-versions: Likewise.
9948 2013-10-04 Alan Modra <amodra@gmail.com>
9950 * string/tester.c (test_memrchr): Increment reported test cycle.
9952 2013-10-04 Alan Modra <amodra@gmail.com>
9954 * string/test-memcpy.c (do_one_test): When reporting errors, print
9955 string address and don't overrun end of string.
9957 2013-10-04 Alan Modra <amodra@gmail.com>
9959 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9960 insrdi. Make better use of reg selection to speed exit slightly.
9961 Schedule entry path a little better. Remove useless "are we done"
9962 checks on entry to main loop. Handle wrapping around zero address.
9963 Correct main loop count. Handle single left-over word from main
9964 loop inline rather than by using loop_small. Remove extra word
9965 case in loop_small caused by wrong loop count. Add little-endian
9967 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9968 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9970 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9971 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9972 support. Avoid rlwimi.
9973 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9975 2013-10-04 Alan Modra <amodra@gmail.com>
9977 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9979 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9980 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9981 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9982 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9983 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9984 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9986 2013-10-04 Alan Modra <amodra@gmail.com>
9988 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9989 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9990 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9991 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9992 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9993 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9994 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9995 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9996 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9997 use of regs. Use power7 mtocrf. Tidy function tails.
9999 2013-10-04 Alan Modra <amodra@gmail.com>
10001 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10002 Formatting. Consistently use rXXX register defines or rN defines.
10003 Use early exit labels that avoid restoring unused non-volatile regs.
10004 Make cr field use more consistent with rWORDn compares. Rename
10005 regs used as shift registers for unaligned loop, using rN defines
10006 for short lifetime/multiple use regs.
10007 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10008 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10009 addi 1,1,64 to pop stack frame. Simplify return value code.
10010 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10012 2013-10-04 Alan Modra <amodra@gmail.com>
10014 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10015 support. Correct typos, formatting. Optimize tail. Use insrdi
10016 rather than rlwimi.
10017 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10018 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10019 little-endian support. Correct typos.
10020 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10021 rather than rlwimi.
10022 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10023 in loop and entry code to keep "and." results.
10024 (strchr): Add little-endian support. Comment. Move cntlzd
10026 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10028 2013-10-04 Alan Modra <amodra@gmail.com>
10030 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10031 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10032 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10033 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10035 2013-10-04 Alan Modra <amodra@gmail.com>
10037 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10038 (rTMP): Define as r11.
10039 (strcmp): Add little-endian support. Optimise tail.
10040 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10041 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10042 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10043 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10044 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10045 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10048 2013-10-04 Alan Modra <amodra@gmail.com>
10050 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10051 little-endian support. Remove unnecessary "are we done" tests.
10052 Handle "s" wrapping around zero and extremely large "size".
10053 Correct main loop count. Handle single left-over word from main
10054 loop inline rather than by using small_loop. Correct comments.
10055 Delete "zero" tail, use "end_max" instead.
10056 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10058 2013-10-04 Alan Modra <amodra@gmail.com>
10060 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10061 support. Don't branch over align.
10062 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10063 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10064 support. Rearrange tmp reg use to suit. Comment.
10065 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10067 2013-10-04 Alan Modra <amodra@gmail.com>
10069 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10071 2013-10-04 Alan Modra <amodra@gmail.com>
10073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10074 conditional form of branch and link when obtaining pc.
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10077 2013-10-04 Alan Modra <amodra@gmail.com>
10079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10084 2013-10-04 Alan Modra <amodra@gmail.com>
10086 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10087 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10088 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10089 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10090 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10091 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10092 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10093 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10094 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10095 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10097 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10098 Alistair Popple <alistair@ozlabs.au.ibm.com>
10099 Alan Modra <amodra@gmail.com>
10102 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10103 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10104 _dl_hwcap access for little-endian.
10105 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10106 destroy vmx regs when saving unaligned.
10107 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10108 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10109 destroy vmx regs when saving unaligned.
10111 2013-10-04 Alan Modra <amodra@gmail.com>
10113 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10114 Don't use a union to pack hi/low value.
10116 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10118 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10120 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10121 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10122 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10123 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10124 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10126 2013-10-04 Alan Modra <amodra@gmail.com>
10128 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10129 constants to usual value for .cst8 section, and remove redundant
10131 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10132 constant for 0x1p52. Load little-endian words of double from
10133 correct stack offsets.
10135 2013-10-04 Alan Modra <amodra@gmail.com>
10137 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10138 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10139 words of double from correct stack offsets.
10140 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10141 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10142 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10143 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10144 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10145 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10146 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10147 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10148 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10149 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10150 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10151 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10152 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10153 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10154 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10155 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10156 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10158 2013-10-04 Alan Modra <amodra@gmail.com>
10160 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10161 64-bit int/double union.
10162 (_FPU_SETCW): Likewise.
10163 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10164 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10166 2013-10-04 Alan Modra <amodra@gmail.com>
10168 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10169 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10171 2013-10-04 Alan Modra <amodra@gmail.com>
10173 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10174 use vector int constants.
10175 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10177 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10179 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10180 array with long long.
10181 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10182 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10183 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10184 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10185 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10186 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10187 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10188 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10189 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10190 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10191 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10192 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10193 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10195 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10197 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10198 (__signbit): Likewise. Correct for little-endian.
10199 (__signbitl): Call __signbit.
10200 (lrint): Correct for little-endian.
10201 (lrintf): Call lrint.
10203 2013-10-04 Alan Modra <amodra@gmail.com>
10205 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10206 union 32-bit int array member with 64-bit int array.
10207 (t515, tm256): Double rather than long double.
10208 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10210 2013-10-04 Alan Modra <amodra@gmail.com>
10212 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10214 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10215 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10216 version of math_ldbl.h.
10218 2013-10-04 Alan Modra <amodra@gmail.com>
10220 [BZ #15734], [BZ #15735]
10221 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10222 all uses of ieee875 long double macros and unions. Simplify test
10223 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10224 ldbl_extract_mantissa value for ix,iy exponents. Properly
10225 normalize after ldbl_extract_mantissa, and don't add hidden bit
10226 already handled. Don't treat low word of ieee854 mantissa like
10227 low word of IBM long double and mask off bit when testing for
10229 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10230 all uses of ieee875 long double macros and unions. Simplify tests
10231 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10232 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10233 two1022, instead use their values. Recognise that tests for large
10234 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10235 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10236 Rewrite all uses of ieee875 long double macros and unions. Simplify
10237 test for 0.0L and nan. Correct negation.
10238 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10239 ieee875 long double macros and unions. Correct output for large
10240 magnitude x. Correct absolute value calculation.
10241 (__erfcl): Likewise.
10242 * math/libm-test.inc: Add tests for errors discovered in IBM long
10243 double versions of fmodl, remainderl, erfl and erfcl.
10245 2013-10-04 Alan Modra <amodra@gmail.com>
10247 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10248 all uses of ieee854 long double macros and unions. Simplify tests
10249 for long doubles that are fully specified by the high double.
10250 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10252 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10253 Remove dead code too.
10254 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10255 (__ieee754_ynl): Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10259 Remove dead code too.
10260 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10263 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10267 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10268 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10270 Comment on variable precision.
10271 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10272 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10274 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10277 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10278 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10280 2013-10-04 Alan Modra <amodra@gmail.com>
10282 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10283 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10284 all uses of ieee854 long double macros and unions.
10285 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10286 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10288 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10289 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10290 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10292 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10293 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10294 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10295 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10296 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10297 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10298 Simplify sign and nan test too.
10299 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10300 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10301 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10302 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10304 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10305 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10307 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10308 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10309 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10310 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10311 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10312 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10314 2013-10-04 Alan Modra <amodra@gmail.com>
10316 * stdio-common/printf_size.c (__printf_size): Don't use
10317 union ieee854_long_double in fpnum union.
10318 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10319 signbit macro to retrieve sign from long double.
10320 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10321 retrieve sign from long double.
10322 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10323 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10324 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10325 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10326 * math/test-misc.c (main): Don't use union ieee854_long_double.
10328 2013-10-04 Alan Modra <amodra@gmail.com>
10331 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10332 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10333 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10334 calculation. Remove unnecessary test for denormal exponent.
10335 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10336 Correct handling of denormals. Avoid undefined shift behaviour.
10337 Correct normalisation of low mantissa when low double is denormal.
10338 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10339 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10340 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10341 Correct normalisation of low mantissa. Test for overflow of high
10342 mantissa and normalise.
10343 (ldbl_nearbyint): Use more readable constant for two52.
10344 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10345 (__mpn_construct_long_double): Fix test for overflow of high
10346 mantissa and correct normalisation. Avoid undefined shift.
10348 2013-10-04 Alan Modra <amodra@gmail.com>
10350 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10351 (union ibm_extended_long_double): Define as an array of ieee754_double.
10352 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10353 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10354 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10355 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10356 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10357 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10358 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10359 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10360 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10361 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10362 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10364 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10366 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10367 page size instead of calling getpagesize.
10369 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10370 (LOCFILE_ALIGN_MASK): Likewise.
10371 (LOCFILE_ALIGN_UP): Likewise.
10372 (LOCFILE_ALIGNED_P): Likewise.
10373 * locale/programs/ld-collate.c (collate_output): Use the new
10374 macros instead of __alignof__ (int32_t).
10375 * locale/weight.h (findidx): Likewise.
10377 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10380 * manual/string.texi: Fix strncat and wcsncat.
10382 2013-10-03 Brooks Moses <bmoses@google.com>
10385 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10386 * Makerules: ...here, and adjust associated comments.
10388 2013-10-02 Will Newton <will.newton@linaro.org>
10390 * malloc/Makefile: Add tst-pvalloc.
10391 * malloc/tst-pvalloc.c: New file.
10393 2013-10-02 Will Newton <will.newton@linaro.org>
10395 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10396 improve test coverage.
10398 2013-10-02 Will Newton <will.newton@linaro.org>
10400 * malloc/Makefile: Add tst-posix_memalign.
10401 * malloc/tst-posix_memalign.c: New file.
10403 2013-10-01 Eric Blake <eblake@redhat.com>
10405 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10406 Use __THROWNL rather than __THROW on static functions.
10408 2013-09-30 Petr Machata <pmachata@redhat.com>
10410 * elf/elf.h (R_AARCH64_ABS16): New macro.
10411 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10412 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10413 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10414 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10415 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10416 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10417 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10418 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10419 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10420 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10421 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10422 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10423 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10424 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10425 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10426 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10427 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10428 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10429 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10430 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10431 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10432 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10433 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10434 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10435 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10436 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10437 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10438 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10439 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10440 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10441 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10442 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10443 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10444 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10445 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10446 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10447 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10448 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10449 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10450 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10451 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10452 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10453 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10454 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10455 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10456 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10457 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10458 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10459 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10460 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10461 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10462 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10463 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10464 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10465 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10466 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10467 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10468 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10469 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10470 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10471 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10472 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10473 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10474 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10475 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10476 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10477 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10478 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10479 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10480 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10481 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10482 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10483 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10484 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10485 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10486 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10487 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10488 (R_AARCH64_TLSDESC_LDR): Likewise.
10489 (R_AARCH64_TLSDESC_ADD): Likewise.
10490 (R_AARCH64_TLSDESC_CALL): Likewise.
10492 2013-09-30 Andreas Schwab <schwab@suse.de>
10495 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10496 the nss database lookup.
10497 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10500 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10502 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10504 2013-09-28 P. J. McDermott <pj@pehjota.net>
10506 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10507 ${Bash-specific parameter/pattern/string} parameter expansion.
10508 * sysdeps/unix/make-syscalls.sh: Likewise.
10510 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10512 * sysdeps/sh/stackguard-macros.h: New file.
10514 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10517 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10518 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10519 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10520 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10521 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10523 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10525 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10526 Fix thread ID register.
10528 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10530 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10531 [POSIX || UNIX98]: Require rather than permitting all symbols from
10533 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10534 element of struct sched_param.
10535 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10536 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10537 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10538 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10541 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10543 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10544 argument calculation.
10546 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10548 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10550 [POSIX] (pthread_attr_t): Do not require type.
10551 [POSIX] (pthread_cond_t): Likewise.
10552 [POSIX] (pthread_condattr_t): Likewise.
10553 [POSIX] (pthread_key_t): Likewise.
10554 [POSIX] (pthread_mutex_t): Likewise.
10555 [POSIX] (pthread_mutexattr_t): Likewise.
10556 [POSIX] (pthread_once_t): Likewise.
10557 [POSIX] (pthread_t): Likewise.
10558 [POSIX-based standards] (pthread_atfork): Expect function.
10560 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10561 Richard Sandiford <richard@codesourcery.com>
10563 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10564 (swap_endianness_p): New extern variable.
10565 (set_big_endian): New inline function.
10566 (maybe_swap_uint32): Likewise.
10567 (maybe_swap_uint32_array): Likewise.
10568 (maybe_swap_uint32_obstack): Likewise.
10569 * locale/programs/locfile.c: Include <stdbool.h>.
10570 (swap_endianness_p): New variable.
10571 (add_locale_uint32): Call maybe_swap_uint32.
10572 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10573 (write_locale_data): Call maybe_swap_uint32_array.
10574 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10576 (obstack_int32_grow_fast): Likewise.
10577 (output_weightwc): Call maybe_swap_uint32_obstack.
10578 (collate_output): Likewise.
10579 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10580 (OPT_LITTLE_ENDIAN): Likewise.
10581 (options): Add --little-endian and --big-endian options.
10582 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10583 * locale/programs/locarchive.c: Include "locfile.h".
10587 (create_archive): Use the new macros to access fields of
10588 structures directly mapped from or written to locale archives.
10589 (oldlocrecentcmp): Likewise.
10590 (enlarge_archive): Likewise.
10591 (insert_name): Likewise.
10592 (add_alias): Likewise.
10593 (add_locale): Likewise.
10594 (delete_locales_from_archive): Likewise.
10595 (show_archive_content): Likewise.
10596 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10599 2013-09-24 Roland McGrath <roland@hack.frob.com>
10601 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10602 http://www.gnu.org/doc/freemanuals.texi.
10603 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10605 2013-09-24 Will Newton <will.newton@linaro.org>
10607 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10610 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10612 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10615 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10617 * manual/threads.texi (POSIX Threads): Fix a typo.
10619 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10622 * string/tst-strcoll-overflow.c: New test case.
10623 * string/Makefile (xtests): Add tst-strcoll-overflow.
10624 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10625 cache if string sizes may cause integer overflow.
10628 * string/strcoll_l.c (coll_seq): New members rule, idx,
10629 save_idx and back_us.
10630 (get_next_seq_nocache): New function.
10631 (do_compare_nocache): New function.
10632 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10635 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10638 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10639 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10640 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10643 * elf/Makefile (tests): Add tst-ptrguard1.
10644 (tests-static): Add tst-ptrguard1-static.
10645 (tst-ptrguard1-ARGS): Define.
10646 (tst-ptrguard1-static-ARGS): Define.
10647 * elf/tst-ptrguard1.c: New file.
10648 * elf/tst-ptrguard1-static.c: New file.
10649 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10650 * sysdeps/i386/stackguard-macros.h: Likewise.
10651 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10652 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10653 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10654 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10655 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10656 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10658 2013-09-23 Hector Marco <hecmargi@upv.es>
10659 Ismael Ripoll <iripoll@disca.upv.es>
10660 Carlos O'Donell <carlos@redhat.com>
10663 * sysdeps/generic/stackguard-macros.h: Define
10664 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10665 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10666 Define __pointer_chk_guard_local.
10667 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10668 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10670 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10673 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10675 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10677 * include/string.h (__ffs): Declare as hidden.
10678 * string/ffs.c (__ffs): Define as hidden.
10679 * sysdeps/i386/ffs.c (__ffs): Likewise.
10680 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10681 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10682 * sysdeps/s390/ffs.c (__ffs): Likewise.
10683 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10685 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10687 * NEWS: Mention malloc probes.
10689 * malloc/arena.c (new_heap): New memory_heap_new probe.
10690 (grow_heap): New memory_heap_more probe.
10691 (shrink_heap): New memory_heap_less probe.
10692 (heap_trim): New memory_heap_free probe.
10693 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10694 (systrim): New memory_sbrk_less probe.
10695 * manual/probes.texi: Document them.
10697 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10698 * manual/probes.texi: Document it.
10700 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10701 (__libc_realloc): Add memory_realloc_retry probe.
10702 (__libc_memalign): Add memory_memalign_retry probe.
10703 (__libc_valloc): Add memory_valloc_retry probe.
10704 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10705 (__libc_calloc): Add memory_calloc_retry probe.
10706 * manual/probes.texi: Document them.
10708 * malloc/arena.c (get_free_list): Add probe
10709 memory_arena_reuse_free_list.
10710 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10711 and memory_arena_reuse.
10712 (arena_get2) [!PER_THREAD]: Likewise.
10713 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10714 memory_arena_reuse_realloc.
10715 * manual/probes.texi: Document them.
10717 * malloc/malloc.c (__libc_free): Add
10718 memory_mallopt_free_dyn_thresholds probe.
10719 (__libc_mallopt): Add multiple memory_mallopt probes.
10720 * manual/probes.texi: Document them.
10722 * malloc/malloc.c: Include stap-probe.h.
10723 (__libc_mallopt): Add memory_mallopt probe.
10724 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10725 * manual/probes.texi: New.
10726 * manual/Makefile (chapters): Add probes.
10727 * manual/threads.texi: Set next node.
10729 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10731 [BZ #15963, #13985]
10732 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10733 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10734 Add `Chinese' to `nan' entry name.
10736 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10738 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10739 (POLYNOMIAL): Likewise.
10740 (TAYLOR_SINCOS): Likewise.
10741 (TAYLOR_SLOW): Likewise.
10742 (__sin): Use TAYLOR_SINCOS.
10744 (slow): Use TAYLOR_SLOW.
10746 (bsloww): Likewise.
10747 (csloww): Likewise.
10749 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10751 * stdlib/strtod_l.c: Fix buffer overrun.
10753 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10755 * benchtests/Makefile (bench): Add sincos.
10756 * benchtests/bench-sincos.c: New file.
10758 * math/libm-test.inc (cos_test_data): New test inputs.
10759 (sin_test_data): Likewise.
10761 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10767 (sloww1): Likewise.
10768 (sloww2): Likewise.
10769 (bsloww1): Likewise.
10770 (bsloww2): Likewise.
10771 (cslow2): Likewise.
10772 (csloww1): Likewise.
10773 (csloww2): Likewise.
10775 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10780 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10784 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10786 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10787 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10788 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10789 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10790 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10791 * elf/cache.c (print_entry): Handle the new cache flags.
10793 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10794 Aldy Hernandez <aldyh@redhat.com>
10796 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10797 Change condition to [_SOFT_FLOAT].
10798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10799 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10810 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10813 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10816 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10818 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10819 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10820 (__longjmp): Use LOAD_GP to load saved GPRs.
10821 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10822 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10823 (__sigsetjmp): Use SAVE_GP to save GPRs.
10825 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10826 Do not append -msoft-float.
10827 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10829 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10831 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10833 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10836 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10837 (_FPU_GETCW): Use initial "__" on variable and field names but not
10838 on macro parameter name.
10839 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10840 parentheses around reference to macro parameter.
10842 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10844 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10846 (ctype_startup): Use uint32_t in cast and sizeof for
10849 2013-09-11 Jia Liu <proljc@gmail.com>
10851 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10853 [__FreeBSD__]: Likewise.
10855 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10857 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10858 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10859 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10860 (strchr): Remove __strchr_sse42 ifunc selection.
10861 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10862 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10864 2013-09-11 Will Newton <will.newton@linaro.org>
10866 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10867 parameter to RES. Remove hardcoded 1000 value.
10868 * benchtests/bench-skeleton.c (main): Pass RES parameter
10869 to TIMING_INIT and multiply result by 1000.
10871 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10875 2013-09-11 Andreas Schwab <schwab@suse.de>
10877 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10879 (O_TMPFILE) [__USE_GNU]: Define.
10880 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10883 2013-09-11 Will Newton <will.newton@linaro.org>
10886 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10889 2013-09-11 Will Newton <will.newton@linaro.org>
10892 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10895 2013-09-11 Will Newton <will.newton@linaro.org>
10898 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10901 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10903 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10904 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10909 2013-09-10 Allan McRae <allan@archlinux.org>
10912 * manual/arith.texi (Parsing of Floats): Clarify
10916 * manual/install.texi (Running make install): Mention
10918 * INSTALL: Regenerated.
10920 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10922 * csu/init-first.c (_init): Remove the !SHARED condition around
10923 FPU control word initialization.
10924 * elf/dl-support.c (_dl_fpu_control): New variable.
10925 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10926 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10927 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10928 * math/test-fpucw-static.c: New file.
10929 * math/test-fpucw-ieee.c: New file.
10930 * math/test-fpucw-ieee-static.c: New file.
10931 * math/Makefile (tests): Add `test-fpucw-ieee' and
10933 (tests-static): New variable.
10934 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10936 [($(build-shared),yes)]
10937 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10939 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10942 2013-09-09 Allan McRae <allan@archlinux.org>
10945 * manual/string.texi (Collation Functions): Fix typo in
10947 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10950 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10953 * libio/memstream.c (open_memstream): Fix memory leak.
10954 * libio/wmemstream.c (open_wmemstream): Likewise.
10957 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10959 2013-09-09 Will Newton <will.newton@linaro.org>
10961 * malloc/Makefile: Add tst-realloc to tests.
10962 * malloc/tst-realloc.c: New file.
10964 2013-09-09 Allan McRae <allan@archlinux.org>
10967 * COPYING: Update from GNU website to fix FSF address.
10968 * COPYING.LIB: Likewise.
10970 2013-09-06 David S. Miller <davem@davemloft.net>
10972 * po/zh_TW.po: Update Chinese (traditional) translation from
10973 translation project.
10975 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10976 Joseph Myers <joseph@codesourcery.com>
10978 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10980 (obstack_chunk_alloc): New macro.
10981 (obstack_chunk_free): Likewise.
10982 (record_offset): New function.
10983 (init_locale_data): Likewise.
10984 (align_locale_data): Likewise.
10985 (add_locale_empty): Likewise.
10986 (add_locale_raw_data): Likewise.
10987 (add_locale_raw_obstack): Likewise.
10988 (add_locale_string): Likewise.
10989 (add_locale_wstring): Likewise.
10990 (add_locale_uint32): Likewise.
10991 (add_locale_uint32_array): Likewise.
10992 (add_locale_char): Likewise.
10993 (start_locale_structure): Likewise.
10994 (end_locale_structure): Likewise.
10995 (start_locale_prelude): Likewise.
10996 (end_locale_prelude): Likewise.
10997 (write_locale_data): Take locale_file structure rather than an
10999 * locale/programs/locfile.h: Include "obstack.h".
11000 (struct locale_file): Change to store locale file contents instead
11002 (init_locale_data): New prototype.
11003 (align_locale_data): Likewise.
11004 (add_locale_empty): Likewise.
11005 (add_locale_raw_data): Likewise.
11006 (add_locale_raw_obstack): Likewise.
11007 (add_locale_string): Likewise.
11008 (add_locale_wstring): Likewise.
11009 (add_locale_uint32): Likewise.
11010 (add_locale_uint32_array): Likewise.
11011 (add_locale_char): Likewise.
11012 (start_locale_structure): Likewise.
11013 (end_locale_structure): Likewise.
11014 (start_locale_prelude): Likewise.
11015 (end_locale_prelude): Likewise.
11016 (write_locale_data): Update prototype.
11017 * locale/programs/3level.h (struct TABLE): Remove result field.
11018 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11019 Use new locale_file interface.
11020 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11021 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11022 * locale/programs/ld-address.c (address_output): Use new
11023 locale_file interface.
11024 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11026 (collate_finish): Don't call collseq_table_finalize.
11027 (collate_output): Use new locale_file interface.
11028 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11030 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11031 (TABLE): Move defines earlier in file.
11032 (ELEMENT): Likewise.
11033 (DEFAULT): Likewise.
11034 (wctrans_table_add): Move macro and inline function earlier in
11036 (struct wctype_table): Move type earlier in file.
11037 (add_locale_wctype_table): New static prototype.
11038 (struct locale_ctype_t): Use logical types instead of struct iovec
11039 pointers for members.
11040 (ctype_output): Use new locale_file interface.
11041 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11042 new locale_file interface.
11043 (allocate_arrays): Update for use of new locale_file interface.
11044 * locale/programs/ld-identification.c (identification_output): Use
11045 new locale_file interface.
11046 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11047 * locale/programs/ld-messages.c (messages_output): Likewise.
11048 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11049 * locale/programs/ld-name.c (name_output): Likewise.
11050 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11051 * locale/programs/ld-paper.c (paper_output): Likewise.
11052 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11053 * locale/programs/ld-time.c (time_output): Likewise.
11055 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11057 * benchtests/Makefile: Add memrchr benchmark.
11058 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11059 benchmark as memrchr.
11060 * benchtests/bench-memrchr-ifunc.c: New file.
11061 * benchtests/bench-memrchr.c: New file.
11063 2013-09-06 Will Newton <will.newton@linaro.org>
11065 * benchtests/Makefile (string-bench): Add memcpy.
11067 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11068 Cong Wang <amwang@redhat.com>
11071 * sysdeps/unix/sysv/linux/bits/in.h
11072 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11073 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11074 before __USE_KERNEL_IPV6_DEFS uses.
11075 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11077 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11078 sockaddr_in6, or ipv6_mreq.
11080 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11082 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11083 memory access for final bytes in some large inputs.
11084 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11086 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11088 * string/test-memrchr.c: New file.
11089 * string/test-memrchr-ifunc.c: New file.
11090 * string/Makefile: Add new memrchr testcase.
11092 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11094 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11095 fanotify_init returns EPERM.
11097 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11099 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11101 (top level): Treat second token from macro or constant entries for
11102 allowed headers as allowed.
11103 * include/complex.h: Condition internal declarations on
11105 * include/fenv.h: Condition include of <stdbool.h> and internal
11106 declarations on [!_ISOMAC].
11108 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11111 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11113 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11115 * configure.in (--enable-versioning): Remove configure option.
11116 (libc_cv_asm_symver_directive): Remove configure test.
11117 (libc_cv_ld_version_script_option): Likewise.
11118 (VERSIONING): Remove variable and AC_SUBST.
11119 (DO_VERSIONING): Remove AC_DEFINE.
11120 * configure: Regenerated.
11121 * config.h.in (DO_VERSIONING): Remove macro.
11122 * Makerules [$(versioning) = yes]: Change conditionals to
11123 [$(build-shared) = yes].
11124 * config.make.in (versioning): Remove variable.
11125 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11126 [$(build-shared) = yes].
11127 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11128 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11129 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11130 [$(build-shared) = yes].
11131 * extra-lib.mk [$(versioning) = yes]: Likewise.
11132 * hurd/Makefile [$(versioning) = yes]: Likewise.
11133 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11135 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11137 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11138 [SHARED && !NO_HIDDEN].
11139 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11141 [SHARED && DO_VERSIONING]: Likewise..
11142 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11143 [$(build-shared) = yes].
11144 * manual/install.texi (--disable-versioning): Remove
11146 * INSTALL: Regenerated.
11147 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11149 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11150 [$(build-shared) = yes].
11151 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11152 * sysdeps/i386/i686/multiarch/strstr-c.c
11153 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11154 [SHARED && !NO_HIDDEN].
11155 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11156 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11157 * sysdeps/powerpc/powerpc32/dl-machine.c
11158 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11159 * sysdeps/powerpc/powerpc32/sysdep.h
11160 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11161 to [SHARED && PIC && !NO_HIDDEN].
11162 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11163 conditional to [SHARED].
11165 2013-09-04 Will Newton <will.newton@linaro.org>
11167 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11168 * benchtests/bench-string.h: Include bench-timing.h instead
11169 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11170 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11171 call to HP_TIMING_DIFF_INIT.
11172 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11173 instead of hp-timing.h macros.
11174 * benchtests/bench-memchr.c: Likewise.
11175 * benchtests/bench-memcmp.c: Likewise.
11176 * benchtests/bench-memcpy.c: Likewise.
11177 * benchtests/bench-memmem.c: Likewise.
11178 * benchtests/bench-memmove.c: Likewise.
11179 * benchtests/bench-memset.c: Likewise.
11180 * benchtests/bench-rawmemchr.c: Likewise.
11181 * benchtests/bench-strcasecmp.c: Likewise.
11182 * benchtests/bench-strcasestr.c: Likewise.
11183 * benchtests/bench-strcat.c: Likewise.
11184 * benchtests/bench-strchr.c: Likewise.
11185 * benchtests/bench-strcmp.c: Likewise.
11186 * benchtests/bench-strcpy.c: Likewise.
11187 * benchtests/bench-strcpy_chk.c: Likewise.
11188 * benchtests/bench-strlen.c: Likewise.
11189 * benchtests/bench-strncasecmp.c: Likewise.
11190 * benchtests/bench-strncat.c: Likewise.
11191 * benchtests/bench-strncmp.c: Likewise.
11192 * benchtests/bench-strncpy.c: Likewise.
11193 * benchtests/bench-strnlen.c: Likewise.
11194 * benchtests/bench-strpbrk.c: Likewise.
11195 * benchtests/bench-strrchr.c: Likewise.
11196 * benchtests/bench-strspn.c: Likewise.
11197 * benchtests/bench-strstr.c: Likewise.
11199 2013-09-04 Will Newton <will.newton@linaro.org>
11201 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11203 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11206 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11207 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11208 * math/libm-test.inc (lgamma_test_data): Add more tests.
11209 * sysdeps/i386/fpu/libm-test-ulps: Update.
11210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11212 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11214 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11218 Add strcmp-sse2-unaligned
11219 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11221 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11223 * Versions.def (libc): Add GLIBC_2.19.
11225 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11227 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11228 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11230 2013-09-02 Joseph Myers <joseph@codesourcery.com>
11233 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11234 intermediate calculations in recurrence.
11235 (__ieee754_ynf): Likewise.
11236 * math/libm-test.inc (jn_test_data): Do not allow spurious
11237 underflow exception. Add more tests.
11238 (yn_test_data): Add more tests.
11239 * sysdeps/i386/fpu/libm-test-ulps: Update.
11240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11242 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
11244 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11246 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11248 * csu/init-first.c: Fix then/than typos.
11249 * locale/programs/ld-collate.c: Likewise.
11250 * locale/programs/linereader.h: Likewise.
11251 * manual/charset.texi: Likewise.
11252 * manual/filesys.texi: Likewise.
11253 * manual/stdio.texi: Likewise.
11254 * manual/string.texi: Likewise.
11255 * stdlib/fmtmsg.c: Likewise.
11256 * sysdeps/i386/stpncpy.S: Likewise.
11257 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11258 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11259 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11260 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11262 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11264 * elf/dl-open.c: Fix typos.
11265 * iconvdata/gbbig5.c: Likewise.
11266 * iconvdata/iso-2022-jp.c: Likewise.
11267 * iconv/gconv_int.h: Likewise.
11268 * iconv/loop.c: Likewise.
11269 * nis/rpcsvc/nis.h: Likewise.
11270 * resolv/ns_name.c: Likewise.
11271 * stdio-common/vfscanf.c: Likewise.
11272 * streams/stropts.h: Likewise.
11273 * sunrpc/rpc_thread.c: Likewise.
11274 * sysdeps/i386/strpbrk.S: Likewise.
11275 * sysdeps/ieee754/k_standard.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11278 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11279 * sysdeps/mach/hurd/profil.c: Likewise.
11280 * sysdeps/s390/dl-procinfo.h: Likewise.
11281 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11282 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11283 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11284 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11285 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11287 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11289 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11290 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11292 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11294 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11295 aix specific files.
11296 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11297 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11298 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11299 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11300 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11301 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11302 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11303 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11305 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11306 Roland McGrath <roland@hack.frob.com>
11308 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11309 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11311 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11313 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11314 __executable_start symbol instead of _start.
11316 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11318 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11319 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11321 * sysdeps/gnu/ldsodefs.h: ... this new file.
11323 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11324 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11325 instead of ELFOSABI_LINUX.
11327 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11328 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11329 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11330 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11332 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11333 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11334 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11336 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11337 (ibm_extended_long_double): Add ieee_nan member.
11338 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11339 (do_test): New function.
11341 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11343 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11344 functions, renamed from truncdfsf_test, trunctfsf_test,
11346 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11348 (do_test): Run all these.
11350 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11352 * argp/argp-help.c: Fix typos.
11353 * argp/argp-parse.c: Likewise.
11354 * debug/backtracesyms.c: Likewise.
11355 * elf/elf.h: Likewise.
11356 * malloc/malloc.c: Likewise.
11357 * nis/nis_print.c: Likewise.
11358 * resolv/res_comp.c: Likewise.
11359 * stdlib/stdlib.h: Likewise.
11360 * sunrpc/clnt_tcp.c: Likewise.
11361 * sunrpc/clnt_udp.c: Likewise.
11362 * sunrpc/clnt_unix.c: Likewise.
11363 * sysdeps/unix/bsd/ptsname.c: Likewise.
11364 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11365 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11372 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11374 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11376 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11379 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11382 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11383 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11384 ($(objpfx)bug-dl-leaf): New rule.
11385 ($(objpfx)bug-dl-leaf.so): Likewise.
11386 ($(objpfx)bug-dl-leaf.out): Likewise.
11387 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11388 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11389 * dlfcn/bug-dl-leaf.c: New test.
11390 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11391 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11392 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11393 (dlclose): Likewise.
11394 (dlmopen): Likewise.
11396 2013-08-27 Roland McGrath <roland@hack.frob.com>
11398 * include/netdb.h [!_ISOMAC]:
11399 Don't include <tls.h>.
11400 (h_errno, __libc_h_errno): Move declaration and macros out of
11403 * include/resolv.h [_RESOLV_H_]:
11404 Don't include <tls.h>.
11405 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11406 * resolv/res_libc.c: Don't include <tls.h>.
11407 (_res): Use __attribute__ ((nocommon)) in place of
11408 __attribute__ ((section (".bss"))).
11410 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11411 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11413 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11415 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11416 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11418 * resolv/res_mkquery.c: Include <sys/time.h>.
11420 * inet/ifreq.c: Moved to ...
11421 * sysdeps/unix/ifreq.c: ... here.
11422 * inet/ifreq.c: New file, true stub version.
11424 * socket/sa_len.c: New file.
11425 * socket/Makefile (aux): Add it.
11426 * sysdeps/unix/sysv/linux/Makefile
11427 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11428 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11429 and #include <socket/sa_len.c>.
11430 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11431 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11433 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11434 * bits/socket.h: ... here.
11436 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11437 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11438 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11440 2013-08-27 Andreas Schwab <schwab@suse.de>
11443 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11444 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11445 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11446 * string/test-strcasecmp.c (test_main): Run tests in several
11448 * string/test-strncasecmp.c (test_main): Likewise.
11450 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11451 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11452 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11454 (__strncasecmp_ssse3) [PIC]: Likewise.
11456 2013-08-26 Roland McGrath <roland@hack.frob.com>
11458 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11460 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11461 instead of explicitly declaring xdecrypt.
11462 * nis/nss_nis/nis-publickey.c: Likewise.
11464 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11467 * nscd/aicache.c: Include res_hconf.h.
11468 (addhstaiX): Initialize res_hconf.
11470 2013-08-26 Andreas Schwab <schwab@suse.de>
11472 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11473 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11475 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11477 * nscd/aicache.c (addhstaiX): Fix indentation.
11479 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11481 * configure.ac: Quote $build_pt_chown test.
11482 * configure: Regenerated.
11484 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11487 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11488 * math/s_cexpf.c (__cexpf): Likewise.
11489 * math/s_cexpl.c (__cexpl): Likewise.
11490 * math/libm-test.inc (cexp_test_data): Correct expected return
11491 value for NaN + i0. Add another test.
11493 2013-08-22 David S. Miller <davem@davemloft.net>
11495 * po/ca.po: Update Catalan translation from translation project.
11496 * po/uk.po: Add Ukrainian translations from translation project.
11498 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11501 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11502 is infinite, not alongside NaN test.
11503 * math/s_fdimf.c (__fdimf): Likewise.
11504 * math/s_fdiml.c (__fdiml): Likewise.
11505 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11506 errno is unchanged.
11508 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11510 * argp/argp-help.c: Fix typos.
11511 * crypt/speeds.c: Likewise.
11512 * csu/check_fds.c: Likewise.
11513 * elf/dl-load.c: Likewise.
11514 * elf/dl-open.c: Likewise.
11515 * elf/reldep3.c: Likewise.
11516 * elf/reldep.c: Likewise.
11517 * elf/sprof.c: Likewise.
11518 * iconv/iconv_charmap.c: Likewise.
11519 * iconv/skeleton.c: Likewise.
11520 * iconv/strtab.c: Likewise.
11521 * io/lockf64.c: Likewise.
11522 * libio/libioP.h: Likewise.
11523 * resolv/gai_notify.c: Likewise.
11524 * resolv/ns_name.c: Likewise.
11525 * resolv/ns_samedomain.c: Likewise.
11526 * resolv/res_send.c: Likewise.
11527 * stdlib/random.c: Likewise.
11528 * sunrpc/rpc/xdr.h: Likewise.
11529 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11530 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11531 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11532 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11533 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11534 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11535 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11536 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11537 * sysdeps/mach/hurd/check_fds.c: Likewise.
11538 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11539 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11540 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11541 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11542 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11543 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11544 * sysdeps/pthread/aio_notify.c: Likewise.
11545 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11546 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11547 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11548 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11549 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11551 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11553 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11554 version if bit_Slow_SSE4_2 is set.
11555 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11556 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11558 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11561 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11562 trampoline stack frame information.
11563 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11564 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11565 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11566 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11567 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11568 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11569 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11570 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11572 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11573 interrupting a syscall and set with option SA_SIGINFO.
11575 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11578 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11579 argument is infinite.
11580 * math/s_cprojf.c (__cprojf): Likewise.
11581 * math/s_cprojl.c (__cprojl): Likewise.
11582 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11583 * math/libm-test.inc (cproj_test_data): Add more tests.
11585 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11587 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11588 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11589 size. Use __ffs to determine corresponding shift.
11591 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11592 Roland McGrath <roland@hack.frob.com>
11594 * Makefile (INSTALL): Remove trailing blank lines from output of
11597 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11599 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11600 Align 32 bit compat elf_greg to 8 bytes.
11602 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11604 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11606 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11608 * string/strcoll_l.c (coll_seq): New structure.
11609 (get_next_seq_cached): New function.
11610 (get_next_seq): New function.
11611 (do_compare): New function.
11612 (STRCOLL): Use GNU style definition. Simplify implementation
11613 by using get_next_seq, get_next_seq_cached and do_compare.
11615 2013-08-16 Florian Weimer <fweimer@redhat.com>
11619 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11621 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11623 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11624 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11625 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11627 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11628 GETDENTS_64BIT_ALIGNED.
11629 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11630 * manual/filesys.texi (Reading/Closing Directory): Document
11631 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11633 * manual/conf.texi (Limits for Files): Add portability note to
11634 NAME_MAX, PATH_MAX.
11635 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11637 2013-08-13 Andreas Schwab <schwab@suse.de>
11640 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11642 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11643 LDBL_MAX_EXP >= 16384]: Add tests for it.
11645 2013-08-12 David S. Miller <davem@davemloft.net>
11647 * version.h (RELEASE): Set to "development".
11648 (VERSION): Set to "2.18.90".
11649 * NEWS: Add 2.19 section.
11651 2013-08-03 David S. Miller <davem@davemloft.net>
11653 * po/ko.po: Update Korean translation from translation project.
11655 2013-08-01 David S. Miller <davem@davemloft.net>
11657 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11658 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11661 2013-07-30 David S. Miller <davem@davemloft.net>
11663 * po/fr.po: Update French translation from translation project.
11665 2013-07-28 David S. Miller <davem@davemloft.net>
11667 * po/cs.po: Update Czech translation from translation project.
11669 * po/sv.po: Update Swedish translation from translation project.
11671 2013-07-27 David S. Miller <davem@davemloft.net>
11673 * po/eo.po: Update Esperanto translation from translation project.
11675 * po/vi.po: Update Vietnamese translation from translation project.
11677 * po/de.po: Update German translation from translation project.
11679 2013-07-26 David S. Miller <davem@davemloft.net>
11681 * po/bg.po: Update Bulgarian translation from translation project.
11683 * po/nl.po: Update Dutch translation from translation project.
11684 * po/pl.po: Update Polish translation from translation project.
11685 * po/ru.po: Update Russian translation from translation project.
11687 2013-07-24 David S. Miller <davem@davemloft.net>
11689 * po/libc.pot: Update.
11691 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11693 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11694 variable page size.
11695 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11696 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11697 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11699 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11701 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11703 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11704 Andreas Schwab <schwab@suse.de>
11705 Roland McGrath <roland@hack.frob.com>
11706 Joseph Myers <joseph@codesourcery.com>
11707 Carlos O'Donell <carlos@redhat.com>
11710 * config.h.in: Define HAVE_PT_CHOWN.
11711 * config.make.in (build-pt-chown): New variable.
11712 * configure.in (--enable-pt_chown): New configure option.
11713 * configure: Regenerate.
11714 * login/Makefile: Include Makeconfig. Build pt_chown only if
11715 build-pt-chown is enabled.
11716 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11717 pt_chown to fix pty ownership.
11718 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11720 * manual/install.texi (Configuring and compiling): Mention
11721 --enable-pt_chown. Add @findex for grantpt.
11722 * INSTALL: Regenerate.
11724 2013-07-20 David S. Miller <davem@davemloft.net>
11726 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11727 difference between 32-bit and 64-bit.
11729 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11732 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11733 Avoid system header dependency with -ffreestanding.
11734 ($(objpfx)bits/syscall%d): Likewise.
11736 2013-07-13 David S. Miller <davem@davemloft.net>
11738 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11739 underflows from atanl/atan2l due to bug 15319.
11740 (casinh_test_data): Likewise.
11742 2013-07-07 David S. Miller <davem@davemloft.net>
11744 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11746 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11748 * sysdeps/i386/fpu/libm-test-ulps: Update.
11749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11751 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11753 * configure.in (--enable-lock-elision): Fix message text.
11754 * INSTALL: Regenerate.
11755 * configure: Regenerate.
11757 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11761 2013-07-03 Andreas Jaeger <aj@suse.de>
11763 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11765 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11766 (ptrace_peeksiginfo_args): Add.
11767 (__ptrace_peeksiginfo_flags): Add.
11768 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11769 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11770 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11772 2013-07-03 Allan McRae <allan@archlinux.org>
11774 * sysdeps/i386/fpu/libm-test-ulps: Update.
11776 2013-07-02 David S. Miller <davem@davemloft.net>
11778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11780 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11784 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11786 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11789 2013-07-02 Andi Kleen <ak@linux.intel.com>
11791 * config.h.in (ENABLE_LOCK_ELISION): Add.
11792 * configure.in (--enable-lock-elision): Add option.
11793 * manual/install.texi: Document --enable lock elision.
11794 * configure: Regenerate
11795 * INSTALL: Regenerate.
11797 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11799 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11800 SSE4.2 strcasecmp for libc.a.
11801 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11803 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11806 * soft-fp/op-common.h (_FP_FMA): New macro.
11807 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11808 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11809 (_FP_MUL_MEAT_1_imm): ... here.
11810 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11811 (_FP_MUL_MEAT_1_wide): ... here.
11812 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11813 (_FP_MUL_MEAT_1_hard): ... here.
11814 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11815 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11816 (_FP_MUL_MEAT_2_wide): ... here.
11817 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11818 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11819 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11820 (_FP_MUL_MEAT_2_gmp): ... here.
11821 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11822 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11823 (_FP_MUL_MEAT_4_wide): ... here.
11824 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11825 (_FP_MUL_MEAT_4_gmp): ... here.
11826 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11827 (_FP_WFRACBITS_DW_S): Likewise.
11828 (_FP_WFRACXBITS_DW_S): Likewise.
11829 (_FP_HIGHBIT_DW_S): Likewise.
11830 (FP_FMA_S): Likewise.
11831 (_FP_FRAC_HIGH_DW_S): Likewise.
11832 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11833 (_FP_WFRACBITS_DW_D): Likewise.
11834 (_FP_WFRACXBITS_DW_D): Likewise.
11835 (_FP_HIGHBIT_DW_D): Likewise.
11836 (FP_FMA_D): Likewise.
11837 (_FP_FRAC_HIGH_DW_D): Likewise.
11838 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11839 (_FP_WFRACBITS_DW_E): Likewise.
11840 (_FP_WFRACXBITS_DW_E): Likewise.
11841 (_FP_HIGHBIT_DW_E): Likewise.
11842 (FP_FMA_E): Likewise.
11843 (_FP_FRAC_HIGH_DW_E): Likewise.
11844 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11845 (_FP_WFRACBITS_DW_Q): Likewise.
11846 (_FP_WFRACXBITS_DW_Q): Likewise.
11847 (_FP_HIGHBIT_DW_Q): Likewise.
11848 (FP_FMA_Q): Likewise.
11849 (_FP_FRAC_HIGH_DW_Q): Likewise.
11850 * soft-fp/fmasf4.c: New file.
11851 * soft-fp/fmadf4.c: Likewise.
11852 * soft-fp/fmatf4.c: Likewise.
11854 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11857 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11859 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11861 (index_Slow_SSE4_2): Likewise.
11862 (index_Prefer_PMINUB_for_stringop): Likewise.
11863 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11864 bit_Slow_SSE4_2 is set.
11865 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11866 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11868 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11870 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11871 rtld_global._dl_hwcap2.
11872 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11874 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11875 POWER8 feature descriptions defined in _dl_hwcap2.
11876 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11877 string handling for POWER8 feature bits.
11878 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11879 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11880 _dl_powerpc_cap_flags.
11881 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11882 * sysdeps/powerpc/rtld-global-offsets.sym
11883 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11884 _dl_hwcap2 in the rtld_global_ro structure.
11886 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11888 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11889 hardware capabilities in support of AT_HWCAP2.
11890 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11891 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11893 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11894 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11895 explicitly the unknown a_type display mechanism is used.
11896 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11897 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11899 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11900 to macro prototype for AT_HWCAP2 support.
11901 * sysdeps/i386/dl-procinfo.h: Likewise.
11902 * sysdeps/s390/dl-procinfo.h: Likewise.
11903 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11904 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11905 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11906 return -1 for unknown a_type display fallback.
11907 * sysdeps/sparc/dl-procinfo.h: Likewise.
11908 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11909 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11911 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11913 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11914 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11916 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11919 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11920 mprotect making __stack_prot writable.
11922 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11923 Joseph Myers <joseph@codesourcery.com>
11925 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11926 as being properly aligned.
11928 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11930 * dlfcn/modstatic5.c: New file.
11931 * dlfcn/tststatic5.c: New file.
11932 * dlfcn/Makefile (tests): Add tststatic5.
11933 (tests-static): Likewise.
11934 (modules-names): Add modstatic5.
11935 (tststatic5-ENV): New variable.
11936 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11939 * elf/dl-support.c (_dl_main_map): New variable.
11940 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11941 (_dl_nns, _dl_load_adds): Set to 1.
11942 (_dl_initial_searchlist): Refer to _dl_main_map.
11943 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11944 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11945 call to _dl_get_origin.
11946 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11948 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11949 * dlfcn/modstatic3.c: New file.
11950 * dlfcn/tststatic3.c: New file.
11951 * dlfcn/tststatic4.c: New file.
11952 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11953 (tests-static): Likewise.
11954 (modules-names): Add modstatic3.
11955 (tststatic3-ENV, tststatic4-ENV): New variables.
11956 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11957 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11959 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11961 * configure.in (CC): Require GCC version 4.4 or later.
11962 * configure: Regenerated.
11963 * manual/install.texi (Tools for Compilation): Update GCC version
11965 * INSTALL: Regenerated.
11967 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11970 * string/test-memcmp.c (check2): New.
11971 (main): Call check2.
11973 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11975 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11978 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11980 (dl_open_worker) [!SHARED]: ... here.
11982 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11984 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11986 2013-06-25 Richard Henderson <rth@redhat.com>
11988 * locale/programs/locarchive.c: Include <libc-internal.h>
11990 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11992 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11993 trailing whitespace removed.
11995 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11998 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11999 * locale/programs/locarchive.c: Include libc-mmap.h.
12000 (prepare_address_space): Take two new outputs (the mmap base and len).
12001 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12003 (create_archive): Declare new mmap base and len values for
12004 prepare_address_space, and store the result in ah.
12005 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12006 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12007 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12008 Declare new mmap base and len values for
12009 prepare_address_space, and store the result in new_ah.
12010 (open_archive): Declare new mmap base and len values for
12011 prepare_address_space, and store the result in ah.
12012 (close_archive): If ah->mmap_base is not NULL, use that and
12013 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12014 * sysdeps/generic/libc-mmap.h: New file.
12016 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12018 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12019 (ALIGN_UP): Likewise.
12020 (PTR_ALIGN_DOWN): Likewise.
12021 (PTR_ALIGN_UP): Likewise.
12023 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12025 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12026 entry mapped to PPC_PLATFORM_POWER8.
12027 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12029 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12030 (_dl_string_platform): Add case for exporting platform position for
12032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12033 search path to sysdeps/powerpc/powerpc32/power8 directory.
12034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12035 search path to sysdeps/powerpc/powerpc64/power8 directory.
12036 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12037 power7 directories.
12038 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12039 power7 directories.
12041 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12043 * INSTALL: Regenerate.
12045 * nscd/connections.c (nscd_init): Fix comment.
12047 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12049 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12052 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12053 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12055 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12057 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12059 (DL_DST_REQ_STATIC): Remove macro.
12061 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12064 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12065 with a shift of 0 bits.
12067 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12069 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12072 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12075 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12077 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12079 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12080 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12081 accepts -fno-tree-loop-distribute-patterns.
12082 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12083 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12085 * string/memset.c (memset): Likewise.
12086 * string/test-memmove.c (simple_memmove): Disable loop transformation
12088 * string/test-memset.c (simple_memset): Likewise.
12089 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12090 * benchtests/bench-memset.c (simple_memset): Likewise.
12091 * configure: Regenerated.
12093 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12095 * math/test-misc.c (main): Ignore fesetround failure when failures
12096 of subsequent rounding tests would be ignored.
12099 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12100 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12101 * math/fegetenv.c (__fegetenv): Return 0.
12102 * math/fegetexcept.c (fegetexcept): Return 0.
12103 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12105 * math/feholdexcpt.c (feholdexcept): Return 0.
12106 * math/fesetenv.c (__fesetenv): Return 0.
12107 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12108 argument FE_TONEAREST.
12109 * math/feupdateenv.c (__feupdateenv): Return 0.
12110 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12112 2013-06-18 Roland McGrath <roland@hack.frob.com>
12114 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12115 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12116 ($(objpfx)rtld-%.os rules): Use them.
12118 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12120 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12123 2013-06-17 Roland McGrath <roland@hack.frob.com>
12125 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12126 length of target pattern, then descending length of dependency pattern.
12127 * configure.in (AWK): Require gawk 3.1.2 or newer.
12128 * manual/install.texi (Tools for Compilation): Say that we do.
12129 * configure: Regenerated.
12131 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12132 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12133 * scripts/sysd-rules.awk: ... this new script.
12134 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12135 than a glob-style pattern.
12137 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12139 * math/test-misc.c (main): Do not treat incorrectly rounded
12140 conversions as failure unless ROUNDING_TESTS passes.
12142 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12145 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12146 restore exception state around main square root computation, then
12147 check for inexactness explicitly.
12149 * math/libm-test.inc (fma_test_data): Add another test.
12151 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12153 * manual/threads.texi (Non-POSIX Extensions): New document
12154 node. Document pthread_getattr_default_np and
12155 pthread_setattr_default_np.
12157 * Versions.def (libpthread): Add GLIBC_2.18.
12158 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12167 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12178 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12181 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12183 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12184 H.J. Lu <hjl.tools@gmail.com>
12187 * sysdeps/x86_64/rtld-memset.c: Remove file.
12188 * sysdeps/x86_64/rtld-memset.S: New file.
12190 2013-06-14 Joseph Myers <joseph@codesourcery.com>
12192 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12193 (test_in_one_mode): Take arguments for whether the rounding mode
12194 is supported for each floating-point type.
12195 (do_test): Pass new arguments to test_in_one_mode using
12198 2013-06-13 Roland McGrath <roland@hack.frob.com>
12200 * posix/tst-waitid.c (do_test): Distinguish different instances of
12201 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12202 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12203 before entering the kernel for waitpid.
12205 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12207 * NEWS: Fix note on clock function precision. Text by Roland
12210 2013-06-13 Roland McGrath <roland@hack.frob.com>
12212 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12213 it into place only when and if the sanity check passes.
12215 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12217 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12218 output for whether conversion result is exact. Take argument
12219 indicating whether type is IBM long double.
12220 (round_for_all): Change need_exact field to ibm_ld.
12221 * stdlib/tst-strtod-round.c (struct exactness): New type.
12222 (struct test): Change bool ld_ok field to struct exactness exact.
12223 (TEST): Update all definitions for change to field.
12224 (tests): Regenerate array contents.
12225 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12226 field value. Check for IBM long double here.
12227 (do_test): Update calls to test_in_one_mode.
12229 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12232 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12233 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12235 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12238 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12239 generated by the compiler on loop optimizations.
12240 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12241 general definitions.
12243 2013-06-12 Joseph Myers <joseph@codesourcery.com>
12245 * math/bug-nextafter.c: Include <math-tests.h>.
12246 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12248 * math/bug-nexttoward.c: Include <math-tests.h>.
12249 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12251 * math/test-misc.c: Include <math-tests.h>.
12252 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12255 2013-06-12 Andreas Jaeger <aj@suse.de>
12257 * po/ia.po: Update Interlingua translation from translation
12260 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12262 * include/fenv.h: Include stdbool.h.
12263 (struct rm_ctx): New structure.
12264 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12266 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12267 (SET_RESTORE_ROUNDF): Likewise.
12268 (SET_RESTORE_ROUNDL): Likewise.
12269 (SET_RESTORE_ROUND_NOEX): Likewise.
12270 (SET_RESTORE_ROUND_NOEXF): Likewise.
12271 (SET_RESTORE_ROUND_NOEXL): Likewise.
12272 (SET_RESTORE_ROUND_53BIT): Likewise.
12273 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12274 (libc_feresetround_noexf_ctx): Likewise.
12275 (libc_feresetround_noexl_ctx): Likewise.
12276 (libc_feholdsetround_53bit_ctx): Likewise.
12277 (libc_feresetround_53bit_ctx): Likewise.
12278 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12279 (libc_feholdexcept_setround_sse_ctx): New function.
12280 (libc_fesetenv_sse_ctx): Likewise.
12281 (libc_feupdateenv_sse_ctx): Likewise.
12282 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12283 (libc_feholdexcept_setround_387_ctx): Likewise.
12284 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12285 (libc_feholdsetround_387_prec_ctx): Likewise.
12286 (libc_feholdsetround_387_ctx): Likewise.
12287 (libc_feholdsetround_387_53bit_ctx): Likewise.
12288 (libc_feholdsetround_sse_ctx): Likewise.
12289 (libc_feresetround_sse_ctx): Likewise.
12290 (libc_feresetround_387_ctx): Likewise.
12291 (libc_feupdateenv_387_ctx): Likewise.
12292 (libc_feholdexcept_setroundf_ctx): Define macro.
12293 (libc_fesetenvf_ctx): Likewise.
12294 (libc_feupdateenvf_ctx): Likewise.
12295 (libc_feholdsetroundf_ctx): Likewise.
12296 (libc_feresetroundf_ctx): Likewise.
12297 (libc_feholdexcept_setround_ctx): Likewise.
12298 (libc_fesetenv_ctx): Likewise.
12299 (libc_feupdateenv_ctx): Likewise.
12300 (libc_feholdsetround_ctx): Likewise.
12301 (libc_feresetround_ctx): Likewise.
12302 (libc_feholdexcept_setroundl_ctx): Likewise.
12303 (libc_feupdateenvl_ctx): Likewise.
12304 (libc_feholdsetroundl_ctx): Likewise.
12305 (libc_feresetroundl_ctx): Likewise.
12306 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12307 (libc_feresetround_53bit_ctx): Likewise.
12309 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12311 * locale/iso-639.def: Convert to UTF-8.
12313 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12315 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12316 (EXCEPTION_TESTS_double): Likewise.
12317 (EXCEPTION_TESTS_long_double): Likewise.
12318 (EXCEPTION_TESTS): Likewise.
12319 * math/libm-test.inc (test_exceptions): Only test exceptions if
12320 EXCEPTION_TESTS (FLOAT).
12322 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12324 * benchtests/Makefile (string-bench): Add strcpy_chk and
12326 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12327 * benchtests/bench-stpcpy_chk.c: New file.
12328 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12329 * benchtests/bench-strcpy_chk.c: New file.
12330 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12332 (do_test): Likewise.
12334 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12336 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12337 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12338 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12339 with tabs where appropriate.
12340 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12342 [PPC_PLATFORM_PPC440]: Likewise.
12343 [PPC_PLATFORM_PPC464]: Likewise.
12344 [PPC_PLATFORM_PPC476]: Likewise.
12345 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12346 ppc464, and ppc476 platform strings merging from ports/
12349 2013-06-11 Andreas Schwab <schwab@suse.de>
12352 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12353 (from_ucs4_idx): Regenerate.
12354 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12355 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12356 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12357 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12358 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12359 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12360 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12361 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12362 from FROM_LOOP and TO_LOOP specific macros.
12363 (BODY): Handle combining characters.
12364 * iconvdata/BIG5HKSCS.irreversible: Update.
12365 * iconvdata/BIG5HKSCS.precomposed: New file.
12366 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12368 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12370 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12372 * include/sys/time.h: Fix indentation and add copyright header.
12374 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12375 (do_test): Likewise.
12376 * string/test-memchr.c (do_one_test): Likewise.
12377 (do_test): Likewise.
12378 * string/test-memcmp.c (do_one_test): Likewise.
12379 (do_test): Likewise.
12380 * string/test-memcpy.c (do_one_test): Likewise.
12381 (do_test): Likewise.
12382 * string/test-memmem.c (do_one_test): Likewise.
12383 (do_test): Likewise.
12384 (do_random_tests): Likewise.
12385 * string/test-memmove.c (do_one_test): Likewise.
12386 (do_test): Likewise.
12387 * string/test-memset.c (do_one_test): Likewise.
12388 (do_test): Likewise.
12389 * string/test-rawmemchr.c (do_one_test): Likewise.
12390 (do_test): Likewise.
12391 * string/test-strcasecmp.c (do_one_test): Likewise.
12392 (do_test): Likewise.
12393 * string/test-strcasestr.c (do_one_test): Likewise.
12394 (do_test): Likewise.
12395 * string/test-strcat.c (do_one_test): Likewise.
12396 (do_test): Likewise.
12397 * string/test-strchr.c (do_one_test): Likewise.
12398 (do_test): Likewise.
12399 * string/test-strcmp.c (do_one_test): Likewise.
12400 (do_test): Likewise.
12401 * string/test-strcpy.c (do_one_test): Likewise.
12402 (do_test): Likewise.
12403 * string/test-string.h: Likewise.
12404 (test_init): Likewise.
12405 * string/test-strlen.c (do_one_test): Likewise.
12406 (do_test): Likewise.
12407 * string/test-strncasecmp.c (do_one_test): Likewise.
12408 (do_test): Likewise.
12409 * string/test-strncat.c (do_one_test): Likewise.
12410 (do_test): Likewise.
12411 * string/test-strncmp.c (do_one_test): Likewise.
12412 (do_test_limit): Likewise.
12413 (do_test): Likewise.
12414 * string/test-strncpy.c (do_one_test): Likewise.
12415 (do_test): Likewise.
12416 * string/test-strnlen.c (do_one_test): Likewise.
12417 (do_test): Likewise.
12418 * string/test-strpbrk.c (do_one_test): Likewise.
12419 (do_test): Likewise.
12420 * string/test-strrchr.c (do_one_test): Likewise.
12421 (do_test): Likewise.
12422 * string/test-strspn.c (do_one_test): Likewise.
12423 (do_test): Likewise.
12424 * string/test-strstr.c (do_one_test): Likewise.
12425 (do_test): Likewise.
12427 * benchtests/Makefile (string-bench): Add string benchmarks.
12428 * benchtests/bench-bcopy-ifunc.c: New file.
12429 * benchtests/bench-bcopy.c: New file.
12430 * benchtests/bench-bzero-ifunc.c: New file.
12431 * benchtests/bench-bzero.c: New file.
12432 * benchtests/bench-memccpy-ifunc.c: New file.
12433 * benchtests/bench-memccpy.c: New file.
12434 * benchtests/bench-memchr-ifunc.c: New file.
12435 * benchtests/bench-memchr.c: New file.
12436 * benchtests/bench-memcmp-ifunc.c: New file.
12437 * benchtests/bench-memcmp.c: New file.
12438 * benchtests/bench-memmem-ifunc.c: New file.
12439 * benchtests/bench-memmem.c: New file.
12440 * benchtests/bench-memmove-ifunc.c: New file.
12441 * benchtests/bench-memmove.c: New file.
12442 * benchtests/bench-mempcpy-ifunc.c: New file.
12443 * benchtests/bench-mempcpy.c: New file.
12444 * benchtests/bench-memset-ifunc.c: New file.
12445 * benchtests/bench-memset.c: New file.
12446 * benchtests/bench-rawmemchr-ifunc.c: New file.
12447 * benchtests/bench-rawmemchr.c: New file.
12448 * benchtests/bench-stpcpy-ifunc.c: New file.
12449 * benchtests/bench-stpcpy.c: New file.
12450 * benchtests/bench-stpncpy-ifunc.c: New file.
12451 * benchtests/bench-stpncpy.c: New file.
12452 * benchtests/bench-strcasecmp-ifunc.c: New file.
12453 * benchtests/bench-strcasecmp.c: New file.
12454 * benchtests/bench-strcasestr-ifunc.c: New file.
12455 * benchtests/bench-strcasestr.c: New file.
12456 * benchtests/bench-strcat-ifunc.c: New file.
12457 * benchtests/bench-strcat.c: New file.
12458 * benchtests/bench-strchr-ifunc.c: New file.
12459 * benchtests/bench-strchr.c: New file.
12460 * benchtests/bench-strchrnul-ifunc.c: New file.
12461 * benchtests/bench-strchrnul.c: New file.
12462 * benchtests/bench-strcmp-ifunc.c: New file.
12463 * benchtests/bench-strcmp.c: New file.
12464 * benchtests/bench-strcpy-ifunc.c: New file.
12465 * benchtests/bench-strcpy.c: New file.
12466 * benchtests/bench-strcspn-ifunc.c: New file.
12467 * benchtests/bench-strcspn.c: New file.
12468 * benchtests/bench-strlen-ifunc.c: New file.
12469 * benchtests/bench-strlen.c: New file.
12470 * benchtests/bench-strncasecmp-ifunc.c: New file.
12471 * benchtests/bench-strncasecmp.c: New file.
12472 * benchtests/bench-strncat-ifunc.c: New file.
12473 * benchtests/bench-strncat.c: New file.
12474 * benchtests/bench-strncmp-ifunc.c: New file.
12475 * benchtests/bench-strncmp.c: New file.
12476 * benchtests/bench-strncpy-ifunc.c: New file.
12477 * benchtests/bench-strncpy.c: New file.
12478 * benchtests/bench-strnlen-ifunc.c: New file.
12479 * benchtests/bench-strnlen.c: New file.
12480 * benchtests/bench-strpbrk-ifunc.c: New file.
12481 * benchtests/bench-strpbrk.c: New file.
12482 * benchtests/bench-strrchr-ifunc.c: New file.
12483 * benchtests/bench-strrchr.c: New file.
12484 * benchtests/bench-strspn-ifunc.c: New file.
12485 * benchtests/bench-strspn.c: New file.
12486 * benchtests/bench-strstr-ifunc.c: New file.
12487 * benchtests/bench-strstr.c: New file.
12489 * benchtests/Makefile: Disable parallel execution of targets.
12490 (string-bench): Add memcpy.
12491 (benchset): New variable to store a list of benchmark sets.
12492 (bench-func): Renamed from bench.
12493 (bench-set): New target.
12494 (bench): Depend on bench-func and bench-set.
12495 * benchtests/README: Add section on benchmark sets.
12496 * benchtests/bench-memcpy-ifunc.c: New file.
12497 * benchtests/bench-memcpy.c: New file.
12498 * benchtests/bench-string.h: New file.
12500 2013-06-11 Andreas Schwab <schwab@suse.de>
12503 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12504 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12505 values in the triple.
12506 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12507 terminator in the group key.
12509 2013-06-11 Andreas Jaeger <aj@suse.de>
12511 * po/zh_TW.po: Update Chinese (traditional) translation from
12512 translation project.
12514 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12516 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12517 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12518 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12519 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12520 (clock_getcpuclockid): Likewise.
12521 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12522 Add weak_alias and libc_hidden_def.
12523 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12524 * rt/clock_gettime.c (clock_gettime): Rename to
12525 __clock_gettime. Add weak_alias and libc_hidden_def.
12526 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12527 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12528 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12529 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12530 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12532 * rt/clock_settime.c (clock_settime): Rename to
12533 __clock_settime. Add weak_alias and libc_hidden_def.
12534 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12536 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12538 * mach/err_boot.sub: Remove trailing whitespace.
12539 * mach/err_ipc.sub: Likewise.
12540 * mach/err_mach.sub: Likewise.
12542 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12543 (ROUNDING_TESTS_double): Likewise.
12544 (ROUNDING_TESTS_long_double): Likewise.
12545 (ROUNDING_TESTS): Likewise.
12546 * math/libm-test.inc: Include <math-tests.h>.
12547 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12548 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12549 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12550 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12552 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12554 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12557 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12559 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12560 otherwise empty TRANS lines.
12561 * sysdeps/gnu/errlist.c: Regenerated.
12563 * catgets/gencat.c (error_print): Use (void) in function
12565 * crypt/crypt_util.c (__init_des): Likewise.
12566 * crypt/speeds.c (Stop): Likewise.
12568 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12569 * inet/ruserpass.c (token): Likewise.
12570 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12571 * intl/localealias.c (extend_alias_table): Likewise.
12572 * intl/plural-exp.c (init_germanic_plural): Likewise.
12573 * libio/fcloseall.c (__fcloseall): Likewise.
12574 * libio/genops.c (_IO_flush_all): Likewise.
12575 (_IO_flush_all_linebuffered): Likewise.
12576 (_IO_cleanup): Likewise.
12577 (_IO_iter_begin): Likewise.
12578 (_IO_iter_end): Likewise.
12579 (_IO_list_lock): Likewise.
12580 (_IO_list_unlock): Likewise.
12581 (_IO_list_resetlock): Likewise.
12582 * libio/getchar.c (getchar): Likewise.
12583 * libio/getchar_u.c (getchar_unlocked): Likewise.
12584 * libio/getwchar.c (getwchar): Likewise.
12585 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12586 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12587 * login/getpt.c (__getpt): Likewise.
12588 * login/tst-utmp.c (main): Likewise.
12589 * malloc/hooks.c (__malloc_check_init): Likewise.
12590 * malloc/malloc.c (__malloc_stats): Likewise.
12591 * malloc/mtrace.c (tr_break): Likewise.
12592 (mtrace): Likewise.
12593 (muntrace): Likewise.
12594 * misc/fstab.c (endfsent): Likewise.
12595 * misc/getclktck.c (__getclktck): Likewise.
12596 * misc/getdtsz.c (__getdtablesize): Likewise.
12597 * misc/gethostid.c (gethostid): Likewise.
12598 * misc/getpagesize.c (__getpagesize): Likewise.
12599 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12600 (__get_nprocs): Likewise.
12601 (__get_phys_pages): Likewise.
12602 (__get_avphys_pages): Likewise.
12603 * misc/getttyent.c (getttyent): Likewise.
12604 (setttyent): Likewise.
12605 (endttyent): Likewise.
12606 * misc/getusershell.c (getusershell): Likewise.
12607 (endusershell): Likewise.
12608 (setusershell): Likewise.
12609 (initshells): Likewise.
12610 * misc/hsearch.c (__hdestroy): Likewise.
12611 * misc/sync.c (sync): Likewise.
12612 * misc/syslog.c (closelog_internal): Likewise.
12613 (closelog): Likewise.
12614 * misc/ttyslot.c (ttyslot): Likewise.
12615 * misc/vhangup.c (vhangup): Likewise.
12616 * posix/fork.c (__fork): Likewise.
12617 * posix/getegid.c (__getegid): Likewise.
12618 * posix/geteuid.c (__geteuid): Likewise.
12619 * posix/getgid.c (__getgid): Likewise.
12620 * posix/getpid.c (__getpid): Likewise.
12621 * posix/getppid.c (__getppid): Likewise.
12622 * posix/getuid.c (__getuid): Likewise.
12623 * posix/pause.c (pause): Likewise.
12624 * posix/setpgrp.c (setpgrp): Likewise.
12625 * posix/setsid.c (__setsid): Likewise.
12626 * posix/test-vfork.c (noop): Likewise.
12627 * resolv/gethnamaddr.c (_endhtent): Likewise.
12628 (_gethtent): Likewise.
12629 (ht_endhostent): Likewise.
12630 (gethostent): Likewise.
12631 (dns_service): Likewise.
12632 * stdlib/drand48.c (drand48): Likewise.
12633 * stdlib/lrand48.c (lrand48): Likewise.
12634 * stdlib/mrand48.c (mrand48): Likewise.
12635 * stdlib/rand.c (rand): Likewise.
12636 * stdlib/random.c (__random): Likewise.
12637 * stdlib/setenv.c (clearenv): Likewise.
12638 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12639 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12640 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12641 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12642 (__get_nprocs): Likewise.
12643 (__get_phys_pages): Likewise.
12644 (__get_avphys_pages): Likewise.
12645 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12646 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12647 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12648 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12649 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12650 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12651 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12652 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12653 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12654 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12655 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12656 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12657 * sysdeps/posix/clock.c (clock): Likewise.
12658 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12659 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12660 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12661 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12662 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12663 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12664 (__get_nprocs_conf): Likewise.
12665 (__get_phys_pages): Likewise.
12666 (__get_avphys_pages): Likewise.
12667 * time/clock.c (clock): Likewise.
12668 * time/tzset.c (__tzname_max): Likewise.
12670 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12672 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12673 (__bswap_32): Do not use "register".
12674 * crypt/crypt.c (_ufc_doit_r): Likewise.
12675 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12676 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12677 * gmon/gmon.c (__monstartup): Likewise.
12678 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12679 * hurd/hurdmalloc.c (more_memory): Likewise.
12680 (malloc): Likewise.
12682 (realloc): Likewise.
12683 (malloc_fork_prepare): Likewise.
12684 (malloc_fork_parent): Likewise.
12685 (malloc_fork_child): Likewise.
12686 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12687 (_svcauth_des): Likewise.
12688 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12689 * inet/inet_net.c (inet_network): Likewise.
12690 * inet/inet_netof.c (inet_netof): Likewise.
12691 * inet/rcmd.c (__validuser2_sa): Likewise.
12692 * io/fts.c (fts_open): Likewise.
12693 (fts_load): Likewise.
12694 (fts_close): Likewise.
12695 (fts_read): Likewise.
12696 (fts_children): Likewise.
12697 (fts_build): Likewise.
12698 (fts_stat): Likewise.
12699 (fts_sort): Likewise.
12700 (fts_alloc): Likewise.
12701 (fts_lfree): Likewise.
12702 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12703 (_IO_file_xsgetn): Likewise.
12704 (_IO_file_xsgetn_mmap): Likewise.
12705 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12706 (_IO_cookie_write): Likewise.
12707 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12708 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12709 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12710 * malloc/obstack.c (_obstack_begin): Likewise.
12711 (_obstack_begin_1): Likewise.
12712 (_obstack_newchunk): Likewise.
12713 (_obstack_allocated_p): Likewise.
12714 (obstack_free): Likewise.
12715 (_obstack_memory_used): Likewise.
12716 * misc/getttyent.c (getttynam): Likewise.
12717 (getttyent): Likewise.
12720 * misc/getusershell.c (initshells): Likewise.
12721 * misc/syslog.c (__vsyslog_chk): Likewise.
12722 * misc/ttyslot.c (ttyslot): Likewise.
12723 * nis/nis_hash.c (__nis_hash): Likewise.
12724 * posix/fnmatch_loop.c (FCT): Likewise.
12725 * posix/getconf.c (print_all): Likewise.
12727 * posix/getopt.c (exchange): Likewise.
12728 * posix/glob.c (globfree): Likewise.
12729 (prefix_array): Likewise.
12730 (__glob_pattern_type): Likewise.
12731 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12732 (NS_GET32): Likewise.
12733 (NS_PUT16): Likewise.
12734 (NS_PUT32): Likewise.
12735 * resolv/gethnamaddr.c (getanswer): Likewise.
12736 (gethostbyname2): Likewise.
12737 (gethostbyaddr): Likewise.
12738 (_gethtent): Likewise.
12739 (_gethtbyname2): Likewise.
12740 (_gethtbyaddr): Likewise.
12741 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12742 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12743 * resolv/res_init.c (__res_vinit): Likewise.
12744 (net_mask): Likewise.
12745 * resolv/res_mkquery.c (outchar): Likewise.
12747 * stdio-common/printf_fp.c (outchar): Likewise.
12749 * stdio-common/printf_fphex.c (outchar): Likewise.
12751 * stdio-common/printf_size.c (outchar): Likewise.
12753 * stdio-common/test_rdwr.c (main): Likewise.
12754 * stdio-common/tfformat.c (matches): Likewise.
12755 * stdio-common/vfprintf.c (outchar): Likewise.
12756 (printf_unknown): Likewise.
12757 (buffered_vfprintf): Likewise.
12758 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12759 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12760 (ReadFile): Likewise.
12761 * stdlib/qsort.c (SWAP): Likewise.
12762 (_quicksort): Likewise.
12763 * stdlib/setenv.c (__add_to_environ): Likewise.
12764 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12765 * stdlib/strtol_l.c (__strtol_l): Likewise.
12766 * stdlib/tst-strtod.c (main): Likewise.
12767 * stdlib/tst-strtol.c (main): Likewise.
12768 * stdlib/tst-strtoll.c (main): Likewise.
12769 * string/bits/string2.h (__strcmp_cc): Likewise.
12770 (__strcmp_cg): Likewise.
12771 (__strcspn_c1): Likewise.
12772 (__strcspn_c2): Likewise.
12773 (__strcspn_c3): Likewise.
12774 (__strspn_c1): Likewise.
12775 (__strspn_c2): Likewise.
12776 (__strspn_c3): Likewise.
12777 (__strsep_1c): Likewise.
12778 (__strsep_2c): Likewise.
12779 (__strsep_3c): Likewise.
12780 * string/memccpy.c (__memccpy): Likewise.
12781 * string/stpcpy.c (__stpcpy): Likewise.
12782 * string/strcmp.c (strcmp): Likewise.
12783 * string/strrchr.c (strrchr): Likewise.
12784 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12786 * sysdeps/mach/hurd/getcwd.c
12787 (_hurd_canonicalize_directory_name_internal): Likewise.
12788 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12789 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12790 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12791 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12792 Likewise, in both definitions.
12793 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12795 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12796 64] (__bswap_64): Likewise.
12797 * time/test_time.c (main): Likewise.
12798 * time/tzfile.c (__tzfile_read): Likewise.
12799 (__tzfile_compute): Likewise.
12800 * time/tzset.c (__tzset_parse_tz): Likewise.
12801 (tzset_internal): Likewise.
12802 (compute_change): Likewise.
12803 * wcsmbs/wcscat.c (__wcscat): Likewise.
12804 * wcsmbs/wcschr.c (wcschr): Likewise.
12805 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12806 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12807 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12808 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12809 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12810 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12811 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12812 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12813 * wcsmbs/wmemset.c (wmemset): Likewise.
12815 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12817 * scripts/config.guess: Update to version 2013-05-16.
12818 * scripts/config.sub: Update to version 2013-04-24.
12819 * scripts/install-sh: Update to version 2011-11-20.07.
12820 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12821 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12823 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12825 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12826 * elf/sln.c: Likewise.
12827 * hurd/hurd/ioctl.h: Likewise.
12828 * hurd/hurdmalloc.c: Likewise.
12829 * hurd/xattr.c: Likewise.
12830 * include/shlib-compat.h: Likewise.
12831 * inet/ruserpass.c: Likewise.
12832 * libio/iofgets_u.c: Likewise.
12833 * libio/iofgetws_u.c: Likewise.
12834 * locale/programs/ld-identification.c: Likewise.
12835 * locale/programs/ld-time.c: Likewise.
12836 * mach/msg-destroy.c: Likewise.
12837 * nss/nss_files/files-netgrp.c: Likewise.
12838 * resolv/res_data.c: Likewise.
12839 * soft-fp/op-1.h: Likewise.
12840 * soft-fp/op-2.h: Likewise.
12841 * soft-fp/op-4.h: Likewise.
12842 * soft-fp/op-common.h: Likewise.
12843 * stdio-common/printf_fphex.c: Likewise.
12844 * stdlib/strtod_l.c: Likewise.
12845 * sunrpc/rpc/clnt.h: Likewise.
12846 * sysdeps/generic/framestate.c: Likewise.
12847 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12848 * sysdeps/i386/bsd-setjmp.S: Likewise.
12849 * sysdeps/i386/__longjmp.S: Likewise.
12850 * sysdeps/i386/setjmp.S: Likewise.
12851 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12852 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12853 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12854 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12857 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12858 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12861 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12862 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12863 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12864 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12865 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12866 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12867 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12868 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12869 * sysdeps/ieee754/support.c: Likewise.
12870 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12871 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12872 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12873 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12874 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12875 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12876 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12877 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12878 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12879 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12880 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12881 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12882 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12883 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12884 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12885 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12886 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12889 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12891 * posix/transbug.c: Remove executable mode.
12893 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12895 * crypt/speeds.c: Remove trailing whitespace.
12896 * dlfcn/default.c: Likewise.
12897 * elf/ifuncdep2.c: Likewise.
12898 * elf/ifuncmain1.c: Likewise.
12899 * elf/ifuncmain1vis.c: Likewise.
12900 * elf/testobj.h: Likewise.
12901 * elf/tst-stackguard1.c: Likewise.
12902 * gmon/sys/gmon.h: Likewise.
12903 * hurd/hurdmsg.c: Likewise.
12904 * hurd/new-fd.c: Likewise.
12905 * hurd/ports-get.c: Likewise.
12906 * iconvdata/ibm1008_420.c: Likewise.
12907 * inet/tst-getni1.c: Likewise.
12908 * inet/tst-getni2.c: Likewise.
12909 * libio/ioungetc.c: Likewise.
12910 * libio/wfiledoalloc.c: Likewise.
12911 * manual/libm-err-tab.pl: Likewise.
12912 * math/w_dremf.c: Likewise.
12913 * misc/ftruncate.c: Likewise.
12914 * posix/bug-glob2.c: Likewise.
12915 * posix/tst-pcre.c: Likewise.
12916 * posix/wait4.c: Likewise.
12917 * resolv/README: Likewise.
12918 * resolv/res_debug.h: Likewise.
12919 * resolv/tst-inet_ntop.c: Likewise.
12920 * setjmp/bug269-setjmp.c: Likewise.
12921 * soft-fp/extended.h: Likewise.
12922 * soft-fp/op-1.h: Likewise.
12923 * soft-fp/op-2.h: Likewise.
12924 * soft-fp/op-4.h: Likewise.
12925 * soft-fp/op-8.h: Likewise.
12926 * soft-fp/testit.c: Likewise.
12927 * stdio-common/bug16.c: Likewise.
12928 * stdlib/random.c: Likewise.
12929 * sunrpc/rpcsvc/rquota.x: Likewise.
12930 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12931 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12932 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12933 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12934 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12935 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12936 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12937 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12938 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12939 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12940 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12941 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12942 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12943 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12944 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12945 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12946 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12947 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12948 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12949 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12950 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12951 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12952 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12953 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12954 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12956 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12957 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12958 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12959 * sysdeps/ieee754/s_lib_version.c: Likewise.
12960 * sysdeps/mach/hurd/check_fds.c: Likewise.
12961 * sysdeps/mach/hurd/getsockname.c: Likewise.
12962 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12963 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12964 * sysdeps/powerpc/bits/link.h: Likewise.
12965 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12966 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12967 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12968 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12969 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12970 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12971 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12972 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12973 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12974 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12975 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12976 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12977 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12978 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12979 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12980 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12981 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12982 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12983 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12984 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12985 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12986 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12987 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12988 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12989 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12990 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12991 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12992 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12993 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12994 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12995 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12996 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12997 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12998 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12999 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13000 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13001 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13002 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13003 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13004 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13005 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13006 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13007 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13008 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13009 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13010 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13011 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13012 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13013 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13014 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13015 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13016 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13017 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13018 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13019 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13020 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13021 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13022 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13023 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13024 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13025 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13026 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13027 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13028 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13029 * sysdeps/powerpc/sysdep.h: Likewise.
13030 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13031 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13032 * sysdeps/sh/dl-trampoline.S: Likewise.
13033 * sysdeps/sh/memset.S: Likewise.
13034 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13035 * sysdeps/sh/strlen.S: Likewise.
13036 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13037 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13038 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13039 * sysdeps/sparc/sparc32/rem.S: Likewise.
13040 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13041 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13042 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13043 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13044 * sysdeps/sparc/sparc32/urem.S: Likewise.
13045 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13046 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13047 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13048 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13049 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13050 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13051 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13052 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13053 * sysdeps/unix/bsd/times.c: Likewise.
13054 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13055 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13059 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13060 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13061 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13062 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13063 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13064 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13065 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13066 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13067 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13068 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13069 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13070 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13071 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13072 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13073 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13074 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13075 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13076 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13077 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13078 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13079 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13080 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13081 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13082 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13083 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13084 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13085 * sysdeps/x86_64/strcspn.S: Likewise.
13087 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13089 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13090 generated file. Regenerate properly from gen-translit.pl.
13091 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13092 locale/C-translit.h.
13094 2013-06-05 Andreas Schwab <schwab@suse.de>
13097 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13098 week as 6 instead of -1.
13099 * time/tst-strptime.c (day_tests): Add test case.
13101 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13103 * sysdeps/generic/math_private.h
13104 (libc_feholdexcept_setround_53bit): Replace with
13105 libc_feholdsetround_53bit.
13106 (libc_feupdateenv_53bit): Replace with
13107 libc_feresetround_53bit.
13108 (SET_RESTORE_ROUND_53BIT): Adjust.
13110 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13112 * string/test-strchrnul.c: Add copyright header.
13114 * posix/tst-getaddrinfo4.c: Increase test timeout.
13116 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13119 * math/libm-test.inc (MAX_EXP): Remove
13121 (ulp): Use MIN_EXP - MANT_DIG.
13122 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13124 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13126 * po/be.po: Revert last change.
13127 * po/zh_CN.po: Likewise.
13128 * po/header.pot: Likewise.
13130 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13132 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13133 link-libc-deps to empty as target-specific variable.
13134 * Makerules (link-libc-args): New variable.
13135 (libc-for-link): Likewise.
13136 (link-libc-deps): Likewise.
13137 (lib%.so): Depend on $(link-libc-deps). Link with
13139 (build-module): Link with $(link-libc-args).
13140 (build-module-asneeded): Likewise.
13141 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13143 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13144 target-specific variable.
13145 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13146 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13147 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13149 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13151 ($(objpfx)libpcprofile.so): Likewise.
13152 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13154 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13155 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13156 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13158 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13159 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13160 * login/Makefile ($(objpfx)libutil.so): Likewise.
13161 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13162 * math/Makefile ($(objpfx)libm.so): Likewise.
13163 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13164 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13165 variable instead of depending directly on libc.
13166 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13167 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13169 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13171 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13172 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13173 ($(objpfx)libanl.so): Likewise.
13174 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13176 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13178 * sysdeps/i386/fpu/Makefile: Remove file.
13179 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13180 ($(objpfx)libm.so): Remove dependency on ld.so.
13182 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
13185 * nis/yp_xdr.c (XDRMAXNAME): Define.
13186 (XDRMAXRECORD): Define.
13187 (xdr_domainname): Use XDRMAXNAME.
13188 (xdr_mapname): Likewise.
13189 (xdr_peername): Likewise.
13190 (xdr_keydat): Use XDRMAXRECORD.
13191 (xdr_valdat): Likewise.
13193 2013-05-30 Jeff Law <law@redhat.com>
13196 * manual/errno.texi (ESTALE): Update to account for more than
13197 just NFS file systems.
13198 * sysdeps/gnu/errlist.c: Regenerated.
13200 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13203 * elf/Makefile (tests): Add tst-null-argv.
13204 (modules-names): Add tst-null-argv-lib.
13205 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13206 (tst-null-argv-ENV): Set environment for tst-null-argv.
13207 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13208 (RTLD_PROGNAME): New macro.
13209 * elf/tst-null-argv.c: New test case.
13210 * elf/tst-null-argv-lib.c: Library for test case.
13211 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13212 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13213 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13214 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13215 * elf/dl-init.c (call_init): Likewise.
13216 (_dl_init): Likewise.
13217 * elf/dl-load.c (print_search_path): Likewise.
13218 (_dl_map_object): Likewise.
13219 * elf/dl-lookup.c (do_lookup_x): Likewise.
13220 (add_dependency): Likewise.
13221 (_dl_lookup_symbol_x): Likewise.
13222 (_dl_debug_bindings): Likewise.
13223 * elf/dl-open.c (_dl_show_scope): Likewise.
13224 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13225 * elf/dl-version.c (match_symbol): Likewise.
13226 (_dl_check_map_versions): Likewise.
13227 * elf/rtld.c (dl_main): Likewise.
13228 (print_unresolved): Use RTLD_PROGNAME.
13229 (print_missing_version): Likewise.
13230 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13231 (elf_machine_rela): Likewise.
13232 * sysdeps/powerpc/powerpc32/dl-machine.c
13233 (__process_machine_rela): Likewise.
13234 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13236 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13238 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13240 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13241 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13243 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13245 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13247 2013-05-28 Carlos O'Donell <carlos@redhat.com>
13249 * po/be.po: Add descriptive title.
13250 * po/zh_CN.po: Likewise.
13251 * po/header.pot: Likewise.
13253 2013-05-28 Mike Frysinger <vapier@gentoo.org>
13255 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13257 (enlarge_archive): Likewise.
13259 2013-05-28 Ben North <ben@redfrontdoor.org>
13261 * manual/arith.texi (frexp): It is the magnitude of the return
13262 value which lies in [0.5, 1), not the return value itself.
13264 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13268 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13270 * stdio-common/bug26.c (main): Correct fscanf template.
13272 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13273 declare _dl_skip_args.
13275 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13278 * manual/platform.texi: Add missing @end deftypefun.
13280 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13283 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13284 bit of mantissa of 2^16382.
13285 * math/libm-test.inc (hypot_test_data): Add more tests.
13287 * math/libm-test.inc: Add drem and pow10 to list of tested
13289 (pow10_test): New function.
13290 (drem_test): Likewise.
13291 (drem_test_tonearest): Likewise.
13292 (drem_test_towardzero): Likewise.
13293 (drem_test_downward): Likewise.
13294 (drem_test_upward): Likewise.
13295 (main): Call the new functions.
13297 * math/libm-test.inc (finite_test_data): Remove.
13298 (finite_test): Run tests from isfinite_test_data.
13299 (gamma_test_data): Remove.
13300 (gamma_test): Run tests from lgamma_test_data.
13301 * sysdeps/i386/fpu/libm-test-ulps: Update.
13302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13304 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13306 * manual/platform.texi: Add PowerPC PPR function set documentation.
13307 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13310 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13312 * math/libm-test.inc (MAX_EXP): Define.
13314 (ulp): New function.
13315 (check_float_internal): Use ULPDIFF.
13316 (cpow_test): Disable failing test.
13317 (check_ulp): Test ulp() implemetnation.
13318 (main): Call check_ulp before starting tests.
13320 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13322 * math/gen-libm-test.pl (generate_testfile): Do not handle
13323 START_DATA and END_DATA.
13324 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13326 (acos_tonearest_test_data): Likewise.
13327 (acos_towardzero_test_data): Likewise.
13328 (acos_downward_test_data): Likewise.
13329 (acos_upward_test_data): Likewise.
13330 (acosh_test_data): Likewise.
13331 (asin_test_data): Likewise.
13332 (asin_tonearest_test_data): Likewise.
13333 (asin_towardzero_test_data): Likewise.
13334 (asin_downward_test_data): Likewise.
13335 (asin_upward_test_data): Likewise.
13336 (asinh_test_data): Likewise.
13337 (atan_test_data): Likewise.
13338 (atanh_test_data): Likewise.
13339 (atan2_test_data): Likewise.
13340 (cabs_test_data): Likewise.
13341 (cacos_test_data): Likewise.
13342 (cacosh_test_data): Likewise.
13343 (carg_test_data): Likewise.
13344 (casin_test_data): Likewise.
13345 (casinh_test_data): Likewise.
13346 (catan_test_data): Likewise.
13347 (catanh_test_data): Likewise.
13348 (cbrt_test_data): Likewise.
13349 (ccos_test_data): Likewise.
13350 (ccosh_test_data): Likewise.
13351 (ceil_test_data): Likewise.
13352 (cexp_test_data): Likewise.
13353 (cimag_test_data): Likewise.
13354 (clog_test_data): Likewise.
13355 (clog10_test_data): Likewise.
13356 (conj_test_data): Likewise.
13357 (copysign_test_data): Likewise.
13358 (cos_test_data): Likewise.
13359 (cos_tonearest_test_data): Likewise.
13360 (cos_towardzero_test_data): Likewise.
13361 (cos_downward_test_data): Likewise.
13362 (cos_upward_test_data): Likewise.
13363 (cosh_test_data): Likewise.
13364 (cosh_tonearest_test_data): Likewise.
13365 (cosh_towardzero_test_data): Likewise.
13366 (cosh_downward_test_data): Likewise.
13367 (cosh_upward_test_data): Likewise.
13368 (cpow_test_data): Likewise.
13369 (cproj_test_data): Likewise.
13370 (creal_test_data): Likewise.
13371 (csin_test_data): Likewise.
13372 (csinh_test_data): Likewise.
13373 (csqrt_test_data): Likewise.
13374 (ctan_test_data): Likewise.
13375 (ctan_tonearest_test_data): Likewise.
13376 (ctan_towardzero_test_data): Likewise.
13377 (ctan_downward_test_data): Likewise.
13378 (ctan_upward_test_data): Likewise.
13379 (ctanh_test_data): Likewise.
13380 (ctanh_tonearest_test_data): Likewise.
13381 (ctanh_towardzero_test_data): Likewise.
13382 (ctanh_downward_test_data): Likewise.
13383 (ctanh_upward_test_data): Likewise.
13384 (erf_test_data): Likewise.
13385 (erfc_test_data): Likewise.
13386 (exp_test_data): Likewise.
13387 (exp_tonearest_test_data): Likewise.
13388 (exp_towardzero_test_data): Likewise.
13389 (exp_downward_test_data): Likewise.
13390 (exp_upward_test_data): Likewise.
13391 (exp10_test_data): Likewise.
13392 (exp2_test_data): Likewise.
13393 (expm1_test_data): Likewise.
13394 (fabs_test_data): Likewise.
13395 (fdim_test_data): Likewise.
13396 (finite_test_data): Likewise.
13397 (floor_test_data): Likewise.
13398 (fma_test_data): Likewise.
13399 (fma_towardzero_test_data): Likewise.
13400 (fma_downward_test_data): Likewise.
13401 (fma_upward_test_data): Likewise.
13402 (fmax_test_data): Likewise.
13403 (fmin_test_data): Likewise.
13404 (fmod_test_data): Likewise.
13405 (fpclassify_test_data): Likewise.
13406 (frexp_test_data): Likewise.
13407 (gamma_test_data): Likewise.
13408 (hypot_test_data): Likewise.
13409 (ilogb_test_data): Likewise.
13410 (isfinite_test_data): Likewise.
13411 (isgreater_test_data): Likewise.
13412 (isgreaterequal_test_data): Likewise.
13413 (isinf_test_data): Likewise.
13414 (isless_test_data): Likewise.
13415 (islessequal_test_data): Likewise.
13416 (islessgreater_test_data): Likewise.
13417 (isnan_test_data): Likewise.
13418 (isnormal_test_data): Likewise.
13419 (issignaling_test_data): Likewise.
13420 (isunordered_test_data): Likewise.
13421 (j0_test_data): Likewise.
13422 (j1_test_data): Likewise.
13423 (jn_test_data): Likewise.
13424 (ldexp_test_data): Likewise.
13425 (lgamma_test_data): Likewise.
13426 (lrint_test_data): Likewise.
13427 (lrint_tonearest_test_data): Likewise.
13428 (lrint_towardzero_test_data): Likewise.
13429 (lrint_downward_test_data): Likewise.
13430 (lrint_upward_test_data): Likewise.
13431 (llrint_test_data): Likewise.
13432 (llrint_tonearest_test_data): Likewise.
13433 (llrint_towardzero_test_data): Likewise.
13434 (llrint_downward_test_data): Likewise.
13435 (llrint_upward_test_data): Likewise.
13436 (log_test_data): Likewise.
13437 (log10_test_data): Likewise.
13438 (log1p_test_data): Likewise.
13439 (log2_test_data): Likewise.
13440 (logb_test_data): Likewise.
13441 (logb_downward_test_data): Likewise.
13442 (lround_test_data): Likewise.
13443 (llround_test_data): Likewise.
13444 (modf_test_data): Likewise.
13445 (nearbyint_test_data): Likewise.
13446 (nextafter_test_data): Likewise.
13447 (nexttoward_test_data): Likewise.
13448 (pow_test_data): Likewise.
13449 (pow_tonearest_test_data): Likewise.
13450 (pow_towardzero_test_data): Likewise.
13451 (pow_downward_test_data): Likewise.
13452 (pow_upward_test_data): Likewise.
13453 (remainder_test_data): Likewise.
13454 (remainder_tonearest_test_data): Likewise.
13455 (remainder_towardzero_test_data): Likewise.
13456 (remainder_downward_test_data): Likewise.
13457 (remainder_upward_test_data): Likewise.
13458 (remquo_test_data): Likewise.
13459 (rint_test_data): Likewise.
13460 (rint_tonearest_test_data): Likewise.
13461 (rint_towardzero_test_data): Likewise.
13462 (rint_downward_test_data): Likewise.
13463 (rint_upward_test_data): Likewise.
13464 (round_test_data): Likewise.
13465 (scalb_test_data): Likewise.
13466 (scalbn_test_data): Likewise.
13467 (scalbln_test_data): Likewise.
13468 (signbit_test_data): Likewise.
13469 (sin_test_data): Likewise.
13470 (sin_tonearest_test_data): Likewise.
13471 (sin_towardzero_test_data): Likewise.
13472 (sin_downward_test_data): Likewise.
13473 (sin_upward_test_data): Likewise.
13474 (sincos_test_data): Likewise.
13475 (sinh_test_data): Likewise.
13476 (sinh_tonearest_test_data): Likewise.
13477 (sinh_towardzero_test_data): Likewise.
13478 (sinh_downward_test_data): Likewise.
13479 (sinh_upward_test_data): Likewise.
13480 (sqrt_test_data): Likewise.
13481 (tan_test_data): Likewise.
13482 (tan_tonearest_test_data): Likewise.
13483 (tan_towardzero_test_data): Likewise.
13484 (tan_downward_test_data): Likewise.
13485 (tan_upward_test_data): Likewise.
13486 (tanh_test_data): Likewise.
13487 (tgamma_test_data): Likewise.
13488 (trunc_test_data): Likewise.
13489 (y0_test_data): Likewise.
13490 (y1_test_data): Likewise.
13491 (yn_test_data): Likewise.
13492 (significand_test_data): Likewise.
13494 * math/gen-libm-test.pl (@functions): Remove variable.
13495 (generate_testfile): Don't handle START and END lines.
13496 * math/libm-test.inc (START): New macro.
13498 (END_COMPLEX): Likewise.
13499 (acos_test): Use END macro without arguments.
13500 (acos_test_tonearest): Likewise.
13501 (acos_test_towardzero): Likewise.
13502 (acos_test_downward): Likewise.
13503 (acos_test_upward): Likewise.
13504 (acosh_test): Likewise.
13505 (asin_test): Likewise.
13506 (asin_test_tonearest): Likewise.
13507 (asin_test_towardzero): Likewise.
13508 (asin_test_downward): Likewise.
13509 (asin_test_upward): Likewise.
13510 (asinh_test): Likewise.
13511 (atan_test): Likewise.
13512 (atanh_test): Likewise.
13513 (atan2_test): Likewise.
13514 (cabs_test): Likewise.
13515 (cacos_test): Use END_COMPLEX macro without arguments.
13516 (cacosh_test): Likewise.
13517 (carg_test): Use END macro without arguments.
13518 (casin_test): Use END_COMPLEX macro without arguments.
13519 (casinh_test): Likewise.
13520 (catan_test): Likewise.
13521 (catanh_test): Likewise.
13522 (cbrt_test): Use END macro without arguments.
13523 (ccos_test): Use END_COMPLEX macro without arguments.
13524 (ccosh_test): Likewise.
13525 (ceil_test): Use END macro without arguments.
13526 (cexp_test): Use END_COMPLEX macro without arguments.
13527 (cimag_test): Use END macro without arguments.
13528 (clog_test): Use END_COMPLEX macro without arguments.
13529 (clog10_test): Likewise.
13530 (conj_test): Likewise.
13531 (copysign_test): Use END macro without arguments.
13532 (cos_test): Likewise.
13533 (cos_test_tonearest): Likewise.
13534 (cos_test_towardzero): Likewise.
13535 (cos_test_downward): Likewise.
13536 (cos_test_upward): Likewise.
13537 (cosh_test): Likewise.
13538 (cosh_test_tonearest): Likewise.
13539 (cosh_test_towardzero): Likewise.
13540 (cosh_test_downward): Likewise.
13541 (cosh_test_upward): Likewise.
13542 (cpow_test): Use END_COMPLEX macro without arguments.
13543 (cproj_test): Likewise.
13544 (creal_test): Use END macro without arguments.
13545 (csin_test): Use END_COMPLEX macro without arguments.
13546 (csinh_test): Likewise.
13547 (csqrt_test): Likewise.
13548 (ctan_test): Likewise.
13549 (ctan_test_tonearest): Likewise.
13550 (ctan_test_towardzero): Likewise.
13551 (ctan_test_downward): Likewise.
13552 (ctan_test_upward): Likewise.
13553 (ctanh_test): Likewise.
13554 (ctanh_test_tonearest): Likewise.
13555 (ctanh_test_towardzero): Likewise.
13556 (ctanh_test_downward): Likewise.
13557 (ctanh_test_upward): Likewise.
13558 (erf_test): Use END macro without arguments.
13559 (erfc_test): Likewise.
13560 (exp_test): Likewise.
13561 (exp_test_tonearest): Likewise.
13562 (exp_test_towardzero): Likewise.
13563 (exp_test_downward): Likewise.
13564 (exp_test_upward): Likewise.
13565 (exp10_test): Likewise.
13566 (exp2_test): Likewise.
13567 (expm1_test): Likewise.
13568 (fabs_test): Likewise.
13569 (fdim_test): Likewise.
13570 (finite_test): Likewise.
13571 (floor_test): Likewise.
13572 (fma_test): Likewise.
13573 (fma_test_towardzero): Likewise.
13574 (fma_test_downward): Likewise.
13575 (fma_test_upward): Likewise.
13576 (fmax_test): Likewise.
13577 (fmin_test): Likewise.
13578 (fmod_test): Likewise.
13579 (fpclassify_test): Likewise.
13580 (frexp_test): Likewise.
13581 (gamma_test): Likewise.
13582 (hypot_test): Likewise.
13583 (ilogb_test): Likewise.
13584 (isfinite_test): Likewise.
13585 (isgreater_test): Likewise.
13586 (isgreaterequal_test): Likewise.
13587 (isinf_test): Likewise.
13588 (isless_test): Likewise.
13589 (islessequal_test): Likewise.
13590 (islessgreater_test): Likewise.
13591 (isnan_test): Likewise.
13592 (isnormal_test): Likewise.
13593 (issignaling_test): Likewise.
13594 (isunordered_test): Likewise.
13595 (j0_test): Likewise.
13596 (j1_test): Likewise.
13597 (jn_test): Likewise.
13598 (ldexp_test): Likewise.
13599 (lgamma_test): Likewise.
13600 (lrint_test): Likewise.
13601 (lrint_test_tonearest): Likewise.
13602 (lrint_test_towardzero): Likewise.
13603 (lrint_test_downward): Likewise.
13604 (lrint_test_upward): Likewise.
13605 (llrint_test): Likewise.
13606 (llrint_test_tonearest): Likewise.
13607 (llrint_test_towardzero): Likewise.
13608 (llrint_test_downward): Likewise.
13609 (llrint_test_upward): Likewise.
13610 (log_test): Likewise.
13611 (log10_test): Likewise.
13612 (log1p_test): Likewise.
13613 (log2_test): Likewise.
13614 (logb_test): Likewise.
13615 (logb_test_downward): Likewise.
13616 (lround_test): Likewise.
13617 (llround_test): Likewise.
13618 (modf_test): Likewise.
13619 (nearbyint_test): Likewise.
13620 (nextafter_test): Likewise.
13621 (nexttoward_test): Likewise.
13622 (pow_test): Likewise.
13623 (pow_test_tonearest): Likewise.
13624 (pow_test_towardzero): Likewise.
13625 (pow_test_downward): Likewise.
13626 (pow_test_upward): Likewise.
13627 (remainder_test): Likewise.
13628 (remainder_test_tonearest): Likewise.
13629 (remainder_test_towardzero): Likewise.
13630 (remainder_test_downward): Likewise.
13631 (remainder_test_upward): Likewise.
13632 (remquo_test): Likewise.
13633 (rint_test): Likewise.
13634 (rint_test_tonearest): Likewise.
13635 (rint_test_towardzero): Likewise.
13636 (rint_test_downward): Likewise.
13637 (rint_test_upward): Likewise.
13638 (round_test): Likewise.
13639 (scalb_test): Likewise.
13640 (scalbn_test): Likewise.
13641 (scalbln_test): Likewise.
13642 (signbit_test): Likewise.
13643 (sin_test): Likewise.
13644 (sin_test_tonearest): Likewise.
13645 (sin_test_towardzero): Likewise.
13646 (sin_test_downward): Likewise.
13647 (sin_test_upward): Likewise.
13648 (sincos_test): Likewise.
13649 (sinh_test): Likewise.
13650 (sinh_test_tonearest): Likewise.
13651 (sinh_test_towardzero): Likewise.
13652 (sinh_test_downward): Likewise.
13653 (sinh_test_upward): Likewise.
13654 (sqrt_test): Likewise.
13655 (tan_test): Likewise.
13656 (tan_test_tonearest): Likewise.
13657 (tan_test_towardzero): Likewise.
13658 (tan_test_downward): Likewise.
13659 (tan_test_upward): Likewise.
13660 (tanh_test): Likewise.
13661 (tgamma_test): Likewise.
13662 (trunc_test): Likewise.
13663 (y0_test): Likewise.
13664 (y1_test): Likewise.
13665 (yn_test): Likewise.
13666 (significand_test): Likewise.
13668 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13671 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13673 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13676 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13677 __ppc_mdoio and __ppc_mdoom.
13678 * manual/platform.texi: Document new functions __ppc_yield,
13679 __ppc_mdoio and __ppc_mdoom.
13681 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13683 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13684 (main): Mention "tls" pseudo-hwcap is legacy.
13685 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13687 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13689 * math/gen-libm-test.pl (parse_args): Output only string of
13690 arguments as text for test name, not full call or descriptions of
13691 tests for extra outputs.
13692 (generate_testfile): Do not pass function name to parse_args.
13693 Generate this_func variable from START.
13694 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13696 (struct test_ff_f_data): Likewise.
13697 (test_ff_f_data_nexttoward): Likewise.
13698 (struct test_fi_f_data): Likewise.
13699 (struct test_fl_f_data): Likewise.
13700 (struct test_if_f_data): Likewise.
13701 (struct test_fff_f_data): Likewise.
13702 (struct test_c_f_data): Likewise.
13703 (struct test_f_f1_data): Likewise. Remove field extra_name.
13704 (struct test_fF_f1_data): Likewise.
13705 (struct test_ffI_f1_data): Likewise.
13706 (struct test_c_c_data): Rename test_name field to arg_str.
13707 (struct test_cc_c_data): Likewise.
13708 (struct test_f_i_data): Likewise.
13709 (struct test_ff_i_data): Likewise.
13710 (struct test_f_l_data): Likewise.
13711 (struct test_f_L_data): Likewise.
13712 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13714 (COMMON_TEST_SETUP): New macro.
13715 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13716 (COMMON_TEST_CLEANUP): Likewise.
13717 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13718 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13720 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13721 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13723 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13724 (RUN_TEST_fff_f): Take argument string. Call new setup and
13726 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13727 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13729 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13730 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13732 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13733 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13735 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13736 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13738 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13739 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13741 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13742 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13744 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13745 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13747 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13748 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13750 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13751 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13753 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13754 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13756 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13757 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13759 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13760 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13762 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13763 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13765 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13766 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13768 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13769 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13771 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13773 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13775 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13776 to _sifields.sigfault.
13777 (si_addr_lsb): Define new macro.
13778 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13779 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13780 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13782 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13785 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13787 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13789 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13790 loading the domain.
13792 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13794 * math/gen-libm-test.pl (parse_args): Do not include expected
13795 result in test name.
13796 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13797 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13798 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13799 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13800 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13803 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13805 * benchtests/Makefile: Sort function entries.
13807 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13808 tanh, asinh, acosh, atanh.
13809 * benchtests/acos-inputs: New file.
13810 * benchtests/acosh-inputs: New file.
13811 * benchtests/asin-inputs: New file.
13812 * benchtests/asinh-inputs: New file.
13813 * benchtests/atanh-inputs: New file.
13814 * benchtests/cosh-inputs: New file.
13815 * benchtests/log-inputs: New file.
13816 * benchtests/sinh-inputs: New file.
13817 * benchtests/tanh-inputs: New file.
13819 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13822 * posix/tst-getaddrinfo4.c: New test.
13823 * posix/Makefile (tests): Add it.
13825 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13828 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13829 when no services were used.
13830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13831 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13833 2013-05-21 Andreas Schwab <schwab@suse.de>
13836 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13837 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13839 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13840 redundant variable declarations and reallocation of buffer when
13841 parsing as IPv6 address. Always set NSS status when called from
13842 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13843 buffer too small. Correct computation of needed size.
13844 * nss/Makefile (tests): Add test-digits-dots.
13845 * nss/test-digits-dots.c: New test.
13847 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13849 * benchtests/Makefile: Remove instructions for adding
13851 * benchtests/README: New file to explain how to execute and
13852 enhance the benchmark tests.
13854 2013-05-21 Andreas Schwab <schwab@suse.de>
13857 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13858 * setjmp/tst-sigsetjmp.c: New test.
13860 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13862 * sysdeps/x86_64/memset.S (memset): New implementation.
13863 (__bzero): Likewise.
13864 (__memset_tail): New function.
13866 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13868 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13869 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13870 __memcpy_sse2_unaligned ifunc selection.
13871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13872 Add memcpy-sse2-unaligned.S.
13873 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13874 Add: __memcpy_sse2_unaligned.
13876 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13879 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13880 math_force_eval before restoring floating-point envrionment.
13881 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13882 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13884 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13886 (__nearbyintl): Use math_force_eval before restoring
13887 floating-point environment.
13888 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13890 * math/gen-libm-test.pl (special_functions): Remove.
13891 (parse_args): Don't handle TEST_extra. Handle functions with no
13893 * math/libm-test.inc (struct test_sincos_data): Replace with
13894 struct test_fFF_11_data.
13895 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13896 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13897 (sincos_test_data): Change element type to struct
13898 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13899 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13900 RUN_TEST_LOOP_sincos.
13901 * math/README.libm-test: Don't mention special handling of
13902 individual functions.
13903 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13904 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13905 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13906 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13907 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13910 * math/gen-libm-test.pl (get_variable): Remove function.
13911 (parse_args): Don't show pointer parameters to call in test
13912 names. Use "extra output N" in test names for extra outputs
13913 rather than naming variables.
13915 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13918 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13919 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13920 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13922 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13924 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13927 * math/gen-libm-test.pl (@tests): Remove variable.
13928 ($count): Likewise.
13929 (new_test): Remove function.
13930 (show_exceptions): New function.
13931 (special_functions): Use show_exceptions instead of new_test.
13932 (parse_args): Likewise.
13933 (generate_testfile): Pass only function name in generated call to
13934 print_max_error or print_complex_max_error.
13935 (get_ulps): Do not handle complex tests specially.
13936 (output_test): Rename to ...
13937 (get_all_ulps_for_test): ... this. Return a string rather than
13938 printing to a file. Require ulps to be present.
13939 (output_ulps): Generate arrays rather than #defines.
13940 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13941 (struct ulp_data): New type.
13942 (BUILD_COMPLEX_ULP): Remove macro.
13943 (compare_ulp_data): New function.
13944 (find_ulps): Likewise.
13945 (find_test_ulps): Likewise.
13946 (find_function_ulps): Likewise.
13947 (find_complex_function_ulps): Likewise.
13948 (print_max_error): Determine allowed ulps using
13949 find_function_ulps.
13950 (print_complex_max_error): Determine allowed ulps using
13951 find_complex_function_ulps.
13952 (check_float_internal): Determine max ulps using find_test_ulps.
13953 (check_float): Do not take max_ulp parameter. Update call to
13954 check_float_internal.
13955 (check_complex): Likewise.
13956 (check_int): Do not take max_ulp parameter.
13957 (check_long): Likewise.
13958 (check_bool): Likewise.
13959 (check_longlong): Likewise.
13960 (struct test_f_f_data): Remove max_ulp field.
13961 (struct test_ff_f_data): Likewise.
13962 (struct test_ff_f_data_nexttoward): Likewise.
13963 (struct test_fi_f_data): Likewise.
13964 (struct test_fl_f_data): Likewise.
13965 (struct test_if_f_data): Likewise.
13966 (struct test_fff_f_data): Likewise.
13967 (struct test_c_f_data): Likewise.
13968 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13969 (struct test_fF_f1_data): Likewise.
13970 (struct test_ffI_f1_data): Likewise.
13971 (struct test_c_c_data): Remove max_ulp field.
13972 (struct test_cc_c_data): Likewise.
13973 (struct test_f_i_data): Likewise.
13974 (struct test_ff_i_data): Likewise.
13975 (struct test_f_l_data): Likewise.
13976 (struct test_f_L_data): Likewise.
13977 (struct test_sincos_data): Likewise.
13978 (RUN_TEST_f_f): Do not handle ulps.
13979 (RUN_TEST_LOOP_f_f): Likewise.
13980 (RUN_TEST_2_f): Likewise.
13981 (RUN_TEST_LOOP_2_f): Likewise.
13982 (RUN_TEST_fff_f): Likewise.
13983 (RUN_TEST_LOOP_fff_f): Likewise.
13984 (RUN_TEST_c_f): Likewise.
13985 (RUN_TEST_LOOP_c_f): Likewise.
13986 (RUN_TEST_f_f1): Likewise.
13987 (RUN_TEST_LOOP_f_f1): Likewise.
13988 (RUN_TEST_fF_f1): Likewise.
13989 (RUN_TEST_LOOP_fF_f1): Likewise.
13990 (RUN_TEST_fI_f1): Likewise.
13991 (RUN_TEST_LOOP_fI_f1): Likewise.
13992 (RUN_TEST_ffI_f1): Likewise.
13993 (RUN_TEST_LOOP_ffI_f1): Likewise.
13994 (RUN_TEST_c_c): Likewise.
13995 (RUN_TEST_LOOP_c_c): Likewise.
13996 (RUN_TEST_cc_c): Likewise.
13997 (RUN_TEST_LOOP_cc_c): Likewise.
13998 (RUN_TEST_f_i): Likewise.
13999 (RUN_TEST_LOOP_f_i): Likewise.
14000 (RUN_TEST_f_i_tg): Likewise.
14001 (RUN_TEST_LOOP_f_i_tg): Likewise.
14002 (RUN_TEST_ff_i_tg): Likewise.
14003 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14004 (RUN_TEST_f_b): Likewise.
14005 (RUN_TEST_LOOP_f_b): Likewise.
14006 (RUN_TEST_f_b_tg): Likewise.
14007 (RUN_TEST_LOOP_f_b_tg): Likewise.
14008 (RUN_TEST_f_l): Likewise.
14009 (RUN_TEST_LOOP_f_l): Likewise.
14010 (RUN_TEST_f_L): Likewise.
14011 (RUN_TEST_LOOP_f_L): Likewise.
14012 (RUN_TEST_sincos): Likewise.
14013 (RUN_TEST_LOOP_sincos): Likewise.
14015 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14019 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14020 main case of finite arguments, set rounding mode to FE_TONEAREST
14021 and discard exceptions.
14022 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14024 (remainder_tonearest_test_data): New variable.
14025 (remainder_test_tonearest): New function.
14026 (remainder_towardzero_test_data): New variable.
14027 (remainder_test_towardzero): New function.
14028 (remainder_downward_test_data): New variable.
14029 (remainder_test_downward): New function.
14030 (remainder_upward_test_data): New variable.
14031 (remainder_test_upward): New function.
14032 (main): Call the new test functions.
14034 * math/libm-test.inc (struct test_f_f1_data): Remove field
14036 (struct test_fF_f1_data): Likewise.
14037 (struct test_ffI_f1_data): Likewise.
14038 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14039 based on value of EXTRA_EXPECTED.
14040 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14041 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14042 EXTRA_VAR based on value of EXTRA_EXPECTED.
14043 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14044 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14045 EXTRA_VAR based on value of EXTRA_EXPECTED.
14046 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14047 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14048 EXTRA_VAR based on value of EXTRA_EXPECTED.
14049 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14050 * math/gen-libm-test.pl (parse_args): Don't output initializers
14051 for extra output values.
14053 * math/libm-test.inc (check_int): Expect result to be exactly
14054 equal to expected value and do not handle ulps.
14055 (check_long): Likewise.
14056 (check_longlong): Likewise.
14058 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14060 (cimag_test_data): Likewise.
14061 (conj_test_data): Likewise.
14062 (copysign_test_data): Likewise.
14063 (cproj_test_data): Likewise.
14064 (creal_test_data): Likewise.
14065 (fabs_test_data): Likewise.
14066 (fdim_test_data): Likewise.
14067 (finite_test_data): Likewise.
14068 (floor_test_data): Likewise.
14069 (fmax_test_data): Likewise.
14070 (fmin_test_data): Likewise.
14071 (fmod_test_data): Likewise.
14072 (fpclassify_test_data): Likewise.
14073 (frexp_test_data): Likewise.
14074 (ilogb_test_data): Likewise.
14075 (isfinite_test_data): Likewise.
14076 (isgreater_test_data): Likewise.
14077 (isgreaterequal_test_data): Likewise.
14078 (isinf_test_data): Likewise.
14079 (isless_test_data): Likewise.
14080 (islessequal_test_data): Likewise.
14081 (islessgreater_test_data): Likewise.
14082 (isnan_test_data): Likewise.
14083 (isnormal_test_data): Likewise.
14084 (issignaling_test_data): Likewise.
14085 (isunordered_test_data): Likewise.
14086 (ldexp_test_data): Likewise.
14087 (lrint_test_data): Likewise.
14088 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14089 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14090 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14091 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14092 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14093 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14095 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14096 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14097 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14098 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14100 (lrint_downward_test_data): Test for "inexact" exceptions.
14101 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14102 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14103 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14105 (lrint_upward_test_data): Test for "inexact" exceptions.
14106 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14108 (llrint_test_data): Test for "inexact" exceptions.
14109 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14110 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14111 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14112 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14113 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14114 (llrint_downward_test_data): Test for "inexact" exceptions.
14115 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14116 (llrint_upward_test_data): Test for "inexact" exceptions.
14117 (logb_test_data): Likewise.
14118 (logb_downward_test_data): Likewise.
14119 (nextafter_test_data): Likewise.
14120 (nexttoward_test_data): Likewise.
14121 (remainder_test_data): Likewise.
14122 (remquo_test_data): Likewise.
14123 (scalbn_test_data): Likewise.
14124 (scalbln_test_data): Likewise.
14125 (signbit_test_data): Likewise.
14126 (sqrt_test_data): Likewise.
14127 (significand_test_data): Likewise.
14129 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14132 * benchtests/bench-modf.c (struct args): Mark arg0 as
14134 * scripts/bench.pl: Mark members of struct args as volatile.
14136 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14139 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14140 negative infinity on POWER6 or lower.
14141 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14143 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14146 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14147 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14148 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14149 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14150 (_FP_SETQNAN): New macro.
14151 (_FP_SETQNAN_SEMIRAW): Likewise.
14152 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14153 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14154 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14155 (FP_EXTEND): Use _FP_FRAC_SNANP.
14156 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14157 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14159 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14161 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14164 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14166 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14167 with DIVIDE_BY_ZERO_EXCEPTION.
14168 (gamma_test_data): Likewise.
14169 (lgamma_test_data): Likewise.
14170 (log_test_data): Likewise.
14171 (log10_test_data): Likewise.
14172 (log2_test_data): Likewise.
14173 (tgamma_test_data): Likewise.
14175 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14176 (acos_test_tonearest): Likewise.
14177 (acos_test_towardzero): Likewise.
14178 (acos_test_downward): Likewise.
14179 (acos_test_upward): Likewise.
14180 (acosh_test): Likewise.
14181 (asin_test): Likewise.
14182 (asin_test_tonearest): Likewise.
14183 (asin_test_towardzero): Likewise.
14184 (asin_test_downward): Likewise.
14185 (asin_test_upward): Likewise.
14186 (asinh_test): Likewise.
14187 (atan_test): Likewise.
14188 (atanh_test): Likewise.
14189 (atan2_test): Likewise.
14190 (cabs_test): Likewise.
14191 (cacos_test): Likewise.
14192 (cacosh_test): Likewise.
14193 (casin_test): Likewise.
14194 (casinh_test): Likewise.
14195 (catan_test): Likewise.
14196 (catanh_test): Likewise.
14197 (cbrt_test): Likewise.
14198 (ccos_test): Likewise.
14199 (ccosh_test): Likewise.
14200 (cexp_test): Likewise.
14201 (clog_test): Likewise.
14202 (clog10_test): Likewise.
14203 (cos_test): Likewise.
14204 (cos_test_tonearest): Likewise.
14205 (cos_test_towardzero): Likewise.
14206 (cos_test_downward): Likewise.
14207 (cos_test_upward): Likewise.
14208 (cosh_test): Likewise.
14209 (cosh_test_tonearest): Likewise.
14210 (cosh_test_towardzero): Likewise.
14211 (cosh_test_downward): Likewise.
14212 (cosh_test_upward): Likewise.
14213 (cpow_test): Likewise.
14214 (csin_test): Likewise.
14215 (csinh_test): Likewise.
14216 (csqrt_test): Likewise.
14217 (ctan_test): Likewise.
14218 (ctan_test_tonearest): Likewise.
14219 (ctan_test_towardzero): Likewise.
14220 (ctan_test_downward): Likewise.
14221 (ctan_test_upward): Likewise.
14222 (ctanh_test): Likewise.
14223 (ctanh_test_tonearest): Likewise.
14224 (ctanh_test_towardzero): Likewise.
14225 (ctanh_test_downward): Likewise.
14226 (ctanh_test_upward): Likewise.
14227 (erf_test): Likewise.
14228 (erfc_test): Likewise.
14229 (exp_test): Likewise.
14230 (exp_test_tonearest): Likewise.
14231 (exp_test_towardzero): Likewise.
14232 (exp_test_downward): Likewise.
14233 (exp_test_upward): Likewise.
14234 (exp10_test): Likewise.
14235 (exp2_test): Likewise.
14236 (expm1_test): Likewise.
14237 (fmod_test): Likewise.
14238 (gamma_test): Likewise.
14239 (hypot_test): Likewise.
14240 (j0_test): Likewise.
14241 (j1_test): Likewise.
14242 (jn_test): Likewise.
14243 (lgamma_test): Likewise.
14244 (log_test): Likewise.
14245 (log10_test): Likewise.
14246 (log1p_test): Likewise.
14247 (log2_test): Likewise.
14248 (logb_test_downward): Likewise.
14249 (pow_test): Likewise.
14250 (pow_test_tonearest): Likewise.
14251 (pow_test_towardzero): Likewise.
14252 (pow_test_downward): Likewise.
14253 (pow_test_upward): Likewise.
14254 (remainder_test): Likewise.
14255 (remquo_test): Likewise.
14256 (sin_test): Likewise.
14257 (sin_test_tonearest): Likewise.
14258 (sin_test_towardzero): Likewise.
14259 (sin_test_downward): Likewise.
14260 (sin_test_upward): Likewise.
14261 (sincos_test): Likewise.
14262 (sinh_test): Likewise.
14263 (sinh_test_tonearest): Likewise.
14264 (sinh_test_towardzero): Likewise.
14265 (sinh_test_downward): Likewise.
14266 (sinh_test_upward): Likewise.
14267 (sqrt_test): Likewise.
14268 (tan_test): Likewise.
14269 (tan_test_tonearest): Likewise.
14270 (tan_test_towardzero): Likewise.
14271 (tan_test_downward): Likewise.
14272 (tan_test_upward): Likewise.
14273 (tanh_test): Likewise.
14274 (tgamma_test): Likewise.
14275 (y0_test): Likewise.
14276 (y1_test): Likewise.
14277 (yn_test): Likewise.
14279 * math/gen-libm-test.pl (adjust_arg): Remove function.
14280 (special_function): Remove argument $in_func. Only handle
14281 generating output for tables of tests, not inside functions.
14282 (parse_args): Likewise.
14283 (generate_testfile): Remove variable $in_func. Update call to
14285 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14286 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14287 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14288 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14289 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14290 (MAX_VALUE_INIT): Rename macro to max_value.
14291 (MIN_VALUE_INIT): Rename macro to min_value.
14292 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14293 (plus_zero): Remove variable.
14294 (minus_zero): Likewise.
14295 (plus_infty): Likewise.
14296 (minus_infty): Likewise.
14297 (qnan_value): Likewise.
14298 (max_value): Likewise.
14299 (min_value): Likewise.
14300 (min_subnorm_value): Likewise.
14302 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14304 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14305 uint64_t or uint32_t usage.
14306 * crypt/sha256-block.c: Likewise.
14307 * crypt/sha256-crypt.c: Likewise.
14308 * crypt/sha256.c: Likewise.
14309 * crypt/sha512-block.c: Likewise.
14310 * crypt/sha512-crypt.c: Likewise.
14311 * crypt/sha512.c: Likewise.
14312 * debug/backtrace-tst.c: Likewise.
14313 * debug/pcprofiledump.c: Likewise.
14314 * elf/cache.c: Likewise.
14315 * elf/dl-cache.c: Likewise.
14316 * elf/dl-misc.c: Likewise.
14317 * elf/dl-profile.c: Likewise.
14318 * elf/dl-support.c: Likewise.
14319 * elf/ldconfig.c: Likewise.
14320 * elf/sprof.c: Likewise.
14321 * iconv/dummy-repertoire.c: Likewise.
14322 * iconv/iconv_charmap.c: Likewise.
14323 * iconv/skeleton.c: Likewise.
14324 * iconvdata/8bit-generic.c: Likewise.
14325 * iconvdata/cp737.h: Likewise.
14326 * iconvdata/cp775.h: Likewise.
14327 * iconvdata/ibm1008.h: Likewise.
14328 * iconvdata/ibm1025.h: Likewise.
14329 * iconvdata/ibm1046.h: Likewise.
14330 * iconvdata/ibm1097.h: Likewise.
14331 * iconvdata/ibm1112.h: Likewise.
14332 * iconvdata/ibm1122.h: Likewise.
14333 * iconvdata/ibm1123.h: Likewise.
14334 * iconvdata/ibm1124.h: Likewise.
14335 * iconvdata/ibm1129.h: Likewise.
14336 * iconvdata/ibm1130.h: Likewise.
14337 * iconvdata/ibm1132.h: Likewise.
14338 * iconvdata/ibm1133.h: Likewise.
14339 * iconvdata/ibm1137.h: Likewise.
14340 * iconvdata/ibm1140.h: Likewise.
14341 * iconvdata/ibm1141.h: Likewise.
14342 * iconvdata/ibm1142.h: Likewise.
14343 * iconvdata/ibm1143.h: Likewise.
14344 * iconvdata/ibm1144.h: Likewise.
14345 * iconvdata/ibm1145.h: Likewise.
14346 * iconvdata/ibm1146.h: Likewise.
14347 * iconvdata/ibm1147.h: Likewise.
14348 * iconvdata/ibm1148.h: Likewise.
14349 * iconvdata/ibm1149.h: Likewise.
14350 * iconvdata/ibm1153.h: Likewise.
14351 * iconvdata/ibm1154.h: Likewise.
14352 * iconvdata/ibm1155.h: Likewise.
14353 * iconvdata/ibm1156.h: Likewise.
14354 * iconvdata/ibm1157.h: Likewise.
14355 * iconvdata/ibm1158.h: Likewise.
14356 * iconvdata/ibm1160.h: Likewise.
14357 * iconvdata/ibm1161.h: Likewise.
14358 * iconvdata/ibm1162.h: Likewise.
14359 * iconvdata/ibm1163.h: Likewise.
14360 * iconvdata/ibm1164.h: Likewise.
14361 * iconvdata/ibm1166.h: Likewise.
14362 * iconvdata/ibm1167.h: Likewise.
14363 * iconvdata/ibm12712.h: Likewise.
14364 * iconvdata/ibm1390.h: Likewise.
14365 * iconvdata/ibm1399.h: Likewise.
14366 * iconvdata/ibm16804.h: Likewise.
14367 * iconvdata/ibm4517.h: Likewise.
14368 * iconvdata/ibm4899.h: Likewise.
14369 * iconvdata/ibm4909.h: Likewise.
14370 * iconvdata/ibm4971.h: Likewise.
14371 * iconvdata/ibm5347.h: Likewise.
14372 * iconvdata/ibm803.h: Likewise.
14373 * iconvdata/ibm856.h: Likewise.
14374 * iconvdata/ibm901.h: Likewise.
14375 * iconvdata/ibm902.h: Likewise.
14376 * iconvdata/ibm9030.h: Likewise.
14377 * iconvdata/ibm9066.h: Likewise.
14378 * iconvdata/ibm921.h: Likewise.
14379 * iconvdata/ibm922.h: Likewise.
14380 * iconvdata/ibm9448.h: Likewise.
14381 * iconvdata/isiri-3342.h: Likewise.
14382 * iconvdata/jis0201.h: Likewise.
14383 * include/link.h: Likewise.
14384 * include/netdb.h: Likewise.
14385 * inet/check_native.c: Likewise.
14386 * inet/check_pf.c: Likewise.
14387 * inet/getipv4sourcefilter.c: Likewise.
14388 * inet/getnameinfo.c: Likewise.
14389 * inet/getsourcefilter.c: Likewise.
14390 * inet/htonl.c: Likewise.
14391 * inet/setipv4sourcefilter.c: Likewise.
14392 * inet/setsourcefilter.c: Likewise.
14393 * inet/test-inet6_opt.c: Likewise.
14394 * inet/tst-network.c: Likewise.
14395 * locale/C-collate.c: Likewise.
14396 * locale/C-ctype.c: Likewise.
14397 * locale/C-time.c: Likewise.
14398 * locale/C-translit.h: Likewise.
14399 * locale/loadarchive.c: Likewise.
14400 * locale/programs/3level.h: Likewise.
14401 * locale/programs/charmap.c: Likewise.
14402 * locale/programs/charmap.h: Likewise.
14403 * locale/programs/ld-address.c: Likewise.
14404 * locale/programs/ld-collate.c: Likewise.
14405 * locale/programs/ld-ctype.c: Likewise.
14406 * locale/programs/ld-identification.c: Likewise.
14407 * locale/programs/ld-measurement.c: Likewise.
14408 * locale/programs/ld-messages.c: Likewise.
14409 * locale/programs/ld-monetary.c: Likewise.
14410 * locale/programs/ld-name.c: Likewise.
14411 * locale/programs/ld-numeric.c: Likewise.
14412 * locale/programs/ld-paper.c: Likewise.
14413 * locale/programs/ld-telephone.c: Likewise.
14414 * locale/programs/ld-time.c: Likewise.
14415 * locale/programs/linereader.c: Likewise.
14416 * locale/programs/locale.c: Likewise.
14417 * locale/programs/locarchive.c: Likewise.
14418 * locale/programs/locfile.h: Likewise.
14419 * locale/programs/repertoire.c: Likewise.
14420 * locale/programs/simple-hash.c: Likewise.
14421 * locale/programs/simple-hash.h: Likewise.
14422 * malloc/memusage.c: Likewise.
14423 * malloc/memusagestat.c: Likewise.
14424 * nis/nis_defaults.c: Likewise.
14425 * nis/nis_hash.c: Likewise.
14426 * nis/nis_print.c: Likewise.
14427 * nis/nis_xdr.c: Likewise.
14428 * nscd/connections.c: Likewise.
14429 * nscd/hstcache.c: Likewise.
14430 * nscd/nscd_gethst_r.c: Likewise.
14431 * nscd/nscd_getserv_r.c: Likewise.
14432 * nscd/nscd_helper.c: Likewise.
14433 * nscd/servicescache.c: Likewise.
14434 * nss/makedb.c: Likewise.
14435 * nss/nss_db/db-XXX.c: Likewise.
14436 * nss/nss_db/db-initgroups.c: Likewise.
14437 * nss/nss_db/db-netgrp.c: Likewise.
14438 * nss/nss_files/files-network.c: Likewise.
14439 * nss/nss_files/files-parse.c: Likewise.
14440 * posix/bug-regex5.c: Likewise.
14441 * posix/fnmatch_loop.c: Likewise.
14442 * posix/regcomp.c: Likewise.
14443 * posix/regexec.c: Likewise.
14444 * posix/tst-rfc3484-2.c: Likewise.
14445 * posix/tst-rfc3484-3.c: Likewise.
14446 * posix/tst-rfc3484.c: Likewise.
14447 * resolv/nss_dns/dns-canon.c: Likewise.
14448 * resolv/nss_dns/dns-network.c: Likewise.
14449 * resolv/res_init.c: Likewise.
14450 * resolv/res_mkquery.c: Likewise.
14451 * resolv/tst-aton.c: Likewise.
14452 * stdlib/cxa_atexit.c: Likewise.
14453 * stdlib/cxa_finalize.c: Likewise.
14454 * stdlib/gen-fpioconst.c: Likewise.
14455 * stdlib/strtol_l.c: Likewise.
14456 * string/tst-endian.c: Likewise.
14457 * sunrpc/auth_des.c: Likewise.
14458 * sunrpc/clnt_udp.c: Likewise.
14459 * sunrpc/rtime.c: Likewise.
14460 * sunrpc/svcauth_des.c: Likewise.
14461 * sunrpc/xdr.c: Likewise.
14462 * sunrpc/xdr_intXX_t.c: Likewise.
14463 * sunrpc/xdr_rec.c: Likewise.
14464 * sysdeps/generic/ldconfig.h: Likewise.
14465 * sysdeps/generic/ldsodefs.h: Likewise.
14466 * sysdeps/generic/memusage.h: Likewise.
14467 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14468 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14469 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14470 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14471 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14472 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14473 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14474 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14475 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14476 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14477 * sysdeps/posix/getaddrinfo.c: Likewise.
14478 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14479 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14480 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14481 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14482 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14483 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14484 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14485 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14486 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14487 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14488 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14489 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14490 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14491 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14492 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14493 * sysdeps/x86_64/dl-tls.h: Likewise.
14494 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14495 * time/alt_digit.c: Likewise.
14496 * time/era.c: Likewise.
14497 * wcsmbs/tst-c16c32-1.c: Likewise.
14499 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14501 * math/libm-test.inc (struct test_sincos_data): New type.
14502 (RUN_TEST_LOOP_sincos): New macro.
14503 (sincos_test_data): New variable.
14504 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14506 2013-05-16 Richard Henderson <rth@redhat.com>
14508 * math/atest-exp2.c (LIMB64): New macro.
14509 (CONSTSZ): New macro.
14510 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14512 (print_mpn_fp): ... to function scope.
14513 (read_mpn_hex): Remove.
14514 (get_log2): Remove.
14515 (exp2_mpn): Use mp_log2.
14516 (main): Use mp_exp1.
14518 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14520 * math/libm-test.inc: Remove comment about not testing "inexact"
14522 (INEXACT_EXCEPTION): New macro.
14523 (NO_INEXACT_EXCEPTION): Likewise.
14524 (INVALID_EXCEPTION_OK): Update value.
14525 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14526 (OVERFLOW_EXCEPTION_OK): Likewise.
14527 (UNDERFLOW_EXCEPTION_OK): Likewise.
14528 (IGNORE_ZERO_INF_SIGN): Likewise.
14529 (ERRNO_UNCHANGED): Likewise.
14530 (ERRNO_EDOM): Likewise.
14531 (ERRNO_ERANGE): Likewise.
14532 (test_exceptions): Handle testing "inexact" exceptions.
14533 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14534 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14535 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14536 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14538 (rint_towardzero_test_data): Likewise.
14539 (rint_downward_test_data): Likewise.
14540 (rint_upward_test_data): Likewise.
14542 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14543 with OVERFLOW_EXCEPTION.
14544 (exp10_test_data): Likewise.
14545 (exp2_test_data): Likewise.
14546 (expm1_test_data): Likewise.
14547 (lgamma_test_data): Likewise.
14548 (pow_test_data): Likewise.
14549 (tgamma_test_data): Likewise.
14550 (yn_test_data): Remove duplicate test of overflow.
14552 * math/libm-test.inc (struct test_cc_c_data): New type.
14553 (RUN_TEST_LOOP_cc_c): New macro.
14554 (cpow_test_data): New variable.
14555 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14557 * math/libm-test.inc (struct test_f_L_data): New type.
14558 (RUN_TEST_LOOP_f_L): New macro.
14559 (llrint_test_data): New variable.
14560 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14561 (llrint_tonearest_test_data): New variable.
14562 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14563 (llrint_towardzero_test_data): New variable.
14564 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14565 (llrint_downward_test_data): New variable.
14566 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14567 (llrint_upward_test_data): New variable.
14568 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14569 (llround_test_data): New variable.
14570 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14572 2013-05-13 Peter Collingbourne <pcc@google.com>
14574 * math/atest-exp2.c (get_log2): Remove const attribute.
14576 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14578 * math/libm-test.inc (struct test_f_l_data): New type.
14579 (RUN_TEST_LOOP_f_l): New macro.
14580 (lrint_test_data): New variable.
14581 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14582 (lrint_tonearest_test_data): New variable.
14583 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14584 (lrint_towardzero_test_data): New variable.
14585 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14586 (lrint_downward_test_data): New variable.
14587 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14588 (lrint_upward_test_data): New variable.
14589 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14590 (lround_test_data): New variable.
14591 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14593 2013-05-15 Peter Collingbourne <pcc@google.com>
14595 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14596 (EXTRACT_WORDS64) Use where appropriate.
14597 (INSERT_WORDS64) Likewise.
14599 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14600 constraints with x constraints.
14601 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14603 * malloc/obstack.c (_obstack_compat): Add initializer.
14605 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14607 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14608 si_trapno and add si_addr_lsb to _sifields.sigfault.
14609 (si_trapno): Remove macro.
14610 (si_addr_lsb): Define new macro.
14611 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14613 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14615 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14616 instead of TEST_f_l.
14617 (llrint_test_tonearest): Likewise.
14618 (llrint_test_towardzero): Likewise.
14619 (llrint_test_downward): Likewise.
14620 (llrint_test_upward): Likewise.
14621 (llround_test): Likewise.
14623 * math/libm-test.inc (struct test_f_i_data): Add comment.
14624 (RUN_TEST_LOOP_f_b): New macro.
14625 (RUN_TEST_LOOP_f_b_tg): Likewise.
14626 (finite_test_data): New variable.
14627 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14628 (isfinite_test_data): New variable.
14629 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14630 (isinf_test_data): New variable.
14631 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14632 (isnan_test_data): New variable.
14633 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14634 (isnormal_test_data): New variable.
14635 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14636 (issignaling_test_data): New variable.
14637 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14638 (signbit_test_data): New variable.
14639 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14641 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14642 with INVALID_EXCEPTION.
14643 (acosh_test_data): Likewise.
14644 (asin_test_data): Likewise.
14645 (atanh_test_data): Likewise.
14646 (fmod_test_data): Likewise.
14647 (log_test_data): Likewise.
14648 (log10_test_data): Likewise.
14649 (log2_test_data): Likewise.
14650 (pow_test_data): Likewise.
14651 (sqrt_test_data): Likewise.
14652 (y0_test_data): Likewise.
14653 (y1_test_data): Likewise.
14654 (yn_test_data): Likewise.
14656 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14659 * math/libm-test.inc (struct test_ff_i_data): New type.
14660 (RUN_TEST_LOOP_ff_i_tg): New macro.
14661 (isgreater_test_data): New variable.
14662 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14663 (isgreaterequal_test_data): New variable.
14664 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14665 (isless_test_data): New variable.
14666 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14667 (islessequal_test_data): New variable.
14668 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14669 (islessgreater_test_data): New variable.
14670 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14671 (isunordered_test_data): New variable.
14672 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14674 2013-05-14 David S. Miller <davem@davemloft.net>
14676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14678 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14680 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14682 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14684 (struct test_f_i_data): Change type of max_ulp to int.
14686 * math/libm-test.inc (test_ffI_f1_data): New type.
14687 (RUN_TEST_LOOP_ffI_f1): New macro.
14688 (remquo_test_data): New variable.
14689 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14691 * setjmp/tst-setjmp-fp.c: New file.
14692 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14693 (link-libm): New variable.
14694 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14696 * math/libm-test.inc (struct test_f_i_data): New type.
14697 (RUN_TEST_LOOP_f_i): New macro.
14698 (RUN_TEST_LOOP_f_i_tg): Likewise.
14699 (fpclassify_test_data): New variable.
14700 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14701 (ilogb_test_data): New variable.
14702 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14704 * math/libm-test.inc (scalbln_test): Correct function name in END
14707 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14708 (RUN_TEST_LOOP_fI_f1): New macro.
14709 (frexp_test_data): New variable.
14710 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14712 * math/libm-test.inc (struct test_fF_f1_data): New type.
14713 (RUN_TEST_LOOP_fF_f1): New macro.
14714 (modf_test_data): New variable.
14715 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14717 * math/libm-test.inc (struct test_f_f1_data): New type.
14718 (RUN_TEST_LOOP_f_f1): New macro.
14719 (gamma_test_data): New variable.
14720 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14721 (lgamma_test_data): New variable.
14722 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14724 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14726 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14727 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14728 (main): Comment "tls" pseudo-hwcap.
14730 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14732 * math/libm-test.inc (struct test_fl_f_data): New type.
14733 (RUN_TEST_LOOP_fl_f): New variable.
14734 (scalbln_test_data): New variable.
14735 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14737 * math/libm-test.inc (struct test_fi_f_data): New type.
14738 (RUN_TEST_LOOP_fi_f): New macro.
14739 (ldexp_test_data): New variable.
14740 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14741 (scalbn_test_data): New variable.
14742 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14744 * math/libm-test.inc (struct test_c_f_data): New type.
14745 (RUN_TEST_LOOP_c_f): New macro.
14746 (cabs_test_data): New variable.
14747 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14748 (carg_test_data): New variable.
14749 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14750 (cimag_test_data): New variable.
14751 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14752 (creal_test_data): New variable.
14753 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14755 * math/libm-test.inc (struct test_if_f_data): New type.
14756 (RUN_TEST_LOOP_if_f): New macro.
14757 (jn_test_data): New variable.
14758 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14759 (yn_test_data): New variable.
14760 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14762 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14764 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14766 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14767 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14769 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14771 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14772 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14773 (bench-deps): Add bench-timing.h.
14774 * benchtests-bench-skeleton.c: Include bench-timing.h.
14775 (main): Use TIMING_* macros instead of clock_gettime.
14776 * benchtests/bench-timing.h: New file.
14779 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14780 Renamed from _LIB_VERSION.
14781 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14783 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14785 * math/libm-test.inc (struct test_fff_f_data): New type.
14786 (RUN_TEST_LOOP_fff_f): New macro.
14787 (fma_test_data): New variable.
14788 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14789 (fma_towardzero_test_data): New variable.
14790 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14791 (fma_downward_test_data): New variable.
14792 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14793 (fma_upward_test_data): New variable.
14794 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14796 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14797 (struct test_c_c_data): New type.
14798 (RUN_TEST_LOOP_c_c): New macro.
14799 (cacos_test_data): New variable.
14800 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14801 (cacosh_test_data): New variable.
14802 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14803 (casin_test_data): New variable.
14804 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14805 (casinh_test_data): New variable.
14806 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14807 (catan_test_data): New variable.
14808 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14809 (catanh_test_data): New variable.
14810 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14811 (ccos_test_data): New variable.
14812 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14813 (ccosh_test_data): New variable.
14814 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14815 (cexp_test_data): New variable.
14816 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14817 (clog_test_data): New variable.
14818 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14819 (clog10_test_data): New variable.
14820 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14821 (conj_test_data): New variable.
14822 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14823 (cproj_test_data): New variable.
14824 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14825 (csin_test_data): New variable.
14826 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14827 (csinh_test_data): New variable.
14828 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14829 (csqrt_test_data): New variable.
14830 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14831 (ctan_test_data): New variable.
14832 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14833 (ctan_tonearest_test_data): New variable.
14834 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14835 (ctan_towardzero_test_data): New variable.
14836 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14837 (ctan_downward_test_data): New variable.
14838 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14839 (ctan_upward_test_data): New variable.
14840 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14841 (ctanh_test_data): New variable.
14842 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14843 (ctanh_tonearest_test_data): New variable.
14844 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14845 (ctanh_towardzero_test_data): New variable.
14846 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14847 (ctanh_downward_test_data): New variable.
14848 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14849 (ctanh_upward_test_data): New variable.
14850 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14851 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14854 * math/libm-test.inc (struct test_ff_f_data): New type.
14855 (struct test_ff_f_data_nexttoward): Likewise.
14856 (RUN_TEST_LOOP_2_f): New macro.
14857 (RUN_TEST_LOOP_ff_f): Likewise.
14858 (atan2_test_data): New variable.
14859 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14860 (copysign_test_data): New variable.
14861 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14862 (fdim_test_data): New variable.
14863 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14864 (fmax_test_data): New variable.
14865 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14866 (fmin_test_data): New variable.
14867 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14868 (fmod_test_data): New variable.
14869 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14870 (hypot_test_data): New variable.
14871 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14872 (nextafter_test_data): New variable.
14873 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14874 (nexttoward_test_data): New variable.
14875 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14876 (pow_test_data): New variable.
14877 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14878 (pow_tonearest_test_data): New variable.
14879 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14880 (pow_towardzero_test_data): New variable.
14881 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14882 (pow_downward_test_data): New variable.
14883 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14884 (pow_upward_test_data): New variable.
14885 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14886 (remainder_test_data): New variable.
14887 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14888 (scalb_test_data): New variable.
14889 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14890 * sysdeps/i386/fpu/libm-test-ulps: Update.
14892 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14894 * math/libm-test.inc (fma_test): Use max_value instead of local
14896 (nextafter_test): Likewise.
14898 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14899 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14900 (acos_downward_test_data): New variable.
14901 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14902 (acos_upward_test_data): New variable.
14903 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14904 (acosh_test_data): New variable.
14905 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14906 (asin_test_data): New variable.
14907 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14908 (asin_tonearest_test_data): New variable.
14909 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14910 (asin_towardzero_test_data): New variable.
14911 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14912 (asin_downward_test_data): New variable.
14913 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14914 (asin_upward_test_data): New variable.
14915 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14916 (asinh_test_data): New variable.
14917 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14918 (atan_test_data): New variable.
14919 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14920 (atanh_test_data): New variable.
14921 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14922 (cbrt_test_data): New variable.
14923 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14924 (ceil_test_data): New variable.
14925 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14926 (cos_test_data): New variable.
14927 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14928 (cos_tonearest_test_data): New variable.
14929 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14930 (cos_towardzero_test_data): New variable.
14931 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14932 (cos_downward_test_data): New variable.
14933 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14934 (cos_upward_test_data): New variable.
14935 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14936 (cosh_test_data): New variable.
14937 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14938 (cosh_tonearest_test_data): New variable.
14939 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14940 (cosh_towardzero_test_data): New variable.
14941 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14942 (cosh_downward_test_data): New variable.
14943 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14944 (cosh_upward_test_data): New variable.
14945 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14946 (erf_test_data): New variable.
14947 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14948 (erfc_test_data): New variable.
14949 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14950 (exp_test_data): New variable.
14951 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14952 (exp_tonearest_test_data): New variable.
14953 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14954 (exp_towardzero_test_data): New variable.
14955 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14956 (exp_downward_test_data): New variable.
14957 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14958 (exp_upward_test_data): New variable.
14959 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14960 (exp10_test_data): New variable.
14961 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14962 (exp2_test_data): New variable.
14963 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14964 (expm1_test_data): New variable.
14965 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14966 (fabs_test_data): New variable.
14967 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14968 (floor_test_data): New variable.
14969 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14970 (j0_test_data): New variable.
14971 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14972 (j1_test_data): New variable.
14973 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14974 (log_test_data): New variable.
14975 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14976 (log10_test_data): New variable.
14977 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14978 (log1p_test_data): New variable.
14979 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14980 (log2_test_data): New variable.
14981 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14982 (logb_test_data): New variable.
14983 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14984 (logb_downward_test_data): New variable.
14985 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14986 (nearbyint_test_data): New variable.
14987 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14988 (rint_test_data): New variable.
14989 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14990 (rint_tonearest_test_data): New variable.
14991 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14992 (rint_towardzero_test_data): New variable.
14993 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14994 (rint_downward_test_data): New variable.
14995 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14996 (rint_upward_test_data): New variable.
14997 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14998 (round_test_data): New variable.
14999 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15000 (sin_test_data): New variable.
15001 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15002 (sin_tonearest_test_data): New variable.
15003 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15004 (sin_towardzero_test_data): New variable.
15005 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15006 (sin_downward_test_data): New variable.
15007 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15008 (sin_upward_test_data): New variable.
15009 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15010 (sinh_test_data): New variable.
15011 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15012 (sinh_tonearest_test_data): New variable.
15013 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15014 (sinh_towardzero_test_data): New variable.
15015 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15016 (sinh_downward_test_data): New variable.
15017 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15018 (sinh_upward_test_data): New variable.
15019 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15020 (sqrt_test_data): New variable.
15021 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15022 (tan_test_data): New variable.
15023 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15024 (tan_tonearest_test_data): New variable.
15025 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15026 (tan_towardzero_test_data): New variable.
15027 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15028 (tan_downward_test_data): New variable.
15029 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15030 (tan_upward_test_data): New variable.
15031 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15032 (tanh_test_data): New variable.
15033 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15034 (tgamma_test_data): New variable.
15035 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15036 (trunc_test_data): New variable.
15037 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15038 (y0_test_data): New variable.
15039 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15040 (y1_test_data): New variable.
15041 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15042 (significand_test_data): New variable.
15043 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15045 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15048 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15050 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15052 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15054 2013-05-10 Andreas Jaeger <aj@suse.de>
15057 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15058 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15060 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15062 * math/gen-libm-test.pl (adjust_arg): New function.
15063 (special_functions): Handle generating output in both functions
15065 (parse_args): Likewise.
15066 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15067 $in_func argument to parse_args.
15068 * math/libm-test.inc (struct test_f_f_data): New type.
15069 (IF_ROUND_INIT_): New macro.
15070 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15071 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15072 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15073 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15074 (ROUND_RESTORE_): Likewise.
15075 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15076 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15077 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15078 (ROUND_RESTORE_FE_UPWARD): Likewise.
15079 (RUN_TEST_LOOP_f_f): New macro.
15080 (acos_test_data): New variable.
15081 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15082 (acos_tonearest_test_data): New variable.
15083 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15085 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15087 * benchtests/bench-skeleton.c (startup): Fix coding style.
15089 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15092 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15093 negative infinity argument.
15094 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15095 negative infinity argument.
15096 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15097 negative infinity argument.
15098 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15101 2013-05-10 Florian Weimer <fweimer@redhat.com>
15103 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15104 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15105 * iconv/iconv_prog.c (main): Likewise.
15106 * locale/programs/charmap-dir.c (charmap_readdir)
15107 (fopen_uncompressed): Likewise.
15108 * locale/programs/locfile.c (siblings_uncached)
15109 (write_locale_data): Use lstat64 instead of lstat.
15110 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15113 2013-05-10 Andreas Jaeger <aj@suse.de>
15116 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15118 Include <locale.h>.
15120 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15122 * elf/dl-close.c (_dl_close_worker): Add comments.
15124 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15127 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15129 (__ieee754_rem_pio2l): Update comments.
15132 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15134 (__ieee754_rem_pio2l): Update comments.
15136 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15137 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15139 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15142 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15143 (M_PI_34_LOG10El): Likewise.
15144 (M_PI2_LOG10El): Likewise.
15145 (M_PI4_LOG10El): Likewise.
15146 (M_PI_LOG10El): Likewise.
15148 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15152 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15154 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15155 (MINUS_ZERO_INIT): Likewise.
15156 (PLUS_INFTY_INIT): Likewise.
15157 (MINUS_INFTY_INIT): Likewise.
15158 (QNAN_VALUE_INIT): Likewise.
15159 (MAX_VALUE_INIT): Likewise.
15160 (MIN_VALUE_INIT): Likewise.
15161 (MIN_SUBNORM_VALUE_INIT): Likewise.
15162 (plus_zero): Initialize with PLUS_ZERO_INIT.
15163 (minus_zero): Initialize with MINUS_ZERO_INIT.
15164 (plus_infty): Initialize with PLUS_INFTY_INIT.
15165 (minus_infty): Initialize with MINUS_INFTY_INIT.
15166 (qnan_value): Initialize with QNAN_VALUE_INIT.
15167 (max_value): Initialize with MAX_VALUE_INIT.
15168 (min_value): Initialize with MIN_VALUE_INIT.
15169 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15171 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15172 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15173 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15174 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15176 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15177 (RUN_TEST_2_f): Likewise.
15178 (RUN_TEST_ff_f): Likewise.
15179 (RUN_TEST_fi_f): Likewise.
15180 (RUN_TEST_fl_f): Likewise.
15181 (RUN_TEST_fff_f): Likewise.
15182 (RUN_TEST_c_f): Likewise.
15183 (RUN_TEST_f_f1): Likewise.
15184 (RUN_TEST_fF_f1): Likewise.
15185 (RUN_TEST_fI_f1): Likewise.
15186 (RUN_TEST_ffI_f1): Likewise.
15187 (RUN_TEST_c_c): Likewise.
15188 (RUN_TEST_cc_c): Likewise.
15189 (RUN_TEST_f_i): Likewise.
15190 (RUN_TEST_f_i_tg): Likewise.
15191 (RUN_TEST_ff_i_tg): Likewise.
15192 (RUN_TEST_f_b): Likewise.
15193 (RUN_TEST_f_b_tg): Likewise.
15194 (RUN_TEST_f_l): Likewise.
15195 (RUN_TEST_f_L): Likewise.
15196 (RUN_TEST_sincos): Likewise.
15197 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15198 whether to show exceptions. Do not include ");\n" in return
15200 (special_functions): Output call to RUN_TEST_sincos instead of
15201 check_float calls. Update calls to new_test.
15202 (parse_args): Output call to single RUN_TEST_* macro instead of
15203 check_* calls and other assignments. Update calls to new_test.
15209 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15210 input to result for tgamma overflow.
15211 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15212 (gamma_coeff): New variable.
15213 (NCOEFF): New macro.
15214 (gamma_positive): New function.
15215 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15216 underflow here. Use gamma_positive instead of exp (lgamma) for
15218 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15219 (gamma_coeff): New variable.
15220 (NCOEFF): New macro.
15221 (gammaf_positive): New function.
15222 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15223 underflow here. Use gamma_positive instead of exp (lgamma) for
15225 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15226 (gamma_coeff): New variable.
15227 (NCOEFF): New macro.
15228 (gammal_positive): New function.
15229 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15230 underflow here. Use gamma_positive instead of exp (lgamma) for
15232 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15233 (gamma_coeff): New variable.
15234 (NCOEFF): New macro.
15235 (gammal_positive): New function.
15236 (__ieee754_gammal_r): Handle positive infinity, overflow and
15237 underflow here. Handle NaN the same as positive infinity. Remove
15238 check x < 0xffffffff for negative integers. Use gamma_positive
15239 instead of exp (lgamma) for other arguments.
15240 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15241 (gamma_coeff): New variable.
15242 (NCOEFF): New macro.
15243 (gammal_positive): New function.
15244 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15245 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15246 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15247 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15248 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15249 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15250 * sysdeps/generic/math_private.h (__gamma_productf): New
15252 (__gamma_product): Likewise.
15253 (__gamma_productl): Likewise.
15254 * math/Makefile (libm-calls): Add gamma_product.
15255 * math/libm-test.inc (tgamma_test): Add more tests.
15256 * sysdeps/i386/fpu/libm-test-ulps: Update.
15257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15259 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15261 * benchtests/bench-skeleton.c (main): Preheat CPU.
15263 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15265 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15267 2013-05-07 Roland McGrath <roland@hack.frob.com>
15269 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15270 and _dl_skip_args_internal.
15272 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15274 * manual/message.texi (Message Translation): Talk about users.
15275 Message to key mapping impacts design.
15277 2013-05-06 Roland McGrath <roland@hack.frob.com>
15279 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15281 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15283 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15284 * sysdeps/wordsize-64/glob64.c: ... here.
15286 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15287 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15290 * debug/getlogin_r_chk.c: Moved to ...
15291 * login/getlogin_r_chk.c: ... here.
15292 * debug/Makefile (routines): Move getlogin_r_chk to ...
15293 * login/Makefile (routines): ... here.
15294 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15295 * login/Versions (libc: GLIBC_2.4): ... here.
15297 * io/poll.c (__poll): Renamed from poll.
15298 Add libc_hidden_def.
15299 (poll): Define as weak alias.
15301 * debug/ptsname_r_chk.c: Moved to ...
15302 * login/ptsname_r_chk.c: ... here.
15303 * debug/Makefile (routines): Move ptsname_r_chk to ...
15304 * login/Makefile (routines): ... here.
15305 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15306 * login/Versions (libc: GLIBC_2.4): ... here.
15308 * posix/getlogin.c: Moved to ...
15309 * login/getlogin.c: ... here.
15310 * posix/getlogin_r.c: Moved to ...
15311 * login/getlogin_r.c: ... here.
15312 * posix/getlogin_r.c: Moved to ...
15313 * login/getlogin_r.c: ... here.
15314 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15315 * login/Makefile (routines): ... here.
15316 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15317 * login/Versions (libc: GLIBC_2.0): ... here.
15319 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15320 (setrlimit): Define as weak alias.
15322 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15323 Call __ names for open, ftruncate, and close.
15324 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15325 (truncate): Define as weak alias.
15327 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15329 * math/gen-libm-test.pl (parse_args): Initialize x before each
15330 test of frexp, modf and remquo.
15332 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15333 test signgam value.
15335 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15339 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15341 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15343 2013-05-06 Roland McGrath <roland@hack.frob.com>
15345 * elf/dl-writev.h: New file.
15346 * elf/dl-misc.c: Include it.
15347 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15348 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15350 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15352 * math/libm-test.inc (noXFails): Remove variable.
15353 (noXPasses): Likewise.
15354 (BUILD_COMPLEX_INT): Remove macro.
15355 (print_screen): Remove xfail argument.
15356 (print_screen_max_error): Likewise.
15357 (update_stats): Likewise.
15358 (print_max_error): Likewise. Update calls to other affected
15360 (print_complex_max_error): Likewise.
15361 (test_single_exception): Update calls to print_screen.
15362 (test_single_errno): Likewise.
15363 (check_float_internal): Remove xfail argument. Update calls to
15364 other affected functions.
15365 (check_float): Likewise.
15366 (check_complex): Likewise.
15367 (check_int): Likewise.
15368 (check_long): Likewise.
15369 (check_bool): Likewise.
15370 (check_longlong): Likewise.
15371 (main): Don't print noXFails and noXPasses.
15372 * math/gen-libm-test.pl (top level): Don't mention expected
15373 failure handling in comment.
15374 (new_test): Don't handle expected failures.
15375 (parse_args): Don't mention expected failure handling in comment.
15376 (generate_testfile): Don't handle expected failures.
15377 (parse_ulps): Likewise.
15378 (print_ulps_file): Likewise.
15379 (get_failure): Remove function.
15380 (output_test): Don't handle expected failures.
15381 * make/README.libm-test: Don't mention expected failure handling.
15383 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15384 (minus_zero): Likewise.
15385 (plus_infty): Likewise.
15386 (minus_infty): Likewise.
15387 (qnan_value): Likewise.
15388 (max_value): Likewise.
15389 (min_value): Likewise.
15390 (min_subnorm_value): Likewise.
15391 (initialize): Do not initialize those variables dynamically.
15393 2013-05-03 Roland McGrath <roland@hack.frob.com>
15395 * io/open.c (__open_2): Moved to ...
15396 * io/open_2.c: ... this new file.
15397 * io/open64.c (__open64_2): Moved to ...
15398 * io/open64_2.c: ... this new file.
15399 * io/openat.c (__openat_2): Moved to ...
15400 * io/openat_2.c: ... this new file.
15401 * io/openat64.c (__openat64_2): Moved to ...
15402 * io/openat64_2.c: ... this new file.
15403 * io/Makefile (routines): Add them.
15404 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15405 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15406 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15407 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15408 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15409 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15410 (__openat64): Add hidden_ver.
15411 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15412 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15414 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15415 Separately conditionalize setting of GLRO(dl_sysinfo) so
15416 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15417 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15419 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15421 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15422 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15424 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15425 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15426 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15427 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15428 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15430 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15432 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15433 test signgam value.
15435 * math/libm-test.inc (hypot_test): Do not use
15436 IGNORE_ZERO_INF_SIGN.
15438 2013-05-03 Andreas Jaeger <aj@suse.de>
15440 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15442 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15443 (PF_MAX): Adjust for VSOCK change.
15445 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15449 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15452 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15453 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15454 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15456 2013-05-02 David S. Miller <davem@davemloft.net>
15458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15460 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15462 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15464 2013-05-01 Roland McGrath <roland@hack.frob.com>
15466 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15468 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15471 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15472 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15473 Use __attribute__ ((__gnu_inline__)).
15474 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15475 Don't use __attribute__ ((__gnu_inline__)).
15477 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15480 * math/s_catan.c (__catan): Handle small real or imaginary part of
15481 input specially to avoid spurious underflow.
15482 * math/s_catanf.c (__catanf): Likewise.
15483 * math/s_catanh.c (__catanh): Likewise.
15484 * math/s_catanhf.c (__catanhf): Likewise.
15485 * math/s_catanhl.c (__catanhl): Likewise.
15486 * math/s_catanl.c (__catanl): Likewise.
15487 * math/libm-test.inc (catan_test): Add more tests.
15488 (catanh_test): Likewise.
15489 * sysdeps/i386/fpu/libm-test-ulps: Update.
15490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15492 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15496 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15499 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15500 accurately for denominator in atan2.
15501 * math/s_catanf.c (__catanf): Likewise.
15502 * math/s_catanh.c (__catanh): Likewise.
15503 * math/s_catanhf.c (__catanhf): Likewise.
15504 * math/s_catanhl.c (__catanhl): Likewise.
15505 * math/s_catanl.c (__catanl): Likewise.
15506 * math/libm-test.inc (catan_test): Add more tests.
15507 (catanh_test): Likewise.
15508 * sysdeps/i386/fpu/libm-test-ulps: Update.
15509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15511 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15513 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15515 * benchtests/Makefile (bench): Remove slow benchmarks.
15516 * benchtests/atan-inputs: Add slow benchmark inputs.
15517 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15518 (BENCH_FUNC): Accept variant offset.
15520 * benchtests/bench-skeleton.c (main): Run benchmark for each
15522 * benchtests/cos-inputs: Add slow benchmark inputs.
15523 * benchtests/exp-inputs: Likewise.
15524 * benchtests/pow-inputs: Likewise.
15525 * benchtests/sin-inputs: Likewise.
15526 * benchtests/slowatan-inputs: Remove.
15527 * benchtests/slowatan.c: Remove.
15528 * benchtests/slowcos-inputs: Remove.
15529 * benchtests/slowcos.c: Remove.
15530 * benchtests/slowexp-inputs: Remove.
15531 * benchtests/slowexp.c: Remove.
15532 * benchtests/slowpow-inputs: Remove.
15533 * benchtests/slowpow.c: Remove.
15534 * benchtests/slowsin-inputs: Remove.
15535 * benchtests/slowsin.c: Remove.
15536 * benchtests/slowtan-inputs: Remove.
15537 * benchtests/slowtan.c: Remove.
15538 * benchtests/tan-inputs: Add slow benchmark inputs.
15539 * scripts/bench.pl: Parse comments and directives.
15541 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15543 ($(objpfx)bench-%.c): Remove *-ITER.
15544 * benchtests/bench-modf.c: Remove definition of ITER.
15545 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15546 (main): Loop for DURATION seconds instead of fixed number of
15548 * scripts/bench.pl: Don't expect iterations in parameters.
15550 2013-04-29 Roland McGrath <roland@hack.frob.com>
15552 * io/fchdir.c (__fchdir): Renamed from fchdir.
15553 (fchdir): Define as weak alias.
15555 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15557 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15558 (ERRNO_EDOM): Likewise.
15559 (ERRNO_ERANGE): Likewise.
15560 (noErrnoTests): New variable.
15561 (init_max_error): Set errno to 0.
15562 (test_single_errno): New function.
15563 (test_errno): Likewise.
15564 (check_float_internal): Call test_errno. Set errno to 0.
15565 (check_complex): Refer to errno tests in comment.
15566 (check_int): Call test_errno. Set errno to 0.
15567 (check_long): Likewise.
15568 (check_bool): Likewise.
15569 (check_longlong): Likewise.
15570 (cos_test): Use ERRNO_* flags for errno tests instead of
15572 (expm1_test): Likewise.
15573 (fmod_test): Likewise.
15574 (ilogb_test): Likewise.
15575 (lgamma_test): Likewise.
15576 (pow_test): Likewise.
15577 (remainder_test): Likewise.
15578 (sin_test): Likewise.
15579 (tan_test): Likewise.
15580 (yn_test): Likewise.
15581 (initialize): Set errno to 0.
15582 (main): Print number of errno tests.
15583 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15585 2013-04-29 Andreas Jaeger <aj@suse.de>
15588 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15592 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15593 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15597 * stdlib/random.c (__initstate): Return NULL if
15601 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15602 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15605 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15609 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15611 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15612 of individual tests.
15613 (casin_test): Likewise.
15614 (casinh_test): Likewise.
15616 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15619 * math/s_catan.c (__catan): Handle arguments with large real or
15620 imaginary part separately without squaring.
15621 * math/s_catanf.c (__catanf): Likewise.
15622 * math/s_catanh.c (__catanh): Likewise.
15623 * math/s_catanhf.c (__catanhf): Likewise.
15624 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15626 (__catanhl): Handle arguments with large real or imaginary part
15627 separately without squaring.
15628 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15630 (__catanl): Handle arguments with large real or imaginary part
15631 separately without squaring.
15632 * math/libm-test.inc (catan_test): Add more tests.
15633 (catanh_test): Likewise.
15634 * sysdeps/i386/fpu/libm-test-ulps: Update.
15635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15637 2013-04-27 Andreas Jaeger <aj@suse.de>
15640 * stdlib/stdlib.h: Update guards for qecvt.
15641 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15644 2013-04-27 Allan McRae <allan@archlinux.org>
15646 * sysdeps/i386/fpu/libm-test-ulps: Update.
15648 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15651 * math/s_catan.c: Include <float.h>.
15652 (__catan): Ensure underflow exception occurs for underflowed
15654 * math/s_catanf.c: Include <float.h>.
15655 (__catanf): Ensure underflow exception occurs for underflowed
15657 * math/s_catanh.c: Include <float.h>.
15658 (__catanh): Ensure underflow exception occurs for underflowed
15660 * math/s_catanhf.c: Include <float.h>.
15661 (__catanhf): Ensure underflow exception occurs for underflowed
15663 * math/s_catanhl.c: Include <float.h>.
15664 (__catanhl): Ensure underflow exception occurs for underflowed
15666 * math/s_catanl.c: Include <float.h>.
15667 (__catanl): Ensure underflow exception occurs for underflowed
15669 * math/libm-test.inc (catan_test): Add more tests.
15670 (catanh_test): Likewise.
15673 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15674 underflowed result.
15675 * math/s_ccoshf.c (__ccoshf): Likewise.
15676 * math/s_ccoshl.c (__ccoshl): Likewise.
15677 * math/s_csin.c (__csin): Likewise.
15678 * math/s_csinf.c (__csinf): Likewise.
15679 * math/s_csinh.c (__csinh): Likewise.
15680 * math/s_csinhf.c (__csinhf): Likewise.
15681 * math/s_csinhl.c (__csinhl): Likewise.
15682 * math/s_csinl.c (__csinl): Likewise.
15683 * math/libm-test.inc (ccos_test): Add more tests.
15684 (ccosh_test): Likewise.
15685 (csin_test): Likewise.
15686 (csinh_test): Likewise.
15688 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15690 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15691 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15692 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15693 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15694 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15695 powerpc/power5+/fpu folders.
15696 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15699 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15703 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15705 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15706 additions to variable.
15707 [$(config-machine) = x86_64] (modules-names): Likewise.
15708 ($(objpfx)tst-audit3): Remove dependency.
15709 ($(objpfx)tst-audit3.out): Likewise.
15710 ($(objpfx)tst-audit4): Likewise.
15711 ($(objpfx)tst-audit4.out): Likewise.
15712 ($(objpfx)tst-audit5): Likewise.
15713 ($(objpfx)tst-audit5.out): Likewise.
15714 ($(objpfx)tst-audit6): Likewise.
15715 ($(objpfx)tst-audit6.out): Likewise.
15716 ($(objpfx)tst-audit7): Likewise.
15717 ($(objpfx)tst-audit7.out): Likewise.
15718 (tst-audit3-ENV): Remove variable.
15719 (tst-audit4-ENV): Likewise.
15720 (tst-audit5-ENV): Likewise.
15721 (tst-audit6-ENV): Likewise.
15722 (tst-audit7-ENV): Likewise.
15723 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15724 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15725 addition to variable.
15726 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15727 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15728 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15729 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15730 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15731 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15732 tst-audit3, tst-audit4 and tst-audit5.
15733 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15734 tst-audit6 and tst-audit7.
15735 [$(subdir) = elf] (modules-names): Add audit modules for those
15737 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15738 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15739 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15740 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15741 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15742 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15743 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15744 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15745 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15746 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15747 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15748 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15749 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15750 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15751 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15752 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15754 [$(subdir) = elf && $(config-cflags-avx) = yes]
15755 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15756 [$(subdir) = elf && $(config-cflags-avx) = yes]
15757 (CFLAGS-tst-auditmod4a.c): Likewise.
15758 [$(subdir) = elf && $(config-cflags-avx) = yes]
15759 (CFLAGS-tst-auditmod4b.c): Likewise.
15760 [$(subdir) = elf && $(config-cflags-avx) = yes]
15761 (CFLAGS-tst-auditmod6b.c): Likewise.
15762 [$(subdir) = elf && $(config-cflags-avx) = yes]
15763 (CFLAGS-tst-auditmod6c.c): Likewise.
15764 [$(subdir) = elf && $(config-cflags-avx) = yes]
15765 (CFLAGS-tst-auditmod7b.c): Likewise.
15766 * elf/tst-audit3.c: Move to ...
15767 * sysdeps/x86_64/tst-audit3.c: ... here.
15768 * elf/tst-audit4.c: Move to ...
15769 * sysdeps/x86_64/tst-audit4.c: ... here.
15770 * elf/tst-audit5.c: Move to ...
15771 * sysdeps/x86_64/tst-audit5.c: ... here.
15772 * elf/tst-audit6.c: Move to ...
15773 * sysdeps/x86_64/tst-audit6.c: ... here.
15774 * elf/tst-audit7.c: Move to ...
15775 * sysdeps/x86_64/tst-audit7.c: ... here.
15776 * elf/tst-auditmod3a.c: Move to ...
15777 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15778 * elf/tst-auditmod3b.c: Move to ...
15779 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15780 * elf/tst-auditmod4a.c: Move to ...
15781 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15782 * elf/tst-auditmod4b.c: Move to ...
15783 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15784 * elf/tst-auditmod5a.c: Move to ...
15785 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15786 * elf/tst-auditmod5b.c: Move to ...
15787 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15788 * elf/tst-auditmod6a.c: Move to ...
15789 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15790 * elf/tst-auditmod6b.c: Move to ...
15791 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15792 * elf/tst-auditmod6c.c: Move to ...
15793 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15794 * elf/tst-auditmod7a.c: Move to ...
15795 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15796 * elf/tst-auditmod7b.c: Move to ...
15797 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15799 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15802 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15803 define unconditionally.
15804 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15805 define unconditionally.
15806 (INT8_C, INT16_C, etc.): Likewise.
15808 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15810 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15811 __ehdr_start with hidden visibility.
15813 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15815 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15817 * math/libm-test.inc (cos_test): Use accurate hex constants.
15818 (sincost_test): Likewise.
15820 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15822 * math/libm-test.inc (catan_test): Add more tests.
15823 (catanh_test): Likewise.
15825 * math/s_catanf.c (__catanf): Use suffixed floating-point
15827 * math/s_catanhf.c (__catanhf): Likewise.
15828 * math/s_catanhl.c (__catanhl): Likewise.
15829 * math/s_catanl.c (__catanl): Likewise.
15832 * math/s_catan.c (__catan): Calculate imaginary part of result
15833 with log1p not log unless computing log of number close to 0.
15834 * math/s_catanf.c (__catanf): Likewise.
15835 * math/s_catanl.c (__catanl): Likewise.
15836 * math/s_catanh.c (__catanh): Calculate real part of result with
15837 log1p not log unless computing log of number close to 0.
15838 * math/s_catanhf.c (__catanhf): Likewise.
15839 * math/s_catanhl.c (__catanhl): Likewise.
15840 * math/libm-test.inc (catan_test): Add more tests.
15841 (catanh_test): Likewise.
15842 * sysdeps/i386/fpu/libm-test-ulps: Update.
15843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15845 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15847 * benchtests/Makefile: Mention files in which fast and slow
15848 paths of math functions are implemented.
15850 2013-04-23 Roland McGrath <roland@hack.frob.com>
15852 * sysdeps/posix/timespec_get.c: New file.
15854 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15856 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15858 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15860 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15861 powerpc/power5/fpu folders.
15862 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15863 * benchtests/Makefile: Add modf testcase.
15864 * benchtests/bench-modf.c: New file: Benchmark test for mo
15866 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15869 * time/Makefile (tests): Add tst-strptime-whitespace.
15870 * time/strptime_l.c (get_number): Use ISSPACE.
15871 (__strptime_internal): Likewise.
15872 * time/tst-strptime-whitespace.c: New test case.
15874 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15876 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15878 (_nss_files_init): Set it here.
15880 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15882 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15883 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15886 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15888 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15890 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15892 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15895 2013-04-21 David S. Miller <davem@davemloft.net>
15897 * po/ru.po: Update Russion translation from translation project.
15899 2013-04-17 Adam Conrad <adconrad@0c3.net>
15901 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15904 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15906 * configure.in: Remove i386 configure warning. Remove i386 case.
15907 * configure: Regenerate.
15908 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15909 Add example to error message.
15910 * sysdeps/i386/configure: Regenerate.
15912 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15914 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15916 * benchtests/cos-inputs: New file.
15917 * benchtests/slowcos-inputs: New file.
15918 * benchtests/slowcos.c: New file.
15919 * benchtests/slowtan-inputs: New file.
15920 * benchtests/slowtan.c: New file.
15921 * benchtests/tan-inputs: New file.
15923 2013-04-16 Roland McGrath <roland@hack.frob.com>
15925 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15928 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15930 * benchtests/Makefile: Include cppflags-iterator.mk to add
15931 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15933 * Makefile.in (bench-clean): New target.
15934 * benchtests/Makefile (bench-clean): Likewise.
15936 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15938 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15940 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15942 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15944 2013-04-15 Andreas Schwab <schwab@suse.de>
15946 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15947 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15948 * nscd/pwdcache.c (cache_addpw): Likewise.
15949 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15952 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15954 * benchtests/Makefile (bench): Write all output to
15955 bench-out.tmp together.
15957 2013-04-15 Andreas Schwab <schwab@suse.de>
15959 * nscd/nscd.c (main): Don't fork again after closing files.
15961 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15963 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15965 * benchtests/Rules (bench-deps): Collect dependencies into a
15966 single variable. Add Makefile to dependencies.
15967 ($(objpfx)bench-%.c): Depend on bench-deps.
15969 2013-04-12 Roland McGrath <roland@hack.frob.com>
15970 Xavier Roche <roche+kml2@exalead.com>
15973 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15974 just that it's a file descriptor.
15975 * manual/llio.texi (Synchronizing AIO Operations): Update description
15976 for EBADF error from aio_fsync.
15978 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15980 * Rules (bench): Move target definition...
15981 * benchtests/Makefile: ... here.
15983 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15985 * math/libm-test.inc (cos_test): Fix PI/2 test.
15986 (sincos_test): Likewise.
15987 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15988 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15990 2013-04-11 Andreas Schwab <schwab@suse.de>
15993 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15994 accept exponent character only when digits were seen.
15995 * stdio-common/Makefile (tests): Add bug26.
15996 * stdio-common/bug26.c: New file.
15999 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16002 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16004 * Makeconfig (rtld-prefix): Define built linker prefix.
16005 * Rules (run-bench): Use it.
16006 * math/Makefile (run-regen-ulps): Likewise.
16008 * Rules (bench): Remove eval.
16010 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16011 Roland McGrath <roland@hack.frob.com>
16012 Ondrej Bilka <neleai@seznam.cz>
16015 * time/getdate.c: Include ctype.h and alloca.h.
16016 (__getdate_r): Trim leading and trailing spaces of input.
16017 * time/tst-getdate.c (tests): Add tests with leading and
16020 2013-04-08 Roland McGrath <roland@hack.frob.com>
16023 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16024 when computing value.
16026 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16028 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16029 Use testrun.sh to run libm tests.
16032 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16034 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16037 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16039 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16041 * Makefile.in (regen-ulps): New target.
16042 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16043 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16044 [ifneq (no,$(PERL)] (regen-ulps): New target.
16045 [ifeq (no,$(PERL)] (regen-ulps): New target.
16046 * math/libm-test.inc (ulps_file_name): Define.
16047 (output_dir): New variable.
16048 (options): Add "output-dir" option.
16049 (parse_opt): Handle 'o' case.
16050 (main): If output_dir is non-NULL use it as a prefix
16052 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16054 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16056 [BZ #10060, #10062]
16057 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16058 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16059 fail configure if __sync_val_compare_and_swap is not inlined.
16060 * sysdeps/i386/configure: Regenerate.
16061 * configure.in: Build for i686 when configured for i386.
16062 * configure: Regenerate.
16063 * README: Remove i386 reference.
16065 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16067 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16068 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16070 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16072 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16073 (lmsnanval): New variables.
16074 (F): Add conversion tests.
16075 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16076 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16078 * stdio-common/tstdiomisc.c (F): Properly collect individual
16081 [BZ #14686, #15336]
16082 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16083 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16084 Instead, use input NaN values or generate a qNaN by arithmetic
16085 operation. Also fix bugs to comply with the standard.
16086 * math/libm-test.inc (remainder_test): Add more tests.
16088 [BZ #15335, #15342]
16089 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16090 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16091 input NaN values or generate a qNaN by arithmetic operation.
16093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16096 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16099 2013-04-03 Joseph Myers <joseph@codesourcery.com>
16102 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16103 underflowed result.
16104 * math/s_cexpf.c (__cexpf): Likewise.
16105 * math/s_cexpl.c (__cexpl): Likewise.
16106 * math/libm-test.inc (cexp_test): Add more tests.
16108 2013-04-03 Andreas Schwab <schwab@suse.de>
16111 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16112 order arrays from heap if bigger than alloca cutoff.
16114 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16116 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16117 (SNAN_TESTS_double): Refer to GCC PR56831.
16118 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16121 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16123 * Rules (bench): Move bench.out after the run is complete.
16125 * Rules (bench): Echo currently running benchmark.
16127 * benchtests/Makefile (bench): Add atan and slowatan.
16128 * benchtests/atan-inputs: New file.
16129 * benchtests/slowatan-inputs: New file.
16130 * benchtests/slowatan.c: New file.
16132 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16133 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16137 * sysdeps/unix/sysv/linux/kernel-features.h
16138 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16139 __ASSUME_XFS_RESTRICTED_CHOWN.
16140 * sysdeps/unix/sysv/linux/pathconf.c
16141 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16142 Save and restore errno.
16144 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16147 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16148 arguments using __kernel_casinh.
16149 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16150 arguments using __kernel_casinhf.
16151 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16152 arguments using __kernel_casinhl.
16153 * math/libm-test.inc (cacosh_test): Add more tests.
16154 * sysdeps/i386/fpu/libm-test-ulps: Update.
16155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16157 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16159 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16160 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16162 * bench/Makefile (bench): Add sin and slowsin.
16163 * benchtests/sin-inputs: New file.
16164 * benchtests/slowsin-inputs: New file.
16165 * benchtests/slowsin.c: New file.
16167 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16168 (bench): Add slowexp and slowpow.
16169 (exp-ITER): Increase iterations.
16170 (pow-ITER): Likewise.
16171 * benchtests/exp-inputs: Change input.
16172 * benchtests/pow-inputs: Likewise.
16173 * benchtests/slowexp-inputs: New file.
16174 * benchtests/slowexp.c: New file.
16175 * benchtests/slowpow-inputs: New file.
16176 * benchtests/slowpow.c: New file.
16178 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16180 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16182 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16183 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16184 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16185 * benchtests/Makefile: Add rint benchtest.
16186 * benchtests/rint-inputs: Input for rint benchtest.
16188 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16190 * Versions.def (libm): Add GLIBC_2.18.
16191 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16192 hidden libm prototypes.
16193 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16194 * math/Makefile (libm-calls): Add s_issignaling.
16195 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16196 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16197 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16199 * math/math.h [__USE_GNU] (issignaling): New macro.
16200 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16201 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16202 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16203 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16204 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16205 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16206 * manual/arith.texi (issignaling): New section.
16207 * manual/libm-err-tab.pl (@all_functions): Update comment.
16208 * math/gen-libm-test.pl (parse_args): Apply special handling for
16210 * math/libm-test.inc (print_float, issignaling_test): New
16212 (check_float_internal): Add issignaling checks.
16213 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16214 default definition.
16215 * sysdeps/powerpc/math-tests.h: New file.
16216 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16218 * math/test-snan.c (TEST_FUNC): Likewise.
16220 2013-03-30 David S. Miller <davem@davemloft.net>
16222 * po/de.po: Update from translation team.
16224 2013-03-30 Joseph Myers <joseph@codesourcery.com>
16227 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16228 imaginary part less than 1.0 and real part less than 0.5
16230 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16231 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16232 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16233 (cacos_test): Add more tests.
16234 (casin_test): Likewise.
16235 (casinh_test): Likewise.
16236 * sysdeps/i386/fpu/libm-test-ulps: Update.
16237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16239 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16241 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16242 ONE with its value.
16244 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16245 (__pow_mp): Replace ONE and MONE with their values.
16246 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16247 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16248 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16249 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16250 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16251 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16253 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16255 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16256 (__pow_mp): Replace ZERO and MZERO with their values.
16257 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16258 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16259 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16260 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16261 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16262 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16265 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16267 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16269 2013-03-28 Roland McGrath <roland@hack.frob.com>
16271 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16272 Declare with __attribute__ ((weak)).
16273 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16274 Call __call_tls_dtors only if it's not NULL.
16276 2013-03-28 Roland McGrath <roland@hack.frob.com>
16278 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16279 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16280 magic __ehdr_start linker symbol if it's defined.
16281 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16282 them up here if it was already done.
16284 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16285 (_dl_aux_init): Use const in cast when setting it.
16286 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16287 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16288 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16290 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16292 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16293 * csu/libc-tls.c: Nor here.
16294 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16296 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16297 (__libc_message): Never call vsyslog.
16299 2013-03-28 Alan Modra <amodra@gmail.com>
16301 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16303 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16306 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16309 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16313 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16316 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16317 Don't add gid passed as argument.
16319 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16321 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16324 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16325 imaginary part between 1.0 and 1.5 and real part less than 0.5
16327 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16328 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16329 * math/libm-test.inc (cacos_test): Add more tests.
16330 (casin_test): Likewise.
16331 (casinh_test): Likewise.
16332 * sysdeps/i386/fpu/libm-test-ulps: Update.
16333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16335 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16337 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16340 (denorm): Likewise.
16341 (__dbl_mp): Likewise.
16342 (add_magnitudes): Likewise.
16343 (sub_magnitudes): Likewise.
16351 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16353 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16354 (__dubcos): Likewise.
16355 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16356 (__ieee754_acos): Likewise.
16357 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16358 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16359 (__exp1): Likewise.
16360 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16361 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16363 (my_log2): Likewise.
16364 (checkint): Likewise.
16365 * sysdeps/ieee754/dbl-64/e_remainder.c
16366 (__ieee754_remainder): Likewise.
16367 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16368 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16369 (bsloww): Likewise.
16370 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16372 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16373 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16374 MANTISSA_STORE_T to store computations on mantissa. Use
16375 macros for rounding and division.
16376 (denorm): Likewise.
16377 (__dbl_mp): Likewise.
16378 (add_magnitudes): Likewise.
16379 (sub_magnitudes): Likewise.
16382 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16383 powers of two in terms of TWOPOW macro.
16384 (mp_no): Make type of mantissa as MANTISSA_T.
16385 [!RADIXI]: Define RADIXI.
16386 [!TWO52]: Define TWO52.
16387 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16389 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16391 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16392 llroundl symbol when building for PPC32.
16394 2013-03-24 Mark H Weaver <mhw@netris.org>
16396 * manual/arith.texi (Normalization Functions): Fix prototypes for
16397 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16399 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16402 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16403 high value to check if expl overflow.
16404 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16405 to check for underflow and overflow.
16406 * math/libm-test.inc: Add exp test.
16408 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16411 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16414 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16416 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16419 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16421 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16422 wrap blocks consisting of several statements.
16424 * sysdeps/generic/math-tests.h: New file.
16425 * sysdeps/i386/fpu/math-tests.h: Likewise.
16426 * math/test-snan.c: Include it.
16427 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16429 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16432 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16433 (__ieee754_j0l): Do not improve calculations using cos of twice
16434 input for inputs above LDBL_MAX / 2.0L.
16435 (__ieee754_y0l): Likewise.
16436 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16437 (__ieee754_j1l): Do not improve calculations using cos of twice
16438 input for inputs above LDBL_MAX / 2.0L.
16439 (__ieee754_y1l): Likewise.
16440 * math/libm-test.inc (j0_test): Add another test.
16441 (j1_test): Likewise.
16442 (y0_test): Likewise.
16443 (y1_test): Likewise.
16444 * sysdeps/i386/fpu/libm-test-ulps: Update.
16446 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16448 * Rules ($(objpfx)bench-%.c): Include code from a C source
16451 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16454 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16455 imaginary part 1.0 and real part less than 0.5 specially.
16456 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16457 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16458 * math/libm-test.inc (cacos_test): Add more tests.
16459 (casin_test): Likewise.
16460 (casinh_test): Likewise.
16461 * sysdeps/i386/fpu/libm-test-ulps: Update.
16462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16464 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16466 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16467 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16469 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16471 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16472 * config.make.in (config-cflags-sse4): Remove variable.
16473 (config-cflags-avx): Likewise.
16474 (config-cflags-sse2avx): Likewise.
16475 (config-cflags-novzeroupper): Likewise.
16476 (config-asflags-i686): Likewise.
16477 (have-mfma4): Likewise.
16478 (have-as-vis3): Likewise.
16480 * configure.in (MIG): Do not AC_SUBST.
16481 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16482 (libc_cv_cc_sse4): Do not AC_SUBST.
16483 (libc_cv_cc_avx): Likewise.
16484 (libc_cv_cc_sse2avx): Likewise.
16485 (libc_cv_cc_novzeroupper): Likewise.
16486 (libc_cv_cc_fma4): Likewise.
16487 (libc_cv_as_i686): Likewise.
16488 (libc_cv_sparc_as_vis3): Likewise.
16489 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16491 (config-asflags-i686): Likewise.
16492 (config-cflags-avx): Likewise.
16493 (config-cflags-sse2avx): Likewise.
16494 (have-mfma4): Likewise.
16495 (config-cflags-novzeroupper): Likewise.
16496 * sysdeps/mach/configure.in (MIG): Likewise.
16497 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16498 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16500 (config-cflags-avx): Likewise.
16501 (config-cflags-sse2avx): Likewise.
16502 (have-mfma4): Likewise.
16503 (config-cflags-novzeroupper): Likewise.
16504 * configure: Regenerated.
16505 * sysdeps/i386/configure: Likewise.
16506 * sysdeps/mach/configure: Likewise.
16507 * sysdeps/sparc/configure: Likewise.
16508 * sysdeps/x86_64/configure: Likewise.
16510 2013-03-20 Roland McGrath <roland@hack.frob.com>
16513 * locale/programs/localedef.c (options): Put N_ translation marker
16514 on argument names, not just descriptions.
16516 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16518 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16520 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16523 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16525 2013-03-19 Roland McGrath <roland@hack.frob.com>
16527 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16528 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16529 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16530 [!BEFORE_ABORT] (before_abort): New function.
16531 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16532 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16533 (writev_for_fatal): New function.
16534 (WRITEV_FOR_FATAL): New macro; call that.
16535 (backtrace_and_maps): New function.
16536 (BEFORE_ABORT): New macro; call that.
16537 (struct str_list): Type removed.
16538 (__libc_message, __libc_fatal): Functions removed.
16539 Include <sysdeps/posix/libc_fatal.c> instead.
16541 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16543 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16545 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16548 2013-03-19 Andreas Schwab <schwab@suse.de>
16550 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16551 * sysdeps/gnu/configure: Regenerate.
16553 * configure.in: Substitute libc_cv_rtlddir.
16554 * configure: Regenerate.
16555 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16556 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16557 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16558 * elf/Makefile (install-others, CFLAGS-interp.c)
16559 (ldso_install, common-ldd-rewrite): Likewise.
16560 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16561 $(inst_slibdir)/$(rtld-installed-name).
16562 * scripts/rellns-sh: Add -p option.
16563 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16566 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16568 * manual/nptl.texi: Renamed to ...
16569 * manual/threads.texi: ... this.
16570 * manual/Makefile (chapters): Update.
16572 2013-03-18 Roland McGrath <roland@hack.frob.com>
16575 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16576 on argument names, not just descriptions.
16577 * malloc/memusagestat.c (options): Likewise.
16578 * nss/getent.c (options): Likewise.
16580 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16583 * iconv/iconv_prog.c (options): Put N_ translation marker
16584 on argument names, not just descriptions.
16585 * iconv/iconvconfig.c (options): Likewise.
16587 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16589 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16590 implementation which is faster on all x86_64 architectures.
16591 Tested on AMD, Intel Nehalem, SNB, IVB.
16592 * sysdeps/x86_64/strnlen.S: Likewise.
16594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16595 Remove all multiarch strlen and strnlen versions.
16596 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16597 Remove strlen and strnlen related parts.
16599 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16600 Inline strlen part.
16601 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16603 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16604 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16605 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16606 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16607 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16608 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16610 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16612 * manual/memory.texi (Malloc Tunable Parameters):
16613 Sort parameters alphabetically. Add comments for missing entries.
16615 2013-03-17 David S. Miller <davem@davemloft.net>
16617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16619 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16622 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16623 for arguments at most half maximum finite value.
16624 * math/libm-test.inc (j0_test): Add more tests.
16625 (j1_test): Likewise.
16626 (y0_test): Likewise.
16627 (y1_test): Likewise.
16628 * sysdeps/i386/fpu/libm-test-ulps: Update.
16629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16632 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16633 1 / x and functions P and Q for arguments above 0x1p256L.
16634 (__ieee754_y0l): Likewise.
16635 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16636 (__ieee754_y1l): Likewise.
16637 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16638 (j1_test): Likewise.
16639 (y0_test): Likewise.
16640 (y1_test): Likewise.
16642 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16644 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16647 2013-03-15 Roland McGrath <roland@hack.frob.com>
16649 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16650 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16651 zero since it's initialized to EXEC_PAGESIZE.
16653 * sysdeps/unix/sysv/linux/ldsodefs.h
16654 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16655 * sysdeps/generic/ldsodefs.h: ... here.
16657 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16659 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16661 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16663 * math/test-snan.c: Renamed from
16664 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16665 * math/Makefile (tests): Add test-snan.
16666 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16669 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16670 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16672 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16673 __builtin_nan family of functions.
16674 * math/libm-test.inc (initialize): Initialize qnan_value with
16675 __builtin_nan family of functions.
16676 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16678 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16680 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16681 storage class. Initialize qNaN_var and sNaN_var with
16682 __builtin_nan and __builtin_nans families of functions,
16685 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16686 (sqrt_test): Remove duplicate test with qNaN input.
16687 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16688 (round_test, signbit_test, significand_test): Note missing +/-Inf
16689 as well as qNaN tests.
16691 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16692 qNaN_var. Fix a few strings, too.
16693 * math/libm-test.inc (nan_value): Rename to qnan_value.
16694 * math/gen-libm-test.pl (%beautify): Adjust to that.
16695 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16696 * math/test-misc.c (main): Likewise.
16697 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16698 to __qnan_bytes, and __qnan_union, respectively.
16699 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16701 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16702 and lqnanval, respectively.
16703 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16704 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16705 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16706 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16708 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16709 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16712 * math/test-misc.c (main): Fix copy'n'pastos.
16713 * misc/tst-efgcvt.c (special): Likewise.
16715 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16716 Remove declarations.
16718 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16720 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16721 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16722 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16723 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16725 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16727 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16728 macro to return vdso values correctly in IFUNC implementations.
16729 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16730 Optimization by using IFUNC.
16732 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16733 Richard Henderson <rth@redhat.com>
16734 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16736 * Makefile.in (bench): New target.
16737 * NEWS: Mention the benchmark framework.
16738 * Rules (bench): Likewise.
16739 (binaries-bench): Generate binaries for functions to
16741 * benchtests/Makefile: New makefile for benchmark tests.
16742 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16744 * benchtests/exp-inputs: New input file for EXP function.
16745 * benchtests/pow-inputs: New input file for POW function.
16746 * scripts/bench.pl: New script to generate source files for
16747 benchmark programs.
16749 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16751 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16752 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16753 computations on mantissa. Use macros for rounding and
16755 (denorm): Likewise.
16756 (__dbl_mp): Likewise.
16757 (add_magnitudes): Likewise.
16758 (sub_magnitudes): Likewise.
16761 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16762 powers of two in terms of TWOPOW macro.
16763 (mp_no): Make type of mantissa as MANTISSA_T.
16764 [!RADIXI]: Define RADIXI.
16765 [!TWO52]: Define TWO52.
16766 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16768 * manual/nptl.texi (cindex): Modify threads to pthreads.
16770 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16772 * sysdeps/x86_64/preconfigure: Regenerated.
16774 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16777 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16779 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16780 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16782 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16783 * math/libm-test.inc (j0_test): Do not allow one spurious
16784 underflow exception.
16785 (y1_test): Likewise.
16787 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16789 * manual/Makefile (chapters): Add nptl.
16790 * manual/debug.texi (Debugging Support): Add link to Threads
16792 * manual/nptl.texi: New file.
16794 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16796 2013-03-14 Petr Baudis <pasky@ucw.cz>
16798 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16799 for non-NULL pointer before the memory validity test. Pointed
16800 out by Holger Brunck <holger.brunck@keymile.com>.
16802 2013-03-13 Andreas Schwab <schwab@suse.de>
16804 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16807 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16809 * timezone/zic.c: Update from tzcode 2013b.
16811 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16813 * manual/install.texi (Configuring and compiling):
16814 Mention i686 and i586.
16815 * INSTALL: Regenerate.
16817 2013-03-12 Roland McGrath <roland@hack.frob.com>
16819 * sysdeps/init_array/elf-init.c: New file.
16821 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16822 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16824 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16825 __gmon_start__ as global, but as static with a .preinit_array pointer.
16826 * sysdeps/init_array/gmon-start.c: New file. Use that.
16827 * sysdeps/init_array/crti.S: New file, empty except for comments.
16828 * sysdeps/init_array/crtn.S: Likewise.
16830 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16832 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16835 Remove Prefer_SSE_for_memop.
16836 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16837 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16838 HAS_PREFER_SSE_FOR_MEMOP.
16839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16841 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16842 Remove bzero, memset ifunc support.
16843 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16844 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16845 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16846 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16848 2013-03-11 Andreas Schwab <schwab@suse.de>
16851 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16854 (GLIBC_2.16): Remove pthread_atfork.
16856 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16858 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16859 (ptestcases.h): Likewise.
16861 2013-03-08 Roland McGrath <roland@hack.frob.com>
16863 * Makeconfig ($(common-objpfx)config.status): Depend on
16864 sysdeps/*/preconfigure{,.in} too.
16866 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16868 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16869 (__free_hook): Use void * instead of __malloc_ptr_t.
16870 (__malloc_hook): Likewise.
16871 (__realloc_hook): Likewise.
16872 (__memalign_hook): Likewise.
16873 (__after_morecore_hook): Likewise.
16874 * malloc/arena.c (save_malloc_hook): Likewise.
16875 (save_free_hook): Likewise.
16876 * malloc/hooks.c (malloc_hook_ini): Likewise.
16877 (realloc_hook_ini): Likewise.
16878 (memalign_hook_ini): Likewise.
16879 * malloc/malloc.c (malloc_hook_ini): Likewise.
16880 (realloc_hook_ini): Likewise.
16881 (memalign_hook_ini): Likewise.
16882 (__free_hook): Likewise.
16883 (__malloc_hook): Likewise.
16884 (__realloc_hook): Likewise.
16885 (__memalign_hook): Likewise.
16886 (__libc_malloc): Likewise.
16887 (__libc_free): Likewise.
16888 (__libc_realloc): Likewise.
16889 (__libc_memalign): Likewise.
16890 (__libc_valloc): Likewise.
16891 (__libc_pvalloc): Likewise.
16892 (__libc_calloc): Likewise.
16893 (__posix_memalign): Likewise.
16894 * malloc/morecore.c (__sbrk): Likewise.
16895 (__default_morecore): Likewise.
16897 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16899 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16900 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16901 __malloc_ptrdiff_t.
16903 * malloc/malloc.h (__malloc_size_t): Remove macro.
16904 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16906 (old_memalign_hook): Likewise.
16907 (old_realloc_hook): Likewise.
16908 (struct hdr): Likewise.
16910 (mallochook): Likewise.
16911 (memalignhook): Likewise.
16912 (reallochook): Likewise.
16913 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16914 (tr_old_realloc_hook): Likewise.
16915 (tr_old_memalign_hook): Likewise.
16916 (tr_mallochook): Likewise.
16917 (tr_reallochook): Likewise.
16918 (tr_memalignhook): Likewise.
16920 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16922 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16923 default_ldbl_pack and using as default implementation.
16924 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16926 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16927 redundant definition.
16928 (ldbl_insert_mantissa): Likewise.
16929 (ldbl_canonicalize): Likewise.
16930 (ldbl_nearbyint): Likewise.
16931 (ldbl_pack): Rename to ldbl_pack_ppc.
16932 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16933 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16934 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16936 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16939 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16940 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16941 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16943 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16944 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16945 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16947 2013-03-07 Andreas Jaeger <aj@suse.de>
16949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16952 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16954 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16955 Include mpa.h and declare __MPEXP.
16956 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16957 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16958 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16959 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16960 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16961 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16962 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16964 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16965 (__slowpow): Use long double EXPL and LOGL functions to
16967 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16968 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16969 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16970 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16971 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16972 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16975 intermediate variable to calculate exponent.
16977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16981 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16982 [!NO__SQR]: Define __sqr.
16983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16984 and NO__SQR. Remove all code except __mul and __sqr. Include
16985 sysdeps/ieee754/dbl-64/mpa.c.
16986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16989 * posix/Makefile (tests): Add tst-pathconf.
16990 * posix/tst-pathconf.c: New test case.
16991 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16993 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16995 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16997 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16999 2013-03-06 Andreas Jaeger <aj@suse.de>
17001 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17002 definition via __MAP_ANONYMOUS.
17004 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17005 it's not part of Linux headers.
17007 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17008 (MAP_HUGE_MASK): Define.
17010 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17012 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17013 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17015 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17016 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17018 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17019 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17021 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17023 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17024 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17025 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17026 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17027 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17028 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17030 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17033 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17034 Handle f2fs and efivarfs.
17036 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17039 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17040 (EFIVARFS_MAGIC): Add.
17041 (F2FS_LINK_MAX): Add.
17043 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17045 * stdio-common/vfprintf.c: Replace __builtin_expect with
17048 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17051 * sysdeps/generic/bp-sym.h: Remove file.
17052 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17053 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17054 <bp-sym.h> and <bp-asm.h>.
17055 (__longjmp): Don't use BP_SYM.
17056 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17058 (memcpy): Don't use BP_SYM.
17059 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17060 <bp-sym.h> and <bp-asm.h>.
17061 (memcpy): Don't use BP_SYM.
17062 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17064 (memcpy): Don't use BP_SYM.
17065 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17067 (memset): Don't use BP_SYM.
17068 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17069 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17070 (__bzero): Don't use BP_SYM.
17071 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17072 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17073 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17074 <bp-sym.h> and <bp-asm.h>.
17075 (memcmp): Don't use BP_SYM. Remove comment about bounded
17077 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17078 <bp-sym.h> and <bp-asm.h>.
17079 (memcpy): Don't use BP_SYM.
17080 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17081 <bp-sym.h> and <bp-asm.h>.
17082 (memset): Don't use BP_SYM.
17083 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17084 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17085 (__bzero): Don't use BP_SYM.
17086 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17087 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17088 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17089 <bp-sym.h> and <bp-asm.h>.
17090 (strncmp): Don't use BP_SYM. Remove comment about bounded
17092 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17093 <bp-sym.h> and <bp-asm.h>.
17094 (memcpy): Don't use BP_SYM.
17095 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17096 <bp-sym.h> and <bp-asm.h>.
17097 (memset): Don't use BP_SYM.
17098 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17099 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17100 (__bzero): Don't use BP_SYM.
17101 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17102 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17103 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17104 <bp-sym.h> and <bp-asm.h>.
17105 (__memchr): Don't use BP_SYM.
17106 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17107 <bp-sym.h> and <bp-asm.h>.
17108 (memcmp): Don't use BP_SYM. Remove comment about bounded
17110 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17111 <bp-sym.h> and <bp-asm.h>.
17112 (memcpy): Don't use BP_SYM.
17113 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17114 <bp-sym.h> and <bp-asm.h>.
17115 (__mempcpy): Don't use BP_SYM.
17116 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17117 <bp-sym.h> and <bp-asm.h>.
17118 (__memrchr): Don't use BP_SYM.
17119 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17120 <bp-sym.h> and <bp-asm.h>.
17121 (memset): Don't use BP_SYM.
17122 (__bzero): Likewise.
17123 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17124 <bp-sym.h> and <bp-asm.h>.
17125 (__rawmemchr): Don't use BP_SYM.
17126 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17127 <bp-sym.h> and <bp-asm.h>.
17128 (__STRCMP): Don't use BP_SYM.
17129 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17130 <bp-sym.h> and <bp-asm.h>.
17131 (strchr): Don't use BP_SYM.
17132 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17133 <bp-sym.h> and <bp-asm.h>.
17134 (__strchrnul): Don't use BP_SYM.
17135 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17136 <bp-sym.h> and <bp-asm.h>.
17137 (strlen): Don't use BP_SYM.
17138 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17139 <bp-sym.h> and <bp-asm.h>.
17140 (strncmp): Don't use BP_SYM. Remove comment about bounded
17142 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17143 <bp-sym.h> and <bp-asm.h>.
17144 (__strnlen): Don't use BP_SYM.
17145 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17146 <bp-sym.h> and <bp-asm.h>.
17147 (__GI__setjmp): Don't use BP_SYM.
17148 (_setjmp): Likewise.
17149 (__sigsetjmp): Likewise.
17150 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17151 (L(start_addresses)): Don't use BP_SYM.
17152 (_start): Likewise.
17153 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17155 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17156 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17157 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17158 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17159 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17161 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17162 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17163 about bounded pointers.
17164 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17165 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17166 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17168 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17169 about bounded pointers. Remove GKM FIXME comments.
17170 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17171 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17173 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17174 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17175 Remove GKM FIXME comments.
17176 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17177 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17178 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17180 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17181 about bounded pointers. Remove GKM FIXME comment.
17182 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17184 (strncmp): Don't use BP_SYM. Remove comment about bounded
17186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17187 <bp-sym.h> and <bp-asm.h>.
17188 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17190 <bp-sym.h> and <bp-asm.h>.
17191 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17194 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17196 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17199 2013-03-05 David S. Miller <davem@davemloft.net>
17201 * po/es.po: Update from translation team.
17203 2013-03-05 Andreas Jaeger <aj@suse.de>
17205 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17206 <bits/mman-linux.h>.
17207 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17209 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17210 <bits/mman-linux.h> to end of file.
17211 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17213 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17214 <bits/mman-linux.h> to end of file.
17215 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17217 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17218 <bits/mman-linux.h> to end of file.
17220 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17221 (MCL_CURRENT, MCL_FUTURE): Define here.
17223 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17226 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17228 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17230 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17232 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17233 fourth parameter needed for rt_sigprocmask syscall.
17234 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17235 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17236 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17237 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17238 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17239 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17241 2013-03-04 Joseph Myers <joseph@codesourcery.com>
17244 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17245 comment about bounded pointers.
17246 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17247 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17249 2013-03-04 Andreas Jaeger <aj@suse.de>
17251 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17252 common definitions.
17254 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17255 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17256 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17257 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17258 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17259 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17261 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17264 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17265 __ieee754_sqrl instead of __sqrl.
17267 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17269 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17270 * sysdeps/powerpc/fpu_control.h: ... here.
17271 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17272 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17273 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17274 * sysdeps/powerpc/bits/mathinline.h: ... here.
17276 2013-03-01 Roland McGrath <roland@hack.frob.com>
17278 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17279 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17280 to just [NEED_DL_SYSINFO_DSO].
17281 * elf/dl-support.c: Likewise.
17282 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17283 * elf/rtld.c (dl_main): Likewise.
17284 * elf/setup-vdso.h (setup_vdso): Likewise.
17285 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17286 * sysdeps/unix/sysv/linux/dl-sysdep.c
17287 (_dl_discover_osversion): Likewise.
17289 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17291 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17292 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17294 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17296 * NEWS: Mention libm performance improvements and non-x86 PI
17299 * csu/libc-start.c (__pthread_initialize_minimal): Change
17300 function arguments.
17301 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17303 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17306 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17307 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17308 <bp-sym.h> and <bp-asm.h>.
17309 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17310 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17312 (memcpy): Don't use BP_SYM.
17313 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17315 (__mpn_add_n): Don't use BP_SYM.
17316 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17317 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17319 (__mpn_addmul_1): Don't use BP_SYM.
17320 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17321 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17323 (_setjmp): Don't use BP_SYM.
17324 (__novmx_setjmp): Likewise.
17325 (__GI__setjmp): Likewise.
17326 (__vmx_setjmp): Likewise.
17327 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17329 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17330 (__bzero): Don't use BP_SYM.
17331 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17332 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17333 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17334 <bp-sym.h> and <bp-asm.h>.
17335 (memcpy): Don't use BP_SYM.
17336 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17337 <bp-sym.h> and <bp-asm.h>.
17338 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17339 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17340 <bp-sym.h> and <bp-asm.h>.
17341 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17342 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17344 (__mpn_lshift): Don't use BP_SYM.
17345 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17346 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17348 (memset): Don't use BP_SYM.
17349 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17350 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17351 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17353 (__mpn_mul_1): Don't use BP_SYM.
17354 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17355 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17356 <bp-sym.h> and <bp-asm.h>.
17357 (memcmp): Don't use BP_SYM.
17358 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17359 <bp-sym.h> and <bp-asm.h>.
17360 (memcpy): Don't use BP_SYM.
17361 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17362 <bp-sym.h> and <bp-asm.h>.
17363 (memset): Don't use BP_SYM.
17364 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17365 <bp-sym.h> and <bp-asm.h>.
17366 (strncmp): Don't use BP_SYM.
17367 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17368 <bp-sym.h> and <bp-asm.h>.
17369 (memcpy): Don't use BP_SYM.
17370 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17371 <bp-sym.h> and <bp-asm.h>.
17372 (memset): Don't use BP_SYM.
17373 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17374 <bp-sym.h> and <bp-asm.h>.
17375 (__memchr): Don't use BP_SYM.
17376 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17377 <bp-sym.h> and <bp-asm.h>.
17378 (memcmp): Don't use BP_SYM.
17379 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17380 <bp-sym.h> and <bp-asm.h>.
17381 (memcpy): Don't use BP_SYM.
17382 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17383 <bp-sym.h> and <bp-asm.h>.
17384 (__mempcpy): Don't use BP_SYM.
17385 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17386 <bp-sym.h> and <bp-asm.h>.
17387 (__memrchr): Don't use BP_SYM.
17388 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17389 <bp-sym.h> and <bp-asm.h>.
17390 (memset): Don't use BP_SYM.
17391 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17392 <bp-sym.h> and <bp-asm.h>.
17393 (__rawmemchr): Don't use BP_SYM.
17394 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17395 <bp-sym.h> and <bp-asm.h>.
17396 (__STRCMP): Don't use BP_SYM.
17397 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17398 <bp-sym.h> and <bp-asm.h>.
17399 (strchr): Don't use BP_SYM.
17400 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17401 <bp-sym.h> and <bp-asm.h>.
17402 (__strchrnul): Don't use BP_SYM.
17403 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17404 <bp-sym.h> and <bp-asm.h>.
17405 (strlen): Don't use BP_SYM.
17406 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17407 <bp-sym.h> and <bp-asm.h>.
17408 (strncmp): Don't use BP_SYM.
17409 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17410 <bp-sym.h> and <bp-asm.h>.
17411 (__strnlen): Don't use BP_SYM.
17412 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17414 (__mpn_rshift): Don't use BP_SYM.
17415 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17416 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17417 <bp-sym.h> and <bp-asm.h>.
17418 (__sigsetjmp): Don't use BP_SYM.
17419 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17420 (L(start_addresses)): Don't use BP_SYM.
17421 (_start): Likewise.
17422 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17424 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17425 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17426 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17427 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17429 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17430 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17431 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17432 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17434 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17436 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17437 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17439 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17441 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17442 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17443 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17445 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17447 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17449 (strncmp): Don't use BP_SYM,
17450 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17452 (__mpn_sub_n): Don't use BP_SYM.
17453 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17454 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17456 (__mpn_submul_1): Don't use BP_SYM.
17457 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17459 <bp-sym.h> and <bp-asm.h>.
17460 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17462 <bp-sym.h> and <bp-asm.h>.
17463 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17466 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17469 Use ZK to minimize writes to Z.
17470 (sub_magnitudes): Simplify code a bit.
17471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17472 Use ZK to minimize writes to Z.
17473 (sub_magnitudes): Simplify code a bit.
17475 2013-02-27 Roland McGrath <roland@hack.frob.com>
17477 * csu/gmon-start.c: Add special exception to license text.
17479 2013-02-27 Richard Henderson <rth@redhat.com>
17481 * scripts/config.guess: Update from config.git.
17482 * scripts/config.sub: Likewise.
17484 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17486 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17488 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17490 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17492 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17494 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17496 2013-02-26 Roland McGrath <roland@hack.frob.com>
17498 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17499 [$(build-shared = yes].
17501 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17503 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17504 (__mul): Reduce iterations for calculating mantissa.
17506 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17508 (__mpranred): Likewise.
17511 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17512 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17514 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17516 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17517 Define __attribute__.
17519 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17521 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17523 * posix/regex_internal.h (__attribute): Remove.
17524 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17525 (re_string_context_at): Likewise.
17526 (bitset_not): Use __attribute__ and mark function as possibly
17528 (bitset_merge): Likewise.
17529 (bitset_mask): Likewise.
17530 (re_string_char_size_at): Likewise.
17531 (re_string_wchar_at): Likewise.
17532 (re_string_elem_size_at): Likewise.
17534 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17536 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17540 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17544 (denorm): Likewise.
17545 (__dbl_mp): Likewise.
17546 (add_magnitudes): Likewise.
17547 (sub_magnitudes): Likewise.
17551 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17554 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17557 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17561 up changes with default code.
17562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17565 2013-02-24 Allan McRae <allan@archlinux.org>
17567 * manual/socket.texi (The Internet Namespace): Order menu items
17568 to match that in the file.
17570 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17571 node listing of the info page menu.
17573 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17576 * sysdeps/i386/bp-asm.h: Remove file.
17577 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17578 (PARMS): Do not use macros from bp-asm.h.
17582 (__mpn_add_n): Do not use BP_SYM
17583 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17585 (PARMS): Do not use macros from bp-asm.h.
17588 (__mpn_addmul_1): Do not use BP_SYM
17589 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17591 (PARMS): Do not use macros from bp-asm.h.
17592 (SIGMSK): Likewise.
17593 (_setjmp): Likewise. Do not use BP_SYM.
17594 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17596 (PARMS): Do not use macros from bp-asm.h.
17597 (SIGMSK): Likewise.
17598 (setjmp): Likewise. Do not use BP_SYM.
17599 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17601 (PARMS): Do not use macros from bp-asm.h.
17602 (__frexp): Do not use BP_SYM.
17604 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17606 (PARMS): Do not use macros from bp-asm.h.
17607 (__frexpf): Do not use BP_SYM.
17608 (frexpf): Likewise.
17609 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17611 (PARMS): Do not use macros from bp-asm.h.
17612 (__frexpl): Do not use BP_SYM.
17613 (frexpl): Likewise.
17614 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17616 (PARMS): Do not use macros from bp-asm.h.
17617 (__remquo): Do not use BP_SYM.
17618 (remquo): Likewise.
17619 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17621 (PARMS): Do not use macros from bp-asm.h.
17622 (__remquof): Do not use BP_SYM.
17623 (remquof): Likewise.
17624 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17626 (PARMS): Do not use macros from bp-asm.h.
17627 (__remquol): Do not use BP_SYM.
17628 (remquol): Likewise.
17629 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17631 (PARMS): Do not use macros from bp-asm.h.
17634 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17635 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17637 (PARMS): Do not use macros from bp-asm.h.
17638 (strlen): Do not use BP_SYM.
17639 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17641 (PARMS): Do not use macros from bp-asm.h.
17645 (__mpn_add_n): Do not use BP_SYM.
17646 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17648 (PARMS): Do not use macros from bp-asm.h.
17651 (__mpn_addmul_1): Do not use BP_SYM.
17652 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17655 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17657 (PARMS): Do not use macros from bp-asm.h.
17660 (__mpn_lshift): Do not use BP_SYM.
17661 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17663 (PARMS): Do not use macros from bp-asm.h.
17667 (memcpy): Likewise. Do not use BP_SYM.
17668 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17669 libc_hidden_def and weak_alias.
17670 (mempcpy): Do not use BP_SYM in weak_alias.
17671 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17673 (PARMS): Do not use macros from bp-asm.h.
17676 [!BZERO_P] (CHR): Likewise.
17677 (memset): Likewise. Do not use BP_SYM.
17678 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17680 (PARMS): Do not use macros from bp-asm.h.
17683 (__mpn_mul_1): Do not use BP_SYM.
17684 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17686 (PARMS): Do not use macros from bp-asm.h.
17689 (__mpn_rshift): Do not use BP_SYM.
17690 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17692 (PARMS): Do not use macros from bp-asm.h.
17695 (strchr): Likewise. Do not use BP_SYM.
17696 (index): Do not use BP_SYM in weak_alias.
17697 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17699 (PARMS): Do not use macros from bp-asm.h.
17702 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17703 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17705 (PARMS): Do not use macros from bp-asm.h.
17706 (strlen): Do not use BP_SYM.
17707 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17709 (PARMS): Do not use macros from bp-asm.h.
17713 (__mpn_sub_n): Do not use BP_SYM.
17714 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17716 (PARMS): Do not use macros from bp-asm.h.
17719 (__mpn_submul_1): Do not use BP_SYM.
17720 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17722 (PARMS): Do not use macros from bp-asm.h.
17726 (__mpn_add_n): Do not use BP_SYM.
17727 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17730 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17732 (PARMS): Do not use macros from bp-asm.h.
17735 (memcmp): Do not use BP_SYM.
17736 (bcmp): Do not use BP_SYM in weak_alias.
17737 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17739 (PARMS): Do not use macros from bp-asm.h.
17743 (memcpy): Likewise. Do not use BP_SYM.
17744 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17746 (PARMS): Do not use macros from bp-asm.h.
17750 (memmove): Likewise. Do not use BP_SYM.
17751 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17753 (PARMS): Do not use macros from bp-asm.h.
17757 (__mempcpy): Likewise. Do not use BP_SYM.
17758 (mempcpy): Do not use BP_SYM in weak_alias.
17759 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17761 (PARMS): Do not use macros from bp-asm.h.
17764 [!BZERO_P] (CHR): Likewise.
17765 (memset): Likewise. Do not use BP_SYM.
17766 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17768 (PARMS): Do not use macros from bp-asm.h.
17770 (strcmp): Do not use BP_SYM.
17771 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17773 (PARMS): Do not use macros from bp-asm.h.
17776 [USE_AS_STRTOK_R] (SAVE): Likewise.
17777 (FUNCTION): Likewise. Do not use BP_SYM.
17778 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17780 (strtok_r): Likewise.
17781 (__GI___strtok_r): Likewise.
17782 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17783 (PARMS): Do not use macros from bp-asm.h.
17786 (__mpn_lshift): Do not use BP_SYM.
17787 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17788 (PARMS): Do not use macros from bp-asm.h.
17791 (__memchr): Do not use BP_SYM.
17792 (memchr): Do not use BP_SYM in weak_alias.
17793 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17794 (PARMS): Do not use macros from bp-asm.h.
17797 (memcmp): Do not use BP_SYM.
17798 (bcmp): Do not use BP_SYM in weak_alias.
17799 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17800 (PARMS): Do not use macros from bp-asm.h.
17803 (__mpn_mul_1): Do not use BP_SYM.
17804 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17806 (PARMS): Do not use macros from bp-asm.h.
17809 (__rawmemchr): Do not use BP_SYM.
17810 (rawmemchr): Do not use BP_SYM in weak_alias.
17811 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17812 (PARMS): Do not use macros from bp-asm.h.
17815 (__mpn_rshift): Do not use BP_SYM.
17816 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17817 (PARMS): Do not use macros from bp-asm.h.
17818 (SIGMSK): Likewise.
17819 (__sigsetjmp): Likewise. Do not use BP_SYM.
17820 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17821 (_start): Do not use BP_SYM.
17822 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17823 (PARMS): Do not use macros from bp-asm.h.
17826 (__stpcpy): Likewise. Do not use BP_SYM.
17827 (stpcpy): Do not use BP_SYM in weak_alias.
17828 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17830 (PARMS): Do not use macros from bp-asm.h.
17834 (__stpncpy): Likewise. Do not use BP_SYM.
17835 (stpncpy): Do not use BP_SYM in weak_alias.
17836 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17837 (PARMS): Do not use macros from bp-asm.h.
17840 (strchr): Likewise. Do not use BP_SYM.
17841 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17843 (PARMS): Do not use macros from bp-asm.h.
17846 (__strchrnul): Likewise. Do not use BP_SYM.
17847 (strchrnul): Do not use BP_SYM in weak_alias.
17848 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17850 (PARMS): Do not use macros from bp-asm.h.
17852 (strcspn): Do not use BP_SYM.
17853 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17855 (PARMS): Do not use macros from bp-asm.h.
17858 (strpbrk): Likewise. Do not use BP_SYM.
17859 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17861 (PARMS): Do not use macros from bp-asm.h.
17864 (strrchr): Likewise. Do not use BP_SYM.
17865 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17866 (PARMS): Do not use macros from bp-asm.h.
17868 (strspn): Do not use BP_SYM.
17869 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17870 (PARMS): Do not use macros from bp-asm.h.
17874 (FUNCTION): Likewise. Do not use BP_SYM.
17875 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17877 (strtok_r): Likewise.
17878 (__GI___strtok_r): Likewise.
17879 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17880 (PARMS): Do not use macros from bp-asm.h.
17884 (__mpn_sub_n): Do not use BP_SYM.
17885 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17887 (PARMS): Do not use macros from bp-asm.h.
17890 (__mpn_submul_1): Do not use BP_SYM.
17891 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17893 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17895 (PARMS): Do not use macros from bp-asm.h.
17900 (__clone): Do not use BP_SYM.
17901 (clone): Do not use BP_SYM in weak_alias.
17902 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17904 (PARMS): Do not use macros from bp-asm.h.
17906 (__mmap64): Do not use BP_SYM.
17907 (mmap64): Do not use BP_SYM in weak_alias.
17908 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17909 <bp-sym.h> and <bp-asm.h>.
17910 (PARMS): Do not use macros from bp-asm.h.
17911 (__posix_fadvise64_l64): Do not use BP_SYM.
17912 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17913 (PARMS): Do not use macros from bp-asm.h.
17915 (semtimedop): Do not use BP_SYM.
17916 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17919 2013-02-21 Allan McRae <allan@archlinux.org>
17921 * manual/message.texi (Charset conversion in gettext):
17922 Move @end statement to beginning of line.
17924 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17931 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17932 (denorm): Likewise.
17933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17936 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17938 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17939 tail-call to the resolved function if pltexit isn't needed.
17941 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17944 or Y being zero as being unlikely.
17945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17948 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17950 * manual/nss.texi (System Databases and Name Service Switch):
17951 Remove frobnicate @pxref.
17953 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17955 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17956 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17958 2013-02-20 Petr Machata <pmachata@redhat.com>
17960 * elf/elf.h (R_ARM_TARGET1): New macro.
17961 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17962 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17963 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17964 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17965 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17966 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17967 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17968 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17969 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17970 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17971 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17972 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17973 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17974 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17975 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17976 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17977 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17978 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17979 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17980 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17981 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17982 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17983 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17984 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17985 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17986 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17987 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17988 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17989 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17990 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17991 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17992 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17993 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17994 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17995 (R_ARM_THM_GOT_BREL12): Likewise.
17996 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17997 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17998 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17999 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18000 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18001 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18002 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18003 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18004 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18006 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18008 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18009 __attribute_used__ to __attribute__ ((unused)).
18011 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18013 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18016 comment formatting.
18017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18019 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18022 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18024 (ENTER): Remove both macro definitions.
18026 (CHECK_BOUNDS_LOW): Likewise.
18027 (CHECK_BOUNDS_HIGH): Likewise.
18028 (CHECK_BOUNDS_BOTH): Likewise.
18029 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18030 (RETURN_BOUNDED_POINTER): Likewise.
18031 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18032 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18033 (POP_ERRNO_LOCATION_RETURN): Likewise.
18034 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18035 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18036 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18038 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18039 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18040 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18041 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18042 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18043 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18044 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18045 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18046 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18047 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18048 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18049 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18050 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18051 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18053 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18054 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18056 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18057 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18058 * sysdeps/i386/i586/memset.S (memset): Likewise.
18059 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18060 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18061 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18063 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18064 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18065 Change uses of L(2) to L(out).
18066 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18067 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18068 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18069 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18070 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18072 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18073 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18075 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18076 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18077 (RETURN): Do not use macro LEAVE.
18078 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18079 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18080 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18081 * sysdeps/i386/i686/memset.S (memset): Likewise.
18082 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18083 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18084 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18085 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18087 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18088 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18089 L(1_2) and L(1_3) into L(1).
18090 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18091 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18092 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18093 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18094 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18095 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18096 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18097 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18098 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18100 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18101 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18102 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18103 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18104 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18105 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18106 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18107 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18108 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18109 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18110 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18111 * sysdeps/i386/strspn.S (strspn): Likewise.
18112 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18114 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18115 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18116 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18117 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18118 L(1_3) into L(1_1).
18119 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18120 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18121 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18123 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18125 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18127 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18130 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18132 * math/atest-exp.c (exp_mpn): Remove ROUND.
18133 * math/atest-exp2.c (exp_mpn): Likewise.
18134 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18136 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18137 * stdlib/tst-tls-atexit-lib.c: Likewise.
18138 * stdlib/tst-tls-atexit.c: Likewise.
18140 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18142 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18143 and __attribute_alloc_size__.
18145 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18147 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18148 __attribute_alloc_size__.
18149 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18150 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18152 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18154 * include/programs/xmalloc.h: New file.
18155 * catgets/gencat.c: Include it.
18156 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18157 * elf/pldd.c: Likewise.
18158 * iconv/iconv_charmap.c: Likewise.
18159 * iconv/iconvconfig.c: Likewise.
18160 * iconv/strtab.c: Likewise.
18161 * locale/programs/locale.c: Likewise.
18162 * locale/programs/localedef.h: Likewise.
18163 * locale/programs/simple-hash.c: Likewise.
18164 * nscd/nscd.h: Likewise.
18165 * nss/makedb.c: Likewise.
18166 * sysdeps/generic/ldconfig.h: Likewise.
18168 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18170 * Versions.def: Add GLIBC_2.18.
18171 * include/link.h (struct link_map): New member l_tls_dtor_count.
18172 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18173 (__call_tls_dtors): Likewise.
18174 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18175 __cxa_thread_atexit_impl.
18176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18184 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18192 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18193 (tests): Add test case tst-tls-atexit.
18194 (modules-names): Add shared library for tst-tls-atexit.
18195 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18196 (GLIBC_PRIVATE): Add __call_tls_dtors.
18197 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18199 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18200 * stdlib/tst-tls-atexit.c: New test case.
18201 * stdlib/tst-tls-atexit-lib.c: New test case.
18203 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18205 * elf/Versions (ld): Add _dl_find_dso_for_object.
18206 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18207 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18208 (dl_open_worker): Use _dl_find_dso_for_object.
18209 * elf/dl-sym.c (do_sym): Likewise.
18210 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18212 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18214 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18215 Syntactic changes only.
18216 (_dl_runtime_profile): Do a tail-call to the resolved function.
18218 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18221 * sysdeps/x86_64/bp-asm.h: Remove file.
18222 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18223 <bp-sym.h> and <bp-asm.h>.
18224 (__clone): Do not use BP_SYM.
18225 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18226 <bp-sym.h> and <bp-asm.h>.
18227 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18228 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18230 (_setjmp): Do not use BP_SYM.
18231 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18233 (setjmp): Do not use BP_SYM.
18234 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18236 (mempcpy): Do not use BP_SYM in weak_alias.
18237 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18239 (strchr): Do not use BP_SYM.
18240 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18242 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18243 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18244 (_start): Do not use BP_SYM.
18245 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18247 (strcat): Do not use BP_SYM.
18248 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18250 (STRCMP): Do not use BP_SYM.
18251 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18253 (STRCPY): Do not use BP_SYM.
18254 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18256 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18258 (FUNCTION): Do not use BP_SYM.
18259 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18261 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18263 2013-02-17 Andreas Jaeger <aj@suse.de>
18265 * time/Versions: Sort entries.
18266 * string/Versions: Likewise.
18267 * resolv/Versions: Likewise.
18268 * posix/Versions: Likewise.
18269 * iconv/Versions: Likewise.
18270 * elf/Versions: Likewise.
18271 * wcsmbs/Versions: Likewise.
18273 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18275 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18276 loop termination condition.
18278 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18279 variable to calculate EZ.
18282 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18283 the lower precision input.
18285 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18288 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18289 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18290 (run-via-rtld-prefix): Do not handle %-bp tests.
18291 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18292 (all-object-suffixes): Remove .ob.
18293 (bppfx): Remove variable.
18294 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18295 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18296 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18297 [$(build-bounded) = yes] (libtype.ob): Likewise.
18298 * Makerules (elide-routines.ob): Remove variable.
18299 (do-tests-clean): Do not handle *-bp.out.
18300 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18301 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18302 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18303 (tests): Do not include $(tests-bp.out).
18304 (xtests): Do not include $(xtests-bp.out).
18305 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18306 [$(build-bounded) = yes] ($(addprefix
18307 $(objpfx),$(binaries-bounded))): Remove rule.
18308 ($(objpfx)%-bp.out): Remove rule.
18309 * config.make.in (build-bounded): Remove variable.
18310 * crypt/Makefile [$(build-bounded) = yes]
18311 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18312 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18313 append to variable.
18314 [$(build-bounded) = yes] (install-lib): Likewise.
18315 [$(build-bounded) = yes] (generated): Likewise.
18316 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18318 * intl/Makefile [$(build-bounded) = yes]
18319 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18320 * math/Makefile [$(build-bounded) = yes]
18321 ($(tests:%=$(objpfx)%-bp): Likewise.
18322 * misc/Makefile [$(build-bounded) = yes]
18323 ($(objpfx)tst-tsearch-bp): Likewise.
18324 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18325 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18327 * string/Makefile (o-objects.ob): Remove variable.
18328 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18329 (CFLAGS-.ob): Remove variable.
18330 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18331 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18332 both definitions of variable.
18333 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18334 (ASFLAGS-.ob): Remove variable.
18336 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18339 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18340 Remove __BOUNDED_POINTERS__ from condition.
18341 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18342 * string/bits/string2.h [!__NO_STRING_INLINES &&
18343 !__BOUNDED_POINTERS__]: Likewise.
18344 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18346 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18347 Remove conditional code.
18348 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18349 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18350 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18354 * csu/libc-start.c: Do not include <bp-sym.h>.
18355 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18356 * elf/dl-open.c: Do not include <bp-sym.h>.
18357 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18358 * math/fegetenv.c: Do not include <bp-sym.h>.
18359 (fegetenv): Do not use BP_SYM in versioned symbols.
18360 * nptl/sysdeps/pthread/bits/libc-lockP.h
18361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18364 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18366 (__pthread_mutex_destroy): Likewise.
18367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18368 (__pthread_mutex_lock): Likewise.
18369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18370 (__pthread_mutex_trylock): Likewise.
18371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18372 (__pthread_mutex_unlock): Likewise.
18373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18374 (__pthread_mutexattr_init): Likewise.
18375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18376 (__pthread_mutexattr_destroy): Likewise.
18377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18378 (__pthread_mutexattr_settype): Likewise.
18379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18380 (__pthread_rwlock_init): Likewise.
18381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18382 (__pthread_rwlock_destroy): Likewise.
18383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18384 (__pthread_rwlock_rdlock): Likewise.
18385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18386 (__pthread_rwlock_tryrdlock): Likewise.
18387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18388 (__pthread_rwlock_wrlock): Likewise.
18389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18390 (__pthread_rwlock_trywrlock): Likewise.
18391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18392 (__pthread_rwlock_unlock): Likewise.
18393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18394 (__pthread_key_create): Likewise.
18395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18396 (__pthread_setspecific): Likewise.
18397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18398 (__pthread_getspecific): Likewise.
18399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18402 (_pthread_cleanup_push_defer): Likewise.
18403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18404 (_pthread_cleanup_pop_restore): Likewise.
18405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18406 (pthread_setcancelstate): Likewise.
18407 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18409 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18410 (memchr): Do not use BP_SYM in weak_alias.
18411 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18412 (fegetenv): Do not use BP_SYM in versioned symbols.
18413 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18414 (fesetenv): Do not use BP_SYM in versioned symbols.
18415 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18416 (feupdateenv): Do not use BP_SYM in versioned symbols.
18417 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18418 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18419 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18420 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18421 (open64): Do not use BP_SYM in weak_alias.
18422 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18423 (fegetenv): Do not use BP_SYM in versioned symbols.
18424 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18425 (fesetenv): Do not use BP_SYM in versioned symbols.
18426 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18427 (feupdateenv): Do not use BP_SYM in versioned symbols.
18428 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18429 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18430 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18431 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18432 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18433 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18434 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18436 (__libc_start_main): Do not use BP_SYM.
18438 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18441 redundant return line.
18443 (denorm): Likewise.
18444 (dbl_mp): Likewise.
18445 (sub_magnitudes): Likewise.
18451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18453 (denorm): Likewise.
18454 (dbl_mp): Likewise.
18455 (sub_magnitudes): Likewise.
18462 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18464 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18465 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18468 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18469 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18471 of __mul for squares.
18472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18476 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18477 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18479 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18482 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18484 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18485 prototype or function definition. Rename ubp_* variables and
18486 parameters. Remove argv definitions conditional on
18487 [__BOUNDED_POINTERS__].
18488 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18489 * elf/dl-runtime.c (_dl_fixup): Likewise.
18490 * include/set-hooks.h (RUN_HOOK): Likewise.
18491 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18493 * string/strcpy.c (strcpy): Do not use __unbounded.
18494 * sysdeps/generic/frame.h (struct layout): Likewise.
18495 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18496 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18497 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18498 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18499 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18500 (__backtrace): Likewise.
18501 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18503 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18504 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18505 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18507 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18508 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18509 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18510 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18511 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18512 Do not use __unbounded.
18513 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18514 Rename __unboundedrlimits parameter to rlimits in prototype.
18515 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18516 Do not use __unbounded.
18517 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18518 not use __ptrvalue.
18519 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18520 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18521 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18522 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18523 __ptrvalue or __unbounded.
18524 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18525 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18527 (__new_msgctl): Do not use __ptrvalue.
18528 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18530 (__libc_msgrcv): Do not use __ptrvalue.
18531 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18532 startup_info): Do not use __unbounded.
18533 (__libc_start_main): Likewise. Rename ubp_* variables and
18534 parameters. Remove argv definitions conditional on
18535 [__BOUNDED_POINTERS__].
18536 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18538 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18540 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18542 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18544 (__new_shmctl): Do not use __ptrvalue.
18545 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18546 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18548 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18549 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18550 (__libc_sigaction): Likewise.
18551 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18552 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18554 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18556 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18558 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18560 * string/mempcpy.c: Implement by calling memcpy.
18562 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18564 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18566 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18569 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18570 values in the mantissa.
18572 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18573 minimize writes to Z.
18574 (sub_magnitudes): Simplify code a bit.
18576 2013-02-12 Roland McGrath <roland@hack.frob.com>
18578 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18579 from the message. The linker prefixes all warnings with that already.
18581 2013-02-12 Andreas Schwab <schwab@suse.de>
18584 * posix/regexec.c (extend_buffers): Add parameter min_len.
18585 (check_matching): Pass minimum needed length.
18586 (clean_state_log_if_needed): Likewise.
18587 (get_subexp): Likewise.
18588 * posix/Makefile (tests): Add bug-regex34.
18589 (bug-regex34-ENV): Define.
18590 * posix/bug-regex34.c: New file.
18593 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18594 elements compare against the byte sequence of it, not its name.
18595 * posix/Makefile (tests): Add bug-regex35.
18596 (bug-regex35-ENV): Define.
18597 * posix/bug-regex35.c: New file.
18599 2013-02-11 Tom de Vries <tom@codesourcery.com>
18601 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18603 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18604 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18605 (CHECK_EOL): Add undef.
18607 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18609 * bits/stdlib-bsearch.h: New file.
18610 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18611 * stdlib/stdlib.h: Likewise.
18613 2013-02-11 Roland McGrath <roland@hack.frob.com>
18615 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18616 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18618 * manual/search.texi (Array Search Function): Add missing const in
18620 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18621 declaration to use rlim_t.
18622 (Basic Scheduling Functions): Remove erroneous const from
18623 sched_getparam prototype. Remove erroneous * from
18624 sched_get_priority_max and sched_get_priority_min prototypes.
18625 (Resource Usage): Fix summary @comment on vtimes to refer to
18626 sys/vtimes.h rather than vtimes.h.
18627 Add missing *s in vtimes prototype.
18628 (Limits on Resources): Fix ulimit prototype to return long int.
18629 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18630 prototypes to use long int rather than double.
18631 (BSD Random): Fix initstate and setstate to use char *, not void *.
18632 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18633 prototype to make second argument 'struct aiocb64 *const[]'.
18634 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18635 (Status of AIO Operations): Remove erroneous const in aio_return and
18636 aio_return64 prototypes.
18637 (Synchronizing I/O): Fix sync prototype to return void.
18638 * manual/startup.texi (Suboptions): Remove an erroneous const in
18639 getsubopt prototype.
18640 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18641 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18642 use size_t rather than int.
18643 (Scanning All Users): Likewise for getpwent_r.
18644 (Setting Groups): Add missing const to setgroups prototype.
18645 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18646 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18647 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18648 'const void *' rather than 'const char *'.
18649 (Host Address Functions): Likewise for inet_ntop.
18650 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18651 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18652 ssize_t for return value.
18653 (Sending Data): Likewise for send, sendto, sendmsg.
18654 (Socket Option Functions): Add a missing const in setsockopt prototype.
18655 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18656 use wchar_t for the argument.
18657 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18658 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18660 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18661 double/float/long double for second argument.
18662 Fix return types of significand, significandf, significandl.
18663 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18664 argument in fchmod prototype.
18665 (File Owner): Use uid_t and gid_t in fchown prototype.
18666 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18667 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18668 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18669 use 'const struct dirent **' as argument types to CMP function pointer
18671 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18672 (File Times): Fix summary magic @comment for struct utimbuf and utime
18673 to refer to utime.h, not time.h.
18674 * manual/string.texi (Argz Functions): Add missing const in
18675 argz_extract and argz_next prototypes.
18676 (Finding Tokens in a String): Likewise for basename.
18677 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18678 (Copying and Concatenation): Fix typo in wmemmove prototype.
18679 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18680 (Signal Stack): Remove erroneous const in sigstack prototype.
18681 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18683 (Simple Calendar Time): Likewise for stime.
18684 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18686 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18687 say sys/sysctl.h instead.
18688 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18689 and vsyslog prototypes.
18691 2013-02-11 Tom de Vries <tom@codesourcery.com>
18693 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18696 2013-02-11 Roland McGrath <roland@hack.frob.com>
18698 * misc/sys/mman.h: Fix typo in mremap comment.
18700 2013-02-08 Roland McGrath <roland@hack.frob.com>
18702 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18703 the '\0' terminator.
18705 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18708 * debug/segfault.c: Don't include <bp-checks.h>.
18709 * sysdeps/generic/bp-checks.h: Remove file.
18710 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18711 (__GETDENTS): Don't use CHECK_N.
18712 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18713 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18714 (__getgroups): Don't use CHECK_N.
18715 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18716 (setgroups): Don't use CHECK_N.
18717 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18718 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18719 (__libc_msgrcv): Don't use CHECK_N.
18720 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18721 (__libc_msgsnd): Don't use CHECK_N.
18722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18724 (__libc_pread): Don't use CHECK_N.
18725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18726 include <bp-checks.h>.
18727 (__libc_pread64): Don't use CHECK_N.
18728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18729 include <bp-checks.h>.
18730 (__libc_pwrite): Don't use CHECK_N.
18731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18732 include <bp-checks.h>.
18733 (__libc_pwrite64): Don't use CHECK_N.
18734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18736 (__libc_pread): Don't use CHECK_N.
18737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18738 include <bp-checks.h>.
18739 (__libc_pread64): Don't use CHECK_N.
18740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18741 include <bp-checks.h>.
18742 (__libc_pwrite): Don't use CHECK_N.
18743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18744 include <bp-checks.h>.
18745 (__libc_pwrite64): Don't use CHECK_N.
18746 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18747 (do_pread): Don't use CHECK_N.
18748 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18749 (do_pread64): Don't use CHECK_N.
18750 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18751 (do_pwrite): Don't use CHECK_N.
18752 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18753 (do_pwrite64): Don't use CHECK_N.
18754 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18755 (__libc_readv): Don't use CHECK_N.
18756 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18757 (semop): Don't use CHECK_N.
18758 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18760 (semtimedop): Don't use CHECK_N.
18761 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18762 (__libc_pread): Don't use CHECK_N.
18763 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18765 (__libc_pread64): Don't use CHECK_N.
18766 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18768 (__libc_pwrite): Don't use CHECK_N.
18769 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18771 (__libc_pwrite64): Don't use CHECK_N.
18772 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18774 (__libc_msgrcv): Don't use CHECK_N.
18775 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18776 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18777 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18778 (__libc_writev): Don't use CHECK_N.
18780 2013-02-08 Roland McGrath <roland@hack.frob.com>
18782 * string/strcpy.c: Removed unused variable.
18784 * Makeconfig (+sysdep-includes): Define with := rather than =.
18785 Use an existing include/ subdir of each sysdeps dir before it.
18787 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18789 * nscd/connection.c (register_traced_file): Comment function.
18790 [HAVE_INOTIFY] (union __inev): Define.
18791 [HAVE_INOTIFY] (inotify_check_files): New function.
18792 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18793 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18795 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18797 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18799 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18800 loaded if not already and that a failure is permanent.
18802 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18805 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18806 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18808 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18811 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18812 (CHECK_1_NULL_OK): Likewise.
18813 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18814 (__fxstat): Do not use CHECK_1.
18815 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18817 (___fxstat64): Do not use CHECK_1.
18818 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18820 (__fxstatat): Do not use CHECK_1.
18821 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18823 (__fxstatat64): Do not use CHECK_1.
18824 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18826 (__fxstat): Do not use CHECK_1.
18827 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18829 (__fxstatat): Do not use CHECK_1.
18830 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18832 (__getresgid): Do not use CHECK_1.
18833 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18835 (__getresuid): Do not use CHECK_1.
18836 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18838 (__lxstat): Do not use CHECK_1.
18839 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18841 (__old_msgctl): Do not use CHECK_1.
18842 (__new_msgctl): Likewise.
18843 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18845 (__new_setrlimit): Do not use CHECK_1.
18846 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18848 (__old_shmctl): Do not use CHECK_1.
18849 (__new_shmctl): Likewise.
18850 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18852 (__xstat): Do not use CHECK_1.
18853 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18854 (__lxstat): Do not use CHECK_1.
18855 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18857 (___lxstat64): Do not use CHECK_1.
18858 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18859 (__old_msgctl): Do not use CHECK_1.
18860 (__new_msgctl): Likewise.
18861 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18863 (__gettimeofday): Do not use CHECK_1.
18864 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18865 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18866 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18868 (__gettimeofday): Do not use CHECK_1.
18869 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18870 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18871 (__new_shmctl): Do not use CHECK_1.
18872 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18874 (do_sigtimedwait): Do not use CHECK_1.
18875 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18877 (do_sigwaitinfo): Do not use CHECK_1.
18878 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18880 (msgctl): Do not use CHECK_1.
18881 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18883 (shmctl): Do not use CHECK_1.
18884 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18885 (ustat): Do not use CHECK_1.
18886 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18888 (__fxstat): Do not use CHECK_1.
18889 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18891 (__fxstatat): Do not use CHECK_1.
18892 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18894 (__lxstat): Do not use CHECK_1.
18895 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18897 (__xstat): Do not use CHECK_1.
18898 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18899 (__xstat): Do not use CHECK_1.
18900 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18901 (___xstat64): Do not use CHECK_1.
18904 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18906 (CHECK_BOUNDS_HIGH): Likewise.
18907 * string/strcpy.c: Do not include <bp-checks.h>.
18908 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18910 2013-02-07 Roland McGrath <roland@hack.frob.com>
18912 * nscd/nscd-client.h (__nscd_drop_map_ref):
18913 Add __attribute__ ((unused)).
18914 * nis/nss-nisplus.h (niserr2nss): Likewise.
18916 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18917 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18919 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18920 Remove inline keyword.
18921 * include/rounding-mode.h (round_away): Likewise.
18922 * libio/wfileops.c (adjust_wide_data): Likewise.
18923 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18924 (__m128i_strloadu_tolower): Likewise.
18925 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18926 (__m128i_strloadu_tolower): Likewise.
18927 * time/mktime.c (ydhms_diff): Likewise.
18928 * locale/elem-hash.h (elem_hash): Likewise.
18929 * locale/setlocale.c (setdata): Likewise.
18930 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18931 (re_string_wchar_at): Likewise.
18932 (bitset_not, bitset_merge, bitset_mask): Likewise.
18933 [!(__GNUC__ > 3)] (inline): Remove macro.
18934 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18935 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18936 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18937 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18938 * string/memcmp.c (memcmp_bytes): Likewise.
18939 * locale/programs/locarchive.c (compute_hashval): Likewise.
18940 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18941 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18942 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18943 * nss/getent.c (print_rpc, print_protocols): Likewise.
18944 (print_passwd, print_group, print_aliases): Likewise.
18945 * nis/nss-nisplus.h (niserr2nss): Likewise.
18946 * nscd/connections.c (restart_p): Likewise.
18947 Change return type to bool.
18949 2013-02-05 Roland McGrath <roland@hack.frob.com>
18951 * Makeconfig (all-Depend-files): Add existing
18952 $(sorted-subdirs:=/Depend) files.
18953 (all-subdirs): Remove nss.
18954 * sysdeps/unix/inet/Subdirs: Add it here instead.
18955 * hesiod/Depend: New file.
18957 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18958 instead of calling alloca.
18960 * io/lseek.c (__lseek): Rename to __libc_lseek.
18961 Define __lseek as an alias.
18963 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18965 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18967 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18968 else clause and remove check for non-standard endianness.
18970 2013-02-04 David S. Miller <davem@davemloft.net>
18972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18974 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18977 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18978 (__ubp_memchr): Remove prototype.
18979 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18980 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18981 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18982 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18983 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18985 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18986 (__ubp_memchr): Likewise.
18987 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18988 (__ubp_memchr): Likewise.
18989 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18990 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18991 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18992 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18994 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18995 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18996 (__getcwd): Do not use CHECK_STRING.
18997 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18999 (__real_chown): Do not use CHECK_STRING.
19000 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19002 (fchownat): Do not use CHECK_STRING.
19003 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19005 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19007 (__lchown): Do not use CHECK_STRING.
19008 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19009 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19010 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19011 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19013 include <bp-checks.h>.
19014 (truncate64): Do not use CHECK_STRING.
19015 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19017 (__real_chown): Do not use CHECK_STRING.
19018 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19020 (__lchown): Do not use CHECK_STRING.
19021 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19023 (__chown): Do not use CHECK_STRING.
19024 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19026 (truncate64): Do not use CHECK_STRING.
19027 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19029 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19030 (__xmknod): Do not use CHECK_STRING.
19031 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19033 (__xmknodat): Do not use CHECK_STRING.
19034 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19035 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19037 2013-02-04 Andreas Schwab <schwab@suse.de>
19040 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19041 * include/netdb.h: Likewise for h_errno.
19042 * elf/tst-stackguard1.c: Include <tls.h>.
19044 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19046 * elf/link.h (struct link_map): Extend the l_addr comment.
19047 * include/link.h (struct link_map): Likewise.
19049 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19052 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19053 (BOUNDED_1): Remove macro.
19054 * debug/backtrace.c: Don't include <bp-checks.h>.
19055 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19056 (__backtrace): Likewise.
19057 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19059 (__backtrace): Don't use BOUNDED_1.
19060 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19062 (__backtrace): Don't use BOUNDED_1.
19063 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19064 (__backtrace): Don't use BOUNDED_1.
19065 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19066 (shmat): Don't use BOUNDED_N.
19068 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19071 * sysdeps/generic/bp-start.h: Remove file.
19072 * csu/libc-start.c: Don't include <bp-start.h>.
19073 (LIBC_START_MAIN): Set up __environ directly instead of using
19074 INIT_ARGV_and_ENVIRON.
19075 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19079 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19081 (CHECK_FCNTL): Likewise.
19082 (CHECK_N_PAGES): Likewise.
19085 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19087 (CHECK_SIGSET_NULL_OK): Likewise.
19088 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19090 (sigpending): Don't use CHECK_SIGSET.
19091 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19093 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19094 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19096 (do_sigsuspend): Don't use CHECK_SIGSET.
19097 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19099 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19100 (do_sigwait): Don't use CHECK_SIGSET.
19101 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19103 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19104 include <bp-checks.h>.
19105 (sigpending): Don't use CHECK_SIGSET.
19106 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19107 include <bp-checks.h>.
19108 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19109 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19111 (sigpending): Don't use CHECK_SIGSET.
19112 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19114 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19117 * sysdeps/generic/bp-semctl.h: Remove file.
19118 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19119 <bp-checks.h> and <bp-semctl.h>.
19120 (__old_semctl): Don't use CHECK_SEMCTL.
19121 (__new_semctl): Likewise.
19122 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19124 (__old_semctl): Don't use CHECK_SEMCTL.
19125 (__new_semctl): Likewise.
19126 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19127 <bp-checks.h> and <bp-semctl.h>.
19128 (__old_semctl): Don't use CHECK_SEMCTL.
19129 (__new_semctl): Likewise.
19130 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19131 <bp-checks.h> and <bp-semctl.h>.
19132 (semctl): Don't use CHECK_SEMCTL.
19135 * Makerules (elide-bp-thunks): Remove variable.
19136 (elide-routines.oS): Don't use $(elide-bp-thunks).
19137 (elide-routines.os): Likewise.
19138 (elide-routines.o): Likewise.
19139 (elide-routines.op): Likewise.
19140 (elide-routines.og): Likewise.
19141 (objects): Don't use $(bp-thunks).
19142 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19144 (common-generated): Do not add s-proto-bp.d.
19145 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19148 Do not generate makefile rules for bounded-pointer thunks.
19149 * sysdeps/generic/bp-thunks.h: Remove file.
19150 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19151 * sysdeps/unix/s-proto-bp.S: Likewise.
19154 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19155 parts of result separately when argument is not close to line from
19156 -i to i and one part of argument is small.
19157 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19158 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19159 * math/libm-test.inc (cacos_test): Add more tests.
19160 (casin_test): Likewise.
19161 (casinh_test): Likewise.
19162 * sysdeps/i386/fpu/libm-test-ulps: Update.
19163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19165 2013-01-31 David S. Miller <davem@davemloft.net>
19167 * po/de.po: Update from translation team.
19169 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19171 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19173 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19175 * configure.in (_AC_PROG_CC_C89): New definition.
19176 * configure: Regenerate.
19178 * configure.in (AC_PROG_CPP): New definition.
19179 * configure: Regenerate.
19181 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19183 * debug/tst-backtrace.h: New file.
19184 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19185 (ret): Remove variable.
19187 (FAIL): Remove macro.
19188 (NO_INLINE): Likewise.
19189 (fn1): Use match function instead of strstr.
19190 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19191 (ret): Remove variable.
19193 (FAIL): Remove macro.
19194 (NO_INLINE): Likewise.
19195 (fn): Use match function instead of strstr.
19196 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19197 (ret): Remove variable.
19199 (FAIL): Remove macro.
19200 (NO_INLINE): Likewise.
19201 (handle_signal): Use match function instead of strstr.
19202 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19203 (ret): Remove variable.
19205 (FAIL): Remove macro.
19206 (NO_INLINE): Likewise.
19207 (handle_signal): Use match function instead of strstr.
19209 2013-01-23 Roland McGrath <roland@hack.frob.com>
19211 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19213 2013-01-23 David S. Miller <davem@davemloft.net>
19215 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19216 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19217 argument of CAS if possible.
19218 * sysdeps/sparc/sparc64/bits/atomic.h
19219 (__arch_compare_and_exchange_val_32_acq): Likewise.
19220 (__arch_compare_and_exchange_val_64_acq): Likewise.
19222 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19224 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19225 * sysdeps/posix/ulimit.c: ... this.
19226 Include <limits.h>.
19227 * sysdeps/unix/bsd/ulimit.c: Remove file.
19229 2013-01-23 Adam Conrad <adconrad@0c3.net>
19231 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19232 (LDFLAGS-tst-array5): Likewise.
19234 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19237 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19238 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19239 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19240 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19242 2013-01-21 David S. Miller <davem@davemloft.net>
19244 * sysdeps/sparc/backtrace.c: New file.
19245 * sysdeps/sparc/sparc32/backtrace.h: New file.
19246 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19247 * sysdeps/sparc/sparc64/backtrace.h: New file.
19248 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19249 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19252 2013-01-21 Andreas Schwab <schwab@suse.de>
19255 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19258 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19264 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19265 Mark Mitchell <mark@codesourcery.com>
19266 Tom de Vries <tom@codesourcery.com>
19267 Paul Pluzhnikov <ppluzhnikov@google.com>
19269 * debug/tst-backtrace2.c: New file.
19270 * debug/tst-backtrace3.c: Likewise.
19271 * debug/tst-backtrace4.c: Likewise.
19272 * debug/tst-backtrace5.c: Likewise.
19273 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19274 (CFLAGS-tst-backtrace3.c): Likewise.
19275 (CFLAGS-tst-backtrace4.c): Likewise.
19276 (CFLAGS-tst-backtrace5.c): Likewise.
19277 (LDFLAGS-tst-backtrace2): Likewise.
19278 (LDFLAGS-tst-backtrace3): Likewise.
19279 (LDFLAGS-tst-backtrace4): Likewise.
19280 (LDFLAGS-tst-backtrace5): Likewise.
19281 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19282 tst-backtrace4 and tst-backtrace5.
19284 2013-01-18 Anton Blanchard <anton@samba.org>
19285 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19287 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19288 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19289 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19290 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19292 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19293 "+r" and remove output regs list as redundant. Add explicit inline
19294 asm to specify register of return val to work around compiler codegen
19295 bug. Remove (int) cast on return value. Add return type parameter to
19296 use in macro so that this macro does not truncate return value for
19298 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19299 pass to INTERNAL_VSYSCALL_NCS.
19300 (INLINE_VSYSCALL): Add 'long int' as return type to
19301 INTERNAL_VSYSCALL_NCS macro invocation.
19302 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19303 INTERNAL_VSYSCALL_NCS macro invocation.
19304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19306 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19309 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19310 Fix application of SIMD FP exception mask.
19312 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19313 mp_no from a power of two.
19314 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19315 __mpexp_twomm1. Use __pow_mp.
19317 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19320 2013-01-17 David S. Miller <davem@davemloft.net>
19322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19324 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19327 * include/complex.h: Condition contents on [!_COMPLEX_H].
19328 (__kernel_casinhf): New prototype.
19329 (__kernel_casinh): Likewise.
19330 (__kernel_casinhl): Likewise.
19331 * math/Makefile (libm_calls): Add k_casinh.
19332 * math/k_casinh.c: New file.
19333 * math/k_casinhf.c: Likewise.
19334 * math/k_casinhl.c: Likewise.
19335 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19336 finite nonzero arguments.
19337 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19338 finite nonzero arguments.
19339 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19340 finite nonzero arguments.
19341 * math/s_casinh.c: Do not include <float.h>.
19342 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19343 * math/s_casinhf.c: Do not include <float.h>.
19344 (__casinhf): Move code for finite nonzero arguments to
19346 * math/s_casinhl.c: Do not include <float.h>.
19347 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19349 (__casinhl): Move code for finite nonzero arguments to
19351 * math/libm-test.inc (cacos_test): Add more tests.
19352 * sysdeps/i386/fpu/libm-test-ulps: Update.
19353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19355 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19357 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19358 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19359 [!HAVE_MREMAP]: Remove [defined linux] case.
19360 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19362 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19364 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19366 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19368 * elf/elf.h (R_386_SIZE32): New relocation.
19369 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19371 (elf_machine_rela): Likewise.
19372 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19373 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19375 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19377 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19378 (FP_FAST_FMA): Do not define.
19379 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19380 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19381 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19382 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19383 !_SOFT_FLOAT]: Likewise.
19384 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19385 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19387 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19388 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19389 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19390 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19391 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19392 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19395 2013-01-16 Andreas Schwab <schwab@suse.de>
19398 * include/stdlib.h (__mktemp): Add declaration.
19399 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19400 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19402 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19404 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19406 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19407 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19408 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19410 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19411 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19413 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19415 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19416 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19417 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19419 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19420 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19422 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19424 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19426 2013-01-15 David S. Miller <davem@davemloft.net>
19428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19429 trunc{,f} to libm-sysdep_routes.
19430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19440 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19441 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19442 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19443 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19444 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19445 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19448 nearbyint{,f} to libm-sysdep_routes.
19449 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19460 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19462 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19463 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19465 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19466 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19467 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19469 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19470 libc_feholdexcept and libc_fesetenv.
19472 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19474 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19476 2013-01-14 David S. Miller <davem@davemloft.net>
19478 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19479 (SPARC_ASM_VIS2_IFUNC): Likewise.
19480 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19482 use of 'siam' instruction.
19483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19513 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19514 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19516 routines to libm-sysdep_routines.
19517 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19520 fdim/fdimf to libm-sysdep_routines.
19521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19529 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19530 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19531 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19532 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19534 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19536 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19537 to optimize copies.
19539 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19544 local variable MPTWO.
19545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19548 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19550 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19553 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19555 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19557 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19559 * manual/pattern.texi (glob_t): Document gl_flags.
19560 (glob64_t): Likewise.
19562 2013-01-11 David S. Miller <davem@davemloft.net>
19564 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19565 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19566 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19567 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19568 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19569 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19570 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19571 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19572 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19573 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19574 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19575 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19576 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19578 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19579 sparc V9 rather than using V8 code.
19580 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19581 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19583 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19585 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19588 2013-01-11 Roland McGrath <roland@hack.frob.com>
19590 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19591 not in the main loop.
19592 * configure: Regenerated.
19594 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19596 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19597 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19599 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19600 [!__GLIBC_HAVE_LONG_LONG] case.
19601 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19602 condition to just #else.
19603 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19604 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19605 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19606 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19608 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19609 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19610 #elif condition to just #else.
19611 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19612 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19613 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19614 #elif condition to just #else.
19616 2013-01-11 Steve Ellcey <sellcey@mips.com>
19618 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19619 (EF_MIPS_ARCH_64): Fix value.
19620 (EF_MIPS_ARCH_32R2): New.
19621 (EF_MIPS_ARCH_64R2): New.
19623 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19625 * Makeconfig (+link-pie-before-libc): New.
19626 (+link-pie-after-libc): Likewise.
19627 (+link-pie-tests): Likewise.
19628 (+link-pie): Rewritten.
19629 (link-before-libc): Remove $(config-LDFLAGS).
19630 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19631 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19632 (config-LDFLAGS): Renamed to ...
19633 (rtld-LDFLAGS): This.
19634 (rtld-tests-LDFLAGS): New macro.
19635 (link-libc-rpath-link): Likewise.
19636 (link-libc-tests-rpath-link): Likewise.
19637 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19638 (link-libc): Prepand $(link-libc-rpath-link).
19639 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19640 (test-program-prefix): New macro.
19641 (test-via-rtld-prefix): Likewise.
19642 (test-program-cmd): Likewise.
19643 (host-test-program-cmd): Likewise.
19644 * Makefile ($(common-objpfx)testrun.sh): Replace
19645 $(run-program-prefix) with $(test-program-prefix).
19646 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19648 ($(common-objpfx)shlib.lds): Likewise.
19649 (build-module-helper): Likewise.
19650 ($(common-objpfx)format.lds): Likewise.
19651 * Rules (binaries-pie-tests): New.
19652 (binaries-pie-notests): Likewise.
19653 (binaries-pie): Rewritten.
19654 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19655 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19656 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19657 (make-test-out): Replace $(host-built-program-cmd) with
19658 $(host-test-program-cmd).
19659 * config.make.in (build-hardcoded-path-in-tests): New variable.
19660 * configure.in (--enable-hardcoded-path-in-tests): New configure
19662 (hardcoded_path_in_tests): New AC_SUBST.
19663 * configure: Regenerated.
19664 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19665 $(built-program-cmd) with $(test-program-cmd).
19666 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19667 (test_program_cmd): This.
19668 * elf/Makefile ($(objpfx)order.out): Run test with
19669 $(test-program-prefix).
19670 ($(objpfx)order2.out): Likewise.
19671 ($(objpfx)tst-initorder.out): Likewise.
19672 ($(objpfx)tst-initorder2.out): Likewise.
19673 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19674 $(test-program-cmd).
19675 ($(objpfx)tst-array1-static.out): Likewise.
19676 ($(objpfx)tst-array2.out): Likewise.
19677 ($(objpfx)tst-array3.out): Likewise.
19678 ($(objpfx)tst-array4.out): Likewise.
19679 ($(objpfx)tst-array5.out): Likewise.
19680 ($(objpfx)tst-array5-static.out): Likewise.
19681 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19682 $(test-program-cmd).
19683 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19684 $(run-program-prefix) with $(test-program-prefix).
19685 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19686 (test_program_prefix): This.
19687 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19688 $(run-program-prefix) with $(test-program-prefix).
19689 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19690 (test_program_prefix): This.
19691 * iconvdata/tst-tables.sh: Likewise.
19692 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19693 $(run-program-prefix) with $(test-program-prefix).
19694 ($(objpfx)tst-translit.out): Likewise.
19695 ($(objpfx)tst-gettext2.out): Likewise.
19696 ($(objpfx)tst-gettext4.out): Likewise.
19697 ($(objpfx)tst-gettext6.out): Likewise.
19698 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19699 (test_program_prefix): This.
19700 * intl/tst-gettext2.sh: Likewise.
19701 * intl/tst-gettext4.sh Likewise.
19702 * intl/tst-gettext6.sh: Likewise.
19703 * intl/tst-translit.sh: Likewise.
19704 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19705 with $(test-program-cmd).
19706 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19707 $(run-program-prefix) with $(test-program-prefix).
19708 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19709 (test_program_prefix): This.
19710 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19711 $(run-program-prefix) with $(test-program-prefix).
19712 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19713 (test_program_prefix): This.
19714 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19715 * posix/Makefile ($(objpfx)globtest.out): Replace
19716 $(run-via-rtld-prefix) and $(test-wrapper) with
19717 $(test-program-prefix) and $(test-via-rtld-prefix).
19718 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19719 $(test-program-prefix).
19720 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19721 $(host-test-program-cmd).
19722 (tst-spawn-ARGS): Likewise.
19723 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19724 $(test-program-prefix).
19725 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19726 (test_via_rtld_prefix): This.
19727 (test_wrapper): Renamed to ...
19728 (test_program_prefix): This.
19729 (run_program_prefix): Replaced by test_program_prefix.
19730 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19731 (test_program_prefix): This.
19732 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19733 with $(host-test-program-cmd).
19734 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19735 $(run-program-prefix) with $(test-program-prefix).
19736 ($(objpfx)tst-printf.out): Likewise.
19737 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19738 $(test-program-cmd).
19739 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19740 (test_program_prefix): This.
19741 * stdio-common/tst-unbputc.sh: Likewise.
19742 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19743 $(run-program-prefix) with $(test-program-prefix).
19744 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19745 (test_program_prefix): This.
19746 * string/Makefile ($(objpfx)tst-svc.out): Replace
19747 $(built-program-cmd) with $(test-program-cmd).
19749 2013-01-11 Andreas Jaeger <aj@suse.de>
19752 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19753 value. Sync with Linux 3.7.
19755 2013-01-10 David S. Miller <davem@davemloft.net>
19757 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19758 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19759 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19761 2013-01-10 Roland McGrath <roland@hack.frob.com>
19763 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19765 * configure: Regenerated.
19767 2013-01-10 David S. Miller <davem@davemloft.net>
19769 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19770 sparc V9 rather than using V8 code.
19771 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19772 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19774 2013-01-10 Roland McGrath <roland@hack.frob.com>
19776 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19777 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19778 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19779 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19780 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19781 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19782 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19783 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19784 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19785 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19786 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19787 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19788 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19789 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19790 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19791 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19792 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19793 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19794 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19795 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19796 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19797 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19798 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19799 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19800 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19801 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19802 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19804 2013-01-10 David S. Miller <davem@davemloft.net>
19806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19808 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19810 * posix/Makefile (tests-static): New variable.
19811 (tests): Add $(tests-static).
19812 (tst-exec-static-ARGS): New variable.
19813 (tst-spawn-static-ARGS): Likewise.
19814 * posix/tst-exec-static.c: New file.
19815 * posix/tst-spawn-static.c: Likewise.
19816 * posix/tst-exec.c: Support run directly.
19817 * posix/tst-spawn.c: Likewise.
19819 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19821 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19823 * math/bits/mathcalls.h (llrint): Likewise.
19824 (llround): Likewise.
19825 * stdlib/stdlib.h (struct drand48_data): Likewise.
19826 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19827 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19828 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19830 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19832 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19833 (elf_greg_t): Likewise.
19834 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19835 (__jmp_buf): Likewise.
19836 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19838 (llrint): Likewise, for all definitions.
19839 (llrintl): Likewise.
19841 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19842 Remove [__GNUC__] condition.
19843 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19844 condition to just [__USE_ISOC99].
19845 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19847 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19850 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19851 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19853 (_POSIX_V6_ILP32_OFF32): Likewise.
19854 (_XBS5_ILP32_OFF32): Likewise.
19855 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19856 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19858 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19860 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19862 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19863 doubles __mpexp_twomm1. Adjust usage.
19864 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19867 2013-01-10 Andreas Schwab <schwab@suse.de>
19870 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19871 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19873 2013-01-09 David S. Miller <davem@davemloft.net>
19876 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19877 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19878 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19879 (TCP_FASTOPEN): Define.
19880 (tcp_repair_opt): New structure.
19881 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19883 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19884 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19885 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19886 (tcp_cookie_transactions): New structure.
19888 2013-01-09 Anton Blanchard <anton@samba.org>
19890 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19891 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19892 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19893 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19895 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19897 * include/features.h (__USE_ANSI): Remove.
19899 2013-01-09 Roland McGrath <roland@hack.frob.com>
19901 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19903 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19905 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19907 * sysdeps/s390/fpu/libm-test-ulps: Update.
19909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19911 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19915 (denorm): Likewise.
19916 (__mp_dbl): Likewise.
19917 (__dbl_mp): Likewise.
19918 (add_magnitudes): Likewise.
19919 (sub_magnitudes): Likewise.
19925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19929 (denorm): Likewise.
19930 (__mp_dbl): Likewise.
19931 (__dbl_mp): Likewise.
19932 (add_magnitudes): Likewise.
19933 (sub_magnitudes): Likewise.
19939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19943 (denorm): Likewise.
19944 (__mp_dbl): Likewise.
19945 (__dbl_mp): Likewise.
19946 (add_magnitudes): Likewise.
19947 (sub_magnitudes): Likewise.
19954 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19956 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19957 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19958 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19959 2 && __USE_EXTERN_INLINES]: Likewise.
19961 2013-01-08 Andreas Jaeger <aj@suse.de>
19964 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19966 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19967 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19969 2013-01-07 Anton Blanchard <anton@samba.org>
19971 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19972 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19973 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19974 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19975 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19976 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19977 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19978 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19980 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19981 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19982 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19983 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19984 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19985 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19986 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19987 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19988 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19989 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19990 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19991 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19992 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19993 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19994 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19995 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19996 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19997 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19998 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19999 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20000 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20001 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20002 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20003 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20004 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20005 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20006 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20007 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20008 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20009 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20010 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20011 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20013 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20015 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20017 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20018 (__MALLOC_PMT): Likewise.
20019 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20020 [__GNUC__], only on [_LIBC].
20021 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20022 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20023 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20024 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20025 forward declaration.
20026 (realloc_hook_ini): Likewise.
20027 (memalign_hook_ini): Likewise.
20028 (__libc_memalign): Do not use __MALLOC_PMT in variable
20030 (__libc_valloc): Likewise.
20031 (__libc_pvalloc): Likewise.
20032 (__libc_calloc): Likewise.
20033 (__posix_memalign): Likewise.
20036 * math/s_casinh.c: Include <float.h>.
20037 (__casinh): Do not do computation with squaring and square root
20038 for large arguments.
20039 * math/s_casinhf.c: Include <float.h>.
20040 (__casinhf): Do not do computation with squaring and square root
20041 for large arguments.
20042 * math/s_casinhl.c: Include <float.h>.
20043 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20044 (__casinhl): Do not do computation with squaring and square root
20045 for large arguments.
20046 * math/libm-test.inc (casin_test): Add more tests.
20047 (casinh_test): Likewise.
20048 * sysdeps/i386/fpu/libm-test-ulps: Update.
20049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20051 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20053 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20054 (__x86_64_raw_data_cache_size): Likewise.
20055 (__x86_64_data_cache_size_half): Likewise.
20056 (__x86_64_raw_data_cache_size_half): Likewise.
20057 (__x86_64_shared_cache_size): Likewise.
20058 (__x86_64_raw_shared_cache_size): Likewise.
20059 (__x86_64_shared_cache_size_half): Likewise.
20060 (__x86_64_raw_shared_cache_size_half): Likewise.
20061 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20063 (__x86_data_cache_size): This.
20064 (__x86_64_raw_data_cache_size): Renamed to ...
20065 (__x86_raw_data_cache_size): This.
20066 (__x86_64_data_cache_size_half): Renamed to ...
20067 (__x86_data_cache_size_half): This.
20068 (__x86_64_raw_data_cache_size_half): Renamed to ...
20069 (__x86_raw_data_cache_size_half): This.
20070 (__x86_64_shared_cache_size): Renamed to ...
20071 (__x86_shared_cache_size): This.
20072 (__x86_64_raw_shared_cache_size): Renamed to ...
20073 (__x86_raw_shared_cache_size): This.
20074 (__x86_64_shared_cache_size_half): Renamed to ...
20075 (__x86_shared_cache_size_half): This.
20076 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20077 (__x86_raw_shared_cache_size_half): This.
20078 * sysdeps/x86_64/memcpy.S: Updated.
20079 * sysdeps/x86_64/memset.S: Likewise.
20080 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20081 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20082 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20084 2013-01-04 David S. Miller <davem@davemloft.net>
20086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20088 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20090 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20091 1 to avoid redefinition warning.
20092 (__USE_GNU): Don't define.
20093 (init_signaling_nan): Protoize.
20095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20097 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20099 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20101 (__cpymn): Likewise.
20102 (norm): Remove commented code.
20103 (denorm): Likewise.
20104 (__mp_dbl): Likewise.
20106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20107 (__cpymn): Likewise.
20108 (norm): Remove commented code.
20109 (denorm): Likewise.
20110 (__mp_dbl): Likewise.
20113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20114 mp_no value for 1.0 and 2.0.
20115 (norm): Use RADIXI instead of radixi.d.
20116 (denorm): Likewise.
20117 (__mul): Use 0.0 instead of zero.d.
20118 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20119 mp_no value for 1.0 and 2.0.
20120 (norm): Use RADIXI instead of radixi.d.
20121 (denorm): Likewise.
20122 (__mul): Use 0.0 instead of zero.d.
20124 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20127 * math/s_casinh.c (__casinh): Reduce finite argument to first
20128 quadrant then set signs of results at the end.
20129 * math/s_casinhf.c (__casinhf): Likewise.
20130 * math/s_casinhl.c (__casinhl): Likewise.
20131 * math/libm-test.inc (casin_test): Add more tests.
20132 (casinh_test): Likewise.
20133 * sysdeps/i386/fpu/libm-test-ulps: Update.
20134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20136 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20138 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20140 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20142 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20144 (denorm): Likewise.
20145 (__mp_dbl): Likewise.
20148 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20149 and adjust the header comment.
20151 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20152 variable name from declaration.
20154 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20157 Initialize COMMON_CPUID_INDEX_7 element.
20158 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20159 (CPUID_RTM): Likewise.
20160 (HAS_RTM): Likewise.
20161 (COMMON_CPUID_INDEX_7): New enum.
20163 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20166 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20167 size is zero, record memory as freed.
20169 2013-01-03 Andreas Jaeger <aj@suse.de>
20171 * po/ia.po: Add new Interlingua translation.
20173 2012-01-03 Allan McRae <allan@archlinux.org>
20175 * locale/programs/localedef.c: Fix description of '--posix' flag.
20177 2013-01-02 Joseph Myers <joseph@codesourcery.com>
20179 * NEWS: Update dates in second copyright notice.
20180 * README: Update copyright dates in example.
20181 * manual/libc.texinfo: Update copyright dates.
20182 * scripts/test-installation.pl: Update copyright date in --version
20185 * hurd/ctty-input.c: Fix copyright notice formatting.
20186 * hurd/ctty-output.c: Likewise.
20187 * hurd/dtable.c: Likewise.
20188 * hurd/hurd-raise.c: Likewise.
20189 * hurd/hurdprio.c: Likewise.
20190 * hurd/msgportdemux.c: Likewise.
20191 * misc/sys/file.h: Likewise.
20192 * misc/sys/ioctl.h: Likewise.
20193 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20194 * sysdeps/mach/hurd/chdir.c: Likewise.
20195 * sysdeps/mach/hurd/fchdir.c: Likewise.
20196 * sysdeps/mach/hurd/rename.c: Likewise.
20197 * sysdeps/mach/hurd/rmdir.c: Likewise.
20198 * sysdeps/mach/hurd/seekdir.c: Likewise.
20199 * sysdeps/mach/hurd/setsid.c: Likewise.
20200 * sysdeps/posix/wait3.c: Likewise.
20202 * All files with FSF copyright notices: Update copyright dates
20203 using scripts/update-copyrights.
20204 * intl/plural.c: Regenerated.
20205 * locale/programs/charmap-kw.h: Likewise.
20206 * locale/programs/locfile-kw.h: Likewise.
20208 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20210 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20213 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20214 calculation loop and add branch prediction.
20216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20217 check access beyond bounds of m1np.
20219 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20221 (__inv): Remove local variable MPTWO to use the global
20223 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20224 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20226 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20227 MP3HALFS static const.
20229 2013-01-01 David S. Miller <davem@davemloft.net>
20231 * po/ca.po: Update from translation team.
20233 2013-01-01 Joseph Myers <joseph@codesourcery.com>
20235 * scripts/update-copyrights: New file.
20236 * Makeconfig: Reformat copyright notice.
20237 * ctype/ctype.h: Likewise.
20238 * debug/swprintf_chk.c: Likewise.
20239 * elf/dl-cache.c: Likewise.
20240 * elf/dl-debug.c: Likewise.
20241 * elf/dl-object.c: Likewise.
20242 * grp/initgroups.c: Likewise.
20243 * hurd/Makefile: Likewise.
20244 * hurd/hurd/signal.h: Likewise.
20245 * hurd/hurdfault.c: Likewise.
20246 * hurd/hurdioctl.c: Likewise.
20247 * hurd/hurdlookup.c: Likewise.
20248 * hurd/intr-msg.c: Likewise.
20249 * iconv/gconv_open.c: Likewise.
20250 * libio/swprintf.c: Likewise.
20251 * locale/lc-ctype.c: Likewise.
20252 * locale/nl_langinfo.c: Likewise.
20253 * mach/Machrules: Likewise.
20254 * mach/Makefile: Likewise.
20255 * malloc/obstack.h: Likewise.
20256 * manual/Makefile: Likewise.
20257 * manual/tsort.awk: Likewise.
20258 * misc/bits/stab.def: Likewise.
20259 * nis/nis_print_group_entry.c: Likewise.
20260 * nis/nis_table.c: Likewise.
20261 * nis/nss_compat/compat-pwd.c: Likewise.
20262 * nis/nss_compat/compat-spwd.c: Likewise.
20263 * po/Makefile: Likewise.
20264 * posix/fnmatch.c: Likewise.
20265 * posix/regex.h: Likewise.
20266 * resolv/Makefile: Likewise.
20267 * resolv/nss_dns/dns-network.c: Likewise.
20268 * resolv/res_hconf.c: Likewise.
20269 * scripts/gen-sorted.awk: Likewise.
20270 * soft-fp/soft-fp.h: Likewise.
20271 * stdio-common/printf.h: Likewise.
20272 * stdlib/monetary.h: Likewise.
20273 * stdlib/random.c: Likewise.
20274 * stdlib/random_r.c: Likewise.
20275 * sysdeps/generic/Makefile: Likewise.
20276 * sysdeps/gnu/Makefile: Likewise.
20277 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20279 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20280 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20281 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20282 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20283 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20284 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20285 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20286 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20287 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20288 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20289 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20290 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20291 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20292 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20293 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20294 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20295 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20296 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20297 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20298 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20299 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20300 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20301 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20302 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20303 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20304 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20305 * sysdeps/mach/hurd/errnos.awk: Likewise.
20306 * sysdeps/mach/hurd/fork.c: Likewise.
20307 * sysdeps/mach/hurd/getcwd.c: Likewise.
20308 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20309 * sysdeps/mach/hurd/mmap.c: Likewise.
20310 * sysdeps/mach/hurd/utimes.c: Likewise.
20311 * sysdeps/mach/hurd/xmknod.c: Likewise.
20312 * sysdeps/posix/profil.c: Likewise.
20313 * sysdeps/posix/readdir_r.c: Likewise.
20314 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20315 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20316 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20317 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20319 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20320 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20321 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20323 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20324 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20325 * sysdeps/pthread/lio_listio.c: Likewise.
20326 * sysdeps/sparc/dl-procinfo.h: Likewise.
20327 * sysdeps/unix/i386/sysdep.S: Likewise.
20328 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20329 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20330 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20331 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20333 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20334 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20335 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20336 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20337 * sysdeps/wordsize-32/divdi3.c: Likewise.
20338 * time/sys/time.h: Likewise.
20339 * wcsmbs/Makefile: Likewise.
20341 2013-01-01 David S. Miller <davem@davemloft.net>
20343 * po/fr.po: Update from translation team.
20345 * catgets/gencat.c: Update copyright year.
20346 * csu/version.c: Likewise.
20347 * debug/catchsegv.sh: Likewise.
20348 * debug/pcprofiledump.c: Likewise.
20349 * debug/xtrace.sh: Likewise.
20350 * elf/ldconfig.c: Likewise.
20351 * elf/ldd.bash.in: Likewise.
20352 * elf/pldd.c: Likewise.
20353 * elf/sotruss.ksh: Likewise.
20354 * elf/sprof.c: Likewise.
20355 * iconv/iconv_prog.c: Likewise.
20356 * iconv/iconvconfig.c: Likewise.
20357 * locale/programs/locale.c: Likewise.
20358 * locale/programs/localedef.c: Likewise.
20359 * login/programs/pt_chown.c: Likewise.
20360 * malloc/memusage.sh: Likewise.
20361 * malloc/memusagestat.c: Likewise.
20362 * malloc/mtrace.pl: Likewise.
20363 * nscd/nscd.c: Likewise.
20364 * nss/getent.c: Likewise.
20365 * nss/makedb.c: Likewise.
20366 * posix/getconf.c: Likewise.
20368 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20370 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20373 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20375 * math/bits/mathcalls.h (modf): Use __nonnull.
20377 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20379 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20380 (split): Use macro CN instead of the bare value.
20381 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20383 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20384 instead of the bare value.
20385 (power1): Likewise.
20387 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20389 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20391 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20393 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20395 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20396 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20397 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20398 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20400 2012-12-28 Andreas Jaeger <aj@suse.de>
20402 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20403 values are from Linux 3.7.
20405 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20406 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20408 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20410 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20413 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20415 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20416 variables with preprocessor constants.
20417 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20418 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20419 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20421 2012-12-27 Bruno Haible <bruno@clisp.org>
20424 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20427 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20430 and use variable directly.
20431 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20433 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20435 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20436 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20438 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20439 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20440 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20441 include directive. Remove local variable MPONE.
20442 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20443 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20444 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20446 2012-12-25 David S. Miller <davem@davemloft.net>
20448 * version.h (RELEASE): Set to "development".
20449 (VERSION): Set to "2.17.90".
20450 * NEWS: Add 2.18 section.
20452 2012-12-21 David S. Miller <davem@davemloft.net>
20454 * po/hr.po: Update from translation team.
20456 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20458 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20460 2012-12-19 Steve Ellcey <sellcey@mips.com>
20462 * NEWS: Mention new memcpy for MIPS.
20464 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20466 * manual/contrib.texi (Contributors): Spelling correction.
20468 2012-12-15 David S. Miller <davem@davemloft.net>
20470 * po/ru.po: Update from translation team.
20472 2012-12-13 David S. Miller <davem@davemloft.net>
20474 * NEWS: Mention IFUNC testsuite enhancements.
20476 * po/pl.po: Update from translation team.
20477 * po/bg.po: Likewise.
20479 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20480 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20482 2012-12-11 David S. Miller <davem@davemloft.net>
20484 * po/sv.po: Update from translation team.
20486 * po/vi.po: Update from translation team.
20488 * po/cs.po: Update from translation team.
20490 * po/de.po: Update from translation team.
20491 * po/eo.po: Likewise.
20492 * po/nl.po: Likewise.
20494 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20497 * manual/argp.texi (Argp Helper Functions): Move node to follow
20498 Argp Parsing State.
20501 * manual/conf.texi (Limits on File System Capacity): Mention if
20502 terminating null is included in the max size.
20504 2012-12-10 Andreas Jaeger <aj@suse.de>
20506 * po/cs.po: Update from translation team.
20508 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20510 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20511 void pointer and cast to uintptr_t.
20512 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20514 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20515 * sysdeps/s390/s390-64/memset.S: Likewise.
20517 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20520 * menual/message.texi (Message Translation): Fix typos.
20521 (Helper programs for gettext): Likewise.
20523 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20526 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20529 2012-12-07 David S. Miller <davem@davemloft.net>
20531 * po/libc.pot: Update.
20533 2012-12-07 Richard Henderson <rth@redhat.com>
20536 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20537 normal/normal case to before the switch.
20538 (_FP_DIV): Likewise.
20540 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20541 Mike Frysinger <vapier@gentoo.org>
20543 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20544 check for __NR_fadvise64_64.
20546 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20548 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20549 0, not just to plain "0" as a statement.
20550 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20553 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20555 * NEWS: Use sourceware.org in Bugzilla URL.
20557 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20560 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20562 * stdio-common/tst-put-error.c (do_test): Add newline to the
20563 padded test to ensure flush.
20565 2012-12-05 Jeff Law <law@redhat.com>
20567 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20569 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20571 * README: Don't refer to ports add-on as distributed separately.
20572 Mention AArch64 in list of systems supported in the ports add-on.
20574 * LICENSES: Add more non-FSF copyright and license notices.
20576 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20579 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20581 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20582 10000 as width of padded output.
20584 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20586 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20588 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20589 variable LX with __attribute__ ((unused)).
20590 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20592 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20593 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20594 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20595 with __attribute__ ((unused)).
20597 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20599 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20601 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20603 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20604 (CFLAGS-nldbl-acos.c): New variable.
20605 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20606 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20607 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20608 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20609 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20610 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20611 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20612 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20613 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20614 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20615 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20616 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20617 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20618 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20619 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20620 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20621 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20622 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20623 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20624 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20625 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20626 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20627 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20628 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20629 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20630 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20631 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20632 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20633 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20634 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20635 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20636 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20637 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20638 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20639 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20640 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20641 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20642 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20643 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20644 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20645 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20646 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20647 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20648 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20649 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20650 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20651 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20652 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20653 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20654 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20655 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20656 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20657 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20658 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20659 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20660 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20661 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20662 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20663 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20664 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20665 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20666 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20667 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20668 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20669 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20670 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20671 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20672 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20673 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20674 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20675 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20676 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20677 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20678 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20679 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20680 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20681 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20682 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20683 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20684 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20685 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20686 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20687 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20688 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20689 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20690 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20691 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20692 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20693 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20694 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20695 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20696 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20697 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20698 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20699 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20700 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20701 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20704 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20707 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20708 whole low double instead of just low 47 bits when splitting values
20711 2012-12-03 Allan McRae <allan@archlinux.org>
20713 * manual/stdio.texi (Predefined Printf Handlers): Remove
20714 @hsep and @vsep usage.
20716 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20718 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20719 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20721 2012-12-03 Jeff Law <law@redhat.com>
20723 * time/sys/time.h (settimeofday): Do not mark TV argument
20726 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20728 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20729 when currently writing and seek to current position when not.
20730 * libio/Makefile (tests): Remove bug-fclose1.
20731 * libio/bug-fclose1.c: Delete.
20733 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20735 * manual/arith.texi (feenableexcept): Fix typo.
20736 (fedisableexcept): Likewise.
20738 2012-11-30 Roland McGrath <roland@hack.frob.com>
20740 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20741 second, differently-typed declaration, rather than a cast.
20743 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20745 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20746 * include/rpc/svc.h: ... here.
20748 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20751 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20752 depending n and resplen2 to catch cases where answer
20755 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20757 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20758 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20760 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20762 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20764 2012-11-29 Roland McGrath <roland@hack.frob.com>
20766 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20768 2012-11-28 Jeff Law <law@redhat.com>
20771 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20772 dataset_temporary. Track alloca usage into alloca_used.
20773 If dataset is large allocate and release it via malloc/free.
20775 2012-06-04 Florian Weimer <fweimer@redhat.com>
20778 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20780 2012-11-28 David S. Miller <davem@davemloft.net>
20782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20784 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20787 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20788 of pi/2 rounded to nearest to 64 bits.
20789 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20790 nearest to 64 bits.
20791 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20794 2012-11-28 Jeff Law <law@redhat.com>
20795 Martin Osvald <mosvald@redhat.com>
20798 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20799 * sunrpc/svc.c: Include time.h.
20800 (__svc_accept_failed): New function.
20801 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20802 any reason other than EINTR, call __svc_accept_failed.
20803 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20804 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20806 2012-11-28 Andreas Schwab <schwab@suse.de>
20808 * scripts/abilist.awk: Also handle indirect functions in .opd
20811 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20814 * sysdeps/x86/fpu/powl_helper.c: New file.
20815 * sysdeps/x86/fpu/Makefile: Likewise.
20816 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20818 (__ieee754_powl): Use __powl_helper for finite arguments except
20819 integer exponents below 8.
20820 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20822 (__ieee754_powl): Use __powl_helper for finite arguments except
20823 integer exponents below 8.
20824 * math/libm-test.inc (pow_test): Add more tests and enable some
20825 previously disabled tests.
20826 * sysdeps/i386/fpu/libm-test-ulps: Update.
20827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20829 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20830 Carlos O'Donell <carlos_odonell@mentor.com>
20832 * nss/makedb.c (is_prime): Assert that input is odd and greater
20833 than 4. Note that fact in a comment too.
20834 (next_prime): Add 4 to input.
20836 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20839 * libio/Makefile (tests): Add test case tst-fwrite-error.
20840 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20841 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20842 * libio/tst-fwrite-error.c: New test case.
20844 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20846 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20847 before casting to void *.
20848 * include/libc-internal.h (__pointer_type): New macro.
20849 (__integer_if_pointer_type_sub): Likewise.
20850 (__integer_if_pointer_type): Likewise.
20851 (cast_to_integer): Likewise.
20852 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20853 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20854 before casting to atomic64_t.
20855 (atomic_exchange_acq): Likewise.
20856 (__arch_exchange_and_add_body): Likewise.
20857 (__arch_add_body): Likewise.
20858 (atomic_add_negative): Likewise.
20859 (atomic_add_zero): Likewise.
20861 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20863 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20864 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20865 (add_fdes): Likewise.
20866 (linear_search_fdes): Likewise.
20867 (binary_search_unencoded_fdes): Likewise.
20869 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20871 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20873 2012-11-24 Adam Conrad <adconrad@0c3.net>
20875 * configure.in: Autodetect C++ header directories.
20876 * configure: Regenerated.
20878 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20880 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20882 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20886 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20888 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20889 LDBL_MANT_DIG == 106]: Disable some tests.
20890 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20892 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20896 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20897 input for small inputs. Return +/- pi/2 for large inputs.
20898 * math/libm-test.inc (atan_test): Add more tests.
20900 * sysdeps/generic/unwind-dw2-fde-glibc.c
20901 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20902 __attribute__ ((unused)).
20905 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20906 x * y if x and y are nonzero and z is zero.
20909 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20910 nonzero exponents with absolute value below 0x1p-117 to +/-
20914 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20915 up arguments below 2**-450, not just those below 2**-500.
20916 * math/libm-test.inc (hypot_test): Add another test.
20919 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20920 Return a+b for ratio over 2**120, not 2**60.
20921 * math/libm-test.inc (hypot_test): Add another test.
20923 * math/libm-test.inc (clog_test): Use
20924 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20925 (clog10_test): Likewise.
20928 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20930 2012-11-22 Andreas Schwab <schwab@suse.de>
20932 * sysdeps/i386/fpu/libm-test-ulps: Update.
20934 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20936 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20937 printf output with newline.
20939 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20942 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20943 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20944 -z nodlopen, -z initfirst and -z execstack support.
20945 * configure: Regenerated.
20947 * elf/elf.h (DF_1_NODIRECT): New macro.
20948 (DF_1_IGNMULDEF): Likewise.
20949 (DF_1_NOKSYMS): Likewise.
20950 (DF_1_NOHDR): Likewise.
20951 (DF_1_EDITED): Likewise.
20952 (DF_1_NORELOC): Likewise.
20953 (DF_1_SYMINTPOSE): Likewise.
20954 (DF_1_GLOBAUDIT): Likewise.
20955 (DF_1_SINGLETON): Likewise.
20956 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20957 DT_1_SUPPORTED_MASK bits.
20958 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20960 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20962 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20964 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20966 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20969 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20970 (sendmmsg): Move declarations...
20971 * socket/sys/socket.h: ... here.
20972 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20973 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20975 * socket/recvmmsg.c: ... this new file.
20976 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20977 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20978 definition of __sendmmsg hidden.
20979 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20980 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20981 Move ENOSYS stub into and include it from...
20982 * socket/sendmmsg.c: ... this new file.
20983 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20984 (sysdep_routines): Move recvmmsg and sendmmsg...
20985 * socket/Makefile (routines): ... here.
20986 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20987 (GLIBC_PRIVATE): Add __sendmmsg.
20988 * include/sys/socket.h (__sendmmsg): Add declarations.
20989 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20992 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20994 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20995 variable I1 with __attribute__ ((unused)).
20996 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20998 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21000 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21001 DUMMY variables with __attribute__ ((unused)).
21003 * bits/byteswap.h: Include <bits/types.h>.
21004 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21006 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21008 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21009 string_t. Do not manually set errno.
21010 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21011 length with __strnlen. Make sure to both set errno and return it on
21014 2012-11-19 David S. Miller <davem@davemloft.net>
21016 With help from Joseph Myers.
21017 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21018 very large arguments properly.
21019 * math/libm-test.inc (atan_test): New tests.
21020 (atan2_test): New tests.
21021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21024 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21027 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21030 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21031 [POSIX] (EADDRNOTAVAIL): Likewise.
21032 [POSIX] (EAFNOSUPPORT): Likewise.
21033 [POSIX] (EALREADY): Likewise.
21034 [POSIX] (ECONNABORTED): Likewise.
21035 [POSIX] (ECONNREFUSED): Likewise.
21036 [POSIX] (ECONNRESET): Likewise.
21037 [POSIX] (EDESTADDRREQ): Likewise.
21038 [POSIX] (EDQUOT): Likewise.
21039 [POSIX] (EHOSTUNREACH): Likewise.
21040 [POSIX] (EIDRM): Likewise.
21041 [POSIX] (EISCONN): Likewise.
21042 [POSIX] (ELOOP): Likewise.
21043 [POSIX] (EMULTIHOP): Likewise.
21044 [POSIX] (ENETDOWN): Likewise.
21045 [POSIX] (ENETUNREACH): Likewise.
21046 [POSIX] (ENOBUFS): Likewise.
21047 [POSIX] (ENODATA): Likewise.
21048 [POSIX] (ENOLINK): Likewise.
21049 [POSIX] (ENOMSG): Likewise.
21050 [POSIX] (ENOPROTOOPT): Likewise.
21051 [POSIX] (ENOSR): Likewise.
21052 [POSIX] (ENOSTR): Likewise.
21053 [POSIX] (ENOTCONN): Likewise.
21054 [POSIX] (ENOTSOCK): Likewise.
21055 [POSIX] (EOPNOTSUPP): Likewise.
21056 [POSIX] (EOVERFLOW): Likewise.
21057 [POSIX] (EPROTO): Likewise.
21058 [POSIX] (EPROTONOSUPPORT): Likewise.
21059 [POSIX] (EPROTOTYPE): Likewise.
21060 [POSIX] (ESTALE): Likewise.
21061 [POSIX] (ETIME): Likewise.
21062 [POSIX] (ETXTBSY): Likewise.
21063 [POSIX] (EWOULDBLOCK): Likewise.
21064 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21065 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21066 [POSIX] (SEEK_CUR): Likewise.
21067 [POSIX] (SEEK_END): Likewise.
21068 [POSIX || UNIX98] (mode_t): Do not require.
21069 [POSIX] (off_t): Likewise.
21070 [POSIX] (pid_t): Likewise.
21071 [POSIX] (sys/stat.h): Do not allow header.
21072 [POSIX] (unistd.h): Likewise.
21073 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21074 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21075 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21076 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21078 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21079 sigevent): Specify elements.
21080 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21082 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21083 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21085 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21086 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21087 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21088 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21089 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21090 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21091 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21092 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21093 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21094 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21095 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21096 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21097 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21098 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21100 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21102 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21104 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21106 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21107 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21108 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21109 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21110 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21111 Specify lower bound on value.
21112 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21113 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21114 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21115 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21116 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21117 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21118 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21119 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21121 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21123 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21124 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21125 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21126 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21127 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21128 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21129 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21130 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21131 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21132 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21133 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21134 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21135 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21136 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21137 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21138 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21140 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21142 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21143 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21144 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21145 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21146 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21147 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21149 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21150 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21151 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21152 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21153 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21154 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21155 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21157 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21158 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21159 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21160 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21161 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21162 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21163 specify as optional.
21164 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21165 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21166 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21167 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21168 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21169 [XPG3] (NL_LANGMAX): Likewise.
21170 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21171 [POSIX || XPG3] (NL_NMAX): Likewise.
21172 [POSIX || XPG3] (NL_SETMAX): Likewise.
21173 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21174 [XPG3] (NZERO): Likewise.
21175 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21176 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21177 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21178 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21179 (REG_ERANGE): Expect.
21180 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21182 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21183 Use (void) in prototype.
21184 [POSIX] (*_t): Allow.
21185 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21186 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21187 (WRDE_BADVAL): Expect.
21189 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21191 [XPG3 || XPG4] (O_RSYNC): Likewise.
21192 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21194 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21195 [XPG3 || XPG4] (sigqueue): Likewise.
21196 [XPG3 || XPG4] (sigtimedwait): Likewise.
21197 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21198 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21199 [XPG3 || XPG4] (vsnprintf): Likewise.
21200 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21202 [XPG3 || XPG4] (blksize_t): Likewise.
21203 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21205 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21206 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21207 [XPG3 || XPG4] (struct itimerspec): Likewise.
21208 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21209 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21210 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21211 [XPG3 || XPG4] (clockid_t): Likewise.
21212 [XPG3 || XPG4] (timer_t): Likewise.
21213 [XPG3 || XPG4] (clock_getres): Likewise.
21214 [XPG3 || XPG4] (clock_gettime): Likewise.
21215 [XPG3 || XPG4] (clock_settime): Likewise.
21216 [XPG3 || XPG4] (nanosleep): Likewise.
21217 [XPG3 || XPG4] (timer_create): Likewise.
21218 [XPG3 || XPG4] (timer_delete): Likewise.
21219 [XPG3 || XPG4] (timer_gettime): Likewise.
21220 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21221 [XPG3 || XPG4] (timer_settime): Likewise.
21222 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21223 [XPG3 || XPG4] (getlogin_r): Likewise.
21224 [XPG3 || XPG4] (pread): Likewise.
21225 [XPG3 || XPG4] (pthread_atfork): Likewise.
21226 [XPG3 || XPG4] (pwrite): Likewise.
21229 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21232 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21234 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21235 finalizing MALLSTREAM.
21237 * sysdeps/mach/hurd/syncfs.c: New file.
21239 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21242 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21243 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21244 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21245 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21246 (_nss_dns_gethostbyname4_r): Likewise.
21247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21248 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21250 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21253 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21255 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21257 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21258 * elf/cache.c (print_entry): Print ",AArch64" for
21261 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21262 * elf/cache.c (print_entry): Print ",hard-float" for
21265 2012-11-18 David S. Miller <davem@davemloft.net>
21267 With help from Joseph Myers.
21268 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21270 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21272 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21273 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21275 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21276 * math/libm-test.inc (y0_test): New tests.
21277 (y1_test): New tests.
21278 * sysdeps/i386/fpu/libm-test-ulps: Update.
21279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21282 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21284 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21286 * configure: Regenerated.
21288 2012-11-17 David S. Miller <davem@davemloft.net>
21291 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21292 nonzero exponents with absolute value below 0x1p-128 to +/-
21295 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21297 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21299 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21301 * posix/getconf-speclist.c: New file.
21302 * posix/posix-envs.def: Likewise.
21303 * posix/confstr.c (START_ENV_GROUP): New macro.
21304 (END_ENV_GROUP): Likewise.
21305 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21306 (KNOWN_PRESENT_ENV_STRING): Likewise.
21307 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21308 (UNKNOWN_ENVIRONMENT): Likewise.
21309 (confstr): Include posix-envs.def instead of handling
21310 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21311 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21312 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21313 (END_ENV_GROUP): Likewise.
21314 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21315 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21316 (UNKNOWN_ENVIRONMENT): Likewise.
21317 (__sysconf): Include posix-envs.def instead of handling associated
21318 cases directly here.
21319 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21320 preprocessing getconf-speclist.c rather than running getconf or
21321 generating empty file.
21323 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21325 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21327 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21330 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21332 2012-11-16 David S. Miller <davem@davemloft.net>
21334 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21335 smaller than LDBL_EPSILON/2.0L, just return xm1.
21337 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21339 * elf/tst-array1.c (init): Set constructor priority to 1000.
21340 (fini): Set destructor priority to 1000.
21341 * elf/tst-array2dep.c: Likewise.
21343 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21346 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21347 (_IO_new_file_xsputn): Also return EOF if none of the input
21348 data was written when overflow failed.
21349 * libio/iopadn.c (_IO_padn): Likewise.
21350 * libio/iowpadn.c (_IO_wpadn): Likewise.
21351 * stdio-common/tst-put-error.c: Add copyright notice.
21352 (do_test): Add case for printing padded string.
21353 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21354 _IO_padn returned error.
21355 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21356 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21359 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21361 * libio/libioP.h: Add comment note that the references to C++
21362 bits are now obsolete.
21364 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21366 * math/libm-test.inc (check_complex): Use asprintf.
21368 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21370 * debug/pcprofiledump.c (print_version): Update copyright year.
21371 * malloc/memusagestat.c (print_version): Likewise.
21373 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21376 * elf/Makefile (tests): Add tst-audit8.
21377 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21378 ($(objpfx)tst-audit8.out): New target.
21379 (tst-audit8-ENV): New variable.
21380 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21381 audit if l_reloc_result is NULL.
21382 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21383 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21384 * elf/tst-audit8.c: New file.
21386 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21388 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21389 * misc/Makefile (CFLAGS-select.c): Define.
21390 * posix/Makefile (CFLAGS-pause.c): Define.
21392 2012-11-13 David S. Miller <davem@davemloft.net>
21394 * crypt/Makefile: Move test targets after toplevel Rules
21395 inclusion. Grab any necessary sysdep routines when linking.
21396 * crypt/md5.c (md5_process_block): Remove define, we will always
21397 name it __md5_process_block.
21398 (md5_finish_ctx): Update md5_process_block call.
21399 (md5_stream): Likewise.
21400 (md5_process_bytes): Likewise.
21401 (md5_process_block): Rename to __md5_process_block and move to ...
21402 * crypt/md5-block.c: ... here.
21403 * crypt/sha256.c (sha256_process_block): Move to ...
21404 * crypt/sha256-block.c: ... here.
21405 * crypt/sha512.c (sha512_process_block): Move to ...
21406 * crypt/sha512-block.c: ... here.
21407 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21409 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21410 * sysdeps/sparc/sparc64/multiarch/Makefile
21411 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21413 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21414 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21416 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21417 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21418 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21419 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21420 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21421 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21422 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21423 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21424 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21426 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21427 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21429 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21431 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21433 * timezone/tzselect.ksh: Update from tzcode git revision
21434 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21435 * timezone/zdump.c: Likewise.
21436 * timezone/zic.c: Likewise.
21437 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21438 in TZVERSION setting, not $(PKGVERSION).
21439 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21440 REPORT_BUGS_TO settings.
21443 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21446 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21448 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21449 detection to immediately after _FP_ROUND().
21450 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21453 2012-11-11 David S. Miller <davem@davemloft.net>
21455 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21457 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21458 __close rather than their public counterparts.
21460 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21462 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21464 [UNIX98] (sem_timedwait): Do not expect.
21465 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21466 [XPG4 || UNIX98] (sockatmark): Do not expect.
21467 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21468 (clock_getcpuclockid): Do not expect.
21469 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21470 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21472 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21473 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21474 [UNIX98] (vwscanf): Likewise.
21475 [UNIX98] (vswscanf): Likewise.
21477 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21479 * timezone/version.h: Remove file.
21480 * timezone/README: Do not refer to version.h.
21481 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21482 $(objpfx)version.h.
21483 ($(objpfx)zdump.o): Likewise.
21484 ($(objpfx)version.h): New target.
21486 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21488 * timezone/README: Don't mention modification to tzselect.ksh.
21489 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21490 work on unmodified tzselect.ksh. Substitute version numbers in
21493 * Makefile (format-me): Remove.
21494 (INSTALL): Adjust indentation. Use commands directly instead of
21495 using $(format-me).
21497 * aclocal.m4 (ACX_PKGVERSION): New macro.
21498 (ACX_BUGURL): Likewise.
21499 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21500 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21501 (REPORT_BUGS_TO): Likewise.
21502 * configure: Regenerated.
21503 * config.h.in (PKGVERSION): New macro.
21504 (REPORT_BUGS_TO): Likewise.
21505 * config.make.in (PKGVERSION): New variable.
21506 (PKGVERSION_TEXI): Likewise.
21507 (REPORT_BUGS_TO): Likewise.
21508 (REPORT_BUGS_TEXI): Likewise.
21509 * Makefile (format-me): Use -I$(common-objpfx)manual.
21510 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21511 ($(common-objpfx)manual/%): New target.
21512 (manual/%): Remove target.
21513 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21514 (print_version): Use PKGVERSION.
21515 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21516 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21517 and REPORT_BUGS_TO.
21518 ($(objpfx)xtrace): Likewise.
21519 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21520 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21521 (print_version): Use PKGVERSION.
21522 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21523 (do_version): Use PKGVERSION.
21524 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21526 (common-ldd-rewrite): Likewise.
21527 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21528 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21529 (print_version): Use PKGVERSION.
21530 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21531 * elf/pldd.c (argp_program_bug_address): Remove variable.
21532 (more_help): New function.
21533 (argp): Use more_help.
21534 (print_version): Use PKGVERSION.
21535 * elf/sln.c (main): Use PKGVERSION.
21536 (usage): Use REPORT_BUGS_TO.
21537 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21538 (top level): Use PKGVERSION.
21539 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21540 (print_version): Use PKGVERSION.
21541 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21542 (print_version): Use PKGVERSION.
21543 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21544 (print_version): Use PKGVERSION.
21545 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21546 (print_version): Use PKGVERSION.
21547 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21548 (print_version): Use PKGVERSION.
21549 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21550 (print_version): Use PKGVERSION.
21551 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21553 ($(objpfx)memusage): Likewise.
21554 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21555 (do_version): Use PKGVERSION.
21556 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21557 (print_version): Use PKGVERSION.
21558 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21559 ($PKGVERSION): New variable.
21560 ($REPORT_BUGS_TO): Likewise.
21561 (usage): Use $REPORT_BUGS_TO.
21562 (top level): Use $PKGVERSION.
21563 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21564 ($(objpfx)pkgvers.texi): New rule.
21565 ($(objpfx)stamp-pkgvers): Likewise.
21566 * manual/install.texi: Include pkgvers.texi.
21567 (--with-pkgversion): Document new configure option.
21568 (--with-bugurl): Likewise.
21569 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21570 than necessarily for this particular distribution. Use
21571 REPORT_BUGS_TO for where to report bugs.
21572 * INSTALL: Regenerated.
21573 * manual/libc.texinfo: Include pkgvers.texi.
21574 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21575 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21576 (print_version): Use PKGVERSION.
21577 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21578 (print_version): Use PKGVERSION.
21579 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21580 (print_version): Use PKGVERSION.
21581 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21582 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21584 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21585 (print_version): Use PKGVERSION.
21586 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21587 (print_version): Use PKGVERSION.
21588 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21591 * timezone/checktab.awk: Update from tzcode 2012i.
21592 * timezone/ialloc.c: Likewise.
21593 * timezone/private.h: Likewise.
21594 * timezone/scheck.c: Likewise.
21595 * timezone/tzfile.h: Likewise.
21596 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21597 (TZVERSION): Hardcode tzcode version number.
21598 * timezone/zdump.c: Update from tzcode 2012i.
21599 * timezone/zic.c: Likewise.
21600 * timezone/version.h: New file.
21601 * timezone/README: Describe version.h. Update upstream location.
21604 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21605 (mktemp): Enable declaration.
21606 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21607 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21608 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21609 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21611 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21613 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21615 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21617 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21619 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21623 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21624 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21625 for copies of such integer values.
21626 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21627 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21629 2012-11-09 Andreas Jaeger <aj@suse.de>
21631 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21632 definitions and declarations that are provided by
21633 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21635 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21637 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21638 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21639 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21642 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21644 * elf/elf.h: Update comment before AArch64 relocations.
21646 2012-11-07 David S. Miller <davem@davemloft.net>
21648 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21649 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21650 (__start_context): Declare.
21651 (__makecontext_ret): Delete.
21652 (__makecontext): Hook up __start_context instead of
21654 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21655 (sysdep_routines): Add __start_context when in stdlib.
21657 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21659 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21660 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21661 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21663 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21664 (READELF): New variable. Use it instead of hardcoded "readelf".
21666 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21668 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21669 * sysdeps/x86/Makefile: Here.
21670 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21671 * sysdeps/x86/tst-xmmymm.sh: This.
21673 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21675 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21677 [UNIX98] (pthread_barrier_t): Do not expect.
21678 [UNIX98] (pthread_barrierattr_t): Likewise.
21679 [UNIX98] (pthread_spinlock_t): Likewise.
21680 [UNIX98] (pthread_barrier_destroy): Likewise.
21681 [UNIX98] (pthread_barrier_init): Likewise.
21682 [UNIX98] (pthread_barrier_wait): Likewise.
21683 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21684 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21685 [UNIX98] (pthread_barrierattr_init): Likewise.
21686 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21687 [UNIX98] (pthread_getcpuclockid): Likewise.
21688 [UNIX98] (pthread_mutex_timedlock): Likewise.
21689 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21690 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21691 [UNIX98] (pthread_sigmask): Likewise.
21692 [UNIX98] (pthread_spin_destroy): Likewise.
21693 [UNIX98] (pthread_spin_init): Likewise.
21694 [UNIX98] (pthread_spin_lock): Likewise.
21695 [UNIX98] (pthread_spin_trylock): Likewise.
21696 [UNIX98] (pthread_spin_unlock): Likewise.
21697 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21699 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21700 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21701 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21702 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21703 [XPG3 || XPG4] (pthread_key_t): Likewise.
21704 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21705 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21706 [XPG3 || XPG4] (pthread_once_t): Likewise.
21707 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21708 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21709 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21710 [XPG3 || XPG4] (pthread_t): Likewise.
21712 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21714 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21716 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21717 Change function return type to int.
21719 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21720 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21721 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21722 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21723 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21724 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21725 [!POSIX] (posix_madvise): Likewise.
21726 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21728 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21729 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21730 (mode_t): Likewise.
21731 (posix_mem_offset): Likewise.
21732 (posix_typed_mem_get_info): Likewise.
21733 (posix_typed_mem_open): Likewise.
21735 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21736 Change condition to [XOPEN2K8].
21738 * conform/conformtest.pl: Preprocess allow-header data with -x c
21739 instead of from stdin.
21740 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21741 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21742 [C99-based standards] (cerfc): Likewise.
21743 [C99-based standards] (cexp2): Likewise.
21744 [C99-based standards] (cexpm1): Likewise.
21745 [C99-based standards] (clog10): Likewise.
21746 [C99-based standards] (clog1p): Likewise.
21747 [C99-based standards] (clog2): Likewise.
21748 [C99-based standards] (clgamma): Likewise.
21749 [C99-based standards] (ctgamma): Likewise.
21750 [C99-based standards] (cerff): Likewise.
21751 [C99-based standards] (cerfcf): Likewise.
21752 [C99-based standards] (cexp2f): Likewise.
21753 [C99-based standards] (cexpm1f): Likewise.
21754 [C99-based standards] (clog10f): Likewise.
21755 [C99-based standards] (clog1pf): Likewise.
21756 [C99-based standards] (clog2f): Likewise.
21757 [C99-based standards] (clgammaf): Likewise.
21758 [C99-based standards] (ctgammaf): Likewise.
21759 [C99-based standards] (cerfl): Likewise.
21760 [C99-based standards] (cerfcl): Likewise.
21761 [C99-based standards] (cexp2l): Likewise.
21762 [C99-based standards] (cexpm1l): Likewise.
21763 [C99-based standards] (clog10l): Likewise.
21764 [C99-based standards] (clog1pl): Likewise.
21765 [C99-based standards] (clog2l): Likewise.
21766 [C99-based standards] (clgammal): Likewise.
21767 [C99-based standards] (ctgammal): Likewise.
21768 * conform/data/inttypes.h-data [C99-based standards]: Include
21769 stdint.h-data. Remove all expectations for stdint.h contents.
21770 [C99-based standards] (PRI*): Do not allow.
21771 [C99-based standards] (SCN*): Likewise.
21772 [C99-based standards] (*_t): Likewise.
21773 [C99-based-standards] (PRId8): Expect macro.
21774 [C99-based-standards] (PRIi8): Likewise.
21775 [C99-based-standards] (PRIo8): Likewise.
21776 [C99-based-standards] (PRIu8): Likewise.
21777 [C99-based-standards] (PRIx8): Likewise.
21778 [C99-based-standards] (PRIX8): Likewise.
21779 [C99-based-standards] (SCNd8): Likewise.
21780 [C99-based-standards] (SCNi8): Likewise.
21781 [C99-based-standards] (SCNo8): Likewise.
21782 [C99-based-standards] (SCNu8): Likewise.
21783 [C99-based-standards] (SCNx8): Likewise.
21784 [C99-based-standards] (PRIdLEAST8): Likewise.
21785 [C99-based-standards] (PRIiLEAST8): Likewise.
21786 [C99-based-standards] (PRIoLEAST8): Likewise.
21787 [C99-based-standards] (PRIuLEAST8): Likewise.
21788 [C99-based-standards] (PRIxLEAST8): Likewise.
21789 [C99-based-standards] (PRIXLEAST8): Likewise.
21790 [C99-based-standards] (SCNdLEAST8): Likewise.
21791 [C99-based-standards] (SCNiLEAST8): Likewise.
21792 [C99-based-standards] (SCNoLEAST8): Likewise.
21793 [C99-based-standards] (SCNuLEAST8): Likewise.
21794 [C99-based-standards] (SCNxLEAST8): Likewise.
21795 [C99-based-standards] (PRIdFAST8): Likewise.
21796 [C99-based-standards] (PRIiFAST8): Likewise.
21797 [C99-based-standards] (PRIoFAST8): Likewise.
21798 [C99-based-standards] (PRIuFAST8): Likewise.
21799 [C99-based-standards] (PRIxFAST8): Likewise.
21800 [C99-based-standards] (PRIXFAST8): Likewise.
21801 [C99-based-standards] (SCNdFAST8): Likewise.
21802 [C99-based-standards] (SCNiFAST8): Likewise.
21803 [C99-based-standards] (SCNoFAST8): Likewise.
21804 [C99-based-standards] (SCNuFAST8): Likewise.
21805 [C99-based-standards] (SCNxFAST8): Likewise.
21806 [C99-based-standards] (PRId16): Likewise.
21807 [C99-based-standards] (PRIi16): Likewise.
21808 [C99-based-standards] (PRIo16): Likewise.
21809 [C99-based-standards] (PRIu16): Likewise.
21810 [C99-based-standards] (PRIx16): Likewise.
21811 [C99-based-standards] (PRIX16): Likewise.
21812 [C99-based-standards] (SCNd16): Likewise.
21813 [C99-based-standards] (SCNi16): Likewise.
21814 [C99-based-standards] (SCNo16): Likewise.
21815 [C99-based-standards] (SCNu16): Likewise.
21816 [C99-based-standards] (SCNx16): Likewise.
21817 [C99-based-standards] (PRIdLEAST16): Likewise.
21818 [C99-based-standards] (PRIiLEAST16): Likewise.
21819 [C99-based-standards] (PRIoLEAST16): Likewise.
21820 [C99-based-standards] (PRIuLEAST16): Likewise.
21821 [C99-based-standards] (PRIxLEAST16): Likewise.
21822 [C99-based-standards] (PRIXLEAST16): Likewise.
21823 [C99-based-standards] (SCNdLEAST16): Likewise.
21824 [C99-based-standards] (SCNiLEAST16): Likewise.
21825 [C99-based-standards] (SCNoLEAST16): Likewise.
21826 [C99-based-standards] (SCNuLEAST16): Likewise.
21827 [C99-based-standards] (SCNxLEAST16): Likewise.
21828 [C99-based-standards] (PRIdFAST16): Likewise.
21829 [C99-based-standards] (PRIiFAST16): Likewise.
21830 [C99-based-standards] (PRIoFAST16): Likewise.
21831 [C99-based-standards] (PRIuFAST16): Likewise.
21832 [C99-based-standards] (PRIxFAST16): Likewise.
21833 [C99-based-standards] (PRIXFAST16): Likewise.
21834 [C99-based-standards] (SCNdFAST16): Likewise.
21835 [C99-based-standards] (SCNiFAST16): Likewise.
21836 [C99-based-standards] (SCNoFAST16): Likewise.
21837 [C99-based-standards] (SCNuFAST16): Likewise.
21838 [C99-based-standards] (SCNxFAST16): Likewise.
21839 [C99-based-standards] (PRId32): Likewise.
21840 [C99-based-standards] (PRIi32): Likewise.
21841 [C99-based-standards] (PRIo32): Likewise.
21842 [C99-based-standards] (PRIu32): Likewise.
21843 [C99-based-standards] (PRIx32): Likewise.
21844 [C99-based-standards] (PRIX32): Likewise.
21845 [C99-based-standards] (SCNd32): Likewise.
21846 [C99-based-standards] (SCNi32): Likewise.
21847 [C99-based-standards] (SCNo32): Likewise.
21848 [C99-based-standards] (SCNu32): Likewise.
21849 [C99-based-standards] (SCNx32): Likewise.
21850 [C99-based-standards] (PRIdLEAST32): Likewise.
21851 [C99-based-standards] (PRIiLEAST32): Likewise.
21852 [C99-based-standards] (PRIoLEAST32): Likewise.
21853 [C99-based-standards] (PRIuLEAST32): Likewise.
21854 [C99-based-standards] (PRIxLEAST32): Likewise.
21855 [C99-based-standards] (PRIXLEAST32): Likewise.
21856 [C99-based-standards] (SCNdLEAST32): Likewise.
21857 [C99-based-standards] (SCNiLEAST32): Likewise.
21858 [C99-based-standards] (SCNoLEAST32): Likewise.
21859 [C99-based-standards] (SCNuLEAST32): Likewise.
21860 [C99-based-standards] (SCNxLEAST32): Likewise.
21861 [C99-based-standards] (PRIdFAST32): Likewise.
21862 [C99-based-standards] (PRIiFAST32): Likewise.
21863 [C99-based-standards] (PRIoFAST32): Likewise.
21864 [C99-based-standards] (PRIuFAST32): Likewise.
21865 [C99-based-standards] (PRIxFAST32): Likewise.
21866 [C99-based-standards] (PRIXFAST32): Likewise.
21867 [C99-based-standards] (SCNdFAST32): Likewise.
21868 [C99-based-standards] (SCNiFAST32): Likewise.
21869 [C99-based-standards] (SCNoFAST32): Likewise.
21870 [C99-based-standards] (SCNuFAST32): Likewise.
21871 [C99-based-standards] (SCNxFAST32): Likewise.
21872 [C99-based-standards] (PRId64): Likewise.
21873 [C99-based-standards] (PRIi64): Likewise.
21874 [C99-based-standards] (PRIo64): Likewise.
21875 [C99-based-standards] (PRIu64): Likewise.
21876 [C99-based-standards] (PRIx64): Likewise.
21877 [C99-based-standards] (PRIX64): Likewise.
21878 [C99-based-standards] (SCNd64): Likewise.
21879 [C99-based-standards] (SCNi64): Likewise.
21880 [C99-based-standards] (SCNo64): Likewise.
21881 [C99-based-standards] (SCNu64): Likewise.
21882 [C99-based-standards] (SCNx64): Likewise.
21883 [C99-based-standards] (PRIdLEAST64): Likewise.
21884 [C99-based-standards] (PRIiLEAST64): Likewise.
21885 [C99-based-standards] (PRIoLEAST64): Likewise.
21886 [C99-based-standards] (PRIuLEAST64): Likewise.
21887 [C99-based-standards] (PRIxLEAST64): Likewise.
21888 [C99-based-standards] (PRIXLEAST64): Likewise.
21889 [C99-based-standards] (SCNdLEAST64): Likewise.
21890 [C99-based-standards] (SCNiLEAST64): Likewise.
21891 [C99-based-standards] (SCNoLEAST64): Likewise.
21892 [C99-based-standards] (SCNuLEAST64): Likewise.
21893 [C99-based-standards] (SCNxLEAST64): Likewise.
21894 [C99-based-standards] (PRIdFAST64): Likewise.
21895 [C99-based-standards] (PRIiFAST64): Likewise.
21896 [C99-based-standards] (PRIoFAST64): Likewise.
21897 [C99-based-standards] (PRIuFAST64): Likewise.
21898 [C99-based-standards] (PRIxFAST64): Likewise.
21899 [C99-based-standards] (PRIXFAST64): Likewise.
21900 [C99-based-standards] (SCNdFAST64): Likewise.
21901 [C99-based-standards] (SCNiFAST64): Likewise.
21902 [C99-based-standards] (SCNoFAST64): Likewise.
21903 [C99-based-standards] (SCNuFAST64): Likewise.
21904 [C99-based-standards] (SCNxFAST64): Likewise.
21905 [C99-based-standards] (PRIdMAX): Likewise.
21906 [C99-based-standards] (PRIiMAX): Likewise.
21907 [C99-based-standards] (PRIoMAX): Likewise.
21908 [C99-based-standards] (PRIuMAX): Likewise.
21909 [C99-based-standards] (PRIxMAX): Likewise.
21910 [C99-based-standards] (PRIXMAX): Likewise.
21911 [C99-based-standards] (SCNdMAX): Likewise.
21912 [C99-based-standards] (SCNiMAX): Likewise.
21913 [C99-based-standards] (SCNoMAX): Likewise.
21914 [C99-based-standards] (SCNuMAX): Likewise.
21915 [C99-based-standards] (SCNxMAX): Likewise.
21916 [C99-based-standards] (PRIdPTR): Likewise.
21917 [C99-based-standards] (PRIiPTR): Likewise.
21918 [C99-based-standards] (PRIoPTR): Likewise.
21919 [C99-based-standards] (PRIuPTR): Likewise.
21920 [C99-based-standards] (PRIxPTR): Likewise.
21921 [C99-based-standards] (PRIXPTR): Likewise.
21922 [C99-based-standards] (SCNdPTR): Likewise.
21923 [C99-based-standards] (SCNiPTR): Likewise.
21924 [C99-based-standards] (SCNoPTR): Likewise.
21925 [C99-based-standards] (SCNuPTR): Likewise.
21926 [C99-based-standards] (SCNxPTR): Likewise.
21927 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21929 * conform/data/stdint.h-data: Update comments to clarify
21931 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21933 [C99-based standards] (INT8_MAX): Likewise.
21934 [C99-based standards] (INT16_MIN): Likewise.
21935 [C99-based standards] (INT16_MAX): Likewise.
21936 [C99-based standards] (INT32_MIN): Likewise.
21937 [C99-based standards] (INT32_MAX): Likewise.
21938 [C99-based standards] (INT64_MIN): Likewise.
21939 [C99-based standards] (INT64_MAX): Likewise.
21940 [C99-based standards] (UINT8_MAX): Likewise.
21941 [C99-based standards] (UINT16_MAX): Likewise.
21942 [C99-based standards] (UINT32_MAX): Likewise.
21943 [C99-based standards] (UINT64_MAX): Likewise.
21944 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21945 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21946 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21947 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21948 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21949 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21950 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21951 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21952 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21953 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21954 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21955 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21956 [C99-based standards] (INT_FAST8_MIN): Likewise.
21957 [C99-based standards] (INT_FAST8_MAX): Likewise.
21958 [C99-based standards] (INT_FAST16_MIN): Likewise.
21959 [C99-based standards] (INT_FAST16_MAX): Likewise.
21960 [C99-based standards] (INT_FAST32_MIN): Likewise.
21961 [C99-based standards] (INT_FAST32_MAX): Likewise.
21962 [C99-based standards] (INT_FAST64_MIN): Likewise.
21963 [C99-based standards] (INT_FAST64_MAX): Likewise.
21964 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21965 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21966 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21967 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21968 [C99-based standards] (INTPTR_MIN): Likewise.
21969 [C99-based standards] (INTPTR_MAX): Likewise.
21970 [C99-based standards] (UINTPTR_MAX): Likewise.
21971 [C99-based standards] (INTMAX_MIN): Likewise.
21972 [C99-based standards] (INTMAX_MAX): Likewise.
21973 [C99-based standards] (UINTMAX_MAX): Likewise.
21974 [C99-based standards] (PTRDIFF_MIN): Likewise.
21975 [C99-based standards] (PTRDIFF_MAX): Likewise.
21976 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21977 [C99-based standards] (SIZE_MAX): Likewise.
21978 [C99-based standards] (WCHAR_MAX): Likewise.
21979 [C99-based standards] (WINT_MAX): Likewise.
21980 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21981 constraint on value.
21982 [C99-based standards] (WCHAR_MIN): Likewise.
21983 [C99-based standards] (WINT_MIN): Likewise.
21984 [C99-based standards] (*_t): Allow.
21985 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21986 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21987 Include math.h-data and complex.h-data. Remove all expectations
21988 of math.h and complex.h contents.
21989 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21991 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21992 (struct tm): Expect tag.
21993 [C99-based-standards] (wcstof): Expect function.
21994 [C99-based-standards] (wcstold): Likewise.
21995 [C99-based-standards] (wcstoll): Likewise.
21996 [C99-based-standards] (wcstoull): Likewise.
21997 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21998 macro-int-constant. Specify type.
21999 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22000 constraint on value.
22001 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22003 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22005 [ISO C standards]: Do not allow headers.
22006 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22007 wcs[abcdefghijklmnopqrstuvwxyz]*.
22008 [ISO C standards] (*_t): Do not allow.
22009 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22011 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22012 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22014 [ISO C standards]: Do not allow headers.
22015 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22016 is[abcdefghijklmnopqrstuvwxyz]*.
22017 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22018 to[abcdefghijklmnopqrstuvwxyz]*.
22019 [ISO C standards] (*_t): Do not allow.
22020 * conform/data/stdalign.h-data: New file.
22021 * conform/data/stdbool.h-data: Likewise.
22022 * conform/data/stdnoreturn.h-data: Likewise.
22024 2012-11-07 Roland McGrath <roland@hack.frob.com>
22027 * manual/filesys.texi (Directory Entries): Typo fix.
22028 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22030 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22032 * elf/elf.h (EM_AARCH64): New macro.
22033 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22034 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22035 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22036 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22037 (R_AARCH64_TLSDESC): Likewise.
22038 (NT_ARM_TLS): Likewise.
22039 (NT_ARM_HW_BREAK): Likewise.
22040 (NT_ARM_HW_WATCH): Likewise.
22042 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22045 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22046 (__ieee754_powl): Saturate nonzero exponents with absolute value
22047 below 0x1p-79 to +/- 0x1p-79.
22048 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22049 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22050 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22051 nonzero exponents with absolute value below 0x1p-32 to +/-
22053 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22054 (__ieee754_powl): Saturate nonzero exponents with absolute value
22055 below 0x1p-79 to +/- 0x1p-79.
22056 * math/libm-test.inc (pow_test): Add more tests.
22058 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22060 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22061 _dl_s390_cap_flags with kernel. Increase string length.
22062 (_dl_s390_platforms): Add z196 and zEC12.
22064 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22066 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22067 Change XOPEN21K to XOPEN2K.
22069 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22071 * string/memmove.c: Use memcpy when possible.
22073 2012-11-06 Andreas Jaeger <aj@suse.de>
22075 * po/eo.po: Update from translation team.
22077 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22081 exponent and small x and y exponents, scale x or y up. Increase
22082 by 2 the exponent used in scaling up.
22083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22084 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22085 * math/libm-test.inc (fma_test): Add more tests.
22086 (fma_test_towardzero): Likewise.
22087 (fma_test_downward): Likewise.
22088 (fma_test_upward): Likewise.
22090 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22093 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22097 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22098 namespace for names of struct fields.
22099 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22101 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22102 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22104 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22107 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22109 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22111 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22115 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22118 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22122 definitely overflow as x * y not x * y + z.
22123 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22124 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22125 * math/libm-test.inc (fma_test): Add more tests.
22126 (fma_test_towardzero): Likewise.
22127 (fma_test_downward): Likewise.
22128 (fma_test_upward): Likewise.
22130 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22134 * include/stub-tag.h: Remove file.
22135 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22137 * manual/maint.texi (Porting): Don't reference it.
22138 * Makerules ($(objpfx)stubs): Likewise.
22139 * dirent/closedir.c: Don't include <stub-tag.h>.
22140 * dirent/dirfd.c: Likewise.
22141 * dirent/fdopendir.c: Likewise.
22142 * dirent/getdents.c: Likewise.
22143 * dirent/getdents64.c: Likewise.
22144 * dirent/opendir.c: Likewise.
22145 * dirent/readdir.c: Likewise.
22146 * dirent/readdir64.c: Likewise.
22147 * dirent/readdir64_r.c: Likewise.
22148 * dirent/readdir_r.c: Likewise.
22149 * dirent/rewinddir.c: Likewise.
22150 * dirent/seekdir.c: Likewise.
22151 * dirent/telldir.c: Likewise.
22152 * gmon/profil.c: Likewise.
22153 * grp/setgroups.c: Likewise.
22154 * inet/if_index.c: Likewise.
22155 * io/access.c: Likewise.
22156 * io/chdir.c: Likewise.
22157 * io/chmod.c: Likewise.
22158 * io/chown.c: Likewise.
22159 * io/close.c: Likewise.
22160 * io/dup.c: Likewise.
22161 * io/dup2.c: Likewise.
22162 * io/dup3.c: Likewise.
22163 * io/euidaccess.c: Likewise.
22164 * io/faccessat.c: Likewise.
22165 * io/fchdir.c: Likewise.
22166 * io/fchmod.c: Likewise.
22167 * io/fchmodat.c: Likewise.
22168 * io/fchown.c: Likewise.
22169 * io/fchownat.c: Likewise.
22170 * io/fcntl.c: Likewise.
22171 * io/flock.c: Likewise.
22172 * io/fstatfs.c: Likewise.
22173 * io/fstatfs64.c: Likewise.
22174 * io/fstatvfs.c: Likewise.
22175 * io/fstatvfs64.c: Likewise.
22176 * io/futimens.c: Likewise.
22177 * io/fxstat.c: Likewise.
22178 * io/fxstat64.c: Likewise.
22179 * io/fxstatat.c: Likewise.
22180 * io/fxstatat64.c: Likewise.
22181 * io/getcwd.c: Likewise.
22182 * io/isatty.c: Likewise.
22183 * io/lchmod.c: Likewise.
22184 * io/lchown.c: Likewise.
22185 * io/link.c: Likewise.
22186 * io/linkat.c: Likewise.
22187 * io/lseek.c: Likewise.
22188 * io/lseek64.c: Likewise.
22189 * io/lxstat64.c: Likewise.
22190 * io/mkdir.c: Likewise.
22191 * io/mkdirat.c: Likewise.
22192 * io/mkfifo.c: Likewise.
22193 * io/mkfifoat.c: Likewise.
22194 * io/open.c: Likewise.
22195 * io/open64.c: Likewise.
22196 * io/openat.c: Likewise.
22197 * io/openat64.c: Likewise.
22198 * io/pipe.c: Likewise.
22199 * io/pipe2.c: Likewise.
22200 * io/poll.c: Likewise.
22201 * io/posix_fadvise.c: Likewise.
22202 * io/posix_fadvise64.c: Likewise.
22203 * io/posix_fallocate.c: Likewise.
22204 * io/posix_fallocate64.c: Likewise.
22205 * io/read.c: Likewise.
22206 * io/readlink.c: Likewise.
22207 * io/readlinkat.c: Likewise.
22208 * io/rmdir.c: Likewise.
22209 * io/sendfile.c: Likewise.
22210 * io/sendfile64.c: Likewise.
22211 * io/statfs.c: Likewise.
22212 * io/statfs64.c: Likewise.
22213 * io/statvfs.c: Likewise.
22214 * io/statvfs64.c: Likewise.
22215 * io/symlink.c: Likewise.
22216 * io/symlinkat.c: Likewise.
22217 * io/ttyname.c: Likewise.
22218 * io/ttyname_r.c: Likewise.
22219 * io/umask.c: Likewise.
22220 * io/unlink.c: Likewise.
22221 * io/unlinkat.c: Likewise.
22222 * io/utime.c: Likewise.
22223 * io/utimensat.c: Likewise.
22224 * io/write.c: Likewise.
22225 * io/xmknod.c: Likewise.
22226 * io/xmknodat.c: Likewise.
22227 * io/xstat.c: Likewise.
22228 * io/xstat64.c: Likewise.
22229 * login/getpt.c: Likewise.
22230 * login/grantpt.c: Likewise.
22231 * login/unlockpt.c: Likewise.
22232 * math/e_acoshl.c: Likewise.
22233 * math/e_acosl.c: Likewise.
22234 * math/e_asinl.c: Likewise.
22235 * math/e_atan2l.c: Likewise.
22236 * math/e_atanhl.c: Likewise.
22237 * math/e_coshl.c: Likewise.
22238 * math/e_expl.c: Likewise.
22239 * math/e_fmodl.c: Likewise.
22240 * math/e_gammal_r.c: Likewise.
22241 * math/e_hypotl.c: Likewise.
22242 * math/e_j0l.c: Likewise.
22243 * math/e_j1l.c: Likewise.
22244 * math/e_jnl.c: Likewise.
22245 * math/e_lgammal_r.c: Likewise.
22246 * math/e_log10l.c: Likewise.
22247 * math/e_log2l.c: Likewise.
22248 * math/e_logl.c: Likewise.
22249 * math/e_powl.c: Likewise.
22250 * math/e_rem_pio2l.c: Likewise.
22251 * math/e_sinhl.c: Likewise.
22252 * math/e_sqrtl.c: Likewise.
22253 * math/fclrexcpt.c: Likewise.
22254 * math/fedisblxcpt.c: Likewise.
22255 * math/feenablxcpt.c: Likewise.
22256 * math/fegetenv.c: Likewise.
22257 * math/fegetexcept.c: Likewise.
22258 * math/fegetround.c: Likewise.
22259 * math/feholdexcpt.c: Likewise.
22260 * math/fesetenv.c: Likewise.
22261 * math/fesetround.c: Likewise.
22262 * math/feupdateenv.c: Likewise.
22263 * math/fgetexcptflg.c: Likewise.
22264 * math/fraiseexcpt.c: Likewise.
22265 * math/fsetexcptflg.c: Likewise.
22266 * math/ftestexcept.c: Likewise.
22267 * math/k_cosl.c: Likewise.
22268 * math/k_rem_pio2l.c: Likewise.
22269 * math/k_sinl.c: Likewise.
22270 * math/k_tanl.c: Likewise.
22271 * math/s_asinhl.c: Likewise.
22272 * math/s_atanl.c: Likewise.
22273 * math/s_cbrtl.c: Likewise.
22274 * math/s_erfl.c: Likewise.
22275 * math/s_expm1l.c: Likewise.
22276 * math/s_log1pl.c: Likewise.
22277 * math/s_tanhl.c: Likewise.
22278 * misc/acct.c: Likewise.
22279 * misc/brk.c: Likewise.
22280 * misc/chflags.c: Likewise.
22281 * misc/chroot.c: Likewise.
22282 * misc/fchflags.c: Likewise.
22283 * misc/fgetxattr.c: Likewise.
22284 * misc/flistxattr.c: Likewise.
22285 * misc/fremovexattr.c: Likewise.
22286 * misc/fsetxattr.c: Likewise.
22287 * misc/fsync.c: Likewise.
22288 * misc/ftruncate.c: Likewise.
22289 * misc/futimes.c: Likewise.
22290 * misc/futimesat.c: Likewise.
22291 * misc/getdomain.c: Likewise.
22292 * misc/getdtsz.c: Likewise.
22293 * misc/gethostid.c: Likewise.
22294 * misc/gethostname.c: Likewise.
22295 * misc/getloadavg.c: Likewise.
22296 * misc/getpagesize.c: Likewise.
22297 * misc/getsysstats.c: Likewise.
22298 * misc/getxattr.c: Likewise.
22299 * misc/gtty.c: Likewise.
22300 * misc/ioctl.c: Likewise.
22301 * misc/lgetxattr.c: Likewise.
22302 * misc/listxattr.c: Likewise.
22303 * misc/llistxattr.c: Likewise.
22304 * misc/lremovexattr.c: Likewise.
22305 * misc/lsetxattr.c: Likewise.
22306 * misc/lutimes.c: Likewise.
22307 * misc/madvise.c: Likewise.
22308 * misc/mincore.c: Likewise.
22309 * misc/mlock.c: Likewise.
22310 * misc/mlockall.c: Likewise.
22311 * misc/mmap.c: Likewise.
22312 * misc/mprotect.c: Likewise.
22313 * misc/msync.c: Likewise.
22314 * misc/munlock.c: Likewise.
22315 * misc/munlockall.c: Likewise.
22316 * misc/munmap.c: Likewise.
22317 * misc/preadv.c: Likewise.
22318 * misc/preadv64.c: Likewise.
22319 * misc/ptrace.c: Likewise.
22320 * misc/pwritev.c: Likewise.
22321 * misc/pwritev64.c: Likewise.
22322 * misc/readv.c: Likewise.
22323 * misc/reboot.c: Likewise.
22324 * misc/remap_file_pages.c: Likewise.
22325 * misc/removexattr.c: Likewise.
22326 * misc/revoke.c: Likewise.
22327 * misc/select.c: Likewise.
22328 * misc/setdomain.c: Likewise.
22329 * misc/setegid.c: Likewise.
22330 * misc/seteuid.c: Likewise.
22331 * misc/sethostid.c: Likewise.
22332 * misc/sethostname.c: Likewise.
22333 * misc/setregid.c: Likewise.
22334 * misc/setreuid.c: Likewise.
22335 * misc/setxattr.c: Likewise.
22336 * misc/sstk.c: Likewise.
22337 * misc/stty.c: Likewise.
22338 * misc/swapoff.c: Likewise.
22339 * misc/swapon.c: Likewise.
22340 * misc/sync.c: Likewise.
22341 * misc/syncfs.c: Likewise.
22342 * misc/syscall.c: Likewise.
22343 * misc/truncate.c: Likewise.
22344 * misc/ualarm.c: Likewise.
22345 * misc/usleep.c: Likewise.
22346 * misc/ustat.c: Likewise.
22347 * misc/utimes.c: Likewise.
22348 * misc/vhangup.c: Likewise.
22349 * misc/writev.c: Likewise.
22350 * posix/_exit.c: Likewise.
22351 * posix/alarm.c: Likewise.
22352 * posix/execve.c: Likewise.
22353 * posix/fexecve.c: Likewise.
22354 * posix/fork.c: Likewise.
22355 * posix/fpathconf.c: Likewise.
22356 * posix/getaddrinfo.c: Likewise.
22357 * posix/getegid.c: Likewise.
22358 * posix/geteuid.c: Likewise.
22359 * posix/getgid.c: Likewise.
22360 * posix/getgroups.c: Likewise.
22361 * posix/getlogin.c: Likewise.
22362 * posix/getlogin_r.c: Likewise.
22363 * posix/getpgid.c: Likewise.
22364 * posix/getpid.c: Likewise.
22365 * posix/getppid.c: Likewise.
22366 * posix/getresgid.c: Likewise.
22367 * posix/getresuid.c: Likewise.
22368 * posix/getsid.c: Likewise.
22369 * posix/getuid.c: Likewise.
22370 * posix/glob64.c: Likewise.
22371 * posix/nanosleep.c: Likewise.
22372 * posix/pathconf.c: Likewise.
22373 * posix/pause.c: Likewise.
22374 * posix/posix_madvise.c: Likewise.
22375 * posix/pread.c: Likewise.
22376 * posix/pread64.c: Likewise.
22377 * posix/pwrite.c: Likewise.
22378 * posix/pwrite64.c: Likewise.
22379 * posix/sched_getaffinity.c: Likewise.
22380 * posix/sched_getp.c: Likewise.
22381 * posix/sched_gets.c: Likewise.
22382 * posix/sched_primax.c: Likewise.
22383 * posix/sched_primin.c: Likewise.
22384 * posix/sched_rr_gi.c: Likewise.
22385 * posix/sched_setaffinity.c: Likewise.
22386 * posix/sched_setp.c: Likewise.
22387 * posix/sched_sets.c: Likewise.
22388 * posix/sched_yield.c: Likewise.
22389 * posix/setgid.c: Likewise.
22390 * posix/setlogin.c: Likewise.
22391 * posix/setpgid.c: Likewise.
22392 * posix/setresgid.c: Likewise.
22393 * posix/setresuid.c: Likewise.
22394 * posix/setsid.c: Likewise.
22395 * posix/setuid.c: Likewise.
22396 * posix/sleep.c: Likewise.
22397 * posix/spawni.c: Likewise.
22398 * posix/sysconf.c: Likewise.
22399 * posix/times.c: Likewise.
22400 * posix/wait.c: Likewise.
22401 * posix/wait3.c: Likewise.
22402 * posix/wait4.c: Likewise.
22403 * posix/waitpid.c: Likewise.
22404 * resolv/gai_sigqueue.c: Likewise.
22405 * resource/getpriority.c: Likewise.
22406 * resource/getrlimit.c: Likewise.
22407 * resource/getrusage.c: Likewise.
22408 * resource/nice.c: Likewise.
22409 * resource/setpriority.c: Likewise.
22410 * resource/setrlimit.c: Likewise.
22411 * resource/ulimit.c: Likewise.
22412 * rt/aio_cancel.c: Likewise.
22413 * rt/aio_fsync.c: Likewise.
22414 * rt/aio_read.c: Likewise.
22415 * rt/aio_sigqueue.c: Likewise.
22416 * rt/aio_suspend.c: Likewise.
22417 * rt/aio_write.c: Likewise.
22418 * rt/clock_getres.c: Likewise.
22419 * rt/clock_gettime.c: Likewise.
22420 * rt/clock_nanosleep.c: Likewise.
22421 * rt/clock_settime.c: Likewise.
22422 * rt/lio_listio.c: Likewise.
22423 * rt/mq_close.c: Likewise.
22424 * rt/mq_getattr.c: Likewise.
22425 * rt/mq_notify.c: Likewise.
22426 * rt/mq_open.c: Likewise.
22427 * rt/mq_receive.c: Likewise.
22428 * rt/mq_send.c: Likewise.
22429 * rt/mq_setattr.c: Likewise.
22430 * rt/mq_timedreceive.c: Likewise.
22431 * rt/mq_timedsend.c: Likewise.
22432 * rt/mq_unlink.c: Likewise.
22433 * rt/shm_open.c: Likewise.
22434 * rt/shm_unlink.c: Likewise.
22435 * rt/timer_create.c: Likewise.
22436 * rt/timer_delete.c: Likewise.
22437 * rt/timer_getoverr.c: Likewise.
22438 * rt/timer_gettime.c: Likewise.
22439 * rt/timer_settime.c: Likewise.
22440 * setjmp/__longjmp.c: Likewise.
22441 * setjmp/setjmp.c: Likewise.
22442 * signal/kill.c: Likewise.
22443 * signal/killpg.c: Likewise.
22444 * signal/raise.c: Likewise.
22445 * signal/sigaction.c: Likewise.
22446 * signal/sigaltstack.c: Likewise.
22447 * signal/sigblock.c: Likewise.
22448 * signal/sigignore.c: Likewise.
22449 * signal/sigintr.c: Likewise.
22450 * signal/signal.c: Likewise.
22451 * signal/sigpause.c: Likewise.
22452 * signal/sigpending.c: Likewise.
22453 * signal/sigqueue.c: Likewise.
22454 * signal/sigreturn.c: Likewise.
22455 * signal/sigset.c: Likewise.
22456 * signal/sigsetmask.c: Likewise.
22457 * signal/sigstack.c: Likewise.
22458 * signal/sigsuspend.c: Likewise.
22459 * signal/sigtimedwait.c: Likewise.
22460 * signal/sigvec.c: Likewise.
22461 * signal/sigwait.c: Likewise.
22462 * signal/sigwaitinfo.c: Likewise.
22463 * signal/sysv_signal.c: Likewise.
22464 * socket/accept.c: Likewise.
22465 * socket/accept4.c: Likewise.
22466 * socket/bind.c: Likewise.
22467 * socket/connect.c: Likewise.
22468 * socket/getpeername.c: Likewise.
22469 * socket/getsockname.c: Likewise.
22470 * socket/getsockopt.c: Likewise.
22471 * socket/isfdtype.c: Likewise.
22472 * socket/listen.c: Likewise.
22473 * socket/recv.c: Likewise.
22474 * socket/recvfrom.c: Likewise.
22475 * socket/recvmsg.c: Likewise.
22476 * socket/send.c: Likewise.
22477 * socket/sendmsg.c: Likewise.
22478 * socket/sendto.c: Likewise.
22479 * socket/setsockopt.c: Likewise.
22480 * socket/shutdown.c: Likewise.
22481 * socket/sockatmark.c: Likewise.
22482 * socket/socket.c: Likewise.
22483 * socket/socketpair.c: Likewise.
22484 * stdio-common/ctermid.c: Likewise.
22485 * stdio-common/cuserid.c: Likewise.
22486 * stdio-common/remove.c: Likewise.
22487 * stdio-common/rename.c: Likewise.
22488 * stdio-common/renameat.c: Likewise.
22489 * stdio-common/tempname.c: Likewise.
22490 * stdlib/getcontext.c: Likewise.
22491 * stdlib/makecontext.c: Likewise.
22492 * stdlib/setcontext.c: Likewise.
22493 * stdlib/swapcontext.c: Likewise.
22494 * stdlib/system.c: Likewise.
22495 * streams/fattach.c: Likewise.
22496 * streams/fdetach.c: Likewise.
22497 * streams/getmsg.c: Likewise.
22498 * streams/getpmsg.c: Likewise.
22499 * streams/putmsg.c: Likewise.
22500 * streams/putpmsg.c: Likewise.
22501 * sysdeps/unix/bsd/getpt.c: Likewise.
22502 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22503 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22504 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22507 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22508 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22509 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22510 * sysvipc/msgctl.c: Likewise.
22511 * sysvipc/msgget.c: Likewise.
22512 * sysvipc/msgrcv.c: Likewise.
22513 * sysvipc/msgsnd.c: Likewise.
22514 * sysvipc/semctl.c: Likewise.
22515 * sysvipc/semget.c: Likewise.
22516 * sysvipc/semop.c: Likewise.
22517 * sysvipc/semtimedop.c: Likewise.
22518 * sysvipc/shmat.c: Likewise.
22519 * sysvipc/shmctl.c: Likewise.
22520 * sysvipc/shmdt.c: Likewise.
22521 * sysvipc/shmget.c: Likewise.
22522 * termios/tcdrain.c: Likewise.
22523 * termios/tcflow.c: Likewise.
22524 * termios/tcflush.c: Likewise.
22525 * termios/tcgetattr.c: Likewise.
22526 * termios/tcgetpgrp.c: Likewise.
22527 * termios/tcsendbrk.c: Likewise.
22528 * termios/tcsetattr.c: Likewise.
22529 * termios/tcsetpgrp.c: Likewise.
22530 * time/adjtime.c: Likewise.
22531 * time/clock.c: Likewise.
22532 * time/getitimer.c: Likewise.
22533 * time/gettimeofday.c: Likewise.
22534 * time/setitimer.c: Likewise.
22535 * time/settimeofday.c: Likewise.
22536 * time/stime.c: Likewise.
22537 * time/time.c: Likewise.
22539 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22541 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22544 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22546 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22548 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22552 FE_TONEAREST before applying Dekker multiplication and Knuth
22553 addition. Clear inexact exceptions and check for exact zero
22554 results afterwards.
22555 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22556 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22557 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22558 * math/libm-test.inc (fma_test): Add more tests.
22559 (fma_test_towardzero): Likewise.
22560 (fma_test_downward): Likewise.
22561 (fma_test_upward): Likewise.
22562 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22564 (libc_fesetround): New macro.
22565 (libc_fesetroundf): Likewise.
22566 (libc_fesetroundl): Likewise.
22567 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22569 (libc_fesetround_387): Likewise.
22570 (libc_fesetroundf): New macro.
22571 (libc_fesetround): Likewise.
22572 (libc_fesetroundl): Likewise.
22573 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22575 (libc_fesetroundf): New macro.
22576 (libc_fesetround): Likewise.
22577 (libc_fesetroundl): Likewise.
22578 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22579 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22580 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22582 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22583 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22585 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22586 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22588 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22592 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22593 integer constant usable in #if and use that to give value to enum
22595 (FE_DIVBYZERO): Likewise.
22596 (FE_UNDERFLOW): Likewise.
22597 (FE_OVERFLOW): Likewise.
22598 (FE_INVALID): Likewise.
22599 (FE_INVALID_SNAN): Likewise.
22600 (FE_INVALID_ISI): Likewise.
22601 (FE_INVALID_IDI): Likewise.
22602 (FE_INVALID_ZDZ): Likewise.
22603 (FE_INVALID_IMZ): Likewise.
22604 (FE_INVALID_COMPARE): Likewise.
22605 (FE_INVALID_SOFTWARE): Likewise.
22606 (FE_INVALID_SQRT): Likewise.
22607 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22608 (FE_TONEAREST): Likewise.
22609 (FE_TOWARDZERO): Likewise.
22610 (FE_UPWARD): Likewise.
22611 (FE_DOWNWARD): Likewise.
22612 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22613 (FE_DIVBYZERO): Likewise.
22614 (FE_OVERFLOW): Likewise.
22615 (FE_UNDERFLOW): Likewise.
22616 (FE_INEXACT): Likewise.
22617 (FE_TONEAREST): Likewise.
22618 (FE_DOWNWARD): Likewise.
22619 (FE_UPWARD): Likewise.
22620 (FE_TOWARDZERO): Likewise.
22621 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22622 (FE_UNDERFLOW): Likewise.
22623 (FE_OVERFLOW): Likewise.
22624 (FE_DIVBYZERO): Likewise.
22625 (FE_INVALID): Likewise.
22626 (FE_TONEAREST): Likewise.
22627 (FE_TOWARDZERO): Likewise.
22628 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22629 (FE_OVERFLOW): Likewise.
22630 (FE_UNDERFLOW): Likewise.
22631 (FE_DIVBYZERO): Likewise.
22632 (FE_INEXACT): Likewise.
22633 (FE_TONEAREST): Likewise.
22634 (FE_TOWARDZERO): Likewise.
22635 (FE_UPWARD): Likewise.
22636 (FE_DOWNWARD): Likewise.
22637 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22638 (FE_DIVBYZERO): Likewise.
22639 (FE_OVERFLOW): Likewise.
22640 (FE_UNDERFLOW): Likewise.
22641 (FE_INEXACT): Likewise.
22642 (FE_TONEAREST): Likewise.
22643 (FE_DOWNWARD): Likewise.
22644 (FE_UPWARD): Likewise.
22645 (FE_TOWARDZERO): Likewise.
22647 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22649 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22651 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22653 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22654 commands. Quote $PWD.
22655 (blacklist_exports): Don't use remove_newlines. Replace "declare
22657 (remove_newlines): Remove.
22659 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22661 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22662 * stdlib/stdlib.h (atof): Moved to ...
22663 * include/bits/stdlib-float.h: Here. New file.
22664 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22665 * stdlib/bits/stdlib-float.h: New file.
22666 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22668 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22671 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22673 * conform/conformtest.pl (@headers): Add fenv.h.
22674 * conform/data/fenv.h-data: New file.
22675 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22676 include of <math/fenv.h>.
22678 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22679 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22680 && !UNIX98]. Enables tests for XOPEN2K8.
22681 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22682 POSIX2008]: Likewise.
22684 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22685 (struct rusage): Do not expect type or its members.
22688 * math/math.h (FP_NAN): Define macro to integer constant usable in
22689 #if and use that to give value to enum constant.
22690 (FP_INFINITE): Likewise.
22691 (FP_ZERO): Likewise.
22692 (FP_SUBNORMAL): Likewise.
22693 (FP_NORMAL): Likewise.
22695 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22697 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22698 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22701 2012-11-02 Roland McGrath <roland@hack.frob.com>
22703 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22704 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22705 autoconf-time if not.
22706 * configure.in: Remove AC_PREREQ.
22708 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22710 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22711 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22712 of the internal implementation.
22714 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22716 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22717 except include of <misc/sys/syslog.h>.
22719 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22722 function returns with a NULL context exit with zero.
22724 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22726 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22728 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22730 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22731 (run_program_cmd): This.
22732 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22733 (tst_langinfo): New variable. Use it.
22735 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22737 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22738 floating point opcodes.
22740 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22742 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22745 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22747 * sysdeps/mach/hurd/powerpc: Remove directory.
22748 * sysdeps/mach/powerpc: Likewise.
22750 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22752 * scripts/check-local-headers.sh: Ignore c++ headers.
22754 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22756 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22757 __libc_cleanup_region_start argument.
22759 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22763 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22764 x * y using scaling, not as x * y + z.
22765 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22766 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22767 * math/libm-test.inc (fma_test): Add more tests.
22768 (fma_test_towardzero): Likewise.
22769 (fma_test_downward): Likewise.
22770 (fma_test_upward): Likewise.
22772 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22774 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22776 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22778 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22781 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22783 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22785 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22792 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22795 Fix the order of the list for glibc 2.17.
22796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22799 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22803 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22806 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22807 for low part of x being zero before using __atanl (y).
22808 * math/libm-test.inc (atan2_test): Add another test.
22810 * manual/install.texi (Configuring and compiling): Document
22811 general use of test-wrapper and test-wrapper-env.
22812 * INSTALL: Regenerated.
22814 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22815 (__fma): Do not extract and scale down low bits on after-rounding
22816 systems when result rounded to normal precision would have normal
22818 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22819 (__fmal): Do not extract and scale down low bits on after-rounding
22820 systems when result rounded to normal precision would have normal
22822 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22823 (__fmal): Do not extract and scale down low bits on after-rounding
22824 systems when result rounded to normal precision would have normal
22826 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22828 (fma_test): Add more tests.
22829 (fma_test_towardzero): Likewise.
22830 (fma_test_downward): Likewise.
22831 (fma_test_upward): Likewise.
22833 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22835 * sysdeps/i386/tininess.h: Renamed to ...
22836 * sysdeps/x86/tininess.h: This.
22837 * sysdeps/x86_64/tininess.h: Removed.
22839 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22841 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22842 input. Use $(build-program-cmd).
22843 ($(objpfx)tst-array1-static.out): Likewise.
22844 ($(objpfx)tst-array2.out): Likewise.
22845 ($(objpfx)tst-array3.out): Likewise.
22846 ($(objpfx)tst-array4.out): Likewise.
22847 ($(objpfx)tst-array5.out): Likewise.
22848 ($(objpfx)tst-array5-static.out): Likewise.
22850 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22852 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22855 * nss/nsswitch.h (nss_interface_function): Provide new
22856 macro for use with NSS functions.
22857 * grp/initgroups.c: Use new macro.
22858 * nss/getXXbyYY.c: Likewise.
22859 * nss/getXXbyYY_r.c: Likewise.
22860 * nss/getXXent.c: Likewise.
22861 * nss/getXXent_r.c: Likewise.
22862 * sysdeps/posix/getaddrinfo.c: Likewise.
22864 2012-10-30 Andreas Jaeger <aj@suse.de>
22866 * po/ru.po: Update Russion translation from translation project.
22868 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22873 result and shift together with sticky bit instead of replicating
22874 round-to-nearest rounding.
22875 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22876 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22877 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22878 missing underflow exceptions.
22879 (fma_test_towardzero): Add more tests.
22880 (fma_test_downward): Likewise.
22881 (fma_test_upward): Likewise.
22884 * sysdeps/generic/tininess.h: New file.
22885 * sysdeps/i386/tininess.h: Likewise.
22886 * sysdeps/sh/tininess.h: Likewise.
22887 * sysdeps/x86_64/tininess.h: Likewise.
22888 * stdlib/tst-strtod-underflow.c: Likewise.
22889 * stdlib/tst-tininess.c: Likewise.
22890 * stdlib/strtod_l.c: Include <tininess.h>.
22891 (round_and_return): Do not set errno for exact underflow cases.
22892 Force an underflow exception when setting errno for underflow.
22893 Determine underflow based on rounding to normal precision if
22894 TININESS_AFTER_ROUNDING.
22895 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22896 ERANGE for exact underflow cases.
22897 * stdlib/Makefile (tests): Add tst-tininess and
22898 tst-strtod-underflow.
22899 ($(objpfx)tst-tininess): Use $(link-libm).
22900 ($(objpfx)tst-strtod-underflow): Likewise.
22902 2012-10-30 Andreas Jaeger <aj@suse.de>
22905 * elf/Makefile (tests): Remove conditional for have-initfini-array
22906 since this is now always required and the variable does not exist
22908 (tests-static): Likewise.
22909 (modules-names): Likewise.
22911 * po/eo.po: Add Esperanto translation from translation project.
22913 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22914 merged with constructor/destructor.
22915 (init_array): Likewise.
22916 * elf/tst-array2dep.c (fini_array): Likewise.
22917 (init_array): Likewise.
22919 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22921 * manual/message.texi: Delete @cartouche tags.
22923 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22925 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22927 * sysdeps/mach/hurd/fsync.c: Likewise.
22929 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22930 [_POSIX_REALTIME_SIGNALS]: Change condition to
22931 [_POSIX_REALTIME_SIGNALS > 0].
22933 2012-10-27 Andreas Jaeger <aj@suse.de>
22935 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22936 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22937 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22938 [__WORDSIZE != 64]: Likewise.
22940 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22942 * iconvdata/tst-table.sh: Remove ${SHELL}.
22943 * iconvdata/tst-tables.sh: Likewise.
22945 2012-10-25 David S. Miller <davem@davemloft.net>
22947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22948 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22951 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22953 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22954 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22955 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22958 2012-10-25 Roland McGrath <roland@hack.frob.com>
22960 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22961 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22964 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22965 Jim Blandy <jimb@codesourcery.com>
22967 * scripts/cross-test-ssh.sh: New file.
22968 * manual/install.texi (Configuring and compiling): Document use of
22970 * INSTALL: Regenerated.
22972 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22974 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22977 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22979 * Makeconfig (run-program-prefix): Fix comment.
22981 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22982 Jim Blandy <jimb@codesourcery.com>
22984 * Makeconfig (test-wrapper): New variable,
22985 (test-wrapper-env): Likewise.
22986 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22987 (run-built-tests): Define to yes.
22988 (run-program-prefix): Use $(test-wrapper).
22989 (built-program-cmd): Likewise.
22990 * Rules (make-test-out): Use $(test-wrapper-env) and
22991 $(host-built-program-cmd).
22992 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22993 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22995 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22996 $(test-wrapper-env) to tst-rtld-load-self.sh.
22997 ($(objpfx)order2.out): Use $(test-wrapper).
22998 ($(objpfx)tst-initorder.out): Likewise.
22999 ($(objpfx)tst-initorder2.out): Likewise.
23000 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23001 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23002 (test_wrapper_env): New variable. Use it to run ld.so.
23003 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23004 Use it to run ld.so.
23005 (test_wrapper_env): Likewise.
23006 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23007 $(test-wrapper) to run-iconv-test.sh.
23008 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23009 (ICONV): Use $test_wrapper.
23010 * posix/Makefile ($(objpfx)globtest.out): Pass
23011 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23012 globtest.sh, not $(run-program-prefix).
23013 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23014 (test_wrapper): Likewise.
23015 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23016 set together with run_via_rtld_prefix.
23017 (run_program_prefix): Define in terms of test_wrapper and
23018 run_via_rtld_prefix.
23020 2012-10-24 Roland McGrath <roland@hack.frob.com>
23022 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23023 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23027 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23028 Declare __clock_getres, __clock_gettime, __clock_settime,
23029 __clock_nanosleep, and __clock_getcpuclockid.
23030 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23031 Remove librt_hidden_def (clock_gettime).
23032 * sysdeps/unix/clock_gettime.c: Likewise.
23033 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23034 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23035 * rt/clock_getres.c: Define __clock_getres as an alias.
23036 * sysdeps/posix/clock_getres.c: Likewise.
23037 * rt/clock_settime.c: Define __clock_settime as an alias.
23038 * sysdeps/unix/clock_settime.c: Likewise.
23039 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23040 * sysdeps/unix/clock_nanosleep.c: Likewise.
23041 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23042 * rt/clock-compat.c: New file.
23043 * rt/Makefile (librt-routines): Add clock-compat and move
23044 $(clock-routines) to ...
23045 (routines): ... here, new variable.
23046 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23047 Don't add get_clockfreq here.
23048 * rt/Versions (libc: GLIBC_2.17): New version set.
23049 Add clock_* symbols here.
23050 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23051 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23052 (GLIBC_2.17): Add clock_* symbols.
23053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23055 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23064 * NEWS: Mention the move.
23066 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23067 Use __open, __read, __close rather than their public counterparts.
23068 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23069 (__get_clockfreq_via_cpuinfo): Likewise.
23070 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23071 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23073 * config.h.in (HAVE_IFUNC): New #undef.
23074 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23076 * configure: Regenerated.
23078 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23080 * configure.in: Move READELF check to start of file.
23081 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23082 libc_cv_asm_gnu_indirect_function in the process.
23083 * configure: Regenerated.
23085 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23087 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23088 send the output to /dev/null.
23089 (libc_cv_cc_with_libunwind): Likewise.
23090 (libc_cv_as_noexecstack): Likewise.
23091 * configure: Regenerate.
23093 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23095 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23097 * posix/globtest.sh (TMPDIR): Do not set.
23098 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23099 (testout): Likewise.
23101 2012-10-24 Andreas Jaeger <aj@suse.de>
23103 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23104 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23105 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23106 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23107 posix_fadvise64, posix_fallocate64.
23109 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23110 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23111 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23113 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23115 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23118 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23119 <bits/fcntl-linux.h>.
23120 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23122 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23123 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23124 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23125 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23126 [__WORDSIZE != 64]: Likewise.
23128 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23130 * Makeconfig (run-built-tests): New variable.
23131 * Rules [$(cross-compiling) = yes]: Change condition to
23132 [$(run-built-tests) = no].
23133 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23134 to [$(run-built-tests) = yes].
23135 * elf/Makefile [$(cross-compiling) = no]: Likewise
23136 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23137 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23138 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23139 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23140 * io/Makefile [$(cross-compiling) = no]: Likewise.
23141 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23142 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23143 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23144 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23145 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23146 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23147 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23148 * string/Makefile [$(cross-compiling) = no]: Likewise.
23150 * posix/Makefile ($(objpfx)globtest.out): Pass
23151 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23152 $(rtld-installed-name).
23153 * posix/globtest.sh (elf_objpfx): Remove variable.
23154 (rtld_installed_name): Likewise.
23155 (library_path): Likewise.
23156 (run_program_prefix): New variable. Use for running globtest
23159 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23160 Joseph Myers <joseph@codesourcery.com>
23162 * Makeconfig (host-built-program-cmd): New variable.
23163 * elf/Makefile (tst-stackguard1-ARGS): Use
23164 $(host-built-program-cmd).
23165 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23166 (tst-spawn-ARGS): Likewise.
23167 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23169 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23170 Jim Blandy <jimb@codesourcery.com>
23172 * Makeconfig (run-via-rtld-prefix): New variable.
23173 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23174 (built-program-cmd): Likewise.
23176 2012-10-22 Andreas Jaeger <aj@suse.de>
23178 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23179 __O_RSYNC if it exists, otherwise to O_SYNC.
23181 2012-10-22 Jim Blandy <jimb@codesourcery.com>
23182 Joseph Myers <joseph@codesourcery.com>
23184 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23186 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23188 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23191 2012-10-22 Andreas Jaeger <aj@suse.de>
23193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23195 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23198 bits/fcntl-linux.h.
23200 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23201 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23205 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23208 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23209 Joseph Myers <joseph@codesourcery.com>
23211 * config.make.in (NM): New variable.
23213 2012-10-21 Andreas Jaeger <aj@suse.de>
23215 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23216 definitions and declarations that are provided by
23217 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23219 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23222 * elf/Makefile (tests-static): Add tst-leaks1-static.
23223 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23224 ($(objpfx)tst-leaks1-static): New rule.
23225 ($(objpfx)tst-leaks1-static-mem): Likewise.
23226 (tst-leaks1-static-ENV): New macro.
23227 * elf/dl-open.c (dl_open_worker): Check the main application
23228 only if SHARED is defined.
23229 * elf/tst-leaks1-static.c: New file.
23231 2012-10-20 Andreas Jaeger <aj@suse.de>
23233 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23234 generic values for Linux.
23235 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23236 and declarations that are provided by <bits/fcntl-linux.h> and
23237 include <bits/fcntl-linux.h>.
23238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23239 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23241 2012-10-20 Roland McGrath <roland@hack.frob.com>
23243 * io/fcntl.h: Move include of <bits/types.h> to the top and
23244 include it unconditionally.
23246 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23248 * wcsmbs/Makefile (tests-ifunc): New variable.
23249 (tests): Add $(tests-ifunc).
23250 * wcsmbs/test-wcschr-ifunc.c: New file.
23251 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23252 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23253 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23254 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23255 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23257 * string/Makefile (tests-ifunc): New variable.
23258 (tests): Add $(tests-ifunc).
23259 * string/test-memccpy.c (TEST_NAME): New macro.
23260 * string/test-memchr.c (TEST_NAME): Likewise.
23261 * string/test-memcmp.c (TEST_NAME): Likewise.
23262 * string/test-memcpy.c (TEST_NAME): Likewise.
23263 * string/test-memmem.c (TEST_NAME): Likewise.
23264 * string/test-memmove.c (TEST_NAME): Likewise.
23265 * string/test-memset.c (TEST_NAME): Likewise.
23266 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23267 * string/test-stpcpy.c (TEST_NAME): Likewise.
23268 * string/test-stpncpy.c (TEST_NAME): Likewise.
23269 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23270 * string/test-strcasestr.c (TEST_NAME): Likewise.
23271 * string/test-strcat.c (TEST_NAME): Likewise.
23272 * string/test-strchr.c (TEST_NAME): Likewise.
23273 * string/test-strcmp.c(TEST_NAME): Likewise.
23274 * string/test-strcpy.c (TEST_NAME): Likewise.
23275 * string/test-strcspn.c (TEST_NAME): Likewise.
23276 * string/test-strlen.c (TEST_NAME): Likewise.
23277 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23278 * string/test-strncmp.c (TEST_NAME): Likewise.
23279 * string/test-strncpy.c (TEST_NAME): Likewise.
23280 * string/test-strnlen.c (TEST_NAME): Likewise.
23281 * string/test-strpbrk.c (TEST_NAME): Likewise.
23282 * string/test-strrchr.c (TEST_NAME): Likewise.
23283 * string/test-strspn.c (TEST_NAME): Likewise.
23284 * string/test-strstr.c (TEST_NAME): Likewise.
23285 * string/test-bcopy-ifunc.c: New file.
23286 * string/test-bzero-ifunc.c: Likewise.
23287 * string/test-memccpy-ifunc.c: Likewise.
23288 * string/test-memchr-ifunc.c: Likewise.
23289 * string/test-memcmp-ifunc.c: Likewise.
23290 * string/test-memcpy-ifunc.c: Likewise.
23291 * string/test-memmem-ifunc.c: Likewise.
23292 * string/test-memmove-ifunc.c: Likewise.
23293 * string/test-mempcpy-ifunc.c: Likewise.
23294 * string/test-memset-ifunc.c: Likewise.
23295 * string/test-rawmemchr-ifunc.c: Likewise.
23296 * string/test-stpcpy-ifunc.c: Likewise.
23297 * string/test-stpncpy-ifunc.c: Likewise.
23298 * string/test-strcasecmp-ifunc.c: Likewise.
23299 * string/test-strcasestr-ifunc.c: Likewise.
23300 * string/test-strcat-ifunc.c: Likewise.
23301 * string/test-strchr-ifunc.c: Likewise.
23302 * string/test-strchrnul-ifunc.c: Likewise.
23303 * string/test-strcmp-ifunc.c: Likewise.
23304 * string/test-strcpy-ifunc.c: Likewise.
23305 * string/test-strcspn-ifunc.c: Likewise.
23306 * string/test-strlen-ifunc.c: Likewise.
23307 * string/test-strncasecmp-ifunc.c: Likewise.
23308 * string/test-strncat-ifunc.c: Likewise.
23309 * string/test-strncmp-ifunc.c: Likewise.
23310 * string/test-strncpy-ifunc.c: Likewise.
23311 * string/test-strnlen-ifunc.c: Likewise.
23312 * string/test-strpbrk-ifunc.c: Likewise.
23313 * string/test-strrchr-ifunc.c: Likewise.
23314 * string/test-strspn-ifunc.c: Likewise.
23315 * string/test-strstr-ifunc.c: Likewise.
23317 * debug/Makefile (tests-ifunc): New variable.
23318 (tests): Add $(tests-ifunc).
23319 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23320 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23321 * debug/test-stpcpy_chk-ifunc.c: New file.
23322 * debug/test-strcpy_chk-ifunc.c: Likewise.
23324 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23327 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23328 header is not read in.
23330 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23332 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23333 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23334 directly. Pass built executable to script as
23335 $(built-program-cmd).
23336 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23337 $testprogram without using LD_LIBRARY_PATH and $ldso.
23339 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23340 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23341 $(rtld-installed-name).
23342 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23343 (rtld_installed_name): Likewise.
23344 (library_path): Likewise.
23345 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23346 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23347 $(run-program-prefix) to tst-tables.sh.
23348 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23349 it to run tst-table-from and tst-table-to.
23350 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23351 Pass it to tst-table.sh.
23352 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23353 $(run-program-prefix) to tst-gettext.sh.
23354 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23356 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23358 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23359 to run tst-gettext.
23360 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23361 to run tst-gettext2.
23362 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23363 to run tst-translit.
23364 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23365 $(run-program-prefix) to tst-mtrace.sh.
23366 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23368 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23369 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23370 $(rtld-installed-name).
23371 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23372 (rtld_installed_name): Likewise.
23373 (run_program_prefix): New variable. Use it to run wordexp-test.
23375 * Makeconfig (ARCH): Remove all definitions.
23376 (machine): Likewise.
23377 [ARCH]: Remove conditional code.
23378 [!objdir]: Give error.
23379 [!objdir] (objpfx): Remove.
23380 [!objdir] (common-objpfx): Likewise.
23381 [!objdir] (common-objdir): Likewise.
23382 * configure.in (config_makefile): Remove. Hardcode Makefile in
23383 AC_CONFIG_FILES call.
23384 * configure: Regenerated.
23387 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23389 (testout): Likewise.
23391 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23392 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23393 $(rtld-installed-name).
23394 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23395 (rtld_installed_name): Likwise.
23396 (runit): Remove function.
23397 (run_getconf): New variable, Use it for running getconf binary.
23399 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23402 * string/test-memmem.c (check_result): New function.
23403 (do_one_test): Use it.
23404 (check1): New function.
23405 (test_main): Use it.
23407 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23409 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23411 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23413 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23414 (_G_LSEEK64): Likewise.
23415 (_G_MMAP64): Likewise.
23416 (_G_FSTAT64): Likewise.
23417 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23418 (_G_LSEEK64): Likewise.
23419 (_G_MMAP64): Likewise.
23420 (_G_FSTAT64): Likewise.
23421 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23422 unconditional. Call __mmap64 directly.
23423 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23424 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23425 __lseek64 directly.
23426 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23427 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23429 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23430 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23431 __lseek64 directly.
23432 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23433 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23434 __lseek64 directly.
23435 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23436 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23437 __lseek64 directly.
23438 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23439 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23440 __fxstat64 directly.
23441 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23442 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23444 (freopen64) [!_G_OPEN64]: Remove conditional code.
23445 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23447 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23448 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23450 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23451 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23453 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23454 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23456 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23457 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23459 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23460 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23462 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23463 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23465 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23467 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23470 * manual/memory.texi (Malloc Tunable Parameters): Add note
23471 about free list pointers overwriting some perturb bytes.
23472 Wording suggested by Roland McGrath.
23474 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23476 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23477 (lgamma_test): Likewise.
23478 (tgamma_test): Likewise.
23480 2012-10-16 Florian Weimer <fweimer@redhat.com>
23483 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23484 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23486 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23488 * NEWS: Mention BZ #14716.
23489 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23490 when removing AVAILABLE1_USES_J macro.
23492 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23494 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23495 (__bswap_64): __uint64_t for unsigned 64-bit int.
23497 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23499 * include/string.h (memmem): Declare libc hidden alias.
23500 * string/memmem.c (memmem): Define libc hidden alias.
23501 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23502 __read, __close instead of open, read, close.
23504 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23506 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23507 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23509 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23510 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23511 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23513 (__rawmemchr_sse2): Likewise.
23514 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23515 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23516 (__strchr_sse2): Likewise.
23517 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23518 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23519 (__strcasecmp_sse2): Likewise.
23520 (__strncasecmp_sse2): Likewise.
23521 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23522 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23523 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23524 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23525 (__strrchr_sse2): Likewise.
23526 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23528 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23529 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23530 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23531 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23532 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23533 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23534 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23535 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23536 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23537 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23538 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23539 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23540 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23541 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23542 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23543 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23544 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23545 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23546 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23547 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23548 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23549 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23550 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23551 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23552 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23553 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23554 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23555 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23556 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23557 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23559 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23561 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23562 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23563 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23564 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23566 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23568 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23569 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23570 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23571 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23573 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23574 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23575 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23576 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23577 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23578 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23579 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23580 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23581 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23582 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23583 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23584 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23585 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23586 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23587 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23588 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23589 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23590 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23591 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23592 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23593 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23594 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23595 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23596 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23597 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23598 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23599 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23600 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23601 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23602 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23603 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23604 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23605 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23606 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23607 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23608 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23609 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23610 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23611 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23612 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23613 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23615 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23616 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23617 * include/ifunc-impl-list.h: New file.
23618 * misc/ifunc-impl-list.c: Likewise.
23619 * misc/Makefile (routines): Add ifunc-impl-list.
23620 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23621 * string/test-string.h: Include <ifunc-impl-list.h>.
23622 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23623 TEST_NAME]: New variables.
23624 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23626 (test_init): Call __libc_ifunc_impl_list to initialize
23627 func_list if TEST_IFUNC and TEST_NAME are defined.
23629 * string/Makefile (strop-tests): Add bcopy and bzero.
23630 * string/test-bcopy.c: New file.
23631 * string/test-bzero.c: Likewise.
23632 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23634 * string/test-memset.c: Support bzero test if TEST_BZERO is
23636 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23638 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23640 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23643 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23645 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23646 * configure: Regenerated.
23648 * Makeconfig (+link-static-before-libc): Don't include
23649 $(link-static-libc).
23651 * libio/libio.h (_IO_pos_t): Remove.
23653 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23655 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23658 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23660 * crypt/crypt-entry.c: Include fips-private.h.
23661 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23662 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23663 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23664 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23666 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23668 * crypt/crypt-private.h: Include stdbool.h.
23669 (_ufc_setup_salt_r): Return bool.
23670 * crypt/crypt-entry.c: Include errno.h.
23671 (__crypt_r): Return NULL with EINVAL for bad salt.
23672 * crypt/crypt_util.c (bad_for_salt): New.
23673 (_ufc_setup_salt_r): Check that salt is long enough and within
23674 the specified alphabet.
23675 * crypt/badsalttest.c: New file.
23676 * crypt/Makefile (tests): Add it.
23677 ($(objpfx)badsalttest): New.
23679 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23681 * NEWS: Add entry for BZ #14602.
23683 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23685 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23687 * math/libm-test.inc: Update comment listing what functions and
23689 (isgreater_test): New function.
23690 (isgreaterequal_test): Likewise.
23691 (isless_test): Likewise.
23692 (islessequal_test): Likewise.
23693 (islessgreater_test): Likewise.
23694 (isunordered_test): Likewise.
23695 (main): Call the new functions.
23697 2012-10-09 Roland McGrath <roland@hack.frob.com>
23699 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23700 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23701 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23702 * sysdeps/i386/configure: Regenerated.
23703 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23704 * sysdeps/mach/configure: Regenerated.
23705 * sysdeps/mach/hurd/configure: Regenerated.
23706 * sysdeps/powerpc/configure: Regenerated.
23707 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23708 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23709 * sysdeps/s390/s390-32/configure: Regenerated.
23710 * sysdeps/s390/s390-64/configure: Regenerated.
23711 * sysdeps/sh/configure: Regenerated.
23712 * sysdeps/sparc/configure: Regenerated.
23713 * sysdeps/unix/sysv/linux/configure: Regenerated.
23714 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23715 * sysdeps/x86_64/configure: Regenerated.
23717 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23718 defined. Don't check if MAP is NULL.
23720 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23722 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23723 (_G_stat64): Likewise.
23724 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23725 (_G_stat64): Likewise.
23726 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23727 instead of struct _G_stat64.
23728 * libio/fileops.c (mmap_remap_check): Likewise.
23729 (decide_maybe_mmap): Likewise.
23730 (_IO_new_file_seekoff): Likewise.
23731 (_IO_file_stat): Likewise.
23732 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23734 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23735 instead of struct _G_stat64.
23736 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23738 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23741 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23743 (CHECK_EOL): New macro.
23744 (two_way_short_needle): Check beginning of haystack for EOL. Use
23746 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23747 Replace with CHECK_EOL.
23748 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23749 Replace with CHECK_EOL.
23751 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23753 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23755 * math/libm-test.inc: Update comment listing what functions and
23757 (finite_test): New function.
23758 (isinf_test): Likewise.
23759 (isnan_test): Likewise.
23760 (fpclassify_test): Test subnormal input.
23761 (isfinite_test): Likewise.
23762 (isnormal_test): Likewise.
23763 (main): Call the new functions.
23765 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23768 * Makerules (%.dynsym): Force C locale when running
23769 $(OBJDUMP) --dynamic-syms.
23771 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23773 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23776 2012-10-06 David S. Miller <davem@davemloft.net>
23778 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23779 upper 32-bits of the length value in %o2 since we use branch-on-register
23780 tests which consider the entire 64-bit register.
23782 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23784 * string/test-strstr.c (check2): Add a test for page boundary.
23786 2012-10-05 David S. Miller <davem@davemloft.net>
23788 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23789 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23791 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23793 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23794 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23795 and bzero when HWCAP_SPARC_CRYPTO is present.
23797 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23800 * string/test-strstr.c (check2): New function.
23801 (test_main): Call check2.
23803 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23805 * string/bug-strcasestr1.c (do_test): Moved to ...
23806 * string/test-strcasestr.c (check1): Here. New function.
23807 (do_one_test): Break out result checking code into ...
23808 (check_result): This. New function.
23809 (do_one_test): Call check_result.
23810 (test_main): Call check1.
23811 * string/bug-strchr1.c (do_test): Moved to ...
23812 * string/test-strchr.c (check1): Here. New function.
23813 (do_one_test): Break out result checking code into ...
23814 (check_result): This. New function.
23815 (do_one_test): Call check_result.
23816 (test_main): Call check1.
23817 * string/bug-strstr1.c (main): Moved to ...
23818 * string/test-strstr.c (check1): Here. New function.
23819 (do_one_test): Break out result checking code into ...
23820 (check_result): This. New function.
23821 (do_one_test): Call check_result.
23822 (test_main): Call check1.
23823 * string/bug-strcasestr1.c: Removed.
23824 * string/bug-strchr1.c: Likewise.
23825 * string/bug-strstr1.c: Likewise.
23827 * elf/Makefile (dl-routines): Add hwcaps.
23828 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23829 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23830 (_dl_important_hwcaps): Moved to ...
23831 * elf/dl-hwcaps.c: Here. New file.
23832 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23835 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23836 if IS_IN_rtld isn't defined.
23838 * elf/dl-support.c (_dl_sysinfo_map): New.
23839 Include "get-dynamic-info.h" and "setup-vdso.h".
23840 (_dl_non_dynamic_init): Call setup_vdso.
23841 * elf/dynamic-link.h: Don't include <assert.h>.
23842 (elf_get_dynamic_info): Moved to ...
23843 * elf/get-dynamic-info.h: Here. New file.
23844 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23845 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23846 * elf/setup-vdso.h: Here. New file.
23847 * elf/rtld.c: Include "setup-vdso.h".
23848 (dl_main): Call setup_vdso.
23850 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23852 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23853 creal in comment listing functions tested. List finite, isinf,
23854 isnan, isless, islessequal, isgreater, isgreaterequal,
23855 islessgreater, isunordered, lgamma_r and pow10 as functions and
23856 macros not tested. Mention which functions not tested are aliases
23857 for other functions. Fix typo. Note that signs of NaNs are not
23860 * scripts/config.guess: Update from config.git.
23861 * scripts/config.sub: Likewise.
23863 2012-10-04 Roland McGrath <roland@hack.frob.com>
23865 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23866 * misc/madvise.c (madvise): Renamed to __madvise.
23867 Make madvise a weak alias.
23868 * include/sys/mman.h: Declare __madvise.
23869 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23870 * sysdeps/unix/syscalls.list
23871 (madvise): Make __madvise the strong name, and madvise a weak alias.
23872 * sysdeps/unix/sysv/linux/syscalls.list
23873 (madvise, mmap): Remove redundant entries.
23874 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23875 * malloc/malloc.c (mtrim): Likewise.
23876 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23878 2012-10-03 Roland McGrath <roland@hack.frob.com>
23880 * sysdeps/mach/hurd/dl-cache.c: File removed.
23881 * config.h.in (USE_LDCONFIG): New #undef.
23882 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23883 * configure: Regenerated.
23884 * elf/Makefile (dl-routines): Add dl-cache only under
23885 [$(use-ldconfig) = yes].
23886 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23887 cache on [USE_LDCONFIG].
23888 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23890 * elf/rtld.c (dl_main): Likewise.
23892 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23894 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23895 _SC_LEVEL4_CACHE_LINESIZE.
23897 2012-10-03 Roland McGrath <roland@hack.frob.com>
23899 * sysdeps/unix/bsd/confstr.h: File removed.
23901 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23903 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23906 2012-10-02 Roland McGrath <roland@hack.frob.com>
23908 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23909 Make 'mapoff' field ElfW(Off) rather than off_t.
23911 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23913 * nscd/Makefile: Remove nscd-cflags and all its users.
23914 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23915 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23918 * malloc.c (malloc_printerr): Clarify error message.
23920 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23924 Set bit_FMA_Usable if FMA is supported.
23925 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23927 (bit_FMA4_Usable): Updated.
23928 (index_FMA_Usable): New macro.
23929 (CPUID_FMA): Likewise
23930 (HAS_FMA): Defined with bit_FMA_Usable.
23932 2012-10-01 Roland McGrath <roland@hack.frob.com>
23934 * bits/types.h (__swblk_t): Type removed.
23935 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23936 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23937 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23938 (__SWBLK_T_TYPE): Likewise.
23939 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23940 (__SWBLK_T_TYPE): Likewise.
23941 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23942 (__SWBLK_T_TYPE): Likewise.
23943 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23944 (__SWBLK_T_TYPE): Likewise.
23946 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23947 Honza Horak <hhorak@redhat.com>
23949 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23950 (xdr_mapname): Use YPMAXMAP as maxsize.
23951 (xdr_peername): Use YPMAXPEER as maxsize.
23952 (xdr_keydat): Use YPAXRECORD as maxsize.
23953 (xdr_valdat): Use YPMAXRECORD as maxsize.
23955 2012-10-01 Roland McGrath <roland@hack.frob.com>
23957 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23959 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23960 * csu/init-first.c: ... here.
23961 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23962 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23963 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23964 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23965 * sysdeps/i386/init-first.c: File removed.
23966 * sysdeps/sh/init-first.c: File removed.
23968 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23972 if x * y might underflow to zero and z is zero.
23973 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23974 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23975 * math/libm-test.inc (min_subnorm_value): New variable.
23976 (fma_test): Add more tests.
23977 (fma_test_towardzero): Likewise.
23978 (fma_test_downward): Likewise
23979 (fma_test_upward): Likewise.
23980 (initialize): Set min_subnorm_value.
23982 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23987 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23988 mode for addition resulting in exact zero.
23989 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23992 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23993 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23994 * math/libm-test.inc (fma_test): Add more tests.
23995 (fma_test_towardzero): New function.
23996 (fma_test_downward): Likewise.
23997 (fma_test_upward): Likewise.
23998 (main): Call the new functions.
24000 2012-09-28 David S. Miller <davem@davemloft.net>
24002 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24004 2012-09-28 Roland McGrath <roland@hack.frob.com>
24006 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24007 instead of SIGALRM.
24009 * sysdeps/gnu/_G_config.h: Moved to ...
24010 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24011 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24012 * sysdeps/generic/_G_config.h: ... here.
24014 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24016 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24018 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24019 Conditionalize target on [libnss_test1.so-version].
24021 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24023 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24024 (elfobjdir): Move out of conditionals.
24026 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24027 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24028 (__nss_lookup_function): Conditionalize label remove_from_tree on
24029 [!DO_STATIC_NSS || SHARED], matching its only use.
24031 2012-09-28 David S. Miller <davem@davemloft.net>
24033 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24034 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24036 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24038 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24039 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24040 when HWCAP_SPARC_CRYPTO is present.
24042 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24044 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24046 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24049 * stdio-common/vfprintf.c (process_string_arg): Revert
24052 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24054 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24056 * stdio-common/tst-sprintf.c: Include <locale.h>
24057 (main): Test sprintf's handling of incomplete multibyte
24060 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24062 * elf/dl-runtime.c (VERSYMIDX): Removed.
24063 * elf/dl-version.c (VERSYMIDX): Likewise.
24064 * elf/do-rel.h (VERSYMIDX): Likewise.
24065 (VALIDX): Likewise.
24066 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24067 * elf/rtld.c (VALIDX): Likewise.
24068 (ADDRIDX): Likewise.
24069 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24070 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24071 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24072 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24073 (VALIDX): Likewise.
24074 (ADDRIDX): Likewise.
24076 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24078 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24080 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24083 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24085 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24086 addresses are in the same scope as 192.0.2/24.
24087 * posix/gai.conf: Document new scope table defaults.
24089 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24092 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24093 for ftell. Compute offsets from write pointers instead.
24094 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24096 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24099 * libio/Makefile (tests): New test case tst-fseek.
24100 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24101 combination works in wide mode.
24102 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24103 state when the external buffer state changes.
24105 2012-09-27 David S. Miller <davem@davemloft.net>
24108 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24109 pass reloc->r_addend in as the 'high' argument to
24110 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24114 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24116 * rt/tst-aio2.c: Include <pthread.h>.
24117 * rt/tst-aio3.c: Likewise.
24119 2012-09-27 Steve Ellcey <sellcey@mips.com>
24121 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24123 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24125 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24126 contents on [SHARED].
24128 2012-09-26 Marek Polacek <polacek@redhat.com>
24132 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24133 for C++ and GCC <4.3 as well as for non GCC compilers.
24135 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24139 2012-09-25 Roland McGrath <roland@hack.frob.com>
24141 * Makefile.in (all, install): Declare with .PHONY.
24142 Reported by Michael Hope <michael.hope@linaro.org>.
24144 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24146 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24147 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24149 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24151 (sydep_routines): Add the new and the internal functions.
24152 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24153 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24155 (GLIBC_2.17): Add the new function.
24156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24157 (GLIBC_2.17): Likewise.
24158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24159 (GLIBC_2.17): Likewise.
24160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24161 (GLIBC_2.17): Likewise.
24162 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24164 2012-09-25 Alan Modra <amodra@gmail.com>
24166 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24167 Add release barrier before setting once_control to say
24168 initialisation is done. Add hints on lwarx. Use macro in
24170 (clear_once_control): Add release barrier.
24172 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24175 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24177 * math/s_clog10.c (__clog10): Likewise.
24178 * math/s_clog10f.c (__clog10f): Likewise.
24179 * math/s_clog10l.c (__clog10l): Likewise.
24180 * math/s_clogf.c (__clogf): Likewise.
24181 * math/s_clogl.c (__clogl): Likewise.
24182 * math/Makefile (libm-calls): Add x2y2m1.
24183 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24184 (__x2y2m1): Likewise.
24185 (__x2y2m1l): Likewise.
24186 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24187 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24188 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24189 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24190 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24191 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24192 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24193 * sysdeps/i386/fpu/libm-test-ulps: Update.
24194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24197 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24198 int as type of variable DEPTH.
24199 (glob): Use size_t instead of int as type of variables NEWCOUNT
24202 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24204 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24205 Add s_sincosf-sse2.
24206 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24207 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24208 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24209 macros for using routine as __sincosf_ia32.
24210 Use macro for function declaration and weak_alias.
24211 * sysdeps/i386/fpu/libm-test-ulps: Update.
24213 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24214 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24216 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24217 subnormal argument.
24218 * math/s_cexpf.c (__cexpf): Likewise.
24219 * math/s_csinf.c (__csinf): Likewise.
24220 * math/s_csinhf.c (__csinhf): Likewise.
24221 * math/s_ctanf.c (__ctanf): Likewise.
24222 * math/s_ctanhf.c (__ctanhf): Likewise.
24223 * math/s_ccosh.c (__ccoshf): Likewise.
24224 * math/s_cexp.c (__cexpl): Likewise.
24225 * math/s_csin.c (__csin): Likewise.
24226 * math/s_csinh.c (__csinh): Likewise.
24227 * math/s_ctan.c (__ctan): Likewise.
24228 * math/s_ctanh.c (ctanh): Likewise.
24229 * math/s_ccoshl.c (__ccoshl): Likewise.
24230 * math/s_cexpl.c (__cexpl): Likewise.
24231 * math/s_csinl.c (__csinl): Likewise.
24232 * math/s_csinhl.c (__csinhl): Likewise.
24233 * math/s_ctanl.c (__ctanl): Likewise.
24234 * math/s_ctanhl.c (__ctanhl): Likewise.
24236 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24238 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24239 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24240 (_IO_off_t): Define to __off_t, not _G_off_t.
24241 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24242 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24243 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24244 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24245 type of __dummy and __dummy2 fields.
24246 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24247 (_G_ssize_t): Likewise.
24248 (_G_off_t): Likewise.
24249 (_G_pid_t): Likewise.
24250 (_G_uid_t): Likewise.
24251 (_G_wchar_t): Likewise.
24252 (_G_wint_t): Likewise.
24253 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24254 (_G_ssize_t): Likewise.
24255 (_G_off_t): Likewise.
24256 (_G_pid_t): Likewise.
24257 (_G_uid_t): Likewise.
24258 (_G_wchar_t): Likewise.
24259 (_G_wint_t): Likewise.
24260 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24261 (_G_ssize_t): Likewise.
24262 (_G_off_t): Likewise.
24263 (_G_pid_t): Likewise.
24264 (_G_uid_t): Likewise.
24265 (_G_wchar_t): Likewise.
24266 (_G_wint_t): Likewise.
24268 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24270 * malloc/arena.c: Include malloc-sysdep.h.
24271 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24272 is sufficient to shrink the heap or an unmap is needed.
24273 * sysdeps/generic/malloc-sysdep.h: New file. Define
24274 new function check_may_shrink_heap.
24275 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24276 new function check_may_shrink_heap.
24278 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24280 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24283 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24285 * catgets/test-gencat.sh: Add "set -e".
24286 * elf/tst-pathopt.sh: Likewise.
24287 * grp/tst_fgetgrent.sh: Likewise.
24288 * iconvdata/run-iconv-test.sh: Likewise.
24289 * intl/tst-gettext.sh: Likewise.
24290 * intl/tst-gettext2.sh: Likewise.
24291 * intl/tst-gettext4.sh: Likewise.
24292 * intl/tst-gettext6.sh: Likewise.
24293 * intl/tst-translit.sh: Likewise.
24294 * io/ftwtest-sh: Likewise.
24295 * libio/test-freopen.sh: Likewise.
24296 * malloc/tst-mtrace.sh: Likewise.
24297 * posix/globtest.sh: Likewise.
24298 * posix/tst-getconf.sh: Likewise.
24299 * posix/wordexp-tst.sh: Likewise.
24300 * stdio-common/tst-printf.sh: Likewise.
24301 * stdio-common/tst-unbputc.sh: Likewise.
24302 * stdlib/tst-fmtmsg.sh: Likewise.
24303 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24304 * catgets/Makefile: Do not specify -e option when running
24305 testsuite shell scripts.
24306 * elf/Makefile: Likewise.
24307 * grp/Makefile: Likewise.
24308 * iconvdata/Makefile: Likewise.
24309 * intl/Makefile: Likewise.
24310 * io/Makefile: Likewise.
24311 * libio/Makefile: Likewise.
24312 * malloc/Makefile: Likewise.
24313 * posix/Makefile: Likewise.
24314 * stdio-common/Makefile: Likewise.
24315 * stdlib/Makefile: Likewise.
24316 * sysdeps/x86_64/Makefile: Likewise.
24318 * io/ftwtest-sh: Add copyright header.
24319 * posix/globtest.sh: Likewise.
24320 * posix/tst-getconf.sh: Likewise.
24321 * posix/wordexp-tst.sh: Likewise.
24322 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24324 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24327 * Makeconfig (+link): Defined as $(+link-static) if
24328 $(build-shared) isn't yes.
24329 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24331 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24333 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24336 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24337 new chunk size with MALLOC_ALIGN_MASK.
24339 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24342 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24344 (__printf_fphex): Determine rounding using get_rounding_mode and
24346 * stdio-common/tst-printf-round.c (struct hex_test): New
24348 (hex_tests): New variable.
24349 (test_hex_in_one_mode): New function.
24350 (do_test): Also run tests for hex float output.
24352 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24354 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24355 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24356 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24357 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24358 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24359 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24360 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24361 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24363 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24365 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24366 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24367 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24368 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24370 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24373 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24375 * elf/tst-rtld-load-self.sh: New test.
24376 * elf/Makefile: Run it.
24378 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24380 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24381 (tst-writev-ENV): Remove.
24382 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24384 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24386 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24388 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24390 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24392 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24394 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24395 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24396 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24399 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24402 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24403 * config.make.in (have-cpp-asm-debuginfo): Removed.
24404 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24405 * configure: Regenerated.
24407 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24410 * stdio-common/printf_fp.c: Include <stdbool.h> and
24412 (___printf_fp): Determine rounding using get_rounding_mode and
24414 * stdio-common/tst-printf-round.c: New file.
24415 * stdio-common/Makefile (tests): Add tst-printf-round.
24416 (link-libm): New variable.
24417 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24419 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24422 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24423 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24425 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24428 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24430 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24431 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24432 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24433 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24435 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24438 * include/rounding-mode.h: New file.
24439 * sysdeps/generic/get-rounding-mode.h: Likewise.
24440 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24441 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24442 (MAX_VALUE): New macro.
24443 (MIN_VALUE): Likewise.
24444 (overflow_value): New function.
24445 (underflow_value): Likewise.
24446 (round_and_return): Use overflow_value and underflow_value to
24447 determine return values in overflow and underflow cases. Use
24448 round_away to determine rounding depending on rounding mode.
24449 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24450 determine return values in overflow and underflow cases.
24451 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24452 (struct test_results): New structure.
24453 (struct test): Use struct test_results to store expected results
24454 for all rounding modes.
24455 (TEST): Include expected results for all rounding modes.
24456 (test_in_one_mode): New function.
24457 (do_test): Use test_in_one_mode to compute and check results.
24458 Check results for all rounding modes.
24459 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24462 2012-12-09 Allan McRae <allan@archlinux.org>
24464 * sysdeps/i386/fpu/libm-test-ulps: Update
24466 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24468 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24469 (_G_int32_t): Likewise.
24470 (_G_uint16_t): Likewise.
24471 (_G_uint32_t): Likewise.
24472 (_G_HAVE_BOOL): Likewise.
24473 (_G_HAVE_ATEXIT): Likewise.
24474 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24475 (_G_HAVE_IO_FILE_OPEN): Likewise.
24476 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24477 (_G_int32_t): Likewise.
24478 (_G_uint16_t): Likewise.
24479 (_G_uint32_t): Likewise.
24480 (_G_HAVE_BOOL): Likewise.
24481 (_G_HAVE_ATEXIT): Likewise.
24482 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24483 (_G_HAVE_IO_FILE_OPEN): Likewise.
24484 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24485 (_G_int32_t): Likewise.
24486 (_G_uint16_t): Likewise.
24487 (_G_uint32_t): Likewise.
24488 (_G_HAVE_BOOL): Likewise.
24489 (_G_HAVE_ATEXIT): Likewise.
24490 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24491 (_G_HAVE_IO_FILE_OPEN): Likewise.
24493 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24495 * csu/libc-tls.c: Update copyright years.
24497 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24499 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24500 [!_G_USING_THUNKS]: Remove conditional code.
24501 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24502 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24504 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24505 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24506 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24507 (_G_VTABLE_LABEL_PREFIX): Likewise.
24508 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24509 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24510 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24511 (_G_VTABLE_LABEL_PREFIX): Likewise.
24512 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24513 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24514 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24515 (_G_VTABLE_LABEL_PREFIX): Likewise.
24516 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24518 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24520 * libio/Makefile: Include ../Makeconfig before tests.
24521 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24522 only if $(build-shared) is yes.
24524 * iconv/gconv_db.c: Update copyright years.
24526 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24528 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24529 unwind info if defined PIC. Fix special cases description.
24530 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24532 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24534 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24536 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24538 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24540 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24543 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24544 (LDLIBS-tst-chk4): This.
24545 (LDFLAGS-tst-chk5): Renamed to ...
24546 (LDLIBS-tst-chk5): This.
24547 (LDFLAGS-tst-chk6): Renamed to ...
24548 (LDLIBS-tst-chk6): This.
24549 (LDFLAGS-tst-lfschk4): Renamed to ...
24550 (LDLIBS-tst-lfschk4): This.
24551 (LDFLAGS-tst-lfschk5): Renamed to ...
24552 (LDLIBS-tst-lfschk5): This.
24553 (LDFLAGS-tst-lfschk6): Renamed to ...
24554 (LDLIBS-tst-lfschk6): This.
24556 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24557 on $(common-objpfx)soversions.mk.
24559 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24562 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24565 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24567 * malloc/arena.c (arena_get_retry): New function that gets
24568 another arena for the caller to try its request on.
24569 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24570 current arena cannot fulfill the request.
24571 (__libc_memalign): Likewise.
24572 (__libc_memalign): Likewise.
24573 (__libc_pvalloc): Likewise.
24574 (__libc_calloc): Likewise.
24576 2012-09-05 John Tobey <john.tobey@gmail.com>
24579 * manual/arith.texi (Operations on Complex): Fix description
24580 of carg branch cut.
24582 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24585 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24589 * manual/memory.texi (Memory): Make order of menu items match
24592 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24594 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24595 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24596 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24598 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24600 * csu/libc-tls.c (static_dtv): Renamed to ...
24601 (_dl_static_dtv): This. Make it global.
24602 (_dl_initial_dtv): Removed.
24603 (__libc_setup_tls): Updated.
24604 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24605 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24608 2012-09-06 Petr Machata <pmachata@redhat.com>
24610 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24611 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24612 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24613 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24615 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24618 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24619 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24622 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24625 * Makeconfig (link-static-before-libc): Replace $(+prector)
24627 (link-static-after-libc): Replace $(+postctor) with
24629 (link-bounded): Replace $(+prector)/$(+postctor) with
24630 $(+prectorT)/$(+postctorT).
24631 (+prectorT): New macro.
24632 (+postctorT): Likewise.
24634 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24636 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24637 (round_str): Handle values above the maximum for IBM long double
24639 * stdlib/tst-strtod-round.c (tests): Regenerated.
24641 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24643 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24645 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24646 zarch_nohighgprs around the zarch optimized routines.
24647 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24648 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24649 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24652 2012-09-05 David S. Miller <davem@davemloft.net>
24654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24656 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24657 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24658 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24659 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24662 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24664 * malloc/arena.c: Fold copyright years.
24665 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24667 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24669 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24671 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24673 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24675 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24677 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24678 change internal state upon failure.
24680 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24682 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24683 * malloc/memusage.c (mmap): Likewise.
24684 (mmap64, mremap): Likewise. Adjust name in comment.
24686 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24688 * libio/fileops.c: Fix typos in comments.
24689 * libio/oldfileops.c: Likewise.
24690 * libio/wfileops.c: Likewise.
24692 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24695 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24696 (tst-malloc-usable-ENV): Set environment for test case.
24697 * malloc/hooks.c (malloc_check_get_size): New function to get
24699 * malloc/malloc.c (musable): Use malloc_check_get_size.
24700 * malloc/tst-malloc-usable.c: New test case.
24702 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24704 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24706 2012-09-05 Allan McRae <allan@archlinux.org>
24709 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24710 determine header location.
24711 * configure: Regenerated.
24713 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24715 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24717 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24718 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24720 (test): Regenerate.
24722 2012-09-04 David S. Miller <davem@davemloft.net>
24724 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24725 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24726 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24728 2012-09-04 Florian Weimer <fweimer@redhat.com>
24730 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24733 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24735 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24738 * libio/iogetdelim.c: Include <limits.h>.
24739 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24740 + len + 1 would overflow.
24742 2012-09-03 Andreas Jaeger <aj@suse.de>
24744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24745 * sysdeps/i386/fpu/libm-test-ulps: Update.
24747 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24749 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24750 Add s_sinf-sse2, s_conf-sse2.
24752 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24753 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24754 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24755 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24757 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24758 for using routine as __sinf_ia32.
24759 Use macro for function declaration and weak_alias.
24760 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24761 for using routine as __cosf_ia32.
24762 Use macro for function declaration and weak_alias.
24764 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24765 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24767 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24768 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24771 * math/libm-test.inc (cos_test): Add more test cases.
24772 (sin_test): Likewise.
24773 (sincos_test): Likewise.
24775 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24777 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24778 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24780 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24782 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24785 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24786 first element of the GOT.
24787 (elf_machine_load_address): Return the difference between
24788 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24790 2012-09-01 Allan McRae <allan@archlinux.org>
24793 * configure.in (AWK): Require gawk version 3.0 or later.
24794 * configure: Regenerated.
24796 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24798 * sysdeps/unix/sysv/linux/kernel-features.h
24799 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24800 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24801 [__NR_clock_getres]: Make code unconditional.
24802 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24803 (clock_getcpuclockid): Remove code left unreachable by removal of
24805 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24806 code unconditional.
24807 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24808 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24809 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24810 Make code unconditional.
24811 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24812 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24813 * sysdeps/unix/sysv/linux/clock_settime.c
24814 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24816 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24817 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24819 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24822 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24823 scripts/test-installation.pl.
24825 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24826 and $ld_so_version if it is set.
24828 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24831 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24832 failure if reading from procfs failed.
24833 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24835 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24837 * sysdeps/unix/sysv/linux/kernel-features.h
24838 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24839 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24840 Remove conditional code.
24841 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24842 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24843 Remove conditional code.
24844 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24845 * sysdeps/unix/sysv/linux/i386/fxstat.c
24846 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24847 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24848 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24849 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24850 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24851 * sysdeps/unix/sysv/linux/i386/lxstat.c
24852 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24853 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24854 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24855 Remove conditional code.
24856 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24857 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24858 Remove conditional code.
24859 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24860 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24861 <kernel-features.h>.
24862 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24864 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24865 Remove conditional code.
24866 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24867 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24868 Remove conditional.
24870 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24873 * NEWS: Add fixed bug number.
24875 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24878 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24879 underflowing exponent in case of negative sign.
24880 * stdlib/tst-strtod-round-data: Add more tests.
24881 * stdlib/tst-strtod-round.c (tests): Regenerated.
24884 * stdlib/strtod_l.c (NDIG): Remove.
24885 (HEXNDIG): Likewise.
24886 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24887 smallest representable value.
24888 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24889 lie within an exact representation of 1/2 ulp of the result.
24890 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24892 (TENS_P9_IDX): Define unconditionally.
24893 (TENS_P9_SIZE): Likewise.
24894 (TENS_P10_IDX): Likewise.
24895 (TENS_P10_SIZE): Likewise.
24896 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24897 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24898 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24899 entries for 10^2^13 and 10^2^14.
24900 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24901 (TENS_P13_IDX): Define.
24902 (TENS_P13_SIZE): Likewise.
24903 (TENS_P14_IDX): Likewise.
24904 (TENS_P14_SIZE): Likewise.
24905 (_fpioconst_pow10): Change array size to
24906 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24908 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24909 1024]: Add entries for 10^2^13 and 10^2^14.
24910 [LAST_POW10 > _LAST_POW10]: Remove #error.
24911 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24912 (_fpioconst_pow10): Change array size to
24913 FPIOCONST_POW10_ARRAY_SIZE.
24914 * stdlib/gen-fpioconst.c: New file.
24915 * stdlib/gen-tst-strtod-round.c: Likewise.
24916 * stdlib/tst-strtod-round-data: Likewise.
24917 * stdlib/tst-strtod-round.c: Likewise.
24918 * stdlib/Makefile (tests): Add tst-strtod-round.
24921 * stdlib/strtod_l.c: Include <stdint.h>.
24922 (NDEBUG): Do not define.
24923 (round_and_return): Change EXPONENT parameter to type intmax_t.
24924 Rearrange calculations to avoid internal overflow possibilities.
24925 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24926 Rearrange calculations to avoid internal overflow possibilities.
24927 Assert that number fits inside MPNSIZE limbs.
24928 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24929 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24930 calculations and add assertions to avoid internal overflow
24931 possibilities. Add casts to avoid signed/unsigned operations.
24932 * stdlib/tst-strtod-overflow.c: New file.
24933 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24935 2012-08-25 Marek Polacek <polacek@redhat.com>
24937 * time/time.h: Fix some typos in comments.
24939 2012-08-23 Roland McGrath <roland@hack.frob.com>
24941 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24942 * posix/tst-rfc3484-2.c: Likewise.
24943 * posix/tst-rfc3484-3.c: Likewise.
24945 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24947 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24948 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24950 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24952 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24953 #include of fxstatat64.c.
24955 2012-08-22 Roland McGrath <roland@hack.frob.com>
24957 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24958 * shadow/getspent_r.c: Likewise.
24959 * shadow/getspnam.c: Likewise.
24960 * shadow/getspnam_r.c: Likewise.
24961 * gshadow/getsgent.c: Likewise.
24962 * gshadow/getsgent_r.c: Likewise.
24963 * gshadow/getsgnam.c: Likewise.
24964 * gshadow/getsgnam_r.c: Likewise.
24965 * inet/getnetbyad.c: Likewise.
24966 * inet/getnetbyad_r.c: Likewise.
24967 * inet/getnetbynm.c: Likewise.
24968 * inet/getnetbynm_r.c: Likewise.
24969 * inet/getnetent.c: Likewise.
24970 * inet/getnetent_r.c: Likewise.
24971 * inet/getproto.c: Likewise.
24972 * inet/getproto_r.c: Likewise.
24973 * inet/getprtent.c: Likewise.
24974 * inet/getprtent_r.c: Likewise.
24975 * inet/getprtname.c: Likewise.
24976 * inet/getprtname_r.c: Likewise.
24977 * inet/getrpcbyname.c: Likewise.
24978 * inet/getrpcbyname_r.c: Likewise.
24979 * inet/getrpcbynumber.c: Likewise.
24980 * inet/getrpcbynumber_r.c: Likewise.
24981 * inet/getrpcent.c: Likewise.
24982 * inet/getrpcent_r.c: Likewise.
24983 * inet/getaliasent.c: Likewise.
24984 * inet/getaliasent_r.c: Likewise.
24985 * inet/getaliasname.c: Likewise.
24986 * inet/getaliasname_r.c: Likewise.
24987 * nscd/getgrgid_r.c: Likewise.
24988 * nscd/getgrnam_r.c: Likewise.
24989 * nscd/gethstbyad_r.c: Likewise.
24990 * nscd/gethstbynm3_r.c: Likewise.
24991 * nscd/getpwnam_r.c: Likewise.
24992 * nscd/getpwuid_r.c: Likewise.
24993 * nscd/getsrvbynm_r.c: Likewise.
24994 * nscd/getsrvbypt_r.c: Likewise.
24995 * nscd/gai.c: Likewise.
24997 * configure.in (build_nscd): New substituted variable, set
24998 by --disable-build-nscd and defaults to $use_nscd.
24999 * configure: Regenerated.
25000 * config.make.in (build-nscd): New substituted variable.
25001 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25002 Change conditional to require [$(build-nscd) = yes] as well.
25003 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25006 * configure.in (use_nscd): New substituted variable, set by
25007 --disable-nscd. If enabled, define USE_NSCD.
25008 * configure: Regenerated.
25009 * config.h.in: Add USE_NSCD.
25010 * config.make.in (use-nscd): New substituted variable.
25011 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25012 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25013 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25014 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25015 (CFLAGS-getgrnam_r.c): Likewise.
25016 (CFLAGS-initgroups.c): Likewise.
25017 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25018 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25020 * inet/getnetgrent_r.c
25021 (nscd_setnetgrent): New function, broken out of ...
25022 (setnetgrent): ... here. Call it.
25023 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25024 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25025 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25026 * nscd/Makefile (routines, aux): Move definitions after include of
25027 Makeconfig. Conditionalize on [$(use-nscd) != no].
25028 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25029 Conditionalize on [USE_NSCD].
25030 (is_nscd, nscd_init_cb): Likewise.
25031 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25032 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25033 * nss/nss_db/db-init.c: Likewise.
25034 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25036 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25037 (make_request): Use it.
25038 (cache_valid_p): New function.
25039 (__check_pf): Use it.
25040 * NEWS: Add item for --disable-nscd.
25042 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25044 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25045 to support sed >= 4.2.1-20-ga9bf076.
25046 * configure: Regenerated.
25048 2012-08-22 Roland McGrath <roland@hack.frob.com>
25050 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25051 Conditionalize whole body on [IREL].
25053 2012-08-22 Jeff Law <law@redhat.com>
25056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25057 if the family is PF_UNSPEC.
25059 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25061 * Makerules (lib-version): Rename from V.
25062 (install-lib-nosubdir): Change V to lib-version.
25064 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25067 * powerpc32/power6/wcschr.c: New file.
25068 * powerpc32/power6/wcscpy.c: New file.
25069 * powerpc32/power6/wcsrchr.c: New file.
25070 * powerpc64/power6/wcschr.c: New file.
25071 * powerpc64/power6/wcscpy.c: New file.
25072 * powerpc64/power6/wcsrchr.c: New file.
25074 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25076 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25077 (two_way_short_needle): Use it.
25078 * string/strstr.c (AVAILABLE1_USES_J): Define.
25079 * string/strcasestr.c: Likewise.
25081 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25083 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25086 * NEWS: Add an entry.
25087 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25088 define their defaults.
25089 (two_way_short_needle): Detect end-of-string on-the-fly.
25090 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25091 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25092 * string/bug-strcasestr1.c: New test.
25093 * string/Makefile: Run it.
25095 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25098 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25099 the first character.
25101 2012-08-21 Roland McGrath <roland@hack.frob.com>
25103 * csu/elf-init.c (__libc_csu_irel): Function removed.
25104 * csu/libc-start.c (apply_irel): New function.
25105 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25107 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25109 * sysdeps/unix/sysv/linux/kernel-features.h
25110 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25111 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25112 <kernel-features.h>.
25113 [__NR_fadvise64_64]: Make code unconditional.
25114 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25115 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25116 !__NR_fadvise64_64)]: Likewise.
25117 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25118 !__NR_fadvise64_64))]: Likewise.
25119 [__NR_fadvise64]: Make code unconditional.
25120 [!__NR_fadvise64]: Remove conditional code.
25121 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25122 <kernel-features.h>.
25123 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25125 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25128 not include <kernel-features.h>.
25129 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25131 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25133 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25134 include <kernel-features.h>.
25135 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25137 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25140 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25142 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25143 slight instruction rearrangements per scrollpipe analysis.
25144 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25146 2012-08-20 Roland McGrath <roland@hack.frob.com>
25148 * manual/syslog.texi (syslog; vsyslog, closelog):
25149 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25150 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25152 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25153 DSOCAPS to match condition on defining it.
25155 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25157 * sysdeps/unix/sysv/linux/kernel-features.h
25158 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25160 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25161 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25163 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25164 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25166 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25167 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25169 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25170 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25172 * sysdeps/unix/sysv/linux/kernel-features.h
25173 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25174 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25176 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25177 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25178 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25179 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25180 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25181 Make code unconditional.
25182 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25183 (__mmap64) [!__NR_mmap2]: Likewise.
25184 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25185 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25186 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25187 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25188 [__NR_mmap2]: Make code unconditional.
25189 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25190 (__mmap64) [!__NR_mmap2]: Likewise.
25192 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25194 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25196 2012-08-18 Andreas Jaeger <aj@suse.de>
25198 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25200 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25202 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25203 * include/unistd.h (__have_sock_cloexec): Likewise.
25204 (__have_pipe2): Likewise.
25205 (__have_dup3): Likewise.
25207 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25210 * include/unistd.h (__have_pipe2): Change define into an extern int.
25211 (__have_dup3): Likewise.
25212 * socket/have_sock_cloexec.c: Include fcntl.h.
25213 (__have_pipe2): New variable.
25214 (__have_dup3): Likewise.
25216 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25218 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25220 2012-08-17 Marek Polacek <polacek@redhat.com>
25222 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25223 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25225 2012-08-17 Roland McGrath <roland@hack.frob.com>
25227 * configure.in: Add AC_SUBST for sysheaders.
25228 * configure: Regenerated.
25229 * config.make.in (sysheaders): New substituted variable.
25231 * sysdeps/unix/mkfifo.c: Moved ...
25232 * sysdeps/posix/mkfifo.c: ... here.
25233 * sysdeps/unix/mkfifoat.c: Moved ...
25234 * sysdeps/posix/mkfifoat.c: ... here.
25236 * sysdeps/unix/utime.c: Moved ...
25237 * sysdeps/posix/utime.c: ... here.
25239 * sysdeps/unix/time.c: Moved ...
25240 * sysdeps/posix/time.c: ... here.
25241 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25242 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25244 * sysdeps/unix/nice.c: Moved ...
25245 * sysdeps/posix/nice.c: ... here.
25247 * sysdeps/unix/alarm.c: Moved ...
25248 * sysdeps/posix/alarm.c: ... here.
25250 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25252 2012-08-17 Jeff Law <law@redhat.com>
25254 * intl/Makefile (codeset_mo): New variable.
25255 ($(codeset_mo)): New target.
25256 (tst-codeset.out): Depend on that. Remove explicit rule.
25257 (tst-gettext3.out, tst-gettext5.out): Likewise.
25258 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25259 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25260 * intl/tst-codeset.sh: Remove.
25261 * intl/tst-gettext3.sh: Likewise.
25262 * intl/tst-gettext5.sh: Likewise.
25264 2012-08-17 Roland McGrath <roland@hack.frob.com>
25266 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25267 * sysdeps/unix/syscalls.list: ... here.
25269 * sysdeps/posix/getaddrinfo.c
25270 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25271 (gaiconf_init, gaiconf_reload): Use them.
25272 [!_STATBUF_ST_NSEC]
25273 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25274 Define using time_t rather than struct timespec.
25276 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25277 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25279 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25281 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25282 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25285 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25286 __libc_cleanup_push argument.
25288 * bits/param.h: New file.
25289 * misc/sys/param.h: New file.
25290 * include/sys/param.h: New file.
25291 * misc/Makefile (headers): Add bits/param.h.
25292 * sysdeps/generic/sys/param.h: File removed.
25293 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25294 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25295 * sysdeps/mach/hurd/bits/param.h: New file.
25296 * sysdeps/mach/hurd/sys/param.h: File removed.
25298 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25301 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25303 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25304 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25307 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25308 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25309 rather than -D_IO_MTSAFE_IO conditionally.
25310 * stdio-common/Makefile (CPPFLAGS): Likewise.
25311 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25312 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25313 Use $(libio-mtsafe).
25314 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25315 of -D_IO_MTSAFE_IO.
25316 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25317 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25318 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25319 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25320 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25321 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25322 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25323 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25324 (CFLAGS-fread_u_chk.c): Likewise.
25325 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25326 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25327 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25328 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25329 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25330 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25331 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25332 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25333 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25335 * libio/Makefile: Test [$(libc-reentrant) = yes]
25336 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25339 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25340 * sysdeps/pthread/configure: File removed.
25341 * sysdeps/pthread/Makeconfig: New file.
25342 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25343 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25345 2012-08-16 Gary Benson <gbenson@redhat.com>
25347 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25348 unmapping the first object in a namespace.
25350 2012-08-16 Roland McGrath <roland@hack.frob.com>
25352 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25353 (__internal_setnetgrent): ... this. Add internal_function to
25354 definition. Add libc_hidden_def.
25355 (setnetgrent): Update caller.
25356 (internal_endnetgrent): Renamed to ...
25357 (__internal_endnetgrent): ... this. Add internal_function to
25358 definition. Add libc_hidden_def.
25359 (endnetgrent): Update caller.
25360 (internal_getnetgrent_r): Renamed to ...
25361 (__internal_getnetgrent_r): ... this. Add internal_function to
25362 definition. Add libc_hidden_def.
25363 (__getnetgrent_r): Update caller.
25364 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25366 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25368 * stdlib/longlong.h: Update from GCC.
25370 2012-08-16 Roland McGrath <roland@hack.frob.com>
25372 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25373 on _QL, which is set by umul_ppmm but never used.
25374 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25375 variables, which are set by GMP macros but never used.
25376 * stdio-common/_itowa.c (_itowa): Likewise.
25377 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25378 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25380 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25382 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25383 struct La_sh_regs is not constant.
25384 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25385 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25386 and struct La_sparc64_regs are not constant.
25388 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25390 * sysdeps/unix/sysv/linux/kernel-features.h
25391 (__ASSUME_POSIX_TIMERS): Remove.
25392 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25393 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25394 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25395 Make code unconditional.
25396 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25397 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25398 Make code unconditional.
25399 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25400 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25401 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25402 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25403 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25404 Make code unconditional.
25405 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25406 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25407 (__libc_missing_posix_timers): Remove.
25409 2012-08-15 Roland McGrath <roland@hack.frob.com>
25411 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25412 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25414 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25416 * elf/dl-sym.c: Include <stdlib.h>.
25418 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25419 constants, which avoids warnings in 32-bit builds.
25421 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25422 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25424 * misc/lseek.c: File moved to ...
25425 * io/lseek.c: ... here.
25427 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25429 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25430 shifting LEN more than 31 bits at once.
25432 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25435 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25436 segmentation fault for a case of two empty input strings.
25437 * string/test-strncasecmp.c (check1): Renamed to...
25438 (bz12205): ...this.
25439 (bz14195): Add new testcase for two empty input strings and N > 0.
25440 (test_main): Call new testcase, adapt for renamed function.
25442 2012-08-15 Andreas Jaeger <aj@suse.de>
25445 * crypt/md5test2.c: New test, based on test supplied by Serge
25446 Belyshev <belyshev@depni.sinp.msu.ru>.
25447 * crypt/Makefile (xtests): Add md5test-giant..
25448 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25450 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25453 * crypt/md5.c (md5_process_block): Don't assume the buffer
25454 length is less than 2**32.
25455 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25456 length is less than 2**64.
25458 2012-08-15 Roland McGrath <roland@hack.frob.com>
25460 * string/str-two-way.h: Include <sys/param.h>.
25461 (MAX): Macro removed.
25463 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25464 Move #define and #undef of memmove to just before and after
25465 including <string.h>.
25467 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25468 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25469 and after including <string.h>. Move declarations of
25470 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25471 to before #include "string/memmove.c".
25473 * include/dirent.h: Declare __getdirentries.
25475 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25476 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25478 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25480 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25481 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25482 * sysdeps/i386/configure: Regenerated.
25483 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25484 STABS_CURRENT_FILE, and STABS_FUN.
25485 (END): Remove call to STABS_FUN_END.
25486 (STABS_CURRENT_FILE1): Delete.
25487 (STABS_CURRENT_FILE): Likewise.
25488 (STABS_FUN): Likewise.
25489 (STABS_FUN_END): Likewise.
25490 (STABS_FUN2): Likewise.
25491 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25492 * sysdeps/x86_64/configure: Regenerated.
25494 2012-08-14 Roland McGrath <roland@hack.frob.com>
25496 * elf/dl-open.c: Include <atomic.h>.
25497 * elf/dl-lookup.c: Likewise.
25499 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25501 * sysdeps/unix/sysv/linux/kernel-features.h
25502 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25503 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25505 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25507 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25508 condition on __ASSUME_CLONE_THREAD_FLAGS.
25510 2012-08-14 Andreas Jaeger <aj@suse.de>
25512 * sysdeps/i386/fpu/libm-test-ulps: Update.
25514 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25516 * include/atomic.h (atomic_exchange_and_add): Split into ...
25517 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25520 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25524 2012-08-13 Jeff Law <law@redhat.com>
25526 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25527 null byte in the output string.
25529 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25531 * sysdeps/unix/sysv/linux/kernel-features.h
25532 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25533 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25534 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25535 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25536 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25537 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25538 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25540 2012-08-09 Jeff Law <law@redhat.com>
25543 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25544 When avoid_arena is set, don't retry in the that arena. Pick the
25545 next one, whatever it might be.
25546 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25547 (arena_lock): Pass in new parameter to arena_get2.
25548 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25550 (__libc_malloc): Unify retrying after main arena failure with
25551 __libc_memalign version.
25552 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25554 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25557 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25558 to __redirect_strstr.
25559 (__strstr_sse42): Use typeof __redirect_strstr.
25560 (__strstr_ia32): Likewise.
25561 (__libc_strstr): New prototype.
25562 (strstr): Renamed to ...
25563 (__libc_strstr): This.
25564 (strstr): New strong alias of __libc_strstr.
25565 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25566 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25569 (__libc_time): New prototype.
25570 (time_ifunc): Replace time with __libc_time.
25571 (time): New strong alias and hidden definition of __libc_time.
25572 (__GI_time): Remove strong alias.
25573 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25574 Include <stddef.h>.
25575 (memmove): Redefined to __redirect_memmove.
25576 (__memmove_sse2): Use typeof __redirect_memmove.
25577 (__memmove_ssse3): Likewise.
25578 (__memmove_ssse3_back): Likewise.
25579 (__libc_memmove): New prototype.
25580 (memmove): Renamed to ...
25581 (__libc_memmove): This.
25582 (memmove): New strong alias of __libc_memmove.
25584 2012-08-08 Mark Salter <msalter@redhat.com>
25587 (R_MN10300_TLS_GD): Define.
25588 (R_MN10300_TLS_LD): Likewise.
25589 (R_MN10300_TLS_LDO): Likewise.
25590 (R_MN10300_TLS_GOTIE): Likewise.
25591 (R_MN10300_TLS_IE): Likewise.
25592 (R_MN10300_TLS_LE): Likewise.
25593 (R_MN10300_TLS_DTPMOD): Likewise.
25594 (R_MN10300_TLS_DTPOFF): Likewise.
25595 (R_MN10300_TLS_TPOFF): Likewise.
25596 (R_MN10300_SYM_DIFF): Likewise.
25597 (R_MN10300_ALIGN): Likewise.
25598 (R_MN10300_NUM): Update.
25600 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25602 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25605 2012-08-08 Roland McGrath <roland@hack.frob.com>
25607 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25609 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25610 sysdeps/unix -> sysdeps/posix move.
25611 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25613 2012-08-07 Allan McRae <allan@archlinux.org>
25616 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25617 (SUNOS_CPP): Likewise.
25618 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25620 (open_input): Call CPP using execvp.
25622 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25624 * sysdeps/unix/sysv/linux/kernel-features.h
25625 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25626 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25627 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25628 (__ASSUME_WAITID_SYSCALL): Likewise.
25629 * sysdeps/unix/sysv/linux/dl-execstack.c
25630 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25631 code unconditional.
25632 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25634 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25635 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25636 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25638 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25640 [__ASSUME_WAITID_SYSCALL]: Likewise.
25641 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25643 2012-08-07 Roland McGrath <roland@hack.frob.com>
25645 * sysdeps/unix/closedir.c: Renamed to ...
25646 * sysdeps/posix/closedir.c: ... here.
25647 * sysdeps/unix/dirfd.c: Renamed to ...
25648 * sysdeps/posix/dirfd.c: ... here.
25649 * sysdeps/unix/dirstream.h: Renamed to ...
25650 * sysdeps/posix/dirstream.h: ... here.
25651 * sysdeps/unix/fdopendir.c: Renamed to ...
25652 * sysdeps/posix/fdopendir.c: ... here.
25653 * sysdeps/unix/opendir.c: Renamed to ...
25654 * sysdeps/posix/opendir.c: ... here.
25655 * sysdeps/unix/readdir.c: Renamed to ...
25656 * sysdeps/posix/readdir.c: ... here.
25657 * sysdeps/unix/readdir_r.c: Renamed to ...
25658 * sysdeps/posix/readdir_r.c: ... here.
25659 * sysdeps/unix/rewinddir.c: Renamed to ...
25660 * sysdeps/posix/rewinddir.c: ... here.
25661 * sysdeps/unix/seekdir.c: Renamed to ...
25662 * sysdeps/posix/seekdir.c: ... here.
25663 * sysdeps/unix/telldir.c: Renamed to ...
25664 * sysdeps/posix/telldir.c: ... here.
25665 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25666 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25667 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25668 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25670 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25671 * bits/fcntl.h: ... here.
25673 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25675 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25676 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25677 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25678 (struct flock): Move l_start, l_len to the beginning.
25679 Use __pid_t for l_pid.
25680 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25681 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25682 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25683 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25684 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25685 [__USE_LARGEFILE64] (struct flock64): New type.
25686 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25688 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25689 * bits/dirent.h: ... here.
25691 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25692 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25694 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25696 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25697 Change from 2.6.0 to 2.6.16.
25698 * sysdeps/unix/sysv/linux/configure: Regenerated.
25699 * sysdeps/unix/sysv/linux/kernel-features.h
25700 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25701 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25703 (__ASSUME_UTIMES): Likewise.
25704 (__ASSUME_CLONE_STOPPED): Remove.
25705 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25706 architectures, not kernel version.
25707 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25708 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25709 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25710 (__ASSUME_WAITID_SYSCALL): Likewise.
25711 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25712 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25713 * README: State 2.6.16 as minimum Linux kernel version. Do not
25714 refer to older versions.
25716 2012-08-06 Roland McGrath <roland@hack.frob.com>
25718 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25719 Define alphasort64 as an alias.
25720 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25721 Define versionsort64 as an alias.
25722 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25723 Define scandir64 as an alias.
25724 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25725 Define scandirat64 as an alias.
25726 * dirent/alphasort64.c (alphasort64):
25727 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25728 * dirent/versionsort64.c: Likewise.
25729 * dirent/scandir64.c: Likewise.
25730 * dirent/scandirat64.c: Likewise.
25731 * sysdeps/wordsize-64/alphasort.c: File removed.
25732 * sysdeps/wordsize-64/alphasort64.c: File removed.
25733 * sysdeps/wordsize-64/scandir.c: File removed.
25734 * sysdeps/wordsize-64/scandir64.c: File removed.
25735 * sysdeps/wordsize-64/scandirat.c: File removed.
25736 * sysdeps/wordsize-64/scandirat64.c: File removed.
25737 * sysdeps/wordsize-64/versionsort.c: File removed.
25738 * sysdeps/wordsize-64/versionsort64.c: File removed.
25739 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25740 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25741 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25742 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25743 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25744 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25745 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25746 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25748 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25750 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25752 [defined __arch64__ || defined __sparcv9]
25753 (__INO_T_MATCHES_INO64_T): New macro.
25754 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25755 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25756 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25757 * sysdeps/unix/sysv/linux/bits/dirent.h
25758 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25759 (_DIRENT_MATCHES_DIRENT64): New macro.
25761 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25762 Define lockf64 as an alias.
25763 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25764 Define fseeko64 as an alias.
25765 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25766 Define ftello64 as an alias.
25767 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25768 Define _IO_fgetpos64 and fgetpos64 as aliases.
25769 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25770 Define _IO_fsetpos64 and fsetpos64 as aliases.
25771 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25772 Conditionalize body on this.
25773 * libio/fseeko64.c: Likewise.
25774 * libio/ftello64.c: Likewise.
25775 * libio/iofgetpos64.c: Likewise.
25776 * libio/iofsetpos64.c: Likewise.
25777 * sysdeps/wordsize-64/lockf.c: File removed.
25778 * sysdeps/wordsize-64/lockf64.c: File removed.
25779 * sysdeps/wordsize-64/fseeko.c: File removed.
25780 * sysdeps/wordsize-64/fseeko64.c: File removed.
25781 * sysdeps/wordsize-64/ftello.c: File removed.
25782 * sysdeps/wordsize-64/ftello64.c: File removed.
25783 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25784 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25785 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25786 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25787 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25788 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25789 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25790 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25791 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25792 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25793 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25794 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25795 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25796 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25798 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25799 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25800 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25801 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25802 [defined __arch64__ || defined __sparcv9]
25803 (__OFF_T_MATCHES_OFF64_T): New macro.
25804 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25805 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25806 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25807 (__OFF_T_MATCHES_OFF64_T): New macro.
25809 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25811 * stdlib/secure-getenv.c (__secure_getenv): Replace
25812 GLIBC_2_16 with GLIBC_2_17.
25814 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25816 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25817 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25819 2012-08-03 David S. Miller <davem@davemloft.net>
25821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25823 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25825 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25827 (__ASSUME_CORRECT_SI_PID): Likewise.
25828 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25829 (__ASSUME_TMPFS_NAME): Likewise.
25830 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25831 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25832 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25833 (HAVE_AUX_SECURE): Make definition unconditional.
25834 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25835 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25837 2012-08-03 Roland McGrath <roland@hack.frob.com>
25839 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25840 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25841 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25842 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25843 __eloop_threshold instead of SYMLOOP_MAX.
25845 * sysdeps/generic/eloop-threshold.h: New file.
25846 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25848 * elf/chroot_canon.c (chroot_canon): Likewise.
25850 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25853 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25854 Change to 2.6.0 everywhere.
25855 * sysdeps/unix/sysv/linux/configure: Regenerated.
25856 * sysdeps/unix/sysv/linux/kernel-features.h
25857 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25858 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25860 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25861 (__ASSUME_FUTEX_REQUEUE): Remove.
25862 (__ASSUME_STATFS64): Define unconditionally.
25863 (__ASSUME_AT_SECURE): Likewise.
25864 (__ASSUME_CORRECT_SI_PID): Likewise.
25865 (__ASSUME_TGKILL): Define without depending on kernel version for
25867 (__ASSUME_UTIMES): Likewise.
25868 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25870 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25871 (__ASSUME_TMPFS_NAME): Likewise.
25872 * README: Update reference to Linux kernel versions.
25874 2012-08-02 Marek Polacek <polacek@redhat.com>
25877 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25878 libc_cv_asm_type_prefix with %.
25879 * configure: Regenerated.
25880 * include/libc-symbols.h: Remove comment about
25881 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25882 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25883 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25884 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25885 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25886 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25887 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25888 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25889 * elf/tst-unique2mod1.c: Likewise.
25890 * elf/tst-unique1mod2.c: Likewise.
25891 * elf/tst-unique1mod1.c: Likewise.
25892 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25893 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25894 Replace ASM_TYPE_DIRECTIVE with .type.
25895 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25896 * sysdeps/i386/sysdep.h: Likewise.
25897 * sysdeps/x86_64/sysdep.h: Likewise.
25898 * sysdeps/sh/sysdep.h: Likewise.
25899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25900 Do not define ASM_TYPE_DIRECTIVE.
25901 * sysdeps/powerpc/sysdep.h: Likewise.
25902 * sysdeps/powerpc/powerpc32/sysdep.h:
25903 Replace ASM_TYPE_DIRECTIVE with .type.
25904 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25905 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25906 * sysdeps/i386/fpu/e_powf.S: Likewise.
25907 * sysdeps/i386/fpu/e_expl.S: Likewise.
25908 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25909 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25910 * sysdeps/i386/fpu/e_pow.S: Likewise.
25911 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25912 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25913 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25914 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25915 * sysdeps/i386/fpu/e_log2.S: Likewise.
25916 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25917 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25918 * sysdeps/i386/fpu/e_powl.S: Likewise.
25919 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25920 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25921 * sysdeps/i386/fpu/e_logl.S: Likewise.
25922 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25923 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25924 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25925 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25926 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25927 * sysdeps/i386/fpu/e_log.S: Likewise.
25928 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25929 * sysdeps/i386/fpu/e_logf.S: Likewise.
25930 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25931 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25932 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25933 * sysdeps/i386/fpu/e_log10.S: Likewise.
25934 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25935 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25936 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25937 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25938 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25939 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25940 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25941 * sysdeps/i386/i686/strtok.S: Likewise.
25942 * sysdeps/i386/i386-mcount.S: Likewise.
25943 * sysdeps/i386/strtok.S: Likewise.
25944 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25945 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25946 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25947 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25948 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25949 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25950 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25951 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25952 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25953 * sysdeps/x86_64/_mcount.S: Likewise.
25954 * sysdeps/x86_64/strtok.S: Likewise.
25955 * sysdeps/sh/_mcount.S: Likewise.
25957 2012-08-01 Roland McGrath <roland@hack.frob.com>
25959 * libio/iofopen.c: Include <fcntl.h>.
25960 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25961 (_IO_fopen64, fopen64): Define as aliases.
25962 * libio/iofopen64.c: Include <fcntl.h>.
25963 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25964 Conditionalize body on this.
25965 * sysdeps/wordsize-64/iofopen.c: File removed.
25966 * sysdeps/wordsize-64/iofopen64.c: File removed.
25968 2012-08-01 Marek Polacek <polacek@redhat.com>
25970 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25971 Use dlfcn directly instead of a variable.
25972 (binfmt-subdir): Do not define.
25975 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25977 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25978 Remove all definitions.
25979 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25980 <kernel-features.h>.
25981 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25982 (miss_F_GETOWN_EX): Remove all definitions.
25983 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25985 [!__ASSUME_FCNTL64]: Remove conditional code.
25986 [__ASSUME_FCNTL64]: Make code unconditional.
25987 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25988 <kernel-features.h>.
25989 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25990 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25991 (lockf64) [__NR_fcntl64]: Make code unconditional.
25992 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25994 * sysdeps/unix/sysv/linux/kernel-features.h
25995 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25996 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25997 Make code unconditional.
25998 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25999 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26001 [__NR_vfork]: Make code unconditional.
26002 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26003 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26005 [__NR_vfork]: Make code unconditional.
26006 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26007 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26009 2012-08-01 Roland McGrath <roland@hack.frob.com>
26011 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26012 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26014 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26015 Define mkstemp64 as an alias.
26016 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26017 Define mkstemps64 as an alias.
26018 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26019 Define mkostemp64 as an alias.
26020 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26021 Define mkostemps64 as an alias.
26022 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26023 Conditionalize body on this.
26024 * misc/mkostemp64.c: Likewise.
26025 * misc/mkostemps64.c: Likewise.
26026 * misc/mkstemps64.c: Likewise.
26027 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26028 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26029 * sysdeps/wordsize-64/mkostemp.c: File removed.
26030 * sysdeps/wordsize-64/mkstemp.c: File removed.
26031 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26032 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26033 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26034 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26037 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26038 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26039 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26040 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26042 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26043 compat_symbol macros from <shlib-compat.h> rather than the underlying
26044 default_symbol_version and symbol_version macros, so that DEFAULT
26045 lines in shlib-versions are respected.
26046 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26048 2012-08-01 Florian Weimer <fweimer@redhat.com>
26050 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26051 Declare with warn_unused_result.
26052 (setgid, setregid, setegid, setresgid): Likewise.
26053 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26055 * WUR-REPORT: Remove set*id functions.
26057 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26059 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26061 2012-07-31 Roland McGrath <roland@hack.frob.com>
26064 * include/sys/socket.h (__libc_accept, __libc_accept4):
26065 Add attribute_hidden.
26066 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26068 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26070 * inet/getnetgrent_r.c (setup): Likewise.
26072 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26074 2012-07-31 David S. Miller <davem@davemloft.net>
26076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26078 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26081 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26082 value between 1.0 and 2.0 and smaller part has absolute value less
26084 * math/s_clog10.c (__clog10): Likewise.
26085 * math/s_clog10f.c (__clog10f): Likewise.
26086 * math/s_clog10l.c (__clog10l): Likewise.
26087 * math/s_clogf.c (__clogf): Likewise.
26088 * math/s_clogl.c (__clogl): Likewise.
26089 * math/libm-test.inc (clog_test): Add more tests.
26090 (clog10_test): Likewise.
26091 * sysdeps/i386/fpu/libm-test-ulps: Update.
26092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26094 2012-07-31 Florian Weimer <fweimer@redhat.com>
26096 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26097 Exit with zero in case no suitable GID is found, and write a
26098 message to standard error.
26100 2012-07-30 Roland McGrath <roland@hack.frob.com>
26102 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26104 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26105 (MAXPATHLEN): Removed.
26106 (NOGROUP, NODEV): New macros.
26107 (setbit, clrbit, isset, isclr): New macros.
26108 (howmany, roundup, powerof2): New macros.
26109 (DEV_BSIZE): New macro.
26111 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26112 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26114 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26115 definition on [!__NO_LONG_DOUBLE_MATH].
26117 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26118 PTR_MANGLE and PTR_DEMANGLE.
26120 * socket/accept4.c (accept4): Rename to __libc_accept4.
26121 Define accept4 as a weak alias.
26123 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26124 on [_DIRENT_HAVE_D_TYPE].
26125 * io/ftw.c (ftw_dir): Likewise.
26127 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26129 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26131 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26132 Use the BSD numbers rather than the arbitrary ones we had.
26133 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26134 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26135 (SIGXCPU, SIGXFSZ): New macros.
26138 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26139 initializer on [_LIBC_REENTRANT].
26141 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26142 definitions inside [_POSIX_MAPPED_FILES].
26144 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26146 * dirent/opendir.c: Include <fcntl.h>.
26148 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26149 (__libc_getspecific): Likewise.
26150 (__libc_key_create): Likewise.
26152 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26153 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26154 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26155 (tmpfile64): Define as alias.
26156 * sysdeps/wordsize-64/tmpfile.c: File removed.
26157 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26158 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26159 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26161 * stdio-common/vfscanf.c: Include <stdbool.h>.
26162 * nss/makedb.c: Likewise.
26163 * stdio-common/_i18n_number.h: Likewise.
26164 * argp/argp-help.c: Likewise.
26165 * posix/wordexp.c: Likewise.
26166 * sysdeps/posix/spawni.c: Likewise.
26167 * nss/nss_files/files-initgroups.c: Likewise.
26168 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26169 * nss/nss_files/files-initgroups.c: Likewise.
26170 * nss/nss_db/db-netgrp.c: Likewise.
26171 * nss/nss_db/db-initgroups.c: Likewise.
26172 * io/fchmodat.c: Include <sys/stat.h>.
26174 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26175 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26177 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26180 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26181 Add multiple inclusion protection.
26183 2012-07-27 David S. Miller <davem@davemloft.net>
26185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26187 2012-07-27 Gary Benson <gbenson@redhat.com>
26190 * elf/rtld.c: Include <stap-probe.h>.
26191 (dl_main): Added static probes "init_start" and "init_complete".
26192 * elf/dl-load.c: Include <stap-probe.h>.
26193 (lose): Take new parameter "nsid".
26194 Added static probe "map_failed".
26195 (_dl_map_object_from_fd): Pass namespace id to lose.
26196 Added static probe "map_start".
26197 (open_verify): Pass namespace id to lose.
26198 * elf/dl-open.c: Include <stap-probe.h>.
26199 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26200 and "reloc_complete".
26201 * elf/dl-close.c: Include <stap-probe.h>.
26202 (_dl_close_worker): Added static probes "unmap_start" and
26204 * elf/rtld-debugger-interface.txt: New file documenting the above.
26206 2012-07-26 Roland McGrath <roland@hack.frob.com>
26208 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26209 rather than a string variable.
26210 * sunrpc/rpc_main.c (h_output): Likewise.
26211 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26213 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26215 * inet/check_native.c: New file.
26217 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26220 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26221 if larger part has absolute value 1.0.
26222 * math/s_clog10.c (__clog10): Likewise.
26223 * math/s_clog10f.c (__clog10f): Likewise.
26224 * math/s_clog10l.c (__clog10l): Likewise.
26225 * math/s_clogf.c (__clogf): Likewise.
26226 * math/s_clogl.c (__clogl): Likewise.
26227 * math/libm-test.inc (clog_test): Add more tests.
26228 (clog10_test): Likewise.
26229 * sysdeps/i386/fpu/libm-test-ulps: Update.
26230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26232 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26233 (pltexit): Likewise.
26234 (La_regs): Likewise.
26235 (La_retval): Likewise.
26236 (int_retval): Likewise.
26237 Update #error for removed macros to refer only to definitions in
26239 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26241 (pltexit): Likewise.
26242 (La_regs): Likewise.
26243 (La_retval): Likewise.
26244 (int_retval): Likewise.
26245 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26247 (pltexit): Likewise.
26248 (La_regs): Likewise.
26249 (La_retval): Likewise.
26250 (int_retval): Likewise.
26251 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26253 (pltexit): Likewise.
26254 (La_regs): Likewise.
26255 (La_retval): Likewise.
26256 (int_retval): Likewise.
26257 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26259 (pltexit): Likewise.
26260 (La_regs): Likewise.
26261 (La_retval): Likewise.
26262 (int_retval): Likewise.
26263 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26265 (pltexit): Likewise.
26266 (La_regs): Likewise.
26267 (La_retval): Likewise.
26268 (int_retval): Likewise.
26269 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26271 (pltexit): Likewise.
26272 (La_regs): Likewise.
26273 (La_retval): Likewise.
26274 (int_retval): Likewise.
26275 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26276 macro definitions in tst-audit.h.
26277 * sysdeps/i386/tst-audit.h: New file.
26278 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26279 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26280 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26281 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26282 * sysdeps/sh/tst-audit.h: Likewise.
26283 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26284 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26285 * sysdeps/x86_64/tst-audit.h: Likewise.
26287 2012-07-26 Andreas Jaeger <aj@suse.de>
26289 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26292 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26293 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26294 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26296 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26297 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26298 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26300 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26303 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26305 (si_call_addr, si_syscall, si_arch): Define new macro.
26306 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26308 (si_call_addr, si_syscall, si_arch): Define new marcro.
26309 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26311 (si_call_addr, si_syscall, si_arch): Define new macro.
26312 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26314 (si_call_addr, si_syscall, si_arch): Define new macro.
26316 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26319 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26320 Change to 2.4.21 where previously 2.4.1.
26321 * sysdeps/unix/sysv/linux/configure: Regenerated.
26322 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26323 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26324 Linux kernel version.
26325 (__ASSUME_STD_AUXV): Remove.
26326 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26328 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26329 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26330 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26331 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26332 (__ASSUME_NETLINK_SUPPORT): Likewise.
26333 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26334 (__no_netlink_support): Remove conditional definition.
26335 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26337 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26338 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26339 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26340 (if_nameindex_ioctl): Remove.
26341 (if_nameindex_netlink): Do not handle __no_netlink_support.
26342 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26344 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26345 Remove conditional code.
26346 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26348 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26350 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26351 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26352 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26354 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26355 [!__ASSUME_STD_AUXV]: Remove conditional code.
26356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26357 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26358 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26360 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26361 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26363 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26365 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26366 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26368 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26370 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26373 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26376 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26377 code unconditional.
26378 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26380 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26382 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26385 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26387 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26390 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26391 code unconditional.
26392 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26394 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26396 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26399 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26400 code unconditional.
26401 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26403 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26405 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26408 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26410 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26411 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26412 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26413 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26414 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26415 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26416 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26417 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26418 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26419 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26420 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26421 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26422 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26423 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26424 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26425 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26426 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26427 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26428 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26430 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26431 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26432 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26434 2012-07-25 Florian Weimer <fweimer@redhat.com>
26436 * Versions.def: Add GLIBC_2.17.
26437 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26438 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26439 Introduce __libc_secure_getenv.
26440 * stdlib/Versions (2.17): Add secure_getenv
26441 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26442 * stdlib/secure-getenv.c: Rename __secure_getenv to
26443 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26444 symbol __secure_getenv for GLIBC_2.0.
26445 * stdlib/tst-secure-getenv.c: New.
26446 * stdlib/Makefile (tests): Add testcase.
26447 * manual/startup.texi (Environment Access): Document
26449 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26450 __libc_secure_getenv.
26451 * inet/ruserpass.c (ruserpass): Likewise.
26452 * malloc/mtrace.c (mtrace): Likewise.
26453 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26454 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26455 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26456 * sysdeps/posix/tempname.c: Likewise. Evaluate
26457 HAVE_SECURE_GETENV.
26458 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26459 __secure_getenv to __libc_secure_getenv.
26460 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26467 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26473 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26475 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26476 (struct La_i86_retval): Likewise.
26477 (struct La_x86_64_regs): Likewise.
26478 (struct La_x86_64_retval): Likewise.
26479 (struct La_x32_regs): Likewise.
26480 (struct La_x32_retval): Likewise.
26481 (struct La_ppc32_regs): Likewise.
26482 (struct La_ppc32_retval): Likewise.
26483 (struct La_ppc64_regs): Likewise.
26484 (struct La_ppc64_retval): Likewise.
26485 (struct La_sh_regs): Likewise.
26486 (struct La_sh_retval): Likewise.
26487 (struct La_s390_32_regs): Likewise.
26488 (struct La_s390_32_retval): Likewise.
26489 (struct La_s390_64_regs): Likewise.
26490 (struct La_s390_64_retval): Likewise.
26491 (struct La_sparc32_regs): Likewise.
26492 (struct La_sparc32_retval): Likewise.
26493 (struct La_sparc64_regs): Likewise.
26494 (struct La_sparc64_retval): Likewise.
26495 (struct audit_ifaces): Remove architecture-specific pltenter and
26497 * sysdeps/i386/ldsodefs.h: New file.
26498 * sysdeps/powerpc/ldsodefs.h: Likewise.
26499 * sysdeps/s390/ldsodefs.h: Likewise.
26500 * sysdeps/sh/ldsodefs.h: Likewise.
26501 * sysdeps/sparc/ldsodefs.h: Likewise.
26502 * sysdeps/x86_64/ldsodefs.h: Likewise.
26504 2012-07-25 Marek Polacek <polacek@redhat.com>
26507 * math/libm-test.inc (yn_test): Add another test.
26508 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26509 to ERANGE when the result is +-Inf.
26510 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26511 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26512 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26513 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26515 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26517 * conform/data/time.h-data (NULL): Use macro-constant. Require
26519 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26521 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26523 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26525 * configure.in <sysdeps resolving>: Correct printing
26527 * configure: Regenerate.
26529 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26531 * math/w_ilogb.c: Include <limits.h>.
26532 * math/w_ilogbl.c: Likewise.
26534 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26536 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26537 va_copy. Document allowing for unavailable va_copy only as
26538 pre-C99 compatibility.
26539 * manual/string.texi (Copying and Concatenation): Use va_copy
26540 instead of __va_copy in concat example.
26542 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26544 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26545 (__sendto): Use create_address_port. Initialize APORT and deallocate
26548 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26549 with O_NOLINK passed to __file_name_lookup.
26551 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26552 with O_NOLINK passed to __file_name_lookup.
26554 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26555 negative N or less than NGIDS.
26557 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26558 type to string_t. Set ERANGE as errno and return it if NAME is not big
26559 enough. Use memcpy instead of strncpy.
26561 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26563 * elf/Makefile (check-data): Remove.
26564 (localplt.data): New vpath directive.
26565 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26566 instead of $(check-data).
26567 * scripts/data/localplt-generic.data: Move to ...
26568 * sysdeps/generic/localplt.data: ... here.
26569 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26570 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26571 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26574 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26577 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26580 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26583 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26586 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26590 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26592 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26593 PPC32 and PPC64 files.
26594 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26595 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26597 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26599 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26600 __makecontext_ret to ...
26601 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26602 ... here and call exit if uc_link is NULL. New file.
26603 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26604 __makecontext_ret.S.
26605 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26606 __makecontext_ret to ...
26607 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26608 ... here and call exit if uc_link is NULL. New file.
26609 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26610 __makecontext_ret.S.
26612 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26614 * elf/elf.h (R_390_IRELATIVE): New definition.
26615 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26616 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26617 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26618 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26619 (elf_machine_lazy_rel): Likewise.
26620 * sysdeps/s390/dl-irel.h: New file.
26621 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26622 * sysdeps/s390/s390-64/memset.S: New asm code.
26623 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26624 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26625 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26626 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26627 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26628 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26629 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26630 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26631 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26632 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26633 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26634 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26635 * sysdeps/s390/s390-32/memset.S: New asm code.
26636 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26638 2012-07-17 Marek Polacek <polacek@redhat.com>
26641 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26642 * sysdeps/s390/s390-64/configure.in: Likewise.
26643 * sysdeps/sparc/configure.in: Likewise.
26644 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26645 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26646 * sysdeps/i386/configure.in: Likewise.
26647 * sysdeps/x86_64/configure.in: Likewise.
26648 * sysdeps/sh/configure.in: Likewise.
26649 * sysdeps/s390/s390-32/configure: Regenerated.
26650 * sysdeps/s390/s390-64/configure: Likewise.
26651 * sysdeps/x86_64/configure: Likewise.
26652 * sysdeps/sh/configure: Likewise.
26653 * sysdeps/powerpc/powerpc64/configure: Likewise.
26654 * sysdeps/powerpc/powerpc32/configure: Likewise.
26655 * sysdeps/sparc/configure: Likwise.
26656 * sysdeps/i386/configure: Likewise.
26658 * elf/dl-open.c: Comment fixes.
26660 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26662 * Makefile [CXX] (check-data): Remove.
26663 [CXX] (c++-types.data): New vpath directive.
26664 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26665 vpath. Do not allow for C++ type data being missing.
26666 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26667 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26668 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26669 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26670 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26671 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26672 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26675 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26678 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26681 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26684 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26687 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26690 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26693 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26696 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26697 definitions to architecture-specific files.
26698 (TLS_IE): Likewise.
26699 (TLS_LD): Likewise.
26700 (TLS_GD): Likewise.
26701 * sysdeps/i386/tls-macros.h: New file.
26702 * sysdeps/powerpc/tls-macros.h: Likewise.
26703 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26704 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26705 * sysdeps/sh/tls-macros.h: Likewise.
26706 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26707 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26708 * sysdeps/x86_64/tls-macros.h: Likewise.
26710 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26712 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26713 zero value for regular exit case.
26715 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26716 (__start_context): Preserve zero value for regular exit case.
26718 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26719 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26721 * manual/setjmp.texi (setcontext): Clarify normal process
26722 termination when uc_link is the null pointer.
26723 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26726 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26728 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26729 preprocessor. Test for each exception mask separately.
26731 2012-07-16 Andreas Jaeger <aj@suse.de>
26733 * po/ru.po: Update from translation team.
26735 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26737 * conform/data/string.h-data (NULL): Use macro-constant. Require
26739 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26740 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26741 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26742 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26743 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26745 2012-07-13 Andreas Jaeger <aj@suse.de>
26747 * po/fr.po: Update from translation team.
26749 2012-07-12 Marek Polacek <polacek@redhat.com>
26752 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26753 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26756 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26759 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26760 Change to 2.4.1 where previously 2.4.0.
26761 * sysdeps/unix/sysv/linux/configure: Regenerated.
26762 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26763 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26765 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26766 (__ASSUME_AT_CLKTCK): Remove.
26767 (__ASSUME_AT_PAGESIZE): Likewise.
26768 (__ASSUME_AT_XID): Likewise.
26769 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26770 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26771 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26773 (HAVE_AUX_PAGESIZE): Likewise.
26774 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26775 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26776 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26778 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26782 the temporary buffer used to invoke __gethostbyname2_r,
26783 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26784 host_data / struct gaih_addrtuple.
26785 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26786 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26787 header file nss/nsswitch.h.
26788 * nss/nsswitch.h (global scope): Add definition of implementation
26789 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26790 resolv/nss_dns/dns-host.c).
26792 2012-07-11 Andreas Jaeger <aj@suse.de>
26794 * po/fr.po: Update from translation team.
26796 * po/sv.po: Update from translation team
26797 * po/fr.po: Another update from translation team.
26799 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26801 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26802 for subnormals or multiply small sinh result by itself.
26803 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26806 2012-07-11 David S. Miller <davem@davemloft.net>
26808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26810 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26813 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26814 (INTERNAL_MARK): Shift it here.
26816 2012-07-10 Marek Polacek <polacek@redhat.com>
26819 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26820 libc_cv_asm_global_directive with .globl.
26821 * configure: Regenerated.
26822 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26824 * sysdeps/i386/configure: Regenerated.
26825 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26827 * sysdeps/x86_64/configure: Regenerated.
26828 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26829 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26830 * elf/tst-unique2mod2.c: Likewise.
26831 * elf/tst-unique2mod1.c: Likewise.
26832 * elf/tst-unique1mod2.c: Likewise.
26833 * elf/tst-unique1mod1.c: Likewise.
26834 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26835 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26836 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26837 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26838 * sysdeps/mach/sysdep.h: Likewise.
26839 * sysdeps/i386/sysdep.h: Likewise.
26840 * sysdeps/i386/i386-mcount.S: Likewise.
26841 * sysdeps/x86_64/_mcount.S: Likewise.
26842 * sysdeps/x86_64/sysdep.h: Likewise.
26843 * sysdeps/sh/_mcount.S: Likewise.
26844 * sysdeps/sh/sysdep.h: Likewise.
26845 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26846 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26847 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26848 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26849 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26850 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26851 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26852 * locale/localeinfo.h: Likewise.
26853 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26854 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26856 2012-07-09 Roland McGrath <roland@hack.frob.com>
26859 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26861 * manual/message.texi (The Uniforum approach): Likewise.
26862 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26863 (glibc iconv Implementation): Likewise.
26865 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26868 * math/s_clog.c (__clog): Avoid scaling a value down where that
26869 could result in underflow.
26870 * math/s_clog10.c (__clog10): Likewise.
26871 * math/s_clog10f.c (__clog10f): Likewise.
26872 * math/s_clog10l.c (__clog10l): Likewise.
26873 * math/s_clogf.c (__clogf): Likewise.
26874 * math/s_clogl.c (__clogl): Likewise.
26875 * math/libm-test.inc (clog_test): Add more tests.
26876 (clog10_test): Likewise.
26877 * sysdeps/i386/fpu/libm-test-ulps: Update.
26878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26880 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26883 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26884 by 7 not 8 to examine high bit of fractional part.
26887 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26888 for call to __mcount_internal.
26889 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26890 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26891 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26893 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26896 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26897 approximation for values within 0x1p-13f of an odd multiple of
26899 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26900 exception. Add more tests.
26901 * sysdeps/i386/fpu/libm-test-ulps: Update.
26904 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26905 inputs and return -1 for them. Do not check for +Inf in case not
26906 reachable for +Inf.
26907 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26908 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26909 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26910 and return -1 for them. Do not check for +Inf in case not
26911 reachable for +Inf.
26912 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26914 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26915 and return -1 for them. Do not check for +Inf in case not
26916 reachable for +Inf.
26917 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26918 spurious underflow.
26919 * sysdeps/i386/fpu/libm-test-ulps: Update.
26920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26922 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26924 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26926 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26930 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26931 could result in spurious underflow. Scale down values above
26932 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26933 * math/s_csqrtf.c (__csqrtf): Likewise.
26934 * math/s_csqrtl.c (__csqrtl): Likewise.
26935 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26936 spurious underflow.
26937 * sysdeps/i386/fpu/libm-test-ulps: Update.
26938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26940 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26942 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26944 * catgets/xopen-msg.awk: New file.
26945 * catgets/xopen-msg.sed: Removed.
26947 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26949 * intl/po2test.awk: New file.
26950 * intl/po2test.sed: Removed.
26952 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26955 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26956 or multiply small sinh result by itself.
26957 * math/s_ctanf.c (__ctanf): Likewise.
26958 * math/s_ctanh.c (__ctanh): Likewise.
26959 * math/s_ctanhf.c (__ctanhf): Likewise.
26960 * math/s_ctanhl.c (__ctanhl): Likewise.
26961 * math/s_ctanl.c (__ctanl): Likewise.
26962 * math/libm-test.inc (ctan_test_tonearest): New function.
26963 (ctan_test_towardzero): Likewise.
26964 (ctan_test_downward): Likewise.
26965 (ctan_test_upward): Likewise.
26966 (ctanh_test_tonearest): Likewise.
26967 (ctanh_test_towardzero): Likewise.
26968 (ctanh_test_downward): Likewise.
26969 (ctanh_test_upward): Likewise.
26970 (main): Call these new functions.
26971 * sysdeps/i386/fpu/libm-test-ulps: Update.
26972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26974 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26976 * .gitignore: Delete /ports entry.
26978 2012-07-03 Andreas Jaeger <aj@suse.de>
26980 * po/bg.po: Update from translation team.
26981 * po/cs.po: Likewise.
26982 * po/de.po: Likewise.
26983 * po/hr.po: Likewise.
26984 * po/nl.pl: Likewise.
26985 * po/pl.po: Likewise.
26986 * po/vi.po: Likewise.
26988 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26990 * Makeconfig [!+link] (+link-before-libc): New variable.
26991 [!+link] (+link-after-libc): Likewise.
26992 [!+link] (+link-tests): Likewise.
26993 [!+link] (+link): Define in terms of $(+link-before-libc) and
26994 $(+link-after-libc).
26995 [!+link-static] (+link-static-before-libc): New variable.
26996 [!+link-static] (+link-static-after-libc): Likewise.
26997 [!+link-static] (+link-static-tests): Likewise.
26998 [!+link-static] (+link-static): Define in terms of
26999 $(+link-static-before-libc) and $(+link-static-after-libc).
27000 [build-shared] (link-libc-before-gnulib): New variable.
27001 [build-shared] (link-libc-tests): Likewise.
27002 [build-shared] (link-libc): Define in terms of
27003 $(link-libc-before-gnulib).
27004 [!build-shared] (link-libc-tests): New variable.
27005 (link-libc-static-tests): New variable.
27006 [!gnulib] (gnulib-arch): New variable.
27007 [!gnulib] (gnulib-tests): Likewise.
27008 [!gnulib] (static-gnulib-arch): Likewise.
27009 [!gnulib] (static-gnulib-tests): Likewise.
27010 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27011 Define with "=" instead of ":=".
27012 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27013 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27014 * Rules (binaries-all-notests): New variable.
27015 (binaries-all-tests): Likewise.
27016 (binaries-static-notests): Likewise.
27017 (binaries-static-tests): Likewise.
27018 (binaries-all): Define using $(binaries-all-notests) and
27019 $(binaries-all-tests).
27020 (binaries-static): Define using $(binaries-static-notests) and
27021 $(binaries-static-tests).
27022 (binaries-shared-tests): New variable.
27023 (binaries-shared-notests): Likewise.
27024 (binaries-shared): Remove variable.
27025 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27026 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27027 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27028 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27029 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27030 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27031 * elf/Makefile (sln-modules): New variable.
27032 (extra-objs): Add $(sln-modules:=.o).
27033 (ldconfig-modules): Add static-stubs.
27034 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27035 * elf/static-stubs.c: New file.
27038 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27039 by 7 not 8 to examine high bit of fractional part. Use volatile
27040 variables when splitting into final array of floats if
27041 __FLT_EVAL_METHOD__ != 0.
27042 * math/libm-test.inc (cos_test): Add another test.
27043 (sin_test): Likewise.
27044 * sysdeps/i386/fpu/libm-test-ulps: Update.
27047 * math/libm-test.inc (cosh_test): Add more tests.
27049 * version.h (RELEASE): Set to "development".
27050 (VERSION): Set to "2.16.90".
27052 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27054 * NEWS: Update copyright. Remove last-updated date.
27055 Mention math library bug fixes and timezone data changes.
27056 * README: Mention GNU/Hurd, x32, and HPPA support status.
27058 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27060 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27062 2012-06-27 Andreas Jaeger <aj@suse.de>
27064 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27066 2012-06-25 Andreas Jaeger <aj@suse.de>
27068 * sysdeps/s390/fpu/libm-test-ulps: Update.
27070 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27071 Thomas Schwinge <thomas@codesourcery.com>
27073 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27074 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27075 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27078 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27080 * sysdeps/mach/start.c: Remove file.
27081 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27082 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27083 * sysdeps/sh/init-first.c: Likewise.
27085 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27086 registers for frame unwinding purposes, add CFI directives.
27087 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27088 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27089 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27092 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27093 __fortify_fail returning.
27094 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27096 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27097 sysdeps/sh/____longjmp_chk.S.
27098 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27099 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27100 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27101 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27103 * sysdeps/sh/abort-instr.h: New file.
27104 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27105 process in case exit returns.
27107 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27108 initialize the GOT register before use.
27110 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27111 calculation of ARGC > 4.
27113 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27114 meaningful names to some local labels.
27116 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27117 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27119 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27120 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27121 (__arch_compare_and_exchange_val_16_acq): Likewise.
27122 (__arch_compare_and_exchange_val_32_acq): Likewise.
27123 (atomic_exchange_and_add): Fix gUSA sequence.
27124 (atomic_add): Likewise.
27125 (atomic_add_negative): Likewise.
27126 (atomic_add_zero): Likewise.
27127 (atomic_bit_test_set): Likewise.
27129 2012-06-22 Andreas Schwab <schwab@redhat.com>
27132 * include/link.h (struct link_map): Add l_free_initfini.
27133 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27135 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27136 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27137 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27140 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27142 * configure.in: Use AC_LANG_SOURCE.
27143 * configure: Regenerate.
27145 2012-06-22 Roland McGrath <roland@hack.frob.com>
27147 * configure.in (libc_cv_localstatedir): New substituted variable.
27148 * configure: Regenerated.
27149 * config.make.in (localstatedir): New variable, substituted from
27150 libc_cv_localstatedir.
27151 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27152 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27153 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27154 * sysdeps/gnu/configure: Regenerated.
27156 2012-06-21 Jeff Law <law@redhat.com>
27159 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27160 free. Simplify list management for _LIBC case.
27162 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27165 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27166 Clear sign bit of 64-bit integer value before comparing against
27169 * sysdeps/mach/configure: Regenerated.
27171 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27174 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27176 2012-06-21 Jeff Law <law@redhat.com>
27179 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27180 uint16_t for elements in the "seen" array to avoid char overflows.
27181 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27182 * elf/dl-open.c (dl_open_worker): Likewise.
27184 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27186 * scripts/list-sources.sh: Scan PORTS for translations.
27187 * po/libc.pot: Regenerated.
27189 2012-06-21 Andreas Jaeger <aj@suse.de>
27192 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27194 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27195 * bits/byteswap-16.h (__bswap_16): Likewise.
27196 * bits/byteswap.h (__bswap_constant_16): Likewise.
27198 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27201 * sysdeps/i386/fpu_control.h: Removed.
27202 * sysdeps/x86_64/fpu_control.h: Moved to ...
27203 * sysdeps/x86/fpu_control.h: Here.
27205 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27206 (_FPU_SETCW): Likewise.
27208 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27211 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27212 * sysdeps/x86/fpu/bits/mathinline.h: This.
27213 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27217 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27218 functions if __x86_64__ is defined.
27220 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27222 * string/endian.h: Add !__ASSEMBLER__ condition for including
27223 conversion interfaces.
27225 2012-06-15 Joseph Myers <joseph@codesourcery.com>
27228 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27229 of ABS(x) in calculating zero to negative powers other than odd
27231 * math/libm-test.inc (pow_test): Add more tests.
27233 2012-06-15 Andreas Jaeger <aj@suse.de>
27235 * manual/contrib.texi (Contributors): Update entry of Liubov
27236 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27239 2012-06-15 Cyril Hrubis <metan@ucw.cz>
27241 * string/string.h: Add __wur to GNU version of strerror_r.
27243 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27246 * string/Makefile (tests): Add tst-strtok_r.
27247 * string/tst-strtok_r.c: New file.
27248 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27249 RAX_LP/RDX_LP on SAVE_PTR.
27251 2012-06-14 Roland McGrath <roland@hack.frob.com>
27253 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27255 2012-06-14 Joseph Myers <joseph@codesourcery.com>
27257 * libm_test.inc (csqrt_test): Allow more spurious underflow
27259 (j0_test): Likewise.
27260 (j1_test): Likewise.
27261 (y0_test): Likewise.
27262 (y1_test): Likewise.
27264 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27266 * po/Makefile (libc.pot): Use UTF-8 charset.
27268 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27271 Suppress sign-conversion warning from FD_SET.
27272 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27273 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27274 not unsigned long int.
27275 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27277 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27281 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27282 __extern_always_inline instead of __extern_inline.
27283 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27284 (__signbit): Likewise.
27285 (__signbitl): Support C++ namespace.
27286 (lrintf): New inline function.
27288 (llrintf): Likewise.
27289 (llrint): Likewise.
27299 (floorf): Likewise.
27300 (nearbyint): Likewise.
27301 (nearbyintf): Likewise.
27303 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27305 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27306 non-default versions.
27308 2012-06-11 Roland McGrath <roland@hack.frob.com>
27311 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27313 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27315 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27316 (FE_UPWARD, FE_DOWNWARD): Don't define.
27317 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27318 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27320 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27322 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27323 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27325 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27327 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27328 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27329 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27330 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27332 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27335 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27336 * sysdeps/i386/fpu/Implies: New file.
27337 * sysdeps/x86_64/fpu/Implies: Likewise.
27338 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27339 * sysdeps/x86/fpu/bits/fenv.h: This.
27341 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27344 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27347 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27348 character 0xffff that matches the last element of the
27351 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27353 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27356 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27358 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27359 values higher than 25.6283.
27361 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27363 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27364 subnormal exponent extraction and add some __builtin_expect.
27365 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27366 Fix for subnormal mantissa calculation.
27368 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27370 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27371 cpu2 is -1 and errno is not ENOSYS.
27373 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27376 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27377 * sysdeps/x86/bits/string.h: This.
27378 * sysdeps/x86_64/bits/string.h: Removed.
27380 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27381 if not compiling for x86-64, but compiling for >= i486.
27383 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27384 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27386 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27387 New macro from Linux kernel 3.4.0.
27388 (FP_XSTATE_MAGIC2): Likewise.
27389 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27390 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27391 (struct _fpx_sw_bytes): New struct.
27392 (struct _xsave_hdr): Likewise.
27393 (struct _ymmh_state): Likewise.
27394 (struct _xstate): Likewise.
27396 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27397 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27398 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27399 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27400 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27401 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27403 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27404 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27405 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27406 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27407 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27408 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27410 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27413 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27414 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27415 (sysdep_headers): Include sys/platform/ppc.h.
27416 * sysdeps/powerpc/test-gettimebase.c: Test for
27417 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27418 * manual/Makefile (appendices): Include platform.texi.
27419 * manual/contrib.texi (Contributors): Update @node pointers.
27420 * manual/maint.texi (Maintenance): Likewise.
27421 (Platform): New node.
27422 * manual/platform.texi: New file. Document the new features.
27424 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27425 Jakub Jelinek <jakub@redhat.com>
27428 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27429 where __builtin_expect is unavailable.
27431 2012-06-03 David S. Miller <davem@davemloft.net>
27433 * stdlib/longlong.h: Updated from GCC.
27435 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27438 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27439 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27442 (GLIBC_2.16): Likewise.
27444 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27446 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27448 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27451 (default-abi): New variable.
27452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27453 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27455 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27457 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27459 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27462 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27463 definition. Document in comment.
27465 2012-06-01 David S. Miller <davem@davemloft.net>
27467 * stdlib/longlong.h: Updated from GCC.
27469 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27472 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27473 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27474 sys/debugreg.h sys/io.h here.
27475 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27476 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27478 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27479 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27480 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27481 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27482 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27483 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27485 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27486 Define only if __x86_64__ is defined.
27488 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27491 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27492 Use int64_t for variable i.
27493 * math/libm-test.inc (fmod_test): Add more tests.
27495 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27496 z computation is not scheduled after fetestexcept.
27497 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27498 Use math_force_eval instead of asm to ensure calculation scheduled
27499 before exception test.
27500 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27501 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27503 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27506 computation is not scheduled after fetestexcept.
27508 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27511 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27512 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27514 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27516 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27517 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27519 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27522 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27524 (__WCHAR_MIN): Support __WORDSIZE == 64.
27525 (__WCHAR_MAX): Likewise.
27527 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27528 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27531 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27532 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27535 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27536 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27538 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27539 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27541 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27542 Defined to 1 if __x86_64__ isn't defined.
27543 (_STAT_VER_LINUX_OLD): New.
27544 (st_atime): Remove duplicate.
27545 (st_mtime): Likewise.
27546 (st_ctime): Likewise.
27548 2012-05-31 David S. Miller <davem@davemloft.net>
27550 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27553 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27555 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27559 * elf/dl-reloc.c: Include <_itoa.h>.
27560 (_dl_reloc_bad_type): Remove use of INTUSE.
27561 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27562 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27563 * stdio-common/psiginfo.c (psiginfo): Likewise.
27564 * stdio-common/psignal.c (psignal): Likewise.
27565 * string/strsignal.c (strsignal): Likewise.
27566 * include/signal.h (_sys_siglist): Declare hidden proto.
27567 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27568 INTVARDEF with libc_hidden_data_def.
27569 * stdio-common/itoa-udigits.c: Likewise.
27570 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27571 (_itoa_lower_digits_internal): Remove declaration.
27572 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27573 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27574 (_sys_sigabbrev_internal): Remove aliases.
27575 (_sys_siglist): Define hidden alias.
27577 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27579 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27582 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27585 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27586 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27588 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27589 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27590 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27591 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27592 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27593 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27595 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27596 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27597 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27599 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27607 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27608 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27609 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27611 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27612 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27613 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27614 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27615 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27616 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27618 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27619 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27621 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27622 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27625 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27626 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27628 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27629 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27631 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27633 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27634 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27635 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27637 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27639 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27641 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27643 * math/math.h (M_El): Use two more decimal places.
27644 (M_LOG2El): Likewise.
27645 (M_LOG10El): Likewise.
27646 (M_LN2l): Likewise.
27647 (M_LN10l): Likewise.
27649 (M_PI_2l): Likewise.
27650 (M_PI_4l): Likewise.
27651 (M_1_PIl): Likewise.
27652 (M_2_PIl): Likewise.
27653 (M_2_SQRTPIl): Likewise.
27654 (M_SQRT2l): Likewise.
27655 (M_SQRT1_2l): Likewise.
27657 2012-05-31 David S. Miller <davem@davemloft.net>
27659 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27660 values between float registers.
27661 * sysdeps/sparc/sparc64/memset.S: Likewise.
27662 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27664 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27666 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27667 -D_FORTIFY_SOURCE=1.
27668 (CPPFLAGS-tst-longjmp_chk.c): Define.
27669 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27670 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27671 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27672 CFLAGS-tst-wchar-h.c.
27674 2012-05-31 Marek Polacek <polacek@redhat.com>
27677 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27678 __endmntent_internal): Remove declaration.
27679 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27680 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27681 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27683 2012-05-30 David S. Miller <davem@davemloft.net>
27685 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27686 (___Q_simulate_exceptions): Use real FP ops rather than writing
27688 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27691 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27694 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27695 * sysdeps/x86/bits/xtitypes.h: This.
27697 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27698 * sysdeps/x86/bits/wordsize.h: This.
27700 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27701 * sysdeps/x86/bits/huge_vall.h: This.
27703 * sysdeps/i386/bits/select.h: Removed.
27704 * sysdeps/x86_64/bits/select.h: Renamed to ...
27705 * sysdeps/x86/bits/select.h: This.
27707 * sysdeps/i386/bits/setjmp.h: Removed.
27708 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27709 * sysdeps/x86/bits/setjmp.h: This.
27711 * sysdeps/i386/bits/mathdef.h: Removed.
27712 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27713 * sysdeps/x86/bits/mathdef.h: This.
27715 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27718 * include/sys/socket.h (__connect_internal)
27719 (__libc_sa_len_internal): Remove declaration.
27720 (__connect, __libc_sa_len): Declare hidden_proto.
27721 (SA_LEN): Remove use of INTUSE.
27722 * socket/connect.c: Add libc_hidden_def.
27723 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27724 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27725 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27727 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27728 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27729 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27730 of adding _internal alias.
27732 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27735 * sysdeps/i386/bits/link.h: Removed.
27736 * sysdeps/i386/bits/linkmap.h: Likewise.
27737 * sysdeps/x86_64/bits/link.h: Renamed to ...
27738 * sysdeps/x86/bits/link.h: This.
27739 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27740 * sysdeps/x86/bits/linkmap.h: This.
27742 * sysdeps/i386/bits/endian.h: Removed.
27743 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27744 * sysdeps/x86/bits/endian.h: This.
27746 * sysdeps/i386/bits/byteswap.h: Removed.
27747 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27748 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27749 * sysdeps/x86/bits/byteswap.h: This.
27750 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27751 * sysdeps/x86/bits/byteswap-16.h: This.
27752 * sysdeps/i386/Implies: Add x86.
27753 * sysdeps/x86_64/Implies: Likewise.
27755 2012-05-30 David S. Miller <davem@davemloft.net>
27757 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27758 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27759 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27760 (FP_TRAPPING_EXCEPTIONS): Define.
27761 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27762 (FP_TRAPPING_EXCEPTIONS): Define.
27763 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27764 subnormals only when inexact has been signalled or underflow
27765 exceptions are enabled.
27766 (_FP_PACK_CANONICAL): Likewise.
27768 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27771 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27772 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27774 2012-05-30 Richard Henderson <rth@twiddle.net>
27776 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27777 with #ifndef NOT_IN_libc.
27779 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27780 marked to avoid plt entry.
27782 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27785 * Makeconfig (default-abi): New macro.
27786 (abi-includes): Likewise.
27787 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27788 $(abi-$(default-abi)-lib-soname) for soname if defined.
27789 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27791 * Makefile (installed-stubs): Likewise.
27792 * include/stubs-biarch.h: Removed.
27793 * scripts/lib-names.awk: Only handle one library at a time.
27794 * scripts/soversions.awk: Remove WORDSIZE support.
27795 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27797 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27799 (syscall-list-default-condition): Likewise.
27800 (syscall-list-default-condition): Likewise.
27801 (syscall-list-includes): Likewise.
27802 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27803 syscall-list-* with abi-*. Handle undefined abi-variants.
27804 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27805 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27806 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27807 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27808 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27809 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27811 (syscall-list-32-options): Likewise.
27812 (syscall-list-32-condition): Likewise.
27813 (syscall-list-64-options): Likewise.
27814 (syscall-list-64-condition): Likewise.
27815 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27817 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27820 (abi-64-ld-soname): New macro.
27821 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27822 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27825 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27826 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27828 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27830 * sysdeps/unix/sysv/linux/kernel-features.h
27831 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27832 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27833 include <kernel-features.h>.
27834 [!__NR_ftruncate64]: Remove conditional code.
27835 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27836 [__NR_ftruncate64]: Make code unconditional.
27837 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27838 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27839 include <kernel-features.h>.
27840 [!__NR_ftruncate64]: Remove conditional code.
27841 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27842 [__NR_ftruncate64]: Make code unconditional.
27843 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27845 include <kernel-features.h>.
27846 [!__NR_ftruncate64]: Remove conditional code.
27847 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27848 [__NR_ftruncate64]: Make code unconditional.
27849 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27851 include <kernel-features.h>.
27852 [!__NR_ftruncate64]: Remove conditional code.
27853 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27854 [__NR_ftruncate64]: Make code unconditional.
27855 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27857 * configure.in (libc_cv_fpie): Weaken to a compile test using
27858 LIBC_TRY_CC_OPTION.
27859 * configure: Regenerated.
27861 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27876 2012-05-27 David S. Miller <davem@davemloft.net>
27878 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27880 (__Q_simulate_exceptions): Return void. Change to simulate
27881 exceptions by writing into the %fsr.
27882 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27883 (__Qp_handle_exceptions): Likewise.
27885 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27886 __Qp_handle_exceptions.
27887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27888 __Qp_handle_exceptions.
27889 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27890 as unused and give dummy FP_RND_NEAREST initializer.
27891 (FP_INHIBIT_RESULTS): Define.
27892 (___Q_simulate_exceptions): Update declaration.
27893 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27895 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27896 as unused and give dummy FP_RND_NEAREST initializer.
27897 (__Qp_handle_exceptions): Update declaration.
27898 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27901 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27903 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27904 the temporary FPU control word.
27905 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27906 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27907 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27908 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27909 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27910 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27911 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27912 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27913 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27914 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27915 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27917 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27919 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27922 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27924 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27925 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27926 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27927 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27929 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27930 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27933 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27935 * po/h.po: Update from translation team.
27937 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27939 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27941 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27942 handling of denormals.
27943 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27944 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27945 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27946 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27947 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27948 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27952 2012-05-26 Marek Polacek <polacek@redhat.com>
27955 * math/libm-test.inc (fma_test): Don't always expect underflow
27958 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27961 * elf/tst-execstack.c: Include stackinfo.h.
27962 (do_test): Adjust test case to ensure that pthread_getattr_np
27963 behaviour remains the same after marking stack executable.
27965 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27967 * sysdeps/unix/sysv/linux/kernel-features.h
27968 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27969 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27971 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27972 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27973 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27975 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27976 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27978 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27980 * configure.in: Define the default includes to being none.
27981 * configure: Regenerated.
27983 2012-05-25 Roland McGrath <roland@hack.frob.com>
27985 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27986 * sysdeps/x86_64/setjmp.S: Likewise.
27987 * sysdeps/i386/bsd-setjmp.S: Likewise.
27988 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27989 * sysdeps/i386/setjmp.S: Likewise.
27990 * sysdeps/i386/__longjmp.S: Likewise.
27991 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27992 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27994 * include/stap-probe.h: New file.
27995 * configure.in: Handle --enable-systemtap.
27996 * configure: Regenerated.
27997 * config.h.in (USE_STAP_PROBE): New #undef.
27998 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27999 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28000 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28002 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28005 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28006 to 2.4.0 where earlier.
28007 * sysdeps/unix/sysv/linux/configure: Regenerated.
28008 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28009 <kernel-features.h>.
28010 [__ASSUME_32BITUIDS]: Make code unconditional.
28011 [!__ASSUME_32BITUIDS]: Remove conditional code.
28012 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28013 <kernel-features.h>.
28014 [__ASSUME_32BITUIDS]: Make code unconditional.
28015 [!__ASSUME_32BITUIDS]: Remove conditional code.
28016 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28017 [__ASSUME_32BITUIDS]: Make code unconditional.
28018 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28019 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28020 <kernel-features.h>.
28021 [__ASSUME_32BITUIDS]: Make code unconditional.
28022 [!__ASSUME_32BITUIDS]: Remove conditional code.
28023 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28024 <kernel-features.h>.
28025 [__ASSUME_32BITUIDS]: Make code unconditional.
28026 [!__ASSUME_32BITUIDS]: Remove conditional code.
28027 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28028 <kernel-features.h>.
28029 [__ASSUME_32BITUIDS]: Make code unconditional.
28030 [!__ASSUME_32BITUIDS]: Remove conditional code.
28031 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28032 <kernel-features.h>.
28033 [__ASSUME_32BITUIDS]: Make code unconditional.
28034 [!__ASSUME_32BITUIDS]: Remove conditional code.
28035 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28036 <kernel-features.h>.
28037 [__ASSUME_32BITUIDS]: Make code unconditional.
28038 [!__ASSUME_32BITUIDS]: Remove conditional code.
28039 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28040 <kernel-features.h>.
28041 [__ASSUME_32BITUIDS]: Make code unconditional.
28042 [!__ASSUME_32BITUIDS]: Remove conditional code.
28043 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28044 <kernel-features.h>.
28045 [__ASSUME_32BITUIDS]: Make code unconditional.
28046 [!__ASSUME_32BITUIDS]: Remove conditional code.
28047 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28048 <kernel-features.h>.
28049 [__ASSUME_32BITUIDS]: Make code unconditional.
28050 [!__ASSUME_32BITUIDS]: Remove conditional code.
28051 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28052 <kernel-features.h>.
28053 [__ASSUME_32BITUIDS]: Make code unconditional.
28054 [!__ASSUME_32BITUIDS]: Remove conditional code.
28055 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28056 <kernel-features.h>.
28057 [__ASSUME_32BITUIDS]: Make code unconditional.
28058 [!__ASSUME_32BITUIDS]: Remove conditional code.
28059 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28060 <kernel-features.h>.
28061 [__NR_setresgid] (__setresgid): Do not declare.
28062 [__ASSUME_32BITUIDS]: Make code unconditional.
28063 [!__ASSUME_32BITUIDS]: Remove conditional code.
28064 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28065 <kernel-features.h>.
28066 [__NR_setresuid] (__setresuid): Do not declare.
28067 [__ASSUME_32BITUIDS]: Make code unconditional.
28068 [!__ASSUME_32BITUIDS]: Remove conditional code.
28069 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28070 <kernel-features.h>.
28071 [__ASSUME_32BITUIDS]: Make code unconditional.
28072 [!__ASSUME_32BITUIDS]: Remove conditional code.
28073 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28074 <kernel-features.h>.
28075 [__ASSUME_32BITUIDS]: Make code unconditional.
28076 [!__ASSUME_32BITUIDS]: Remove conditional code.
28077 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28078 <kernel-features.h>.
28079 [__ASSUME_32BITUIDS]: Make code unconditional.
28080 [!__ASSUME_32BITUIDS]: Remove conditional code.
28081 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28082 <kernel-features.h>.
28083 [__ASSUME_32BITUIDS]: Make code unconditional.
28084 [!__ASSUME_32BITUIDS]: Remove conditional code.
28085 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28086 <kernel-features.h>.
28087 [__ASSUME_32BITUIDS]: Make code unconditional.
28088 [!__ASSUME_32BITUIDS]: Remove conditional code.
28089 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28090 <kernel-features.h>.
28091 [__ASSUME_32BITUIDS]: Make code unconditional.
28092 [!__ASSUME_32BITUIDS]: Remove conditional code.
28093 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28094 <kernel-features.h>.
28095 [__ASSUME_32BITUIDS]: Make code unconditional.
28096 [!__ASSUME_32BITUIDS]: Remove conditional code.
28097 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28098 <kernel-features.h>.
28099 [__ASSUME_32BITUIDS]: Make code unconditional.
28100 [!__ASSUME_32BITUIDS]: Remove conditional code.
28101 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28102 <kernel-features.h>.
28103 [__ASSUME_32BITUIDS]: Make code unconditional.
28104 [!__ASSUME_32BITUIDS]: Remove conditional code.
28105 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28106 <kernel-features.h>.
28107 [__ASSUME_32BITUIDS]: Make code unconditional.
28108 [!__ASSUME_32BITUIDS]: Remove conditional code.
28109 * sysdeps/unix/sysv/linux/kernel-features.h
28110 (__ASSUME_SETRESUID_SYSCALL): Remove.
28111 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28112 (__ASSUME_32BITUIDS): Likewise.
28113 (__ASSUME_LDT_WORKS): Likewise.
28114 (__ASSUME_O_DIRECTORY): Likewise.
28115 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28116 architecture but not kernel version.
28117 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28118 (__ASSUME_MMAP2_SYSCALL): Likewise.
28119 (__ASSUME_STAT64_SYSCALL): Likewise.
28120 (__ASSUME_IPC64): Likewise.
28121 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28122 <kernel-features.h>.
28123 [__ASSUME_32BITUIDS]: Make code unconditional.
28124 [!__ASSUME_32BITUIDS]: Remove conditional code.
28125 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28126 <kernel-features.h>.
28127 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28128 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28129 132096]: Remove conditional code.
28130 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28131 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28132 <kernel-features.h>.
28133 [__ASSUME_32BITUIDS]: Make code unconditional.
28134 [!__ASSUME_32BITUIDS]: Remove conditional code.
28135 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28136 <kernel-features.h>.
28137 [__ASSUME_32BITUIDS]: Make code unconditional.
28138 [!__ASSUME_32BITUIDS]: Remove conditional code.
28139 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28140 <kernel-features.h>.
28141 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28143 (__setresgid): Do not declare.
28144 [__ASSUME_32BITUIDS]: Make code unconditional.
28145 [!__ASSUME_32BITUIDS]: Remove conditional code.
28146 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28147 <kernel-features.h>.
28148 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28150 (__setresuid): Do not declare.
28151 [__ASSUME_32BITUIDS]: Make code unconditional.
28152 [!__ASSUME_32BITUIDS]: Remove conditional code.
28153 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28154 <kernel-features.h>.
28155 [__ASSUME_32BITUIDS]: Make code unconditional.
28156 [!__ASSUME_32BITUIDS]: Remove conditional code.
28157 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28158 <kernel-features.h>.
28159 [__ASSUME_32BITUIDS]: Make code unconditional.
28160 [!__ASSUME_32BITUIDS]: Remove conditional code.
28162 2012-05-25 Richard Henderson <rth@twiddle.net>
28164 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28165 dl_hwcap to ifunc resolver.
28166 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28168 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28169 dl_hwcap to ifunc resolver.
28170 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28172 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28175 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28176 for |x| <= 2**-26, not 2**-57.
28177 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28180 2012-05-24 Jeff Law <law@redhat.com>
28182 * stdio-common/Makefile (tests): Add bug25.
28183 * stdio-common/bug25.c: New test.
28185 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28188 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28189 multiple of MALLOC_ALIGNMENT in size.
28190 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28192 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28194 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28196 (FILENAME_MAX): Use macro-int-constant.
28197 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28198 (_IOFBF): Use macro-int-constant.
28199 (_IOLBF): Likewise.
28200 (_IONBF): Likewise.
28201 (SEEK_CUR): Likewise.
28202 (SEEK_END): Likewise.
28203 (SEEK_SET): Likewise.
28204 (TMP_MAX): Likewise.
28205 (EOF): Use macro-int-constant. Require < 0.
28206 (NULL): Use macro-constant. Require == 0.
28207 (stdin): Require type to be FILE *.
28208 (stdout): Likewise.
28209 (stderr): Likewise.
28210 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28211 macro-int-constant.
28212 (EXIT_SUCCESS): Likewise.
28213 (NULL): Use macro-constant. Require == 0.
28214 (RAND_MAX): Use macro-int-constant.
28215 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28216 [C99-based standards] (strtof): Require function.
28217 [C99-based standards] (strtold): Likewise.
28218 [C99-based standards] (strtoll): Likewise.
28219 [C99-based standards] (strtoull): Likewise.
28220 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28221 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28222 [ISO || ISO99 || ISO11] (math.h): Likewise.
28223 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28224 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28225 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28227 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28230 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28231 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28232 * intl/dgettext.c (DCGETTEXT): Likewise.
28233 * intl/gettext.c (DCGETTEXT): Likewise.
28234 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28235 * posix/regex_internal.h (gettext): Likewise.
28236 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28237 Remove declaration.
28238 * include/argz.h (__argz_count_internal)
28239 (__argz_stringify_internal): Remove declaration.
28240 (__argz_count, __argz_stringify): Declare hidden proto.
28241 * intl/dcgettext.c: Remove use of INTDEF.
28242 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28243 * string/argz-stringify.c: Likewise.
28244 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28245 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28246 Declare hidden proto.
28247 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28248 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28249 Declare hidden proto.
28250 * include/stdio.h (__asprintf_internal): Don't declare.
28251 (__asprintf): Don't define as macro. Declare hidden proto.
28252 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28253 (__fsetlocking): Declare hidden proto.
28254 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28255 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28257 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28258 (_IO_setlinebuf): Remove use of INTUSE.
28259 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28260 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28261 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28262 Remove declaration.
28263 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28264 (_IO_do_flush): Remove use of INTUSE.
28265 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28266 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28267 (_IO_adjust_column, _IO_least_wmarker)
28268 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28269 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28270 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28271 (_IO_default_doallocate, _IO_wdefault_doallocate)
28272 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28273 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28274 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28275 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28276 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28277 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28278 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28279 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28280 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28281 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28282 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28283 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28284 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28286 (_IO_flush_all_internal, _IO_adjust_column_internal)
28287 (_IO_default_uflow_internal, _IO_default_finish_internal)
28288 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28289 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28290 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28291 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28292 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28293 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28294 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28295 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28296 (_IO_file_close_internal, _IO_file_close_it_internal)
28297 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28298 (_IO_file_init_internal, _IO_file_attach_internal)
28299 (_IO_file_fopen_internal, _IO_file_read_internal)
28300 (_IO_file_sync_internal, _IO_file_seek_internal)
28301 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28302 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28303 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28304 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28305 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28306 (_IO_list_all_internal, _IO_link_in_internal)
28307 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28308 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28309 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28310 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28311 (_IO_do_write_internal, _IO_padn_internal)
28312 (_IO_getline_info_internal, _IO_getline_internal)
28313 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28314 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28315 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28316 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28317 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28318 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28319 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28320 with libc_hidden_ver, remove use of INTUSE.
28321 * libio/genops.c: Likewise.
28322 * libio/freopen.c: Likewise.
28323 * libio/freopen64.c: Likewise.
28324 * libio/iofclose.c: Likewise.
28325 * libio/iofdopen.c: Likewise.
28326 * libio/iofflush.c: Likewise.
28327 * libio/iofflush_u.c: Likewise.
28328 * libio/iofgets.c: Likewise.
28329 * libio/iofgets_u.c: Likewise.
28330 * libio/iofopen.c: Likewise.
28331 * libio/iofopncook.c: Likewise.
28332 * libio/iofread.c: Likewise.
28333 * libio/iofread_u.c: Likewise.
28334 * libio/ioftell.c: Likewise.
28335 * libio/iofwrite.c: Likewise.
28336 * libio/iogetline.c: Likewise.
28337 * libio/iogets.c: Likewise.
28338 * libio/iogetwline.c: Likewise.
28339 * libio/iopadn.c: Likewise.
28340 * libio/iopopen.c: Likewise.
28341 * libio/ioseekoff.c: Likewise.
28342 * libio/ioseekpos.c: Likewise.
28343 * libio/iosetbuffer.c: Likewise.
28344 * libio/iosetvbuf.c: Likewise.
28345 * libio/ioungetc.c: Likewise.
28346 * libio/ioungetwc.c: Likewise.
28347 * libio/iovdprintf.c: Likewise.
28348 * libio/iovsprintf.c: Likewise.
28349 * libio/iovsscanf.c: Likewise.
28350 * libio/memstream.c: Likewise.
28351 * libio/obprintf.c: Likewise.
28352 * libio/oldfileops.c: Likewise.
28353 * libio/oldiofclose.c: Likewise.
28354 * libio/oldiofdopen.c: Likewise.
28355 * libio/oldiofopen.c: Likewise.
28356 * libio/oldiopopen.c: Likewise.
28357 * libio/oldstdfiles.c: Likewise.
28358 * libio/putc.c: Likewise.
28359 * libio/setbuf.c: Likewise.
28360 * libio/setlinebuf.c: Likewise.
28361 * libio/stdfiles.c: Likewise.
28362 * libio/strops.c: Likewise.
28363 * libio/vasprintf.c: Likewise.
28364 * libio/vscanf.c: Likewise.
28365 * libio/vsnprintf.c: Likewise.
28366 * libio/vswprintf.c: Likewise.
28367 * libio/wfiledoalloc.c: Likewise.
28368 * libio/wfileops.c: Likewise.
28369 * libio/wgenops.c: Likewise.
28370 * libio/wmemstream.c: Likewise.
28371 * libio/wstrops.c: Likewise.
28372 * libio/__fpurge.c: Likewise.
28373 * libio/__fsetlocking.c: Likewise.
28374 * assert/assert.c: Likewise.
28375 * debug/fgets_chk.c: Likewise.
28376 * debug/fgets_u_chk.c: Likewise.
28377 * debug/fread_chk.c: Likewise.
28378 * debug/fread_u_chk.c: Likewise.
28379 * debug/gets_chk.c: Likewise.
28380 * debug/obprintf_chk.c: Likewise.
28381 * debug/vasprintf_chk.c: Likewise.
28382 * debug/vdprintf_chk.c: Likewise.
28383 * debug/vsnprintf_chk.c: Likewise.
28384 * debug/vsprintf_chk.c: Likewise.
28385 * malloc/mtrace.c: Likewise.
28386 * misc/error.c: Likewise.
28387 * misc/syslog.c: Likewise.
28388 * stdio-common/asprintf.c: Likewise.
28389 * stdio-common/fxprintf.c: Likewise.
28390 * stdio-common/getw.c: Likewise.
28391 * stdio-common/isoc99_fscanf.c: Likewise.
28392 * stdio-common/isoc99_scanf.c: Likewise.
28393 * stdio-common/isoc99_vfscanf.c: Likewise.
28394 * stdio-common/isoc99_vscanf.c: Likewise.
28395 * stdio-common/isoc99_vsscanf.c: Likewise.
28396 * stdio-common/printf-prs.c: Likewise.
28397 * stdio-common/printf_fp.c: Likewise.
28398 * stdio-common/printf_fphex.c: Likewise.
28399 * stdio-common/printf_size.c: Likewise.
28400 * stdio-common/putw.c: Likewise.
28401 * stdio-common/scanf.c: Likewise.
28402 * stdio-common/sprintf.c: Likewise.
28403 * stdio-common/tmpfile.c: Likewise.
28404 * stdio-common/vfprintf.c: Likewise.
28405 * stdio-common/vfscanf.c: Likewise.
28406 * stdlib/strfmon_l.c: Likewise.
28407 * sunrpc/openchild.c: Likewise.
28408 * sunrpc/xdr_stdio.c: Likewise.
28409 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28410 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28412 2012-05-24 Roland McGrath <roland@hack.frob.com>
28414 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28416 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28417 in the third column, to generate for the shared library an IFUNC
28418 that uses _dl_vdso_vsym.
28419 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28420 * Makeconfig (object-suffixes-noshared): New variable.
28422 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28423 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28424 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28425 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28428 * include/sys/time.h (__gettimeofday): Remove macro.
28429 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28430 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28432 (__gettimeofday): Add libc_hidden_def.
28433 (gettimeofday): Add libc_hidden_weak.
28434 * sysdeps/mach/gettimeofday.c: Likewise.
28435 * sysdeps/posix/gettimeofday.c: Likewise.
28436 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28437 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28438 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28439 (__gettimeofday_internal): Remove strong_alias.
28440 (__gettimeofday): Add libc_hidden_def.
28441 (gettimeofday): Add libc_hidden_weak.
28442 * sysdeps/unix/syscalls.list (gettimeofday):
28443 Remove __gettimeofday_internal alias.
28445 2012-05-24 Daniel Jacobowitz <drow@false.org>
28446 H.J. Lu <hongjiu.lu@intel.com>
28449 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28450 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28451 (largebin_index_32_big): New.
28452 (largebin_index): Use it for 16-byte alignment.
28453 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28454 correction with front_misalign.
28456 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28484 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28485 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28487 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28491 * math/libm-test.inc (exp_test): Add test from bug 14036.
28492 (pow_test): Add test from bug 10846.
28494 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28496 (special_function): Do not include flags in test name.
28497 (parse_args): Likewise.
28498 * sysdeps/i386/fpu/libm-test-ulps: Update.
28499 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28500 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28501 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28504 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28506 * math/libm-test.inc ("Philosophy"): Update comment about
28508 (UNDERFLOW_EXCEPTION): New macro.
28509 (UNDERFLOW_EXCEPTION_OK): Likewise.
28510 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28511 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28512 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28513 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28514 (INVALID_EXCEPTION_OK): Update value.
28515 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28516 (OVERFLOW_EXCEPTION_OK): Likewise.
28517 (IGNORE_ZERO_INF_SIGN): Likewise.
28518 (test_exceptions): Handle underflow exceptions.
28519 (acos_test): Update for underflow exception expectations.
28520 (cexp_test): Likewise.
28521 (clog_test): Likewise.
28522 (clog10_test): Likewise.
28523 (csqrt_test): Likewise.
28524 (ctan_test): Likewise.
28525 (ctanh_test): Likewise.
28526 (exp_test): Likewise.
28527 (exp10_test): Likewise.
28528 (exp2_test): Likewise.
28529 (expm1_test): Likewise.
28530 (fma_test): Likewise.
28531 (j0_test): Likewise.
28532 (jn_test): Likewise.
28533 (nexttoward_test): Likewise.
28534 (pow_test): Likewise.
28535 (scalbn_test): Likewise.
28536 (scalbln_test): Likewise.
28537 (tan_test): Likewise.
28538 (y1_test): Likewise.
28539 * sysdeps/i386/fpu/libm-test-ulps: Update.
28540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28542 2012-05-23 David S. Miller <davem@davemloft.net>
28544 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28545 (__libc_sigaction): Remove unused local variables.
28547 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28549 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28551 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28553 mktime: avoid signed integer overflow
28554 * time/mktime.c (__mktime_internal): Do not mishandle the case
28555 where diff == INT_MIN.
28557 mktime: simplify computation of average
28558 * time/mktime.c (ranged_convert): Use new time_t_avg function
28559 instead of rolling our own (probably-slower) code.
28561 mktime: do not assume signed right shift propagates sign bit
28562 * time/mktime.c (isdst_differ): New static function.
28563 (__mktime_internal): No need to normalize tm_isdst now.
28564 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28567 mktime: merge another wrapv change from gnulib
28568 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28569 from some compilers.
28571 mktime: remove incorrect attempt at unusual arithmetics
28572 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28573 The code didn't really work on such machines anyway.
28574 (TYPE_MINIMUM): Assume two's complement.
28575 (twos_complement_arithmetic): Verify that long_int and time_t
28576 are two's complement (or unsigned, in the latter case).
28578 mktime: check signed shifts on long_int and time_t, too
28579 * time/mktime.c (SHR): Check that shifts work as desired
28580 on the types long_int and time_t too, as SHR is used on
28583 mktime: do not assume 'long' is wide enough
28584 * time/mktime.c (verify): Move decl up.
28585 (long_int): New type.
28586 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28587 to remove assumption in the code that 'long' is wide enough to
28588 store year values. This assumption is not true on x32 and on
28589 some non-glibc platforms.
28591 mktime: merge wrapv change from gnulib
28592 * time/mktime.c (WRAPV): New macro.
28593 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28594 (guess_time_tm, __mktime_internal): Do not assume that signed
28595 integer overflow wraps around; modern compilers generate code
28596 where this assumption is no longer valid.
28598 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28600 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28601 Replace "jmp L(pseudo_end)" with "ret".
28602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28605 2012-05-23 Andreas Jaeger <aj@suse.de>
28607 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28608 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28610 2012-05-23 Andreas Jaeger <aj@suse.de>
28611 Maximilian Attems <max@stro.at>
28613 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28616 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28618 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28619 code so that pseudo_end is just ret and the stack pointer is
28620 correct also for static library in error case.
28622 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28624 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28625 move to syscalls.list.
28626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28631 * manual/install.texi (Running make install): Do not mention Linux
28632 kernel version for which pt_chown is not needed.
28633 (Linux): Do not mention problems with nscd with 2.0 kernels.
28634 * INSTALL: Regenerated.
28636 2012-05-23 Andreas Jaeger <aj@suse.de>
28638 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28639 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28641 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28642 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28643 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28644 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28645 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28646 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28647 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28648 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28649 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28650 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28651 * sysdeps/unix/sysv/linux/bits/in.h
28652 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28654 2012-05-22 Roland McGrath <roland@hack.frob.com>
28656 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28657 (PREPARE_VERSION): Just use assert instead, it will be elided
28658 under [NDEBUG] anyway.
28660 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28662 * sysdeps/unix/sysv/linux/Makefile: Include
28663 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28664 (sysdep_routines): Remove sysctl.
28665 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28666 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28667 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28668 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28669 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28671 2012-05-22 Andreas Jaeger <aj@suse.de>
28673 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28674 that pseudo_end is just ret and the stack pointer is correct also
28675 for static library in error case.
28677 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28680 * nss/nsswitch.c (defconfig_entries): New variable.
28681 (__nss_database_lookup): Don't leak defconfig entries.
28682 (nss_parse_service_list): Don't leak on error paths.
28683 (free_database_entries): New function.
28684 (free_defconfig): New function.
28685 (free_mem): Move common code to free_database_entries.
28687 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28689 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28691 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28693 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28694 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28697 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28698 (INTERNAL_SYSCALL_TYPES): Likewise.
28699 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28700 (LOAD_REGS_TYPES_[1-6]): Likewise.
28701 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28702 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28704 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28706 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28707 copysignl for GLIBC_2_0.
28708 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28709 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28710 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28711 logbl for GLIBC_2_0.
28712 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28713 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28715 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28717 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28718 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28720 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28723 * time/mktime.c: Update copyright years.
28725 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28727 mktime: merge comment-quoting-style change from gnulib
28728 * time/mktime.c: Quote 'like this' in comments.
28729 The GNU coding standards suggest that we no longer quote `like this',
28730 as "`" and "'" are typically rendered asymmetrically nowadays.
28731 The typical gnulib style is to quote 'like this' when quoting
28732 code, and "like this" when quoting English.
28734 * time/mktime.c (compile-command): Add "-I.".
28736 mktime: merge mktime-internal.h change from gnulib
28737 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28739 mktime: merge time_r change from gnulib
28740 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28742 mktime: merge DEBUG change from gnulib
28743 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28744 case system <time.h> has a #define.
28746 mktime: merge <sys/types.h> change from gnulib
28747 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28748 since <time.t> is now guaranteed to define time_t.
28750 mktime: merge HAVE_CONFIG_H change from gnulib
28751 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28753 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28758 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28760 (struct rusage): Use anonymous union to pad each field to
28763 2012-05-21 David S. Miller <davem@davemloft.net>
28765 * Makefules (o-iterator): Remove .s cases.
28766 (compile-command.s): Delete.
28767 (COMPILE.s): Delete.
28768 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28770 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28772 * configure.in (libc_cv_predef_stack_protector): Only consider
28773 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28774 * configure: Regenerated.
28776 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28779 New macro. Use R*LP on int and pointer.
28780 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28781 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28782 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28783 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28785 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28786 [__WORDSIZE_TIME64_COMPAT32] instead of
28787 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28788 (struct utmp): Likewise.
28789 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28790 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28792 (__WORDSIZE_TIME64_COMPAT32): This.
28793 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28794 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28795 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28796 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28797 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28798 (__WORDSIZE_TIME64_COMPAT32): New macro.
28800 2012-05-21 Andreas Jaeger <aj@suse.de>
28802 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28803 only if [SHARED]. Add prototype for __wcschr_ia32.
28805 2012-05-21 Roland McGrath <roland@hack.frob.com>
28807 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28808 of %rbp unmolested in the jmp_buf while mangling the low bits.
28809 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28810 unmolested high bits of %rbp while demangling the low bits.
28811 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28813 2012-05-21 Andreas Jaeger <aj@suse.de>
28815 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28816 * sunrpc/svc_simple.c: Use it for registerrpc.
28817 * sunrpc/xcrypt.c: Use it for passwd2des.
28819 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28821 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28823 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28824 Don't define if [__SYSCALL_WORDSIZE != 32].
28825 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28828 2012-05-21 Bruno Haible <bruno@clisp.org>
28829 Andreas Jaeger <aj@suse.de>
28831 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28832 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28833 inptr and inend for must_buffer_ch.
28834 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28835 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28836 * stdio-common/Makefile (tests): Remove bug15.
28837 (bug15-ENV): Remove macro.
28838 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28841 2012-05-19 Andreas Jaeger <aj@suse.de>
28842 Roland McGrath <roland@hack.frob.com>
28844 * manual/contrib.texi: Completely rewritten. It contains now an
28845 alphabetical list of contributors and their contributions.
28847 2012-05-21 Richard Henderson <rth@twiddle.net>
28849 * misc/getauxval.c (__getauxval): Use unsigned long int.
28850 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28851 (getauxval): Use unsigned long int.
28853 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28855 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28857 2012-05-21 Roland McGrath <roland@hack.frob.com>
28859 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28860 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28861 __alignof__ (long double).
28863 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28867 2012-05-20 Richard Henderson <rth@twiddle.net>
28869 * misc/getauxval.c: New file.
28870 * misc/sys/auxv.h: New file.
28871 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28872 (routines): Add getauxval.
28873 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28874 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28875 * elf/dl-sysdep.c (_dl_auxv): Remove.
28876 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28877 * elf/dl-support.c (_dl_auxv): New variable.
28878 (_dl_aux_init): Initialize it.
28879 * manual/startup.texi (Auxiliary Vector): New node.
28880 * sysdeps/generic/bits/hwcap.h: New file.
28881 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28882 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28883 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28884 * sysdeps/sparc/sysdep.h: ... here. Include it.
28885 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28886 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28892 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28898 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28902 2012-05-19 David S. Miller <davem@davemloft.net>
28904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28906 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28909 * math/s_ccosh.c: Include <float.h>
28910 (__ccosh): Avoid internal overflow calculating sinh and cosh
28911 values before multiplying by sin and cos values.
28912 * math/s_ccoshf.c: Likewise.
28913 * math/s_ccoshl.c: Likewise.
28914 * math/s_csin.c: Likewise.
28915 * math/s_csinf.c: Likewise.
28916 * math/s_csinl.c: Likewise.
28917 * math/s_csinh.c: Likewise.
28918 * math/s_csinhf.c: Likewise.
28919 * math/s_csinhl.c: Likewise.
28920 * math/libm-test.inc (ccos_test): Add more tests.
28921 (ccosh_test): Likewise.
28922 (csin_test): Likewise.
28923 (csinh_test): Likewise.
28924 * sysdeps/i386/fpu/libm-test-ulps: Update.
28925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28927 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28929 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28930 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28932 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28934 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28936 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28937 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28938 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28939 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28940 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28941 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28942 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28943 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28944 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28945 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28946 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28947 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28948 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28949 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28950 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28951 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28952 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28953 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28954 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28955 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28956 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28957 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28958 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28959 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28960 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28961 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28962 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28963 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28964 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28965 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28966 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28968 2012-05-18 Andreas Jaeger <aj@suse.de>
28970 * csu/.gitignore: Delete.
28972 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28974 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28975 (timex): Use __syscall_slong_t.
28977 2012-05-18 Andreas Jaeger <aj@suse.de>
28978 Carlos O'Donell <carlos_odonell@mentor.com>
28980 * manual/install.texi (Configuring and compiling): Update
28981 description about files modified in the source directory.
28982 * INSTALL: Regenerated.
28984 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28986 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28987 value. Use "or" to set return value to -1.
28988 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28989 negate return value.
28991 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28993 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28994 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28995 failure if the compiler has Graphite support disabled.
28996 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28998 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28999 (CFLAGS-memmove.c): Likewise.
29000 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29003 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29005 * sysdeps/x86_64/x32/_itoa.h: New file.
29007 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29008 getdents system call only if kernel and user dirents have the
29009 same d_ino and d_off.
29011 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29012 LLONG_MAX != LONG_MAX.
29013 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29014 (_fitoa_word): Likewise.
29016 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29018 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29019 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29020 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29022 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29023 include <bits/wordsize.h>. Check __x86_64__ instead of
29025 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29026 if __x86_64__ is defined. Use anonymous union on fpstate.
29028 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29031 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29033 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29034 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29035 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29036 Refer to _rtld_local_ro instead of _rtld_global_ro.
29037 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29039 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29041 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29043 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29044 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29045 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29047 * sysdeps/powerpc/powerpc32/dl-machine.c
29048 (__elf_machine_runtime_setup) [PROF]: Don't reference
29051 2012-05-18 Andreas Jaeger <aj@suse.de>
29053 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29054 function only available for GCCs before 3.4 since GCC 3.4
29055 introduced a builtin.
29057 (llrintf): Likewise.
29058 (llrint): Likewise.
29065 (nearbyint): Likewise.
29066 (nearbyintf): Likewise.
29070 (floorf): Likewise.
29072 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29074 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29075 on both fields and cast pointer to __syscall_ulong_t.
29077 * bits/types.h (__fsword_t): New type.
29078 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29079 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29080 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29081 (__FSWORD_T_TYPE): Likewise.
29082 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29083 (__FSWORD_T_TYPE): Likewise.
29084 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29085 (__FSWORD_T_TYPE): Likewise.
29086 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29087 (__FSWORD_T_TYPE): Likewise.
29088 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29089 __SWORD_TYPE with __fsword_t.
29090 (statfs64): Likewise.
29092 2012-05-17 David S. Miller <davem@davemloft.net>
29094 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29096 2012-05-17 Andreas Jaeger <aj@suse.de>
29098 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29101 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29103 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29105 2012-05-17 Andreas Jaeger <aj@suse.de>
29107 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29110 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29112 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29114 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29116 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29117 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29119 2012-05-17 Andreas Jaeger <aj@suse.de>
29120 Carlos O'Donell <carlos_odonell@mentor.com>
29123 * sysdeps/x86_64/multiarch/init-arch.h
29124 (bit_YMM_Usable): Rename to...
29125 (bit_AVX_Usable): ... this.
29126 (bit_FMA4_Usable): New macro.
29127 (bit_XMM_state): New macro.
29128 (bit_YMM_state): New macro.
29129 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29130 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29131 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29132 (CPUID_OSXSAVE): New macro.
29133 (CPUID_AVX): New macro.
29134 (CPUID_FMA4): New macro.
29135 (index_YMM_Usable): Rename to...
29136 (index_AVX_Usable): ... this.
29137 (HAS_AVX): Use HAS_ARCH_FEATURE.
29138 (HAS_FMA4): Likewise.
29139 (HAS_YMM_USABLE): Remove.
29140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29141 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29143 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29144 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29145 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29146 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29147 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29149 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29151 * math/libm-test.c: Support platforms without multiple rounding modes.
29152 * math/bug-nextafter.c: Support platforms without FP exceptions.
29153 * math/bug-nexttoward.c: Likewise.
29154 * math/test-fenv.c: Likewise.
29155 * math/test-misc.c: Likewise.
29156 * stdlib/bug-getcontext.c: Likewise.
29158 2012-05-17 Andreas Jaeger <aj@suse.de>
29160 * manual/examples/search.c (critter_cmp): Change signature to
29162 * manual/string.texi (Collation Functions): Likewise.
29164 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29166 * bits/types.h: Fold copyright years.
29167 * bits/typesizes.h: Likewise.
29168 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29171 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29172 * time/time.h: Likewise.
29174 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29177 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29178 in instead of returning them. Return void.
29179 (__libc_mallinfo): Accumulate over all arenas.
29180 (__malloc_stats): Adjust for change in int_mallinfo interface.
29182 2012-05-16 Roland McGrath <roland@hack.frob.com>
29185 * configure.in (NM): Add AC_CHECK_TOOL for it.
29186 (libc_extra_cflags): New substituted variable.
29187 Check for -fstack-protector being used implicitly.
29188 * configure: Regenerated.
29189 * config.make.in (config-extra-cflags): New variable,
29190 gets @libc_extra_cflags@.
29191 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29194 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29195 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29196 * configure: Regenerated.
29197 * config.make.in (CPPUNDEFS): New substituted variable.
29198 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29199 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29200 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29202 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29204 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29205 (mq_attr): Use __syscall_slong_t.
29207 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29209 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29210 Check __x86_64__ instead of __WORDSIZE.
29211 (_STAT_VER_LINUX): Likewise.
29212 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29213 __syscall_ulong_t and __syscall_slong_t.
29214 (stat64): Likewise.
29216 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29218 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29220 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29222 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29224 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29226 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29229 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29230 include <bits/wordsize.h>. Check __x86_64__ instead of
29232 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29234 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29236 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29237 include <bits/wordsize.h>. Check __x86_64__ instead of
29239 (user_regs_struct): Use "__extension__ unsigned long long"
29240 instead of "unsigned long" if __x86_64__ is defined.
29241 (user): Likewise. Pad after pointer field if __ILP32__ is
29244 2012-05-16 Joseph Myers <joseph@codesourcery.com>
29246 * configure.in (makeinfo): Require version 4.5 or later. Allow
29248 * configure: Regenerated.
29249 * manual/install.texi (texinfo): Increase version requirement to
29251 * INSTALL: Regenerated.
29253 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29255 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29257 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29259 * sysdeps/x86_64/x32/ffs.c: New file.
29261 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29263 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29264 defined. Use __syscall_ulong_t.
29265 (shminfo): Use __syscall_ulong_t.
29266 (shm_info): Likewise.
29268 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29271 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29273 (msgqnum_t): Use __syscall_ulong_t.
29274 (msglen_t): Likewise.
29275 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29278 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29279 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29281 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29283 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29284 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29286 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29289 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29290 include <bits/wordsize.h>. Check __x86_64__ instead of
29293 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29294 "unsigned long long int" if __x86_64__ is defined.
29295 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29297 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29298 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29299 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29301 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29303 (GET_PC): Cast to uintptr_t first.
29304 (GET_FRAME): Likewise.
29305 (GET_STACK): Likewise.
29307 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29308 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29309 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29310 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29311 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29312 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29313 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29314 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29315 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29316 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29317 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29318 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29319 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29320 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29321 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29322 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29323 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29324 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29325 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29326 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29327 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29328 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29329 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29330 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29331 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29332 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29333 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29334 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29335 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29337 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29339 * Makerules (+depfiles): Also collect depfiles from .oS in
29341 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29342 .oS, $(libnldbl-routines)).
29344 * Makerules (native-compile-mkdep-flags): Define.
29345 * sunrpc/Makefile (extra-objs): Add $(addprefix
29346 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29347 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29348 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29349 calling $(make-target-directory).
29351 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29353 * bits/types.h (__snseconds_t): Removed.
29354 * time/time.h (struct timespec): Replace __snseconds_t with
29356 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29357 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29359 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29360 (__SNSECONDS_T_TYPE): Likewise.
29361 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29362 (__SNSECONDS_T_TYPE): Likewise.
29363 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29364 (__SNSECONDS_T_TYPE): Likewise.
29366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29368 * sysdeps/mach/hurd/bits/typesizes.h
29369 (__SYSCALL_SLONG_TYPE): New macro.
29370 (__SYSCALL_ULONG_TYPE): Likewise.
29372 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29374 * bits/types.h (__syscall_slong_t): New type.
29375 (__syscall_ulong_t): Likewise.
29377 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29378 (__SYSCALL_ULONG_TYPE): Likewise.
29379 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29380 (__SYSCALL_SLONG_TYPE): Likewise.
29381 (__SYSCALL_ULONG_TYPE): Likewise.
29382 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29383 (__SYSCALL_SLONG_TYPE): Likewise.
29384 (__SYSCALL_ULONG_TYPE): Likewise.
29385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29386 (__SYSCALL_SLONG_TYPE): Likewise.
29387 (__SYSCALL_ULONG_TYPE): Likewise.
29389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29391 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29392 Add sigaltstack-offsets.sym.
29393 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29394 <sigaltstack-offsets.h>.
29395 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29396 longjmp_msg pointer.
29397 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29398 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29400 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29402 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29404 * elf/stackguard-macros.h: Remove file.
29405 * sysdeps/generic/stackguard-macros.h: New file.
29406 * sysdeps/i386/stackguard-macros.h: Likewise.
29407 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29408 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29409 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29410 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29411 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29412 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29413 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29414 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29415 <elf/stackguard-macros.h>.
29418 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29419 __aligned__ in attribute.
29420 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29421 (gregset_t): Likewise.
29423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29425 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29426 * sysdeps/x86_64/64/Implies-after: Here. New file.
29427 * sysdeps/x86_64/x32/Implies-after: New file.
29429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29431 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29432 and access return value for _dl_profile_fixup. Use R10_LP to
29435 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29437 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29441 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29442 * sysdeps/x86_64/x32/sysdep.h: New file.
29444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29446 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29447 * sysdeps/x86_64/setjmp.S: Likewise.
29449 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29451 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29452 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29453 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29454 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29455 remove unused global constant.
29457 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29459 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29460 include of <not-cancel.h>.
29462 2012-05-15 Roland McGrath <roland@hack.frob.com>
29464 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29466 2012-05-15 Jeff Law <law@redhat.com>
29467 Andreas Jaeger <aj@suse.de>
29470 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29472 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29473 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29474 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29475 code changing __hst_map_handle.map.
29477 2012-05-15 Roland McGrath <roland@hack.frob.com>
29479 * configure.in (sysnames): Look for Implies-before and Implies-after
29481 * configure: Regenerated.
29483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29485 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29486 8-byte data alignment with LP_SIZE alignment.
29488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29490 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29493 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29495 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29497 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29499 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29500 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29501 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29503 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29505 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29507 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29508 (stackinfo_sub_sp): Likewise.
29510 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29512 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29515 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29517 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29522 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29527 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29531 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29532 into R11_LP and load __x86_64_shared_cache_size_half into
29535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29537 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29540 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29542 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29546 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29548 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29549 powerpc32/power7/fpu/s_logb.c via #include.
29550 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29551 powerpc32/power7/fpu/s_logbf.c via #include.
29552 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29553 powerpc32/power7/fpu/s_logbl.c via #include.
29555 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29557 * README.libm: Remove file.
29559 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29561 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29562 count for x32. Use R*_LP and omit operand-size suffix.
29564 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29566 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29567 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29568 * sysdeps/x86_64/x32/shlib-versions: New file.
29570 2012-05-14 Roland McGrath <roland@hack.frob.com>
29572 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29573 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29574 Use _dl_fatal_printf instead.
29576 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29578 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29579 set if not set by the user. Do not allow for being unset.
29580 * sysdeps/unix/sysv/linux/configure: Regenerated.
29582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29584 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29585 the `q' suffix from lea and replace .quad with ASM_ADDR.
29587 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29590 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29592 (PTR_DEMANGLE): Likewise.
29594 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29596 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29598 (ASM_ADDR): Likewise.
29599 (RAX_LP): Likewise.
29600 (RBP_LP): Likewise.
29601 (RBX_LP): Likewise.
29602 (RCX_LP): Likewise.
29603 (RDI_LP): Likewise.
29604 (RSI_LP): Likewise.
29605 (RSP_LP): Likewise.
29608 (R10_LP): Likewise.
29609 (R10_LP): Likewise.
29610 (R11_LP): Likewise.
29611 (R12_LP): Likewise.
29612 (R13_LP): Likewise.
29613 (R14_LP): Likewise.
29614 (R15_LP): Likewise.
29616 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29618 * sysdeps/x86_64/x32/dl-machine.h: New file.
29620 2012-05-14 Andreas Jaeger <aj@suse.de>
29622 * manual/Makefile (subdir): Remove export of subdir.
29623 (all): Remove target.
29624 (.PHONY): Remove all from list.
29625 (mkinstalldirs): Remove.
29626 (.PHONY): Remove installdirs from list.
29627 ($(inst_infodir)/libc.info): Use make-target-directory.
29628 (installdirs): Remove.
29629 (subdir_%): Remove.
29630 (glibc-targets): Remove.
29633 ($(objpfx)stubs ../po/manual.pot): Remove.
29634 ($(objpfx)stamp%): Remove.
29635 (make-target-directory): Remove.
29636 (subdir_install): Remove.
29637 (routines): Remove.
29644 * manual/.gitignore: Remove, it's not needed anymore.
29645 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29647 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29649 (texis): Renamed to $(objpfx)texis.
29650 (texis-path): New, contains path to generated files.
29651 (chapters.%): Use texis-path for complete path, add extra argument
29653 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29654 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29655 (summary,texi, stamp-summary): Use complete path of
29656 files. Generate files in build dir.
29657 (dir-add.texi): Build in build dir.
29658 (libm-err.texi,stamp-libm-err): Likewise.
29659 (version.texi, stamp-version): Likewise.
29660 (.%c.texi): Likewise.
29661 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29662 (mostlyclean): Remove target.
29663 (realclean): Remove target.
29664 (generated): Add new variable with contents from mostlyclean and
29665 realclean, remove entries duplicated in common-mostlyclean, add
29666 stamp-libm-err and stamp-version.
29667 (generated-dirs): Add libc directory.
29668 ($(inst_infodir)/libc.info): Install files from build dir.
29670 * manual/install.texi (Configuring and compiling): Adjust since
29671 the info files are not part of the tar ball anymore.
29673 2012-05-14 Andreas Jaeger <aj@suse.de>
29675 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29678 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29681 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29682 to 2.2.0 where earlier.
29683 * sysdeps/unix/sysv/linux/configure: Regenerated.
29684 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29685 Remove conditional code.
29686 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29687 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29688 Remove conditional code.
29689 [!__NR_lchown]: Likewise.
29690 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29691 [__NR_lchown]: Likewise.
29692 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29693 comment referencing __ASSUME_LCHOWN_SYSCALL.
29694 * sysdeps/unix/sysv/linux/i386/sigaction.c
29695 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29696 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29697 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29698 Remove conditional code.
29699 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29700 (__protocol_available): Remove #if 0 code.
29701 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29703 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29704 * sysdeps/unix/sysv/linux/kernel-features.h
29705 (__ASSUME_GETCWD_SYSCALL): Don't define.
29706 (__ASSUME_REALTIME_SIGNALS): Likewise.
29707 (__ASSUME_PREAD_SYSCALL): Likewise.
29708 (__ASSUME_PWRITE_SYSCALL): Likewise.
29709 (__ASSUME_POLL_SYSCALL): Likewise.
29710 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29711 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29713 (__ASSUME_SIOCGIFNAME): Don't define.
29714 (__ASSUME_MSG_NOSIGNAL): Likewise.
29715 (__ASSUME_SENDFILE): Define unconditionally.
29716 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29717 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29719 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29720 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29721 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29722 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29723 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29724 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29725 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29727 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29728 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29730 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29731 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29733 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29736 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29737 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29739 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29740 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29742 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29743 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29745 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29746 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29748 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29749 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29750 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29751 Remove conditional code.
29752 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29753 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29754 Remove conditional code.
29755 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29756 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29757 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29758 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29759 Remove conditional code.
29760 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29761 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29762 Remove conditional code.
29763 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29764 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29765 Remove conditional code.
29766 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29767 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29768 Remove conditional code.
29769 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29770 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29771 Remove conditional code.
29772 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29773 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29774 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29775 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29776 * sysdeps/unix/sysv/linux/sigaction.c
29777 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29778 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29779 * sysdeps/unix/sysv/linux/sigpending.c
29780 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29781 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29782 * sysdeps/unix/sysv/linux/sigprocmask.c
29783 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29784 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29785 * sysdeps/unix/sysv/linux/sigsuspend.c
29786 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29787 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29788 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29789 (__libc_missing_rt_sigs): Remove.
29790 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29791 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29792 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29793 Remove conditional code.
29794 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29795 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29797 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29798 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29799 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29800 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29802 2012-05-14 Andreas Jaeger <aj@suse.de>
29804 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29805 it's not used in glibc.
29806 (__coshm1): Likewise.
29807 (__acosh1p): Likewise.
29810 * manual/string.texi (Copying and Concatenation): Add missing
29811 variable in concat example.
29812 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29814 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29817 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29818 __builtin_clzl with __builtin_clzll.
29820 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29823 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29826 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29828 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29829 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29830 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29831 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29833 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29835 * NEWS: Update ia64 info.
29837 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29839 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29842 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29844 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29845 * sysdeps/unix/syscalls.list (dup3): Likewise.
29846 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29847 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29849 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29851 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29852 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29854 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29856 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29858 (TLS_IE): Use mov/add instead of movq/addq to load thread
29860 (TLS_GD_PREFIX): New.
29863 2012-05-11 David S. Miller <davem@davemloft.net>
29865 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29866 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29867 (_FPU_SETCW): Likewise.
29869 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29871 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29872 is 32-byte aligned.
29874 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29877 * iconvdata/gb18030.c: Update tables.
29878 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29879 characters specially.
29880 (BODY for TO_LOOP): Add encoding of missing ranges.
29882 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29885 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29886 * sysdeps/mach/hurd/dup3.c: Likewise.
29887 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29888 * sysdeps/powerpc/memmove.c:: Likewise.
29890 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29892 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29893 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29895 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29897 * elf/elf.h (R_X86_64_RELATIVE64): New.
29898 (R_X86_64_NUM): Updated.
29899 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29900 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29901 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29902 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29903 tst-quad1pie tst-quad2pie
29904 (modules-names): Add tst-quadmod1 tst-quadmod2.
29905 ($(objpfx)tst-quad1): New dependency.
29906 ($(objpfx)tst-quad2): Likewise.
29907 ($(objpfx)tst-quad1pie): Likewise.
29908 ($(objpfx)tst-quad2pie): Likewise.
29909 * sysdeps/x86_64/tst-quad1.c: New file.
29910 * sysdeps/x86_64/tst-quad1pie.c: New file.
29911 * sysdeps/x86_64/tst-quad2.c: Likewise.
29912 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29913 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29914 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29915 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29916 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29918 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29920 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29921 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29922 * streams/stropts.h (t_scalar_t): Define type.
29924 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29925 (_PATH_PRESERVE): Set to "/var/lib".
29926 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29928 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29931 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29932 if __dir_mkfile succeeded.
29934 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29935 checking for _hurd_dtablesize. Unlock it right after having
29936 finished _hurd_dtable allocation.
29938 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29940 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29941 * sysdeps/mach/hurd/configure: Regenerated.
29942 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29943 special-casing to...
29944 * sysdeps/gnu/configure.in: ... this new file.
29945 * sysdeps/unix/sysv/linux/configure: Regenerated.
29946 * sysdeps/gnu/configure: New generated file.
29948 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29949 for Linux: use nsec instead of usec, as well as:
29950 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29951 members of type struct timespec.
29952 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29954 (struct stat64): Likewise.
29955 (_STATBUF_ST_NSEC): New macro.
29956 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29958 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29959 __strtoul_internal rather than strtoul.
29961 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29963 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29966 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29968 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29969 which preserves existing values.
29970 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29972 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29974 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29975 TIMEOUT values. Return EINVAL for NFDS values either negative or
29976 greater than FD_SETSIZE.
29978 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29980 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29981 allocated, call __vm_protect to finish enabling the existing space, and
29982 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29983 allocate the remainder.
29985 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29987 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29988 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29990 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29992 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29993 sysdeps/mach/hurd/readlink.c.
29995 * posix/tst-sysconf.c (posix_options): Only use
29996 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29997 _POSIX_SYNCHRONIZED_IO when they are defined
29998 * sysdeps/mach/hurd/bits/posix_opt.h:
29999 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30000 (_XOPEN_REALTIME): Undefine macro.
30001 (_XOPEN_REALTIME_THREADS): Undefine macro.
30002 (_XOPEN_SHM): Undefine macro.
30003 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30005 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30007 (_POSIX_ASYNC_IO): Undefine macro.
30008 (_POSIX_PRIORITIZED_IO): Undefine macro.
30009 (_POSIX_SPIN_LOCKS): Define macro to -1.
30011 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30012 SA_NODEFER, SA_RESETHAND.
30013 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30014 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30017 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30019 * elf/Makefile (pldd-modules): Define unconditionally.
30021 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30023 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30025 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30027 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30028 Return ENOENT when name is empty.
30029 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30031 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30033 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30035 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30037 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30039 Fix mlock in all cases except non-readable pages.
30040 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30041 instead of VM_PROT_ALL as parameter to __vm_wire function.
30043 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30044 (__mkdir): When path is `/', just fail with EEXIST.
30045 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30047 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30049 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30050 <sys/uio.h> (for writev).
30051 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30052 and <sys/param.h> (for MIN).
30054 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30056 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30057 REQUESTED_TIME. Properly set the remaining time and return EINTR
30060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30062 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30063 Depend on against $(link-rpcuserlibs).
30065 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30067 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30068 (__libc_stack_end): Do not use attribute_relro.
30069 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30070 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30071 to libthread-provided value.
30072 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30075 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30078 * bits/libc-lock.h (__libc_once_get): New macro.
30079 * sysdeps/mach/bits/libc-lock.h: Likewise.
30080 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30081 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30082 instead of using implementation details.
30084 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30085 * libio/freopen.c: Likewise.
30086 * libio/freopen64.c: Likewise.
30087 * misc/syslog.c: Likewise.
30088 * nscd/connections.c: Likewise.
30089 * nscd/netgroupcache.c: Likewise.
30090 * sysdeps/posix/getcwd.c: Likewise.
30092 2012-05-10 Roland McGrath <roland@hack.frob.com>
30094 * math/w_ilogbf.c: Add #include <limits.h>.
30096 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30098 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30099 path instead of returning without unlocking.
30101 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30102 immediate-write ioctls.
30103 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30105 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30107 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30108 __builtin_frame_address instead of making assumptions about the
30109 location of the return address relative to DATA. Force early load of
30110 the return address.
30111 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30112 __builtin_frame_address.
30115 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30116 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30117 implement dup3 and do some further code clean-ups.
30118 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30119 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30121 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30123 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30125 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30126 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30127 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30128 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30129 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30132 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30133 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30134 when handler == SIG_ERR, not when handler != SIG_ERR.
30136 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30138 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30139 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30142 accept4 for GNU Hurd.
30143 * include/sys/socket.h (__libc_accept4): New prototype.
30144 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30145 to implement __libc_accept4.
30146 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30148 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30150 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30151 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30152 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30153 signal-defines.sym.
30155 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30157 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30159 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30161 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30162 assertion on O_CLOEXEC flag.
30163 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30164 * hurd/intern-fd.c: Likewise.
30165 * hurd/port2fd.c: Likewise.
30167 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30170 * bits/in.h (IPV6_PKTINFO): Define new macro.
30171 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30173 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30178 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30180 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30181 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30182 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30183 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30184 * math/libm-test.inc (logb_test) : Additional logb tests.
30186 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30187 Andreas Jaeger <aj@suse.de>
30189 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30190 * configure: Regenerated.
30191 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30192 * config.make.in (link-obsolete-rpc): New substituted variable.
30193 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30194 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30195 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30196 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30197 so that libc.a contains the symbols.
30198 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30199 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30200 * sunrpc/auth_none.c: Likewise.
30201 * sunrpc/auth_unix.c: Likewise.
30202 * sunrpc/authdes_prot.c: Likewise.
30203 * sunrpc/authuxprot.c: Likewise.
30204 * sunrpc/clnt_gen.c: Likewise.
30205 * sunrpc/clnt_perr.c: Likewise.
30206 * sunrpc/clnt_raw.c: Likewise.
30207 * sunrpc/clnt_simp.c: Likewise.
30208 * sunrpc/clnt_tcp.c: Likewise.
30209 * sunrpc/clnt_udp.c: Likewise.
30210 * sunrpc/clnt_unix.c: Likewise.
30211 * sunrpc/des_crypt.c: Likewise.
30212 * sunrpc/des_soft.c: Likewise.
30213 * sunrpc/get_myaddr.c: Likewise.
30214 * sunrpc/key_call.c: Likewise.
30215 * sunrpc/key_prot.c: Likewise.
30216 * sunrpc/netname.c: Likewise.
30217 * sunrpc/pm_getmaps.c: Likewise.
30218 * sunrpc/pm_getport.c: Likewise.
30219 * sunrpc/pmap_clnt.c: Likewise.
30220 * sunrpc/pmap_prot.c: Likewise.
30221 * sunrpc/pmap_prot2.c: Likewise.
30222 * sunrpc/pmap_rmt.c: Likewise.
30223 * sunrpc/publickey.c: Likewise.
30224 * sunrpc/rpc_cmsg.c: Likewise.
30225 * sunrpc/rpc_common.c: Likewise.
30226 * sunrpc/rpc_dtable.c: Likewise.
30227 * sunrpc/rpc_prot.c: Likewise.
30228 * sunrpc/rpc_thread.c: Likewise.
30229 * sunrpc/rtime.c: Likewise.
30230 * sunrpc/svc.c: Likewise.
30231 * sunrpc/svc_auth.c: Likewise.
30232 * sunrpc/svc_raw.c: Likewise.
30233 * sunrpc/svc_run.c: Likewise.
30234 * sunrpc/svc_tcp.c: Likewise.
30235 * sunrpc/svc_udp.c: Likewise.
30236 * sunrpc/svc_unix.c: Likewise.
30237 * sunrpc/svcauth_des.c: Likewise.
30238 * sunrpc/xcrypt.c: Likewise.
30239 * sunrpc/xdr.c: Likewise.
30240 * sunrpc/xdr_array.c: Likewise.
30241 * sunrpc/xdr_float.c: Likewise.
30242 * sunrpc/xdr_intXX_t.c: Likewise.
30243 * sunrpc/xdr_mem.c: Likewise.
30244 * sunrpc/xdr_rec.c: Likewise.
30245 * sunrpc/xdr_ref.c: Likewise.
30246 * sunrpc/xdr_sizeof.c: Likewise.
30247 * sunrpc/xdr_stdio.c: Likewise.
30249 2012-05-10 Roland McGrath <roland@hack.frob.com>
30251 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30252 change. Update copyright years.
30254 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30256 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30258 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30259 Joseph Myers <joseph@codesourcery.com>
30260 Paul Pluzhnikov <ppluzhnikov@google.com>
30263 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30265 [cross-compiling] (extra-libs): Likewise.
30266 [cross-compiling] (extra-libs-others): Likewise.
30267 [cross-compiling] (librpcsvc-routines): Likewise.
30268 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30269 [cross-compiling] (omit-deps): Likewise.
30270 (sunrpc-CPPFLAGS): New variable.
30271 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30272 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30273 (cross-rpcgen-objs): New variable.
30274 (extra-objs): Append $(cross-rpcgen-objs).
30275 ($(cross-rpcgen-objs)): New rule.
30276 ($(objpfx)cross-rpcgen): Likewise.
30277 (rpcgen-cmd): Define to use $(built-program-file). Expand
30279 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30280 ($(objpfx)x%.stmp): Likewise.
30281 * sunrpc/proto.h [IS_IN_build] (_): Define.
30282 [IS_IN_build] (_libc_intl_domainname): Likewise.
30284 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30286 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30287 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30288 and R_X86_64_TPOFF64.
30290 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30292 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30293 sysdeps/unix/sysv/syscalls.list.
30296 * sysdeps/unix/sysv/syscalls.list: Remove file.
30298 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30301 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30302 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30303 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30304 (__LC_IDENTIFICATION): Make these macros useful in #if
30305 expressions, as required by C99.
30307 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30309 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30310 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30313 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30315 * stdlib/longlong.h: Updated from GCC.
30317 2012-05-09 Andreas Jaeger <aj@suse.de>
30319 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30320 default is first entry.
30321 (run_mode): Set type.
30322 (main): Remove informal message about syslog.
30323 (options): Fix typo.
30326 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30329 (llrintf): Likewise.
30330 (llrint): Likewise.
30333 (nearbyint): Likewise.
30334 (nearbyintf): Likewise.
30336 2012-05-09 Andreas Jaeger <aj@suse.de>
30337 Pedro Alves <palves@redhat.com>
30339 * nscd/nscd.c (run_mode): Use enum.
30340 (main): Cleanup coding style issue.
30342 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30343 Andreas Jaeger <aj@suse.de>
30345 * nscd/nscd.c (go_background): Replaced with...
30346 (run_mode): ... this.
30347 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30348 (options): Add -F --foreground.
30349 (main): Implement it.
30350 (parse_opt): Parse it.
30352 2012-05-09 Andreas Jaeger <aj@suse.de>
30355 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30356 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30357 -Wconversion warning.
30358 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30361 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30363 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30365 (LC_ALL): Use macro-int-constant.
30366 (LC_COLLATE): Likewise.
30367 (LC_CTYPE): Likewise.
30368 (LC_MESSAGES): Likewise.
30369 (LC_MONETARY): Likewise.
30370 (LC_NUMERIC): Likewise.
30371 (LC_TIME): Likewise.
30372 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30373 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30374 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30375 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30377 [C99-based standards] (float_t): Expect type.
30378 [C99-based standards] (double_t): Expect type.
30379 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30381 [C99-based standards] (HUGE_VALL): Likewise.
30382 [C99-based standards] (INFINITY): Likewise.
30383 [C99-based standards] (NAN): Likewise.
30384 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30385 [C99-based standards] (FP_NAN): Likewise.
30386 [C99-based standards] (FP_NORMAL): Likewise.
30387 [C99-based standards] (FP_SUBNORMAL): Likewise.
30388 [C99-based standards] (FP_ZERO): Likewise.
30389 [C99-based standards] (FP_FAST_FMA): Use
30390 optional-macro-int-constant. Specify type. Require == 1.
30391 [C99-based standards] (FP_FAST_FMAF): Likewise.
30392 [C99-based standards] (FP_FAST_FMAL): Likewise.
30393 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30394 [C99-based standards] (FP_ILOGBNAN): Likewise.
30395 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30397 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30398 [C99-based standards] (math_errhandling): Specify type.
30399 [ISO99 || ISO11] (signgam): Do not allow.
30400 [non-C99-based standards] (copysignf): Do not allow.
30401 [non-C99-based standards] (exp2f): Likewise.
30402 [non-C99-based standards] (log2f): Likewise.
30403 [non-C99-based standards] (modff): Allow.
30404 [non-C99-based standards] (erff): Do not allow.
30405 [non-C99-based standards] (erfcf): Likewise.
30406 [non-C99-based standards] (gammaf): Likewise.
30407 [non-C99-based standards] (hypotf): Likewise.
30408 [non-C99-based standards] (j0f): Likewise.
30409 [non-C99-based standards] (j1f): Likewise.
30410 [non-C99-based standards] (jnf): Likewise.
30411 [non-C99-based standards] (lgammaf): Likewise.
30412 [non-C99-based standards] (tgammaf): Likewise.
30413 [non-C99-based standards] (y0f): Likewise.
30414 [non-C99-based standards] (y1f): Likewise.
30415 [non-C99-based standards] (ynf): Likewise.
30416 [non-C99-based standards] (isnanf): Likewise.
30417 [non-C99-based standards] (acoshf): Likewise.
30418 [non-C99-based standards] (asinhf): Likewise.
30419 [non-C99-based standards] (atanhf): Likewise.
30420 [non-C99-based standards] (cbrtf): Likewise.
30421 [non-C99-based standards] (expm1f): Likewise.
30422 [non-C99-based standards] (ilogbf): Likewise.
30423 [non-C99-based standards] (log1pf): Likewise.
30424 [non-C99-based standards] (logbf): Likewise.
30425 [non-C99-based standards] (nextafterf): Likewise.
30426 [non-C99-based standards] (remainderf): Likewise.
30427 [non-C99-based standards] (rintf): Likewise.
30428 [non-C99-based standards] (scalbf): Likewise.
30429 [non-C99-based standards] (copysignl): Likewise.
30430 [non-C99-based standards] (exp2l): Likewise.
30431 [non-C99-based standards] (log2l): Likewise.
30432 [non-C99-based standards] (modfl): Allow.
30433 [non-C99-based standards] (erfl): Do not allow.
30434 [non-C99-based standards] (erfcl): Likewise.
30435 [non-C99-based standards] (gammal): Likewise.
30436 [non-C99-based standards] (hypotl): Likewise.
30437 [non-C99-based standards] (j0l): Likewise.
30438 [non-C99-based standards] (j1l): Likewise.
30439 [non-C99-based standards] (jnl): Likewise.
30440 [non-C99-based standards] (lgammal): Likewise.
30441 [non-C99-based standards] (tgammal): Likewise.
30442 [non-C99-based standards] (y0l): Likewise.
30443 [non-C99-based standards] (y1l): Likewise.
30444 [non-C99-based standards] (ynl): Likewise.
30445 [non-C99-based standards] (isnanl): Likewise.
30446 [non-C99-based standards] (acoshl): Likewise.
30447 [non-C99-based standards] (asinhl): Likewise.
30448 [non-C99-based standards] (atanhl): Likewise.
30449 [non-C99-based standards] (cbrtl): Likewise.
30450 [non-C99-based standards] (expm1l): Likewise.
30451 [non-C99-based standards] (ilogbl): Likewise.
30452 [non-C99-based standards] (log1pl): Likewise.
30453 [non-C99-based standards] (logbl): Likewise.
30454 [non-C99-based standards] (nextafterl): Likewise.
30455 [non-C99-based standards] (remainderl): Likewise.
30456 [non-C99-based standards] (rintl): Likewise.
30457 [non-C99-based standards] (scalbl): Likewise.
30458 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30459 [non-C99-based standards] (FP_*): Do not allow.
30460 [C99-based standards] (FP_*): Change to
30461 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30462 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30464 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30465 (SIG_ERR): Likewise.
30466 [X/Open-based standards] (SIG_HOLD): Likewise.
30467 (SIG_IGN): Likewise.
30468 (SIGABRT): Use macro-int-constant. Specify type. Require
30470 (SIGFPE): Likewise.
30471 (SIGILL): Likewise.
30472 (SIGINT): Likewise.
30473 (SIGSEGV): Likewise.
30474 (SIGTER): Likewise.
30475 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30476 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30477 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30478 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30479 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30480 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30481 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30482 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30483 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30484 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30485 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30486 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30487 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30488 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30489 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30490 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30491 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30492 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30493 [X/Open-based standards] (SIGTRAP): Likewise.
30494 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30495 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30496 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30497 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30498 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30501 2012-05-08 Ian Wienand <ianw@vmware.com>
30504 * time/tzset.c (__tzset_parse_tz): Update default rules for
30505 daylight time changes in the Energy Policy Act of 2005.
30507 2012-05-09 Andreas Jaeger <aj@suse.de>
30510 * elf/ldconfig.c (parse_conf): Change string to make clear that
30511 ldconfig only issued a warning if ld.so.conf does not exist.
30513 2012-05-08 David S. Miller <davem@davemloft.net>
30515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30516 movxtod instead of popping the value on the stack.
30518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30520 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30522 * config.h.in: Add HAVE_ARM_PCS_VFP.
30524 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30527 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30528 checking but the checks are disabled for any reason.
30530 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30532 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30533 and ELF64_R_TYPE with ELFW(R_TYPE).
30535 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30537 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30538 (ulimit): Likewise.
30540 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30541 (settimeofday): Likewise.
30543 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30545 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30546 a struct th_u2 inside the union, and move tu_block/tu_code into
30547 a new th_u3 union of tu_block/tu_code inside of that. Move
30548 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30549 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30550 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30551 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30552 (th_stuff): Change to th_u1.tu_stuff.
30554 (th_msg): Change to th_u1.th_u2.tu_data.
30556 2012-05-07 David S. Miller <davem@davemloft.net>
30558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30561 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30562 (SETUP_PIC_REG): Use it.
30563 (SETUP_PIC_REG_LEAF): Use it.
30565 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30569 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30571 (EXPL_FINITE): Likewise.
30572 (FLDLOG): Likewise.
30573 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30574 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30576 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30578 (EXPL_FINITE): Likewise.
30579 (FLDLOG): Likewise.
30580 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30581 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30583 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30584 test of -max_value argument for long double.
30585 * sysdeps/i386/fpu/libm-test-ulps: Update.
30586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30588 2012-05-06 David S. Miller <davem@davemloft.net>
30590 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30591 quad soft-float symbols whose references which are compiler
30593 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30595 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30599 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30601 (EXPL_FINITE): Likewise.
30602 (FLDLOG): Likewise.
30605 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30606 Adjust comments for base varying.
30607 (__expl_finite): Change alias to EXPL_FINITE.
30608 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30610 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30611 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30612 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30613 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30614 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30616 (EXPL_FINITE): Likewise.
30617 (FLDLOG): Likewise.
30620 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30621 Adjust comments for base varying.
30622 (__expl_finite): Change alias to EXPL_FINITE.
30623 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30628 * math/libm-test.inc (check_float_internal): Correct ulp
30629 calculation for subnormal expected results.
30631 2012-05-06 Andreas Jaeger <aj@suse.de>
30633 * Makeconfig (+math-flags): New, set to -frounding-math.
30634 (+cflags): Add +math-flags so that all of glibc gets compiled with
30637 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30639 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30641 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30647 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30648 (__ieee754_expl): Allow for and saturate large arguments.
30649 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30650 (u_threshold): Likewise.
30651 (__exp): Call __ieee754_exp before checking for overflow and
30653 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30654 (u_threshold): Likewise.
30655 (__expf): Call __ieee754_expf before checking for overflow and
30657 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30658 (u_threshold): Likewise.
30659 (__expl): Call __ieee754_expl before checking for overflow and
30661 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30662 (__ieee754_expl): Allow for and saturate large arguments.
30663 * math/libm-test.inc (exp_test): Add another test. Do not allow
30664 missing overflow exception on overflow.
30665 (expm1_test): Do not allow missing overflow exception on overflow.
30667 * sysdeps/i386/fpu/e_expl.c: Move to ...
30668 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30669 rather than using inline asm.
30670 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30671 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30672 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30674 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30677 (signal): Likewise.
30681 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30683 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30684 sysdeps/unix/common/syscalls.list.
30685 (fchmod): Likewise.
30686 (fchown): Likewise.
30687 (ftruncate): Likewise.
30688 (getrusage): Likewise.
30689 (gettimeofday): Likewise.
30690 (setpgid): Likewise.
30691 (setregid): Likewise.
30692 (setreuid): Likewise.
30693 (sigaction): Likewise.
30694 (truncate): Likewise.
30695 (vhangup): Likewise.
30696 * sysdeps/unix/common/syscalls.list: Remove file.
30697 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30698 * sysdeps/unix/sysv/linux/Implies: Likewise.
30700 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30702 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30704 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30708 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30711 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30714 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30717 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30720 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30723 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30726 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30730 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30734 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30737 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30741 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30745 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30747 * sysdeps/unix/common/bits/dirent.h: Remove file.
30748 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30750 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30751 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30752 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30753 * sysdeps/unix/bsd/isatty.c: Likewise.
30754 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30755 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30756 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30758 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30761 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30762 long double comparison inaccuracies.
30763 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30766 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30768 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30769 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30771 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30774 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30775 nonzero digits before rounding a hex value.
30776 * stdlib/tst-strtod.c (tests): Add another test.
30778 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30780 * sysdeps/s390/fpu/libm-test-ulps: Update.
30782 2012-05-03 Andreas Jaeger <aj@suse.de>
30784 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30785 does not get optimized out.
30786 (malloc_opt_barrier): New.
30788 2012-05-03 Andreas Jaeger <aj@suse.de>
30789 Roland McGrath <roland@hack.frob.com>
30791 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30792 intermediate file deletion.
30793 (generated): Add .symlist files.
30795 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30798 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30799 Redirect under this condition.
30800 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30801 [__USE_GNU] (__dprintf_chk): Not under this condition.
30802 [__USE_GNU] (__vdprintf_chk): Likewise.
30803 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30804 under this condition.
30805 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30806 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30807 [__USE_XOPEN2K8] (vdprintf): Likewise.
30808 [__USE_GNU] (__dprintf_chk): Not under this condition.
30809 [__USE_GNU] (__vdprintf_chk): Likewise.
30810 [__USE_GNU] (dprintf): Likewise.
30811 [__USE_GNU] (vdprintf): Likewise.
30813 2012-05-03 Roland McGrath <roland@hack.frob.com>
30815 * elf/Makefile (common-generated): Set this instead of generated for
30816 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30817 $(all-built-dso)-derived lists.
30819 2012-05-03 Andreas Jaeger <aj@suse.de>
30821 * sysdeps/i386/fpu/libm-test-ulps: Update.
30824 * FAQ.in: Likewise.
30825 * scripts/gen-FAQ.pl: Likewise.
30826 * manual/install.texi (Installation): Point to online location of
30828 * Makefile (files-for-dist): Remove FAQ.
30831 2012-05-02 Allan McRae <allan@archlinux.org>
30833 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30834 (LDFLAGS-reldepmod5.so): Likewise.
30835 (LDFLAGS-reldep6mod1.so): Likewise.
30836 (LDFLAGS-reldep6mod4.so): Likewise.
30837 (LDFLAGS-reldep8mod3.so): Likewise.
30838 (LDFLAGS-unload4mod1.so): Likewise.
30839 (LDFLAGS-unload4mod2.so): Likewise.
30840 (LDFLAGS-tst-initorder): Likewise.
30841 (LDFLAGS-tst-initordera2.so): Likewise.
30842 (LDFLAGS-tst-initordera3.so): Likewise.
30843 (LDFLAGS-tst-initordera4.so): Likewise.
30844 (LDFLAGS-tst-initorderb2.so): Likewise.
30845 (LDFLAGS-noload): Likewise.
30846 (LDFLAGS-next): Likewise.
30847 (LDFLAGS-order2mod1.so): Likewise.
30848 (LDFLAGS-order2mod2.so): Likewise.
30849 (LDFLAGS-tst-initorder2): Likewise.
30850 (LDFLAGS-tst-initorder2a.so): Likewise.
30851 (LDFLAGS-tst-initorder2b.so): Likewise.
30852 (LDFLAGS-tst-initorder2c.so): Likewise.
30853 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30855 2012-05-02 David S. Miller <davem@davemloft.net>
30857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30859 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30862 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30864 2012-05-02 Andreas Jaeger <aj@suse.de>
30866 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30867 since we manipulate rounding mode.
30868 (CPPFLAGS-test-idouble.c): Likewise.
30869 (CPPFLAGS-test-ifloat.c): Likewise.
30870 (CFLAGS-test-ldouble.c): Likewise.
30871 (CFLAGS-test-double.c): Likewise.
30872 (CFLAGS-test-float.c): Likewise.
30873 (CFLAGS-test-misc.c): Likewise.
30874 (CFLAGS-test-test-fenv.c): Likewise.
30876 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30880 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30881 comparisons to determine direction to adjust input.
30883 2012-05-01 Roland McGrath <roland@hack.frob.com>
30885 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30886 output to the target.
30888 * scripts/localplt.awk: New file.
30889 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30890 (check-localplt-CFLAGS): Variable removed.
30891 ($(all-built-dso:=.jmprel)): New static pattern rule.
30892 (generated): Add those targets.
30893 (localplt-built-dso): New variable.
30894 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30896 * elf/check-localplt.c: File removed.
30898 * scripts/check-execstack.awk: New file.
30899 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30900 (check-execstack-CFLAGS): Variable removed.
30901 ($(objpfx)check-execstack.h): Target removed.
30902 ($(objpfx)execstack-default): New target.
30903 (generated): Add that instead of check-execstack.h.
30904 ($(all-built-dso:=.phdr)): New static pattern rule.
30905 (generated): Add those targets.
30906 * elf/check-execstack.c: File removed.
30908 * scripts/check-textrel.awk: New file.
30909 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30910 (check-textrel-CFLAGS): Variable removed.
30911 (all-built-dso): Use := to define.o
30912 ($(all-built-dso:=.dyn)): New static pattern rule.
30913 (generated): Add those targets.
30914 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30915 * config.make.in (READELF): New substituted variable.
30916 * elf/check-textrel.c: File removed.
30918 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30920 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30922 * conform/data/ctype.h-data [C99-based standards] (isblank):
30924 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30925 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30926 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30927 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30928 Specify type. Require positive value.
30929 (EILSEQ): Likewise.
30930 (ERANGE): Likewise.
30931 [ISO || POSIX] (EILSEQ): Do not expect.
30932 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30933 Specify type. Require positive value.
30934 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30935 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30936 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30937 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30938 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30939 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30940 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30941 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30942 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30943 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30944 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30945 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30946 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30947 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30948 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30949 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30950 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30951 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30952 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30953 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30954 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30955 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30956 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30957 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30958 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30959 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30960 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30961 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30962 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30963 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30964 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30965 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30966 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30967 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30968 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30969 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30970 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30971 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30972 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30973 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30974 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30975 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30976 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30977 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30978 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30979 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30980 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30981 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30982 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30983 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30984 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30985 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30986 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30987 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30988 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30989 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30990 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30991 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30992 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30993 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30994 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30995 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30996 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30997 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30998 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30999 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31000 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31001 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31002 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31003 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31004 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31005 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31006 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31007 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31008 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31009 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31010 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31012 (FLT_ROUNDS): Expect as macro, not constant.
31013 (FLT_MANT_DIG): Use macro-int-constant.
31014 (DBL_MANT_DIG): Likewise.
31015 (LDBL_MANT_DIG): Likewise.
31016 (FLT_DIG): Likewise.
31017 (DBL_DIG): Likewise.
31018 (LDBL_DIG): Likewise.
31019 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31020 (DBL_MIN_EXP): Likewise.
31021 (LDBL_MIN_EXP): Likewise.
31022 (FLT_MAX_EXP): Use macro-int-constant.
31023 (DBL_MAX_EXP): Likewise.
31024 (LDBL_MAX_EXP): Likewise.
31025 (FLT_MAX_10_EXP): Likewise.
31026 (DBL_MAX_10_EXP): Likewise.
31027 (LDBL_MAX_10_EXP): Likewise.
31028 (FLT_MAX): Use macro-constant.
31029 (DBL_MAX): Likewise.
31030 (LDBL_MAX): Likewise.
31031 (FLT_EPSILON): Use macro-constant. Give upper bound.
31032 (DBL_EPSILON): Likewise.
31033 (LDBL_EPSILON): Likewise.
31034 (FLT_MIN): Likewise.
31035 (DBL_MIN): Likewise.
31036 (LDBL_MIN): Likewise.
31037 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31038 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31039 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31040 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31041 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31042 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31043 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31044 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31045 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31046 [ISO11] (FLT_TRUE_MIN): Likewise.
31047 [ISO11] (LDBL_TRUE_MIN): Likewise.
31048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31049 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31050 (SCHAR_MIN): Use macro-int-constant. Specify type.
31051 (SCHAR_MAX): Likewise.
31052 (UCHAR_MAX): Likewise.
31053 (CHAR_MIN): Likewise.
31054 (CHAR_MAX): Likewise.
31055 (MB_LEN_MAX): Use macro-int-constant.
31056 (SHRT_MIN): Use macro-int-constant. Specify type.
31057 (SHRT_MAX): Likewise.
31058 (USHRT_MAX): Likewise.
31059 (INT_MAX): Likewise.
31060 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31062 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31064 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31066 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31067 bound negative. Suffix upper bound with "L".
31068 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31070 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31072 [C99-based standards] (LLONG_MAX): Likewise.
31073 [C99-based standards] (ULLONG_MAX): Likewise.
31074 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31076 [ISO11] (max_align_t): Require type.
31077 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31079 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31080 from $CFLAGS, without defining away __attribute__ calls.
31081 (checknamespace): Use $CFLAGS_namespace.
31083 * conform/conformtest.pl (@keywords): Only include C99 keywords
31084 for standards based on C99 or C11.
31086 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31088 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31091 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31092 usability of symbols in #if.
31094 * conform/conformtest.pl: If macro or constant types start
31095 "promoted:", expect the symbol to be of the following type
31096 promoted by the integer promotions.
31098 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31099 in one place. Also handle "macro-constant".
31101 * conform/conformtest.pl: Only accept expected macro values with
31102 "==". Parse all "macro" lines in one place.
31103 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31105 * conform/conformtest.pl: Handle braced types on "constant" lines
31106 instead of handling "typed-constant".
31107 * conform/data/signal.h-data: Use "constant" instead of
31110 * conform/conformtest.pl: Handle "optional-" at start of lines in
31111 one place rather than duplicating several cases. Handle each
31112 format of "macro" line with initial "optional-".
31114 * conform/conformtest.pl: Only accept expected constant or
31115 optional-constant values with "==". Parse all "constant" lines in
31116 one place. Parse all "optional-constant" lines in one place.
31117 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31118 * conform/data/fmtmsg.h-data: Likewise.
31119 * conform/data/netinet/in.h-data: Likewise.
31120 * conform/data/tar.h-data: Likewise.
31121 * conform/data/limits.h-data: Use "==" form on "constant" and
31122 "optional-constant" lines.
31124 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31125 Use -std=c99 for XOPEN2K.
31126 (@knownproblems): Remove.
31127 (newtoken): Don't check %isknown.
31129 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31130 Do not expect macro.
31131 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31132 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31133 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31134 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31135 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31136 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31137 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31138 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31139 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31140 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31141 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31142 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31143 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31144 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31145 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31146 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31147 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31148 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31149 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31150 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31151 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31152 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31153 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31154 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31155 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31156 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31157 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31158 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31159 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31160 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31161 [XPG3] (acosh): Likewise.
31162 [XPG3] (asinh): Likewise.
31163 [XPG3] (atanh): Likewise.
31164 [XPG3] (cbrt): Likewise.
31165 [XPG3] (expm1): Likewise.
31166 [XPG3] (ilogb): Likewise.
31167 [XPG3] (log1p): Likewise.
31168 [XPG3] (logb): Likewise.
31169 [XPG3] (nextafter): Likewise.
31170 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31171 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31172 [XPG3] (remainder): Likewise.
31173 [XPG3] (rint): Likewise.
31174 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31175 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31176 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31177 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31178 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31179 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31180 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31181 [UNIX98 || XOPEN2K] (scalb): Expect.
31182 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31183 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31184 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31185 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31186 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31187 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31188 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31189 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31190 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31191 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31192 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31193 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31194 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31195 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31196 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31197 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31198 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31199 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31200 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31201 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31202 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31203 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31204 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31205 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31206 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31207 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31208 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31209 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31210 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31211 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31212 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31213 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31214 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31215 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31216 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31217 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31218 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31219 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31220 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31221 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31222 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31223 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31224 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31225 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31226 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31227 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31228 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31229 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31230 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31231 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31232 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31233 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31234 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31235 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31236 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31237 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31238 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31239 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31240 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31241 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31242 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31243 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31244 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31245 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31246 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31247 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31248 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31249 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31250 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31251 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31252 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31253 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31254 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31255 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31256 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31257 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31258 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31259 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31260 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31261 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31262 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31263 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31264 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31265 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31266 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31267 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31268 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31269 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31270 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31271 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31272 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31273 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31274 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31275 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31276 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31277 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31278 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31279 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31280 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31281 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31282 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31283 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31284 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31285 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31286 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31287 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31288 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31289 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31290 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31291 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31292 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31293 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31294 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31295 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31296 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31297 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31298 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31299 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31300 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31301 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31302 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31303 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31304 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31305 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31306 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31307 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31308 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31309 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31310 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31311 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31312 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31313 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31314 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31315 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31316 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31317 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31318 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31320 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31321 _XOPEN_SOURCE_EXTENDED for XPG4.
31323 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31325 * Makeconfig (localtime): Remove variable.
31326 (inst_localtime-file): Likewise.
31328 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31349 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31353 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31354 comparisons to determine direction to adjust input.
31355 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31356 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31357 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31359 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31361 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31363 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31364 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31366 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31368 * math/libm-test.inc (nexttoward_test): Add more tests.
31370 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31373 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31374 in version GLIBC_2.1, not GLIBC_2.0.
31375 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31378 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31381 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31383 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31384 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31385 * math/libm-test.inc (acos_test): Add more tests.
31386 (asin_test): Likewise.
31387 * sysdeps/i386/fpu/libm-test-ulps: Update.
31388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31391 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31393 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31394 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31395 * math/libm-test.inc (acos_test_tonearest): New function.
31396 (acos_test_towardzero): Likewise.
31397 (acos_test_downward): Likewise.
31398 (acos_test_upward): Likewise.
31399 (asin_test_tonearest): Likewise.
31400 (asin_test_towardzero): Likewise.
31401 (asin_test_downward): Likewise.
31402 (asin_test_upward): Likewise.
31403 (main): Call the new functions.
31404 * sysdeps/i386/fpu/libm-test-ulps: Update.
31405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31409 * math/e_exp10.c: Include <float.h>.
31410 (__ieee754_exp10): Handle underflow here rather than multiplying
31411 large negative argument by M_LN10.
31412 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31414 * math/e_exp10l.c: Include <float.h>.
31415 (__ieee754_exp10l): Handle underflow here rather than multiplying
31416 large negative argument by M_LN10l.
31417 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31418 spurious overflow exception on underflow.
31420 2012-04-29 Marek Polacek <polacek@redhat.com>
31422 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31423 (__fortify_function): New macro.
31424 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31425 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31426 __extern_always_inline.
31427 * libio/bits/stdio2.h: Likewise.
31428 * libio/bits/stdio.h: Likewise.
31429 * string/string.h: Likewise.
31430 * string/bits/string3.h: Likewise.
31431 * include/stdio.h: Likewise.
31432 * stdlib/bits/stdlib.h: Likewise.
31433 * stdlib/stdlib.h: Likewise.
31434 * rt/bits/mqueue2.h: Likewise.
31435 * rt/mqueue.h: Likewise.
31436 * posix/bits/unistd.h: Likewise.
31437 * posix/unistd.h: Likewise.
31438 * io/bits/poll2.h: Likewise.
31439 * io/bits/fcntl2.h: Likewise.
31440 * io/fcntl.h: Likewise.
31441 * io/sys/poll.h: Likewise.
31442 * misc/bits/syslog.h: Likewise.
31443 * misc/bits/syslog-ldbl.h: Likewise.
31444 * misc/sys/syslog.h: Likewise.
31445 * socket/bits/socket2.h: Likewise.
31446 * socket/sys/socket.h: Likewise.
31447 * debug/tst-chk1.c: Likewise.
31448 * wcsmbs/bits/wchar2.h: Likewise.
31449 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31450 * wcsmbs/wchar.h: Likewise.
31452 2012-04-29 Andreas Jaeger <aj@suse.de>
31454 * Makerules (tests): Remove enable-check-abi protection.
31455 (check-abi-warn): Remove.
31456 (check-abi-%): Remove check-abi-warn usage.
31458 * configure.in: Remove check-abi configure option.
31459 * configure: Regenerated.
31460 * config.make.in (enable-check-abi): Remove.
31462 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31465 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31466 double functions to double *_finite functions.
31469 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31470 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31472 * stdio-common/Makefile (tests): Add tst-sprintf3.
31473 * stdio-common/tst-sprintf3.c: New file.
31475 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31476 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31478 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31480 * conform/conformtest.pl: Remove duplicate typed-constant
31483 2012-04-28 David S. Miller <davem@davemloft.net>
31485 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31486 (check-abi-%): Remove AWK script prerequisite and explicit
31488 (check-abi): Rewrite to just diff the symlist with the abilist.
31489 (config-tls, config-abi-config): Delete, no longer used.
31490 (update-abi-%): Remove AWK script and explicit abilist directory.
31491 (update-abi): Rewrite to simply compare and conditionally copy the
31492 symlist and the sysdep abilist file. Remove update-abi-config
31494 * abilist/ld.abilist: Remove.
31495 * abilist/libBrokenLocale.abilist: Remove.
31496 * abilist/libanl.abilist: Remove.
31497 * abilist/libcrypt.abilist: Remove.
31498 * abilist/libdl.abilist: Remove.
31499 * abilist/librt.abilist: Remove.
31500 * abilist/libthread_db.abilist: Remove.
31501 * abilist/libutil.abilist: Remove.
31502 * scripts/extract-abilist.awk: Remove.
31503 * scripts/merge-abilist.awk: Remove.
31504 * sysdeps/generic/libcidn.abilist: New file.
31505 * sysdeps/generic/libnss_compat.abilist: New file.
31506 * sysdeps/generic/libnss_db.abilist: New file.
31507 * sysdeps/generic/libnss_dns.abilist: New file.
31508 * sysdeps/generic/libnss_files.abilist: New file.
31509 * sysdeps/generic/libnss_hesiod.abilist: New file.
31510 * sysdeps/generic/libnss_nis.abilist: New file.
31511 * sysdeps/generic/libnss_nisplus.abilist: New file.
31512 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31513 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31514 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31516 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31517 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31518 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31519 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31520 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31521 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31522 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31523 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31524 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31526 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31527 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31528 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31529 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31531 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31532 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31533 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31534 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31535 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31536 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31538 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31539 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31540 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31542 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31645 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31646 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31647 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31649 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31650 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31651 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31652 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31653 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31654 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31655 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31656 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31657 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31658 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31710 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31712 * conform/conformtest.pl: Fix typo in handling typed-constant from
31715 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31717 * README: Cut down references to pre-2.6 Linux kernels and
31718 Linuxthreads. Update lists of configurations in libc and ports
31719 and sort alphabetically. Say "or newer" with Linux kernel version
31722 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31724 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31727 * math/libm-test.inc (logb_test_downward): New test to expose
31728 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31731 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31734 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31736 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31737 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31739 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31741 * sysdeps/unix/i386/brk.S: Remove file.
31742 * sysdeps/unix/i386/dl-brk.S: Likewise.
31743 * sysdeps/unix/i386/pipe.S: Likewise.
31744 * sysdeps/unix/i386/sigreturn.S: Likewise.
31745 * sysdeps/unix/i386/syscall.S: Likewise.
31746 * sysdeps/unix/i386/vfork.S: Likewise.
31747 * sysdeps/unix/i386/wait.S: Likewise.
31749 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31750 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31752 * configure.in (arm*-none*): Do not allow without
31753 --enable-hacker-mode.
31754 (netbsd*): Remove case setting base_os.
31755 (386bsd*): Likewise.
31756 (freebsd*): Likewise.
31759 (sunos*): Likewise.
31760 (ultrix*): Likewise.
31761 (newsos*): Likewise.
31762 (dynix*): Likewise.
31768 (minix*): Likewise.
31769 (irix4*): Likewise.
31770 (irix6*): Likewise.
31771 (solaris[2-9]*): Likewise.
31773 * configure: Regenerated.
31775 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31778 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31779 overflow or cancellation in calculating denominator.
31780 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31781 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31782 down expression to avoid unexpected rounding in newer GCCs.
31783 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31785 2012-04-26 David S. Miller <davem@davemloft.net>
31787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31788 long-double compat symbols.
31789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31803 2012-04-25 David S. Miller <davem@davemloft.net>
31805 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31806 HWCAP_* values only after the memory barriers have been defined.
31807 (atomic_full_barrier): Define.
31808 (atomic_read_barrier): Define.
31809 (atomic_write_barrier): Define.
31811 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31813 * shlib-versions: Add libgcc_s version information.
31814 * sysdeps/generic/libgcc_s.h: Remove.
31815 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31817 * sysdeps/gnu/unwind-resume.c: Likewise.
31818 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31820 2012-04-25 David S. Miller <davem@davemloft.net>
31822 * sysdeps/unix/sparc/brk.S: Delete.
31823 * sysdeps/unix/sparc/dl-brk.S: Delete.
31824 * sysdeps/unix/sparc/pipe.S: Delete.
31825 * sysdeps/unix/sparc/sysdep.S: Delete.
31826 * sysdeps/unix/sparc/sysdep.h: Delete.
31827 * sysdeps/unix/sparc/vfork.S: Delete.
31828 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31829 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31830 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31831 (ret_ERRVAL, r0, r1, MOVE): Define.
31832 (JUMPTARGET): Remove.
31833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31834 sysdeps/unix/sparc/sysdep.h
31835 (ENTRY, END): Remove.
31836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31838 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31840 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31841 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31844 * timezone/README: Update upstream location and email address for
31846 * timezone/zdump.c: Update from tzcode 2012b.
31847 * timezone/zic.c: Likewise.
31849 * configure.in (libc_cv_as_needed): Remove test.
31850 * configure: Regenerated.
31851 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31852 conditional definition.
31853 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31854 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31855 * config.make.in (have-as-needed): Remove variable.
31857 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31858 Paul Pluzhnikov <ppluzhnikov@google.com>
31860 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31863 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31865 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31866 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31867 * sysdeps/sh/strlen.S: Likewise.
31869 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31871 * sysdeps/unix/fork.S: Remove file.
31872 * sysdeps/unix/i386/fork.S: Likewise.
31873 * sysdeps/unix/sparc/fork.S: Likewise.
31875 * sysdeps/unix/system.c: Remove file.
31876 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31878 * sysdeps/unix/getegid.S: Remove file.
31879 * sysdeps/unix/geteuid.S: Likewise.
31881 2012-04-24 Roland McGrath <roland@hack.frob.com>
31883 * scripts/check-localplt.awk: New file.
31884 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31886 * scripts/data/localplt-generic.data: Add a comment.
31888 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31889 NODE when __dir_mkfile failed.
31890 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31891 Reported by Ludovic Courtès <ludo@gnu.org>.
31893 2012-04-24 Andreas Jaeger <aj@suse.de>
31895 * Makerules (common-clean): Also remove gen-as-const-headers
31898 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31900 * Makerules (native-compile): Do not change working directory for
31901 build. Use $(OUTPUT_OPTION) in command.
31902 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31904 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31907 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31908 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31909 * math/libm-test.inc (floor_test): Add more tests.
31910 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31912 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31914 * sysdeps/unix/getdents.c: Remove file.
31915 * sysdeps/unix/sysv/getdents.c: Likewise.
31916 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31918 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31919 sysdeps/unix/mman/syscalls.list.
31921 (mprotect): Likewise.
31923 (munmap): Likewise.
31924 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31925 * sysdeps/unix/mman/syscalls.list: Remove.
31926 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31928 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31929 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31930 * configure: Regenerated.
31931 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31932 $(libgcc_s_suffix).
31933 * config.make.in (libgcc_s_suffix): Remove variable.
31935 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31937 * sysdeps/unix/sysv/gethostname.c: Move to ...
31938 * sysdeps/posix/gethostname.c: ... here.
31940 * sysdeps/unix/execve.S: Remove file.
31942 * sysdeps/unix/_exit.S: Remove file.
31944 2012-04-23 Andreas Jaeger <aj@suse.de>
31947 * manual/Makefile: Remove make dist support, there's no
31948 need for a stand-alone documentation tar ball.
31949 (TEXI2DVI): Define always, it's not in Makeconfig.
31952 (edition): Removed.
31953 (glibc-doc-$(edition).tar): Removed
31957 (ETAGS): Remove, it's in Makeconfig.
31958 (move-if-change): Remove, it's in Makeconfig.
31960 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31963 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31964 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31965 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31966 (strtod_l, strtof_l, strtold_l): Remove __wur.
31967 It is not necessarily an error to ignore strtol's return value.
31968 One can reliably look at the stored endptr to decide whether
31969 the number had valid syntax.
31971 2012-04-21 Andreas Jaeger <aj@suse.de>
31974 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31976 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31978 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31979 * sysdeps/unix/sysv/Versions: Remove file.
31981 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31986 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31989 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31990 version from __vm86.
31992 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31994 * sysdeps/unix/common/lxstat.c: Remove file.
31995 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31997 * sysdeps/unix/sysv/Makefile: Remove file.
31999 * sysdeps/unix/sysv/direct.h: Remove file.
32001 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32002 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32003 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32004 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32005 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32006 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32007 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32009 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32011 * sysdeps/unix/xmknod.c: Remove file.
32012 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32014 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32016 * sysdeps/unix/sysv/i386/time.S: Remove file.
32018 * sysdeps/unix/fxstat.c: Remove file.
32019 * sysdeps/unix/xstat.c: Likewise.
32020 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32022 * sysdeps/unix/sysv/sigaction.c: Remove file.
32024 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32025 (sysdep_headers): Remove variable.
32026 [termio.h not in sysdep_headers] (generated): Likewise.
32027 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32028 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32029 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32030 * sysdeps/unix/sysv/tcflow.c: Likewise.
32031 * sysdeps/unix/sysv/tcflush.c: Likewise.
32032 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32033 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32034 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32035 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32036 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32038 * sysdeps/unix/siglist.c: Remove file.
32040 * sysdeps/unix/getppid.S: Remove file.
32042 * sysdeps/unix/mkdir.c: Remove file.
32043 * sysdeps/unix/rmdir.c: Likewise.
32045 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32047 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32049 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32050 errlist-compat value.
32052 2012-04-18 David S. Miller <davem@davemloft.net>
32054 * sysdeps/generic/memcopy.h (reg_char): Delete.
32055 * debug/strcat_chk.c: Use char, not reg_char.
32056 * debug/strcpy_chk.c: Likewise.
32057 * debug/strncat_chk.c: Likewise.
32058 * debug/strncpy_chk.c: Likewise.
32059 * string/memchr.c: Likewise.
32060 * string/memrchr.c: Likewise.
32061 * string/rawmemchr.c: Likewise.
32062 * string/strcat.c: Likewise.
32063 * string/strchr.c: Likewise.
32064 * string/strchrnul.c: Likewise.
32065 * string/strcmp.c: Likewise.
32066 * string/strcpy.c: Likewise.
32067 * string/strncat.c: Likewise.
32068 * string/strncmp.c: Likewise.
32069 * string/strncpy.c: Likewise.
32071 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32073 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32074 __builtin_memcopy is called when src and dest ranges are known to not
32077 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32079 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32080 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32081 fwd_align_merge macro call.
32082 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32083 bwd_align_merge macro call.
32084 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32086 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32088 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32089 bwd_align_merge macros.
32090 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32091 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32092 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32094 2012-04-18 David S. Miller <davem@davemloft.net>
32096 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32098 2012-04-18 Andreas Jaeger <aj@suse.de>
32101 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32102 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32103 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32105 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32106 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32107 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32109 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32110 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32111 Adjust for changed ldbl-128 files.
32113 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32114 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32115 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32117 2012-04-17 David S. Miller <davem@davemloft.net>
32119 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32121 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32123 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32124 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32125 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32126 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32127 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32128 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32130 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32133 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32134 * math/libm-test.inc: Add ilogb errno and exception tests.
32135 * math/w_ilogb.c: New file: ilogb wrapper.
32136 * math/w_ilogbf.c: New file: ilogbf wrapper.
32137 * math/w_ilogbl.c: New file: ilogbl wrapper.
32138 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32139 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32140 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32141 exception being thrown with 0.0 as argument.
32142 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32143 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32144 exception being thrown with 0.0 as argument.
32145 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32146 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32147 exception being thrown with 0.0 as argument.
32148 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32149 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32150 exception being thrown with 0.0 as argument.
32151 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32152 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32153 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32154 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32155 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32156 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32157 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32158 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32159 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32161 2012-04-17 Petr Baudis <pasky@ucw.cz>
32163 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32166 2012-04-16 Marek Polacek <polacek@redhat.com>
32168 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32170 2012-04-16 Marek Polacek <polacek@redhat.com>
32172 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32173 operands of fdivp instruction.
32175 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32177 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32178 * elf/tst-auditmod3b.c: Likewise.
32179 * elf/tst-auditmod4b.c: Likewise.
32180 * elf/tst-auditmod5b.c: Likewise.
32181 * elf/tst-auditmod6b.c: Likewise.
32182 * elf/tst-auditmod6c.c: Likewise.
32183 * elf/tst-auditmod7b.c: Likewise.
32184 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32185 * sysdeps/x86_64/preconfigure.in: Likewise.
32186 * sysdeps/x86_64/preconfigure: Regenerated.
32188 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32190 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32193 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
32195 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32196 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32198 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32201 * locale/iso-639.def: Fix gl language name. Spotted by
32204 2012-04-12 Roland McGrath <roland@hack.frob.com>
32207 * libio/libio.h (__io_write_fn): Update comment.
32209 2012-04-12 Petr Baudis <pasky@ucw.cz>
32212 * stdio.texi (Hook Functions): The user provided writer function
32213 is not allowed to return -1.
32215 2012-04-11 David S. Miller <davem@davemloft.net>
32217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32219 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32221 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32222 Add a leading slash to rtkaio.
32224 2012-04-11 Jim Meyering <meyering@redhat.com>
32227 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32228 It is not necessarily an error to ignore fwrite's return
32229 value. One can reliably use ferror to test for errors after
32232 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32234 * bits/types.h (__snseconds_t): New type.
32235 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32237 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32239 (__SNSECONDS_T_TYPE): Likewise.
32240 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32241 (__SNSECONDS_T_TYPE): Likewise.
32242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32243 (__SNSECONDS_T_TYPE): Likewise.
32245 2012-04-10 Andreas Jaeger <aj@suse.de>
32248 * manual/time.texi (Processor Time): Return type of times is
32249 elapsed real time since an arbitrary point in the past.
32250 (CPU Time): Move CLK_TCK from here...
32251 (Processor Time): ...to here. Correct description.
32252 * manual/conf.texi (Constants for Sysconf): Correct description of
32255 2012-04-10 David S. Miller <davem@davemloft.net>
32258 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32259 where the is a gap between DT_REL(A) and DT_JMPREL.
32261 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32263 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32264 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32265 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32267 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32269 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32270 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32271 (dl_main): Handle --inhibit-cache.
32272 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32274 * elf/dl-load.c (_dl_map_object): Use it.
32275 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32277 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32280 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32281 (__ieee754_powl): Saturate large exponents rather than testing for
32282 overflow of y*log2(x).
32283 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32284 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32288 * math/s_ctan.c: Include <float.h>.
32289 (__ctan): Avoid internal overflow or cancellation in calculating
32291 * math/s_ctanf.c: Likewise.
32292 * math/s_ctanl.c: Likewise.
32293 * math/s_ctanh.c: Likewise.
32294 * math/s_ctanhf.c: Likewise.
32295 * math/s_ctanhl.c: Likewise.
32296 * math/libm-test.inc (ctan_test): Add more tests.
32297 (ctanh_test): Likewise.
32298 * sysdeps/i386/fpu/libm-test-ulps: Update.
32299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32301 2012-04-09 Andreas Jaeger <aj@suse.de>
32304 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32305 is an optional BSD extension.
32308 * manual/stdio.texi (Opening Streams): Document additional fopen
32311 2012-04-09 Roland McGrath <roland@hack.frob.com>
32313 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32314 %eax without telling the compiler.
32316 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32319 * manual/install.texi: Use sourceware.org.
32321 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32324 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32325 (__ieee754_pow): Generate overflow and underflow using huge*huge
32326 and tiny*tiny rather than just returning constant infinity or zero
32327 for large exponents.
32328 * math/libm-test.inc (pow_test): Require overflow exceptions for
32329 applicable cases of large exponents.
32332 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32333 (__ieee754_pow): Use iterative multiplication algorithm only for
32334 integer exponents with absolute value below 1024. Check for odd
32335 integer exponents when using algorithm for real exponents.
32336 * math/libm-test.inc (pow_test): Add more tests.
32337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32339 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32342 * math/libm-test.inc (exp_test): Do not allow overflow exception
32345 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32348 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32349 instead of __kernel_standard_f.
32351 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32353 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32354 * sysdeps/x86_64/memset_chk.S: Likewise.
32356 2012-04-08 Andreas Jaeger <aj@suse.de>
32359 * manual/startup.texi (Environment Access): Describe return value
32360 for putenv and setenv.
32363 * manual/filesys.texi (Directory Entries): Add description for
32367 * manual/filesys.texi (Directory Entries): Clarify that it's file
32368 system not operating system in the description of DT_UNKNOWN.
32371 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32373 2012-04-08 Stephen Compall <s11@member.fsf.org>
32376 * manual/llio.texi (Opening and Closing Files): Add cross
32377 reference to explain mode argument.
32379 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32381 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32382 * sysdeps/x86_64/memset_chk.S: Likewise.
32384 2012-04-07 David S. Miller <davem@davemloft.net>
32386 * elf/elf.h (R_SPARC_WDISP10): Define.
32387 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32389 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32390 R_SPARC_SIZE64 and R_SPARC_H34.
32392 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32394 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32395 conditions and remove no longer applicable assertion.
32397 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32399 * bits/byteswap.h: Include <features.h>.
32400 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32401 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32403 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32405 * bits/byteswap.h (__bswap_16): Removed.
32406 Include <bits/byteswap-16.h> to get __bswap_16.
32407 * sysdeps/i386/bits/byteswap.h: Likewise.
32408 * sysdeps/s390/bits/byteswap.h: Likewise.
32409 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32410 * bits/byteswap-16.h: New file.
32411 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32412 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32413 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32414 * string/Makefile (headers): Add bits/byteswap-16.h.
32416 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32419 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32421 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32422 * nss/tst-nss-static.c: New.
32424 2012-04-06 Robert Millan <rmh@gnu.org>
32427 * manual/llio.texi (File Position Primitive): lseek
32428 refers to WHENCE when it really means OFFSET.
32430 2012-04-06 Andreas Jaeger <aj@suse.de>
32432 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32433 strncmp declarations.
32435 * abilist/libc.abilist: Add __poll and __ppoll.
32437 2012-04-05 David S. Miller <davem@davemloft.net>
32439 * scripts/check-local-headers.sh: Accept a host triplet in the
32440 path matched by the exclude regexp.
32442 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32444 * sysdeps/powerpc/powerpc32/dl-machine.h
32445 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32446 * sysdeps/s390/s390-32/dl-machine.h
32447 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32448 * sysdeps/sparc/sparc32/dl-machine.h
32449 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32450 * sysdeps/sparc/sparc64/dl-machine.h
32451 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32453 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32455 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32456 undefined symbol errors.
32458 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32461 2012-04-05 Michael Matz <matz@suse.de>
32464 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32466 2012-04-05 Andreas Jaeger <aj@suse.de>
32469 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32472 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32474 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32475 which ROUND is no valid rounding mode.
32477 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32479 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32481 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32483 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32485 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32486 an exception using FPU order intentionally.
32488 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32490 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32491 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32492 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32493 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32495 2012-04-05 Simon Josefsson <simon@josefsson.org>
32498 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32499 EINVAL when BUFLEN is too smal.
32501 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32504 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32505 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32507 2012-04-03 Andreas Jaeger <aj@suse.de>
32510 * manual/setjmp.texi (System V contexts): Fix sentence.
32513 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32514 New macro for this case.
32515 [!__GNUC__] (__bswap_64): New inline function for this case.
32516 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32517 * bits/byteswap.h: Likewise.
32518 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32519 ull, guard with __GLIBC_HAVE_LONG_LONG.
32521 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32522 __GLIBC_HAVE_LONG_LONG.
32524 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32525 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32527 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32530 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32531 inptr and inend, rather than using last_ch.
32533 2012-04-02 David S. Miller <davem@davemloft.net>
32535 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32536 * stdio-common/printf-parse.h (read_int): Change return type to
32537 'int', return -1 on INT_MAX overflow.
32538 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32539 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32540 overflows INT_MAX. Check for overflow of in-format-string precision
32541 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32542 SIZE_MAX not INT_MAX for integer overflow test.
32543 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32544 skip the construct in the format string but do not record anything.
32545 * stdio-common/bug22.c: Adjust to test both width/prevision
32546 INT_MAX overflow as well as total length INT_MAX overflow. Check
32547 explicitly for proper errno values.
32549 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32551 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32553 * string/test-strcmp.c [! WIDE]: Likewise.
32554 * time/tst-mktime2.c: Likewise for INT_MAX.
32555 * string/test-string.h: #include <sys/param.h> for MIN.
32557 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32558 * sysdeps/i386/init-first.c (init): Likewise.
32559 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32560 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32561 * sysdeps/sh/init-first.c (init): Likewise.
32563 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32565 * po/ru.po: Update from translation team.
32566 * po/vi.po: Likewise.
32568 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32570 * resolv/nss_dns/dns-host.c: Merge copyright years.
32572 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32574 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32575 Optimize memcpy with prefetch if
32576 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32577 src, dst pointers have unequal 16 byte alignments.
32579 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32582 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32583 from a CNAME entry and return the minimum ttl for the query.
32584 (gaih_getanswer_slice): Likewise.
32586 2012-03-30 Jeff Law <law@redhat.com>
32588 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32590 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32591 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32593 * resolv/nss_dns/dns-host.c: Update copyright year.
32595 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32597 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32598 requests to save a system call. Fix check that all bytes are sent.
32600 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32601 comments for sendmmsg.
32603 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32606 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32607 with only 1 character between 0x0041 and 0x01b0.
32608 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32609 * wcsmbs/tst-mbsnrtowcs.c: New file.
32611 2012-03-29 David S. Miller <davem@davemloft.net>
32613 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32614 small copies by hand.
32616 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32619 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32620 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32623 2012-03-28 David S. Miller <davem@davemloft.net>
32625 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32626 that branches into memcpy.
32627 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32628 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32629 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32630 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32631 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32633 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32634 implementation too.
32635 * sysdeps/sparc/mempcpy.S: New file.
32637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32638 the IFUNC routine in the libc case.
32639 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32641 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32642 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32643 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32644 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32645 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32646 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32647 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32648 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32650 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32651 loop to 256 bytes instead of 64 bytes and fix test signedness.
32653 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32654 * sysdeps/sparc/sparc32/Makefile: rather than here...
32655 * sysdeps/sparc/sparc64/Makefile: and here.
32657 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32659 * malloc/mallocbug.c: Avoid warnings about unused variables.
32661 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32664 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32665 in the right place. Discard and retry query if response is
32666 larger than input buffer size.
32668 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32673 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32674 x for large integer exponent.
32675 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32676 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32677 sign of result as needed afterwards.
32678 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32679 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32680 result for underflowing pow the same as for overflow.
32681 (__kernel_standard_l): Handle powl overflow and underflow here
32682 rather than calling __kernel_standard.
32683 * math/libm-test.inc (pow_test): Add more tests.
32698 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32699 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32700 (__kernel_standard_l): New function.
32701 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32703 * math/w_acosl.c (__acosl): Likewise.
32704 * math/w_asinl.c (__asinl): Likewise.
32705 * math/w_atan2l.c (__atan2l): Likewise.
32706 * math/w_atanhl.c (__atanhl): Likewise.
32707 * math/w_coshl.c (__coshl): Likewise.
32708 * math/w_exp10l.c (__exp10l): Likewise.
32709 * math/w_exp2l.c (__exp2l): Likewise.
32710 * math/w_fmodl.c (__fmodl): Likewise.
32711 * math/w_hypotl.c (__hypotl): Likewise.
32712 * math/w_j0l.c (__j0l, __y0l): Likewise.
32713 * math/w_j1l.c (__j1l, __y1l): Likewise.
32714 * math/w_jnl.c (__jnl, __ynl): Likewise.
32715 * math/w_lgammal.c (__lgammal): Likewise.
32716 * math/w_log10l.c (__log10l): Likewise.
32717 * math/w_log2l.c (__log2l): Likewise.
32718 * math/w_logl.c (__logl): Likewise.
32719 * math/w_powl.c (__powl): Likewise.
32720 * math/w_remainderl.c (__remainderl): Likewise.
32721 * math/w_scalbl.c (sysv_scalbl): Likewise.
32722 * math/w_sinhl.c (__sinhl): Likewise.
32723 * math/w_sqrtl.c (__sqrtl): Likewise.
32724 * math/w_tgammal.c (__tgammal): Likewise.
32725 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32726 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32727 * math/libm-test.inc (acos_test): Add more tests.
32728 (acosh_test): Likewise.
32729 (asin_test): Likewise.
32730 (atanh_test): Likewise.
32731 (exp_test): Likewise.
32732 (exp10_test): Likewise.
32733 (exp2_test): Likewise.
32734 (expm1_test): Likewise.
32735 (lgamma_test): Likewise.
32736 (log_test): Likewise.
32737 (log10_test): Likewise.
32738 (log1p_test): Likewise.
32739 (log2_test): Likewise.
32740 (pow_test): Do not allow some spurious overflow exceptions.
32741 (sqrt_test): Add more tests.
32742 (tgamma_test): Likewise.
32743 (y0_test): Likewise.
32744 (y1_test): Likewise.
32745 (yn_test): Likewise.
32747 2012-03-27 Anton Blanchard <anton@samba.org>
32749 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32751 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32752 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32753 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32755 2012-03-27 David S. Miller <davem@davemloft.net>
32757 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32759 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32760 have-as-vis3 check.
32762 2012-03-27 Andreas Jaeger <aj@suse.de>
32764 * sysdeps/x86_64/elf/configure.in: Moved to ...
32765 * sysdeps/x86_64/configure.in: ... here.
32766 * sysdeps/x86_64/elf/start.S: Moved to ...
32767 * sysdeps/x86_64/start.S: ... here.
32768 * sysdeps/x86_64/elf/configure: Delete.
32770 * sysdeps/x86_64/configure.in: Merge contents from
32771 sysdeps/i386/configure.in (without i686 check).
32773 * sysdeps/i386/elf/Versions: Merge into ...
32774 * sysdeps/i386/Versions: ... this.
32775 * sysdeps/i386/elf/Versions: Delete file.
32776 * sysdeps/i386/elf/start.S: Moved to ...
32777 * sysdeps/i386/start.S: ...here.
32778 * sysdeps/i386/elf/configure.in: Merge into...
32779 * sysdeps/i386/configure.in: ...here.
32780 * sysdeps/i386/elf/configure.in: Delete file.
32781 * sysdeps/i386/elf/configure: Delete file.
32783 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32784 * debug/backtracesyms.c: ... here.
32785 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32786 * debug/backtracesymsfd.c: ... here.
32787 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32788 * sysdeps/generic/ifunc-sel.h: ... here.
32790 * sysdeps/unix/i386/start.c: Delete file.
32791 * sysdeps/unix/sparc/start.c: Delete file.
32792 * sysdeps/unix/start.c: Delete file.
32794 * sysdeps/sh/elf/configure.in: Moved to ...
32795 * sysdeps/sh/configure.in: ... here.
32796 * sysdeps/sh/elf/start.S: Moved to ...
32797 * sysdeps/sh/start.S: ... here.
32798 * sysdeps/sh/elf/configure: Delete file.
32800 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32801 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32802 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32803 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32804 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32805 * sysdeps/powerpc/powerpc64/start.S: here.
32806 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32807 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32808 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32809 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32810 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32812 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32813 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32814 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32815 * sysdeps/powerpc/powerpc32/start.S: ... here.
32816 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32817 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32818 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32820 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32821 * sysdeps/powerpc/ifunc-sel.h: ... here.
32822 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32823 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32825 * sysdeps/sparc/elf/configure.in: Moved to ...
32826 * sysdeps/sparc/configure.in: ... here.
32827 * sysdeps/sparc/elf/configure: Delete file.
32828 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32829 * sysdeps/sparc/sparc32/start.S: ... here.
32830 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32831 * sysdeps/sparc/sparc64/start.S: ... here.
32832 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32833 * sysdeps/sparc/sparc32/Makefile: ... this.
32834 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32835 * sysdeps/sparc/sparc64/Makefile: ... this.
32837 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32838 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32839 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32840 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32841 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32842 * sysdeps/s390/s390-32/setjmp.S: ... here.
32843 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32844 * sysdeps/s390/s390-32/configure.in: ... here.
32845 * sysdeps/s390/s390-32/elf/configure: Delete file.
32846 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32847 * sysdeps/s390/s390-32/start.S: ... here.
32849 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32850 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32851 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32852 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32853 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32854 * sysdeps/s390/s390-64/setjmp.S: ... here.
32855 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32856 * sysdeps/s390/s390-64/configure.in: ... here
32857 * sysdeps/s390/s390-64/elf/configure: Delete file.
32858 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32859 * sysdeps/s390/s390-64/start.S: ... here.
32860 * sysdeps/s390/s390-64/elf/configure: Delete.
32862 * configure.in: Remove support for elf directories in sysdeps.
32864 * configure: Regenerated.
32865 * sysdeps/i386/configure: Regenerated.
32866 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32867 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32868 * sysdeps/s390/s390-32/configure: Regenerated.
32869 * sysdeps/s390/s390-64/configure: Regenerated.
32870 * sysdeps/sh/configure: Regenerated.
32871 * sysdeps/sparc/configure: Regenerated.
32872 * sysdeps/x86_64/configure: Regenerated.
32874 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32878 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32879 denormal result into account.
32881 2012-03-25 Roland McGrath <roland@hack.frob.com>
32883 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32884 Reported by Allan McRae <allan@archlinux.org>.
32886 2012-03-23 Jeff Law <law@redhat.com>
32888 * nss/getnssent.c (__nss_getent): Fix typo.
32890 2012-03-23 David S. Miller <davem@davemloft.net>
32892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32894 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32896 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32897 to pad to uint64_t for each field.
32898 (dl_tls_index): Replace unsigned long with uint64_t.
32900 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32901 Paul Pluzhnikov <ppluzhnikov@google.com>
32904 * grp/Makefile (otherlibs): Don't set it.
32905 * inet/Makefile (otherlibs): Likewise.
32906 * login/Makefile (otherlibs): Likewise.
32907 * nscd/Makefile (otherlibs): Likewise.
32908 * posix/Makefile (otherlibs): Likewise.
32909 * pwd/Makefile (otherlibs): Likewise.
32910 * rt/Makefile (otherlibs): Likewise.
32911 * sunrpc/Makefile (otherlibs): Likewise.
32912 * nss/Makefile (otherlibs): Likewise.
32913 Add libnss_files to routines and static-only-routines.
32914 ($(objpfx)getent): Remove rule.
32915 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32916 static-only-routines.
32918 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32921 * math/s_cexp.c: Include <float.h>.
32922 (__cexp): Handle exp result overflowing not necessarily
32923 overflowing both real and imaginary parts of result.
32924 * math/s_cexpf.c: Likewise.
32925 * math/s_cexpl.c: Likewise.
32926 * math/libm-test.inc (cexp_test): Add more tests.
32927 * sysdeps/i386/fpu/libm-test-ulps: Update.
32928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32930 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32932 * include/link.h (ELFW): New macro.
32933 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32934 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32936 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32938 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32941 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32943 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32945 (struct La_x32_retval): Likewise.
32947 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32949 * sysdeps/x86_64/preconfigure.in: New file.
32950 * sysdeps/x86_64/preconfigure: New generated file.
32952 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32955 * math/e_exp2l.c: Include <float.h>.
32956 (__ieee754_exp2l): Handle overflow and underflow cases
32957 separately. Only pass fractional part of argument to
32959 * math/libm-test.inc (exp2_test): Add more tests.
32961 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32962 negating x to take absolute value.
32963 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32965 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32966 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32968 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32969 computing low part if x was negated.
32970 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32972 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32974 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32975 la_x32_gnu_pltexit.
32976 (pltexit): Cast int_retval to ptrdiff_t.
32977 * elf/tst-auditmod3b.c: Likewise.
32978 * elf/tst-auditmod4b.c: Likewise.
32979 * elf/tst-auditmod5b.c: Likewise.
32980 * elf/tst-auditmod6b.c: Likewise.
32981 * elf/tst-auditmod6c.c: Likewise.
32982 * elf/tst-auditmod7b.c: Likewise.
32984 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32985 and x32_gnu_pltexit.
32987 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32988 __ELF_NATIVE_CLASS.
32989 (La_x32_regs): New macro.
32990 (La_x32_retval): Likewise.
32991 (la_x32_gnu_pltenter): New function prototype.
32992 (la_x32_gnu_pltexit): Likewise.
32994 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32996 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33001 * configure.in (libc_cv_cc_nofma): Check for option to disable
33002 generation of FMA instructions.
33003 * configure: Regenerate.
33004 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33005 * sysdeps/ieee754/dbl-64/Makefile: New file.
33006 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33007 Remove brandred-fma4.
33008 (CFLAGS-brandred-fma4.c): Remove.
33009 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33010 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33012 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33015 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33017 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33018 LLONG_MAX != LONG_MAX.
33019 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33020 (_fitoa_word): Likewise.
33021 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33022 LLONG_MAX != LONG_MAX.
33023 * stdio-common/_itowa.h: Include <_itoa.h>.
33024 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33025 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33026 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33027 only if not defined.
33028 (_ITOA_WORD_TYPE): Likewise.
33029 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33030 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33032 2012-03-21 David S. Miller <davem@davemloft.net>
33034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33036 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33038 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33039 of x86_64 when setting libc_cv_slibdir, libdir and
33041 * sysdeps/unix/sysv/linux/configure: Regenerated.
33043 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33045 * manual/lang.texi (Old Varargs): Remove section.
33046 (How Variadic): Update menu.
33047 (va_start): Do not mention varargs.h.
33049 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33050 Joseph Myers <joseph@codesourcery.com>
33052 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33054 * configure: Regenerated.
33056 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33058 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33059 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33062 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33065 * Makefile (files-for-dist): Remove NOTES.
33066 (NOTES): Remove rule.
33067 * README: Don't refer to NOTES.
33068 * manual/creature.texi: Don't include macros.texi.
33069 * manual/intro.texi (creature.texi): Remove comment referring to
33072 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33073 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33074 * configure: Regenerated.
33075 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33076 LIBC_TRY_CC_OPTION.
33077 (libc_cv_as_i686): Likewise.
33078 (libc_cv_cc_avx): Likewise.
33079 (libc_cv_cc_sse2avx): Likewise.
33080 (libc_cv_cc_fma4): Likewise.
33081 (libc_cv_cc_novzeroupper): Likewise.
33082 * sysdeps/i386/configure: Regenerated.
33085 * sysdeps/i386/fpu/s_cexp.S: Remove.
33086 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33087 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33088 * math/libm-test.inc (cexp_test): Add more tests.
33089 * sysdeps/i386/fpu/libm-test-ulps: Update.
33090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33092 2012-03-21 Allan McRae <allan@archlinux.org>
33094 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33096 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33099 * math/w_exp2.c: Do not include <float.h>.
33100 (o_threshold, u_threshold): Remove.
33101 (__exp2): Calculate result before checking finiteness and calling
33103 * math/w_exp2f.c: Likewise.
33104 * math/w_exp2l.c: Likewise.
33105 * math/libm-test.inc (exp2_test): Require overflow exception for
33109 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33110 range of signed 64-bit integers before using fistpll. Remove
33111 checks for whether integers fit in mantissa bits.
33112 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33113 the range of signed 32-bit integers before using fistpl. Remove
33114 checks for whether integers fit in mantissa bits.
33115 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33116 (__ieee754_powl): Test for y outside the range of signed 64-bit
33117 integers before using fistpll. Reduce 64-bit values to 63-bit
33119 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33120 divide-by-zero is raised for zero to large negative powers.
33121 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33122 (__ieee754_powl): Test for y outside the range of signed 64-bit
33123 integers before using fistpll. Reduce 64-bit values to 63-bit
33125 * math/libm-test.inc (pow_test): Add more tests.
33127 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33129 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33130 <stdio-common/_itoa.h>.
33131 * debug/segfault.c: Likewise.
33132 * elf/dl-cache.c: Likewise.
33133 * elf/dl-minimal.c: Likewise.
33134 * elf/dl-misc.c: Likewise.
33135 * elf/dl-sysdep.c: Likewise.
33136 * elf/dl-version.c: Likewise.
33137 * elf/rtld.c: Likewise.
33138 * hurd/hurdsock.c: Likewise.
33139 * hurd/lookup-retry.c: Likewise.
33140 * malloc/malloc.c: Likewise.
33141 * malloc/mtrace.c: Likewise.
33142 * nscd/nscd_getgr_r.c: Likewise.
33143 * nscd/nscd_getpw_r.c: Likewise.
33144 * nscd/nscd_getserv_r.c: Likewise.
33145 * posix/getopt_init.c: Likewise.
33146 * posix/wordexp.c: Likewise.
33147 * stdio-common/_itoa.c: Likewise.
33148 * stdio-common/printf_fphex.c: Likewise.
33149 * stdio-common/vfprintf.c: Likewise.
33150 * string/_strerror.c: Likewise.
33151 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33152 * sysdeps/i386/i686/hp-timing.h: Likewise.
33153 * sysdeps/mach/_strerror.c: Likewise.
33154 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33155 * sysdeps/mach/hurd/sethostid.c: Likewise.
33156 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33157 * sysdeps/mach/xpg-strerror.c: Likewise.
33158 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33159 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33160 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33161 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33162 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33163 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33164 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33165 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33166 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33167 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33168 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33169 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33170 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33171 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33172 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33173 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33174 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33175 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33176 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33177 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33178 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33180 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33182 * stdio-common/_itoa.h: Moved to ...
33183 * sysdeps/generic/_itoa.h: Here.
33185 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33187 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33188 instead of "_itoa.h" and "_itowa.h".
33189 * stdio-common/vfprintf.: Likewise.
33191 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33193 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33195 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33196 (__signbit): Likwise.
33197 (llrintf): Likwise.
33200 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33202 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33205 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33207 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33208 OVERFLOW_EXCEPTION_OK.
33209 * math/libm-test.inc ("Philosophy"): Update comment about
33211 (OVERFLOW_EXCEPTION): Define.
33212 (OVERFLOW_EXCEPTION_OK): Likewise.
33213 (INVALID_EXCEPTION_OK): Renumber.
33214 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33215 (IGNORE_ZERO_INF_SIGN): Likewise.
33216 (test_exceptions): Handle FE_OVERFLOW.
33217 (exp10_test): Expect overflow exceptions.
33218 (exp2_test): Likewise.
33219 (expm1_test): Likewise.
33220 (nextafter_test): Likewise.
33221 (pow_test): Likewise.
33222 (scalbn_test): Likewise.
33223 (scalbln_test): Likewise.
33225 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33227 * sysdeps/x86_64/bits/atomic.h
33228 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33230 (atomic_exchange_acq): Likewise.
33231 (__arch_exchange_and_add_body): Likewise.
33232 (__arch_add_body): Likewise.
33233 (atomic_add_negative): Likewise.
33234 (atomic_add_zero): Likewise.
33236 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33238 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33239 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33241 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33243 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33244 Check __x86_64__ instead of __WORDSIZE.
33246 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33248 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33250 2012-03-19 David S. Miller <davem@davemloft.net>
33252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33254 * sysdeps/sparc/fpu/fenv_private.h: New file.
33255 * sysdeps/sparc/fpu/math_private.h: Use it.
33256 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33258 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33259 (libc_feholdexcept_setroundl): Remove.
33260 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33262 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33263 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33265 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33267 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33268 int64_t instead of long int.
33269 (INSERT_WORDS64): Likwise.
33271 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33273 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33274 _Unwind_GetCFA return to _Unwind_Ptr first.
33276 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33279 * math/s_clog.c: Include <float.h>.
33280 (__clog): Scale large or subnormal inputs.
33281 * math/s_clogf.c: Likewise.
33282 * math/s_clogl.c: Likewise.
33283 * math/s_clog10.c: Include <float.h>.
33284 (M_LOG10_2): Define.
33285 (__clog10): Scale large or subnormal inputs.
33286 * math/s_clog10f.c: Likewise.
33287 * math/s_clog10l.c: Likewise.
33288 * math/libm-test.inc (clog_test): Add more tests.
33289 (clog10_test): Likewise.
33290 * sysdeps/i386/fpu/libm-test-ulps: Update.
33291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33294 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33296 * math/libm-test.inc (atan2_test): Add another test.
33298 * Makerules (common-objdir-compile): Remove.
33299 * sysdeps/unix/Makefile (config-generated): Do not add
33300 $(unix-generated) to variable.
33301 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33302 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33304 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33306 [generic bits/local_lim.h] (before-compile): Do not append to
33308 [generic bits/local_lim.h] (common-generated): Likewise.
33309 [generic sys/param.h] (before-compile): Do not append to variable.
33310 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33311 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33312 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33313 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33315 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33316 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33317 [generic sys/param.h] ($(addprefix
33318 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33319 [generic sys/param.h] (common-generated): Do not append to
33321 [generic sys/param.h] (sysdep_headers): Likewise.
33322 [generic bits/errno.h] (before-compile): Do not append to
33324 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33326 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33327 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33328 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33329 [generic bits/errno.h] (common-generated): Do not append to
33331 [generic bits/ioctls.h] (before-compile): Do not append to
33333 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33335 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33336 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33337 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33339 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33340 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33341 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33342 [generic bits/ioctls.h] (common-generated): Do not append to
33344 [generic sys/syscall.h] (syscall.h): Remove variable.
33345 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33347 [generic sys/syscall.h] (before-compile): Do not append to
33349 [generic sys/syscall.h] (common-generated): Likewise.
33350 * sysdeps/unix/errnos-tmpl.c: Remove file.
33351 * sysdeps/unix/errnos.awk: Likewise.
33352 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33353 * sysdeps/unix/ioctls.awk: Likewise.
33354 * sysdeps/unix/mk-local_lim.c: Likewise.
33355 * sysdeps/unix/snarf-ioctls: Likewise.
33357 2012-03-19 Richard Henderson <rth@twiddle.net>
33359 * sysdeps/i386/fpu/fenv_private.h: New file.
33360 * sysdeps/i386/fpu/math_private.h: Use it.
33361 (math_opt_barrier, math_force_eval): Remove.
33362 (libc_feholdexcept_setround_53bit): Remove.
33363 (libc_feupdateenv_53bit): Remove.
33364 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33365 (math_opt_barrier, math_force_eval): Remove.
33366 (libc_feholdexcept): Remove.
33367 (libc_feholdexcept_setround): Remove.
33368 (libc_fetestexcept, libc_fesetenv): Remove.
33369 (libc_feupdateenv_test): Remove.
33370 (libc_feupdateenv, libc_feholdsetround): Remove.
33371 (libc_feresetround): Remove.
33373 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33374 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33376 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33377 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33378 (libc_feupdateenv_testl): New.
33379 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33380 (libc_feupdateenv_testf): New.
33381 (libc_feupdateenv): Use libc_feupdateenv_test.
33382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33383 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33385 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33386 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33387 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33388 (libc_feresetround_noex): New.
33389 (libc_feresetround_noexf): New.
33390 (libc_feresetround_noexl): New.
33391 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33392 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33393 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33394 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33396 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33397 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33399 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33400 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33401 SET_RESTORE_ROUND_NOEX.
33402 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33403 SET_RESTORE_ROUND_NOEXF.
33404 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33405 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33406 (libc_feholdsetroundf): New.
33407 (libc_feresetround, libc_feresetroundf): New.
33409 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33410 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33411 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33413 * sysdeps/generic/math_private.h: Include <fenv.h>.
33414 (default_libc_feholdexcept): New.
33415 (default_libc_feholdexcept_setround): New.
33416 (default_libc_fesetenv, default_libc_feupdateenv): New.
33417 (libc_feholdexcept): Only define if undefined.
33418 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33419 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33420 (libc_feholdexcept_setroundl): Likewise.
33421 (libc_feholdexcept_setround_53bit): Likewise.
33422 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33423 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33424 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33425 (libc_feupdateenv_53bit): Likewise.
33426 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33427 (libc_feholdexcept): Convert from macro to inline function.
33428 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33429 (libc_fesetenv, libc_feupdateenv): Likewise.
33431 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33432 not previously defined.
33433 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33434 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33435 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33436 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33437 * sysdeps/ieee754/flt-32/math_private.h: New file.
33438 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33439 math_private.h below SET_FLOAT_WORD.
33440 (__isnan, __isinf_ns, __finite): Remove.
33441 (__isnanf, __isinf_nsf, __finitef): Remove.
33443 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33447 2012-03-17 David S. Miller <davem@davemloft.net>
33450 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33453 2012-03-16 David S. Miller <davem@davemloft.net>
33455 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33459 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33461 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33462 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33463 sysdep_routines when subdir is sysvipc.
33464 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33465 __getshmlba helper.
33467 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33469 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33471 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33474 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33476 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33477 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33478 (__lround): Renamed to ...
33479 (__llround): This. Replace long int with long long int.
33480 Define lround functions as aliases of llround functions.
33481 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33483 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33485 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33486 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33487 adresses to uintptr_t. Replace "long int" and "unsigned long
33488 int" with "greg_t" on va_arg.
33490 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33492 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33493 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33495 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33496 Move e_machine check before EI_CLASS check. Handle x32
33497 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33498 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33499 SKIP_EM_IA_64 and include
33500 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33502 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33503 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33504 (add_system_dir): New macro.
33506 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33507 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33509 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33520 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33522 * math/w_j0f.c (j0f): Likewise.
33524 * math/w_j0l.c (__j0l): Likewise.
33526 * math/w_j1.c (j1): Likewise.
33528 * math/w_j1f.c (j1f): Likewise.
33530 * math/w_j1l.c (__j1l): Likewise.
33532 * math/w_jn.c (jn): Likewise.
33534 * math/w_jnf.c (jnf): Likewise.
33536 * math/w_jnl.c (__jnl): Likewise.
33538 * math/libm-test.inc (j0_test): Add more tests.
33539 (j1_test): Likewise.
33540 (jn_test): Likewise. Add trailing semicolon to existing test.
33541 (y0_test): Likewise.
33542 (y1_test): Likewise.
33543 * sysdeps/i386/fpu/libm-test-ulps: Update.
33544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33548 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33549 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33550 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33551 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33552 (__tanl): Set errno for infinite argument.
33553 * sysdeps/i386/fpu/mptan.c: Remove.
33554 * sysdeps/i386/fpu/s_tan.S: Likewise.
33555 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33556 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33557 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33558 * math/libm-test.inc (tan_test): Add more tests and enable more
33559 tests for double and long double.
33560 * sysdeps/i386/fpu/libm-test-ulps: Update.
33561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33563 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33565 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33566 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33568 2012-03-16 Roland McGrath <roland@hack.frob.com>
33570 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33571 * configure.in: Use it for both main tree and add-ons.
33572 * configure: Regenerated.
33574 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33576 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33578 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33580 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33584 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33585 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33586 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33587 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33588 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33590 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33591 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33592 != 0 for prec == 2.
33593 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33594 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33595 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33596 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33597 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33598 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33599 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33600 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33601 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33602 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33603 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33604 * math/libm-test.inc (cos_test): Add more tests and enable more
33605 tests for long double.
33606 (sin_test): Likewise.
33607 (sincos_test): Likewise.
33608 * sysdeps/i386/fpu/libm-test-ulps: Update.
33609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33611 2012-03-16 David S. Miller <davem@davemloft.net>
33613 * sysdeps/sparc/fpu/math_private.h: New file.
33615 2012-03-15 David S. Miller <davem@davemloft.net>
33617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33627 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33631 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33632 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33634 * sysdeps/sparc/sparc-ifunc.h: New file.
33635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33661 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33662 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33673 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33674 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33675 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33676 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33677 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33678 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33680 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33682 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33686 2012-03-15 Andreas Jaeger <aj@suse.de>
33689 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33690 ieee754/flt-32 implementation for sin, cos and sincos.
33691 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33692 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33693 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33694 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33695 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33696 ieee754/flt-32 implementation for tan.
33698 * math/libm-test.inc (cos_test): Enable some large input tests for
33700 (sin_test): Likewise.
33701 (sincos_test): Likewise.
33702 (tan_test): Add tests for large input.
33704 * sysdeps/i386/fpu/libm-test-ulps: Update.
33706 2012-03-15 Andreas Jaeger <aj@suse.de>
33709 * math/libm-test.inc (cos_test): Add more test cases.
33710 (sin_test): Likewise.
33711 (sincos_test): Likewise.
33713 2012-03-15 Andreas Jaeger <aj@suse.de>
33716 * math/libm-test.inc (cos_test): Add a test case for large input
33718 (sin_test): Likewise.
33719 (sincos_test): Likewise.
33721 2012-03-15 Andreas Jaeger <aj@suse.de>
33722 Joseph Myers <joseph@codesourcery.com>
33725 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33726 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33727 * sysdeps/i386/fpu/branred.c: Likewise.
33728 * sysdeps/i386/fpu/dosincos.c: Likewise.
33729 * sysdeps/i386/fpu/mpa.c: Likewise.
33730 * sysdeps/i386/fpu/s_cos.S: Likewise.
33731 * sysdeps/i386/fpu/s_sin.S: Likewise.
33732 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33733 * sysdeps/i386/fpu/sincos32.c: Likewise.
33735 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33737 (libc_feupdateenv_53bit): Define.
33738 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33740 (libc_feupdateenv_53bit): Define.
33742 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33743 53 bit (without extend i386 double precision).
33745 * math/libm-test.inc (sincos_test): Add tests for large input.
33749 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33751 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33755 2012-03-15 David S. Miller <davem@davemloft.net>
33757 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33758 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33759 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33760 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33785 fmin/fmax sysdep routines.
33786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33788 2012-03-14 David S. Miller <davem@davemloft.net>
33790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33794 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33796 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33797 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33812 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33813 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33814 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33816 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33817 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33818 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33862 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33867 * sysdeps/sparc/configure.in: New file.
33868 * sysdeps/sparc/configure: Generate.
33869 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33870 * configure: Regenerate.
33871 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33872 * config.make.in (have-as-vis3): New.
33873 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33874 available use -Av9d instead of -Av9a.
33875 * sysdeps/sparc/sparc64/Makefile: Likewise.
33876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33885 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33886 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33888 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33889 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33891 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33892 fzeros/fnegs to load 0x80000000 into a float register instead of
33894 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33896 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33898 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33900 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33901 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33902 ($(inst_includedir)/bits/syscall.h): Remove rule.
33903 ($(objpfx)bits/syscall.d): Include instead of
33904 $(objpfx)syscall-list.d.
33905 (generated): Change syscall-list.h and syscall-list.d to
33906 bits/syscall.h and bits/syscall.d.
33908 2012-03-14 Roland McGrath <roland@hack.frob.com>
33911 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33913 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33916 * math/s_csqrt.c: Include <float.h>.
33917 (__csqrt): Scale large or subnormal inputs.
33918 * math/s_csqrtf.c: Likewise.
33919 * math/s_csqrtl.c: Likewise.
33920 * math/libm-test.inc (csqrt_test): Add more tests.
33921 * sysdeps/i386/fpu/libm-test-ulps: Update.
33922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33925 * math/libm-test.inc (hypot_test): Add more tests.
33927 2012-03-13 David S. Miller <davem@davemloft.net>
33930 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33931 double-precision for the calculation instead of scaling.
33933 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33935 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33936 manipulate bits before adding and subtracting TWO52[sx].
33937 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33938 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33940 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33942 2012-03-13 David S. Miller <davem@davemloft.net>
33944 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33945 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33947 rtld-global-offsets.h
33948 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33950 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33953 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33955 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33956 'err' in the ifdef scope in which it is actually used.
33958 * nss/nss_db/db-init.c: Include string.h
33960 2012-03-12 David S. Miller <davem@davemloft.net>
33962 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33963 masking out of the most significant byte of random value used.
33964 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33965 Fix coding style in previous change.
33967 * sysdeps/unix/sysv/linux/kernel-features.h
33968 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33969 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33971 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33974 2012-03-11 David S. Miller <davem@davemloft.net>
33976 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33977 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33978 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33979 for 'resultvar' otherwise things get truncated on 64-bit.
33981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33982 Fix masking out of the most significant byte of random value used.
33984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33986 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33990 2012-03-09 David S. Miller <davem@davemloft.net>
33992 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33993 variables with appropriate CPP guards.
33994 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33995 from the frame pointer, not the stack pointer. Correct layout
33996 comments. Fix test on resulting framesize and the management of
33997 the outregs buffer for pltexit. Preserve floating point return
33998 values across _dl_call_pltexit call.
33999 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34000 framesize and the management of the outregs buffer for pltexit.
34001 Preserve floating point return values across _dl_call_pltexit
34003 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34004 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34005 (la_sparc64_gnu_pltexit): New functions.
34006 (print_exit): Fix format string for return register value.
34008 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34010 * sunrpc/Makefile (others): Add rpcgen.
34011 ($(objpfx)rpcgen): Remove special build rule and dependency on
34013 * sunrpc/rpcgen.c: New file.
34015 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34018 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34019 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34020 * sysdeps/i386/crti.S: Likewise.
34021 * sysdeps/i386/crtn.S: Likewise.
34022 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34023 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34024 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34025 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34026 * sysdeps/sh/crti.S: Likewise.
34027 * sysdeps/sh/crtn.S: Likewise.
34028 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34031 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34033 * locale/programs/locfile-kw.gperf: Likewise.
34034 * locale/programs/charmap-kw.h: Regenerated.
34035 * locale/programs/locfile-kw.h: Likewise.
34038 * intl/plural.y: Replace FSF snail mail address with URL.
34039 * intl/plural.c: Regenerated.
34041 2012-03-09 Richard Henderson <rth@twiddle.net>
34043 * include/math_private.h: Remove file.
34044 * math/math_private.h: Move file ...
34045 * sysdeps/generic/math_private.h: ... here.
34047 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34048 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34049 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34051 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34052 and <math_private.h>.
34053 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34054 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34055 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34056 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34057 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34058 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34059 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34060 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34061 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34062 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34064 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34065 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34066 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34067 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34068 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34069 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34070 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34071 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34072 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34073 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34074 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34075 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34076 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34077 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34078 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34079 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34080 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34081 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34082 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34083 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34084 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34085 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34086 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34087 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34088 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34089 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34090 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34091 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34092 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34093 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34094 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34095 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34096 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34097 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34098 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34099 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34100 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34101 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34102 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34103 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34104 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34105 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34106 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34107 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34108 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34109 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34110 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34111 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34112 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34113 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34114 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34116 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34117 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34118 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34119 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34120 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34121 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34122 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34123 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34124 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34125 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34126 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34127 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34129 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34130 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34131 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34132 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34133 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34134 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34135 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34136 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34137 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34138 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34139 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34140 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34141 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34142 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34143 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34144 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34145 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34146 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34147 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34148 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34149 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34150 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34151 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34152 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34153 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34154 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34155 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34156 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34157 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34158 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34159 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34160 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34161 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34162 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34163 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34164 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34165 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34166 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34167 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34168 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34169 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34170 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34171 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34172 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34173 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34174 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34175 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34176 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34177 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34178 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34179 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34180 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34181 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34182 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34183 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34184 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34185 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34186 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34187 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34188 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34189 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34190 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34191 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34192 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34193 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34194 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34195 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34196 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34197 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34198 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34199 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34200 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34201 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34202 * sysdeps/ieee754/k_standard.c: Likewise.
34203 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34204 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34205 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34206 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34207 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34208 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34209 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34210 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34211 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34212 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34213 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34214 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34215 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34216 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34217 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34218 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34219 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34220 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34221 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34222 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34223 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34224 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34225 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34226 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34227 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34228 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34229 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34230 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34231 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34232 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34233 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34234 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34235 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34236 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34237 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34238 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34239 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34240 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34241 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34242 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34243 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34244 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34245 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34246 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34247 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34248 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34249 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34250 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34251 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34252 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34253 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34254 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34255 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34256 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34257 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34258 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34259 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34260 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34261 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34262 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34263 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34264 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34265 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34266 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34267 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34268 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34269 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34270 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34271 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34272 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34273 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34274 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34275 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34276 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34277 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34278 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34279 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34280 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34281 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34282 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34283 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34284 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34285 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34286 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34287 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34288 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34289 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34290 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34291 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34292 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34293 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34294 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34295 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34296 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34297 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34298 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34299 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34300 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34301 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34302 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34303 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34304 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34305 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34306 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34307 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34308 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34309 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34310 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34311 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34312 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34313 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34314 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34315 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34316 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34317 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34318 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34319 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34320 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34321 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34322 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34323 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34324 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34325 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34326 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34327 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34328 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34329 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34330 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34331 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34332 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34333 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34334 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34335 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34336 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34337 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34338 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34339 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34340 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34341 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34342 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34343 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34344 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34345 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34346 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34347 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34348 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34349 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34350 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34351 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34352 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34353 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34354 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34355 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34356 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34357 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34358 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34359 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34360 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34361 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34362 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34363 * sysdeps/ieee754/s_lib_version.c: Likewise.
34364 * sysdeps/ieee754/s_matherr.c: Likewise.
34365 * sysdeps/ieee754/s_signgam.c: Likewise.
34366 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34367 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34368 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34369 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34370 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34371 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34372 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34373 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34374 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34375 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34376 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34377 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34378 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34379 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34380 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34381 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34382 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34383 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34384 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34385 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34388 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34390 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34391 * sunrpc/rpc_main.c: Likewise.
34392 * sunrpc/rpc_svcout.c: Likewise.
34394 2012-03-09 David S. Miller <davem@davemloft.net>
34396 * include/math_private.h: New file.
34398 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34400 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34401 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34402 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34403 from <bits/socket_type.h>.
34404 (enum __socket_type): Don't define here.
34405 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34407 bits/socket_type.h.
34410 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34411 checking __USE_GNU.
34413 * Makerules ($(inst_includedir)/%.h): New rule.
34414 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34415 (install-others): Remove variable setting.
34416 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34418 2012-03-08 Richard Henderson <rth@twiddle.net>
34420 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34421 from macro to inline function; merge with the
34422 !__LIBC_INTERNAL_MATH_INLINES version.
34423 (__ieee754_sqrtf): Likewise.
34425 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34426 to inline function.
34427 (__rintf, __floor, __floorf): Likewise.
34429 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34430 macro to inline function.
34431 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34433 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34434 not <math/math_private.h>.
34436 2012-03-08 David S. Miller <davem@davemloft.net>
34438 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34440 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34442 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34444 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34446 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34447 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34449 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34451 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34452 be defined individually, they must be defined as a block. Define
34453 S for printing a string instead of hidint the different by using a
34454 macro for adding the 'l'.
34455 * stdio-common/tst-fphex-wide.c: Adjust.
34457 2012-03-07 Marek Polacek <polacek@redhat.com>
34459 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34461 2012-03-08 Marek Polacek <polacek@redhat.com>
34464 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34465 * stdio-common/tst-fphex.c: Define a few macros to make the
34466 test reusable. Use them.
34467 * stdio-common/tst-fphex-wide.c: New file.
34469 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34472 * manual/macros.texi (gnusystems): New macro.
34473 (nongnusystems): Likewise.
34474 (gnulinuxhurdsystems): Likewise.
34475 (gnuhurdsystems): Likewise..
34476 (gnulinuxsystems): Likewise.
34477 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34478 variants of the GNU system, not "GNU system".
34479 * manual/conf.texi: Likewise.
34480 * manual/errno.texi: Likewise. Update example of errno macro
34482 * manual/filesys.texi: Likewise.
34483 (getumask): Document as specific to GNU/Hurd.
34484 * manual/install.texi: Likewise. Reword some references to
34486 * manual/intro.texi: Likewise.
34487 * manual/io.texi: Likewise.
34488 (File Name Portability): Detail which constraints are inapplicable
34489 to all GNU systems and which are only inapplicable to GNU/Hurd.
34490 * manual/job.texi: Likewise.
34491 * manual/llio.texi: Likewise.
34492 (O_NOCTTY): Document as present on GNU/Linux.
34493 * manual/maint.texi: Likewise.
34494 * manual/memory.texi: Likewise.
34495 * manual/pattern.texi: Likewise.
34496 * manual/pipe.texi: Likewise.
34497 * manual/process.texi: Likewise.
34498 * manual/resource.texi: Likewise.
34499 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34501 * manual/setjmp.texi: Likewise.
34502 * manual/signal.texi: Likewise.
34503 * manual/startup.texi: Likewise.
34504 * manual/stdio.texi: Likewise.
34505 * manual/terminal.texi: Likewise.
34506 (ONLCR): Document as POSIX.
34507 (OXTABS): Document availability on GNU/Linux as XTABS.
34508 (ONOEOT): Document availability separately from other bits.
34509 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34510 * manual/time.texi: Likewise.
34511 * manual/users.texi: Likewise.
34512 * INSTALL: Regenerated.
34513 * sysdeps/gnu/errlist.c: Regenerated.
34515 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34516 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34517 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34519 * configure: Regenerated.
34521 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34523 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34524 default includes instead of AC_HEADER_CHECK.
34525 * sysdeps/i386/configure: Regenerated.
34528 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34529 * math/s_cacoshf.c (__cacoshf): Likewise.
34530 * math/s_cacoshl.c (__cacoshl): Likewise.
34531 * math/s_casinh.c (__casinh): Set signs of result from argument.
34532 * math/s_casinhf.c (__casinhf): Likewise.
34533 * math/s_casinhl.c (__casinhl): Likewise.
34534 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34535 (casinh_test): Add more tests.
34536 * sysdeps/i386/fpu/libm-test-ulps: Update.
34537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34539 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34541 * po/zh_TW.po: Update from translation team.
34543 * login/Makefile (distribute): Remove variable.
34544 * catgets/Makefile: Likewise.
34545 * mach/Makefile: Likewise.
34546 * malloc/Makefile: Likewise.
34547 * misc/Makefile: Likewise.
34548 * iconv/Makefile: Likewise.
34549 * nscd/Makefile: Likewise.
34550 * hurd/Makefile: Likewise.
34551 * manual/Makefile: Likewise.
34552 * locale/Makefile: Likewise.
34553 * intl/Makefile: Likewise.
34554 * conform/Makefile: Likewise.
34555 * nss/Makefile: Likewise.
34556 * time/Makefile: Likewise.
34557 * soft-fp/Makefile: Likewise.
34558 * dirent/Makefile: Likewise.
34559 * gmon/Makefile: Likewise.
34560 * po/Makefile: Likewise.
34561 * rt/Makefile: Likewise.
34562 * socket/Makefile: Likewise.
34563 * math/Makefile: Likewise.
34564 * signal/Makefile: Likewise.
34565 * debug/Makefile: Likewise.
34566 * elf/Makefile: Likewise.
34567 * timezone/Makefile: Likewise.
34568 * stdlib/Makefile: Likewise.
34569 * iconvdata/Makefile: Likewise.
34570 * sunrpc/Makefile: Likewise.
34571 * io/Makefile: Likewise.
34572 * argp/Makefile: Likewise.
34573 * inet/Makefile: Likewise.
34574 * hesiod/Makefile: Likewise.
34575 * grp/Makefile: Likewise.
34576 * csu/Makefile: Likewise.
34577 * wctype/Makefile: Likewise.
34578 * crypt/Makefile: Likewise.
34579 * libio/Makefile: Likewise.
34580 * string/Makefile: Likewise.
34581 * nis/Makefile: Likewise.
34582 * resolv/Makefile: Likewise.
34583 * stdio-common/Makefile: Likewise.
34584 * wcsmbs/Makefile: Likewise.
34585 * dlfcn/Makefile: Likewise.
34586 * posix/Makefile: Likewise.
34589 * timezone/Makefile: Don't install timezone files, just the programs
34592 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34594 * nss/databases.def: Add missing gshadow entry.
34596 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34598 2012-03-06 Marek Polacek <polacek@redhat.com>
34601 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34602 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34603 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34604 * stdio-common/tst-long-dbl-fphex.c: New file.
34606 2012-03-06 David S. Miller <davem@davemloft.net>
34608 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34609 (set_obp_int): New function.
34610 (get_obp_int): New function.
34611 (__get_clockfreq_via_dev_openprom): Likewise.
34612 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34613 Avoid unused variable warnings on 'val' and use builtin_expect.
34614 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34616 (INLINE_CLONE_SYSCALL): Likewise.
34618 2012-03-05 David S. Miller <davem@davemloft.net>
34620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34622 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34626 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34627 only for |x| >= 40.
34628 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34630 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34632 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34633 Replace gettimeofday with __vdso_gettimeofday.
34635 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34636 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34637 __vdso_clock_gettime and __vdso_getcpu.
34639 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34640 time with __vdso_time.
34642 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34644 * manual/lang.texi (size_t): Note types to which size_t may be
34645 equivalent with the GNU C Library, but do not describe when
34646 differences between them are significant.
34648 2012-03-05 Andreas Jaeger <aj@suse.de>
34650 * sysdeps/i386/fpu/libm-test-ulps: Update.
34652 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34655 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34656 (__ieee754_pow): Save and restore rounding mode and use
34657 round-to-nearest for main computations.
34658 * math/libm-test.inc (pow_test_tonearest): New function.
34659 (pow_test_towardzero): Likewise.
34660 (pow_test_downward): Likewise.
34661 (pow_test_upward): Likewise.
34662 (main): Call the new functions.
34663 * sysdeps/i386/fpu/libm-test-ulps: Update.
34664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34667 * math/libm-test.inc (cosh_test_tonearest): New function.
34668 (cosh_test_towardzero): Likewise.
34669 (cosh_test_downward): Likewise.
34670 (cosh_test_upward): Likewise.
34671 (sinh_test_tonearest): Likewise.
34672 (sinh_test_towardzero): Likewise.
34673 (sinh_test_downward): Likewise.
34674 (sinh_test_upward): Likewise.
34675 (main): Call the new functions.
34676 * sysdeps/i386/fpu/libm-test-ulps: Update.
34677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34679 2012-03-05 Tom de Vries <tom@codesourcery.com>
34681 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34682 default stack guard is set in last bytes.
34683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34685 2012-03-05 Kees Cook <keescook@chromium.org>
34687 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34690 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34691 possibly allocate from heap instead of stack.
34692 * stdio-common/bug-vfprintf-nargs.c: New file.
34693 * stdio-common/Makefile (tests): Add nargs overflow test.
34695 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34699 2012-03-03 Marek Polacek <polacek@redhat.com>
34701 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34702 * math/math_private.h: Likewise.
34703 * stdlib/tst-strtod.c: Likewise.
34704 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34705 * sysdeps/x86_64/bits/atomic.h: Likewise.
34707 2012-03-02 David S. Miller <davem@davemloft.net>
34709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34713 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34714 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34715 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34716 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34718 2012-03-02 Roland McGrath <roland@hack.frob.com>
34721 * manual/examples/README: New file, says the example source files
34722 can be used under GPL>=2.
34723 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34724 line containing just "*/".
34725 * manual/examples/add.c: Add copyright header (GPL>=2).
34726 * manual/examples/argp-ex1.c: Likewise.
34727 * manual/examples/argp-ex2.c: Likewise.
34728 * manual/examples/argp-ex3.c: Likewise.
34729 * manual/examples/argp-ex4.c: Likewise.
34730 * manual/examples/atexit.c: Likewise.
34731 * manual/examples/db.c: Likewise.
34732 * manual/examples/dir.c: Likewise.
34733 * manual/examples/dir2.c: Likewise.
34734 * manual/examples/execinfo.c: Likewise.
34735 * manual/examples/filecli.c: Likewise.
34736 * manual/examples/filesrv.c: Likewise.
34737 * manual/examples/fmtmsgexpl.c: Likewise.
34738 * manual/examples/genpass.c: Likewise.
34739 * manual/examples/inetcli.c: Likewise.
34740 * manual/examples/inetsrv.c: Likewise.
34741 * manual/examples/isockad.c: Likewise.
34742 * manual/examples/longopt.c: Likewise.
34743 * manual/examples/memopen.c: Likewise.
34744 * manual/examples/memstrm.c: Likewise.
34745 * manual/examples/mkfsock.c: Likewise.
34746 * manual/examples/mkisock.c: Likewise.
34747 * manual/examples/mygetpass.c: Likewise.
34748 * manual/examples/pipe.c: Likewise.
34749 * manual/examples/popen.c: Likewise.
34750 * manual/examples/rprintf.c: Likewise.
34751 * manual/examples/search.c: Likewise.
34752 * manual/examples/select.c: Likewise.
34753 * manual/examples/setjmp.c: Likewise.
34754 * manual/examples/sigh1.c: Likewise.
34755 * manual/examples/sigusr.c: Likewise.
34756 * manual/examples/stpcpy.c: Likewise.
34757 * manual/examples/strdupa.c: Likewise.
34758 * manual/examples/strftim.c: Likewise.
34759 * manual/examples/strncat.c: Likewise.
34760 * manual/examples/subopt.c: Likewise.
34761 * manual/examples/swapcontext.c: Likewise.
34762 * manual/examples/termios.c: Likewise.
34763 * manual/examples/testopt.c: Likewise.
34764 * manual/examples/testpass.c: Likewise.
34765 * manual/examples/timeval_subtract.c: Likewise.
34768 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34770 * manual/timeval_subtract.c.texi: ... here, new file.
34772 2012-03-02 David S. Miller <davem@davemloft.net>
34774 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34776 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34779 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34780 (__sin): Save and restore rounding mode and use round-to-nearest
34781 for all computations.
34782 (__cos): Save and restore rounding mode and use round-to-nearest
34783 for all computations.
34784 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34786 (tan): Save and restore rounding mode and use round-to-nearest for
34788 * math/libm-test.inc (cos_test_tonearest): New function.
34789 (cos_test_towardzero): Likewise.
34790 (cos_test_downward): Likewise.
34791 (cos_test_upward): Likewise.
34792 (sin_test_tonearest): Likewise.
34793 (sin_test_towardzero): Likewise.
34794 (sin_test_downward): Likewise.
34795 (sin_test_upward): Likewise.
34796 (tan_test_tonearest): Likewise.
34797 (tan_test_towardzero): Likewise.
34798 (tan_test_downward): Likewise.
34799 (tan_test_upward): Likewise.
34800 (main): Call the new functions.
34801 * sysdeps/i386/fpu/libm-test-ulps: Update.
34802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34805 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34806 small n, then large n, before computing and testing k+n.
34807 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34808 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34810 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34812 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34813 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34814 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34815 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34816 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34817 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34818 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34819 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34820 * math/libm-test.inc (scalbn_test): Add more tests.
34821 (scalbln_test): Likewise.
34823 * manual/filesys.texi (mode_t): Describe constraints on size and
34824 signedness, not exact equivalence to a particular type.
34826 (ino64_t): Likewise.
34828 (nlink_t): Likewise.
34829 (blkcnt_t): Likewise.
34830 (blkcnt64_t): Likewise.
34831 * manual/llio.texi (off_t): Likewise.
34834 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34835 (__ieee754_exp): Save and restore rounding mode and use
34836 round-to-nearest for all computations.
34837 * math/libm-test.inc (exp_test_tonearest): New function.
34838 (exp_test_towardzero): Likewise.
34839 (exp_test_downward): Likewise.
34840 (exp_test_upward): Likewise.
34841 (main): Call the new functions.
34842 * sysdeps/i386/fpu/libm-test-ulps: Update.
34843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34845 2012-03-01 Chris Demetriou <cgd@google.com>
34847 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34848 have predictable order.
34850 2012-03-01 David S. Miller <davem@davemloft.net>
34852 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34854 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34855 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34856 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34857 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34859 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34860 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34861 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34863 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34864 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34865 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34866 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34867 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34871 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34872 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34873 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34875 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34876 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34877 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34878 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34879 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34880 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34882 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34883 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34884 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34885 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34886 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34887 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34888 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34889 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34890 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34891 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34892 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34893 * sysdeps/sparc/elf/configure: Regenerated.
34895 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34897 * configure.in (AS, LD): Require binutils 2.20 or later.
34898 * configure: Regenerated.
34899 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34900 as required minimum version.
34901 * INSTALL: Regenerated.
34905 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34906 before squaring exponent.
34907 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34908 bottom long double and 27 bits of top long double before squaring
34910 * math/libm-test.inc (erfc_test): Add more tests.
34911 * sysdeps/i386/fpu/libm-test-ulps: Update.
34912 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34915 2012-03-01 Kai Tietz <ktietz@redhat.com>
34917 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34918 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34919 containing bit-fields.
34920 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34921 * soft-fp/single.h (_FP_UNION_S): Likewise.
34922 * soft-fp/double.h (_FP_UNION_D): Likewise.
34924 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34927 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34928 not include ../strcmp.S.
34929 [USE_AS_STRNCASECMP_L]: Likewise.
34930 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34931 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34932 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34933 (__strncasecmp_l_ia32): Define as alias to
34934 __strncasecmp_l_nonascii.
34937 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34938 * sysdeps/i386/fpu/libm-test-ulps: Update.
34939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34941 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34944 2012-02-29 Jeff Law <law@redhat.com>
34946 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34947 out of bounds read.
34949 2012-02-29 Marek Polacek <polacek@redhat.com>
34952 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34953 * elf/Makefile: Add rules to run tst-unused-dep.out.
34955 2012-02-28 David S. Miller <davem@davemloft.net>
34957 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34958 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34959 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34960 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34961 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34962 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34964 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34966 * math/libm-test.inc (llround_test): Move one test from
34967 lround_test. Use TEST_f_L in moved test.
34968 (lround_test): Move misplaced test to llround_test. Add testcase
34971 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34973 * sysdeps/x86_64/fpu/e_expf.S: New file.
34974 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34976 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34979 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34980 of remain_len that may cause incomplete multi-byte character and
34982 * posix/bug-regex33.c: New file.
34983 * posix/Makefile (tests): Add bug-regex33.
34985 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34987 * manual/macros.texi: New file.
34988 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34989 * manual/libc.texinfo: Include macros.texi.
34990 * manual/creatute.texi: Likewise.
34991 * manual/install.texi: Likewise.
34992 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34993 @glibcadj{} in references to the GNU C Library.
34994 * manual/charset.texi: Likewise.
34995 * manual/conf.texi: Likewise.
34996 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34997 when not using those macros.
34998 * manual/creature.texi: Likewise.
34999 * manual/crypt.texi: Likewise.
35000 * manual/errno.texi: Likewise.
35001 * manual/filesys.texi: Likewise.
35002 * manual/header.texi: Likewise.
35003 * manual/install.texi: Likewise.
35004 * manual/intro.texi: Likewise.
35005 * manual/io.texi: Likewise.
35006 * manual/job.texi: Likewise.
35007 * manual/lang.texi: Likewise.
35008 * manual/libc.texiinfo: Likewise.
35009 * manual/llio.texi: Likewise.
35010 * manual/locale.texi: Likewise.
35011 * manual/maint.texi: Likewise.
35012 * manual/math.texi: Likewise.
35013 * manual/memory.texi: Likewise.
35014 * manual/message.texi: Likewise.
35015 * manual/nss.texi: Likewise.
35016 * manual/pattern.texi: Likewise.
35017 * manual/process.texi: Likewise.
35018 * manual/resource.texi: Likewise.
35019 * manual/search.texi: Likewise.
35020 * manual/setjmp.texi: Likewise.
35021 * manual/signal.texi: Likewise.
35022 * manual/socket.texi: Likewise.
35023 * manual/startup.texi: Likewise.
35024 * manual/stdio.texi: Likewise.
35025 * manual/string.texi: Likewise.
35026 * manual/sysinfo.texi: Likewise.
35027 * manual/syslog.texi: Likewise.
35028 * manual/terminal.texi: Likewise.
35029 * manual/time.texi: Likewise.
35030 * manual/users.texi: Likewise.
35031 * INSTALL: Regenerated.
35032 * NOTES: Regenerated.
35033 * sysdeps/gnu/errlist.c: Regenerated.
35035 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35037 * include/dirent.h: Include <dirstream.h> before
35040 2012-02-28 David S. Miller <davem@davemloft.net>
35042 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35043 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35044 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35045 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35047 2012-02-27 David S. Miller <davem@davemloft.net>
35049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35051 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35052 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35055 frame pointer instead of stack pointer relative arg slot.
35056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35057 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35058 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35060 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35063 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35065 2012-02-27 David S. Miller <davem@davemloft.net>
35067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35071 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35072 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35073 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35074 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35076 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35078 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35079 later. Allow versions 5-9.
35080 * configure: Regenerated.
35081 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35082 required minimum version and 4.6 as recommended version. Do not
35083 mention bugs in GCC 2.7 and 2.8.
35084 * INSTALL: Regenerated.
35086 2012-02-27 David S. Miller <davem@davemloft.net>
35088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35092 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35093 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35094 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35095 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35097 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35098 manipulate bits before adding and subtracting TWO112[sx].
35099 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35101 2012-02-27 Roland McGrath <roland@hack.frob.com>
35104 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35105 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35106 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35107 being in POSIX, because they are in 1003.1-2008.
35109 * rt/tst-aio.c: Include <fcntl.h>.
35110 * rt/tst-aio7.c: Likewise.
35111 * rt/tst-aio64.c: Likewise.
35113 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35115 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35117 * manual/install.texi (--with-headers): Describe headers as
35118 interface headers, not private headers.
35119 (Specific advice for GNU/Linux systems): Describe use of headers
35120 from "make headers_install", not private headers from older
35122 * INSTALL: Regenerated.
35123 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35125 * sysdeps/unix/sysv/linux/configure: Regenerated.
35127 * manual/llio.texi (fclean): Remove documentation.
35129 * manual/Makefile (libc-texi-generated): New variable. Include
35131 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35132 $(libc-texi-generated), not duplicated list of files.
35133 (version.texi, stamp-version): New rules.
35134 (realclean): Remove $(libc-texi-generated), not individual files
35135 from that list. Do not remove dir-add.texinfo.
35136 * manual/libc.texinfo: Comment out uses of edition numbers and
35137 references to printed manual. Remove last-updated dates.
35138 (EDITION): Comment out.
35140 (VERSION, UPDATED): Remove.
35141 (version.texi): Include.
35143 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35145 * sysdeps/posix/spawni.c: Include <signal.h>.
35146 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35147 * sysdeps/pthread/aio_fsync.c: Likewise.
35149 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35151 * conform/Makefile (tests): Run only when not cross-compiling and
35152 when fast-check is not defined.
35154 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35155 * conform/data/limits.h-data: Fixes for POSIX2008.
35156 * conform/run-conformtest.sh: Run all tests.
35157 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35159 * include/bits/dlfcn.h: Likewise.
35160 * include/langinfo.h: Likewise.
35161 * include/monetary.h: Likewise.
35162 * include/sys/poll.h: Likewise.
35164 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35166 * posix/spawn.h: Define __need_sigset_t.
35167 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35168 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35169 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35170 to get sigevent_t only.
35171 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35172 only for __USE_GNU.
35173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35174 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35175 process_vm_writev only for __USE_GNU.
35176 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35178 * conform/Makefile: For now ignore errors from run-conformtest.
35179 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35180 POSIX to avoid namespace pollution. Don't prepend headers.
35181 * conform/data/aio.h-data: Fixes for POSIX testing.
35182 * conform/data/fcntl.h-data: Likewise.
35183 * conform/data/glob.h-data: Likewise.
35184 * conform/data/grp.h-data: Likewise.
35185 * conform/data/pthread.h-data: Likewise.
35186 * conform/data/pwd.h-data: Likewise.
35187 * conform/data/signal.h-data: Likewise.
35188 * conform/data/spawn.h-data: Likewise.
35189 * conform/data/stdio.h-data: Likewise.
35190 * conform/data/stdlib.h-data: Likewise.
35191 * conform/data/stropts.h-data: Likewise.
35192 * conform/data/sys/mman.h-data: Likewise.
35193 * conform/data/sys/stat.h-data: Likewise.
35194 * conform/data/sys/types.h-data: Likewise.
35195 * conform/data/sys/wait.h-data: Likewise.
35196 * conform/data/time.h-data: Likewise.
35197 * conform/data/unistd.h-data: Likewise.
35198 * conform/data/utime.h-data: Likewise.
35200 * io/sys/stat.h: fchmod was always in POSIX.
35201 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35202 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35203 * rt/aio.h: Define __need_timespec before including <time.h>.
35204 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35205 struct. Add forward declaration of pthread_attr_t and use it in
35207 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35208 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35209 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35210 always remove CLK_TCK definition.
35212 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35214 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35216 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35218 * conform/run-conformtest.sh: New file.
35219 * conform/Makefile: Run run-conformtest for tests.
35220 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35223 * conform/data/uchar.h-data: New file.
35224 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35225 * conform/data/arpa/inet.h-data: Likewise.
35226 * conform/data/assert.h-data: Likewise.
35227 * conform/data/complex.h-data: Likewise.
35228 * conform/data/cpio.h-data: Likewise.
35229 * conform/data/ctype.h-data: Likewise.
35230 * conform/data/dirent.h-data: Likewise.
35231 * conform/data/dlfcn.h-data: Likewise.
35232 * conform/data/errno.h-data: Likewise.
35233 * conform/data/fcntl.h-data: Likewise.
35234 * conform/data/float.h-data: Likewise.
35235 * conform/data/fmtmsg.h-data: Likewise.
35236 * conform/data/fnmatch.h-data: Likewise.
35237 * conform/data/ftw.h-data: Likewise.
35238 * conform/data/glob.h-data: Likewise.
35239 * conform/data/grp.h-data: Likewise.
35240 * conform/data/iconv.h-data: Likewise.
35241 * conform/data/inttypes.h-data: Likewise.
35242 * conform/data/langinfo.h-data: Likewise.
35243 * conform/data/libgen.h-data: Likewise.
35244 * conform/data/limits.h-data: Likewise.
35245 * conform/data/locale.h-data: Likewise.
35246 * conform/data/math.h-data: Likewise.
35247 * conform/data/monetary.h-data: Likewise.
35248 * conform/data/mqueue.h-data: Likewise.
35249 * conform/data/ndbm.h-data: Likewise.
35250 * conform/data/net/if.h-data: Likewise.
35251 * conform/data/netdb.h-data: Likewise.
35252 * conform/data/netinet/in.h-data: Likewise.
35253 * conform/data/nl_types.h-data: Likewise.
35254 * conform/data/poll.h-data: Likewise.
35255 * conform/data/pthread.h-data: Likewise.
35256 * conform/data/pwd.h-data: Likewise.
35257 * conform/data/regex.h-data: Likewise.
35258 * conform/data/sched.h-data: Likewise.
35259 * conform/data/search.h-data: Likewise.
35260 * conform/data/semaphore.h-data: Likewise.
35261 * conform/data/setjmp.h-data: Likewise.
35262 * conform/data/signal.h-data: Likewise.
35263 * conform/data/spawn.h-data: Likewise.
35264 * conform/data/stdarg.h-data: Likewise.
35265 * conform/data/stdio.h-data: Likewise.
35266 * conform/data/stdlib.h-data: Likewise.
35267 * conform/data/string.h-data: Likewise.
35268 * conform/data/strings.h-data: Likewise.
35269 * conform/data/stropts.h-data: Likewise.
35270 * conform/data/sys/ipc.h-data: Likewise.
35271 * conform/data/sys/mman.h-data: Likewise.
35272 * conform/data/sys/msg.h-data: Likewise.
35273 * conform/data/sys/resource.h-data: Likewise.
35274 * conform/data/sys/select.h-data: Likewise.
35275 * conform/data/sys/sem.h-data: Likewise.
35276 * conform/data/sys/shm.h-data: Likewise.
35277 * conform/data/sys/socket.h-data: Likewise.
35278 * conform/data/sys/stat.h-data: Likewise.
35279 * conform/data/sys/statvfs.h-data: Likewise.
35280 * conform/data/sys/time.h-data: Likewise.
35281 * conform/data/sys/timeb.h-data: Likewise.
35282 * conform/data/sys/times.h-data: Likewise.
35283 * conform/data/sys/types.h-data: Likewise.
35284 * conform/data/sys/uio.h-data: Likewise.
35285 * conform/data/sys/un.h-data: Likewise.
35286 * conform/data/sys/utsname.h-data: Likewise.
35287 * conform/data/sys/wait.h-data: Likewise.
35288 * conform/data/syslog.h-data: Likewise.
35289 * conform/data/tar.h-data: Likewise.
35290 * conform/data/termios.h-data: Likewise.
35291 * conform/data/utime.h-data: Likewise.
35292 * conform/data/utmpx.h-data: Likewise.
35293 * conform/data/varargs.h-data: Likewise.
35294 * conform/data/wchar.h-data: Likewise.
35295 * conform/data/wctype.h-data: Likewise.
35296 * conform/data/wordexp.h-data: Likewise.
35298 * include/stropts.h: New file.
35299 * include/uchar.h: New file.
35300 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35301 * include/assert.h: Likewise.
35302 * include/ctype.h: Likewise.
35303 * include/dirent.h: Likewise.
35304 * include/dlfcn.h: Likewise.
35305 * include/fcntl.h: Likewise.
35306 * include/fnmatch.h: Likewise.
35307 * include/glob.h: Likewise.
35308 * include/grp.h: Likewise.
35309 * include/libio.h: Likewise.
35310 * include/locale.h: Likewise.
35311 * include/math.h: Likewise.
35312 * include/net/if.h: Likewise.
35313 * include/netdb.h: Likewise.
35314 * include/netinet/in.h: Likewise.
35315 * include/pthread.h: Likewise.
35316 * include/pwd.h: Likewise.
35317 * include/regex.h: Likewise.
35318 * include/sched.h: Likewise.
35319 * include/search.h: Likewise.
35320 * include/setjmp.h: Likewise.
35321 * include/signal.h: Likewise.
35322 * include/stdio.h: Likewise.
35323 * include/stdlib.h: Likewise.
35324 * include/string.h: Likewise.
35325 * include/sys/cdefs.h: Likewise.
35326 * include/sys/mman.h: Likewise.
35327 * include/sys/msg.h: Likewise.
35328 * include/sys/resource.h: Likewise.
35329 * include/sys/select.h: Likewise.
35330 * include/sys/socket.h: Likewise.
35331 * include/sys/stat.h: Likewise.
35332 * include/sys/statvfs.h: Likewise.
35333 * include/sys/time.h: Likewise.
35334 * include/sys/times.h: Likewise.
35335 * include/sys/uio.h: Likewise.
35336 * include/sys/utsname.h: Likewise.
35337 * include/sys/wait.h: Likewise.
35338 * include/termios.h: Likewise.
35339 * include/time.h: Likewise.
35340 * include/ulimit.h: Likewise.
35341 * include/unistd.h: Likewise.
35342 * include/utime.h: Likewise.
35343 * include/wchar.h: Likewise.
35344 * include/wctype.h: Likewise.
35345 * include/wordexp.h: Likewise.
35347 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35349 * time/time.h: TIME_UTC must be a macro.
35350 Make timespec_get available for ISO C11 only as well.
35352 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35354 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35355 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35357 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35359 * configure.in: Use -o not -a in test for unsupported multi-arch.
35361 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35363 * manual/texinfo.tex: Update to version 2012-01-19.16.
35365 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35367 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35369 2012-02-24 Roland McGrath <roland@hack.frob.com>
35372 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35373 * manual/fdl-1.3.texi: New file.
35374 * manual/fdl-1.1.texi: File removed.
35377 * manual/libc.texinfo (FDL_VERSION): New @set.
35378 Use it for mention of FDL in cover text.
35379 (Documentation License): Use it in @include file name.
35381 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35382 Roland McGrath <roland@hack.frob.com>
35385 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35386 (not LONG_LONG_MAX and LONG_LONG_MIN.
35387 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35388 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35390 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35392 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35396 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35397 manipulate bits before adding and subtracting TWO23[sx].
35398 * math/libm-test.inc (nearbyint_test): Add more tests.
35400 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35403 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35404 bits before adding and subtracting TWO23[sx].
35405 * math/libm-test.inc (rint_test): Add more tests.
35406 (rint_test_tonearest): Likewise.
35407 (rint_test_towardzero): Likewise.
35408 (rint_test_downward): Likewise.
35409 (rint_test_upward: Likewise.
35411 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35414 * include/stdc-predef.h: New file. Extracted from features.h.
35415 * include/features.h: Include stdc-predef.h.
35416 * Makefile (headers): Add stdc-predef.h.
35417 * CONFORMANCE (Compiler limitations): Update.
35419 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35421 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35423 2012-02-21 David S. Miller <davem@davemloft.net>
35425 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35426 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35428 2012-02-20 David S. Miller <davem@davemloft.net>
35430 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35431 using a normal save/restore sequence, rather than allocating a
35432 dummy stack frame just to store a frame pointer and restore.
35433 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35435 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35437 * manual/install.texi: Fix stray word in line-wrapped comment.
35439 2012-02-20 David S. Miller <davem@davemloft.net>
35441 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35442 both binutils and gcc support GOTDATA.
35444 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35445 "rd %pc" in the PIC register setup sequences.
35447 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35448 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35449 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35450 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35451 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35452 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35453 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35454 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35455 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35456 (SYSCALL_ERROR_HANDLER): Likewise.
35457 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35458 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35459 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35460 (SYSCALL_ERROR_HANDLER): Likewise.
35462 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35463 (HAVE_GCC_GOTDATA): New.
35464 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35465 relocation support in both binutils and gcc.
35466 * sysdeps/sparc/elf/configure: Regenerate.
35468 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35469 * sysdeps/sparc/sparc32/elf/configure: Delete.
35470 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35471 * sysdeps/sparc/sparc64/elf/configure: Delete.
35472 * sysdeps/sparc/elf/configure.in: New file.
35473 * sysdeps/sparc/elf/configure: Generate.
35475 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35476 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35477 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35478 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35479 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35481 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35483 * manual/install.texi: Do not mention specific glibc version
35485 * manual/libc.texinfo (VERSION, UPDATED): Update.
35486 (@copying): Use @copyright{} and range of years.
35488 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35491 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35492 [crti.S not in sysdirs] (generated): Do not append.
35493 [crti.S not in sysdirs] (omit-deps): Likewise.
35494 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35495 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35496 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35497 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35498 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35500 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35501 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35502 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35503 * csu/defs.awk: Remove file.
35504 * sysdeps/generic/initfini.c: Likewise.
35505 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35507 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35510 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35512 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35513 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35514 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35515 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35516 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35517 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35519 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35520 (__EPOLL_PACKED): Define to empty if not defined by
35522 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35526 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35528 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35529 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35530 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35531 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35533 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35537 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35539 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35541 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35542 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35543 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35546 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35548 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35549 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35551 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35553 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35554 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35556 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35558 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35561 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35563 * math/w_acos.c: Use non-signaling floating-point comparisons.
35564 * math/w_acosf.c: Likewise.
35565 * math/w_acosh.c: Likewise.
35566 * math/w_acoshf.c: Likewise.
35567 * math/w_acoshl.c: Likewise.
35568 * math/w_acosl.c: Likewise.
35569 * math/w_asin.c: Likewise.
35570 * math/w_asinf.c: Likewise.
35571 * math/w_asinl.c: Likewise.
35572 * math/w_atanh.c: Likewise.
35573 * math/w_atanhf.c: Likewise.
35574 * math/w_atanhl.c: Likewise.
35575 * math/w_exp2.c: Likewise.
35576 * math/w_exp2f.c: Likewise.
35577 * math/w_exp2l.c: Likewise.
35578 * math/w_j0.c: Likewise.
35579 * math/w_j0f.c: Likewise.
35580 * math/w_j0l.c: Likewise.
35581 * math/w_j1.c: Likewise.
35582 * math/w_j1f.c: Likewise.
35583 * math/w_j1l.c: Likewise.
35584 * math/w_jn.c: Likewise.
35585 * math/w_jnf.c: Likewise.
35586 * math/w_log.c: Likewise.
35587 * math/w_log10.c: Likewise.
35588 * math/w_log10f.c: Likewise.
35589 * math/w_log10l.c: Likewise.
35590 * math/w_log2.c: Likewise.
35591 * math/w_log2f.c: Likewise.
35592 * math/w_log2l.c: Likewise.
35593 * math/w_logf.c: Likewise.
35594 * math/w_logl.c: Likewise.
35595 * math/w_sqrt.c: Likewise.
35596 * math/w_sqrtf.c: Likewise.
35597 * math/w_sqrtl.c: Likewise.
35598 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35599 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35600 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35601 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35602 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35604 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35607 * manual/string.texi (strnlen): Use correct parameter name in
35608 equivalent expression.
35610 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35613 * manual/users.texi (seteuid): Consistently use neweuid for
35616 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35619 * manual/nss.texi (Services in the NSS configuration): Correct
35620 list of services in example configuration file.
35622 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35625 * manual/arith.texi: Remove statements about negative zero
35626 behaving identically to zero.
35628 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35631 * manual/install.texi: Do not document upgrading from libc5.
35633 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35636 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35638 2012-02-18 David S. Miller <davem@davemloft.net>
35640 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35641 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35642 %o7 across the call.
35643 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35645 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35646 SETUP_PIC_REG_LEAF.
35647 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35648 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35649 * sysdeps/sparc/crtn.S: Likewise.
35651 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35653 * aout/Makefile: Remove.
35655 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35658 * manual/examples/argp-ex1.c (main): Format definition in GNU
35660 * manual/examples/argp-ex2.c (main): Likewise.
35661 * manual/examples/argp-ex3.c (main): Likewise.
35662 * manual/examples/argp-ex4.c (main): Likewise.
35663 * manual/examples/longopt.c (main): Use new-style prototype
35665 * manual/examples/strncat.c (main): Specify return type and use
35666 (void) for arguments.
35667 * manual/examples/subopt.c (main): Use char **argv argument.
35669 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35672 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35675 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35678 * manual/string.texi (strchr): Change when strchrnul is
35681 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35684 * manual/locale.texi (setlocale): Document LOCPATH.
35686 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35689 * manual/process.texi (execle): Move @dots{} before last argument.
35691 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35694 * manual/charset.texi (Generic Charset Conversion): Fix typo
35695 (LC_TYPE -> LC_CTYPE).
35697 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35700 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35701 (scalbnf): Likewise.
35702 (scalbnl): Likewise.
35703 (scalbln): Likewise.
35704 (scalblnf): Likewise.
35705 (scalblnl): Likewise.
35706 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35707 (vwarnx): Likewise.
35710 * manual/filesys.texi (telldir): Use braces around return type.
35711 * manual/llio.texi (mmap): Add space after comma.
35712 (mmap64): Likewise.
35713 * manual/math.texi (jn): Use @var{} on parameter names.
35719 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35721 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35723 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35724 (sched_get_priority_max): Likewise.
35725 * manual/signal.texi (sigvec): Add space after comma.
35726 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35728 (if_indextoname): Likewise.
35729 (if_freenameindex): Likewise.
35730 (sendto): Use ',' instead of '.' in prototype.
35731 * manual/startup.texi (syscall): Use @dots{} instead of literal
35733 * manual/stdio.texi (__fpending): Separate initial words of
35734 paragraph from @deftypefun line.
35735 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35737 (vsyslog): Use @var{} on parameter names.
35738 * manual/terminal.texi (stty): Use @var{} on parameter names.
35739 * manual/users.texi (getutmp): Use @var{} on parameter names.
35740 (getutmpx): Likewise.
35742 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35745 * manual/stdio.texi (fopen): Fix typos in description of
35748 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35751 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35752 get clock_id definition.
35754 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35757 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35758 (madvise): Cast every argument to void on its own.
35760 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35763 * manual/startup.texi (Exit Status): Fix typo.
35765 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35768 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35769 * manual/examples/argp-ex2.c: Likewise.
35770 * manual/examples/argp-ex3.c: Likewise.
35772 2012-02-16 Richard Henderson <rth@redhat.com>
35774 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35775 * sysdeps/s390/s390-32/initfini.c: Remove.
35776 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35777 * sysdeps/s390/s390-64/initfini.c: Remove.
35779 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35781 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35782 compiler output for sysdeps/generic/initfini.c.
35783 * sysdeps/sh/elf/initfini.c: Remove file.
35785 2012-02-16 David S. Miller <davem@davemloft.net>
35788 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35790 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35791 * sysdeps/sparc/crti.S: New file.
35792 * sysdeps/sparc/crtn.S: New file.
35793 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35794 * sysdeps/sparc/sparc64/Makefile: Likewise.
35796 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35799 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35801 2012-02-15 Roland McGrath <roland@hack.frob.com>
35804 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35806 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35807 (write, read, close): Likewise.
35808 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35810 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35812 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35813 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35814 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35815 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35817 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35821 2012-02-14 Marek Polacek <polacek@redhat.com>
35823 * sysdeps/x86_64/crti.S: New file.
35824 * sysdeps/x86_64/crtn.S: New file.
35825 * sysdeps/x86_64/elf/initfini.c: Remove file.
35827 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35829 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35830 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35831 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35832 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35834 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35838 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35840 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35841 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35842 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35843 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35845 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35849 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35851 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35852 __feraiseexcept instead of feraiseexcept.
35854 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35855 nanosleep invocations.
35856 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35857 strings, and add error checking for a nanosleep invocations.
35859 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35861 Replace FSF snail mail address with URLs, as per GNU coding standards.
35862 Most of the snail mail addresses were wrong anyway, and omitting
35863 them makes the source code easier to maintain. Almost all of the
35864 changes are to license notices and to locale LC_IDENTIFICATION
35865 addresses, except for this one:
35866 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35867 not its snail mail address.
35869 2012-02-09 Richard Henderson <rth@twiddle.net>
35871 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35872 of kernel-features.h.
35874 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35876 2012-02-08 Marek Polacek <polacek@redhat.com>
35878 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35879 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35880 * sysdeps/gnu/_G_config.h: Likewise.
35881 * sysdeps/generic/_G_config.h: Likewise.
35883 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35885 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35889 * sysdeps/powerpc/powerpc32/crti.S: New file.
35890 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35891 * sysdeps/powerpc/powerpc64/crti.S: New file.
35892 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35894 * Makeconfig (have-initfini): Don't set.
35895 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35896 * configure.in (nopic_initfini): Don't substitute.
35897 * config.h.in (HAVE_INITFINI): Don't #undef.
35898 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35899 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35901 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35903 Support crti.S and crtn.S provided directly by architectures.
35904 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35905 [crti.S in sysdirs] (omit-deps): Likewise.
35906 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35907 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35908 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35909 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35910 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35911 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35912 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35913 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35914 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35915 compiler output for sysdeps/generic/initfini.c.
35916 * sysdeps/i386/elf/Makefile: Remove file.
35917 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35919 2012-02-07 Marek Polacek <polacek@redhat.com>
35921 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35922 * sysdeps/gnu/_G_config.h: Likewise.
35923 * sysdeps/mach/hurd/_G_config.h: Likewise.
35925 2012-02-07 Marek Polacek <polacek@redhat.com>
35927 * math/Makefile (tests): Add tst-CMPLX2.
35928 * math/tst-CMPLX2.c: New file.
35930 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35932 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35934 * math/libm-test.inc (jn_test): Add missing L suffix.
35936 2012-02-06 Marek Polacek <polacek@redhat.com>
35938 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35939 * sysdeps/i386/fpu/e_powf.S: Likewise.
35940 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35941 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35942 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35943 * sysdeps/i386/fpu/e_pow.S: Likewise.
35944 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35945 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35946 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35947 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35948 * sysdeps/i386/fpu/e_log2.S: Likewise.
35949 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35950 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35951 * sysdeps/i386/fpu/e_powl.S: Likewise.
35952 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35953 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35954 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35955 * sysdeps/i386/fpu/e_logl.S: Likewise.
35956 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35957 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35958 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35959 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35960 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35961 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35962 * sysdeps/i386/fpu/e_log.S: Likewise.
35963 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35964 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35965 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35966 * sysdeps/i386/fpu/e_logf.S: Likewise.
35967 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35968 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35969 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35970 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35971 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35972 * sysdeps/i386/fpu/e_log10.S: Likewise.
35973 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35974 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35975 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35976 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35977 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35978 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35979 * sysdeps/i386/asm-syntax.h: Likewise.
35980 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35981 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35982 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35983 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35984 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35985 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35986 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35987 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35988 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35989 * sysdeps/powerpc/sysdep.h: Likewise.
35990 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35991 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35993 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35996 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35998 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36000 * sysdeps/i386/sysdep.h: Include <features.h>.
36001 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36004 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36006 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36008 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36011 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36013 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36014 (SETUP_PIC_REG): Use GET_PC_THUNK.
36015 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36018 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36020 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36021 for non-PIC compilation.
36022 (SETUP_PIC_REG): Add .p2align directive.
36023 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36024 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36025 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36026 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36027 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36028 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36029 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36030 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36031 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36032 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36033 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36034 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36035 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36036 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36037 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36038 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36039 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36040 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36041 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36042 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36043 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36044 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36045 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36046 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36047 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36048 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36049 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36050 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36051 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36052 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36053 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36054 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36055 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36056 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36057 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36058 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36059 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36060 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36061 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36062 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36063 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36065 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36067 * math/tst-CMPLX.c: Include <stdio.h>.
36069 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36071 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36073 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36074 * sysdeps/sparc/bits/mathdef.h: Likewise.
36076 2012-01-31 Marek Polacek <polacek@redhat.com>
36078 * libio/libio.h: Don't define _PARAMS.
36079 * locale/programs/config.h: Don't define PARAMS.
36080 * stdlib/strtol_l.c: Likewise.
36081 (__strtol_l): Remove PARAMS from the prototype.
36083 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36085 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36086 names. Just use the correct names. Remove unnecessary wrapper
36088 * malloc/arena.c: Likewise.
36089 * malloc/hooks.c: Likewise.
36091 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36092 ARENA_TEST says not to. Simplify test for creation of a new arena.
36093 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36095 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36097 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36099 (update_get_addr): New function.
36100 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36101 GET_ADDR_MODULE parameter.
36103 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36105 * crypt/cert.c: Remove __STDC__ conditionals.
36106 * crypt/crypt-entry.c: Likewise.
36107 * crypt/crypt_util.c: Likewise.
36108 * libio/filedoalloc.c: Likewise.
36109 * libio/fileops.c: Likewise.
36110 * libio/genops.c: Likewise.
36111 * libio/iofclose.c: Likewise.
36112 * libio/iofdopen.c: Likewise.
36113 * libio/iofopen.c: Likewise.
36114 * libio/iofopen64.c: Likewise.
36115 * libio/iogetdelim.c: Likewise.
36116 * libio/iopopen.c: Likewise.
36117 * libio/obprintf.c: Likewise.
36118 * libio/oldfileops.c: Likewise.
36119 * libio/oldiofclose.c: Likewise.
36120 * libio/oldiofdopen.c: Likewise.
36121 * libio/oldiofopen.c: Likewise.
36122 * libio/oldiopopen.c: Likewise.
36123 * libio/wfiledoalloc.c: Likewise.
36124 * libio/wgenops.c: Likewise.
36125 * locale/programs/xmalloc.c: Likewise.
36126 * misc/syslog.c: Likewise.
36127 * stdio-common/xbug.c: Likewise.
36128 * string/memchr.c: Likewise.
36129 * string/memcmp.c: Likewise.
36130 * string/memrchr.c: Likewise.
36131 * string/rawmemchr.c: Likewise.
36132 * sysdeps/posix/getcwd.c: Likewise.
36133 * time/strftime_l.c: Likewise.
36135 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36137 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36138 * config.make.in (config-cflags-sse2avx): Define.
36139 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36142 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36144 * scripts/config.guess: Update from upstream config git repository.
36145 * scripts/config.sub: Likewise.
36147 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36149 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36151 (R_TILEPRO_*, R_TILEGX_*): New macros.
36153 * scripts/firstversions.awk: Fix bug in version range handling.
36155 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36157 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36159 * include/sys/epoll.h: New file.
36160 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36163 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36165 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36166 Avoid unnecessary __WORDSIZE == 64 test.
36167 (fmaxf): Use VEX format if possible.
36172 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36173 * math/math_private.h: Remove libc_fegetround* and
36175 * sysdeps/i386/configure.in: Check for -msse2avx.
36176 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36177 also if SSE2AVX is defined.
36178 Remove libc_fegetround* and libc_fesetround*.
36179 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36180 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36181 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36183 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36184 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36185 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36186 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36187 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36189 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36191 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36193 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36195 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36197 2012-01-27 Ulrich Drepper <drepper@gmail.com>
36200 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36202 * Makeconfig (libm): Define.
36203 * elf/Makefile: Add rules to build and run tst-relsort1.
36204 * elf/tst-relsort1.c: New file.
36205 * elf/tst-relsort1mod1.c: New file.
36206 * elf/tst-relsort1mod2.c: New file.
36208 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36210 * math/s_ldexp.c: Remove __STDC__ conditionals.
36211 * math/s_ldexpf.c: Likewise.
36212 * math/s_ldexpl.c: Likewise.
36213 * math/s_nextafter.c: Likewise.
36214 * math/s_nexttowardf.c: Likewise.
36215 * math/s_significand.c: Likewise.
36216 * math/s_significandf.c: Likewise.
36217 * math/s_significandl.c: Likewise.
36218 * math/w_jnl.c: Likewise.
36219 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36220 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36221 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36222 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36223 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36225 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36226 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36227 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36228 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36229 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36230 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36231 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36232 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36233 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36234 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36235 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36236 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36238 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36239 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36240 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36241 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36242 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36243 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36244 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36245 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36246 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36247 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36248 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36249 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36250 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36251 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36252 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36253 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36254 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36255 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36256 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36257 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36258 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36259 * sysdeps/ieee754/k_standard.c: Likewise.
36260 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36261 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36262 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36263 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36264 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36265 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36266 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36267 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36268 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36269 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36270 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36271 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36272 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36273 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36274 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36275 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36276 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36277 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36278 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36279 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36280 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36281 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36282 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36283 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36284 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36285 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36286 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36287 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36288 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36289 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36290 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36291 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36292 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36293 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36294 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36295 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36296 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36297 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36298 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36299 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36300 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36301 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36302 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36303 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36304 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36305 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36306 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36307 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36308 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36309 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36310 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36311 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36312 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36313 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36314 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36315 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36316 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36317 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36318 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36319 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36320 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36321 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36322 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36323 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36324 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36325 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36326 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36327 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36328 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36329 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36330 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36331 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36332 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36333 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36334 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36335 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36336 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36337 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36338 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36339 * sysdeps/ieee754/s_matherr.c: Likewise.
36340 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36341 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36342 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36343 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36345 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36347 * crypt/md5.h: Remove __STDC__ conditionals.
36348 * libio/libioP.h: Likewise.
36349 * locale/programs/config.h: Likewise.
36350 * sysdeps/generic/sysdep.h: Likewise.
36351 * sysdeps/i386/asm-syntax.h: Likewise.
36352 * sysdeps/s390/asm-syntax.h: Likewise.
36353 * sysdeps/unix/sysdep.h: Likewise.
36354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36357 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36359 * libio/libio.h: Remove __STDC__ conditionals.
36360 * malloc/obstack.h: Likewise.
36361 * math/complex.h: Likewise.
36362 * math/math.h: Likewise.
36363 * sysdeps/generic/_G_config.h: Likewise.
36364 * sysdeps/gnu/_G_config.h: Likewise.
36365 * sysdeps/mach/hurd/_G_config.h: Likewise.
36366 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36367 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36368 * sysdeps/sparc/bits/mathdef.h: Likewise.
36370 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36373 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36374 Clean up HAS_* macros.
36375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36376 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36378 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36380 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36381 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36382 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36383 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36384 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36386 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36388 * elf/tst-unique3.cc (gets): Remove declaration.
36389 * elf/tst-unique3lib.cc (gets): Likewise.
36390 * elf/tst-unique3lib2.cc (gets): Likewise.
36391 * elf/tst-unique4.cc (gets): Likewise.
36393 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36395 * include/stdio.h: Add C++ protection. Add gets declarations and
36397 * debug/tst-chk1.c: Don't declare gets here.
36398 * stdio-common/tst-gets.c: Likewise.
36400 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36402 * posix/glob: Remove directory.
36404 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36406 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36408 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36410 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36411 of the non-standard EPFNOSUPPORT.
36413 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36415 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36416 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36417 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36419 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36421 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36423 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36425 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36427 * nscd/grpcache.c (cache_addgr): Likewise.
36428 * nscd/hstcache.c (cache_addhst): Likewise.
36429 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36430 * nscd/pwdcache.c (cache_addpw): Likewise.
36431 * nscd/servicescache.c (cache_addserv): Likewise.
36433 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36435 * malloc/malloc.c: Various cleanups.
36436 * malloc/hooks.c: Likewise.
36438 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36439 * stdlib/bug-fmtmsg1.c: New file.
36441 * stdlib/fmtmsg.c (init): Add missing unlock.
36442 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36444 2012-01-12 Marek Polacek <polacek@redhat.com>
36446 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36449 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36451 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36452 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36453 macro to ensure uniqueness of label name.
36454 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36455 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36457 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36459 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36461 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36462 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36463 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36464 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36466 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36468 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36470 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36471 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36472 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36474 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36476 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36477 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36478 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36479 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36481 * math/bits/math-finite.h: Add ldexp support.
36483 2012-01-10 Marek Polacek <polacek@redhat.com>
36485 * locale/programs/localedef.h (show_archive_content): Add noreturn
36488 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36490 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36492 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36494 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36496 * io/Makefile (headers): Add bits/poll2.h.
36498 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36501 typo #include statement.
36503 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36505 * include/sys/cdefs.h: Define __attribute_alloc_size.
36506 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36507 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36508 * elf/pldd.c: Likewise.
36509 * iconv/iconv_charmap.c: Likewise.
36510 * iconv/iconvconfig.c: Likewise.
36511 * iconv/strtab.c: Likewise.
36512 * locale/programs/locale.c: Likewise.
36513 * locale/programs/localedef.h: Likewise.
36514 * locale/programs/simple-hash.c: Likewise.
36515 * nscd/nscd.h: Likewise.
36516 * nss/makedb.c: Likewise.
36517 * sysdeps/generic/ldconfig.h: Likewise.
36518 * locale/programs/localedef.c: Remove xmalloc prototype.
36519 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36521 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36523 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36526 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36528 * math/Makefile (tests): Add tst-CMPLX.
36529 * math/tst-CMPLX.c: New file.
36531 * math/complex.h (CMPLXL): Fix typo.
36533 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36534 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36536 * debug/tst-chk1.c: Add poll and ppoll tests.
36537 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36538 * include/sys/poll.h: Add hidden proto for ppoll.
36539 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36540 * sysdeps/mach/hurd/ppoll.c: Likewise.
36541 * io/ppoll.c: Likewise.
36542 * debug/poll_chk.c: New file.
36543 * debug/ppoll_chk.c: New file.
36544 * include/bits/poll2.h: New file.
36545 * io/bits/poll2.h: New file.
36548 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36550 * configure.in: static is always set to yes. Remove.
36551 * config.make.in: Don't set build-static.
36552 * Makeconfig: Remove use of build-static.
36553 * dlfcn/Makefile: Likewise.
36554 * elf/Makefile: Likewise.
36555 * math/Makefile: Likewise.
36556 * misc/Makefile: Likewise.
36557 * nptl/Makefile: Likewise.
36558 * sysdeps/mach/hurd/Makefile: Likewise.
36560 * configure.in: PWD_P is not used anymore.
36561 * config.make.in: Remove PWD_P entry.
36563 * configure.in: Remove last remnants of RANLIB.
36564 No need to check for signed size_t anymore.
36565 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36567 Remove __builtin_expect test because we require at least gcc 3.4.
36568 * aclocal.m4: Likewise.
36570 * wcsmbs/mbrtoc16.c: Implement using towc function.
36571 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36572 * wcsmbs/wcsmbsload.c: Likewise.
36573 * iconv/gconv_simple.c: Likewise.
36574 * iconv/gconv_int.h: Likewise.
36575 * iconv/gconv_builtin.h: Likewise.
36576 * iconv/iconv_prog.c: Remove CHAR16 handling.
36578 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36580 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36582 * configure.in: Remove --with-elf and --enable-bounded options.
36583 Dont set base_machine for ia64. More non-ELF conditions removed.
36584 Remove testing and setting of leading underscore information.
36585 * config.make.in (build-bounded): Set to no.
36586 * config.h.in: Remove NO_UNDERSCORES entry.
36587 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36589 * csu/start.c: Remove !NO_UNDERSCORE code.
36590 * locale/localeinfo.h: Likewise.
36591 * sysdeps/generic/machine-gmon.h: Likewise.
36592 * sysdeps/generic/sysdep.h: Likewise.
36593 * sysdeps/i386/sysdep.h: Likewise.
36594 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36595 * sysdeps/mach/sysdep.h: Likewise.
36596 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36597 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36598 * sysdeps/sh/sysdep.h: Likewise.
36599 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36600 * sysdeps/unix/i386/sysdep.S: Likewise.
36601 * sysdeps/unix/sparc/start.c: Likewise.
36602 * sysdeps/unix/sparc/sysdep.S: Likewise.
36603 * sysdeps/unix/sparc/sysdep.h: Likewise.
36604 * sysdeps/unix/start.c: Likewise.
36605 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36606 * sysdeps/x86_64/sysdep.h: Likewise.
36608 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36611 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36613 * argp/argp-fmtstream.h: Use const instead __const.
36614 * argp/argp.h: Likewise.
36615 * assert/assert.h: Likewise.
36616 * bits/fenv.h: Likewise.
36617 * bits/sched.h: Likewise.
36618 * bits/sigset.h: Likewise.
36619 * bits/sigthread.h: Likewise.
36620 * catgets/nl_types.h: Likewise.
36621 * conform/data/pthread.h-data: Likewise.
36622 * crypt/crypt-private.h: Likewise.
36623 * crypt/crypt.h: Likewise.
36624 * crypt/crypt_util.c: Likewise.
36625 * ctype/ctype.h: Likewise.
36626 * debug/execinfo.h: Likewise.
36627 * debug/mbsnrtowcs_chk.c: Likewise.
36628 * debug/mbsrtowcs_chk.c: Likewise.
36629 * debug/wcsnrtombs_chk.c: Likewise.
36630 * debug/wcsrtombs_chk.c: Likewise.
36631 * debug/wcstombs_chk.c: Likewise.
36632 * dirent/dirent.h: Likewise.
36633 * dlfcn/dlfcn.h: Likewise.
36634 * elf/neededtest4.c: Likewise.
36635 * grp/grp.h: Likewise.
36636 * gshadow/gshadow.h: Likewise.
36637 * iconv/gconv.h: Likewise.
36638 * iconv/gconv_int.h: Likewise.
36639 * iconv/gconv_simple.c: Likewise.
36640 * iconv/iconv.h: Likewise.
36641 * iconv/loop.c: Likewise.
36642 * iconv/skeleton.c: Likewise.
36643 * include/aio.h: Likewise.
36644 * include/aliases.h: Likewise.
36645 * include/argz.h: Likewise.
36646 * include/arpa/inet.h: Likewise.
36647 * include/assert.h: Likewise.
36648 * include/dirent.h: Likewise.
36649 * include/dlfcn.h: Likewise.
36650 * include/execinfo.h: Likewise.
36651 * include/fcntl.h: Likewise.
36652 * include/fenv.h: Likewise.
36653 * include/glob.h: Likewise.
36654 * include/grp.h: Likewise.
36655 * include/libintl.h: Likewise.
36656 * include/mntent.h: Likewise.
36657 * include/netdb.h: Likewise.
36658 * include/pwd.h: Likewise.
36659 * include/rpc/netdb.h: Likewise.
36660 * include/sched.h: Likewise.
36661 * include/search.h: Likewise.
36662 * include/shadow.h: Likewise.
36663 * include/signal.h: Likewise.
36664 * include/stdio.h: Likewise.
36665 * include/stdlib.h: Likewise.
36666 * include/string.h: Likewise.
36667 * include/sys/socket.h: Likewise.
36668 * include/sys/stat.h: Likewise.
36669 * include/sys/statfs.h: Likewise.
36670 * include/sys/statvfs.h: Likewise.
36671 * include/sys/syslog.h: Likewise.
36672 * include/sys/time.h: Likewise.
36673 * include/sys/uio.h: Likewise.
36674 * include/time.h: Likewise.
36675 * include/unistd.h: Likewise.
36676 * include/utmp.h: Likewise.
36677 * include/wchar.h: Likewise.
36678 * include/wctype.h: Likewise.
36679 * inet/aliases.h: Likewise.
36680 * inet/arpa/inet.h: Likewise.
36681 * inet/netinet/ether.h: Likewise.
36682 * inet/netinet/in.h: Likewise.
36683 * intl/libintl.h: Likewise.
36684 * io/bits/fcntl2.h: Likewise.
36685 * io/fcntl.h: Likewise.
36686 * io/ftw.h: Likewise.
36687 * io/sys/poll.h: Likewise.
36688 * io/sys/stat.h: Likewise.
36689 * io/sys/statfs.h: Likewise.
36690 * io/sys/statvfs.h: Likewise.
36691 * io/utime.h: Likewise.
36692 * libio/bits/stdio.h: Likewise.
36693 * libio/bits/stdio2.h: Likewise.
36694 * libio/libio.h: Likewise.
36695 * libio/libioP.h: Likewise.
36696 * libio/stdio.h: Likewise.
36697 * locale/lc-ctype.c: Likewise.
36698 * locale/locale.h: Likewise.
36699 * login/utmp.h: Likewise.
36700 * malloc/arena.c: Likewise.
36701 * malloc/malloc.c: Likewise.
36702 * malloc/malloc.h: Likewise.
36703 * malloc/mcheck.c: Likewise.
36704 * malloc/mtrace.c: Likewise.
36705 * math/bits/mathcalls.h: Likewise.
36706 * math/fenv.h: Likewise.
36707 * math/math_private.h: Likewise.
36708 * misc/bits/error.h: Likewise.
36709 * misc/bits/syslog.h: Likewise.
36710 * misc/err.h: Likewise.
36711 * misc/error.h: Likewise.
36712 * misc/fstab.h: Likewise.
36713 * misc/mntent.h: Likewise.
36714 * misc/regexp.h: Likewise.
36715 * misc/search.h: Likewise.
36716 * misc/sgtty.h: Likewise.
36717 * misc/sys/mman.h: Likewise.
36718 * misc/sys/syslog.h: Likewise.
36719 * misc/sys/uio.h: Likewise.
36720 * misc/sys/xattr.h: Likewise.
36721 * misc/ttyent.h: Likewise.
36722 * nis/rpcsvc/ypclnt.h: Likewise.
36723 * nss/nss.h: Likewise.
36724 * posix/bits/unistd.h: Likewise.
36725 * posix/fnmatch.h: Likewise.
36726 * posix/glob.h: Likewise.
36727 * posix/sched.h: Likewise.
36728 * posix/spawn.h: Likewise.
36729 * posix/sys/wait.h: Likewise.
36730 * posix/unistd.h: Likewise.
36731 * posix/wordexp.h: Likewise.
36732 * pwd/pwd.h: Likewise.
36733 * resolv/netdb.h: Likewise.
36734 * resource/sys/resource.h: Likewise.
36735 * rt/aio.h: Likewise.
36736 * rt/bits/mqueue2.h: Likewise.
36737 * rt/mqueue.h: Likewise.
36738 * shadow/shadow.h: Likewise.
36739 * signal/signal.h: Likewise.
36740 * socket/send.c: Likewise.
36741 * socket/sendto.c: Likewise.
36742 * socket/sys/socket.h: Likewise.
36743 * stdio-common/printf.h: Likewise.
36744 * stdlib/bits/stdlib.h: Likewise.
36745 * stdlib/fmtmsg.h: Likewise.
36746 * stdlib/monetary.h: Likewise.
36747 * stdlib/stdlib.h: Likewise.
36748 * stdlib/ucontext.h: Likewise.
36749 * streams/stropts.h: Likewise.
36750 * string/argz.h: Likewise.
36751 * string/bits/string2.h: Likewise.
36752 * string/string.h: Likewise.
36753 * string/strings.h: Likewise.
36754 * sunrpc/rpc/auth.h: Likewise.
36755 * sunrpc/rpc/auth_des.h: Likewise.
36756 * sunrpc/rpc/clnt.h: Likewise.
36757 * sunrpc/rpc/netdb.h: Likewise.
36758 * sunrpc/rpc/pmap_clnt.h: Likewise.
36759 * sunrpc/rpc/xdr.h: Likewise.
36760 * sysdeps/generic/inttypes.h: Likewise.
36761 * sysdeps/generic/net/if.h: Likewise.
36762 * sysdeps/generic/sys/swap.h: Likewise.
36763 * sysdeps/gnu/net/if.h: Likewise.
36764 * sysdeps/gnu/utmpx.h: Likewise.
36765 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36766 * sysdeps/i386/i486/bits/string.h: Likewise.
36767 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36768 * sysdeps/s390/bits/string.h: Likewise.
36769 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36770 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36771 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36772 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36773 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36774 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36775 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36776 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36777 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36778 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36779 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36780 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36781 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36782 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36783 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36784 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36785 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36787 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36788 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36789 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36790 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36791 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36792 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36793 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36794 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36795 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36796 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36797 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36798 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36799 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36800 * sysvipc/sys/ipc.h: Likewise.
36801 * sysvipc/sys/msg.h: Likewise.
36802 * sysvipc/sys/sem.h: Likewise.
36803 * sysvipc/sys/shm.h: Likewise.
36804 * termios/termios.h: Likewise.
36805 * time/sys/time.h: Likewise.
36806 * time/time.h: Likewise.
36807 * wcsmbs/bits/wchar2.h: Likewise.
36808 * wcsmbs/uchar.h: Likewise.
36809 * wcsmbs/wchar.h: Likewise.
36810 * wctype/wctype.h: Likewise.
36813 * Makeconfig: Remove all but ELF support including AIX support.
36814 * Makerules: Likewise.
36815 * config.h.in: Likewise.
36816 * config.make.in: Likewise.
36817 * configure: Likewise.
36818 * configure.in: Likewise.
36819 * csu/Makefile: Likewise.
36820 * csu/version.c: Likewise.
36821 * debug/Makefile: Likewise.
36822 * dlfcn/Makefile: Likewise.
36823 * elf/Makefile: Likewise.
36824 * extra-lib.mk: Likewise.
36825 * iconv/Makefile: Likewise.
36826 * include/libc-symbols.h: Likewise.
36827 * include/shlib-compat.h: Likewise.
36828 * resolv/Makefile: Likewise.
36829 * resolv/res_libc.c: Likewise.
36830 * rt/Makefile: Likewise.
36831 * sysdeps/i386/asm-syntax.h: Likewise.
36832 * sysdeps/i386/sysdep.h: Likewise.
36833 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36834 * sysdeps/mach/sysdep.h: Likewise.
36835 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36836 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36837 * sysdeps/s390/asm-syntax.h: Likewise.
36838 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36839 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36840 * sysdeps/sh/sysdep.h: Likewise.
36841 * sysdeps/unix/sparc/sysdep.h: Likewise.
36842 * sysdeps/wordsize-32/divdi3.c: Likewise.
36843 * sysdeps/x86_64/sysdep.h: Likewise.
36845 * argp/Versions: Remove _argp_unlock_xxx.
36848 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36849 * abilist/libBrokenLocale.abilist: Likewise.
36850 * abilist/libanl.abilist: Likewise.
36851 * abilist/libc.abilist: Likewise.
36852 * abilist/libcrypt.abilist: Likewise.
36853 * abilist/libdl.abilist: Likewise.
36854 * abilist/libm.abilist: Likewise.
36855 * abilist/libnsl.abilist: Likewise.
36856 * abilist/libpthread.abilist: Likewise.
36857 * abilist/libresolv.abilist: Likewise.
36858 * abilist/librt.abilist: Likewise.
36859 * abilist/libthread_db.abilist: Likewise.
36860 * abilist/libutil.abilist: Likewise.
36861 * abilist/libnss_db.abilist: New file.
36863 * scripts/abilist.awk: Add support for indirect functions.
36865 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36867 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36869 * shlib-versions: Remove entries for ports architectures.
36871 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36873 * elf/stackguard-macros.h: Remove support for IA-64.
36874 * elf/tst-auditmod1.c: Likewise.
36875 * sysdeps/generic/ldsodefs.h: Likewise.
36877 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36878 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36882 * configure.in: Remove --enable-omitfp support.
36884 * config.make.in: Likewise.
36885 * Makeconfig: Likewise.
36886 * manual/install.texi: Likewise.
36888 In case anyone cares, the IA-64 architecture could move to ports.
36889 * sysdeps/ia64/*: Removed.
36890 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36891 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36894 * configure.in: Remove entries for unsupported architectures.
36897 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36898 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36900 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36901 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36902 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36903 fall back to using wcrtomb.
36904 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36905 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36907 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36908 * wcsmbs/tst-c16c32-1.c: New file.
36910 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36913 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36915 * elf/tst-unique3.cc: Add explicit declaration of gets.
36916 * elf/tst-unique3lib.cc: Likewise.
36917 * elf/tst-unique3lib2.cc: Likewise.
36918 * elf/tst-unique4.cc: Likewise.
36920 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36922 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36925 * assert/assert.h (static_assert): Don't define for C++.
36926 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36927 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36929 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36931 * iconv/loop.c (single loop): Fix assertion in storing of
36934 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36936 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36938 * posix/getconf.c: Update copyright year.
36939 * nss/getent.c: Likewise.
36940 * nss/makedb.c: Likewise.
36941 * iconv/iconvconfig.c: Likewise.
36942 * iconv/iconv_prog.c: Likewise.
36943 * elf/ldconfig.c: Likewise.
36944 * elf/pldd.c: Likewise.
36945 * elf/sotruss.ksh: Likewise.
36946 * catgets/gencat.c: Likewise.
36947 * csu/version.c: Likewise.
36948 * elf/ldd.bash.in: Likewise.
36949 * elf/sprof.c (print_version): Likewise.
36950 * locale/programs/locale.c: Likewise.
36951 * locale/programs/localedef.c: Likewise.
36952 * login/programs/pt_chown.c: Likewise.
36953 * nscd/nscd.c (print_version): Likewise.
36954 * debug/xtrace.sh: Likewise.
36955 * malloc/memusage.sh: Likewise.
36956 * malloc/mtrace.pl: Likewise.
36957 * debug/catchsegv.sh: Likewise.
36959 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36961 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36964 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36967 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36968 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36970 * iconv/gconv_int.h: Likewise.
36971 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36972 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36973 from libc for GLIBC_2.16.
36974 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36975 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36976 * wcsmbs/uchar.h: Really define mbstate_t.
36977 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36978 * wcsmbs/c16rtomb.c: New file.
36979 * wcsmbs/mbrtoc16.c: New file.
36980 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36981 for C/POSIX locale.
36982 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36983 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36985 * wcsmbs/wchar.h: Add missing __restrict.
36987 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36990 * time/Makefile (routines): Add timespec_get.
36991 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36992 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36993 timespec for ISO C11.
36994 * time/timespec_get.c: New file.
36995 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36996 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36999 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37000 * stdlib/stdlib.h: Declare aligned_alloc.
37001 * Versions.def: Add GLIBC_2.16 for libc.
37002 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37005 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37008 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37012 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37015 * assert/assert.h (static_assert): Define.
37017 * version.h: Update for 2.16 development version.
37020 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37023 * version.h (RELEASE): Bump for 2.15 release.
37024 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37026 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37027 Patch by Marek Polacek <mpolacek@redhat.com>.
37029 * bits/byteswap.h: Protect long long constants with __extension__.
37030 * sysdeps/i386/bits/byteswap.h: Likewise.
37031 * sysdeps/ia64/bits/byteswap.h: Likewise.
37032 * sysdeps/s390/bits/byteswap.h: Likewise.
37033 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37035 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37038 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37039 destination buffer.
37040 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37042 2011-12-23 Marek Polacek <polacek@redhat.com>
37044 * elf/dl-addr.c (determine_info): Add inline keyword.
37045 * elf/tst-auditmod4b.c (check_avx): Likewise.
37046 * elf/tst-auditmod6b.c (check_avx): Likewise.
37047 * elf/tst-auditmod6c.c (check_avx): Likewise.
37048 * elf/tst-auditmod7b.c (check_avx): Likewise.
37050 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37052 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37055 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37058 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37059 processing for last bytes.
37061 2011-08-06 Bruno Haible <bruno@clisp.org>
37064 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37065 U+0385, not to U+1FEE.
37068 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37069 entry for U+00A5 U+0301.
37071 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37074 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37075 buffer for the output is too small.
37077 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37081 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37082 SSE flags if possible.
37084 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37087 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37088 processing for last bytes.
37090 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37092 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37093 (syscall-list-default-options, syscall-list-default-condition)
37094 (syscall-list-includes): Define.
37095 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37096 list of ABIs and options and #if conditions for each ABI. Do not
37097 handle common syscalls between ABIs specially.
37098 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37100 (syscall-list-variants, syscall-list-32bit-options)
37101 (syscall-list-32bit-condition, syscall-list-64bit-options)
37102 (syscall-list-64bit-condition): Define.
37103 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37104 (syscall-list-variants, syscall-list-32bit-options)
37105 (syscall-list-32bit-condition, syscall-list-64bit-options)
37106 (syscall-list-64bit-condition): Define.
37107 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37109 (syscall-list-variants, syscall-list-32bit-options)
37110 (syscall-list-32bit-condition, syscall-list-64bit-options)
37111 (syscall-list-64bit-condition): Define.
37112 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37114 (syscall-list-variants, syscall-list-32bit-options)
37115 (syscall-list-32bit-condition, syscall-list-64bit-options)
37116 (syscall-list-64bit-condition): Define.
37118 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37120 * locale/iso-639.def: Add brx entry.
37123 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37124 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37126 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37127 __feraiseexcept_renamed.
37129 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37132 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37133 EPOLLET with unsigned values.
37134 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37135 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37137 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37138 to large cancellation.
37139 * math/s_cacoshf.c: Likewise.
37140 * math/s_cacoshl.c: Likewise.
37142 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37146 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37147 * math/s_cacoshf.c: Likewise.
37148 * math/s_cacoshl.c: Likewise.
37150 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37153 * iconv/gconv.h: Define __GCONV_SWAP.
37154 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37155 * iconvdata/utf-16.c: Likewise.
37156 * iconvdata/utf-32.c: Likewise.
37158 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37161 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37162 numerator after shifting it by one limb.
37164 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37166 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37167 under [__USE_EXTERN_INLINES].
37169 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37172 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37174 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37176 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37177 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37179 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37180 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37181 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37182 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37183 for strncasecmp/strncasecmp_l compilation.
37184 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37185 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37187 2011-12-08 Marek Polacek <mpolacek@redhat.com>
37190 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37193 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37196 * time/tzfile.c (__tzfile_read): Check values from file header.
37198 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37200 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37201 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37202 * powerpc/powerpc32/dl-start.S: Likewise.
37203 * powerpc/powerpc32/elf/start.S: Likewise.
37204 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37205 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37206 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37207 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37208 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37209 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37210 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37211 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37212 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37213 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37214 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37215 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37216 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37217 * powerpc/powerpc32/memset.S: Likewise.
37218 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37219 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37220 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37221 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37222 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37223 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37224 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37225 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37226 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37227 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37228 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37229 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37230 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37232 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37234 * math/libm-test.inc: Added more nearbyint tests.
37235 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37236 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37237 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37238 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37240 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37242 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37245 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37247 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37248 Add wcscpy-ssse3 wcscpy-c.
37249 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37250 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37251 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37252 * sysdeps/x86_64/wcschr.S: New file.
37253 * sysdeps/x86_64/wcsrchr.S: New file.
37254 * string/test-strcmp.c: Remove checking of wcscmp function for
37256 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37257 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37258 wcsrchr-sse2 wcsrchr-c.
37259 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37260 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37261 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37262 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37263 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37264 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37265 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37266 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37267 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37268 * wcsmbc/wcschr.c (WCSCHR): New macro.
37270 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37272 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37273 * wcsmbs/test-wcsrchr.c: New file.
37274 * string/test-strrchr.c: Add wcsrchr support.
37276 * wcsmbs/test-wcscpy.c: New file.
37277 * string/test-strcpy.c: Add wcscpy support.
37280 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37282 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37285 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37288 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37290 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37292 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37293 Minor optimizations.
37295 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37296 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37297 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37299 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37301 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37302 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37303 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37304 for gcc to avoid warnings.
37305 * inet/Makefile (tests): Add tst-checks.
37306 * inet/tst-checks.c: New file.
37308 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37311 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37314 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37315 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37317 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37319 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37321 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37324 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37326 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37328 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37329 conditional on GCC version.
37330 (__arch_compare_and_exchange_val_8_acq)
37331 (__arch_compare_and_exchange_val_16_acq)
37332 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37333 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37334 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37336 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37338 * sysdeps/sh/backtrace.c: New file.
37340 2011-12-02 Andreas Schwab <schwab@redhat.com>
37342 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37345 2011-12-01 Andreas Schwab <schwab@redhat.com>
37347 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37348 falling back to utime.
37350 2011-11-30 Andreas Schwab <schwab@redhat.com>
37352 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37353 expectations for float.
37355 2011-11-29 Andreas Schwab <schwab@redhat.com>
37357 * locale/weight.h (findidx): Add parameter len.
37358 * locale/weightwc.h (findidx): Likewise.
37359 * posix/fnmatch_loop.c (FCT): Adjust caller.
37360 * posix/regcomp.c (build_equiv_class): Likewise.
37361 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37362 * posix/regexec.c (check_node_accept_bytes): Likewise.
37363 * string/strcoll_l.c (STRCOLL): Likewise.
37364 * string/strxfrm_l.c (STRXFRM): Likewise.
37366 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37368 * Makefile.in: Remove CVSOPT handling.
37369 * configure.in: Remove use of AC_REVISION.
37370 * iconvdata/Makefile (distribute): No need to filter out CVS.
37371 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37374 2011-11-16 Andreas Schwab <schwab@redhat.com>
37376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37377 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37378 [USE_AS_STRNCASECMP_L]: Likewise.
37379 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37380 NO_TLS_DIRECT_SEG_REFS.
37381 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37382 Fix argument offsets for non-PIC.
37383 [USE_AS_STRNCASECMP_L]: Likewise.
37384 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37385 NO_TLS_DIRECT_SEG_REFS.
37387 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37389 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37391 * locale/loadlocale.c (_nl_load_locale): Likewise.
37393 2011-11-15 Andreas Schwab <schwab@redhat.com>
37395 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37396 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37397 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37398 (SYSCALL_GETTIME): Set errno on error.
37400 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37401 count references to noai6ai_cached.
37403 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37405 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37407 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37408 FD_CLOEXEC for /proc/self/maps.
37410 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37411 FD_CLOEXEC for /proc/meminfo.
37413 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37416 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37417 FD_CLOEXEC for given file.
37419 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37421 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37422 FD_CLOEXEC for /etc/hosts.
37423 (_gethtent): Likewise.
37425 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37427 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37428 cancellation and set FD_CLOEXEC for /etc/netgroup.
37430 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37431 reading /etc/publickey.
37433 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37434 allow cancellation when reading /etc/group.
37436 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37438 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37440 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37441 when using data file.
37443 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37445 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37446 (write_nis_obj): Use "c" and "e" in fopen.
37448 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37450 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37452 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37454 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37456 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37459 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37461 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37463 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37465 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37466 file parsing and set FD_CLOEXEC.
37468 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37470 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37472 2011-11-14 Andreas Schwab <schwab@redhat.com>
37474 * malloc/arena.c (arena_get2): Don't call reused_arena when
37475 _int_new_arena failed.
37477 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37479 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37480 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37481 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37482 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37483 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37484 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37485 to compile strcasecmp and strncasecmp.
37486 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37487 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37491 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37493 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37494 locale-defines.sym to gen-as-const-headers.
37495 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37496 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37498 to compile strcasecmp and strncasecmp.
37499 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37500 strcasecmp_l and strncasecmp_l.
37501 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37502 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37503 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37504 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37505 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37506 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37507 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37508 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37509 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37510 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37511 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37513 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37515 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37516 result of SYSDEP_GETTIME_CPU to retval.
37517 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37518 parameter list to macro. Remove trailing semicolon. Adjust users.
37520 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37523 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37525 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37527 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37528 from unused variable.
37530 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37532 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37535 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37538 * sunrpc/rpc_prot.c (rejected): Fix case value.
37540 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37541 unsigned long long int to avoid warnings in shift.
37543 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37545 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37548 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37549 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37550 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37552 * nis/nis_table.c (nis_list): Use variable of correct type for
37553 result of __follow_path call.
37555 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37557 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37558 of math functions ceil, trunc, floor, round, and sqrt, when
37559 avaliable on the platform.
37560 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37562 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37563 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37564 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37566 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37568 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37569 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37571 2011-11-11 Roland McGrath <roland@hack.frob.com>
37573 * include/unistd.h: Fix __readlink return type.
37574 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37576 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37578 * stdlib/ucontext.h: Undo last change for makecontext.
37580 2011-11-11 Andreas Schwab <schwab@redhat.com>
37582 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37584 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37585 * setjmp/setjmp.h: Mark functions as non-leaf.
37586 * setjmp/bits/setjmp2.h: Likewise.
37587 * stdlib/ucontext.h: Likewise.
37589 2011-11-10 Andreas Schwab <schwab@redhat.com>
37591 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37592 (reused_arena): Don't check arena limit.
37593 (arena_get2): Atomically check arena limit.
37595 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37597 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37598 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37600 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37603 2011-11-07 Andreas Schwab <schwab@redhat.com>
37605 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37606 handler when locking.
37608 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37609 Fix size of allocated buffer.
37611 2011-11-04 Andreas Schwab <schwab@redhat.com>
37614 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37615 declarations for long double functions.
37616 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37618 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37620 2011-11-03 Andreas Schwab <schwab@redhat.com>
37622 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37625 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37628 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37630 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37632 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37634 * include/alloca.h (stackinfo_alloca_round): Define.
37635 (extend_alloca): Use it.
37636 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37637 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37640 * scripts/check-local-headers.sh: Ignore libaudit.h.
37642 * nscd/Makefile (extra-objs): Make recursively expanded.
37644 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37646 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37647 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37649 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37650 * posix/tst-rfc3484-2.c: Likewise.
37651 * posix/tst-rfc3484-3.c: Likewise.
37653 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37655 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37657 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37658 process_vm_writev from libc using GLIBC_2.15 version.
37660 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37662 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37664 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37667 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37670 * nss/getent.c (initgroups_keys): Show error message in case no group
37673 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37674 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37675 __bump_nl_timestamp.
37676 * nscd/connections (nscd_init): When host database is served open
37677 netlink socket and request notification about configuration changes.
37678 (main_loop_poll): Track netlink file descriptor and bump timestamp
37679 in case data becomes available.
37680 (main_loop_epoll): Likewise.
37681 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37682 (database_pers_head): Add extra_data fileds.
37683 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37684 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37685 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37687 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37688 in6ai data, call __free_in6ai.
37689 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37690 Add -DHAVE_NETLINK.
37691 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37692 interface information. Reuse previous data if netlink timestamp
37694 (__bump_nl_timestamp): New function.
37695 (__free_in6ai): New function.
37697 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37699 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37700 close_not_cancel_no_status here.
37701 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37703 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37706 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37709 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37710 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37711 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37713 2011-07-03 Andreas Jaeger <aj@suse.de>
37716 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37717 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37718 * math/libm-test.inc (sin_test): Add test case.
37720 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37723 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37724 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37726 * elf/chroot_canon.c (chroot_canon): Cleanups.
37728 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37731 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37732 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37734 * string/test-strchr.c: Make usable for strchrnul testing.
37735 * string/test-strchrnul.c: New file.
37736 * string/Makefile (strop-tests): Add strchrnul.
37738 * po/it.po: Update from translation team.
37739 * po/es.po: Likewise.
37741 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37743 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37744 the three constants needed as parameters. Drop the others.
37745 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37746 __m128i_strloadu_tolower.
37747 Create and initialize variable zero and use it in all the places
37748 where _mm_setzero_si128 was used.
37750 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37751 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37752 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37753 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37755 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37756 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37757 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37758 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37759 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37760 __mpranred, __mptan.
37761 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37762 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37763 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37764 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37765 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37766 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37767 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37768 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37769 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37771 2011-10-28 Andreas Schwab <schwab@redhat.com>
37773 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37774 redefine if SHARED.
37775 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37777 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37778 wide char related routines to wcsmbs subdir.
37780 2011-10-27 Andreas Schwab <schwab@redhat.com>
37783 * misc/sys/cdefs.h (__THROWNL): Define.
37784 * posix/unistd.h: Use __THREADNL instead of __THREAD
37785 for memory synchronization functions.
37787 2011-10-26 Roland McGrath <roland@hack.frob.com>
37790 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37792 * manual/stdio.texi (Obstack Streams): Node removed.
37794 2011-10-26 Andreas Schwab <schwab@redhat.com>
37796 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37797 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37798 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37800 * math/math_private.h (math_force_eval): Allow non-addressable
37802 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37804 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37806 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37807 file is not needed.
37809 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37810 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37811 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37812 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37813 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37814 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37815 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37816 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37818 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37819 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37820 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37821 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37822 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37823 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37824 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37825 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37826 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37827 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37828 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37829 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37830 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37831 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37832 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37833 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37834 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37835 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37836 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37838 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37839 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37841 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37842 place. Use VEX encoding when compiling for AVX.
37844 2011-10-25 Andreas Schwab <schwab@redhat.com>
37846 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37847 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37849 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37851 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37853 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37854 useless if() expression.
37855 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37856 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37857 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37858 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37859 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37860 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37861 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37862 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37863 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37864 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37865 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37866 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37867 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37868 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37869 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37870 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37871 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37872 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37873 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37875 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37877 2011-10-25 Andreas Schwab <schwab@redhat.com>
37879 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37881 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37883 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37885 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37886 .text section. Avoid duplicate constants.
37887 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37888 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37889 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37890 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37891 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37895 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37896 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37897 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37899 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37900 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37901 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37902 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37903 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37904 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37905 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37906 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37907 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37908 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37909 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37910 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37911 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37912 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37913 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37914 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37915 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37916 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37917 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37918 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37919 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37920 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37921 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37922 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37923 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37924 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37925 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37926 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37927 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37928 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37929 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37930 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37931 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37933 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37935 * sysdeps/x86_64/dla.h: Move to ...
37936 * sysdeps/x86_64/fpu/dla.h: ...here.
37937 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37938 situations. Use __builtin_fma only for gcc 4.6 and up.
37940 * config.make.in: Add have-mfma4 entry.
37941 * configure.in: Substitute libc_cv_cc_fma4.
37942 * math/Makefile (dbl-only-routines): Add sincostab.
37943 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37944 Use __sincostab not sincos.
37945 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37947 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37948 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37949 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37952 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37953 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37954 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37955 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37957 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37958 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37960 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37961 define aliases when function name is a macro.
37962 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37963 sysdeps/ieee754/dbl-64/sincos.tbl.
37964 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37965 fma4-enabled routines.
37966 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37967 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37968 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37969 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37970 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37971 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37972 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37973 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37974 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37975 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37976 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37977 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37978 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37979 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37980 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37981 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37982 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37983 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37984 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37985 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37986 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37987 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37988 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37989 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37990 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37991 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37992 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37993 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37994 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37995 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37997 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37999 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38000 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38002 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38003 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38004 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38005 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38006 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38008 2011-10-24 Andreas Schwab <schwab@redhat.com>
38010 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38012 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38014 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38016 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38018 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38020 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38021 Remove unused variable magic_bits.
38022 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38024 * string/strnlen.c: Define and use STRNLEN macro.
38025 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38026 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38027 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38028 * wcsmbs/wcslen.c: Define and use WCSLEN.
38029 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38030 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38031 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38032 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38033 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38034 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38035 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38037 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38039 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38040 strnlen-sse2-no-bsf.
38041 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38043 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38044 Add strnlen support.
38045 (USE_AS_STRNLEN): New macro.
38046 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38047 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38048 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38049 * sysdeps/x86_64/wcslen.S: New file.
38051 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38053 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38054 XMM-moves are used for copying on small sizes.
38056 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38058 * wcsmbs/Makefile (strop-tests): Add wcschr.
38059 * wcsmbs/test-wcschr.c: New file.
38060 * string/test-strchr.c: Update.
38061 Add wcschr support.
38064 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38066 * wcsmbs/Makefile (strop-tests): Add wcslen.
38067 * wcsmbs/test-wcslen.c: New file.
38068 * string/test-strlen.c: Update.
38069 Add wcslen support.
38072 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38074 * po/it.po: Update from translation team.
38076 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38078 * sysdeps/x86_64/wcscmp.S: Update.
38079 Fix wrong comparison semantics.
38080 wcscmp shall use signed comparison not unsigned.
38081 Don't use substraction to avoid overflow bug.
38082 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38083 * wcsmbc/wcscmp.c: Likewise.
38084 * string/test-strcmp.c: Likewise.
38085 Add new tests to check cases with negative values.
38087 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38089 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38090 * sysdeps/x86_64/dla.h: ...here. New file.
38091 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38092 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38093 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38094 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38095 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38096 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38097 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38098 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38099 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38101 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38103 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38104 __ynl_finite aliases.
38106 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38110 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38112 [DLA_FMA] (EMULV): Use DLA_FMA.
38113 [DLA_FMA] (MUL12): Use EMULV.
38114 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38115 that are not needed.
38116 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38118 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38120 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38121 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38122 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38124 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38126 * math/s_nan.c: Undef __nan.
38127 * math/s_nanf.c: Undef __nanf.
38128 * math/s_nanl.c: Undef __nanl.
38129 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38132 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38134 * math/s_catan.c: Add branch predictions.
38135 * math/s_catanf.c: Likewise.
38136 * math/s_catanh.c: Likewise.
38137 * math/s_catanhf.c: Likewise.
38138 * math/s_catanhl.c: Likewise.
38139 * math/s_catanl.c: Likewise.
38140 * math/s_cexp.c: Likewise.
38141 * math/s_cexpf.c: Likewise.
38142 * math/s_cexpl.c: Likewise.
38143 * math/s_clog.c: Likewise.
38144 * math/s_clog10.c: Likewise.
38145 * math/s_clog10f.c: Likewise.
38146 * math/s_clog10l.c: Likewise.
38147 * math/s_clogf.c: Likewise.
38148 * math/s_clogl.c: Likewise.
38149 * math/s_csqrt.c: Likewise.
38150 * math/s_csqrtf.c: Likewise.
38151 * math/s_csqrtl.c: Likewise.
38152 * math/s_ctanf.c: Likewise.
38153 * math/s_ctanh.c: Likewise.
38154 * math/s_ctanhf.c: Likewise.
38155 * math/s_ctanhl.c: Likewise.
38156 * math/s_ctanl.c: Likewise.
38158 * math/math_private.h: Define __nan, __nanf, __nanl.
38159 * math/s_cacosh.c: Include <math_private.h>.
38160 * math/s_cacoshl.c: Likewise.
38161 * math/s_casinh.c: Likewise.
38162 * math/s_casinhf.c: Likewise.
38163 * math/s_casinhl.c: Likewise.
38164 * math/s_ccos.c: Rely entire on ccosh.
38165 * math/s_ccosf.c: Rely entire on ccoshf.
38166 * math/s_ccosl.c: Rely entirely on ccoshl.
38167 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38168 Remove tests for FE_INVALID.
38169 * math/s_ccoshf.c: Likewise.
38170 * math/s_ccoshl.c: Likewise.
38171 * math/s_csin.c: Likewise.
38172 * math/s_csinf.c: Likewise.
38173 * math/s_csinh.c Likewise.
38174 * math/s_csinhf.c: Likewise.
38175 * math/s_csinhl.c: Likewise.
38176 * math/s_csinl.c: Likewise.
38177 * math/s_ctan.c: Likewise.
38178 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38179 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38180 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38182 2011-10-21 Ulrich Drepper <drepper@gmail.com>
38184 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38185 compilation problems.
38187 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38190 2011-10-20 Ulrich Drepper <drepper@gmail.com>
38192 * sysdeps/i386/configure.in: Test for -mfma4 option.
38193 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38194 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38195 COMMON_CPUID_INDEX_80000001.
38196 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38197 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38198 use it if FMA3 is not supported.
38199 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38201 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38202 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38204 2011-10-20 Andreas Schwab <schwab@redhat.com>
38207 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38208 it would create a cycle with a link time dependency.
38210 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38212 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38214 * string/Makefile (strop-tests): Add rawmemchr.
38215 * string/test-rawmemchr.c: New file.
38217 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38218 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38219 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38220 when compiling str{,n}casecmp and when AVX is available. Hook up
38221 new optimized code in initializers.
38223 2011-10-19 Andreas Schwab <schwab@redhat.com>
38225 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38226 __feraiseexcept instead of feraiseexcept.
38228 2011-10-18 Ulrich Drepper <drepper@gmail.com>
38230 * math/math_private.h: Define defaults for libc_fetestexcept and
38232 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38233 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38234 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38235 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38236 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38237 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38238 libc_fetestexcept and libc_feupdateenv.
38240 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38241 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38242 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38243 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38244 libc_feholdexcept_setround.
38246 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38247 Add s_nearbyint-c and s_nearbyintf-c.
38248 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38249 nearbyintf inlines.
38250 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38251 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38252 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38253 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38255 * math/math_private.h: Define defaults for libc_fegetround,
38256 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38257 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38258 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38259 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38260 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38261 standard functions.
38262 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38263 Remove comments and hacks for old compiler versions.
38264 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38265 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38266 libc_feholdexceptl.
38268 2011-10-18 Andreas Schwab <schwab@redhat.com>
38270 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38271 (__feraiseexcept_renamed): Add __NTH.
38272 (feraiseexcept): Add __NTH. Rename local variables to fix
38273 namespace violations.
38275 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38277 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38279 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38281 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38282 recently added interfaces.
38283 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38285 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38286 about macro parameter expansion.
38288 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38289 __NO_MATH_INLINES is defined. Cleanups.
38291 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38292 and __floorf is target has SSE4.1.
38293 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38294 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38295 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38296 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38298 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38300 (floorf): Likewise.
38302 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38304 2011-10-17 Andreas Schwab <schwab@redhat.com>
38306 * misc/sys/cdefs.h: Fix last change.
38308 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38311 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38313 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38315 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38316 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38317 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38318 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38319 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38320 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38321 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38322 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38323 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38324 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38325 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38326 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38327 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38328 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38329 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38330 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38331 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38332 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38333 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38334 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38335 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38336 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38338 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38339 ceil, ceilf, floor, floorf.
38341 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38342 Perform IRELATIVE relocations last.
38344 * elf/do-rel.h: Add another parameter nrelative, replacing the
38345 local variable with the same name. Change name of the function
38346 to end in Rel or Rela (uppercase).
38347 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38348 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38349 elf_dynamic_do_##reloc function.
38351 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38353 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38354 is sufficient, at least on modern CPUs.
38356 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38358 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38359 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38361 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38363 * math/bits/math-finite.h: Add entries for exp.
38364 * math/e_expl.c: Add __*_finite alias.
38365 * sysdeps/i386/fpu/e_exp.S: Likewise.
38366 * sysdeps/i386/fpu/e_expf.S: Likewise.
38367 * sysdeps/i386/fpu/e_expl.c: Likewise.
38368 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38369 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38370 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38371 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38372 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38373 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38374 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38376 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38377 is sufficient, at least on modern CPUs.
38379 * ctype/ctype-info.c (__ctype_init): Define.
38380 * include/ctype.h (__ctype_init): Declare.
38381 (__ctype_b_loc): The variable is always initialized.
38382 (__ctype_toupper_loc): Likewise.
38383 (__ctype_tolower_loc): Likewise.
38384 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38385 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38387 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38389 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38391 * configure.in: Also look in $cxxmachine/include for C++ system
38394 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38396 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38397 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38398 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38399 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38400 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38401 (USE_AS_WMEMCMP): New macro.
38403 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38404 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38405 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38406 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38407 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38408 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38409 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38410 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38411 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38412 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38413 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38414 (USE_AS_WMEMCMP): New macro.
38415 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38416 * sysdeps/string/test-memcmp.c: Update.
38417 Fix simple_wmemcmp.
38419 * wcsmbs/wmemcmp.c: Update.
38420 (WMEMCMP): New macro.
38423 2011-10-12 Andreas Jaeger <aj@suse.de>
38426 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38428 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38430 * libio/iofwide.c (do_length): Avoid warning.
38432 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38434 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38436 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38438 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38439 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38440 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38441 * sysdeps/i386/i686/fpu/e_log.S: New file.
38442 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38443 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38445 * ctype/ctype.h: Add support for inlined isXXX functions when
38446 compiling C++ code.
38448 2011-10-14 Andreas Schwab <schwab@redhat.com>
38450 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38452 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38454 2011-10-13 Roland McGrath <roland@hack.frob.com>
38457 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38459 2011-10-13 Andreas Schwab <schwab@redhat.com>
38461 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38462 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38465 * sysdeps/x86_64/memrchr.S: Check for zero size.
38467 * string/stratcliff.c: Add memrchr tests.
38469 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38471 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38472 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38473 rawmemchr-sse2 rawmemchr-sse2-bsf.
38474 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38475 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38476 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38477 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38478 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38479 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38480 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38481 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38482 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38483 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38484 * string/memrchr.c (MEMRCHR): New macro.
38486 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38488 Add integration with gcc's -ffinite-math-only and optimize wrapper
38490 * Versions.def: Define GLIBC_2.15 version for libm.
38491 * math/Makefile (headers): Add bits/math-finite.h.
38492 * math/bits/math-finite.h: New file.
38493 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38494 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38495 * math/e_acoshl.c: Add __*_finite alias.
38496 * math/e_acosl.c: Likewise.
38497 * math/e_asinl.c: Likewise.
38498 * math/e_atan2l.c: Likewise.
38499 * math/e_atanhl.c: Likewise.
38500 * math/e_coshl.c: Likewise.
38501 * math/e_exp10.c: Likewise.
38502 * math/e_exp10f.c: Likewise.
38503 * math/e_exp10l.c: Likewise.
38504 * math/e_exp2l.c: Likewise.
38505 * math/e_fmodl.c: Likewise.
38506 * math/e_gammal_r.c: Likewise.
38507 * math/e_hypotl.c: Likewise.
38508 * math/e_j0l.c: Likewise.
38509 * math/e_j1l.c: Likewise.
38510 * math/e_jnl.c: Likewise.
38511 * math/e_lgammal_r.c: Likewise.
38512 * math/e_log10l.c: Likewise.
38513 * math/e_log2l.c: Likewise.
38514 * math/e_logl.c: Likewise.
38515 * math/e_powl.c: Likewise.
38516 * math/e_sinhl.c: Likewise.
38517 * math/e_sqrtl.c: Likewise.
38518 * math/e_scalb.c: Completely rewritten and optimized.
38519 * math/e_scalbf.c: Likewise.
38520 * math/e_scalbl.c: Likewise.
38521 * math/w_acos.c: Likewise.
38522 * math/w_acosf.c: Likewise.
38523 * math/w_acosl.c: Likewise.
38524 * math/w_acosh.c: Likewise.
38525 * math/w_acoshf.c: Likewise.
38526 * math/w_acoshl.c: Likewise.
38527 * math/w_asin.c: Likewise.
38528 * math/w_asinf.c: Likewise.
38529 * math/w_asinl.c: Likewise.
38530 * math/w_atan2.c: Likewise.
38531 * math/w_atan2f.c: Likewise.
38532 * math/w_atan2l.c: Likewise.
38533 * math/w_atanh.c: Likewise.
38534 * math/w_atanhf.c: Likewise.
38535 * math/w_atanhl.c: Likewise.
38536 * math/w_exp10.c: Likewise.
38537 * math/w_exp10f.c: Likewise.
38538 * math/w_exp10l.c: Likewise.
38539 * math/w_fmod.c: Likewise.
38540 * math/w_fmodf.c: Likewise.
38541 * math/w_fmodl.c: Likewise.
38542 * math/w_j0.c: Likewise.
38543 * math/w_j0f.c: Likewise.
38544 * math/w_j0l.c: Likewise.
38545 * math/w_j1.c: Likewise.
38546 * math/w_j1f.c: Likewise.
38547 * math/w_j1l.c: Likewise.
38548 * math/w_jn.c: Likewise.
38549 * math/w_jnf.c: Likewise.
38550 * math/w_log.c: Likewise.
38551 * math/w_logf.c: Likewise.
38552 * math/w_logl.c: Likewise.
38553 * math/w_log10.c: Likewise.
38554 * math/w_log10f.c: Likewise.
38555 * math/w_log10l.c: Likewise.
38556 * math/w_log2.c: Likewise.
38557 * math/w_log2f.c: Likewise.
38558 * math/w_log2l.c: Likewise.
38559 * math/w_pow.c: Likewise.
38560 * math/w_powf.c: Likewise.
38561 * math/w_powl.c: Likewise.
38562 * math/w_remainder.c: Likewise.
38563 * math/w_remainderf.c: Likewise.
38564 * math/w_remainderl.c: Likewise.
38565 * math/w_scalb.c: Likewise.
38566 * math/w_scalbf.c: Likewise.
38567 * math/w_scalbl.c: Likewise.
38568 * math/w_sqrt.c: Likewise.
38569 * math/w_sqrtf.c: Likewise.
38570 * math/w_sqrtl.c: Likewise.
38571 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38572 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38574 * math/math_private.h: Declare __kernel_standard_f.
38575 * math/w_cosh.c: Remove cruft and optimize a bit.
38576 * math/w_coshf.c: Likewise.
38577 * math/w_coshl.c: Likewise.
38578 * math/w_exp2.c: Likewise.
38579 * math/w_exp2f.c: Likewise.
38580 * math/w_exp2l.c: Likewise.
38581 * math/w_hypot.c: Likewise.
38582 * math/w_hypotf.c: Likewise.
38583 * math/w_hypotl.c: Likewise.
38584 * math/w_lgamma.c: Likewise.
38585 * math/w_lgamma_r.c: Likewise.
38586 * math/w_lgammaf.c: Likewise.
38587 * math/w_lgammaf_r.c: Likewise.
38588 * math/w_lgammal.c: Likewise.
38589 * math/w_lgammal_r.c: Likewise.
38590 * math/w_sinh.c: Likewise.
38591 * math/w_sinhf.c: Likewise.
38592 * math/w_sinhl.c: Likewise.
38593 * math/w_tgamma.c: Likewise.
38594 * math/w_tgammaf.c: Likewise.
38595 * math/w_tgammal.c: Likewise.
38596 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38597 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38598 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38599 Minor optimizations. Pretty printing. Remove cruft.
38600 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38601 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38602 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38603 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38604 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38605 * sysdeps/i386/fpu/e_asin.S: Likewise.
38606 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38607 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38608 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38609 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38610 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38611 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38612 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38613 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38614 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38615 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38616 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38617 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38618 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38619 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38620 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38621 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38622 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38623 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38624 * sysdeps/i386/fpu/e_log.S: Likewise.
38625 * sysdeps/i386/fpu/e_log10.S: Likewise.
38626 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38627 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38628 * sysdeps/i386/fpu/e_log2.S: Likewise.
38629 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38630 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38631 * sysdeps/i386/fpu/e_logf.S: Likewise.
38632 * sysdeps/i386/fpu/e_logl.S: Likewise.
38633 * sysdeps/i386/fpu/e_pow.S: Likewise.
38634 * sysdeps/i386/fpu/e_powf.S: Likewise.
38635 * sysdeps/i386/fpu/e_powl.S: Likewise.
38636 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38637 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38638 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38639 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38640 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38641 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38642 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38643 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38644 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38645 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38646 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38647 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38648 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38649 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38650 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38651 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38652 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38653 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38654 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38655 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38656 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38657 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38658 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38659 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38661 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38662 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38663 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38666 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38667 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38668 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38669 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38670 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38671 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38672 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38673 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38674 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38675 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38676 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38677 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38678 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38679 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38680 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38681 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38682 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38683 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38684 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38685 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38686 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38687 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38688 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38689 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38690 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38691 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38692 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38693 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38694 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38695 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38696 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38697 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38698 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38699 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38700 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38701 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38702 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38703 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38704 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38705 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38706 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38707 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38708 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38709 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38710 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38711 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38712 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38713 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38714 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38715 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38716 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38717 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38718 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38719 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38720 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38721 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38722 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38723 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38724 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38725 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38726 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38727 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38728 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38729 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38730 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38731 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38732 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38733 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38734 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38735 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38736 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38737 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38738 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38739 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38740 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38741 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38742 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38743 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38744 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38745 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38746 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38747 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38748 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38749 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38750 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38751 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38752 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38753 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38754 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38755 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38756 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38757 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38758 (__isnanf): Likewise.
38759 (__isinf_ns): Likewise.
38760 (__isinf_nsf): Likewise.
38761 (__finite): Likewise.
38762 (__finitef): Likewise.
38763 (__ieee754_sqrt): Define as macro.
38764 (__ieee754_sqrtf): Define as macro.
38765 (__ieee754_sqrtl): Define as macro.
38766 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38768 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38769 __FINITE_MATH_ONLY__ consistent.
38770 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38772 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38774 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38777 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38779 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38781 * po/ja.po: Update from translation team.
38783 2011-10-08 Roland McGrath <roland@hack.frob.com>
38785 * locale/programs/locarchive.c (prepare_address_space): New function.
38786 (create_archive, enlarge_archive, open_archive): Use it.
38788 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38789 inside [SHARED], where it is used.
38791 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38793 * nss/getent.c (netgroup_keys): Remove unused variable.
38794 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38796 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38798 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38799 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38800 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38801 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38802 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38803 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38804 * math/Makefile (libm-calls): Add s_isinf_ns.
38805 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38806 * math/multc3.c: Likewise.
38807 * math/s_casin.c: Likewise.
38808 * math/s_casinf.c: Likewise.
38809 * math/s_casinl.c: Likewise.
38810 * math/s_ccos.c: Likewise.
38811 * math/s_ccosf.c: Likewise.
38812 * math/s_ccosl.c: Likewise.
38813 * math/s_ctan.c: Likewise.
38814 * math/s_ctanf.c: Likewise.
38815 * math/s_ctanh.c: Likewise.
38816 * math/s_ctanhf.c: Likewise.
38817 * math/s_ctanhl.c: Likewise.
38818 * math/s_ctanl.c: Likewise.
38819 * math/w_fmod.c: Likewise.
38820 * math/w_fmodf.c: Likewise.
38821 * math/w_fmodl.c: Likewise.
38822 * math/w_remainder.c: Likewise.
38823 * math/w_remainderf.c: Likewise.
38824 * math/w_remainderl.c: Likewise.
38825 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38826 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38827 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38828 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38829 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38830 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38831 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38832 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38834 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38836 * stdio-common/printf_fphex.c: Likewise.
38837 * stdio-common/printf_size.c: Likewise.
38839 * math/e_exp10.c: Include math_private.h using <...> not "...".
38840 * math/e_exp10f.c: Likewise.
38841 * math/e_exp10l.c: Likewise.
38842 * math/e_exp2l.c: Likewise.
38843 * math/e_j0l.c: Likewise.
38844 * math/e_j1l.c: Likewise.
38845 * math/e_jnl.c: Likewise.
38846 * math/e_lgammal_r.c: Likewise.
38847 * math/e_rem_pio2l.c: Likewise.
38848 * math/e_scalb.c: Likewise.
38849 * math/e_scalbf.c: Likewise.
38850 * math/e_scalbl.c: Likewise.
38851 * math/k_cosl.c: Likewise.
38852 * math/k_sinl.c: Likewise.
38853 * math/k_tanl.c: Likewise.
38854 * math/s_cacoshf.c: Likewise.
38855 * math/s_catan.c: Likewise.
38856 * math/s_catanf.c: Likewise.
38857 * math/s_catanh.c: Likewise.
38858 * math/s_catanhf.c: Likewise.
38859 * math/s_catanhl.c: Likewise.
38860 * math/s_catanl.c: Likewise.
38861 * math/s_ccosh.c: Likewise.
38862 * math/s_ccoshf.c: Likewise.
38863 * math/s_ccoshl.c: Likewise.
38864 * math/s_cexp.c: Likewise.
38865 * math/s_cexpf.c: Likewise.
38866 * math/s_cexpl.c: Likewise.
38867 * math/s_clog.c: Likewise.
38868 * math/s_clog10.c: Likewise.
38869 * math/s_clog10f.c: Likewise.
38870 * math/s_clog10l.c: Likewise.
38871 * math/s_clogf.c: Likewise.
38872 * math/s_clogl.c: Likewise.
38873 * math/s_csin.c: Likewise.
38874 * math/s_csinf.c: Likewise.
38875 * math/s_csinh.c: Likewise.
38876 * math/s_csinhf.c: Likewise.
38877 * math/s_csinhl.c: Likewise.
38878 * math/s_csinl.c: Likewise.
38879 * math/s_csqrt.c: Likewise.
38880 * math/s_csqrtf.c: Likewise.
38881 * math/s_csqrtl.c: Likewise.
38882 * math/s_ctan.c: Likewise.
38883 * math/s_ctanf.c: Likewise.
38884 * math/s_ctanh.c: Likewise.
38885 * math/s_ctanhf.c: Likewise.
38886 * math/s_ctanhl.c: Likewise.
38887 * math/s_ctanl.c: Likewise.
38888 * math/s_ldexp.c: Likewise.
38889 * math/s_ldexpf.c: Likewise.
38890 * math/s_ldexpl.c: Likewise.
38891 * math/s_significand.c: Likewise.
38892 * math/s_significandf.c: Likewise.
38893 * math/s_significandl.c: Likewise.
38894 * math/w_acos.c: Likewise.
38895 * math/w_acosf.c: Likewise.
38896 * math/w_acosh.c: Likewise.
38897 * math/w_acoshf.c: Likewise.
38898 * math/w_acoshl.c: Likewise.
38899 * math/w_acosl.c: Likewise.
38900 * math/w_asin.c: Likewise.
38901 * math/w_asinf.c: Likewise.
38902 * math/w_asinl.c: Likewise.
38903 * math/w_atan2.c: Likewise.
38904 * math/w_atan2f.c: Likewise.
38905 * math/w_atan2l.c: Likewise.
38906 * math/w_atanh.c: Likewise.
38907 * math/w_atanhf.c: Likewise.
38908 * math/w_atanhl.c: Likewise.
38909 * math/w_cosh.c: Likewise.
38910 * math/w_coshf.c: Likewise.
38911 * math/w_coshl.c: Likewise.
38912 * math/w_dremf.c: Likewise.
38913 * math/w_exp10.c: Likewise.
38914 * math/w_exp10f.c: Likewise.
38915 * math/w_exp10l.c: Likewise.
38916 * math/w_exp2.c: Likewise.
38917 * math/w_exp2f.c: Likewise.
38918 * math/w_fmod.c: Likewise.
38919 * math/w_fmodf.c: Likewise.
38920 * math/w_fmodl.c: Likewise.
38921 * math/w_hypot.c: Likewise.
38922 * math/w_hypotf.c: Likewise.
38923 * math/w_hypotl.c: Likewise.
38924 * math/w_j0.c: Likewise.
38925 * math/w_j0f.c: Likewise.
38926 * math/w_j0l.c: Likewise.
38927 * math/w_j1.c: Likewise.
38928 * math/w_j1f.c: Likewise.
38929 * math/w_j1l.c: Likewise.
38930 * math/w_jn.c: Likewise.
38931 * math/w_jnf.c: Likewise.
38932 * math/w_jnl.c: Likewise.
38933 * math/w_lgamma.c: Likewise.
38934 * math/w_lgamma_r.c: Likewise.
38935 * math/w_lgammaf.c: Likewise.
38936 * math/w_lgammaf_r.c: Likewise.
38937 * math/w_lgammal.c: Likewise.
38938 * math/w_lgammal_r.c: Likewise.
38939 * math/w_log.c: Likewise.
38940 * math/w_log10.c: Likewise.
38941 * math/w_log10f.c: Likewise.
38942 * math/w_log10l.c: Likewise.
38943 * math/w_log2.c: Likewise.
38944 * math/w_log2f.c: Likewise.
38945 * math/w_log2l.c: Likewise.
38946 * math/w_logf.c: Likewise.
38947 * math/w_logl.c: Likewise.
38948 * math/w_pow.c: Likewise.
38949 * math/w_powf.c: Likewise.
38950 * math/w_powl.c: Likewise.
38951 * math/w_remainder.c: Likewise.
38952 * math/w_remainderf.c: Likewise.
38953 * math/w_remainderl.c: Likewise.
38954 * math/w_scalb.c: Likewise.
38955 * math/w_scalbf.c: Likewise.
38956 * math/w_scalbl.c: Likewise.
38957 * math/w_sinh.c: Likewise.
38958 * math/w_sinhf.c: Likewise.
38959 * math/w_sinhl.c: Likewise.
38960 * math/w_sqrt.c: Likewise.
38961 * math/w_sqrtf.c: Likewise.
38962 * math/w_sqrtl.c: Likewise.
38963 * math/w_tgamma.c: Likewise.
38964 * math/w_tgammaf.c: Likewise.
38965 * math/w_tgammal.c: Likewise.
38967 * po/ja.po: Update from translation team.
38969 2011-09-29 Andreas Jaeger <aj@suse.de>
38972 * sunrpc/netname.c (netname2host): Fix logic.
38976 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38978 * math/w_remainder.c (__remainder): Likewise.
38979 * math/w_remainderf.c (__remainderf): Likewise.
38980 * math/libm-test.inc (remainder_test): Add test cases.
38982 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38984 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38987 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38989 * string/test-memcmp.c: Avoid unncessary #defines.
38990 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38992 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38994 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38995 Use new sse2 version for core i3 - i7 as it's faster
38996 than sse42 version.
38997 (bit_Prefer_PMINUB_for_stringop): New.
38998 * sysdeps/x86_64/rawmemchr.S: Update.
38999 Replace with faster SSE2 version.
39000 * sysdeps/x86_64/memrchr.S: New file.
39001 * sysdeps/x86_64/memchr.S: Update.
39002 Replace with faster SSE2 version.
39004 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39006 * elf/dl-load.c (lose): Add cast to avoid warning.
39008 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39010 * po/ca.po: Update from translation team.
39012 * inet/getnetgrent_r.c: Hook up nscd.
39013 * nscd/Makefile (routines): Add nscd_netgroup.
39014 (nscd-modules): Add netgroupcache.
39015 (CFLAGS-netgroupcache.c): Define.
39016 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39017 (cache_search): Add const to second parameter.
39018 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39020 (dbs): Add netgrdb entry.
39021 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39022 (verify_persistent_db): Handle netgrdb.
39023 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39024 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39026 (netgroup_response_header): Define.
39027 (innetgroup_response_header): Define.
39028 (datahead): Add netgroup_response_header and innetgroup_response_header
39030 * nscd/nscd.conf: Add entries for netgroup cache.
39031 * nscd/nscd.h (dbtype): Add netgrdb.
39032 (_PATH_NSCD_NETGROUP_DB): Define.
39033 (netgroup_iov_disabled): Declare.
39034 (xmalloc, xcalloc, xrealloc): Move declarations here.
39035 (cache_search): Adjust prototype.
39036 Add netgroup-related prototypes.
39037 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39038 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39039 (__nscd_innetgr): Declare.
39040 * nscd/selinux.c (perms): Use access_vector_t as element type and
39041 add netgroup-related initializers.
39042 * nscd/netgroupcache.c: New file.
39043 * nscd/nscd_netgroup.c: New file.
39044 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39045 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39046 For four parameters use innetgr.
39047 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39048 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39049 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39050 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39052 * nscd/connections.c (register_traced_file): Don't register file
39053 for disabled databases.
39055 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39057 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39059 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39060 from tree and freeing node.
39062 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39064 * nss/nsswitch.c (__nss_database_lookup): Handle
39065 nss_parse_service_list out of memory case.
39067 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39069 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39070 out of memory case.
39072 2011-10-04 Andreas Schwab <schwab@redhat.com>
39074 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39075 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39077 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39078 elf_machine_rela, elf_machine_lazy_rel.
39079 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39080 (ELF_DYNAMIC_DO_REL): Likewise.
39081 (ELF_DYNAMIC_DO_RELA): Likewise.
39082 (ELF_DYNAMIC_RELOCATE): Likewise.
39083 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39084 to ELF_DYNAMIC_DO_REL.
39085 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39086 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39087 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39089 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39090 skip_ifunc, don't call ifunc function if non-zero.
39091 (elf_machine_rela): Likewise.
39092 (elf_machine_lazy_rel): Likewise.
39093 (elf_machine_lazy_rela): Likewise.
39094 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39095 (elf_machine_lazy_rel): Likewise.
39096 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39098 (elf_machine_lazy_rel): Likewise.
39099 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39101 (elf_machine_lazy_rel): Likewise.
39102 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39103 (elf_machine_lazy_rel): Likewise.
39104 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39105 (elf_machine_lazy_rel): Likewise.
39106 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39107 (elf_machine_lazy_rel): Likewise.
39108 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39109 (elf_machine_lazy_rel): Likewise.
39110 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39111 (elf_machine_lazy_rel): Likewise.
39112 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39113 (elf_machine_lazy_rel): Likewise.
39115 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39117 * nss/nss_files/files-init.c (_nss_files_init): Use static
39118 initialization for all the *_traced_file variables.
39120 2011-09-28 Andreas Schwab <schwab@redhat.com>
39122 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39124 2011-09-27 Roland McGrath <roland@hack.frob.com>
39127 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39129 2011-09-27 Andreas Schwab <schwab@redhat.com>
39131 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39132 Reread the line before reparsing it.
39134 2011-09-26 Andreas Schwab <schwab@redhat.com>
39136 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39138 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39139 Maxim Kuvyrkov <maxim@codesourcery.com>
39140 Joseph Myers <joseph@codesourcery.com>
39142 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39143 if needed for __stack_chk_guard.
39145 2011-09-19 Roland McGrath <roland@hack.frob.com>
39147 * sysdeps/posix/spawni.c (script_execute): Always define it.
39148 It will be optimized away if unused.
39149 (maybe_script_execute): New function.
39150 (__spawni): Call it.
39152 * Makerules: Don't include tls.make.
39153 (config-tls): Always set to thread.
39154 * tls.make.c: File removed.
39156 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39158 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39159 * config.make.in (CPPFLAGS-config): New substituted variable.
39161 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39163 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39166 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39167 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39169 2011-09-15 Roland McGrath <roland@hack.frob.com>
39171 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39172 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39173 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39174 (CALL_FAIL): Likewise.
39175 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39176 (CALL_FAIL): Macro removed.
39177 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39179 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39181 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39182 for __FINITE_MATH_ONLY__ == 1.
39184 2011-09-15 Andreas Schwab <schwab@redhat.com>
39186 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39187 __ieee754_sqrt instead of sqrt.
39188 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39189 __ieee754_sqrtf instead of sqrtf.
39190 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39191 __floorf instead of floorf.
39192 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39193 __floorf, __truncf instead of floorf, truncf.
39195 2011-09-14 Ulrich Drepper <drepper@gmail.com>
39197 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39199 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39200 __extern_always_inline.
39201 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39204 2011-09-14 Andreas Schwab <schwab@redhat.com>
39206 * elf/rtld.c (dl_main): Also relocate in dependency order when
39207 doing symbol dependency testing.
39209 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39211 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39212 Always define `refsym'.
39214 2011-09-13 Andreas Schwab <schwab@redhat.com>
39216 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39217 (__FD_ELT): Renamed from __FDELT.
39218 * misc/bits/select2.h (__FD_ELT): Likewise.
39219 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39220 __FD_MASK instead of __FDELT, __FDMASK.
39221 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39223 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39226 * elf/Makefile (gen-ldd): Fix pattern.
39228 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39229 (init_tls): Likewise.
39231 2011-09-12 Ulrich Drepper <drepper@gmail.com>
39233 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39235 2011-09-12 Andreas Schwab <schwab@redhat.com>
39237 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39238 `struct cmsghdr *' instead of `void *'.
39239 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39242 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39244 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39246 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39247 ldd_rewrite_script.
39249 2011-09-11 Ulrich Drepper <drepper@gmail.com>
39251 * configure.in: Remove --with-tls option.
39252 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39253 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39254 out in case it is missing.
39255 * sysdeps/ia64/elf/configure.in: Likewise.
39256 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39257 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39258 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39259 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39260 * sysdeps/sh/elf/configure.in: Likewise.
39261 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39262 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39263 * sysdeps/x86_64/elf/configure.in: Likewise.
39264 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39265 * sysdeps/mach/hurd/tls.h: Likewise.
39268 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39271 * configure.in: Fix use of AC_INIT.
39273 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39275 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39277 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39279 * malloc/hooks.c: Likewise.
39282 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39283 variables statically.
39284 (narenas): Initialize.
39285 (list_lock): Initialize.
39286 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39287 initializtion of main_arena and list_lock. Small cleanups.
39288 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39289 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39290 Add initializers to main_arena and mp_.
39291 (malloc_state): Remove pagesize member. Change all users to use
39294 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39295 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39296 is always initialized.
39298 * malloc/malloc.c: Removed unused configurations and dead code.
39299 * malloc/arena.c: Likewise.
39300 * malloc/hooks.c: Likewise.
39301 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39303 * include/tls.h: Removed. USE___THREAD must always be defined.
39304 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39305 * elf/dl-libc.c: Likewise.
39306 * elf/dl-tsd.c: Likewise.
39307 * include/errno.h: Likewise.
39308 * include/netdb.h: Likewise.
39309 * include/resolv.h: Likewise.
39310 * inet/herrno-loc.c: Likewise.
39311 * inet/herrno.c: Likewise.
39312 * malloc/arena.c: Likewise.
39313 * malloc/hooks.c: Likewise.
39314 * malloc/malloc.c: Likewise.
39315 * resolv/res-state.c: Likewise.
39316 * resolv/res_libc.c: Likewise.
39317 * sysdeps/i386/dl-machine.h: Likewise.
39318 * sysdeps/ia64/dl-machine.h: Likewise.
39319 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39320 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39321 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39322 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39323 * sysdeps/sh/dl-machine.h: Likewise.
39324 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39325 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39326 * sysdeps/unix/i386/sysdep.S: Likewise.
39327 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39328 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39329 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39330 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39331 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39333 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39334 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39335 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39337 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39338 * sysdeps/x86_64/dl-machine.h: Likewise.
39339 * tls.make.c: Likewise.
39341 * configure.in: Remove --with-__thread option. Make tests for
39342 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39343 tls_model attribute fail if no support is available. Remove
39345 * Makeconfig: Adjust for dropped configure option. All features are
39347 * Makerules: Likewise.
39348 * Versions.def: Likewise.
39349 * argp/argp-fmtstream.c: Likewise.
39350 * argp/argp-fmtstream.h: Likewise.
39351 * argp/argp-help.c: Likewise.
39352 * assert/assert.c: Likewise.
39353 * config.h.in: Likewise.
39354 * config.make.in: Likewise.
39355 * configure: Likewise.
39356 * configure.in: Likewise.
39357 * csu/Versions: Likewise.
39358 * csu/init.c: Likewise.
39359 * elf/tst-audit2.c: Likewise.
39360 * elf/tst-tls10.c: Likewise.
39361 * elf/tst-tls10.h: Likewise.
39362 * elf/tst-tls11.c: Likewise.
39363 * elf/tst-tls12.c: Likewise.
39364 * elf/tst-tls14.c: Likewise.
39365 * elf/tst-tlsmod11.c: Likewise.
39366 * elf/tst-tlsmod12.c: Likewise.
39367 * elf/tst-tlsmod13.c: Likewise.
39368 * elf/tst-tlsmod13a.c: Likewise.
39369 * elf/tst-tlsmod14a.c: Likewise.
39370 * elf/tst-tlsmod15b.c: Likewise.
39371 * elf/tst-tlsmod16a.c: Likewise.
39372 * elf/tst-tlsmod16b.c: Likewise.
39373 * elf/tst-tlsmod7.c: Likewise.
39374 * elf/tst-tlsmod8.c: Likewise.
39375 * elf/tst-tlsmod9.c: Likewise.
39376 * gmon/gmon.c: Likewise.
39377 * grp/fgetgrent_r.c: Likewise.
39378 * grp/putgrent.c: Likewise.
39379 * hurd/fopenport.c: Likewise.
39380 * include/libc-symbols.h: Likewise.
39381 * include/tls.h: Likewise.
39382 * intl/gettextP.h: Likewise.
39383 * intl/loadinfo.h: Likewise.
39384 * locale/global-locale.c: Likewise.
39385 * locale/localeinfo.h: Likewise.
39386 * mach/devstream.c: Likewise.
39387 * malloc/arena.c: Likewise.
39388 * malloc/set-freeres.c: Likewise.
39389 * misc/err.c: Likewise.
39390 * misc/getttyent.c: Likewise.
39391 * misc/mntent_r.c: Likewise.
39392 * posix/getopt.c: Likewise.
39393 * posix/wordexp.c: Likewise.
39394 * pwd/fgetpwent_r.c: Likewise.
39395 * resolv/Versions: Likewise.
39396 * resolv/res_hconf.c: Likewise.
39397 * shadow/fgetspent_r.c: Likewise.
39398 * shadow/putspent.c: Likewise.
39399 * stdio-common/printf_fphex.c: Likewise.
39400 * stdio-common/tmpfile.c: Likewise.
39401 * stdlib/abort.c: Likewise.
39402 * stdlib/fmtmsg.c: Likewise.
39403 * sunrpc/auth_unix.c: Likewise.
39404 * sunrpc/clnt_perr.c: Likewise.
39405 * sunrpc/clnt_tcp.c: Likewise.
39406 * sunrpc/clnt_udp.c: Likewise.
39407 * sunrpc/clnt_unix.c: Likewise.
39408 * sunrpc/openchild.c: Likewise.
39409 * sunrpc/svc_simple.c: Likewise.
39410 * sunrpc/svc_tcp.c: Likewise.
39411 * sunrpc/svc_udp.c: Likewise.
39412 * sunrpc/svc_unix.c: Likewise.
39413 * sunrpc/xdr.c: Likewise.
39414 * sunrpc/xdr_array.c: Likewise.
39415 * sunrpc/xdr_rec.c: Likewise.
39416 * sunrpc/xdr_ref.c: Likewise.
39417 * sunrpc/xdr_stdio.c: Likewise.
39419 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39421 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39423 2011-07-03 Andreas Jaeger <aj@suse.de>
39425 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39426 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39427 regenerate with gen-libm-tests.pl.
39429 2010-05-12 Petr Baudis <pasky@suse.cz>
39432 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39433 around j0() zero points by switching to j1().
39434 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39435 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39436 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39437 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39439 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39441 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39443 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39445 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39446 Patch in part by Pavel Roskin <proski@gnu.org>.
39449 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39451 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39452 Free memory block if necessary.
39455 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39456 be NULL. Don't lock in this case.
39458 2011-09-09 Roland McGrath <roland@hack.frob.com>
39460 * elf/elf.h (ELFOSABI_GNU): New macro.
39461 (ELFOSABI_LINUX): Define to that.
39463 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39465 * string/strncat.c (strncat): Undef the symbol in case it has been
39466 defined in bits/string.h.
39468 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39470 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39472 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39475 2011-08-17 Andreas Jaeger <aj@suse.de>
39477 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39479 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39480 Ian Lance Taylor <iant@google.com>
39482 * math/libm-test.inc (lround_test): New testcase.
39483 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39485 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39487 * Makefile: Remove support for automatic cvs check-ins.
39488 * Makerules: Likewise.
39489 * config.make.in: Likewise.
39490 * configure.in: Likewise.
39491 * intl/Makefile: Likewise.
39492 * locale/Makefile: Likewise.
39493 * po/Makefile: Likewise.
39494 * posix/Makefile: Likewise.
39495 * sysdeps/gnu/Makefile: Likewise.
39496 * sysdeps/mach/hurd/Makefile: Likewise.
39497 * sysdeps/sparc/sparc32/Makefile: Likewise.
39500 * posix/Makefile (bug-regex32-ENV): Define.
39501 Patch by John Stanley <jpsinthemix@verizon.net>.
39503 * misc/Makefile (headers): Add bits/select2.h.
39504 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39505 * misc/bits/select2.h: New file.
39506 * include/bits/select2.h: New file.
39507 * debug/Makefile (routines): Add fdelt_chk.
39508 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39509 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39511 * debug/fdelt_chk.c: New file.
39513 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39514 * wcsmbs/test-wmemcmp.c: Likewise.
39515 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39516 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39518 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39520 * string/Makefile (strop-tests): Add memcmp.
39521 * string/test-wmemcmp.c: New file.
39522 * string/test-memcmp.c: Add wmemcmp support.
39524 2011-09-08 Roland McGrath <roland@hack.frob.com>
39527 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39530 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39531 garbage value in a __mach_port_mod_refs call in the cases of the
39532 task-self and thread-self ports.
39534 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39536 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39538 2011-09-08 Andreas Schwab <schwab@redhat.com>
39540 * elf/dl-load.c (lose): Check for non-null L.
39542 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39544 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39546 * elf/dl-libc.c (dlerror_run): Pass back error code from
39550 * elf/dl-load.c (lose): Free l_origin if it is valid.
39552 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39554 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39555 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39556 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39557 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39558 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39559 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39561 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39563 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39564 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39565 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39566 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39567 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39568 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39569 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39570 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39571 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39572 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39574 2011-08-15 Alan Modra <amodra@gmail.com>
39577 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39578 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39579 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39580 ppc_mcount to static-only-routines.
39581 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39583 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39584 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39586 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39588 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39589 for finite and infinity parameters.
39591 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39593 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39594 and add nop instructions for throughput optimization.
39595 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39597 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39599 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39600 aligned copy for power7 with vector-scalar instructions.
39601 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39603 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39605 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39608 2011-09-07 Andreas Schwab <schwab@redhat.com>
39611 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39614 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39616 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39617 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39618 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39619 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39622 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39624 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39625 Forgot to demangle the pointer.
39627 * sysdeps/i386/sysdep.h: Define atom_text_section.
39628 * sysdeps/x86_64/sysdep.h: Likewise.
39629 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39630 section with atom_text_section.
39631 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39632 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39633 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39634 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39635 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39637 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39638 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39639 already be defined. Change to take two parameters and don't assign
39640 result to variable. Adjust all users.
39641 Define INTERNAL_GETTIME if not already defined.
39642 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39645 HAVE_CLOCK_GETTIME_VSYSCALL.
39646 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39648 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39649 gettimeofday vsyscall, just use time.
39651 2011-09-06 Andreas Schwab <schwab@redhat.com>
39653 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39656 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39658 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39660 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39662 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39663 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39664 syscall if possible.
39666 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39668 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39669 e_ident. Don't pass to find_mapsXX.
39670 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39672 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39675 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39676 * sysdeps/x86_64/multiarch/strchr.S: Update.
39677 Check bit_slow_BSF bit.
39678 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39679 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39680 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39682 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39685 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39687 (tryshell): Define.
39688 (__spawni): Change last parameter to be flag. Test
39689 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39690 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39691 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39692 * posix/spawni.c: Likewise.
39693 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39694 * posix/spawnp.c: Likewise. Change normal version to use
39695 SPAWN_XFLAGS_USE_PATH.
39696 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39697 SPAWN_XFLAGS_TRY_SHELL.
39700 * posix/glob.h: Remove gcc 1.x support.
39703 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39705 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39708 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39710 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39711 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39712 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39713 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39714 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39715 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39717 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39719 * sysdeps/x86_64/wcscmp.S: New file.
39721 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39722 wcscmp-c wcscmp-sse2
39723 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39724 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39725 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39726 * wcsmbs/wcscmp.c: Allow renaming.
39728 2011-09-05 David S. Miller <davem@davemloft.net>
39730 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39731 stack slot, rather than the struct return pointer slot.
39732 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39733 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39735 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39737 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39739 * po/ja.po: Update from translation team.
39742 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39743 kernel in 64-bit binaries.
39745 2011-09-01 David S. Miller <davem@davemloft.net>
39747 * elf/elf.h (HWCAP_SPARC_*): Move to..
39748 * sysdeps/sparc/sysdep.h: this new file and add new values.
39749 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39750 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39751 _DL_HWCAP_COUNT to 24.
39752 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39754 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39755 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39756 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39757 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39758 instead of magic constants.
39759 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39761 2011-08-31 David S. Miller <davem@davemloft.net>
39763 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39765 Reimplement to do errno handling inline.
39766 (SYSCALL_ERROR_HANDLER): New macro.
39767 (__SYSCALL_STRING): Do not do errno handling in asm.
39768 (__CLONE_SYSCALL_STRING): Delete.
39769 (__INTERNAL_SYSCALL_STRING): Delete.
39770 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39771 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39772 (PSEUDO): Reimplement to do errno handling inline.
39773 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39774 (SYSCALL_ERROR_HANDLER): New macro.
39775 (__SYSCALL_STRING): Do not do errno handling in asm.
39776 (__CLONE_SYSCALL_STRING): Delete.
39777 (__INTERNAL_SYSCALL_STRING): Delete.
39778 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39779 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39781 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39782 (inline_syscall*): Add 'err' argument.
39783 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39784 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39785 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39786 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39788 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39789 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39791 2011-08-30 Andreas Schwab <schwab@redhat.com>
39793 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39795 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39797 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39800 2011-08-24 David S. Miller <davem@davemloft.net>
39802 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39804 2011-08-24 Andreas Schwab <schwab@redhat.com>
39806 * elf/Makefile: Add rules to build and run unload8 test.
39807 * elf/unload8.c: New file.
39808 * elf/unload8mod1.c: New file.
39809 * elf/unload8mod1x.c: New file.
39810 * elf/unload8mod2.c: New file.
39811 * elf/unload8mod3.c: New file.
39813 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39816 2011-08-23 David S. Miller <davem@davemloft.net>
39818 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39819 subtract stack bias.
39820 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39821 %sp not %fp in calculations.
39822 (_JMPBUF_UNWINDS_ADJ): Likewise.
39824 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39825 (aio_suspend): Call it to force an exception region around the
39826 AIO_MISC_WAIT() invocation.
39828 2011-08-23 Andreas Schwab <schwab@redhat.com>
39830 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39833 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39835 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39837 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39838 and <dl-machine.h>.
39839 (Elf64_FuncDesc): Remove.
39841 2011-08-22 David S. Miller <davem@davemloft.net>
39843 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39844 sigaltstack check, add missing cfi directives.
39845 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39846 missing cfi directives, and sigaltstack handling.
39848 2011-08-16 Andreas Schwab <schwab@redhat.com>
39851 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39852 object is seen twice.
39853 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39855 * elf/Makefile (distribute): Add tst-initorder2.c.
39856 (tests): Add tst-initorder2.
39857 (modules-names): Add tst-initorder2a tst-initorder2b
39858 tst-initorder2c tst-initorder2d. Add rules to build them.
39859 ($(objpfx)tst-initorder2.out): New rule.
39860 * elf/tst-initorder2.c: New file.
39861 * elf/tst-initorder2.exp: New file.
39863 2011-08-22 Andreas Schwab <schwab@redhat.com>
39865 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39867 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39868 dependencies back to end of function.
39870 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39871 $(elfobjdir)/ld.so.
39873 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39875 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39876 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39877 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39878 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39879 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39880 of __vdso_gettimeofday.
39881 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39882 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39884 (_libc_vdso_platform_setup): Remove initialization of
39885 __vdso_gettimeofday and __vdso_time.
39887 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39889 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39890 and fgetc_unlocked.
39891 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39894 * elf/dl-open.c (add_to_global): Report additions to the global scope
39895 for LD_DEBUG=scopes.
39896 (dl_open_worker): Also print scope of newly loaded dependencies.
39897 (_dl_show_scope): Indicate if there is no scope.
39900 * stdio-common/Makefile (tests): Add bug24.
39901 * stdio-common/bug24.c: New file.
39903 2011-08-19 Andreas Jaeger <aj@suse.de>
39906 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39907 non-existant file when using close-on-exec mode.
39909 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39911 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39912 the very first instruction.
39914 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39915 the CFI state in the end.
39916 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39917 inclusion of dl-trampoline.h.
39918 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39920 2011-08-19 Andreas Schwab <schwab@redhat.com>
39922 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39923 expectations for long double.
39925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39926 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39928 2011-08-14 David S. Miller <davem@davemloft.net>
39930 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39931 artificual limit depends upon the system page size.
39933 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39935 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39936 * resolv/Makefile: Define CFLAGS-libresolv.
39938 2011-08-17 Andreas Schwab <schwab@redhat.com>
39940 * nss/makedb.c (compute_tables): Make variables used in nested
39943 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39945 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39946 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39947 if buffer was too small.
39949 * elf/pldd.c (main): Attach to all threads in the process.
39950 Rewrite /proc handling to use *at functions.
39952 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39954 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39955 specifies first scope to show.
39956 (dl_open_worker): Update callers. Move printing scope of new
39957 object to before the relocation.
39958 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39959 * sysdeps/generic/ldsodefs.h: Update declaration.
39961 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39962 string for the scope number.
39964 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39966 * nscd/servicescache.c (cache_addserv): Make sure written is always
39969 2011-08-14 Roland McGrath <roland@hack.frob.com>
39971 * sysdeps/i386/i486/bits/atomic.h
39972 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39973 statement expression, so as to suppress "set but not used" warning.
39974 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39976 * string/strncat.c (STRNCAT): Use prototype definition.
39978 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39979 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39981 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39982 (localedef-modules): Add localedef.
39983 (locale-modules): Add locale.
39985 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39986 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39987 to avoid a warning.
39989 2011-08-14 David S. Miller <davem@davemloft.net>
39991 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39992 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39994 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39996 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39997 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39998 * elf/rtld.c (dl_main): Set l_name of vDSO.
39999 Call _dl_show_scope when DL_DEBUG_SCOPES.
40000 (process_dl_debug): Recognize scopes flag and also set it for all.
40001 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40002 Declare _dl_show_scope.
40004 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40005 (do_dlopen): Pass caller_dlopen to dl_open.
40006 (__libc_dlopen_mode): Initialize caller_dlopen.
40008 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40009 of libc. Make tolower call locale-independent. Optimize a bit by
40010 using isdigit instead of isalnum.
40011 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40013 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40015 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40016 was a dependency or dynamically loaded.
40018 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40020 * intl/l10nflist.c: Allow architecture-specific pop function.
40021 * sysdeps/x86_64/l10nflist.c: New file.
40023 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40026 2011-08-10 Andreas Schwab <schwab@redhat.com>
40028 * include/dirent.h: Add libc_hidden_proto for scandirat and
40029 scandirat64. Don't declare __scandirat64.
40030 * dirent/scandirat.c: Add libc_hidden_def.
40031 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40032 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40034 2011-08-10 David S. Miller <davem@davemloft.net>
40036 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40038 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40039 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40040 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40042 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40044 * Versions.def [libc]: Add GLIBC_2.15.
40045 * dirent/Makefile (routines): Add scandirat and scandirat64.
40046 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40048 * dirent/dirent.h: Declare scandirat and scandirat64.
40049 * dirent/scandirat.c: New file.
40050 * dirent/scandirat64.c: New file.
40051 * sysdeps/wordsize-64/scandirat.c: New file.
40052 * sysdeps/wordsize-64/scandirat64.c: New file.
40053 * dirent/opendir.c: Define opendirat.
40054 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40056 * dirent/scandir64.c: Adjust for scandir.c change.
40057 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40058 __scandirat64, and __scandir_cancel_handler.
40059 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40060 additional parameter and use openat instead of open (outside of ld.so).
40061 Add new __opendir as wrapper around __opendirat.
40062 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40063 here without requiring old scandirat implementation.
40065 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40067 * dirent/scandir.c (cancel_handler): Renamed to
40068 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40069 defined. Adjust users.
40070 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40071 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40073 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40075 * string/test-string.h (IMPL): Use __STRING to expand name and then
40078 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40081 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40083 * string/Makefile: Update.
40084 (strop-tests): Append strncat.
40085 * string/test-wcscmp.c: New file.
40086 New comprehensive test for wcscmp.
40087 * string/test-strcmp.c: Update.
40088 (WIDE): New define.
40090 2011-07-22 Andreas Schwab <schwab@redhat.com>
40092 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40095 2011-07-26 Andreas Schwab <schwab@redhat.com>
40097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40098 encoding to ACE if AI_IDN.
40100 2011-08-01 Jakub Jelinek <jakub@redhat.com>
40102 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40103 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40105 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40107 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40108 Fix overflow bug in strncat.
40109 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40111 * string/test-strncat.c: Update.
40112 Add new tests for checking overflow bugs.
40114 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40116 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40117 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40118 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40119 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40120 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40121 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40122 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40123 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40124 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40127 (USE_AS_STRCAT): Define.
40128 Add strcat and strncat support.
40129 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40131 2011-07-25 Andreas Schwab <schwab@redhat.com>
40133 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40134 __n bigger than INT_MAX+1.
40135 (__strncmp_g): Likewise.
40137 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40139 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40140 * libio/stido.h: Likewise.
40142 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40147 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40148 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40149 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40150 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40151 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40154 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40157 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40159 (_dl_x86_64_save_sse): Likewise.
40161 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40163 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40165 (_dl_x86_64_save_sse): Likewise.
40167 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40169 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40171 2011-07-21 Andreas Schwab <schwab@redhat.com>
40173 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40175 (_dl_x86_64_save_sse): Use correct AVX check.
40177 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40179 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40180 bug in strncpy/strncat.
40181 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40183 2011-07-21 Ulrich Drepper <drepper@gmail.com>
40185 * string/tester.c (test_strcat): Add tests for different alignments
40186 of source and destination.
40187 (test_strncat): Likewise.
40189 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40192 * posix/glob.c (glob): Check passed in values before using them in
40193 expressions to avoid some overflows.
40194 (glob_in_dir): Likewise.
40197 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40198 check for AVX enablement so that we don't crash with old kernels and
40200 * elf/tst-audit4.c: Add same checks here.
40201 * elf/tst-audit6.c: Likewise.
40203 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40205 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40207 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40209 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40211 * po/cs.po: Update from translation team.
40212 * po/bg.po: Likewise.
40214 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40216 * misc/sys/cdefs.h: Add support for const attribute.
40217 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40218 to gnu_dev_{major,minor,makedev} functions.
40220 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40222 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40224 2011-07-20 Andreas Schwab <schwab@redhat.com>
40226 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40229 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40231 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40232 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40233 register in order to avoid conflicts with the soft frame pointer
40234 being held in r11 when necessary.
40235 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40236 (INTERNAL_VSYSCALL_NCS): Likewise.
40238 2011-07-14 Marek Polacek <mpolacek@redhat.com>
40240 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40241 * elf/dl-fini.c (_dl_fini): Adjust caller.
40242 * elf/dl-close.c (_dl_close_worker): Likewise.
40243 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40245 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40247 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40248 "aux_cache->nlibs < 0".
40250 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40251 in the reload-count case.
40253 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40256 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40257 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40258 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40259 * sysdeps/x86_64/multiarch/strcat.S: New file.
40260 * sysdeps/x86_64/multiarch/strncat.S: New file.
40261 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40262 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40263 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40264 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40265 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40266 (USE_AS_STRCAT): Define.
40267 Add strcat and strncat support.
40268 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40269 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40270 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40271 * string/strncat.c: Update.
40272 (USE_AS_STRNCAT): Define.
40273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40274 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40276 * sysdeps/x86_64/multiarch/init-arch.h
40277 (bit_Prefer_PMINUB_for_stringop): New.
40278 (index_Prefer_PMINUB_for_stringop): Likewise.
40279 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40280 bit_Prefer_PMINUB_for_stringop.
40282 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40284 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40286 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40287 of casting of buffer.
40288 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40289 buffer32 and buffer64.
40290 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40291 writes instead of casting of buffer.
40292 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40294 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40297 2011-07-19 Andreas Schwab <schwab@redhat.com>
40299 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40301 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40303 * nscd/nscd.c (termination_handler): Don't do anything for a database
40304 if it has not yet been initialized.
40306 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40308 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40310 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40312 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40314 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40316 * po/nl.po: Update from translation team.
40317 * po/sv.po: Likewise.
40319 2011-07-16 Roland McGrath <roland@hack.frob.com>
40321 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40322 now disallowed by GCC.
40324 * configure.in (use-default-link): Default to yes if a test -shared
40325 link meets our qualifications.
40326 * configure: Regenerated.
40328 * config.make.in (output-format): New variable.
40329 * configure.in: Check for ld --print-output-format support.
40330 * configure: Regenerated.
40331 * Makerules ($(common-objpfx)format.lds)
40332 [$(output-format) != unknown]: Just use $(output-format),
40333 instead of the linker-script munging.
40335 2011-07-14 Roland McGrath <roland@hack.frob.com>
40337 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40338 of $(common-objpfx)shlib.lds.
40339 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40341 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40342 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40344 * configure.in (-z relro check): Adjust test code to add a large
40345 writable data section after it.
40346 * configure: Regenerated.
40348 2011-07-11 Roland McGrath <roland@hack.frob.com>
40350 * configure.in (-z relro check): Fix test code to make the variable
40352 * configure: Regenerated.
40354 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40356 * nscd/nscd.h (struct traced_file): Define.
40357 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40358 elements. Add traced_files.
40359 (inotify_fd): Declare.
40360 (register_traced_file): Declare.
40361 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40362 (inotify_fd): Export.
40363 (resolv_conf_descr): Remove.
40364 (nscd_init): Move inotify descriptor creation to main.
40365 Don't register files for notification here.
40366 (register_traced_file): New function.
40367 (invalidate_cache): Don't use reset_res to determine whether to call
40368 res_init, go through the list of registered files.
40369 (main_loop_poll): The inotify descriptors are now stored in the
40370 structures for the traced files.
40371 (main_loop_epoll): Likewise
40372 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40373 to __nss_disable_nscd.
40374 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40375 for a database anymore. Check the records for all the registered
40377 * nss/Makefile (libnss_files-routines): Add files-init.
40378 (libnss_db-routines): Add db-init.
40379 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40380 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40381 * nss/nss_db/db-init.c: New file.
40382 * nss/nss_files/files-init.c: New file.
40383 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40384 __nss_lookup_function.
40385 (__nss_lookup_function): Call nss_load_library.
40386 (nss_load_all_libraries): New function.
40387 (__nss_disable_nscd): Take parameter with callback function for files
40388 to register. Set is_nscd. Load all the DSOs for the NSS modules
40389 used for the cached services.
40390 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40391 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40392 options for features to all the files in nscd.
40394 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40396 2011-07-10 Roland McGrath <roland@hack.frob.com>
40398 * csu/elf-init.c (__libc_csu_init): Comment typo.
40400 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40402 * po/pl.po: Update from translation team.
40403 * po/ja.po: Likewise.
40404 * po/ru.po: Likewise.
40405 * po/ko.po: Likewise.
40406 * po/fr.po: Likewise.
40408 2011-07-09 Roland McGrath <roland@hack.frob.com>
40410 * configure.in (.ctors/.dtors header and trailer check):
40411 Use an empirical test on a built program.
40412 * configure: Regenerated.
40414 * configure.in (-z relro check): Use an empirical test on a built DSO.
40415 Detect, but do not require, on ia64.
40416 * configure: Regenerated.
40418 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40419 Update tests that use readelf to use $READELF instead.
40420 * configure: Regenerated.
40422 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40424 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40425 if the result is not used.
40427 2011-07-05 Andreas Jaeger <aj@suse.de>
40430 * stdlib/tst-strtod.c: Add testcase.
40432 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40434 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40435 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40436 The latter has a higher limit. Take additional parameter to pass to
40438 (__pathconf): Pass file to __statfs_link_max.
40439 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40441 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40445 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40446 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40448 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40449 (__statfs_filesize_max): Likewise.
40450 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40452 2011-07-05 Andreas Jaeger <aj@suse.de>
40454 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40456 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40458 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40460 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40463 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40465 * Makefile (strop-tests): Add strncat.
40466 * string/test-strncat.c: New file.
40468 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40470 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40472 2011-06-21 Andreas Jaeger <aj@suse.de>
40474 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40475 Copy rule from iconvdata/Makefile.
40477 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40480 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40481 but no long options are defined, just return 'W'.
40483 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40486 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40488 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40490 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40492 (innetgr): Likewise.
40494 2011-07-05 Roland McGrath <roland@hack.frob.com>
40496 * config.make.in (install_root): Default to $(DESTDIR).
40498 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40500 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40502 2011-07-02 Roland McGrath <roland@hack.frob.com>
40504 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40506 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40507 containing directory rather than embedding absolute directory names.
40509 * scripts/check-local-headers.sh: Rewritten using awk.
40510 Match by word, not by line. Print error messages for matches.
40511 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40513 * Makerules [shlib-lds-flags empty]:
40514 ($(common-objpfx)libc_pic.opts): New target.
40515 ($(common-objpfx)libc_pic.os.clean): New target.
40516 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40518 * config.make.in (OBJCOPY): New variable.
40519 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40520 * configure: Regenerated.
40522 * config.make.in (use-default-link): New variable.
40523 * configure.in (use_default_link): Grok --with-default-link to set it.
40524 * configure: Regenerated.
40525 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40526 (shlib-lds, shlib-lds-flags): Define to empty.
40528 * Makerules (shlib-lds): New variable.
40529 (shlib-lds-flags): New variable.
40530 (build-shlib, build-moduile, build-module-asneeded): Use it.
40531 ($(common-objpfx)libc.so): Use $(shlib-lds).
40532 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40533 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40535 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40536 DT_FLAGS/DT_FLAGS_1 with zero flags.
40538 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40539 linker script munging.
40541 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40543 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40545 * crypt/sha512.c (sha512_process_block): Perform total addition using
40546 128-bit if possible.
40547 (__sha512_finish_ctx): Likewise.
40548 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40550 * crypt/sha256.c (SWAP64): Define.
40551 (sha256_process_block): Perform total addition using 64-bit if
40553 (__sha256_finish_ctx): Likewise.
40555 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40557 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40558 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40559 * nscd/hstcache.c (cache_addhst): Likewise.
40560 * nscd/grpcache.c (cache_addgr): Likewise.
40561 * nscd/aicache.c (addhstaiX): Likewise
40562 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40564 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40566 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40567 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40568 * nscd/hstcache.c (cache_addhst): Likewise.
40569 * nscd/grpcache.c (cache_addgr): Likewise.
40570 * nscd/aicache.c (addhstaiX): Likewise
40572 2011-07-01 Andreas Schwab <schwab@redhat.com>
40574 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40575 domain only when needed.
40577 2011-06-30 Andreas Schwab <schwab@redhat.com>
40579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40580 is always restored.
40582 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40584 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40585 are re-adding the entry.
40586 * nscd/servicescache.c (cache_addserv): Likewise.
40588 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40590 * sysdeps/generic/dl-irel.h: fix protection against multiple
40592 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40594 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40597 * malloc/memusage.sh: Fix quoting in message.
40598 * debug/xtrace.sh: Likewise.
40600 * configure.in: Remove support for --experimental-malloc option, make
40602 * config.make.in: Likewise.
40603 * malloc/Makefile: Likewise.
40605 2011-06-27 Andreas Schwab <schwab@redhat.com>
40607 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40608 two-byte characters.
40610 2011-06-27 Roland McGrath <roland@hack.frob.com>
40612 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40613 AC_CACHE_CHECK invocation.
40614 * configure: Regenerated.
40616 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40618 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40621 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40622 bit from old_res_options.
40624 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40626 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40627 value type for setfct.
40629 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40631 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40632 __gettimeofday instead of gettimeofday.
40634 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40636 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40638 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40640 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40642 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40645 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40648 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40649 strcpy-sse2-unaligned strncpy-sse2-unaligned
40650 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40651 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40652 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40653 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40654 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40655 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40656 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40657 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40658 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40659 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40660 (STRCPY): Support SSE2 and SSSE3 versions.
40662 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40665 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40666 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40667 kernels which artificially limit size of requests.
40669 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40672 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40673 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40674 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40675 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40676 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40677 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40678 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40679 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40680 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40681 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40682 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40683 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40684 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40685 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40687 Enable unaligned load optimization for Intel Core i3, i5 and i7
40689 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40691 (index_Fast_Unaligned_Load): Define.
40692 (HAS_FAST_UNALIGNED_LOAD): Define.
40694 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40696 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40698 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40701 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40702 until it is clear that the information is realy needed.
40703 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40705 2011-06-22 Andreas Schwab <schwab@redhat.com>
40707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40709 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40711 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40712 /sys/devices/system/cpu/online if it is usable.
40714 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40715 reading the information from the /proc filesystem to once a second.
40717 2011-06-21 Andreas Jaeger <aj@suse.de>
40719 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40720 NULL after inclusion of kernel headers.
40722 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40724 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40725 calls to internal_setent.
40728 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40729 addresses using gethostbyname4_r ignore IPv4 addresses.
40731 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40732 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40734 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40736 2011-06-20 David S. Miller <davem@davemloft.net>
40738 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40740 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40742 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40743 (elf_irel): Use it.
40744 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40745 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40746 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40747 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40748 * sysdeps/x86_64/dl-irel.h: Likewise.
40750 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40751 * elf/dl-sym.c: Likewise.
40753 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40755 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40756 need to dereference resplen2.
40758 2011-06-14 Andreas Schwab <schwab@redhat.com>
40760 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40762 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40764 * Makeconfig: Define vardbdir and inst_vardbdir.
40765 * nss/Makefile: Add rules to install db-Makefile.
40767 * nss/nss_db/db-XXX.c: Cleanup.
40769 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40770 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40772 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40773 * nss/makedb.c: Implement -g option to specify that value strings
40774 are generated and should not be added to table iterated over for
40776 * nss/nss_db/db-initgroups.c: New file.
40778 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40781 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40782 (internal_getgrouplist): Adjust to name change.
40783 Update use_initgroups_entry if this is not the first call.
40784 * nss/databases.def: Add initgroups entry.
40786 * nss/makedb.c (compute_tables): Check result of multiple hash table
40787 sizes to minimize maximum chain length.
40789 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40791 * Versions.def: Add entry for libnss_db.
40792 * shlib-versions: Likewise.
40793 * nss/Makefile: Add rules to build libnss_db.
40794 * nss/Versions: Add libnss_db information. Organize libnss_files
40796 * nss/db-Makefile: Add gshadow support. Change rules for the new
40797 makedb progra. Some minor improvements to generate smaller files.
40798 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40800 * nss/makedb.c: ...here.
40801 Improve database format to be smaller and require less memory at
40803 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40805 * nss/nss_db/db-netgrp.c: Likewise.
40806 * nss/nss_db/db-open.c: Likewise.
40807 * nss/nss_files/flies-XXX.x: Adjust comments.
40808 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40809 * nss/nss_files/files-grp.c: Likewise.
40810 * nss/nss_files/files-hosts.c: Likewise.
40811 * nss/nss_files/files-network.c: Likewise.
40812 * nss/nss_files/files-proto.c: Likewise.
40813 * nss/nss_files/files-pwd.c: Likewise.
40814 * nss/nss_files/files-rpc.c: Likewise.
40815 * nss/nss_files/files-service.c: Likewise.
40816 * nss/nss_files/files-sgrp.c: Likewise.
40817 * nss/nss_files/files-spwd.c: Likewise.
40818 * nss/nss_db/db-alias.c: Removed.
40819 * nss/nss_db/dummy-db.h: Removed.
40821 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40823 * nss/makedb.c: Rewritten to not use database library.
40824 * nss/Makefile: Update to build new makedb program.
40826 2011-06-14 Andreas Jaeger <aj@suse.de>
40828 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40829 memset declaration.
40831 2011-06-10 Andreas Schwab <schwab@redhat.com>
40833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40836 2011-06-10 Roland McGrath <roland@hack.frob.com>
40838 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40839 * elf/Makefile ($(objpfx)ld.so): Likewise.
40841 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40842 Don't list ld.so twice in dependencies.
40844 * posix/bug-regex31.c: Include <stdlib.h>.
40846 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40848 * nis/nss_compat/compat-spwd.c
40849 (getspent_next_nss_netgr): Remove unused variable.
40850 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40852 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40853 nonmembers" output to use the right array.
40855 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40857 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40859 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40860 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40861 * catgets/gencat.c (read_input_file): Likewise.
40862 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40864 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40865 variable definition inside #if's controlling its use.
40867 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40869 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40871 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40873 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40876 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40878 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40879 * configure: Regenerated.
40881 * Makerules: Revert last change.
40882 * elf/Makefile: Likewise.
40884 2011-06-09 Roland McGrath <roland@hack.frob.com>
40886 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40887 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40888 (reloc-link): Likewise.
40890 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40892 * elf/Makefile: Add rules to build pldd.
40893 * elf/pldd.c: New file.
40894 * elf/pldd-xx.c: New file.
40896 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40898 * version.h: Update for 2.15 development version.
40900 2011-06-07 David S. Miller <davem@davemloft.net>
40902 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40904 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40905 elf_machine_lazy_rel): Likewise.
40906 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40907 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40908 elf_machine_lazy_rel): Likewise.
40909 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40910 dl_hwcap via passed in argument.
40911 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40914 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40916 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40918 2011-06-06 Roland McGrath <roland@hack.frob.com>
40921 * manual/fdl-1.1.texi: New file, verbatim from:
40922 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40923 * manual/lgpl-2.1.texi: New file, verbatim from:
40924 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40925 * manual/Makefile (licenses): New variable, list those new file names.
40927 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40929 * manual/fdl.texi: File removed.
40930 * manual/lesser.texi: File removed.
40931 * manual/libc.texinfo (Copying, Documentation License):
40932 Use new @include file names, put @appendix directive before @include.
40934 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40937 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40938 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40939 (mq_open): Add __NTH.
40941 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40944 Assume Intel Core i3/i5/i7 processor if AVX is available.
40946 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40948 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40951 2011-05-31 Andreas Schwab <schwab@redhat.com>
40953 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40954 memory. Use alloca_account. Fix memory leak when retrying.
40956 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40958 * version.h (RELEASE): Bump for 2.14 release.
40959 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40961 * config.make.in (RANLIB): Remove entry.
40963 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40965 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40966 (libc.pot): Work around missing support for .ksh extension in xgettext.
40969 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40970 if both request failed.
40971 (send_dg): In case of server errors clear resplen or *resplen2.
40974 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40975 when there are multiple maps.
40976 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40977 (_dl_fini): Remove test here.
40979 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40981 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40984 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40985 bit from old_res_options.
40986 (gaih_inet): Likewise.
40989 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40992 * resolv/res_init.c (res_setoptions): Make the code more compact.
40995 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40999 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41001 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41004 * malloc/malloc.h: Declare malloc hook variables as volatile.
41006 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41010 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41011 raise in the comment.
41012 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41013 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41014 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41016 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41019 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41020 grow the buffers more if it already has to be sufficient.
41021 (build_wcs_upper_buffer): Likewise.
41022 * posix/regexec.c (check_matching): Likewise.
41023 (clean_state_log_if_needed): Likewise.
41024 (extend_buffers): Don't enlarge buffers beyond size of the input
41026 Patches mostly by Emil Wojak <emil@wojak.eu>.
41027 * posix/bug-regex32.c: New file.
41028 * posix/Makefile (tests): Add bug-regex32.
41030 * locale/findlocale.c (_nl_find_locale): Return right away if
41031 _nl_explode_name failed.
41032 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41034 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41036 * debug/xtrace.sh: Unify messages.
41037 * malloc/memusage.sh: Likewise.
41040 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41041 time symbol from vDSO. Substitute with vsyscall if not available.
41042 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41045 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41046 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41047 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41048 Add sendmmsg and internal_sendmmsg.
41049 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41050 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41051 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41053 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41054 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41055 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41057 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41060 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41061 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41063 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41067 * iconvdata/Makefile (tests): Add bug-iconv9.
41068 * iconvdata/bug-iconv9.c: New file.
41070 2011-05-27 Andreas Schwab <schwab@redhat.com>
41073 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41075 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41077 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41078 (struct user_regs_struct): Change intcs field back to cs.
41080 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41082 * po/ja.po: Update from translation team.
41084 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41087 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41088 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41090 2011-05-20 Andreas Schwab <schwab@redhat.com>
41092 * stdlib/longlong.h: Update from GCC.
41094 2011-05-23 Andreas Schwab <schwab@redhat.com>
41096 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41098 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41099 Add parameter name.
41100 (__sysconf): Pass it down.
41102 2011-05-22 Ulrich Drepper <drepper@gmail.com>
41105 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41107 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41108 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41109 add in in __libc_use_alloca calls. Adjust callers.
41110 (glob): Use malloc in some situations.
41112 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41113 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41116 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41118 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41119 and CLOCK_BOOTTIME_ALARM.
41122 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41125 * string/_strerror.c (__strerror_r): Print negative errors as signed
41129 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41130 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41131 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41133 * configure.in: Fix typo in redirection and correct removal of test
41134 files in two cases.
41137 * locale/setlocale.c (new_composite_name): Fix test to check for
41138 identical name of all categories.
41141 * libio/filedoalloc.c (local_isatty): New function.
41142 (_IO_file_doallocate): Use local_isatty.
41143 * stdio-common/perror.c (perror): In case a new stream is used
41144 forward the stream error.
41145 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41148 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41153 * include/alloca.h (extend_alloca_account): Define.
41156 * posix/regex.h: Fix comments with documentation of user-accessible
41157 fields after compilation and describe correct free'ing of pattern
41158 after re_compile_pattern.
41159 Patch by Reuben Thomas <rrt@sc3d.org>.
41161 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41163 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41164 and -mno-altivec to prevent the compiler from using Altivec and/or
41165 VSX instructions when the corresponding registers are not available.
41167 2011-05-19 Andreas Schwab <schwab@redhat.com>
41169 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41171 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41173 * libio/freopen.c (freopen): Use __dup2, not dup2.
41174 * libio/freopen64.c (freopen64): Likewise.
41176 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41179 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41180 * math/Makefile (tests): Add test-powl.
41181 (CFLAGS-test-powl.c): Define.
41182 * math/test-powl.c: New file.
41184 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41186 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41188 2011-05-17 Ulrich Drepper <drepper@gmail.com>
41191 * iconvdata/gb18030.c: Update to GB18020-2005.
41193 2011-05-16 Ulrich Drepper <drepper@gmail.com>
41195 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41196 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41197 Patch by Aharon Robbins <arnold@skeeve.com>.
41200 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41204 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41205 through underflows.
41208 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41209 point to strings before performing equality test for error_one_per_line
41213 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41216 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41217 (struct user_fpregs_struct): Avoid __uint*_t types.
41220 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41221 symbol info. Use it instead of calling _dl_addr locally.
41222 (lock_and_info): New function.
41223 (tr_freehook): Call lock_and_info and pass symbol info as additional
41224 parameter to tr_where.
41225 (tr_mallochook): Likewise.
41226 (tr_reallochook): Likewise.
41227 (tr_memalignhook): Likewise.
41229 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41230 used and couldn't be at all thread-safe.
41232 2011-05-15 Ulrich Drepper <drepper@gmail.com>
41234 * libio/freopen.c (freopen): Don't close old file descriptor
41235 before the new one is opened. Instead dup the new file descriptor
41236 to the old one after the new stream is created.
41237 * libio/freopen64.c (freopen64): Likewise.
41238 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41239 * libio/fileops.c (_IO_new_file_close_it): Handle new
41240 _IO_FLAGS2_NOCLOSE flag.
41241 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41242 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41243 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41244 _IO_FLAGS2_NOCLOSE flag.
41245 * include/unistd.h: Add hidden_proto for dup3.
41246 Define __have_dup3.
41247 * io/dup3.c: Define hidden symbol.
41248 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41251 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41252 when an incomplete long option is used.
41253 * posix/tst-getopt_long1.c: New file.
41254 * posix/Makefile (tests): Add tst-getopt_long1.
41257 * scripts/config.guess: Update from autoconf-2.68.
41258 * scripts/config.sub: Likewise.
41261 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41263 (has_cpuclock): ...this. New function.
41264 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41265 macro here based on has_cpuclock code.
41268 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41269 First byte (not low byte) is now always NUL.
41270 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41272 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41273 Use non-cancelable interfaces.
41276 * locale/iso-639.def: Add entry for Sorani.
41279 * include/stdlib.h: Move include protection to the right place.
41280 Define abort_msg_s. Declare __abort_msg with it.
41281 * stdlib/abort.c (__abort_msg): Adjust type.
41282 * assert/assert.c (__assert_fail_base): New function. Majority
41283 of code from __assert_fail. Allocate memory for __abort_msg with
41285 (__assert_fail): Now call __assert_fail_base.
41286 * assert/assert-perr.c: Remove bulk of implementation. Use
41287 __assert_fail_base.
41288 * include/assert.hL Declare __assert_fail_base.
41289 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41291 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41293 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41297 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41298 until all modules are registered in the DTV.
41299 * elf/Makefile: Add rules to build and run tst-tls19.
41300 * elf/tst-tls19.c: New file.
41301 * elf/tst-tls19mod1.c: New file.
41302 * elf/tst-tls19mod2.c: New file.
41303 * elf/tst-tls19mod3.c: New file.
41304 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41307 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41311 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41312 two-byte sequence errors.
41313 * iconvdata/Makefile (tests): Add bug-iconv8.
41314 * iconvdata/bug-iconv8.c: New file.
41317 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41320 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41323 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41324 (dummy_getcfa): New function.
41325 (init): Get _Unwind_GetCFA address, use dummy if not found.
41326 (backtrace_helper): In recursion check, also check whether CFA changes.
41327 (__backtrace): Completely initialize arg.
41329 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41330 storing incomplete byte sequence in state object. Avoid testing for
41331 guaranteed too small input if we know there is enough data available.
41333 2011-05-11 Andreas Schwab <schwab@redhat.com>
41335 * Makeconfig (+link-pie): Indent.
41336 * Rules (binaries-pie): Define if $(have-fpie) and
41338 (binaries-shared): Also filter out $(binaries-pie).
41339 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41340 * nscd/Makefile (others-pie): Add nscd.
41341 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41342 ($(objpfx)nscd): Remove command override.
41343 * login/Makefile (others-pie): Add pt_chown.
41344 ($(objpfx)pt_chown): Remove command override.
41345 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41346 remove command overrides.
41348 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41350 * libio/tst_putwc.c: Fix error messages.
41353 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41354 currently writing and seek to current position when not.
41355 * libio/Makefile (tests): Add bug-fclose1.
41356 * libio/bug-fclose1.c: New file.
41358 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41361 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41362 don't set DF_1_NODELETE here.
41363 (do_lookup_x): When entering new entry test for copy relocation
41364 and if necessary set DF_1_NODELETE flag.
41365 * elf/tst-unique4.cc: New file.
41366 * elf/tst-unique4.h: New file.
41367 * elf/tst-unique4lib.cc: New file.
41368 * elf/Makefile: Add rules to build and run tst-unique4.
41369 Patch by Piotr Bury <pbury@goahead.com>.
41371 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41374 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41377 * misc/mntent_r.c (addmntent): Flush the stream after the output
41380 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41381 (is_trusted_path_normalize): Skip initial colon. Append slash
41382 to empty buffer. Duplicate is_trusted_path code but allow
41383 constructed patch to be prefix.
41384 (is_dst): Allow $ORIGIN followed by /.
41385 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41386 Correct testing of result of is_trusted_path_normalize
41387 (decompose_rpath): Fix warning.
41389 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41392 * grp/initgroups.c (internal_getgrouplist): When we found the service
41393 list through the initgroups entry in nsswitch.conf do not always
41394 continue on a successful lookup. Don't always use the
41395 __nss_group_database value if it is set.
41396 * nss/nsswitch.conf (initgroups): Change action for successful db
41397 lookup to continue for compatibility.
41399 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41402 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41404 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41406 * iconvdata/tst-tables.sh: Likewise.
41407 * iconvdata/cp770.c: New file.
41408 * iconvdata/cp771.c: New file.
41409 * iconvdata/cp772.c: New file.
41410 * iconvdata/cp773.c: New file.
41411 * iconvdata/cp774.c: New file.
41412 * iconvdata/testdata/CP770: New file.
41413 * iconvdata/testdata/CP770..UTF8: New file.
41414 * iconvdata/testdata/CP771: New file.
41415 * iconvdata/testdata/CP771..UTF8: New file.
41416 * iconvdata/testdata/CP772: New file.
41417 * iconvdata/testdata/CP772..UTF8: New file.
41418 * iconvdata/testdata/CP773: New file.
41419 * iconvdata/testdata/CP773..UTF8: New file.
41420 * iconvdata/testdata/CP774: New file.
41421 * iconvdata/testdata/CP774..UTF8: New file.
41423 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41425 * iconvdata/gen-8bit-gap.sh: Likewise.
41426 * iconvdata/gen-8bit.sh: Likewise.
41428 * locale/iso-639.def: Add ary entry.
41431 * locale/C-translit.h.in: Add U20A1 transliteration.
41434 * locale/iso-639.def: Add wae entry.
41435 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41438 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41442 * locale/C-translit.h.in: Add entry for U20B9.
41443 Patch by pravin.d.s@gmail.com.
41445 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41448 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41449 ENAMETOOLONG use generic getcwd.
41450 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41451 in rtld. Use *stat64.
41452 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41453 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41454 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41455 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41456 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41457 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41458 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41459 __fstatat64 macros.
41460 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41461 * dirent/rewinddir.c: Add libc_hidden_def.
41462 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41463 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41465 * include/dirent.h (__alloc_dir): Add flags parameter.
41466 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41467 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41469 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41470 from fdopendir if O_CLOEXEC is already set.
41472 2011-03-15 Alan Modra <amodra@gmail.com>
41474 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41475 l_tls_firstbyte_offset non-zero. Save padding offset in
41476 l_tls_firstbyte_offset for later use.
41477 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41478 freeing static tls block.
41480 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41482 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41483 where #ifdef was intended. The intent is to prevent ARG_MAX from
41484 being defined by the kernel headers.
41486 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41489 * resolv/resolv.h: Define RES_NOTLDQUERY.
41490 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41491 no-tld-query and set RES_NOTLDQUERY.
41492 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41493 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41494 modern BIND to search name as TLD unless forbidden.
41496 2011-05-07 Petr Baudis <pasky@suse.cz>
41497 Ulrich Drepper <drepper@gmail.com>
41500 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41501 (is_trusted_path): ...to here.
41502 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41503 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41504 using is_trusted_path_normalize() in setuid scripts.
41506 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41508 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41509 __BEGIN/__END_DECLS.
41511 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41513 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41514 NSS_STATUS_NOTFOUND if no record was found.
41516 2011-05-05 Andreas Schwab <schwab@redhat.com>
41518 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41519 (headers-not-in-tirpc): Remove rpc/netdb.h
41520 * resolv/netdb.h: Revert last change.
41522 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41524 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41525 circular dependency between libgcc.a and libc.a.
41527 2011-05-05 Andreas Schwab <schwab@redhat.com>
41529 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41530 * nis/Makefile: Don't install rpcsvc/*.
41531 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41532 instead of <rpc/types.h>.
41533 (MAXHOSTNAMELEN): Define.
41535 2011-05-03 Andreas Schwab <schwab@redhat.com>
41537 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41539 2011-04-28 Maciej Babinski <mbabinski@google.com>
41542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41543 gethostbyname4_r when IPv6 results are possible.
41545 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41548 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41549 _PC_PIPE_BUF handling.
41551 2011-04-30 Bruno Haible <bruno@clisp.org>
41554 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41555 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41557 * inet/getnameinfo.c (getnameinfo): Likewise.
41559 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41561 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41562 to groups setting in database lookup.
41563 * nss/nsswitch.conf: Add initgroups entry.
41565 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41568 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41570 Patch by Eric Blake <eblake@redhat.com>.
41572 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41574 * sunrpc/Makefile (need-export-routines): Add svc_run.
41575 (routines): Remove svc_run.
41576 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41577 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41578 * sunrpc/svc_run.c (svc_run): Likewise.
41579 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41581 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41583 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41584 problem in reallocation in last patch.
41586 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41588 * sunrpc/Makefile: Move inclusion of Rules.
41590 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41592 * nss/nss_files/files-initgroups.c: New file.
41593 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41594 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41595 _nss_files_initgroups_dyn.
41597 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41599 * elf/elf.h (R_ARM_IRELATIVE): Define.
41601 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41603 * po/ru.po: Update from translation team.
41605 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41607 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41610 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41613 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41614 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41615 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41616 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41617 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41619 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41621 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41623 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41624 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41625 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41627 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41630 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41632 * stdlib/bug-getcontext.c: New file.
41633 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41635 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41637 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41638 instructions into .machine "z9-109".
41639 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41640 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41642 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41644 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41645 between environment variables and auxiliary vector.
41647 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41649 * Makefile: Add rules to build linkobj/libc.so.
41650 * include/libc-symbols.h: Define libc_hidden_nolink.
41651 * include/rpc/auth.h: Mark functions which are to be hidden.
41652 * include/rpc/auth_des.h: Likewise.
41653 * include/rpc/auth_unix.h: Likewise.
41654 * include/rpc/clnt.h: Likewise.
41655 * include/rpc/des_crypt.h: Likewise.
41656 * include/rpc/key_prot.h: Likewise.
41657 * include/rpc/pmap_clnt.h: Likewise.
41658 * include/rpc/pmap_prot.h: Likewise.
41659 * include/rpc/pmap_rmt.h: Likewise.
41660 * include/rpc/rpc_msg.h: Likewise.
41661 * include/rpc/svc.h: Likewise.
41662 * include/rpc/svc_auth.h: Likewise.
41663 * include/rpc/xdr.h: Likewise.
41664 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41665 * nss/Makefile: Likewise.
41666 * sunrpc/Makefile: Don't install headers. Build library with normal
41667 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41668 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41669 for the compat linking library. Remove use of INTDEF/INTUSE.
41670 * sunrpc/auth_none.c: Likewise.
41671 * sunrpc/auth_unix.c: Likewise.
41672 * sunrpc/authdes_prot.c: Likewise.
41673 * sunrpc/authuxprot.c: Likewise.
41674 * sunrpc/clnt_gen.c: Likewise.
41675 * sunrpc/clnt_perr.c: Likewise.
41676 * sunrpc/clnt_raw.c: Likewise.
41677 * sunrpc/clnt_simp.c: Likewise.
41678 * sunrpc/clnt_tcp.c: Likewise.
41679 * sunrpc/clnt_udp.c: Likewise.
41680 * sunrpc/clnt_unix.c: Likewise.
41681 * sunrpc/des_crypt.c: Likewise.
41682 * sunrpc/des_soft.c: Likewise.
41683 * sunrpc/get_myaddr.c: Likewise.
41684 * sunrpc/key_call.c: Likewise.
41685 * sunrpc/key_prot.c: Likewise.
41686 * sunrpc/netname.c: Likewise.
41687 * sunrpc/pm_getmaps.c: Likewise.
41688 * sunrpc/pm_getport.c: Likewise.
41689 * sunrpc/pmap_clnt.c: Likewise.
41690 * sunrpc/pmap_prot.c: Likewise.
41691 * sunrpc/pmap_prot2.c: Likewise.
41692 * sunrpc/pmap_rmt.c: Likewise.
41693 * sunrpc/publickey.c: Likewise.
41694 * sunrpc/rpc_cmsg.c: Likewise.
41695 * sunrpc/rpc_common.c: Likewise.
41696 * sunrpc/rpc_dtable.c: Likewise.
41697 * sunrpc/rpc_prot.c: Likewise.
41698 * sunrpc/rpc_thread.c: Likewise.
41699 * sunrpc/rtime.c: Likewise.
41700 * sunrpc/svc.c: Likewise.
41701 * sunrpc/svc_auth.c: Likewise.
41702 * sunrpc/svc_authux.c: Likewise.
41703 * sunrpc/svc_raw.c: Likewise.
41704 * sunrpc/svc_run.c: Likewise.
41705 * sunrpc/svc_simple.c: Likewise.
41706 * sunrpc/svc_tcp.c: Likewise.
41707 * sunrpc/svc_udp.c: Likewise.
41708 * sunrpc/svc_unix.c: Likewise.
41709 * sunrpc/svcauth_des.c: Likewise.
41710 * sunrpc/xcrypt.c: Likewise.
41711 * sunrpc/xdr.c: Likewise.
41712 * sunrpc/xdr_array.c: Likewise.
41713 * sunrpc/xdr_float.c: Likewise.
41714 * sunrpc/xdr_intXX_t.c: Likewise.
41715 * sunrpc/xdr_mem.c: Likewise.
41716 * sunrpc/xdr_rec.c: Likewise.
41717 * sunrpc/xdr_ref.c: Likewise.
41718 * sunrpc/xdr_sizeof.c: Likewise.
41719 * sunrpc/xdr_stdio.c: Likewise.
41721 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41724 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41725 * sysdeps/ia64/dl-tls.h: Likewise.
41726 * sysdeps/powerpc/dl-tls.h: Likewise.
41727 * sysdeps/s390/dl-tls.h: Likewise.
41728 * sysdeps/sh/dl-tls.h: Likewise.
41729 * sysdeps/sparc/dl-tls.h: Likewise.
41730 * sysdeps/x86_64/dl-tls.h: Likewise.
41731 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41733 2011-03-14 Andreas Schwab <schwab@redhat.com>
41735 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41736 rpath element also skip the following colon.
41737 (expand_dynamic_string_token): Add is_path parameter and pass
41738 down to DL_DST_REQUIRED and _dl_dst_substitute.
41739 (decompose_rpath): Call expand_dynamic_string_token with
41740 non-zero is_path. Ignore empty rpaths.
41741 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41744 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41749 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41752 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41753 Patch by Filipe David Manana <fdmanana@apache.org>.
41755 2011-04-07 Andreas Schwab <schwab@redhat.com>
41757 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41758 Maintain aligned stack.
41759 (CHECK_RSP): Remove unused macro.
41761 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41763 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41764 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41766 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41768 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41770 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41772 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41775 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41776 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41777 * sysdeps/x86_64/memmove.c: New file.
41778 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41779 (memcpy): Renamed to ...
41780 (__new_memcpy): This.
41781 (memcpy): Provide GLIBC_2_14 memcpy.
41782 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41783 (memcpy): Provide GLIBC_2_2_5 memcpy.
41785 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41788 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41790 2011-03-30 Andreas Schwab <schwab@redhat.com>
41792 * misc/syncfs.c: New file.
41793 * misc/Makefile (routines): Add syncfs.
41794 * posix/unistd.h: Declare syncfs.
41795 * sysdeps/unix/syscalls.list: Add syncfs.
41797 2011-04-01 Andreas Schwab <schwab@redhat.com>
41799 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41801 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41802 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41803 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41804 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41806 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41807 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41809 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41811 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41812 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41813 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41814 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41815 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41816 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41817 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41819 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41820 sync_file_range.c with -fexceptions.
41821 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41822 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41823 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41824 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41825 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41826 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41827 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41828 sync_file_range as cancellation point
41829 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41830 now a wrapper around __call_sync_file_range with cancellation handling.
41831 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41832 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41833 function name to __call_sync_file_range.
41834 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41835 Add call_sync_file_range.
41837 2011-04-01 Andreas Schwab <schwab@redhat.com>
41839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41842 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41844 * iconv/iconv.h: Fix typo in comment.
41845 * io/fcntl.h: Likewise.
41846 * libio/stdio.h: Likewise.
41847 * posix/spawn.h: Likewise.
41848 * posix/unistd.h: Likewise.
41849 * stdlib/stdlib.h: Likewise.
41850 * time/time.h: Likewise.
41851 * wcsmbs/wchar.h: Likewise.
41853 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41854 open_by_handle): Add.
41855 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41856 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41857 Augment a few comments.
41858 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41859 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41860 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41861 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41862 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41863 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41866 * io/fcntl.h (AT_EMPTY_PATH): Define.
41868 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41870 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41871 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41872 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41874 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41875 * Versions.def: Add GLIBC_2.14.
41876 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41879 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41881 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41883 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41885 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41888 * string/test-strncmp.c (do_page_test): New function.
41889 (check2): Likewise.
41890 (test_main): Call check2.
41891 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41893 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41896 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41897 Handle cache information in CPU leaf 4.
41898 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41900 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41903 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41904 character representation.
41905 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41907 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41909 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41910 END(__isnan) to END(__isnanf) to match function entry point/label
41911 EALIGN(__isnanf,...).
41913 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41915 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41917 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41920 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41921 copy from the symbol referenced in the relocation to initialize the
41923 Patch by Piotr Bury <pbury@goahead.com>.
41924 * elf/Makefile: Add rules to build and tst-unique3.
41925 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41926 * elf/tst-unique3.cc: New file.
41927 * elf/tst-unique3.h: New file.
41928 * elf/tst-unique3lib.cc: New file.
41929 * elf/tst-unique3lib2.cc: New file.
41931 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41933 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41935 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41936 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41939 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41941 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41942 to-be-loaded object along a path to loader is ld.so.
41944 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41945 Ulrich Drepper <drepper@gmail.com>
41947 * sysdeps/x86_64/memset.S: After aligning destination, code
41948 branches to different locations depending on the value of
41949 misalignment, when multiarch is enabled. Fix this.
41951 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41953 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41954 Set _x86_64_preferred_memory_instruction for AMD processsors.
41955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41956 Set bit_Prefer_SSE_for_memop for AMD processors.
41958 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41960 * libio/fmemopen.c (fmemopen): Optimize a bit.
41962 2011-03-03 Andreas Schwab <schwab@redhat.com>
41964 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41966 2011-03-03 Roland McGrath <roland@redhat.com>
41968 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41970 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41972 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41973 __bzero_ultra1 instead of __memset_ultra1.
41975 2011-02-23 Andreas Schwab <schwab@redhat.com>
41976 Ulrich Drepper <drepper@gmail.com>
41979 * include/link.h (struct link_map): Add l_orig_initfini.
41980 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41981 returning unsuccessfully.
41982 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41983 close of a file loaded at startup, restore the original l_initfini
41985 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41986 list, store the pointer.
41987 * elf/Makefile ($(objpfx)noload-mem): New rule.
41988 (noload-ENV): Define.
41989 (tests): Add $(objpfx)noload-mem.
41990 * elf/noload.c: Include <memcheck.h>.
41991 (main): Call mtrace. Close all opened handles.
41993 2011-02-17 Andreas Schwab <schwab@redhat.com>
41996 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41997 dependencies are missing.
41999 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42001 Fix __if_freereq crash: Unlike the generic version which uses free,
42003 * sysdeps/mach/hurd/ifreq.h: New file.
42005 2011-01-27 Petr Baudis <pasky@suse.cz>
42006 Ulrich Drepper <drepper@gmail.com>
42009 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42010 to extend_alloca().
42011 * stdio-common/bug23.c: New file.
42012 * stdio-common/Makefile (tests): Add bug23.
42014 2010-09-28 Andreas Schwab <schwab@redhat.com>
42015 Ulrich Drepper <drepper@gmail.com>
42018 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42019 before performing relro protection. At old place add assertion
42020 to make sure nothing changed.
42022 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42023 Glauber de Oliveira Costa <glommer@gmail.com>
42025 * elf/elf.h: Add new ARM TLS relocs.
42027 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42030 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42032 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42034 * sysdeps/wordsize-64/tst-writev.c: New file.
42036 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42038 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42039 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42040 insns in _dl_start to prevent a TOC reference before relocs are
42043 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42046 * Makeconfig: Remove RANLIB definition.
42047 * Makerules: Don't use RANLIB.
42048 * aclocal.m4: Remove ranlib test.
42049 * configure.in: No need to check for ranlib.
42050 * elf/rtld-Rules: Don't use RANLIB.
42052 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42054 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42056 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42057 inclusion protection macro.
42059 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42060 SIGRTMIN and SIGRTMAX and print information in that case only when
42061 SIGRTMIN is defined.
42063 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42065 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42066 arginfo fn returning -1.
42068 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42069 and thousands string is zero terminated.
42071 2011-02-03 Andreas Schwab <schwab@redhat.com>
42073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42074 sysdeps/unix/sysv/linux/bits/socket.h.
42076 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42078 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42079 (__CPU_COUNT): Remove old macros.
42080 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42081 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42082 (__CPU_ALLOC, __CPU_FREE): Add macros.
42083 (__sched_cpualloc, __sched_cpufree): Add declarations.
42085 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42087 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42088 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42089 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42090 (readdhstai): Return value of addhstaiX call.
42091 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42092 (addgrbyX): Return value returned by cache_addgr.
42093 (readdgrbyname): Return value returned by addgrbyX.
42094 (readdgrbygid): Likewise.
42095 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42096 (addpwbyX): Return value returned by cache_addpw.
42097 (readdpwbyname): Return value returned by addhstbyX.
42098 (readdpwbyuid): Likewise.
42099 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42100 (addservbyX): Return value returned by cache_addserv.
42101 (readdservbyname): Return value returned by addservbyX:
42102 (readdservbyport): Likewise.
42103 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42104 (addhstbyX): Return value returned by cache_addhst.
42105 (readdhstbyname): Return value returned by addhstbyX.
42106 (readdhstbyaddr): Likewise.
42107 (readdhstbynamev6): Likewise.
42108 (readdhstbyaddrv6): Likewise.
42109 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42110 (readdinitgroups): Return value returned by addinitgroupsX.
42111 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42112 (prune_cache): Keep track of timeout value of re-added entries.
42113 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42114 * nscd/nscd.h: Adjust prototypes of readd* functions.
42116 2011-02-04 Roland McGrath <roland@redhat.com>
42118 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42119 (nis_stats): Likewise.
42120 * nis/nis_modify.c (nis_modify): Likewise.
42121 * nis/nis_remove.c (nis_remove): Likewise.
42122 * nis/nis_add.c (nis_add): Likewise.
42124 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42126 * posix/fnmatch_loop.c: Add some consts.
42128 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42130 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42133 * config.make.in (config-cflags-novzeroupper): Define.
42134 * configure.in: Substitute libc_cv_cc_novzeroupper.
42135 * elf/Makefile (AVX-CFLAGS): Define.
42136 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42137 (CFLAGS-tst-auditmod4a.c): Likewise.
42138 (CFLAGS-tst-auditmod4b.c): Likewise.
42139 (CFLAGS-tst-auditmod6b.c): Likewise.
42140 (CFLAGS-tst-auditmod6c.c): Likewise.
42141 (CFLAGS-tst-auditmod7b.c): Likewise.
42142 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42144 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42146 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42147 function to the callback.
42148 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42150 2011-02-02 Andreas Schwab <schwab@redhat.com>
42152 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42155 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42158 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42160 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42162 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42165 * elf/Makefile: Add rules to build and run new test.
42166 * elf/tst-initorder.c: New file.
42167 * elf/tst-initorder.exp: New file.
42168 * elf/tst-initordera1.c: New file.
42169 * elf/tst-initordera2.c: New file.
42170 * elf/tst-initordera3.c: New file.
42171 * elf/tst-initordera4.c: New file.
42172 * elf/tst-initorderb1.c: New file.
42173 * elf/tst-initorderb2.c: New file.
42174 * elf/tst-order-a1.c: New file.
42175 * elf/tst-order-a2.c: New file.
42176 * elf/tst-order-a3.c: New file.
42177 * elf/tst-order-a4.c: New file.
42178 * elf/tst-order-b1.c: New file.
42179 * elf/tst-order-b2.c: New file.
42180 * elf/tst-order-main.c: New file.
42181 New test case by George Gensure <werkt0@gmail.com>.
42183 2010-10-01 Andreas Schwab <schwab@redhat.com>
42185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42186 decoding ACE if AI_CANONIDN.
42188 2011-01-18 Ulrich Drepper <drepper@gmail.com>
42190 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42192 2011-01-17 Ulrich Drepper <drepper@gmail.com>
42194 * version.h (RELEASE): Bump for 2.13 release.
42195 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42197 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42199 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42201 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42202 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42203 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42204 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42205 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42206 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42208 * posix/getconf.c: Update copyright year.
42209 * catgets/gencat.c: Likewise.
42210 * csu/version.c: Likewise.
42211 * debug/catchsegv.sh: Likewise.
42212 * debug/xtrace.sh: Likewise.
42213 * elf/ldconfig.c: Likewise.
42214 * elf/ldd.bash.in: Likewise.
42215 * elf/sprof.c (print_version): Likewise.
42216 * iconv/iconv_prog.c: Likewise.
42217 * iconv/iconvconfig.c: Likewise.
42218 * locale/programs/locale.c: Likewise.
42219 * locale/programs/localedef.c: Likewise.
42220 * malloc/memusage.sh: Likewise.
42221 * malloc/mtrace.pl: Likewise.
42222 * nscd/nscd.c (print_version): Likewise.
42223 * nss/getent.c: Likewise.
42225 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42226 PF_CAIF, and PF_ALG.
42227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42229 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42231 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42232 (modules-names): Use them.
42233 (ifunc-test-modules, ifunc-pie-tests): Define.
42234 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42235 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42236 (test-extras): Likewise.
42237 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42238 $(compile-command.c).
42239 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42240 (all-built-dso): Define.
42241 (check-textrel.out, check-execstack.out): Depend on it.
42243 * configure.in: Don't override --enable-multi-arch.
42245 2011-01-15 Ulrich Drepper <drepper@gmail.com>
42248 * nscd/hstcache.c (tryagain): Define.
42249 (cache_addhst): Return tryagain not notfound for temporary errors.
42250 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42253 2011-01-14 Ulrich Drepper <drepper@gmail.com>
42256 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42257 to make the syscall.
42258 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42261 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42262 and fall back to matching as normal character if the string ends before
42263 the matching ']' is found. This is what POSIX requires.
42264 * posix/testfnm.c: Adjust test result.
42265 * posix/globtest.sh: Adjust test result. Add new test.
42266 * posix/tst-fnmatch.input: Likewise.
42267 * posix/tst-fnmatch2.c: Add new test.
42269 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42271 * elf/Makefile (check-execstack): Revert last change. Depend on
42273 (check-execstack.h): New target.
42274 (generated): Add check-execstack.h.
42275 * elf/check-execstack.c: Include "check-execstack.h".
42276 (main): Revert last change.
42277 (handle_file): Return zero if GNU_STACK is absent and
42278 DEFAULT_STACK_PERMS doesn't include PF_X.
42280 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42282 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42283 in child fails because the descriptor is already closed.
42284 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42285 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42286 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42289 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42293 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42294 temporary buffer used to handle multi lookups locally.
42295 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42297 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42299 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42302 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42304 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42305 alignment for SSE2.
42307 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42310 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42311 characters. When rounding increased number of integer digits recompute
42313 * stdio-common/tst-grouping.c: New file.
42314 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42316 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42318 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42319 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42321 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42323 * bits/select.h: Likewise.
42325 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42327 * po/ja.po: Update from translation team.
42329 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42332 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42333 implementation just like for lxstat, fxstatat, et al.
42335 2010-12-27 Jim Meyering <meyering@redhat.com>
42338 * posix/regexec.c (build_trtable): Return failure indication upon
42339 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42341 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42344 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42345 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42346 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42347 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42350 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42353 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42354 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42356 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42358 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42359 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42360 script has SORT_BY_INIT_PRIORITY.
42361 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42362 NO_CTORS_DTORS_SECTIONS is defined.
42363 * elf/soinit.c: Likewise.
42364 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42365 NO_CTORS_DTORS_SECTIONS is defined.
42366 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42367 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42368 * sysdeps/sh/init-first.c: Likewise.
42369 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42371 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42373 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42374 always use the slow path.
42376 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42378 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42379 similar rule which adds the sysdep directories to the header search in
42380 order to pick up the correct platform stackinfo.h.
42381 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42382 perform test if it is, otherwise return successfully without testing.
42383 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42384 DEFAULT_STACK_PERMS define in stackinfo.h.
42385 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42386 defined in stackinfo.h.
42387 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42388 DEFAULT_STACK_PERMS defined in stackinfo.h.
42389 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42390 * sysdeps/ia64/stackinfo.h: Likewise.
42391 * sysdeps/s390/stackinfo.h: Likewise.
42392 * sysdeps/sh/stackinfo.h: Likewise.
42393 * sysdeps/sparc/stackinfo.h: Likewise.
42394 * sysdeps/x86_64/stackinfo.h: Likewise.
42395 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42396 PF_X for powerpc64. Retain PF_X for powerpc32.
42398 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42400 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42402 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42403 GETDENTS_64BIT_ALIGNED.
42405 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42407 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42409 2010-12-10 Andreas Schwab <schwab@redhat.com>
42411 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42414 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42415 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42417 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42418 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42420 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42423 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42426 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42428 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42430 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42432 * po/it.po: Update from translation team.
42434 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42436 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42439 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42441 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42443 2010-11-24 Andreas Schwab <schwab@redhat.com>
42445 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42447 (gaih_getanswer_slice): Likewise.
42449 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42453 2010-05-31 Petr Baudis <pasky@suse.cz>
42456 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42457 silently even in the chroot mode.
42459 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42461 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42462 last patch a bit. Pretty printing
42464 2010-05-31 Petr Baudis <pasky@suse.cz>
42467 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42468 initialization of skip_initgroups_dyn.
42470 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42472 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42473 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42475 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42477 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42479 2010-11-11 Andreas Schwab <schwab@redhat.com>
42481 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42482 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42483 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42484 ($(objpfx)tst-fnmatch-mem): New rule.
42485 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42486 * posix/tst-fnmatch.c (main): Call mtrace.
42488 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42490 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42491 Support Intel processor model 6 and model 0x2c.
42493 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42495 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42498 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42501 * string/test-strncasecmp.c (check_result): New function.
42502 (do_one_test): Use it.
42503 (check1): New function.
42504 (test_main): Use it.
42505 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42506 Support strcasecmp and strncasecmp.
42508 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42511 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42512 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42514 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42516 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42520 * sysdeps/x86_64/multiarch/bzero.S: New file.
42521 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42522 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42523 * sysdeps/x86_64/multiarch/memset.S: New file.
42524 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42526 Set bit_Prefer_SSE_for_memop for Intel processors.
42527 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42529 (index_Prefer_SSE_for_memop): Define.
42530 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42532 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42534 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42535 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42537 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42540 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42541 (__x86_64_raw_data_cache_size_half): Likewise.
42542 (__x86_64_raw_shared_cache_size): Likewise.
42543 (__x86_64_raw_shared_cache_size_half): Likewise.
42545 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42546 (__x86_64_raw_data_cache_size_half): Likewise.
42547 (__x86_64_raw_shared_cache_size): Likewise.
42548 (__x86_64_raw_shared_cache_size_half): Likewise.
42549 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42550 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42551 and __x86_64_raw_shared_cache_size_half. Round
42552 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42553 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42554 to multiple of 256 bytes.
42556 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42559 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42560 of inacessible symlinks. Verify result of symlink before returning it.
42561 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42562 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42564 2010-10-28 Erich Ritz <erichritz@gmail.com>
42566 * math/math.h (isinf): Fix typo in comment.
42568 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42570 * po/da.po: Update from translation team.
42572 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42574 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42575 is added to the list.
42577 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42578 Ulrich Drepper <drepper@gmail.com>
42580 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42581 the global list here. Move code to...
42582 (_dl_add_to_namespace_list): ...here. New function.
42583 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42584 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42585 * elf/dl-load.c (lose): Don't remove the element from the list.
42586 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42587 (_dl_map_object): Likewise.
42589 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42592 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42593 into all bytes of SSE register.
42594 Patch by Richard Li <richardpku@gmail.com>.
42596 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42599 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42602 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42604 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42605 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42606 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42607 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42612 2010-10-22 Andreas Schwab <schwab@redhat.com>
42614 * include/dlfcn.h (__RTLD_SECURE): Define.
42615 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42616 mode & __RTLD_SECURE instead.
42617 (open_path): Rename preloaded parameter to secure.
42618 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42619 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42620 * elf/dl-deps.c (openaux): Likewise.
42621 * elf/rtld.c (struct map_args): Remove is_preloaded.
42622 (map_doit): Don't use it.
42623 (dl_main): Likewise.
42624 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42625 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42627 2010-09-09 Andreas Schwab <schwab@redhat.com>
42629 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42630 (sysd-rules-targets): Remove duplicates.
42631 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42632 rtld-%.$o dependency.
42634 2010-10-18 Andreas Schwab <schwab@redhat.com>
42636 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42637 _dl_map_object do it.
42639 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42641 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42642 fast fma builtins, define the macros in the C99 standard.
42643 (FP_FAST_FMAF): Likewise.
42644 (FP_FAST_FMAL): Likewise.
42645 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42647 * bits/mathdef.h: Update copyright year.
42648 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42650 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42652 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42653 builtins, define the macros in the C99 standard.
42654 (FP_FAST_FMAF): Likewise.
42655 (FP_FAST_FMAL): Likewise.
42656 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42658 (FP_FAST_FMAF): Likewise.
42660 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42663 * math/libm-test.inc (fma_test): Some new testcases.
42664 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42665 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42666 y and infinite z. Do multiplication by C already in long double.
42667 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42669 y and infinite z. Do bitwise or of inexact bit into u.d.
42670 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42671 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42672 * sysdeps/i386/fpu/s_fma.S: Removed.
42673 * sysdeps/i386/fpu/s_fmal.S: Removed.
42675 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42678 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42679 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42680 computation is not scheduled after fetestexcept. Fix value
42681 of minimum denormal long double.
42683 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42686 * math/libm-test.inc (fma_test): Add some more tests.
42687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42690 2010-10-15 Andreas Schwab <schwab@redhat.com>
42692 * scripts/data/localplt-s390-linux-gnu.data: New file.
42693 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42695 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42698 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42699 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42701 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42703 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42705 if one of x and y is very large and the other is subnormal.
42706 * sysdeps/s390/fpu/s_fmaf.c: New file.
42707 * sysdeps/s390/fpu/s_fma.c: New file.
42708 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42709 * sysdeps/powerpc/fpu/s_fma.S: New file.
42710 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42711 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42712 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42714 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42717 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42719 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42720 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42721 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42722 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42723 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42724 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42725 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42727 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42730 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42731 * posix/bug-regex31.input: Add test case.
42733 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42735 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42736 * posix/bug-regex31.input: New file.
42739 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42740 (parse_sub_exp): Fix last change, use postorder.
42742 * posix/bug-regex31.c: New file.
42743 * posix/Makefile: Add rules to build and run bug-regex31.
42745 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42748 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42751 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42752 to have entries in sys_siglist.
42755 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42758 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42761 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42762 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42763 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42764 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42765 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42766 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42767 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42768 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42769 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42770 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42771 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42772 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42773 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42774 * math/ftestexcept.c (fetestexcept): Likewise.
42775 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42776 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42777 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42778 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42779 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42780 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42781 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42783 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42786 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42789 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42791 * string/bug-strstr1.c: New file.
42792 * string/Makefile: Add rules to build and run bug-strstr1.
42794 2010-10-05 Eric Blake <eblake@redhat.com>
42797 * string/str-two-way.h (two_way_long_needle): Always clear memory
42798 when skipping input due to the shift table.
42800 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42803 * malloc/mcheck.c: Handle large requests.
42806 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42807 for strncmp and strncasecmp.
42808 * string/stratcliff.c: Add tests for strcmp and strncmp.
42809 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42811 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42813 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42816 2010-09-30 Andreas Jaeger <aj@suse.de>
42818 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42819 (CGROUP_SUPER_MAGIC): Define.
42820 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42821 Handle btrfs and cgroup file systems.
42822 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42825 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42827 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42828 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42830 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42833 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42834 trying to locate the ELF header.
42836 2010-09-27 Andreas Schwab <schwab@redhat.com>
42839 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42840 Mask out sign-bit copies when constructing f_fsid.
42842 2010-09-24 Petr Baudis <pasky@suse.cz>
42844 * debug/stack_chk_fail_local.c: Add missing licence exception.
42845 * debug/warning-nop.c: Likewise.
42847 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42849 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42850 implementing getdents64 using getdents syscall, set d_type if
42851 __ASSUME_GETDENTS32_D_TYPE.
42853 2010-09-16 Andreas Schwab <schwab@redhat.com>
42855 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42856 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42858 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42861 * posix/unistd.h: Undo change of feature selection for ftruncate from
42864 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42866 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42869 2010-09-20 Andreas Schwab <schwab@redhat.com>
42871 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42873 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42875 2010-09-14 Andreas Schwab <schwab@redhat.com>
42877 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42878 variables after CHECK_SP call.
42879 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42881 2010-09-13 Andreas Schwab <schwab@redhat.com>
42882 Ulrich Drepper <drepper@redhat.com>
42884 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42885 re-relocationg ld.so.
42886 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42887 _dl_init_paths call.
42888 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42891 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42893 * resolv/res_init.c (__res_vinit): Count the default server we added.
42895 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42896 Ulrich Drepper <drepper@redhat.com>
42899 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42900 (____longjmp_chk): Use %ebx for saving value across system call.
42903 2010-09-06 Andreas Schwab <schwab@redhat.com>
42905 * manual/Makefile: Don't mix pattern rules with normal rules.
42907 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42909 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42911 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42912 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42913 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42914 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42915 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42918 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42921 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42922 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42924 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42926 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42927 * sysdeps/x86_64/addmul_1.S: Likewise.
42928 * sysdeps/x86_64/lshift.S: Likewise.
42929 * sysdeps/x86_64/mul_1.S: Likewise.
42930 * sysdeps/x86_64/rshift.S: Likewise.
42931 * sysdeps/x86_64/sub_n.S: Likewise.
42932 * sysdeps/x86_64/submul_1.S: Likewise.
42934 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42936 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42937 Define __sched_param instead of SCHED_* and sched_param when
42938 <bits/sched.h> is included with __need_schedparam defined.
42939 * bits/sched.h [__need_schedparam]
42940 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42941 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42942 (__defined_schedparam): Define to 1.
42943 (__sched_param): New structure, identical to sched_param.
42944 (__need_schedparam): Undefine.
42946 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42948 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42949 (epoll_create1): Declare.
42951 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42953 2010-08-31 Andreas Schwab <schwab@redhat.com>
42956 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42957 shifting retval into place.
42959 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42961 * nis/rpcsvc/nis.h: Update copyright notice.
42962 * nis/rpcsvc/nis.x: Likewise.
42963 * nis/rpcsvc/nis_callback.h: Likewise.
42964 * nis/rpcsvc/nis_callback.x: Likewise.
42965 * nis/rpcsvc/nis_object.x: Likewise.
42966 * nis/rpcsvc/nis_tags.h: Likewise.
42967 * nis/rpcsvc/yp.h: Likewise.
42968 * nis/rpcsvc/yp.x: Likewise.
42969 * nis/rpcsvc/ypupd.h: Likewise.
42970 * nis/yp_xdr.c: Likewise.
42971 * nis/ypupdate_xdr.c: Likewise.
42973 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42974 mainly the body of pmap_getport. Add parameters to specify timeouts.
42975 (pmap_getport): Use __libc_rpc_getport.
42976 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42977 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42978 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42980 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42985 2010-08-27 Roland McGrath <roland@redhat.com>
42987 * sysdeps/i386/i686/multiarch/Makefile
42988 (CFLAGS-varshift.c): New variable.
42990 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42992 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42993 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42995 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42997 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42999 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43001 * sysdeps/x86_64/strlen.S: Unroll the loop.
43002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43003 strlen-sse2 strlen-sse2-bsf.
43004 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43005 __strlen_no_bsf if bit_Slow_BSF is set.
43006 (__strlen_sse42): Removed.
43007 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43008 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43010 2010-08-25 Roland McGrath <roland@redhat.com>
43012 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43013 * sysdeps/x86_64/multiarch/varshift.c: New file.
43014 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43015 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43016 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43017 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43019 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43022 strlen-sse2 strlen-sse2-bsf.
43023 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43024 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43025 (__strlen_sse2): Removed.
43026 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43027 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43029 bit_Slow_BSF for Atom.
43030 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43031 (index_Slow_BSF): Define.
43032 (HAS_SLOW_BSF): Define.
43034 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43037 * resolv/res_init.c (__res_vinit): When no server address at all
43038 is given default to loopback.
43040 2010-08-24 Roland McGrath <roland@redhat.com>
43042 * configure.in: Remove config-name.h generation.
43043 * configure: Regenerated.
43044 * config-name.in: File removed.
43045 * scripts/config-uname.sh: New file.
43046 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43047 ($(objdir)config-name.h): New target.
43049 * sunrpc/rpc_parse.h: Avoid nested comment.
43051 2010-08-24 Richard Henderson <rth@redhat.com>
43052 Ulrich Drepper <drepper@redhat.com>
43053 H.J. Lu <hongjiu.lu@intel.com>
43055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43057 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43058 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43059 _mm_alignr_epi8 with _mm_loadu_si128.
43060 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43061 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43062 (__m128i_shift_right): Removed.
43063 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43064 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43065 * sysdeps/x86_64/multiarch/varshift.h: New file.
43066 * sysdeps/x86_64/multiarch/varshift.S: New file.
43068 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43070 * configure.in: Move assembler checks to before sysdep dir checking.
43072 2010-08-20 Petr Baudis <pasky@suse.cz>
43074 * LICENSES: Sync the sunrpc license.
43076 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43078 * sunrpc/auth_des.c: Update copyright notice once again.
43079 * sunrpc/auth_none.c: Likewise.
43080 * sunrpc/auth_unix.c: Likewise.
43081 * sunrpc/authdes_prot.c: Likewise.
43082 * sunrpc/authuxprot.c: Likewise.
43083 * sunrpc/bindrsvprt.c: Likewise.
43084 * sunrpc/clnt_gen.c: Likewise.
43085 * sunrpc/clnt_perr.c: Likewise.
43086 * sunrpc/clnt_raw.c: Likewise.
43087 * sunrpc/clnt_simp.c: Likewise.
43088 * sunrpc/clnt_tcp.c: Likewise.
43089 * sunrpc/clnt_udp.c: Likewise.
43090 * sunrpc/clnt_unix.c: Likewise.
43091 * sunrpc/des_crypt.c: Likewise.
43092 * sunrpc/des_soft.c: Likewise.
43093 * sunrpc/get_myaddr.c: Likewise.
43094 * sunrpc/getrpcport.c: Likewise.
43095 * sunrpc/key_call.c: Likewise.
43096 * sunrpc/key_prot.c: Likewise.
43097 * sunrpc/openchild.c: Likewise.
43098 * sunrpc/pm_getmaps.c: Likewise.
43099 * sunrpc/pm_getport.c: Likewise.
43100 * sunrpc/pmap_clnt.c: Likewise.
43101 * sunrpc/pmap_prot.c: Likewise.
43102 * sunrpc/pmap_prot2.c: Likewise.
43103 * sunrpc/pmap_rmt.c: Likewise.
43104 * sunrpc/rpc/auth.h: Likewise.
43105 * sunrpc/rpc/auth_unix.h: Likewise.
43106 * sunrpc/rpc/clnt.h: Likewise.
43107 * sunrpc/rpc/des_crypt.h: Likewise.
43108 * sunrpc/rpc/key_prot.h: Likewise.
43109 * sunrpc/rpc/netdb.h: Likewise.
43110 * sunrpc/rpc/pmap_clnt.h: Likewise.
43111 * sunrpc/rpc/pmap_prot.h: Likewise.
43112 * sunrpc/rpc/pmap_rmt.h: Likewise.
43113 * sunrpc/rpc/rpc.h: Likewise.
43114 * sunrpc/rpc/rpc_des.h: Likewise.
43115 * sunrpc/rpc/rpc_msg.h: Likewise.
43116 * sunrpc/rpc/svc.h: Likewise.
43117 * sunrpc/rpc/svc_auth.h: Likewise.
43118 * sunrpc/rpc/types.h: Likewise.
43119 * sunrpc/rpc/xdr.h: Likewise.
43120 * sunrpc/rpc_clntout.c: Likewise.
43121 * sunrpc/rpc_cmsg.c: Likewise.
43122 * sunrpc/rpc_common.c: Likewise.
43123 * sunrpc/rpc_cout.c: Likewise.
43124 * sunrpc/rpc_dtable.c: Likewise.
43125 * sunrpc/rpc_hout.c: Likewise.
43126 * sunrpc/rpc_main.c: Likewise.
43127 * sunrpc/rpc_parse.c: Likewise.
43128 * sunrpc/rpc_parse.h: Likewise.
43129 * sunrpc/rpc_prot.c: Likewise.
43130 * sunrpc/rpc_sample.c: Likewise.
43131 * sunrpc/rpc_scan.c: Likewise.
43132 * sunrpc/rpc_scan.h: Likewise.
43133 * sunrpc/rpc_svcout.c: Likewise.
43134 * sunrpc/rpc_tblout.c: Likewise.
43135 * sunrpc/rpc_util.c: Likewise.
43136 * sunrpc/rpc_util.h: Likewise.
43137 * sunrpc/rpcinfo.c: Likewise.
43138 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43139 * sunrpc/rpcsvc/key_prot.x: Likewise.
43140 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43141 * sunrpc/rpcsvc/mount.x: Likewise.
43142 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43143 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43144 * sunrpc/rpcsvc/rex.x: Likewise.
43145 * sunrpc/rpcsvc/rstat.x: Likewise.
43146 * sunrpc/rpcsvc/rusers.x: Likewise.
43147 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43148 * sunrpc/rpcsvc/spray.x: Likewise.
43149 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43150 * sunrpc/rtime.c: Likewise.
43151 * sunrpc/svc.c: Likewise.
43152 * sunrpc/svc_auth.c: Likewise.
43153 * sunrpc/svc_authux.c: Likewise.
43154 * sunrpc/svc_raw.c: Likewise.
43155 * sunrpc/svc_run.c: Likewise.
43156 * sunrpc/svc_simple.c: Likewise.
43157 * sunrpc/svc_tcp.c: Likewise.
43158 * sunrpc/svc_udp.c: Likewise.
43159 * sunrpc/svc_unix.c: Likewise.
43160 * sunrpc/svcauth_des.c: Likewise.
43161 * sunrpc/xcrypt.c: Likewise.
43162 * sunrpc/xdr.c: Likewise.
43163 * sunrpc/xdr_array.c: Likewise.
43164 * sunrpc/xdr_float.c: Likewise.
43165 * sunrpc/xdr_mem.c: Likewise.
43166 * sunrpc/xdr_rec.c: Likewise.
43167 * sunrpc/xdr_ref.c: Likewise.
43168 * sunrpc/xdr_sizeof.c: Likewise.
43169 * sunrpc/xdr_stdio.c: Likewise.
43171 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43174 2010-08-19 Andreas Schwab <schwab@redhat.com>
43176 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43178 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
43180 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43181 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43182 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43183 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43184 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43185 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43186 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43187 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43188 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43189 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43190 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43191 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43192 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43193 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43195 2010-07-26 Anton Blanchard <anton@samba.org>
43197 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43198 * malloc/arena.c (heap_trim): Likewise.
43200 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43202 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43204 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43205 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43207 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43209 * sysdeps/i386/elf/Makefile: New file.
43211 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43213 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43214 from fanotify_init.
43215 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43216 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43218 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43220 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43222 * sysdeps/multiarch/strcmp.S: Likewise.
43224 2010-08-14 Ulrich Drepper <drepper@redhat.com>
43226 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43227 strncase_l-nonascii.
43228 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43229 Add strncase_l-ssse3.
43230 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43231 * sysdeps/x86_64/strcmp.S: Likewise.
43232 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43233 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43234 * sysdeps/x86_64/strncase.S: New file.
43235 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43236 * sysdeps/x86_64/strncase_l.S: New file.
43237 * string/Makefile (strop-tests): Add strncasecmp.
43238 * string/test-strncasecmp.c: New file.
43240 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43243 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43244 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43246 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43248 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43250 2010-08-12 Ulrich Drepper <drepper@redhat.com>
43252 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43253 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43254 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43256 2010-05-01 Alan Modra <amodra@gmail.com>
43258 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43259 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43260 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43261 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43262 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43263 tidying. Don't tail-call __sigjmp_save for static lib.
43264 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43266 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43267 (CALL_MCOUNT): Add eh info, and nop after bl.
43268 (TAIL_CALL_SYSCALL_ERROR): New macro.
43269 (PSEUDO_RET): Use it.
43270 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43271 Correct save location of integer regs and cr.
43272 (_dl_profile_resolve): Correct cr save location. Delete nops
43273 after bl when SHARED. Reduce cfi size a little by better
43274 placement of cfi directives.
43275 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43276 make a stack frame. Instead use parm save area as a temp.
43277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43278 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43280 Don't make a stack frame for parent, use parm save area.
43281 Increase child stack frame to 112 bytes. Don't save unused reg,
43282 and adjust reg usage. Set up cfi on error recovery and
43283 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43285 (__makecontext): Add dummy nop after jump to exit.
43286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43287 Use correct parm save area and cr save, reduce stack frame.
43288 Correct cfi for possible PSEUDO_RET frame setup.
43289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43290 Branch to local label emitted by PSEUDO_RET rather than
43293 2010-08-12 Andreas Schwab <schwab@redhat.com>
43296 * locale/programs/locale.c (print_assignment): New function.
43297 (show_locale_vars): Use it.
43299 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43301 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43303 (struct statfs64): Likewise.
43304 (_STATFS_F_FLAGS): Define.
43305 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43306 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43307 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43308 (ST_VALID): Define locally.
43309 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43310 __statvfs_getflags, use the provided value.
43311 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43312 __ASSUME_STATFS_F_FLAGS.
43314 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43316 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43317 Add sys/fanotify.h.
43318 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43319 fanotify_mask for GLIBC_2.13.
43320 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43321 fanotify_init and fanotify_mark.
43322 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43323 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43325 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43327 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43328 prlimit64 for GLIBC_2.13.
43329 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43331 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43334 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43335 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43336 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43337 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43339 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43342 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43343 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43345 * nss/Makefile: Add rules to build and run tst-nss-test1.
43346 * shlib-versions: Add entry for libnss_test1.
43347 * nss/nss_test1.c: New file.
43348 * nss/tst-nss-test1.c: New file.
43350 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43351 (__nss_configure_lookup): Set appropriate entry in
43352 __nss_configure_lookup to true.
43353 * nss/nsswitch.h: Define enum with indeces of databases in
43354 databases and __nss_database_custom arrays. Declare
43355 __nss_database_custom.
43356 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43357 to avoid using nscd when custom rules are installed.
43358 * nss/getXXbyYY_r.c: Likewise.
43359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43361 * nss/nss_files/files-parse.c: Whitespace fixes.
43363 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43366 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43367 * posix/fnmatch_loop.c: Likewise.
43369 2010-07-17 Andi Kleen <ak@linux.intel.com>
43371 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43372 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43373 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43374 * Versions.def [GLIBC_2.13]: Add.
43376 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43378 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43379 Also fail if tpwd after pwuid call is NULL.
43381 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43383 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43384 when converting to ms.
43386 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43388 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43389 EOPNOTSUPP errors with ENOTTY.
43390 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43391 EOPNOTSUPP errors with ENOTTY.
43393 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43395 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43396 Add strcasecmp_l-ssse3.
43397 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43399 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43400 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43401 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43403 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43405 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43407 * string/Makefile (strop-tests): Add strcasecmp.
43408 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43409 strcasecmp_l-nonascii.
43410 (gen-as-const-headers): Add locale-defines.sym.
43411 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43412 * sysdeps/x86_64/strcasecmp.S: New file.
43413 * sysdeps/x86_64/strcasecmp_l.S: New file.
43414 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43415 * sysdeps/x86_64/locale-defines.sym: New file.
43416 * string/test-strcasecmp.c: New file.
43418 * string/test-strcasestr.c: Test both ends of the range of characters.
43419 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43421 2010-07-29 Roland McGrath <roland@redhat.com>
43424 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43426 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43428 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43431 2010-07-27 Andreas Schwab <schwab@redhat.com>
43433 * manual/memory.texi (Malloc Tunable Parameters): Document
43436 2010-07-26 Roland McGrath <roland@redhat.com>
43439 * configure.in (-fgnu89-inline check): Set and substitute
43440 gnu89_inline, not libc_cv_gnu89_inline.
43441 * configure: Regenerated.
43442 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43444 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43446 * string/test-strnlen.c: New file.
43447 * string/Makefile (strop-tests): Add strnlen.
43448 * string/tester.c (test_strnlen): Add a few more test cases.
43449 * string/tst-strlen.c: Better error reporting.
43451 * sysdeps/x86_64/strnlen.S: New file.
43453 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43455 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43456 lower-latency instructions.
43458 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43460 * string/test-strcasestr.c: New file.
43461 * string/test-strstr.c: New file.
43462 * string/Makefile (strop-tests): Add strstr and strcasestr.
43463 * string/str-two-way.h: Don't undefine MAX.
43464 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43466 2010-07-21 Andreas Schwab <schwab@redhat.com>
43468 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43469 strcasestr-nonascii.
43470 (CFLAGS-strcasestr-nonascii.c): Define.
43471 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43472 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43473 Remove unused attribute.
43475 2010-07-20 Roland McGrath <roland@redhat.com>
43477 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43478 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43479 ld.so.cache was broken. With it, there is no way to disable dsocaps
43480 like LD_HWCAP_MASK can disable hwcaps.
43482 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43484 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43486 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43488 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43489 call in strcasestr.
43490 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43491 __strcasestr_sse42_nonascii.
43492 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43493 strcasestr-nonascii.c.
43494 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43496 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43498 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43499 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43500 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43501 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43503 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43505 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43508 2010-07-06 Andreas Schwab <schwab@redhat.com>
43511 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43514 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43516 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43517 _PC_PIPE_BUF using F_GETPIPE_SZ.
43519 2010-07-05 Roland McGrath <roland@redhat.com>
43521 * manual/arith.texi (Rounding Functions): Fix rint description
43522 implicit in round description.
43524 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43526 * elf/Makefile: Fix linking for a few tests to make recent linker
43529 2010-06-30 Andreas Schwab <schwab@redhat.com>
43531 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43532 $(common-objpfx)libc_nonshared.a.
43534 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43536 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43537 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43538 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43539 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43540 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43541 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43542 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43543 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43558 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43559 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43560 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43561 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43562 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43563 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43564 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43565 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43566 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43567 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43568 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43569 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43585 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43587 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43588 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43589 * string/memmove.c (memmove): Renamed to ...
43590 (MEMMOVE): ...this. Default to memmove.
43591 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43592 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43595 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43596 mempcpy-ssse3-back memmove-ssse3-back.
43597 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43598 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43599 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43600 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43601 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43602 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43603 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43604 * sysdeps/x86_64/multiarch/memmove.c: New file.
43605 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43606 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43607 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43608 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43609 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43610 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43612 (index_Fast_Copy_Backward): Define.
43613 (HAS_ARCH_FEATURE): Define.
43614 (HAS_FAST_REP_STRING): Define.
43615 (HAS_FAST_COPY_BACKWARD): Define.
43617 2010-06-21 Andreas Schwab <schwab@redhat.com>
43619 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43620 Restore proper fallback handling.
43622 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43625 * posix/group_member.c (__group_member): Correct checking loop.
43627 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43628 OOM in getpwuid_r correctly. Return error number when the caller
43629 should return, otherwise -1.
43630 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43631 call returning > 0 value.
43632 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43634 2010-06-07 Andreas Schwab <schwab@redhat.com>
43636 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43637 libc_nonshared.a from targets in modules-names.
43639 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43641 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43644 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43646 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43647 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43648 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43649 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43651 2010-06-02 Andreas Schwab <schwab@redhat.com>
43653 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43655 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43657 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43659 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43660 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43661 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43663 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43664 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43666 2010-06-14 Roland McGrath <roland@redhat.com>
43668 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43670 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43672 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43673 __REDIRECT followed by __THROW.
43674 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43675 * posix/getopt.h (getopt): Likewise.
43677 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43679 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43680 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43681 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43683 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43684 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43686 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43688 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43690 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43694 Properly check family and model.
43696 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43698 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43700 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43702 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43704 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43706 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43709 2010-05-19 Andreas Schwab <schwab@redhat.com>
43711 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43714 2010-05-21 Andreas Schwab <schwab@redhat.com>
43716 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43717 and internal_recvmmsg.
43718 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43719 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43720 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43721 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43723 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43724 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43725 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43727 2010-05-20 Andreas Schwab <schwab@redhat.com>
43729 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43731 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43733 POWER7 optimizations.
43734 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43735 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43737 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43739 * version.h: Update for 2.13 development version.
43741 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43743 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43744 exceptions. Return 0.
43746 2010-05-07 Roland McGrath <roland@redhat.com>
43748 * elf/ldconfig.c (main): Add a const.
43750 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43752 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43753 (args_options): Add no-idn option.
43754 (ahosts_keys_int): Add idn_flags to ai_flags.
43755 (parse_option): Handle 'i' option to clear idn_flags.
43757 * malloc/malloc.c (_int_free): Possible race in the most recently
43758 added check. Only act on the data if no current modification
43761 See ChangeLog.17 for earlier changes.