1 2014-05-13 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6 * sysdeps/unix/sysv/linux/arm/Makefile
7 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8 Add rt-aeabi_unwind_cpp_pr1.
9 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10 Add nptl-aeabi_unwind_cpp_pr1.
11 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
23 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
24 Deconditionalize the code that was previously under [RESET_PID].
25 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
27 * sysdeps/generic/exit-thread.h: New file.
28 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29 * include/unistd.h (__exit_thread): Remove declaration.
30 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
32 * csu/libc-start.c: Include <exit-thread.h>.
33 (LIBC_START_MAIN): Pass no argument to __exit_thread.
34 * nptl/pthread_create.c: Include <exit-thread.h>.
35 (start_thread): Call __exit_thread in place of __exit_thread_inline.
36 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
38 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
40 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
43 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
44 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
45 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
46 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
47 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
48 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
49 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
50 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
51 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
53 2014-05-13 Andreas Schwab <schwab@suse.de>
55 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
57 2014-05-12 Joseph Myers <joseph@codesourcery.com>
59 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
60 (__ASSUME_UTIMES): Do not condition on kernel version.
61 (__ASSUME_PSELECT): Define unconditionally.
62 (__ASSUME_PPOLL): Likewise.
63 (__ASSUME_ATFCTS): Likewise.
64 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
65 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
66 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
67 (__ASSUME_UTIMENSAT): Define unconditionally.
68 (__ASSUME_PRIVATE_FUTEX): Likewise.
69 (__ASSUME_FALLOCATE): Likewise.
70 (__ASSUME_O_CLOEXEC): Likewise.
71 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
72 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
73 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
74 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
75 (__ASSUME_IN_NONBLOCK): Likewise.
76 (__ASSUME_PIPE2): Likewise.
77 (__ASSUME_EVENTFD2): Likewise.
78 (__ASSUME_SIGNALFD4): Likewise.
79 (__ASSUME_DUP3): Likewise.
80 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
81 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
82 (__ASSUME_AT_RANDOM): Likewise.
83 (__ASSUME_PREADV): Likewise.
84 (__ASSUME_PWRITEV): Likewise.
85 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
86 (__ASSUME_F_GETOWN_EX): Define unconditionally.
87 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
88 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
89 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
90 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
91 (__ASSUME_O_CLOEXEC): Define unconditionally.
92 (__ASSUME_PSELECT): Do not undefine conditionally.
93 (__ASSUME_PPOLL): Likewise.
94 (__ASSUME_ATFCTS): Likewise.
95 (__ASSUME_SET_ROBUST_LIST): Likewise.
96 (__ASSUME_UTIMENSAT): Likewise.
97 (__ASSUME_FDATASYNC): Define unconditionally.
98 * sysdeps/unix/sysv/linux/arm/kernel-features.h
99 (__ASSUME_SIGFRAME_V2): Likewise.
100 )__ASSUME_EVENTFD2): Likewise.
101 (__ASSUME_SIGNALFD4): Likewise.
102 (__ASSUME_PSELECT): Do not undefine conditionally.
103 (__ASSUME_PPOLL): Likewise.
104 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
105 (__ASSUME_PSELECT): Define unconditionally.
106 (__ASSUME_PPOLL): Likewise.
107 (__ASSUME_O_CLOEXEC): Likewise.
108 (__ASSUME_SOCK_CLOEXEC): Likewise.
109 (__ASSUME_IN_NONBLOCK): Likewise.
110 (__ASSUME_PIPE2): Likewise.
111 (__ASSUME_EVENTFD2): Likewise.
112 (__ASSUME_SIGNALFD4): Likewise.
113 (__ASSUME_DUP3): Likewise.
114 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
115 (__ASSUME_O_CLOEXEC): Likewise.
116 (__ASSUME_SOCK_CLOEXEC): Likewise.
117 (__ASSUME_IN_NONBLOCK): Likewise.
118 (__ASSUME_PIPE2): Likewise.
119 (__ASSUME_EVENTFD2): Likewise.
120 (__ASSUME_SIGNALFD4): Likewise.
121 (__ASSUME_DUP3): Likewise.
122 * sysdeps/unix/sysv/linux/mips/kernel-features.h
123 (__ASSUME_EVENTFD2): Likewise.
124 (__ASSUME_SIGNALFD4): Likewise.
125 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
127 2014-05-12 Andreas Schwab <schwab@suse.de>
130 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
131 (_nss_nis_gethostbyname4_r): Return error if item length is larger
132 than maximum RPC packet size.
133 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
134 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
135 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
136 (_nss_nis_getservbyport_r): Likewise.
138 2014-05-12 Will Newton <will.newton@linaro.org>
140 * malloc/Makefile (tests): Add tst-mallopt.
141 * malloc/tst-mallopt.c: New file.
143 2014-05-09 Roland McGrath <roland@hack.frob.com>
145 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
146 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
148 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
150 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
151 (tst-tlsmod6.so): Likewise.
153 2014-05-09 Roland McGrath <roland@hack.frob.com>
155 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
157 2014-05-09 Joseph Myers <joseph@codesourcery.com>
160 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
162 (__fegetenv): Save SSE state in envp->__eip if supported.
163 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
164 envp->__eip if supported.
165 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
167 (__fesetenv): Always set __eip, __cs_selector, __opcode,
168 __data_offset and __data_selector in environment to 0. Set SSE
170 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
172 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
174 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
176 2014-05-09 Will Newton <will.newton@linaro.org>
178 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
179 and libc_relro_required for ARM.
180 * sysdeps/arm/preconfigure: Regenerate.
182 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
183 Stefan Liebler <stli@linux.vnet.ibm.com>
185 * config.make.in (enable-lock-elision): New Makefile variable.
186 * configure.ac: Likewise.
187 * configure: Regenerate.
188 * sysdeps/s390/configure.ac:
189 Add check for gcc transactions support.
190 * sysdeps/s390/configure: Regenerate.
191 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
192 Build elision files if enabled.
193 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
194 Add lock elision support for s390.
195 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
196 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
197 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
198 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
199 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
200 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
201 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
203 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
205 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
207 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
209 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
210 (__lll_timedlock_elision, __lll_lock_elision)
211 (__lll_unlock_elision, __lll_trylock_elision)
212 (lll_timedlock_elision, lll_lock_elision)
213 (lll_unlock_elision, lll_trylock_elision): Add.
214 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
215 (pthread_mutex_t): Add lock elision support for s390.
217 2014-05-09 Will Newton <will.newton@linaro.org>
219 * sysdeps/arm/armv7/strcmp.S: New file.
220 * NEWS: Mention addition of ARMv7 optimized strcmp.
222 2014-05-08 Roland McGrath <roland@hack.frob.com>
224 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
225 look for %.ac rather than %.in.
227 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
228 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
229 * sysdeps/mach/hurd/configure: Regenerated.
230 * sysdeps/unix/sysv/linux/configure: Regenerated.
232 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
234 2014-05-07 Steve Ellcey <sellcey@mips.com>
237 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
241 2014-05-07 Andreas Schwab <schwab@suse.de>
243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
244 when skipping over non-matching result from nscd.
246 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
249 * nptl/sockperf.c (client): Check socket return value.
252 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
255 2014-05-06 Roland McGrath <roland@hack.frob.com>
257 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
258 * sysdeps/arm/unwind.h: ... here.
260 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
263 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
266 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
268 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
269 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
270 multiarch strncpy for PPC64.
271 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
272 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
274 multiarch optimizations.
275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
276 (__libc_ifunc_impl_list): Likewise.
277 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
278 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
279 multiarch stpncpy for PPC64.
280 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
281 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
283 2014-05-06 Andreas Schwab <schwab@suse.de>
286 * gmon/mcount.c (_MCOUNT_DECL): Use
287 atomic_compare_and_exchange_bool_acq instead of
288 catomic_compare_and_exchange_bool_acq.
290 2014-05-05 Roland McGrath <roland@hack.frob.com>
292 * elf/Makefile (others, install-bin): Remove pldd.
293 (pldd-modules): Variable removed.
294 ($(objpfx)pldd): Target removed.
295 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
296 (others, install-bin): Append pldd here.
297 ($(objpfx)pldd): New target.
299 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
300 to 0, so the first #if test emitted later doesn't see it undefined.
301 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
302 * sysdeps/gnu/errlist.c: Regenerated.
304 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
306 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
307 [libc_hidden_builtin_def]: Define to empty value.
308 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
309 [libc_hidden_builtin_def]: Likewise.
310 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
311 [libc_hidden_builtin_def]: Likewise.
312 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
313 [libc_hidden_builtin_def]: Likewise.
314 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
315 __redirect_memcpy and define ifunc as default hidden symbol.
316 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
317 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
319 2014-05-04 Adam Conrad <adconrad@0c3.net>
321 * locale/iso-4217.def: Reintroduce XDR currency.
323 2014-05-04 Allan McRae <allan@archlinux.org>
325 * po/eo.po: Update Esperanto translation from translation project.
327 2014-05-02 Carlos O'Donell <carlos@redhat.com>
329 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
330 and FEATURE_INDEX_MAX to 1.
331 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
333 2014-05-01 Steve Ellcey <sellcey@mips.com>
335 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
336 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
337 * iconvdata/big5.c (ONE_DIRECTION): Define.
338 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
339 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
340 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
341 * iconvdata/cp932.c (ONE_DIRECTION): Define.
342 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
343 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
344 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
345 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
346 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
347 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
348 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
349 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
350 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
351 * iconvdata/gbk.c (ONE_DIRECTION): Define.
352 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
353 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
354 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
355 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
356 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
357 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
358 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
359 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
360 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
361 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
362 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
363 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
364 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
365 * iconvdata/iso646.c (ONE_DIRECTION): Define.
366 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
367 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
368 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
369 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
370 * iconvdata/johab.c (ONE_DIRECTION): Define.
371 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
372 * iconvdata/sjis.c (ONE_DIRECTION): Define.
373 * iconvdata/t.61.c (ONE_DIRECTION): Define.
374 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
375 * iconvdata/tscii.c (ONE_DIRECTION): Define.
376 * iconvdata/uhc.c (ONE_DIRECTION): Define.
377 * iconvdata/unicode.c (ONE_DIRECTION): Define.
378 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
379 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
380 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
382 2014-05-01 Roland McGrath <roland@hack.frob.com>
384 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
385 (_IO_JUMPS_OFFSET): Define to 0.
387 * nptl/sysdeps/pthread/bits/libc-lock.h
388 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
389 (__libc_lock_define_initialized_recursive): Always define using
390 initializer. Modern compilers treat uninitialized (implicit zero) and
391 explicit zero initializers the same (i.e. put the datum in bss).
393 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
395 * nscd/nscd-client.h: Include <string.h>.
397 2014-05-01 David S. Miller <davem@davemloft.net>
400 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
401 multiple zero bytes exist at the end of a string.
402 Reported by Aurelien Jarno <aurelien@aurel32.net>
404 * string/test-strcmp.c (check): Add explicit test for situations where
405 there are multiple zero bytes after the first.
407 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
410 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
411 when compiling wprintf.
412 * stdio-common/tstdiomisc.c (t3): New function.
415 2014-05-01 Steve Ellcey <sellcey@mips.com>
417 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
418 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
419 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
420 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
422 2014-05-01 Steve Ellcey <sellcey@mips.com>
424 * stdlib/longlong.h: Updated from GCC.
426 2014-05-01 Will Newton <will.newton@linaro.org>
427 Bernard Ogden <bernie.ogden@linaro.org>
429 * NEWS: Update fixed bug list.
432 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
434 2014-04-30 David S. Miller <davem@davemloft.net>
436 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
437 (libc_feholdexcept_setround_sparc_ctx): New function.
438 (libc_fesetenv_sparc_ctx): Likewise.
439 (libc_feupdateenv_sparc_ctx): Likewise.
440 (libc_feholdsetround_sparc_ctx): Likewise.
441 (libc_feholdexcept_setround_ctx): Define.
442 (libc_feholdexcept_setroundf_ctx): Likewise.
443 (libc_feholdexcept_setroundl_ctx): Likewise.
444 (libc_fesetenv_ctx): Likewise.
445 (libc_fesetenvf_ctx): Likewise.
446 (libc_fesetenvl_ctx): Likewise.
447 (libc_feupdateenv_ctx): Likewise.
448 (libc_feupdateenvf_ctx): Likewise.
449 (libc_feupdateenvl_ctx): Likewise.
450 (libc_feresetround_ctx): Likewise.
451 (libc_feresetroundf_ctx): Likewise.
452 (libc_feresetroundl_ctx): Likewise.
453 (libc_feholdsetround_ctx): Likewise.
454 (libc_feholdsetroundf_ctx): Likewise.
455 (libc_feholdsetroundl_ctx): Likewise.
457 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
458 with __USE_GNU instead of XOPEN cpp guards.
460 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
463 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
464 with XOPEN cpp guards.
466 2014-04-30 Julian Brown <julian@codesourcery.com>
469 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
472 2014-04-30 Joseph Myers <joseph@codesourcery.com>
475 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
477 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
478 * sysdeps/unix/sysv/linux/configure: Regenerated.
479 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
480 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
481 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
482 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
483 * README: Update reference to required Linux kernel version.
484 * manual/install.texi (Linux): Update reference to required Linux
485 kernel headers version.
486 * INSTALL: Regenerated.
488 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
490 [POSIX] (limits.h): Likewise.
491 [POSIX] (math.h): Likewise.
492 [POSIX] (sys/wait.h): Likewise.
493 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
495 [POSIX] (stddef.h): Do not allow header inclusion.
497 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
499 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
501 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
503 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
504 Return immediately after lll_futex_wake.
506 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
509 * nscd/nscd-client.h (datahead_init_common): Initialize entire
511 (datahead_init_pos): Call datahead_init_common early.
512 (datahead_init_neg): Likewise.
514 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
515 datahead_init_neg): New functions.
516 * nscd/aicache.c (addhstaiX): Use them.
517 * nscd/grpcache.c (cache_addgr): Likewise.
518 * nscd/hstcache.c (cache_addhst): Likewise.
519 * nscd/initgrcache.c (addinitgroupsX): Likewise.
520 * nscd/netgroupcache.c (do_notfound): Likewise.
521 (addgetnetgrentX): Likewise.
522 (addinnetgrX): Likewise.
523 * nscd/pwdcache.c (cache_addpw): Likewise.
524 * nscd/servicescache.c (cache_addserv): Likewise.
526 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
527 Atsushi Onoe <atsushi@onoe.org>
532 * resolv/res_query.c (__libc_res_nsearch): Return if at least
533 one response is valid.
534 * resolv/res_send.c (send_dg): Check for validity of other
535 response if the current response is a referral.
537 2014-04-29 Steve Ellcey <sellcey@mips.com>
539 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
541 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
544 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
545 Always divide by positive zero when computing -Inf result.
546 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
547 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
549 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
551 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
552 FPSCR if value do not change.
553 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
554 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
555 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
556 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
557 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
558 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
561 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
563 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
564 * sysdeps/unix/sysv/linux/hppa: Move directory from
565 ports/systeps/unix/sysv/linux/hppa.
566 * README: Update listing for hppa-*-linux-gnu.
568 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
571 * manual/stdio.texi (Hook functions): Fix types of stream hook
574 * socket/sys/socket.h: Fix typo in comment.
576 2014-04-28 Wilco <wdijkstr@arm.com>
578 * sysdeps/arm/fenv_private.h: New file.
579 * sysdeps/arm/math_private.h: New file.
580 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
582 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
584 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
586 (La_x86_64_retval): Likewise.
588 2014-04-24 Ian Bolton <ian.bolton@arm.com>
590 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
591 fpsr if value didn't change.
592 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
593 to fpcr if value didn't change.
594 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
595 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
596 fpsr or fpcr if value didn't change.
597 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
598 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
599 fpcr if value didn't change.
600 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
601 to fpsr if value didn't change.
603 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
605 * nptl/tst-sem3.c: Use test-skeleton.c
606 (main): Rename to do_test. Use return instead of
608 * nptl/tst-sem4.c: Use test-skeleton.c
609 (main): Rename to do_test.
611 2014-04-22 David S. Miller <davem@davemloft.net>
613 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
614 (struct sigaction): New struct member __glibc_reserved0, change
615 type of sa_flags to int.
617 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
619 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
620 (COUNT_LEADING_ZEROS_0): Define for AArch64.
622 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
624 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
625 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
627 2014-04-22 Will Newton <will.newton@linaro.org>
628 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
630 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
631 (__longjmp): Add longjmp and longjmp_target SystemTap
633 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
634 (__sigsetjmp): Add setjmp SystemTap probe.
636 2014-04-17 Carlos O'Donell <carlos@redhat.com>
638 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
641 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
643 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
645 * sysdeps/powerpc/fpu/fenv_private.h
646 (libc_feholdexcept_setroundl_ctx): Define to
647 libc_feholdexcept_setround_ppc_ctx.
648 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
649 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
650 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
651 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
653 2014-04-17 Ian Bolton <ian.bolton@arm.com>
655 * sysdeps/aarch64/math-tests.h: New file.
657 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
659 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
662 Check and set bit_AVX2_Usable.
663 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
665 (bit_AVX2): Likewise.
666 (index_AVX2_Usable): Likewise.
667 (CPUID_AVX2): Likewise.
668 (HAS_AVX2): Likewise.
670 2014-04-17 Will Newton <will.newton@linaro.org>
672 * manual/setjmp.texi (System V contexts): Add note that
673 calling setcontext on a context created by a call to a
674 signal handler is undefined. Update text to note that
675 setcontext from a signal handler is possible but not
679 * stdlib/tst-setcontext.c: Include signal.h.
680 (main): Check that the signal stack before and
681 after swapcontext is the same.
683 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
684 Re-implement to restore registers in user code and avoid
685 rt_sigreturn system call.
687 2014-04-17 Wilco <wdijkstr@arm.com>
689 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
690 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
691 * math/test-fenv.c: Skip exception trap tests on targets which only
692 support non-stop mode.
694 2014-04-17 Ian Bolton <ian.bolton@arm.com>
695 Wilco Dijkstra <wilco.dijkstra@arm.com>
697 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
698 (libc_feholdsetround_aarch64_ctx)
699 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
700 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
701 (libc_feresetround_ctx, libc_feresetroundf_ctx)
702 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
703 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
704 (libc_feresetround_noexl_ctx): Define.
706 2014-04-16 Richard Henderson <rth@redhat.com>
708 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
710 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
713 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
714 const from the non-libc, non-ldso copy.
716 * sysdeps/alpha/libm-test-ulps: Regenerate.
718 2014-04-16 Ian Bolton <ian.bolton@arm.com>
719 Wilco Dijkstra <wilco.dijkstra@arm.com>
721 * sysdeps/aarch64/fpu/math_private.h: New file.
723 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
725 * sysdeps/aarch64/libm-test-ulps: Regenerate.
727 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
729 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
730 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
731 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
732 Intel MPX bound registers before _dl_profile_fixup.
733 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
734 registers after _dl_profile_fixup. Save and restore bound
735 registers bnd0/bnd1 when calling _dl_call_pltexit.
736 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
737 (LR_BND_OFFSET): Likewise.
738 (LRV_BND0_OFFSET): Likewise.
739 (LRV_BND1_OFFSET): Likewise.
741 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
743 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
745 * sysdeps/mach/hurd/i386/tls.h: ... here.
746 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
747 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
750 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
752 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
754 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
756 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
758 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
761 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
762 * sysdeps/s390/configure: Regenerate.
765 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
766 Set round-to-nearest internally to reduce error accumulation.
768 2014-04-16 Alan Modra <amodra@gmail.com>
772 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
773 * math/libm-test.inc (frexp_test_data): Add tests.
774 * NEWS: Update fixed bug list.
776 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
778 * benchtests/Makefile: Depend on libraries in build directory.
779 (bench-math): Separate out math tests.
780 (bench-pthread): Separate out pthread tests.
781 (bench): Include math and pthread tests.
783 2014-04-14 Carlos O'Donell <carlos@redhat.com>
786 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
787 _dl_debug_initialize.
789 * configure.ac: Remove SELinux header check.
790 * configure: Regenerate.
791 * nscd/selinux.c (perms): Array of const char* to permission names.
792 (nscd_request_avc_has_perm): Call security_deny_unknown to find
793 default policy. Call string_to_security_class and string_to_av_perm to
794 translate strings. Enforce default policy and call avs_has_perm with
795 results of translated strings.
797 2014-04-13 David S. Miller <davem@davemloft.net>
799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
801 2014-04-12 Allan McRae <allan@archlinux.org>
804 * manual/string.texi (Collation Functions): Fix qsort argument
806 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
808 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
810 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
811 Make the test a no-op if there are no exceptions defined.
813 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
815 * elf/Makefile (tests): make tst-dlopen-aout conditional on
816 enable-hardcoded-path-in-tests
818 2014-04-11 Will Newton <will.newton@linaro.org>
820 * benchtests/Makefile (extra-objs): Add json-lib.o.
821 (bench-func): Tidy up JSON output.
822 * benchtests/bench-skeleton.c: Include json-lib.h.
823 (main): Use JSON library functions to do output of
825 * benchtests/bench-timing-type.c (main): Output the
826 timing type simply, leaving formatting to the user.
827 * benchtests/json-lib.c: New file.
828 * benchtests/json-lib.h: Likewise.
830 2014-04-11 Torvald Riegel <triegel@redhat.com>
833 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
834 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
835 memory barriers. Add comments.
836 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
837 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
838 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
839 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
840 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
841 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
843 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
845 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
846 * sysdeps/s390/s390-64/configure.ac: ... this ...
847 * sysdeps/s390/configure.ac: ... to here.
848 * sysdeps/s390/s390-32/configure: Delete file.
849 * sysdeps/s390/s390-64/configure: Delete file.
850 * sysdeps/s390/configure: Regenerate.
852 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
854 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
856 2014-04-11 Will Newton <will.newton@linaro.org>
858 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
859 to zero if it is not defined elsewhere. (mtrim): Test
860 the value of MALLOC_DEBUG with #if rather than #ifdef.
862 2014-04-10 Torvald Riegel <triegel@redhat.com>
864 * benchtests/pthread_once-inputs: New file.
865 * benchtests/pthread_once-source.c: New file.
866 * benchtests/README: Update documentation.
868 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
869 H.J. Lu <hongjiu.lu@intel.com>
871 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
872 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
873 * sysdeps/x86_64/configure: Regenerated.
874 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
876 (REGISTER_SAVE_RAX): Likewise.
877 (REGISTER_SAVE_RCX): Likewise.
878 (REGISTER_SAVE_RDX): Likewise.
879 (REGISTER_SAVE_RSI): Likewise.
880 (REGISTER_SAVE_RDI): Likewise.
881 (REGISTER_SAVE_R8): Likewise.
882 (REGISTER_SAVE_R9): Likewise.
883 (REGISTER_SAVE_BND0): Likewise.
884 (REGISTER_SAVE_BND1): Likewise.
885 (REGISTER_SAVE_BND2): Likewise.
886 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
887 bound registers when calling _dl_fixup.
889 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
891 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
892 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
894 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
895 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
896 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
897 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
898 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
899 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
900 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
902 2014-04-09 Peter Brett <peter@peter-b.co.uk>
905 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
906 pathconf(_PC_NAME_MAX).
908 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
910 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
912 (__PTHREAD_SPINS): Move definition to ...
913 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
914 (__PTHREAD_SPINS): ... here.
915 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
916 (__PTHREAD_SPIN): Likewise.
917 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
918 (__PTHREAD_SPIN): Likewise.
919 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
920 (__PTHREAD_SPIN): Likewise.
921 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
922 (__PTHREAD_SPIN): Likewise.
923 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
924 (__PTHREAD_SPIN): Likewise.
925 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
926 (__PTHREAD_SPIN): Likewise.
927 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
928 (__PTHREAD_SPIN): Likewise.
929 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
930 (__PTHREAD_SPIN): Likewise.
931 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
932 (__PTHREAD_SPIN): Likewise.
933 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
934 (__PTHREAD_SPIN): Likewise.
935 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
936 (__PTHREAD_SPIN): Likewise.
937 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
938 (__PTHREAD_SPIN): Likewise.
940 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
941 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
942 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
943 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
945 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
946 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
947 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
948 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
950 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
951 strlen symbol for non multi-arch builds.
952 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
953 missing hidden_def and weak_alias.
955 2014-04-08 Carlos O'Donell <carlos@redhat.com>
957 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
959 2014-04-07 Will Newton <will.newton@linaro.org>
961 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
962 and contents. [!_LIBC] Remove #ifndef and contents.
963 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
964 * string/memccpy.c (__memccpy): Use ANSI prototype.
965 * string/memfrob.c (memfrob): Likewise.
966 * string/strcoll.c (STRCOLL): Likewise.
967 * string/strlen.c (strlen): Likewise.
968 * string/strtok.c (STRTOK): Likewise.
969 * string/strcat.c: Remove unused #include of memcopy.h.
970 (strcat): Use ANSI prototype.
971 * string/strchr.c: Remove unused #include of memcopy.h.
972 (strchr): Use ANSI prototype.
973 * string/strcmp.c: Remove unused #include of memcopy.h.
974 (strcmp): Use ANSI prototype.
975 * string/strcpy.c: Remove unused #include of memcopy.h.
976 (strcpy): Use ANSI prototype.
978 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
980 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
981 * config.make.in (config-extra-cppflags): Set it from
983 * configure.ac (libc_extra_cflags): Make it accumulate over
985 (libc_extra_cppflags): New flag.
986 * configure. Regenerate.
987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
988 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
989 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
993 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
994 result for FE_DOWNWARD rounding mode.
995 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
999 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1001 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1002 in function argument name.
1004 2014-04-03 David Svoboda <svoboda@cert.org>
1007 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1010 2014-04-03 Roland McGrath <roland@hack.frob.com>
1012 * elf/dl-unmap-segments.h: New file.
1013 * sysdeps/generic/ldsodefs.h
1014 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1015 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1016 * elf/dl-fptr.c: Likewise.
1017 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1018 * sysdeps/aarch64/tlsdesc.c: Likewise.
1019 * sysdeps/arm/tlsdesc.c: Likewise.
1020 * sysdeps/i386/tlsdesc.c: Likewise.
1021 * sysdeps/tile/dl-runtime.c: Likewise.
1022 * sysdeps/x86_64/tlsdesc.c: Likewise.
1023 * elf/dl-load.h: New file.
1024 * elf/dl-load.c: Include it.
1025 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1026 Macros moved to dl-load.h.
1027 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1028 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1029 Use _dl_unmap_segments in place of __munmap.
1030 Break out segment-mapping loop into ...
1031 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1033 2014-04-03 Will Newton <will.newton@linaro.org>
1035 * elf/dl-lookup.c (do_lookup_x): Remove comment
1036 referring to nested function and move variable
1037 declarations down to before first use.
1039 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1043 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1045 * math/s_catanf.c (__catanf): Likewise.
1046 * math/s_catanh.c (__catanh): Likewise.
1047 * math/s_catanhf.c (__catanhf): Likewise.
1048 * math/s_catanhl.c (__catanhl): Likewise.
1049 * math/s_catanl.c (__catanl): Likewise.
1050 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1051 by positive zero when computing -Inf result.
1052 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1053 (catanh_test): Likewise.
1054 * sysdeps/i386/fpu/libm-test-ulps: Update.
1055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1058 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1059 instead of using underflowing value in computing result.
1060 * math/s_clog10.c (__clog10): Likewise.
1061 * math/s_clog10f.c (__clog10f): Likewise.
1062 * math/s_clog10l.c (__clog10l): Likewise.
1063 * math/s_clogf.c (__clogf): Likewise.
1064 * math/s_clogl.c (__clogl): Likewise.
1065 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1066 (clog10_test): Likewise.
1067 * sysdeps/i386/fpu/libm-test-ulps: Update.
1068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1070 2014-04-02 Alan Modra <amodra@gmail.com>
1073 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1074 output when value is near a power of two. Use int64_t for lx and
1075 remove casts. Use decimal rather than hex exponent constants.
1076 Don't use long double multiplication when double will suffice.
1077 * math/libm-test.inc (nextafter_test_data): Add tests.
1078 * NEWS: Add 16739 and 16786 to bug list.
1080 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1082 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1084 2014-04-01 Will Newton <will.newton@linaro.org>
1086 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1087 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1089 2014-04-01 Florian Weimer <fweimer@redhat.com>
1092 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1093 * nptl/tst-setuid2.c: New file.
1094 * nptl/Makefile (xtests): Add tst-setuid2.
1096 2014-04-01 Alan Modra <amodra@gmail.com>
1099 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1101 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1105 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1106 set errno as appropriate.
1107 * math/w_scalbf.c (__scalbf): Likewise.
1108 * math/w_scalbl.c (__scalbl): Likewise.
1109 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1110 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1111 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1115 * math/w_atan2.c: Include <errno.h>.
1116 (__atan2): Set errno for result underflowing to zero.
1117 * math/w_atan2f.c: Include <errno.h>.
1118 (__atan2f): Set errno for result underflowing to zero.
1119 * math/w_atan2l.c: Include <errno.h>.
1120 (__atan2l): Set errno for result underflowing to zero.
1121 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1123 * math/auto-libm-test-out: Regenerated.
1125 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1127 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1128 Encode instruction correctly in little endian.
1129 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1131 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1133 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1135 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1138 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1141 * sysdeps/unix/sysv/linux/kernel-features.h
1142 [__sparc__ && !__arch64__ && !__sparc_v9__]
1143 (__ASSUME_SET_ROBUST_LIST): Do not define.
1144 [__sparc__ && !__arch64__ && !__sparc_v9__]
1145 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1146 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1148 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1149 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1150 (__ASSUME_REQUEUE_PI): Likewise.
1151 (__ASSUME_SET_ROBUST_LIST): Likewise.
1152 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1153 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1155 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1156 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1158 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1160 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1162 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1163 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1165 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1166 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1170 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1171 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1172 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1174 2014-03-31 Will Newton <will.newton@linaro.org>
1176 * benchtests/Makefile (bench): Add ffs and ffsll to list
1178 * benchtests/ffs-inputs: New file.
1179 * benchtests/ffsll-inputs: Likewise.
1181 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1184 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1185 too large before casting to int.
1186 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1187 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1188 * math/libm-test.inc (scalb_test_data): Add more tests.
1190 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1192 * benchtests/Makefile (DETAILED_OPT): New make option.
1193 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1195 * benchtests/bench-skeleton.c: Include stdbool.h.
1196 (main): Store and print timings per input.
1197 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1198 member to each argument value.
1199 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1200 (_print_arg_data): Initialize per-input timing to 0.
1202 * benchtests/Makefile (timing-type): New binary.
1203 (bench-clean): Also remove bench-timing-type.
1204 (bench): New target for timing-type.
1205 (bench-func): Print output in JSON format.
1206 * benchtests/bench-skeleton.c (main): Print output in JSON
1208 * benchtests/bench-timing-type.c: New file.
1209 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1210 (TIMING_PRINT_STATS): Remove.
1211 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1214 * benchtests/bench-modf.c: Remove.
1215 * benchtests/modf-inputs: New inputs file.
1217 2014-03-28 Joseph Myers <joseph@codesourcery.com>
1220 * math/s_clog10.c (M_PI_LOG10E): New macro.
1221 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1222 imaginary parts are 0.
1223 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1224 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1225 imaginary parts are 0.
1226 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1227 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1228 imaginary parts are 0.
1229 * math/libm-test.inc (clog10_test_data): Update expected results
1230 for when real and imaginary parts are 0.
1232 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1234 * elf/dl-load.c: Finish conversion of __builtin_expect into
1237 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1240 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1241 1+x for argument with exponent below -67.
1242 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1244 * math/auto-libm-test-in: Add more tests of exp.
1245 * math/auto-libm-test-out: Regenerated.
1247 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1250 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1251 (nscd_getnetgrent): Use it.
1254 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1257 2014-03-27 Andi Kleen <ak@linux.intel.com>
1259 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1260 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1261 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1262 (lll_robust_unlock): Remove out of line section. Use cfi
1264 (LLL_STUB_UNWIND_INFO*): Remove.
1265 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1266 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1267 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1268 (lll_robust_unlock): Remove out of line section. Use cfi
1270 (LLL_STUB_UNWIND_INFO*): Remove.
1272 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1275 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1278 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1280 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1282 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1285 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1287 * math/test-fenv-preserve.c: New file.
1288 * math/Makefile (tests): Add test-fenv-preserve.
1290 2014-03-26 Will Newton <will.newton@linaro.org>
1292 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1294 2014-03-25 Roland McGrath <roland@hack.frob.com>
1296 * scripts/versionlist.awk: Partition the version sets and emit all
1297 GLIBC_* (sorted) before all others (sorted).
1299 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1301 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1302 GLIBC_2.2.5 version.
1304 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1306 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1309 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1314 2014-03-25 Andreas Schwab <schwab@suse.de>
1316 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1317 label to be used after in6ailist is initialized.
1319 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1321 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1322 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1324 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1328 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1330 (fp_formats): Update initializers.
1331 (init_fp_formats): Initialize new field.
1332 (output_for_one_input_case): Allow underflow for results up to
1334 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1335 * math/auto-libm-test-in: Don't mark some underflows from asin and
1337 * math/auto-libm-test-out: Regenerated.
1338 * sysdeps/i386/fpu/libm-test-ulps: Update.
1339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1341 2014-03-25 Andreas Schwab <schwab@suse.de>
1343 * libio/Makefile (tst-ftell-partial-wide-ENV)
1344 (tst-ftell-active-handler-ENV): Define.
1346 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1348 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1350 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1352 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1354 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1356 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1357 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1358 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1360 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1363 * elf/dl-load.c (open_verify): Add mode parameter.
1364 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1365 (open_path): Change from boolean 'secure' to complete flag 'mode'
1366 (_dl_map_object): Adjust.
1367 * elf/Makefile (tests): Add tst-dlopen-aout.
1368 * elf/tst-dlopen-aout.c: New test.
1370 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1373 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1374 (struct stat): Rename member pad0 to __glibc_reserved0.
1377 * sysdeps/s390/s390-32/bits/wordsize.h
1378 (__WORDSIZE32_SIZE_ULONG): New define.
1379 * sysdeps/s390/s390-64/bits/wordsize.h
1380 (__WORDSIZE32_SIZE_ULONG): Likewise.
1381 * sysdeps/generic/stdint.h (SIZE_MAX):
1382 Define as UL if __WORDSIZE32_SIZE_ULONG.
1385 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1386 (__glibc_reserved0): New variable.
1387 (sa_flags): Change type to int.
1389 * posix/Makefile (before-compile): Use += before-compile instead
1392 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1393 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1395 2014-03-20 Andreas Schwab <schwab@suse.de>
1398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1399 non-matching result from nscd.
1401 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1403 * scripts/bench.py: Moved to ...
1404 * benchtests/scripts/bench.py: ... here.
1405 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1407 2014-03-24 Andreas Schwab <schwab@suse.de>
1410 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1411 alloca_account and account alloca use for struct in6ailist.
1413 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1416 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1417 rounding mode to recompute results that overflow to infinity or
1419 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1421 * math/auto-libm-test-out: Regenerated.
1422 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1423 (ccosh_test): Likewise.
1424 (csin_test_data): Use plus_oflow.
1425 (csin_test): Use ALL_RM_TEST.
1426 (csinh_test_data): Use plus_oflow.
1427 (csinh_test): Use ALL_RM_TEST.
1428 * sysdeps/i386/fpu/libm-test-ulps: Update.
1429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1431 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1433 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1434 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1435 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1438 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1440 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1441 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1442 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1443 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1445 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1446 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1448 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1449 * sysdeps/i386/fpu/libm-test-ulps: Update.
1450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1452 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1454 * scripts/bench.pl: Remove file.
1455 * scripts/bench.py: New benchmark script.
1456 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1457 * benchtests/README: Mention python dependency.
1458 * scripts/pylintrc: New file.
1459 * scripts/pylint: New file.
1461 * bits/mathdef.h: Use #ifdef instead of #if.
1462 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1463 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1464 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1465 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1466 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1467 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1469 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1472 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1474 and strpbrk-ppc64 objects.
1475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1476 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1477 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1478 multiarch strpbrk for POWER7.
1479 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1480 multiarch strpbrk for PPC64.
1481 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1483 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1486 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1488 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1489 (atan_test): Likewise.
1490 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1491 (atanh_test): Use ALL_RM_TEST.
1492 (atan2_test_data): Likewise.
1493 (cabs_test): Likewise.
1494 (cacosh_test): Likewise.
1495 (carg_test): Likewise.
1496 (casin_test): Likewise.
1497 (casinh_test): Likewise.
1498 (cbrt_test): Likewise.
1499 (csqrt_test): Likewise.
1500 (erf_test): Likewise.
1501 (erfc_test): Likewise.
1502 (pow10_test): Likewise.
1503 (exp2_test): Likewise.
1504 (hypot_test): Likewise.
1505 (j0_test): Likewise.
1506 (j1_test): Likewise.
1507 (lgamma_test): Likewise.
1508 (gamma_test): Likewise.
1509 (sincos_test): Likewise.
1510 (tanh_test): Likewise.
1511 (y0_test): Likewise.
1512 (y1_test): Likewise.
1513 * sysdeps/i386/fpu/libm-test-ulps: Update.
1514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1516 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1518 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1520 and strcspn-ppc64 objects.
1521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1522 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1523 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1524 multiarch strcspn for POWER7.
1525 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1526 multiarch strcspn for PPC64.
1527 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1529 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1532 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1534 * math/gen-libm-test.pl (generate_testfile): Expect only function
1535 name as argument to AUTO_TESTS_* and pass results for all rounding
1536 modes to parse_args.
1537 (parse_auto_input): Separate inputs of automatic tests from
1538 outputs before storing in %auto_tests.
1539 * math/libm-test.inc (acos_test_data): Update call to
1541 (acos_test): Use ALL_RM_TEST.
1542 (acos_tonearest_test_data): Remove.
1543 (acos_test_tonearest): Likewise.
1544 (acos_towardzero_test_data): Likewise.
1545 (acos_test_towardzero): Likewise.
1546 (acos_downward_test_data): Likewise.
1547 (acos_test_downward): Likewise.
1548 (acos_upward_test_data): Likewise.
1549 (acos_test_upward): Likewise.
1550 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1551 (asin_test_data): Likewise.
1552 (asin_test): Use ALL_RM_TEST.
1553 (asin_tonearest_test_data): Remove.
1554 (asin_test_tonearest): Likewise.
1555 (asin_towardzero_test_data): Likewise.
1556 (asin_test_towardzero): Likewise.
1557 (asin_downward_test_data): Likewise.
1558 (asin_test_downward): Likewise.
1559 (asin_upward_test_data): Likewise.
1560 (asin_test_upward): Likewise.
1561 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1562 (atan_test_data): Likewise.
1563 (atanh_test_data): Likewise.
1564 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1565 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1566 (carg_test_data): Likewise.
1567 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1568 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1569 (ccosh_test_data): Likewise.
1570 (cexp_test_data): Likewise.
1571 (clog_test_data): Likewise.
1572 (clog10_test_data): Likewise.
1573 (cos_test_data): Update call to AUTO_TESTS_f_f.
1574 (cos_test): Use ALL_RM_TEST.
1575 (cos_tonearest_test_data): Remove.
1576 (cos_test_tonearest): Likewise.
1577 (cos_towardzero_test_data): Likewise.
1578 (cos_test_towardzero): Likewise.
1579 (cos_downward_test_data): Likewise.
1580 (cos_test_downward): Likewise.
1581 (cos_upward_test_data): Likewise.
1582 (cos_test_upward): Likewise.
1583 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1584 (cosh_test): Use ALL_RM_TEST.
1585 (cosh_tonearest_test_data): Remove.
1586 (cosh_test_tonearest): Likewise.
1587 (cosh_towardzero_test_data): Likewise.
1588 (cosh_test_towardzero): Likewise.
1589 (cosh_downward_test_data): Likewise.
1590 (cosh_test_downward): Likewise.
1591 (cosh_upward_test_data): Likewise.
1592 (cosh_test_upward): Likewise.
1593 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1594 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1595 (ctan_test_data): Likewise.
1596 (ctan_test): Use ALL_RM_TEST.
1597 (ctan_tonearest_test_data): Remove.
1598 (ctan_test_tonearest): Likewise.
1599 (ctan_towardzero_test_data): Likewise.
1600 (ctan_test_towardzero): Likewise.
1601 (ctan_downward_test_data): Likewise.
1602 (ctan_test_downward): Likewise.
1603 (ctan_upward_test_data): Likewise.
1604 (ctan_test_upward): Likewise.
1605 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1606 (ctanh_test): Use ALL_RM_TEST.
1607 (ctanh_tonearest_test_data): Remove.
1608 (ctanh_test_tonearest): Likewise.
1609 (ctanh_towardzero_test_data): Likewise.
1610 (ctanh_test_towardzero): Likewise.
1611 (ctanh_downward_test_data): Likewise.
1612 (ctanh_test_downward): Likewise.
1613 (ctanh_upward_test_data): Likewise.
1614 (ctanh_test_upward): Likewise.
1615 (erf_test_data): Update call to AUTO_TESTS_f_f.
1616 (erfc_test_data): Likewise.
1617 (exp_test_data): Likewise.
1618 (exp_test): Use ALL_RM_TEST.
1619 (exp_tonearest_test_data): Remove.
1620 (exp_test_tonearest): Likewise.
1621 (exp_towardzero_test_data): Likewise.
1622 (exp_test_towardzero): Likewise.
1623 (exp_downward_test_data): Likewise.
1624 (exp_test_downward): Likewise.
1625 (exp_upward_test_data): Likewise.
1626 (exp_test_upward): Likewise.
1627 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1628 (exp10_test): Use ALL_RM_TEST.
1629 (exp10_tonearest_test_data): Remove.
1630 (exp10_test_tonearest): Likewise.
1631 (exp10_towardzero_test_data): Likewise.
1632 (exp10_test_towardzero): Likewise.
1633 (exp10_downward_test_data): Likewise.
1634 (exp10_test_downward): Likewise.
1635 (exp10_upward_test_data): Likewise.
1636 (exp10_test_upward): Likewise.
1637 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1638 (expm1_test_data): Likewise.
1639 (expm1_test): Use ALL_RM_TEST.
1640 (expm1_tonearest_test_data): Remove.
1641 (expm1_test_tonearest): Likewise.
1642 (expm1_towardzero_test_data): Likewise.
1643 (expm1_test_towardzero): Likewise.
1644 (expm1_downward_test_data): Likewise.
1645 (expm1_test_downward): Likewise.
1646 (expm1_upward_test_data): Likewise.
1647 (expm1_test_upward): Likewise.
1648 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1649 (fma_test): Use ALL_RM_TEST.
1650 (fma_towardzero_test_data): Remove.
1651 (fma_test_towardzero): Likewise.
1652 (fma_downward_test_data): Likewise.
1653 (fma_test_downward): Likewise.
1654 (fma_upward_test_data): Likewise.
1655 (fma_test_upward): Likewise.
1656 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1657 (j0_test_data): Update call to AUTO_TESTS_f_f.
1658 (j1_test_data): Likewise.
1659 (jn_test_data): Update call to AUTO_TESTS_if_f.
1660 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1661 (log_test_data): Update call to AUTO_TESTS_f_f.
1662 (log10_test_data): Likewise.
1663 (log1p_test_data): Likewise.
1664 (log2_test_data): Likewise.
1665 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1666 (pow_tonearest_test_data): Likewise.
1667 (sin_test_data): Update call to AUTO_TESTS_f_f.
1668 (sin_test): Use ALL_RM_TEST.
1669 (sin_tonearest_test_data): Remove.
1670 (sin_test_tonearest): Likewise.
1671 (sin_towardzero_test_data): Likewise.
1672 (sin_test_towardzero): Likewise.
1673 (sin_downward_test_data): Likewise.
1674 (sin_test_downward): Likewise.
1675 (sin_upward_test_data): Likewise.
1676 (sin_test_upward): Likewise.
1677 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1678 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1679 (sinh_test): Use ALL_RM_TEST.
1680 (sinh_tonearest_test_data): Remove.
1681 (sinh_test_tonearest): Likewise.
1682 (sinh_towardzero_test_data): Likewise.
1683 (sinh_test_towardzero): Likewise.
1684 (sinh_downward_test_data): Likewise.
1685 (sinh_test_downward): Likewise.
1686 (sinh_upward_test_data): Likewise.
1687 (sinh_test_upward): Likewise.
1688 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1689 (sqrt_test): Use ALL_RM_TEST.
1690 (sqrt_tonearest_test_data): Remove.
1691 (sqrt_test_tonearest): Likewise.
1692 (sqrt_towardzero_test_data): Likewise.
1693 (sqrt_test_towardzero): Likewise.
1694 (sqrt_downward_test_data): Likewise.
1695 (sqrt_test_downward): Likewise.
1696 (sqrt_upward_test_data): Likewise.
1697 (sqrt_test_upward): Likewise.
1698 (tan_test_data): Update call to AUTO_TESTS_f_f.
1699 (tan_test): Use ALL_RM_TEST.
1700 (tan_tonearest_test_data): Remove.
1701 (tan_test_tonearest): Likewise.
1702 (tan_towardzero_test_data): Likewise.
1703 (tan_test_towardzero): Likewise.
1704 (tan_downward_test_data): Likewise.
1705 (tan_test_downward): Likewise.
1706 (tan_upward_test_data): Likewise.
1707 (tan_test_upward): Likewise.
1708 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1709 (tgamma_test_data): Likewise.
1710 (y0_test_data): Likewise.
1711 (y1_test_data): Likewise.
1712 (yn_test_data): Update call to AUTO_TESTS_if_f.
1713 (main): Do not call removed functions.
1715 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1717 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1718 (ldexp_test_data): Remove.
1719 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1721 (scalb_test): Use ALL_RM_TEST.
1723 2014-03-19 Andreas Schwab <schwab@suse.de>
1725 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1727 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1730 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1731 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1732 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1733 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1734 (__ASSUME_PREADV): Undefine.
1735 (__ASSUME_PWRITEV): Likewise.
1737 2014-03-18 Roland McGrath <roland@hack.frob.com>
1739 * bits/mman-linux.h: Add comment about non-Linux use.
1740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1741 bits/mman-linux.h resting place.
1743 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1744 * bits/mman-linux.h: ... here.
1746 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1748 * conform/conformtest.pl: Add standard definition when calling C
1749 preprocessor on data files.
1750 (checknamespace): Remove unused variable.
1752 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1754 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1755 minus_oflow, plus_uflow and minus_uflow in expected results.
1756 * math/libm-test.inc (scalbn_test_data): Add more tests of
1757 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1759 (scalbn_test): Use ALL_RM_TEST.
1760 (scalbln_test_data): Add more tests of negative arguments. Use
1761 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1762 (scalbln_test): Use ALL_RM_TEST.
1764 2014-03-18 Roland McGrath <roland@hack.frob.com>
1766 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1768 2014-03-18 Will Newton <will.newton@linaro.org>
1770 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1773 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1775 * Makerules [!subdir] (check-abi): Exit with error status if a
1778 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1780 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1781 for rint. Include results for all rounding modes.
1782 (nearbyint_test): Use ALL_RM_TEST.
1783 (rint_test_data): Include all tests used for nearbyint.
1785 2014-03-17 Will Newton <will.newton@linaro.org>
1787 * nptl/sysdeps/pthread/pthread.h: Revert previous
1790 * sysdeps/generic/ldsodefs.h: Revert previous
1793 * libio/genops.c: Revert previous change.
1794 * libio/libioP.h: Likewise.
1795 * stdio-common/vfprintf.c: Likewise.
1797 * sysdeps/generic/math_private.h: Revert previous
1800 * sysdeps/generic/math_private.h: Check whether
1801 HAVE_RM_CTX is defined with #ifdef rather
1804 * argp/argp-fmtstream.h: Check whether
1805 __STRICT_ANSI__ is defined with #ifdef rather
1807 * argp/argp.h: Likewise.
1809 * libio/genops.c: Check whether
1810 _IO_JUMPS_OFFSET is defined with #ifdef rather
1812 * libio/libioP.h: Likewise.
1813 * stdio-common/vfprintf.c: Likewise.
1815 * sysdeps/generic/ldsodefs.h: Check whether
1816 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1819 * nptl/sysdeps/pthread/pthread.h: Check
1820 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1823 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1825 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1827 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1831 * libio/fileops.c (_IO_file_open): Seek to end of file but
1832 don't cache the offset.
1833 (get_file_offset): Remove function.
1834 (do_ftell): Use cached offset when available.
1835 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1836 don't cache the offset.
1837 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1839 (do_one_test): Call it.
1840 (do_ftell_test): Fix up expected old offset for a+ mode.
1841 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1844 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1845 up test status with function return status.
1846 (do_write_test): Likewise.
1847 (do_append_test): Likewise.
1849 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1850 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1853 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1855 * math/gen-libm-test.pl (parse_args): Handle results specified for
1856 each rounding mode separately.
1857 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1858 tests and results from lrint_tonearest_test_data,
1859 lrint_towardzero_test_data, lrint_downward_test_data and
1860 lrint_upward_test_data.
1861 (lrint_test): Use ALL_RM_TEST.
1862 (lrint_tonearest_test_data): Remove.
1863 (lrint_test_tonearest): Likewise.
1864 (lrint_towardzero_test_data): Likewise.
1865 (lrint_test_towardzero): Likewise.
1866 (lrint_downward_test_data): Likewise.
1867 (lrint_test_downward): Likewise.
1868 (lrint_upward_test_data): Likewise.
1869 (lrint_test_upward): Likewise.
1870 (llrint_test_data): Merge in per-rounding-mode tests and results
1871 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1872 llrint_downward_test_data and llrint_upward_test_data.
1873 (llrint_test): Use ALL_RM_TEST.
1874 (llrint_tonearest_test_data): Remove.
1875 (llrint_test_tonearest): Likewise.
1876 (llrint_towardzero_test_data): Likewise.
1877 (llrint_test_towardzero): Likewise.
1878 (llrint_downward_test_data): Likewise.
1879 (llrint_test_downward): Likewise.
1880 (llrint_upward_test_data): Likewise.
1881 (llrint_test_upward): Likewise.
1882 (rint_test_data): Merge in per-rounding-mode tests and results
1883 from rint_tonearest_test_data, rint_towardzero_test_data,
1884 rint_downward_test_data and rint_upward_test_data. Add
1885 per-rounding-mode results for tests not in those arrays.
1886 (rint_test): Use ALL_RM_TEST.
1887 (rint_tonearest_test_data): Remove.
1888 (rint_test_tonearest): Likewise.
1889 (rint_towardzero_test_data): Likewise.
1890 (rint_test_towardzero): Likewise.
1891 (rint_downward_test_data): Likewise.
1892 (rint_test_downward): Likewise.
1893 (rint_upward_test_data): Likewise.
1894 (rint_test_upward): Likewise.
1895 (main): Don't call removed functions.
1897 2014-03-14 Roland McGrath <roland@hack.frob.com>
1899 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1900 "Compiled on ..." crapola. It is anti-useful.
1902 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1904 * scripts/evaluate-test.sh: Handle fourth argument to determine
1905 whether test run should stop on failure.
1906 * Makeconfig (stop-on-test-failure): New variable.
1907 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1908 $(stop-on-test-failure).
1909 * Makefile (tests): Give a summary of results from testing and
1910 exit with failure status if they include an ERROR or FAIL.
1912 * manual/install.texi (Configuring and compiling): Mention
1913 stop-on-test-failure=y.
1914 * INSTALL: Regenerated.
1916 2014-03-14 Roland McGrath <roland@hack.frob.com>
1918 * scripts/versionlist.awk: New file.
1919 * Makerules [$(build-shared) = yes]
1920 (postclean-generated): Add Versions.def, not Versions.def.v and
1922 ($(common-objpfx)Versions.def.v.i): Target removed.
1923 ($(common-objpfx)Versions.def): New target.
1924 ($(common-objpfx)Versions.all): Depend on that rather that
1925 $(common-objpfx)Versions.def.v.
1926 * Versions.def: File removed.
1928 * Makeconfig (+gccwarn): Add -Wundef.
1929 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1930 a dl-sysdep.h breaking its contract.
1931 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1932 * include/stackinfo.h: New file.
1933 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1934 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1935 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1936 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1937 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1938 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1939 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1940 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1941 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1942 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1943 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1944 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1945 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1946 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1947 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1949 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1952 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1954 * math/libm-test.inc (round_test_data): Add more tests.
1957 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1959 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1962 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1964 * math/libm-test.inc (ceil_test_data): Add more tests.
1966 * math/libm-test.inc (trunc_test_data): Add more tests related to
1969 2014-03-14 Roland McGrath <roland@hack.frob.com>
1971 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1972 with #if rather than #ifdef.
1973 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1975 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1977 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1978 first. Disable AVX-512 GCC support if assembler doesn't support
1980 * sysdeps/x86_64/configure: Regenerated.
1982 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1984 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1985 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1986 (__old_pthread_attr_setstack): Likewise.
1987 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1988 [!_STACK_GROWS_DOWN]: Likewise.
1990 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1992 * config.make.in (have-bash2): Delete.
1993 * configure.ac (libc_cv_have_bash2): Delete.
1994 * configure: Regenerate.
1995 * elf/Makefile (common-ldd-rewrite): Rename to ...
1996 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1997 (sh-ldd-rewrite): Delete.
1998 (bash-ldd-rewrite): Delete.
1999 (have-bash2): Delete checks.
2000 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2003 * config.make.in (have-ksh): Delete.
2005 * configure.ac (libc_cv_have_ksh): Delete.
2006 * configure: Regenerate.
2008 * elf/Makefile: Delete $(have-ksh) check.
2009 ($(objpfx)sotruss): Change KSH to BASH.
2010 * elf/sotruss.ksh: Rename to ...
2011 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2012 function style to match POSIX. Drop ksh vim mode setting.
2014 * manual/time.texi (Specifying the Time Zone with TZ): Change
2015 Tuesday to Thursday.
2017 * debug/tst-longjmp_chk2.c: Update header comment.
2018 (stackoverflow_handler): Add comment. Call assert on pass value.
2020 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2022 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2023 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2024 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2025 (La_x86_64_vector): Add zmm.
2026 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2027 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2028 ($(objpfx)tst-audit10): New target.
2029 ($(objpfx)tst-audit10.out): Likewise.
2030 (tst-audit10-ENV): New.
2031 (AVX512-CFLAGS): Likewise.
2032 (CFLAGS-tst-audit10.c): Likewise.
2033 (CFLAGS-tst-auditmod10a.c): Likewise.
2034 (CFLAGS-tst-auditmod10b.c): Likewise.
2035 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2036 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2037 * sysdeps/x86_64/configure: Regenerated.
2038 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2039 AVX-512 zmm register support.
2040 (_dl_x86_64_save_sse): Likewise.
2041 (_dl_x86_64_restore_sse): Likewise.
2042 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2043 size vector registers.
2044 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2045 (ZMM_SIZE): Likewise.
2046 * sysdeps/x86_64/tst-audit10.c: New file.
2047 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2048 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2050 2014-03-13 Roland McGrath <roland@hack.frob.com>
2052 * configure.ac (HAVE_EHDR_START): New check.
2053 * configure: Regenerated.
2054 * config.h.in (HAVE_EHDR_START): New #undef.
2055 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2056 assuming the lowest-addressed segment maps the start of the file.
2058 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2060 * INSTALL: Regenerated.
2062 2014-03-13 Will Newton <will.newton@linaro.org>
2064 * manual/setjmp.texi (System V contexts): Improve
2065 clarity and grammar of documentation.
2067 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2070 * elf/Makefile (tests): Add tst-pie2.
2071 (tests-pie): Add tst-pie2.
2072 * elf/tst-pie2.c: New file.
2073 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2075 * elf/rtld.c (map_doit): Load executable as lt_executable.
2076 (dl_main): Likewise.
2078 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2081 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2082 (__ASSUME_PSELECT): Undefine.
2084 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2087 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2088 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2090 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2091 selector for static builds.
2093 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2096 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2099 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2101 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2102 IFUNC selector for static builds.
2104 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2106 * sysdeps/mips/math_private.h [__mips_hard_float]
2107 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2108 libc_feresetround_mips_ctx.
2109 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2110 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2111 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2114 * math/s_nextafter.c (__nextafter): Do not return value from
2115 overflowing computation.
2116 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2117 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2118 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2120 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2122 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2123 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2125 2014-03-11 Roland McGrath <roland@hack.frob.com>
2127 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2128 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2129 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2130 the new mov targetting sp.
2132 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2135 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2136 Define it for static builds as well.
2137 (NO_BZERO_IMPL): Likewise.
2139 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2141 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2142 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2143 multiarch strspn for PPC64.
2144 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2145 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2147 (__libc_ifunc_impl_list): Likewise.
2148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2149 multiarch optimizations
2150 * string/strspn.c (strspn): Using macro to redefine symbol name.
2152 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2153 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2155 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2156 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2157 multiarch strncat for PPC64.
2158 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2159 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2161 (__libc_ifunc_impl_list): Likewise.
2162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2163 multiarch optimizations
2165 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2168 * nscd/nscd.service: Make service type forking.
2170 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2172 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2173 sign in non default rounding modes.
2174 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2176 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2178 * math/libm-test.inc (ALL_RM_TEST): New macro.
2179 (ceil_test): Use ALL_RM_TEST.
2180 (cimag_test): Likewise.
2181 (conj_test): Likewise.
2182 (copysign_test): Likewise.
2183 (cproj_test): Likewise.
2184 (creal_test): Likewise.
2185 (fabs_test): Likewise.
2186 (floor_test): Likewise.
2187 (fmax_test): Likewise.
2188 (fmin_test): Likewise.
2189 (fmod_test): Likewise.
2190 (fpclassify_test): Likewise.
2191 (frexp_test): Likewise.
2192 (ilogb_test): Likewise.
2193 (isfinite_test): Likewise.
2194 (finite_test): Likewise.
2195 (isgreater_test): Likewise.
2196 (isgreaterequal_test): Likewise.
2197 (isinf_test): Likewise.
2198 (isless_test): Likewise.
2199 (islessequal_test): Likewise.
2200 (islessgreater_test): Likewise.
2201 (isnan_test): Likewise.
2202 (isnormal_test): Likewise.
2203 (issignaling_test): Likewise.
2204 (isunordered_test): Likewise.
2205 (logb_test): Likewise.
2206 (logb_downward_test_data): Remove.
2207 (logb_test_downward): Likewise.
2208 (lround_test): Use ALL_RM_TEST.
2209 (llround_test): Likewise.
2210 (modf_test): Likewise.
2211 (nexttoward_test): Likewise.
2212 (remainder_test): Likewise.
2213 (drem_test): Likewise.
2214 (remainder_tonearest_test_data): Likewise.
2215 (remainder_test_tonearest): Likewise.
2216 (drem_test_tonearest): Likewise.
2217 (remainder_towardzero_test_data): Likewise.
2218 (remainder_test_towardzero): Likewise.
2219 (drem_test_towardzero): Likewise.
2220 (remainder_downward_test_data): Likewise.
2221 (remainder_test_downward): Likewise.
2222 (drem_test_downward): Likewise.
2223 (remainder_upward_test_data): Likewise.
2224 (remainder_test_upward): Likewise.
2225 (drem_test_upward): Likewise.
2226 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2227 (round_test): Use ALL_RM_TEST.
2228 (signbit_test): Likewise.
2229 (trunc_test): Likewise.
2230 (significand_test): Likewise.
2231 (main): Don't call removed functions.
2233 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2236 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2238 (ILL_ILLOPN): Likewise.
2239 (ILL_ILLADR): Likewise.
2240 (ILL_ILLTRP): Likewise.
2241 (ILL_PRVOPC): Likewise.
2242 (ILL_PRVREG): Likewise.
2243 (ILL_COPROC): Likewise.
2244 (ILL_BADSTK): Likewise.
2245 (FPE_INTDIV): Likewise.
2246 (FPE_INTOVF): Likewise.
2247 (FPE_FLTDIV): Likewise.
2248 (FPE_FLTOVF): Likewise.
2249 (FPE_FLTUND): Likewise.
2250 (FPE_FLTRES): Likewise.
2251 (FPE_FLTINV): Likewise.
2252 (FPE_FLTSUB): Likewise.
2253 (SEGV_MAPERR): Likewise.
2254 (SEGV_ACCERR): Likewise.
2255 (BUS_ADRALN): Likewise.
2256 (BUS_ADRERR): Likewise.
2257 (BUS_OBJERR): Likewise.
2258 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2259 (TRAP_TRACE): Likewise.
2260 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2262 (CLD_KILLED): Likewise.
2263 (CLD_DUMPED): Likewise.
2264 (CLD_TRAPPED): Likewise.
2265 (CLD_STOPPED): Likewise.
2266 (CLD_CONTINUED): Likewise.
2267 (POLL_IN): Likewise.
2268 (POLL_OUT): Likewise.
2269 (POLL_MSG): Likewise.
2270 (POLL_ERR): Likewise.
2271 (POLL_PRI): Likewise.
2272 (POLL_HUP): Likewise.
2273 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2275 (ILL_ILLOPN): Likewise.
2276 (ILL_ILLADR): Likewise.
2277 (ILL_ILLTRP): Likewise.
2278 (ILL_PRVOPC): Likewise.
2279 (ILL_PRVREG): Likewise.
2280 (ILL_COPROC): Likewise.
2281 (ILL_BADSTK): Likewise.
2282 (FPE_INTDIV): Likewise.
2283 (FPE_INTOVF): Likewise.
2284 (FPE_FLTDIV): Likewise.
2285 (FPE_FLTOVF): Likewise.
2286 (FPE_FLTUND): Likewise.
2287 (FPE_FLTRES): Likewise.
2288 (FPE_FLTINV): Likewise.
2289 (FPE_FLTSUB): Likewise.
2290 (SEGV_MAPERR): Likewise.
2291 (SEGV_ACCERR): Likewise.
2292 (BUS_ADRALN): Likewise.
2293 (BUS_ADRERR): Likewise.
2294 (BUS_OBJERR): Likewise.
2295 (BUS_MCEERR_AR): Likewise.
2296 (BUS_MCEERR_AO): Likewise.
2297 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2298 (TRAP_TRACE): Likewise.
2299 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2301 (CLD_KILLED): Likewise.
2302 (CLD_DUMPED): Likewise.
2303 (CLD_TRAPPED): Likewise.
2304 (CLD_STOPPED): Likewise.
2305 (CLD_CONTINUED): Likewise.
2306 (POLL_IN): Likewise.
2307 (POLL_OUT): Likewise.
2308 (POLL_MSG): Likewise.
2309 (POLL_ERR): Likewise.
2310 (POLL_PRI): Likewise.
2311 (POLL_HUP): Likewise.
2312 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2313 (ILL_ILLOPN): Likewise.
2314 (ILL_ILLADR): Likewise.
2315 (ILL_ILLTRP): Likewise.
2316 (ILL_PRVOPC): Likewise.
2317 (ILL_PRVREG): Likewise.
2318 (ILL_COPROC): Likewise.
2319 (ILL_BADSTK): Likewise.
2320 (FPE_INTDIV): Likewise.
2321 (FPE_INTOVF): Likewise.
2322 (FPE_FLTDIV): Likewise.
2323 (FPE_FLTOVF): Likewise.
2324 (FPE_FLTUND): Likewise.
2325 (FPE_FLTRES): Likewise.
2326 (FPE_FLTINV): Likewise.
2327 (FPE_FLTSUB): Likewise.
2328 (SEGV_MAPERR): Likewise.
2329 (SEGV_ACCERR): Likewise.
2330 (BUS_ADRALN): Likewise.
2331 (BUS_ADRERR): Likewise.
2332 (BUS_OBJERR): Likewise.
2333 (BUS_MCEERR_AR): Likewise.
2334 (BUS_MCEERR_AO): Likewise.
2335 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2336 (TRAP_TRACE): Likewise.
2337 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2339 (CLD_KILLED): Likewise.
2340 (CLD_DUMPED): Likewise.
2341 (CLD_TRAPPED): Likewise.
2342 (CLD_STOPPED): Likewise.
2343 (CLD_CONTINUED): Likewise.
2344 (POLL_IN): Likewise.
2345 (POLL_OUT): Likewise.
2346 (POLL_MSG): Likewise.
2347 (POLL_ERR): Likewise.
2348 (POLL_PRI): Likewise.
2349 (POLL_HUP): Likewise.
2350 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2352 (ILL_ILLOPN): Likewise.
2353 (ILL_ILLADR): Likewise.
2354 (ILL_ILLTRP): Likewise.
2355 (ILL_PRVOPC): Likewise.
2356 (ILL_PRVREG): Likewise.
2357 (ILL_COPROC): Likewise.
2358 (ILL_BADSTK): Likewise.
2359 (ILL_BADIADDR): Likewise.
2360 (ILL_BREAK): Likewise.
2361 (FPE_INTDIV): Likewise.
2362 (FPE_INTOVF): Likewise.
2363 (FPE_FLTDIV): Likewise.
2364 (FPE_FLTOVF): Likewise.
2365 (FPE_FLTUND): Likewise.
2366 (FPE_FLTRES): Likewise.
2367 (FPE_FLTINV): Likewise.
2368 (FPE_FLTSUB): Likewise.
2369 (FPE_DECOVF): Likewise.
2370 (FPE_DECDIV): Likewise.
2371 (FPE_DECERR): Likewise.
2372 (FPE_INVASC): Likewise.
2373 (FPE_INVDEC): Likewise.
2374 (SEGV_MAPERR): Likewise.
2375 (SEGV_ACCERR): Likewise.
2376 (SEGV_PSTKOVF): Likewise.
2377 (BUS_ADRALN): Likewise.
2378 (BUS_ADRERR): Likewise.
2379 (BUS_OBJERR): Likewise.
2380 (BUS_MCEERR_AR): Likewise.
2381 (BUS_MCEERR_AO): Likewise.
2382 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2383 (TRAP_TRACE): Likewise.
2384 (TRAP_BRANCH): Likewise.
2385 (TRAP_HWBKPT): Likewise.
2386 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2388 (CLD_KILLED): Likewise.
2389 (CLD_DUMPED): Likewise.
2390 (CLD_TRAPPED): Likewise.
2391 (CLD_STOPPED): Likewise.
2392 (CLD_CONTINUED): Likewise.
2393 (POLL_IN): Likewise.
2394 (POLL_OUT): Likewise.
2395 (POLL_MSG): Likewise.
2396 (POLL_ERR): Likewise.
2397 (POLL_PRI): Likewise.
2398 (POLL_HUP): Likewise.
2399 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2400 (ILL_ILLOPN): Likewise.
2401 (ILL_ILLADR): Likewise.
2402 (ILL_ILLTRP): Likewise.
2403 (ILL_PRVOPC): Likewise.
2404 (ILL_PRVREG): Likewise.
2405 (ILL_COPROC): Likewise.
2406 (ILL_BADSTK): Likewise.
2407 (FPE_INTDIV): Likewise.
2408 (FPE_INTOVF): Likewise.
2409 (FPE_FLTDIV): Likewise.
2410 (FPE_FLTOVF): Likewise.
2411 (FPE_FLTUND): Likewise.
2412 (FPE_FLTRES): Likewise.
2413 (FPE_FLTINV): Likewise.
2414 (FPE_FLTSUB): Likewise.
2415 (SEGV_MAPERR): Likewise.
2416 (SEGV_ACCERR): Likewise.
2417 (BUS_ADRALN): Likewise.
2418 (BUS_ADRERR): Likewise.
2419 (BUS_OBJERR): Likewise.
2420 (BUS_MCEERR_AR): Likewise.
2421 (BUS_MCEERR_AO): Likewise.
2422 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2423 (TRAP_TRACE): Likewise.
2424 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2426 (CLD_KILLED): Likewise.
2427 (CLD_DUMPED): Likewise.
2428 (CLD_TRAPPED): Likewise.
2429 (CLD_STOPPED): Likewise.
2430 (CLD_CONTINUED): Likewise.
2431 (POLL_IN): Likewise.
2432 (POLL_OUT): Likewise.
2433 (POLL_MSG): Likewise.
2434 (POLL_ERR): Likewise.
2435 (POLL_PRI): Likewise.
2436 (POLL_HUP): Likewise.
2437 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2438 (ILL_ILLOPN): Likewise.
2439 (ILL_ILLADR): Likewise.
2440 (ILL_ILLTRP): Likewise.
2441 (ILL_PRVOPC): Likewise.
2442 (ILL_PRVREG): Likewise.
2443 (ILL_COPROC): Likewise.
2444 (ILL_BADSTK): Likewise.
2445 (FPE_INTDIV): Likewise.
2446 (FPE_INTOVF): Likewise.
2447 (FPE_FLTDIV): Likewise.
2448 (FPE_FLTOVF): Likewise.
2449 (FPE_FLTUND): Likewise.
2450 (FPE_FLTRES): Likewise.
2451 (FPE_FLTINV): Likewise.
2452 (FPE_FLTSUB): Likewise.
2453 (SEGV_MAPERR): Likewise.
2454 (SEGV_ACCERR): Likewise.
2455 (BUS_ADRALN): Likewise.
2456 (BUS_ADRERR): Likewise.
2457 (BUS_OBJERR): Likewise.
2458 (BUS_MCEERR_AR): Likewise.
2459 (BUS_MCEERR_AO): Likewise.
2460 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2461 (TRAP_TRACE): Likewise.
2462 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2464 (CLD_KILLED): Likewise.
2465 (CLD_DUMPED): Likewise.
2466 (CLD_TRAPPED): Likewise.
2467 (CLD_STOPPED): Likewise.
2468 (CLD_CONTINUED): Likewise.
2469 (POLL_IN): Likewise.
2470 (POLL_OUT): Likewise.
2471 (POLL_MSG): Likewise.
2472 (POLL_ERR): Likewise.
2473 (POLL_PRI): Likewise.
2474 (POLL_HUP): Likewise.
2475 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2476 (ILL_ILLOPN): Likewise.
2477 (ILL_ILLADR): Likewise.
2478 (ILL_ILLTRP): Likewise.
2479 (ILL_PRVOPC): Likewise.
2480 (ILL_PRVREG): Likewise.
2481 (ILL_COPROC): Likewise.
2482 (ILL_BADSTK): Likewise.
2483 (FPE_INTDIV): Likewise.
2484 (FPE_INTOVF): Likewise.
2485 (FPE_FLTDIV): Likewise.
2486 (FPE_FLTOVF): Likewise.
2487 (FPE_FLTUND): Likewise.
2488 (FPE_FLTRES): Likewise.
2489 (FPE_FLTINV): Likewise.
2490 (FPE_FLTSUB): Likewise.
2491 (SEGV_MAPERR): Likewise.
2492 (SEGV_ACCERR): Likewise.
2493 (BUS_ADRALN): Likewise.
2494 (BUS_ADRERR): Likewise.
2495 (BUS_OBJERR): Likewise.
2496 (BUS_MCEERR_AR): Likewise.
2497 (BUS_MCEERR_AO): Likewise.
2498 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2499 (TRAP_TRACE): Likewise.
2500 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2502 (CLD_KILLED): Likewise.
2503 (CLD_DUMPED): Likewise.
2504 (CLD_TRAPPED): Likewise.
2505 (CLD_STOPPED): Likewise.
2506 (CLD_CONTINUED): Likewise.
2507 (POLL_IN): Likewise.
2508 (POLL_OUT): Likewise.
2509 (POLL_MSG): Likewise.
2510 (POLL_ERR): Likewise.
2511 (POLL_PRI): Likewise.
2512 (POLL_HUP): Likewise.
2513 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2514 (ILL_ILLOPN): Likewise.
2515 (ILL_ILLADR): Likewise.
2516 (ILL_ILLTRP): Likewise.
2517 (ILL_PRVOPC): Likewise.
2518 (ILL_PRVREG): Likewise.
2519 (ILL_COPROC): Likewise.
2520 (ILL_BADSTK): Likewise.
2521 (ILL_DBLFLT): Likewise.
2522 (ILL_HARDWALL): Likewise.
2523 (FPE_INTDIV): Likewise.
2524 (FPE_INTOVF): Likewise.
2525 (FPE_FLTDIV): Likewise.
2526 (FPE_FLTOVF): Likewise.
2527 (FPE_FLTUND): Likewise.
2528 (FPE_FLTRES): Likewise.
2529 (FPE_FLTINV): Likewise.
2530 (FPE_FLTSUB): Likewise.
2531 (SEGV_MAPERR): Likewise.
2532 (SEGV_ACCERR): Likewise.
2533 (BUS_ADRALN): Likewise.
2534 (BUS_ADRERR): Likewise.
2535 (BUS_OBJERR): Likewise.
2536 (BUS_MCEERR_AR): Likewise.
2537 (BUS_MCEERR_AO): Likewise.
2538 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2539 (TRAP_TRACE): Likewise.
2540 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2542 (CLD_KILLED): Likewise.
2543 (CLD_DUMPED): Likewise.
2544 (CLD_TRAPPED): Likewise.
2545 (CLD_STOPPED): Likewise.
2546 (CLD_CONTINUED): Likewise.
2547 (POLL_IN): Likewise.
2548 (POLL_OUT): Likewise.
2549 (POLL_MSG): Likewise.
2550 (POLL_ERR): Likewise.
2551 (POLL_PRI): Likewise.
2552 (POLL_HUP): Likewise.
2553 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2554 (ILL_ILLOPN): Likewise.
2555 (ILL_ILLADR): Likewise.
2556 (ILL_ILLTRP): Likewise.
2557 (ILL_PRVOPC): Likewise.
2558 (ILL_PRVREG): Likewise.
2559 (ILL_COPROC): Likewise.
2560 (ILL_BADSTK): Likewise.
2561 (FPE_INTDIV): Likewise.
2562 (FPE_INTOVF): Likewise.
2563 (FPE_FLTDIV): Likewise.
2564 (FPE_FLTOVF): Likewise.
2565 (FPE_FLTUND): Likewise.
2566 (FPE_FLTRES): Likewise.
2567 (FPE_FLTINV): Likewise.
2568 (FPE_FLTSUB): Likewise.
2569 (SEGV_MAPERR): Likewise.
2570 (SEGV_ACCERR): Likewise.
2571 (BUS_ADRALN): Likewise.
2572 (BUS_ADRERR): Likewise.
2573 (BUS_OBJERR): Likewise.
2574 (BUS_MCEERR_AR): Likewise.
2575 (BUS_MCEERR_AO): Likewise.
2576 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2577 (TRAP_TRACE): Likewise.
2578 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2580 (CLD_KILLED): Likewise.
2581 (CLD_DUMPED): Likewise.
2582 (CLD_TRAPPED): Likewise.
2583 (CLD_STOPPED): Likewise.
2584 (CLD_CONTINUED): Likewise.
2585 (POLL_IN): Likewise.
2586 (POLL_OUT): Likewise.
2587 (POLL_MSG): Likewise.
2588 (POLL_ERR): Likewise.
2589 (POLL_PRI): Likewise.
2590 (POLL_HUP): Likewise.
2591 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2592 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2595 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2596 before #include of <time.h>.
2597 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2598 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2599 (test-xfail-UNIX98/sched.h/conform): Likewise.
2601 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2603 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2604 error absence of trapping exception support.
2605 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2607 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2609 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2610 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2611 * timezone/Makefile (testdata): Move definition above include of
2613 (test-zones): New variable.
2614 (tests-special): Add zone files.
2615 (build-testdata): Use $(evaluate-test).
2617 * elf/Makefile (tests-special): Rename tests to end with .out.
2618 ($(objpfx)noload-mem): Likewise.
2619 ($(objpfx)tst-leaks1-mem): Likewise.
2620 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2621 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2622 $(objpfx)test-iconvconfig.out.
2623 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2624 set -e inside subshell and redirect output to file.
2625 * iconvdata/Makefile (generated): Rename tests to end with .out.
2627 (tests-special): Rename tests to end with .out.
2628 ($(objpfx)mtrace-tst-loading): Likewise.
2629 * intl/Makefile (generated): Likewise.
2630 (tests-special): Likewise.
2631 ($(objpfx)mtrace-tst-gettext): Likewise.
2632 * misc/Makefile (generated): Likewise.
2633 (tests-special): Likewise.
2634 ($(objpfx)tst-error1-mem): Likewise.
2635 * nptl/Makefile (tests-special): Likewise.
2636 ($(objpfx)tst-stack3-mem): Likewise.
2637 (generated): Likewise.
2638 * posix/Makefile (generated): Likewise.
2639 (tests-special): Likewise.
2640 (xtests-special): Likewise.
2641 ($(objpfx)tst-fnmatch-mem): Likewise.
2642 ($(objpfx)bug-regex2-mem): Likewise.
2643 ($(objpfx)bug-regex14-mem): Likewise.
2644 ($(objpfx)bug-regex21-mem): Likewise.
2645 ($(objpfx)bug-regex31-mem): Likewise.
2646 ($(objpfx)tst-vfork3-mem): Likewise.
2647 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2648 ($(objpfx)tst-pcre-mem): Likewise.
2649 ($(objpfx)tst-boost-mem): Likewise.
2650 ($(objpfx)bug-ga2-mem): Likewise.
2651 ($(objpfx)bug-glob2-mem): Likewise.
2652 * resolv/Makefile (generate): Likewise.
2653 (tests-special): Likewise.
2654 (xtests-special): Likewise.
2655 (generated): Likewise.
2656 ($(objpfx)mtrace-tst-leaks): Likewise.
2657 ($(objpfx)mtrace-tst-leaks2): Likewise.
2659 * scripts/merge-test-results.sh: New file.
2660 * Makefile (tests-special-notdir): New variable.
2661 (tests): Run merge-test-results.sh.
2663 * Rules (tests-special-notdir): New variable.
2664 (xtests-special-notdir): Likewise.
2665 (tests): Run merge-test-results.sh
2668 * Makeconfig (test-xfail-name): New variable.
2669 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2670 compute variable name for expected failures.
2671 * conform/Makefile (conformtest-headers-data): New variable.
2672 (conformtest-standards): Likewise.
2673 (conformtest-headers-ISO): Likewise.
2674 (conformtest-headers-ISO99): Likewise.
2675 (conformtest-headers-ISO11): Likewise.
2676 (conformtest-headers-POSIX): Likewise.
2677 (conformtest-headers-XPG3): Likewise.
2678 (conformtest-headers-XPG4): Likewise.
2679 (conformtest-headers-UNIX98): Likewise.
2680 (conformtest-headers-XOPEN2K): Likewise.
2681 (conformtest-headers-POSIX2008): Likewise.
2682 (conformtest-headers-XOPEN2K8): Likewise.
2683 (conformtest-header-list-base): Likewise.
2684 (conformtest-header-list-tests): Likewise.
2685 (conformtest-header-base): Likewise.
2686 (conformtest-header-tests): Likewise.
2687 (tests-special): Add $(conformtest-header-list-tests). If
2688 [$(fast-check) && !$(cross-compiling)], add
2689 $(conformtest-header-tests) instead of
2690 $(objpfx)run-conformtest.out.
2691 (generated): Add $(conformtest-header-list-base). If
2692 [$(fast-check) && !$(cross-compiling)], add
2693 $(conformtest-header-base). Remove previous setting.
2694 ($(conformtest-header-list-tests)): New target.
2695 (test-xfail-run-conformtest): Remove variable.
2696 ($(objpfx)run-conformtest.out): Remove target.
2697 (test-xfail-ISO11/complex.h/conform): New variable.
2698 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2699 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2700 (test-xfail-XPG3/varargs.h/conform): Likewise.
2701 (test-xfail-XPG4/varargs.h/conform): Likewise.
2702 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2703 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2704 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2705 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2706 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2707 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2708 (test-xfail-XPG3/ftw.h/conform): Likewise.
2709 (test-xfail-XPG3/grp.h/conform): Likewise.
2710 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2711 (test-xfail-XPG3/limits.h/conform): Likewise.
2712 (test-xfail-XPG3/pwd.h/conform): Likewise.
2713 (test-xfail-XPG3/search.h/conform): Likewise.
2714 (test-xfail-XPG3/signal.h/conform): Likewise.
2715 (test-xfail-XPG3/stdio.h/conform): Likewise.
2716 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2717 (test-xfail-XPG3/string.h/conform): Likewise.
2718 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2719 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2720 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2721 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2722 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2723 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2724 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2725 (test-xfail-XPG3/termios.h/conform): Likewise.
2726 (test-xfail-XPG3/time.h/conform): Likewise.
2727 (test-xfail-XPG3/unistd.h/conform): Likewise.
2728 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2729 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2730 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2731 (test-xfail-XPG4/netdb.h/conform): Likewise.
2732 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2733 (test-xfail-XPG4/signal.h/conform): Likewise.
2734 (test-xfail-XPG4/stdio.h/conform): Likewise.
2735 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2736 (test-xfail-XPG4/stropts.h/conform): Likewise.
2737 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2738 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2739 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2740 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2741 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2742 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2743 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2744 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2745 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2746 (test-xfail-XPG4/termios.h/conform): Likewise.
2747 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2748 (test-xfail-XPG4/unistd.h/conform): Likewise.
2749 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2750 (test-xfail-POSIX/sched.h/conform): Likewise.
2751 (test-xfail-POSIX/signal.h/conform): Likewise.
2752 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2753 (test-xfail-POSIX/tar.h/conform): Likewise.
2754 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2755 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2756 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2757 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2758 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2759 (test-xfail-UNIX98/sched.h/conform): Likewise.
2760 (test-xfail-UNIX98/signal.h/conform): Likewise.
2761 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2762 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2763 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2764 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2765 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2766 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2767 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2768 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2769 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2770 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2771 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2772 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2773 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2774 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2775 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2776 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2777 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2778 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2779 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2780 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2781 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2782 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2783 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2784 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2785 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2786 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2787 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2788 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2789 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2790 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2791 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2792 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2793 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2794 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2795 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2796 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2797 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2798 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2799 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2800 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2801 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2802 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2803 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2804 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2805 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2806 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2807 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2808 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2809 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2810 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2811 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2812 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2813 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2814 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2815 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2816 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2817 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2818 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2819 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2820 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2821 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2822 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2823 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2824 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2825 (conformtest-cc-flags): Likewise.
2826 ($(conformtest-header-tests): New target.
2827 * conform/check-header-lists.sh: New file.
2828 * conform/run-conformtest.sh: Remove.
2830 * conform/conformtest.pl: Allow ' and \ in values given for
2832 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2834 [POSIX] (sys/types.h): Likewise.
2835 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2837 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2839 * conform/data/signal.h-data (SIGIO): Remove expectation.
2840 [XPG3] (SIGBUS): Do not expect.
2841 [POSIX || XPG3] (SIGPOLL): Likewise.
2842 [POSIX || XPG3] (SIGPROF): Likewise.
2843 [POSIX || XPG3] (SIGSYS): Likewise.
2844 [XPG3] (SIGTRAP): Likewise.
2845 [POSIX || XPG3] (SIGURG): Likewise.
2846 [POSIX || XPG3] (SIGVTALRM): Likewise.
2847 [POSIX || XPG3] (SIGXCPU): Likewise.
2848 [POSIX || XPG3] (SIGXFSZ): Likewise.
2849 [POSIX] (SA_SIGINFO): Expect.
2850 [XPG3] (siginfo_t): Do not expect type or contents.
2851 [POSIX] (si_pid): Do not expect element.
2852 [POSIX] (si_uid): Likewise.
2853 [POSIX] (si_addr): Likewise.
2854 [POSIX] (si_status): Likewise.
2855 [POSIX] (si_band): Likewise.
2856 [XPG4] (si_value): Likewise.
2857 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2858 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2859 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2860 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2861 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2862 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2863 [POSIX || XPG3] (ILL_COPROC): Likewise.
2864 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2865 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2866 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2867 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2868 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2869 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2870 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2871 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2872 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2873 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2874 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2875 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2876 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2877 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2878 [POSIX || XPG3] (CLD_EXITED): Likewise.
2879 [POSIX || XPG3] (CLD_KILLED): Likewise.
2880 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2881 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2882 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2883 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2884 [POSIX || XPG3] (POLL_IN): Likewise.
2885 [POSIX || XPG3] (POLL_OUT): Likewise.
2886 [POSIX || XPG3] (POLL_MSG): Likewise.
2887 [POSIX || XPG3] (POLL_ERR): Likewise.
2888 [POSIX || XPG3] (POLL_PRI): Likewise.
2889 [POSIX || XPG3] (POLL_HUP): Likewise.
2890 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2891 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2892 (SIG*): Do not allow.
2893 [XPG3] (si_*): Likewise.
2894 [XPG3] (SI_*): Likewise.
2895 [XPG3 || XPG4] (sigev_*): Likewise.
2896 [XPG3 || XPG4] (SIGEV_*): Likewise.
2897 [XPG3 || XPG4] (sival_*): Likewise.
2898 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2899 [POSIX || XPG3] (BUS_*): Likewise.
2900 [POSIX || XPG3] (CLD_*): Likewise.
2901 [POSIX || XPG3] (FPE_*): Likewise.
2902 [POSIX || XPG3] (ILL_*): Likewise.
2903 [POSIX || XPG3] (POLL_*): Likewise.
2904 [POSIX || XPG3] (SEGV_*): Likewise.
2905 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2906 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2907 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2908 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2909 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2910 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2911 Specify type and value.
2912 (TVERSLEN): Likewise.
2913 (REGTYPE): Likewise.
2914 (AREGTYPE): Likewise.
2915 (LNKTYPE): Likewise.
2916 (SYMTYPE): Likewise.
2917 (CHRTYPE): Likewise.
2918 (BLKTYPE): Likewise.
2919 (DIRTYPE): Likewise.
2920 (FIFOTYPE): Likewise.
2921 (CONTTYPE): Likewise.
2926 (TUWRITE): Likewise.
2929 (TGWRITE): Likewise.
2932 (TOWRITE): Likewise.
2934 [POSIX] (TSVTX): Expect constant.
2936 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2938 * Makefile (tests): Change dependencies to ....
2939 (tests-special): ... additions to this variable.
2940 (tests): Depend on $(tests-special).
2941 * Makerules (check-abi-list): New variable.
2942 (check-abi): Depend on $(check-abi-list).
2943 [$(subdir) = elf] (tests-special): Add
2944 $(objpfx)check-abi-libc.out.
2945 [$(build-shared) = yes && subdir] (tests-special): Add
2947 [$(build-shared) = yes && subdir] (tests): Do not depend on
2949 * Rules (tests): Depend on $(tests-special).
2950 (xtests): Depend on $(xtests-special).
2951 * catgets/Makefile (tests): Change dependencies to ....
2952 (tests-special): ... additions to this variable.
2953 * conform/Makefile (tests): Change dependencies to ....
2954 (tests-special): ... additions to this variable.
2955 * elf/Makefile (tests): Change dependencies to ....
2956 (tests-special): ... additions to this variable.
2957 * grp/Makefile (tests): Change dependencies to ....
2958 (tests-special): ... additions to this variable.
2959 * iconv/Makefile (xtests): Change dependencies to ....
2960 (xtests-special): ... additions to this variable.
2961 * iconvdata/Makefile (tests): Change dependencies to ....
2962 (tests-special): ... additions to this variable.
2963 * intl/Makefile (tests): Change dependencies to ....
2964 (tests-special): ... additions to this variable. Also add
2965 $(objpfx)tst-gettext.out.
2966 * io/Makefile (tests): Change dependencies to ....
2967 (tests-special): ... additions to this variable.
2968 * libio/Makefile (tests): Change dependencies to ....
2969 (tests-special): ... additions to this variable.
2970 * malloc/Makefile (tests): Change dependencies to ....
2971 (tests-special): ... additions to this variable.
2972 * misc/Makefile (tests): Change dependencies to ....
2973 (tests-special): ... additions to this variable.
2974 * nptl/Makefile (tests): Change dependencies to ....
2975 (tests-special): ... additions to this variable.
2976 * nptl_db/Makefile (tests): Change dependencies to ....
2977 (tests-special): ... additions to this variable.
2978 * posix/Makefile (tests): Change dependencies to ....
2979 (tests-special): ... additions to this variable.
2980 (xtests): Change dependencies to ....
2981 (xtests-special): ... additions to this variable.
2982 * resolv/Makefile (tests): Change dependencies to ....
2983 (tests-special): ... additions to this variable.
2984 (xtests): Change dependencies to ....
2985 (xtests-special): ... additions to this variable.
2986 * stdio-common/Makefile (tests): Change dependencies to ....
2987 (tests-special): ... additions to this variable.
2988 (do-tst-unbputc): Remove target.
2989 (do-tst-printf): Likewise.
2990 * stdlib/Makefile (tests): Change dependencies to ....
2991 (tests-special): ... additions to this variable.
2992 * string/Makefile (tests): Change dependencies to ....
2993 (tests-special): ... additions to this variable.
2994 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2995 (tests-special): ... additions to this variable.
2997 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2999 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3001 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3002 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3004 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3005 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3006 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3007 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3008 * conform/data/libgen.h-data [XPG3]: Likewise.
3009 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3010 * conform/data/ndbm.h-data [XPG3]: Likewise.
3011 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3012 * conform/data/netdb.h-data [XPG3]: Likewise.
3013 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3014 * conform/data/poll.h-data [XPG3]: Likewise.
3015 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3016 * conform/data/strings.h-data [XPG3]: Likewise.
3017 * conform/data/stropts.h-data [XPG3]: Likewise.
3018 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3019 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3020 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3022 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3023 * conform/data/sys/time.h-data [XPG3]: Likewise.
3024 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3025 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3026 * conform/data/sys/un.h-data [XPG3]: Likewise.
3027 * conform/data/syslog.h-data [XPG3]: Likewise.
3028 * conform/data/ucontext.h-data [XPG3]: Likewise.
3029 * conform/data/utmpx.h-data [XPG3]: Likewise.
3030 * conform/data/varargs.h-data [UNIX98]: Enable file.
3032 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3034 * math/libm-test.inc (struct test_f_f_data): Move expected results
3035 into structure for each rounding mode.
3036 (struct test_ff_f_data): Likewise.
3037 (struct test_ff_f_data_nexttoward): Likewise.
3038 (struct test_fi_f_data): Likewise.
3039 (struct test_fl_f_data): Likewise.
3040 (struct test_if_f_data): Likewise.
3041 (struct test_fff_f_data): Likewise.
3042 (struct test_c_f_data): Likewise.
3043 (struct test_f_f1_data): Likewise.
3044 (struct test_fF_f1_data): Likewise.
3045 (struct test_ffI_f1_data): Likewise.
3046 (struct test_c_c_data): Likewise.
3047 (struct test_cc_c_data): Likewise.
3048 (struct test_f_i_data): Likewise.
3049 (struct test_ff_i_data): Likewise.
3050 (struct test_f_l_data): Likewise.
3051 (struct test_f_L_data): Likewise.
3052 (struct test_fFF_11_data): Likewise.
3054 (RM_FE_DOWNWARD): Likewise.
3055 (RM_FE_TONEAREST): Likewise.
3056 (RM_FE_TOWARDZERO): Likewise.
3057 (RM_FE_UPWARD): Likewise.
3058 (RUN_TEST_LOOP_f_f): Update references to expected results.
3059 (RUN_TEST_LOOP_2_f): Likewise.
3060 (RUN_TEST_LOOP_fff_f): Likewise.
3061 (RUN_TEST_LOOP_c_f): Likewise.
3062 (RUN_TEST_LOOP_f_f1): Likewise.
3063 (RUN_TEST_LOOP_fF_f1): Likewise.
3064 (RUN_TEST_LOOP_fI_f1): Likewise.
3065 (RUN_TEST_LOOP_ffI_f1): Likewise.
3066 (RUN_TEST_LOOP_c_c): Likewise.
3067 (RUN_TEST_LOOP_cc_c): Likewise.
3068 (RUN_TEST_LOOP_f_i): Likewise.
3069 (RUN_TEST_LOOP_f_i_tg): Likewise.
3070 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3071 (RUN_TEST_LOOP_f_b): Likewise.
3072 (RUN_TEST_LOOP_f_b_tg): Likewise.
3073 (RUN_TEST_LOOP_f_l): Likewise.
3074 (RUN_TEST_LOOP_f_L): Likewise.
3075 (RUN_TEST_LOOP_fFF_11): Likewise.
3076 * math/gen-libm-test.pl (parse_args): Output four copies of
3077 expected results for each test.
3079 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3080 (__ASSUME_UTIMES): Remove.
3081 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3082 (__ASSUME_UTIMES): Likewise.
3084 * math/gen-auto-libm-tests.c: Update comment on output format.
3085 (output_for_one_input_case): Generate before-rounding and
3086 after-rounding information as conditions on output flags not
3087 floating-point format.
3088 * math/auto-libm-test-out: Regenerated.
3089 * math/gen-libm-test.pl (cond_value): New function.
3090 (or_cond_value): Use cond_value.
3091 (generate_testfile): Handle conditional exceptions.
3093 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3095 * math/libm-test.inc (max_valid_error): New variable.
3096 (init_max_error): Take new argument specifying whether function
3097 results are exactly determined. Set max_valid_error and bound
3098 other variables for errors based on this argument.
3099 (set_max_error): Do not record results above max_valid_error.
3100 (check_float_internal): Only accept errors of up to 0.5ulps if
3101 also at most max_valid_error.
3102 (START): Take new argument EXACT and pass it to init_max_error.
3103 (acos_test): Update call to START.
3104 (acos_test_tonearest): Likewise.
3105 (acos_test_towardzero): Likewise.
3106 (acos_test_downward): Likewise.
3107 (acos_test_upward): Likewise.
3108 (acosh_test): Likewise.
3109 (asin_test): Likewise.
3110 (asin_test_tonearest): Likewise.
3111 (asin_test_towardzero): Likewise.
3112 (asin_test_downward): Likewise.
3113 (asin_test_upward): Likewise.
3114 (asinh_test): Likewise.
3115 (atan_test): Likewise.
3116 (atanh_test): Likewise.
3117 (atan2_test): Likewise.
3118 (cabs_test): Likewise.
3119 (cacos_test): Likewise.
3120 (cacosh_test): Likewise.
3121 (carg_test): Likewise.
3122 (casin_test): Likewise.
3123 (casinh_test): Likewise.
3124 (catan_test): Likewise.
3125 (catanh_test): Likewise.
3126 (cbrt_test): Likewise.
3127 (ccos_test): Likewise.
3128 (ccosh_test): Likewise.
3129 (ceil_test): Likewise.
3130 (cexp_test): Likewise.
3131 (cimag_test): Likewise.
3132 (clog_test): Likewise.
3133 (clog10_test): Likewise.
3134 (conj_test): Likewise.
3135 (copysign_test): Likewise.
3136 (cos_test): Likewise.
3137 (cos_test_tonearest): Likewise.
3138 (cos_test_towardzero): Likewise.
3139 (cos_test_downward): Likewise.
3140 (cos_test_upward): Likewise.
3141 (cosh_test): Likewise.
3142 (cosh_test_tonearest): Likewise.
3143 (cosh_test_towardzero): Likewise.
3144 (cosh_test_downward): Likewise.
3145 (cosh_test_upward): Likewise.
3146 (cpow_test): Likewise.
3147 (cproj_test): Likewise.
3148 (creal_test): Likewise.
3149 (csin_test): Likewise.
3150 (csinh_test): Likewise.
3151 (csqrt_test): Likewise.
3152 (ctan_test): Likewise.
3153 (ctan_test_tonearest): Likewise.
3154 (ctan_test_towardzero): Likewise.
3155 (ctan_test_downward): Likewise.
3156 (ctan_test_upward): Likewise.
3157 (ctanh_test): Likewise.
3158 (ctanh_test_tonearest): Likewise.
3159 (ctanh_test_towardzero): Likewise.
3160 (ctanh_test_downward): Likewise.
3161 (ctanh_test_upward): Likewise.
3162 (erf_test): Likewise.
3163 (erfc_test): Likewise.
3164 (exp_test): Likewise.
3165 (exp_test_tonearest): Likewise.
3166 (exp_test_towardzero): Likewise.
3167 (exp_test_downward): Likewise.
3168 (exp_test_upward): Likewise.
3169 (exp10_test): Likewise.
3170 (exp10_test_tonearest): Likewise.
3171 (exp10_test_towardzero): Likewise.
3172 (exp10_test_downward): Likewise.
3173 (exp10_test_upward): Likewise.
3174 (pow10_test): Likewise.
3175 (exp2_test): Likewise.
3176 (expm1_test): Likewise.
3177 (expm1_test_tonearest): Likewise.
3178 (expm1_test_towardzero): Likewise.
3179 (expm1_test_downward): Likewise.
3180 (expm1_test_upward): Likewise.
3181 (fabs_test): Likewise.
3182 (fdim_test): Likewise.
3183 (floor_test): Likewise.
3184 (fma_test): Likewise.
3185 (fma_test_towardzero): Likewise.
3186 (fma_test_downward): Likewise.
3187 (fma_test_upward): Likewise.
3188 (fmax_test): Likewise.
3189 (fmin_test): Likewise.
3190 (fmod_test): Likewise.
3191 (fpclassify_test): Likewise.
3192 (frexp_test): Likewise.
3193 (hypot_test): Likewise.
3194 (ilogb_test): Likewise.
3195 (isfinite_test): Likewise.
3196 (finite_test): Likewise.
3197 (isgreater_test): Likewise.
3198 (isgreaterequal_test): Likewise.
3199 (isinf_test): Likewise.
3200 (isless_test): Likewise.
3201 (islessequal_test): Likewise.
3202 (islessgreater_test): Likewise.
3203 (isnan_test): Likewise.
3204 (isnormal_test): Likewise.
3205 (issignaling_test): Likewise.
3206 (isunordered_test): Likewise.
3207 (j0_test): Likewise.
3208 (j1_test): Likewise.
3209 (jn_test): Likewise.
3210 (ldexp_test): Likewise.
3211 (lgamma_test): Likewise.
3212 (gamma_test): Likewise.
3213 (lrint_test): Likewise.
3214 (lrint_test_tonearest): Likewise.
3215 (lrint_test_towardzero): Likewise.
3216 (lrint_test_downward): Likewise.
3217 (lrint_test_upward): Likewise.
3218 (llrint_test): Likewise.
3219 (llrint_test_tonearest): Likewise.
3220 (llrint_test_towardzero): Likewise.
3221 (llrint_test_downward): Likewise.
3222 (llrint_test_upward): Likewise.
3223 (log_test): Likewise.
3224 (log10_test): Likewise.
3225 (log1p_test): Likewise.
3226 (log2_test): Likewise.
3227 (logb_test): Likewise.
3228 (logb_test_downward): Likewise.
3229 (lround_test): Likewise.
3230 (llround_test): Likewise.
3231 (modf_test): Likewise.
3232 (nearbyint_test): Likewise.
3233 (nextafter_test): Likewise.
3234 (nexttoward_test): Likewise.
3235 (pow_test): Likewise.
3236 (pow_test_tonearest): Likewise.
3237 (pow_test_towardzero): Likewise.
3238 (pow_test_downward): Likewise.
3239 (pow_test_upward): Likewise.
3240 (remainder_test): Likewise.
3241 (drem_test): Likewise.
3242 (remainder_test_tonearest): Likewise.
3243 (drem_test_tonearest): Likewise.
3244 (remainder_test_towardzero): Likewise.
3245 (drem_test_towardzero): Likewise.
3246 (remainder_test_downward): Likewise.
3247 (drem_test_downward): Likewise.
3248 (remainder_test_upward): Likewise.
3249 (drem_test_upward): Likewise.
3250 (remquo_test): Likewise.
3251 (rint_test): Likewise.
3252 (rint_test_tonearest): Likewise.
3253 (rint_test_towardzero): Likewise.
3254 (rint_test_downward): Likewise.
3255 (rint_test_upward): Likewise.
3256 (round_test): Likewise.
3257 (scalb_test): Likewise.
3258 (scalbn_test): Likewise.
3259 (scalbln_test): Likewise.
3260 (signbit_test): Likewise.
3261 (sin_test): Likewise.
3262 (sin_test_tonearest): Likewise.
3263 (sin_test_towardzero): Likewise.
3264 (sin_test_downward): Likewise.
3265 (sin_test_upward): Likewise.
3266 (sincos_test): Likewise.
3267 (sinh_test): Likewise.
3268 (sinh_test_tonearest): Likewise.
3269 (sinh_test_towardzero): Likewise.
3270 (sinh_test_downward): Likewise.
3271 (sinh_test_upward): Likewise.
3272 (sqrt_test): Likewise.
3273 (sqrt_test_tonearest): Likewise.
3274 (sqrt_test_towardzero): Likewise.
3275 (sqrt_test_downward): Likewise.
3276 (sqrt_test_upward): Likewise.
3277 (tan_test): Likewise.
3278 (tan_test_tonearest): Likewise.
3279 (tan_test_towardzero): Likewise.
3280 (tan_test_downward): Likewise.
3281 (tan_test_upward): Likewise.
3282 (tanh_test): Likewise.
3283 (tgamma_test): Likewise.
3284 (trunc_test): Likewise.
3285 (y0_test): Likewise.
3286 (y1_test): Likewise.
3287 (yn_test): Likewise.
3288 (significand_test): Likewise.
3290 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3291 individual tests in comment.
3292 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3293 (prev_max_error): New variable.
3294 (prev_real_max_error): Likewise.
3295 (prev_imag_max_error): Likewise.
3296 (compare_ulp_data): Don't refer to test names in comment.
3297 (find_test_ulps): Remove function.
3298 (find_function_ulps): Likewise.
3299 (find_complex_function_ulps): Likewise.
3300 (init_max_error): Take function name as argument. Look up ulps
3302 (print_ulps): Remove function.
3303 (print_max_error): Use prev_max_error instead of calling
3305 (print_complex_max_error): Use prev_real_max_error and
3306 prev_imag_max_error instead of calling find_complex_function_ulps.
3307 (check_float_internal): Take max_ulp parameter instead of calling
3308 find_test_ulps. Don't call print_ulps.
3309 (check_float): Update call to check_float_internal.
3310 (check_complex): Update calls to check_float_internal.
3311 (START): Pass argument to init_max_error.
3312 * math/gen-libm-test.pl (%results): Don't include "kind"
3314 (parse_ulps): Don't handle ulps of individual tests.
3315 (print_ulps_file): Likewise.
3316 (output_ulps): Likewise.
3317 * math/README.libm-test: Update.
3318 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3320 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3321 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3322 * sysdeps/arm/libm-test-ulps: Likewise.
3323 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3324 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3325 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3326 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3327 * sysdeps/microblaze/libm-test-ulps: Likewise.
3328 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3329 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3330 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3331 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3332 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3333 * sysdeps/sh/libm-test-ulps: Likewise.
3334 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3335 * sysdeps/tile/libm-test-ulps: Likewise.
3336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3338 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3340 * math/libm-test.inc (print_complex_max_error): Check separately
3341 whether real and imaginary errors are within allowed range and
3342 pass 0 to print_complex_function_ulps instead of value within
3345 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3347 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3349 (get_handles_fopen): Likewise.
3350 (do_write_test): Likewise.
3352 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3354 * libio/fileops.c (do_ftell): Use cached offset when
3356 * libio/iofwide.c (do_ftell_wide): Likewise.
3357 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3359 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3362 * libio/libioP.h (get_file_offset): New function.
3363 * libio/fileops.c (get_file_offset): Likewise.
3364 (do_ftell): Likewise.
3365 (_IO_new_file_seekoff): Split out ftell logic.
3366 * libio/wfileops.c (do_ftell_wide): Likewise.
3367 (_IO_wfile_seekoff): Split out ftell logic.
3368 * libio/tst-ftell-active-handler.c: New test case.
3369 * libio/Makefile (tests): Add it.
3371 2014-03-03 Roland McGrath <roland@hack.frob.com>
3373 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3374 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3376 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3379 * nscd/connections.c (nscd_init): Call do_exit.
3380 (start_threads): Call do_exit and notify_parent.
3381 (begin_drop_privileges): Call do_exit.
3382 (finish_drop_privileges): Likewise.
3383 * nscd/selinux.c (preserve_capabilities): Likewise.
3384 (install_real_capabilities): Likewise.
3385 (nscd_selinux_enabled): Likewise.
3386 (avc_create_thread): Likewise.
3387 (avc_alloc_lock): Likewise.
3388 (nscd_avc_init): Likewise.
3389 * nscd/nscd.c (parent_fd): New static variable.
3390 (main): Create a pipe between parent and child processes.
3391 Skip closing parent_fd.
3392 (monitor_child): New function.
3393 (do_exit): Likewise.
3394 (notify_parent): Likewise.
3395 * nscd/nscd.h (notify_parent): Likewise.
3396 (do_exit): Likewise.
3398 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3400 * malloc/malloc.c (__libc_calloc): Revert last change.
3402 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3406 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3408 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3412 (__libc_ifunc_impl_list): Likewise.
3413 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3414 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3415 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3416 * string/strrchr.c: Define STRRCHR.
3418 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3420 * benchtest/bench-strtok.c (simple_strtok): Delete.
3421 (strtok_string): Use as benchmark.
3422 * string/strtok (STRTOK): New macro.
3424 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3426 * manual/threads.texi: Add header and standard comments to all
3429 * elf/dl-lookup.c (check_match): New function.
3430 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3431 (do_lookup_x): Remove nested function check_match. Use non-nested
3432 function check_match.
3434 2014-02-28 Roland McGrath <roland@hack.frob.com>
3436 * csu/Makefile (generated, before-compile): Use += rather than =.
3437 * catgets/Makefile (generated, generated-dirs): Likewise.
3438 * debug/Makefile (generated): Likewise.
3439 * dlfcn/Makefile (generated): Likewise.
3440 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3441 * iconvdata/Makefile (before-compile, generated): Likewise.
3442 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3443 * libio/Makefile (generated): Likewise.
3444 * malloc/Makefile (generated): Likewise.
3445 * manual/Makefile (generated, generated-dirs): Likewise.
3446 * misc/Makefile (generated): Likewise.
3447 * posix/Makefile (generated): Likewise.
3448 * resolv/Makefile (generated): Likewise.
3449 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3450 * timezone/Makefile (generated, generated-dirs): Likewise.
3452 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3454 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3457 power8 implementation.
3458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3459 file: POWER8 llround ifunc implementation.
3460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3461 (__lllround): Add POWER8 implementation.
3462 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3463 POWER8 llround implementation.
3465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3466 power8 implementation.
3467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3468 file: POWER8 llrint ifunc implementation.
3469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3470 Add POWER8 implementation.
3471 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3472 POWER8 llrint implementation.
3474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3475 power8 implementation.
3476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3477 file: POWER8 finite ifunc implementation.
3478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3479 Add POWER8 implementation.
3480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3482 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3483 POWER8 finite implementation.
3484 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3487 power8 implementation.
3488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3489 file: POWER8 isinf ifunc implementation.
3490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3491 POWER8 implementation.
3492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3494 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3495 isinf implementation.
3496 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3498 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3499 (INIT_ARCH): Add hwcap2 initialization.
3500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3501 power8 implementation.
3502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3503 file: POWER8 isnan ifunc implementation.
3504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3505 POWER8 implementation.
3506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3508 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3509 isnan implementation.
3510 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3512 2014-02-27 Joey Ye <joey.ye@arm.com>
3514 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3515 (_FP_NANFRAC_Q): Set to zero.
3517 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3520 * math/auto-libm-test-in: New test inputs.
3521 * math/auto-libm-test-out: Regenerate.
3522 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3525 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3527 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3529 * scripts/evaluate-test.sh: Take new argument indicating whether
3530 failure is expected.
3531 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3532 indicating whether failure is expected.
3533 * conform/Makefile (test-xfail-run-conformtest): New variable.
3534 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3536 * posix/Makefile (test-xfail-annexc): New variable.
3537 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3539 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3541 * argp/Makefile: Include Makeconfig immediately after defining
3543 * assert/Makefile: Likewise.
3544 * benchtests/Makefile: Likewise.
3545 * catgets/Makefile: Likewise.
3546 * conform/Makefile: Likewise.
3547 * crypt/Makefile: Likewise.
3548 * csu/Makefile: Likewise.
3549 (all): Remove target.
3550 * ctype/Makefile: Include Makeconfig immediately after defining
3552 * debug/Makefile: Likewise.
3553 * dirent/Makefile: Likewise.
3554 * dlfcn/Makefile: Likewise.
3555 * gmon/Makefile: Likewise.
3556 * gnulib/Makefile: Likewise.
3557 * grp/Makefile: Likewise.
3558 * gshadow/Makefile: Likewise.
3559 * hesiod/Makefile: Likewise.
3560 * hurd/Makefile: Likewise.
3561 (all): Remove target.
3562 * iconvdata/Makefile: Include Makeconfig immediately after
3564 * inet/Makefile: Likewise.
3565 * intl/Makefile: Likewise.
3566 * io/Makefile: Likewise.
3567 * libio/Makefile: Likewise.
3568 (all): Remove target.
3569 * locale/Makefile: Include Makeconfig immediately after defining
3571 * login/Makefile: Likewise.
3572 * mach/Makefile: Likewise.
3573 (all): Remove target.
3574 * malloc/Makefile: Include Makeconfig immediately after defining
3576 (all): Remove target.
3577 * manual/Makefile: Include Makeconfig immediately after defining
3579 * math/Makefile: Likewise.
3580 * misc/Makefile: Likewise.
3581 * nis/Makefile: Likewise.
3582 * nss/Makefile: Likewise.
3583 * po/Makefile: Likewise.
3584 (all): Remove target.
3585 * posix/Makefile: Include Makeconfig immediately after defining
3587 * pwd/Makefile: Likewise.
3588 * resolv/Makefile: Likewise.
3589 * resource/Makefile: Likewise.
3590 * rt/Makefile: Likewise.
3591 * setjmp/Makefile: Likewise.
3592 * shadow/Makefile: Likewise.
3593 * signal/Makefile: Likewise.
3594 * socket/Makefile: Likewise.
3595 * soft-fp/Makefile: Likewise.
3596 * stdio-common/Makefile: Likewise.
3597 * stdlib/Makefile: Likewise.
3598 * streams/Makefile: Likewise.
3599 * string/Makefile: Likewise.
3600 * sunrpc/Makefile: Likewise.
3601 (all): Remove target.
3602 * sysvipc/Makefile: Include Makeconfig immediately after defining
3604 * termios/Makefile: Likewise.
3605 * time/Makefile: Likewise.
3606 * timezone/Makefile: Likewise.
3607 (all): Remove target.
3608 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3610 * wctype/Makefile: Likewise.
3612 2014-02-26 Steve Ellcey <sellcey@mips.com>
3614 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3615 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3616 (libc_feholdexcept_setround_mips): Ditto.
3617 (libc_feholdsetround): New.
3618 (libc_feholdsetroundf): New.
3619 (libc_feholdsetroundl): New.
3620 (libc_feupdateenv_test_mips): New.
3621 (libc_feupdateenv_test): New.
3622 (libc_feupdateenv_testf): New.
3623 (libc_feupdateenv_testl): New.
3624 (libc_feresetround): New.
3625 (libc_feresetroundf): New.
3626 (libc_feresetroundl): New.
3627 (libc_fetestexcept_mips): New.
3628 (libc_fetestexcept): New.
3629 (libc_fetestexceptf): New.
3630 (libc_fetestexceptl): New.
3632 (libc_feholdexcept_setround_mips_ctx): New.
3633 (libc_feholdexcept_setround_ctx): New.
3634 (libc_feholdexcept_setroundf_ctx): New.
3635 (libc_feholdexcept_setroundl_ctx): New.
3636 (libc_fesetenv_mips_ctx): New.
3637 (libc_fesetenv_ctx): New.
3638 (libc_fesetenv_ctxf): New.
3639 (libc_fesetenv_ctxl): New.
3640 (libc_feupdateenv_mips_ctx): New.
3641 (libc_feupdateenv_ctx): New.
3642 (libc_feupdateenvf_ctx): New.
3643 (libc_feupdateenvl_ctx): New.
3644 (libc_feholdsetround_mips_ctx): New.
3645 (libc_feholdsetround_ctx): New.
3646 (libc_feholdsetroundf_ctx): New.
3647 (libc_feholdsetroundl_ctx): New.
3648 (libc_feresetround_mips_ctx): New.
3649 (libc_feresetround_ctx): New.
3650 (libc_feresetroundf_ctx): New.
3651 (libc_feresetroundl_ctx): New.
3653 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3655 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3657 * manual/ipc.texi: New file.
3658 * manual/Makefile (chapters): Add ipc.
3659 * manual/job.texi: Add "Inter-Process Communication" to next.
3660 * manual/process.texi: Add "Inter-Process Communication" to prev.
3662 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3666 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3668 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3670 * manual/arith.texi: Fix spaces after sentences.
3671 * manual/charset.texi: Likewise.
3672 * manual/errno.texi: Likewise.
3673 * manual/install.texi: Likewise.
3674 * manual/llio.texi: Likewise.
3675 * manual/locale.texi: Likewise.
3676 * manual/maint.texi: Likewise.
3677 * manual/math.texi: Likewise.
3678 * manual/memory.texi: Likewise.
3679 * manual/message.texi: Likewise.
3680 * manual/probes.texi: Likewise.
3681 * manual/resource.texi: Likewise.
3682 * manual/signal.texi: Likewise.
3683 * manual/socket.texi: Likewise.
3684 * manual/stdio.texi: Likewise.
3685 * manual/string.texi: Likewise.
3686 * manual/time.texi: Likewise.
3687 * manual/users.texi: Likewise.
3689 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3692 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3693 _DEFAULT_SOURCE is defined.
3695 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3696 Carlos O'Donell <carlos@redhat.com>
3699 * elf/dl-tls.c (_dl_count_modids): New function.
3700 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3701 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3702 audit library and increment generation counter.
3703 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3704 * elf/tst-audit9.c: New file.
3705 * elf/tst-auditmod9a.c: New file.
3706 * elf/tst-auditmod9b.c: New file.
3707 * elf/Makefile: Add rules to build and run tst-audit9.
3709 2014-02-25 Florian Weimer <fweimer@redhat.com>
3712 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3714 2014-02-25 Will Newton <will.newton@linaro.org>
3716 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3717 (__longjmp): Restore sp and lr before restoring callee
3718 saved registers. Add longjmp and longjmp_target
3719 SystemTap probe point.
3720 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3721 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3722 Define to zero to match jmpbuf layout.
3723 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3724 (__sigsetjmp): Save sp and lr before saving callee
3725 saved registers. Add setjmp SystemTap probe point.
3727 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3729 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3731 2014-02-24 Andreas Schwab <schwab@suse.de>
3734 * elf/pldd.c (wait_for_ptrace_stop): New function.
3735 (main): Call it after attaching.
3737 2014-02-22 Roland McGrath <roland@hack.frob.com>
3739 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3740 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3741 Versions files is now verboten.
3742 * hurd/Versions (libc: GLIBC_2.0):
3743 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3744 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3745 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3746 * mach/Versions: Likewise.
3748 * csu/Versions: Remove unused %include.
3749 * resolv/Versions: Likewise.
3751 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3753 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3754 ($(objpfx)check-local-headers.out): Likewise.
3755 ($(objpfx)begin-end-check.out): Likewise.
3756 * Makerules (check-abi-%.out): Likewise.
3757 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3758 ($(objpfx)test2.cat): Likewise.
3759 ($(objpfx)de/libc.cat): Likewise.
3760 ($(objpfx)test-gencat.out): Likewise.
3761 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3762 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3763 ($(objpfx)noload-mem): Likewise.
3764 ($(objpfx)tst-pathopt.out): Likewise.
3765 ($(objpfx)tst-rtld-load-self.out): Likewise.
3766 ($(objpfx)tst-array1-cmp.out): Likewise.
3767 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3768 ($(objpfx)tst-array2-cmp.out): Likewise.
3769 ($(objpfx)tst-array3-cmp.out): Likewise.
3770 ($(objpfx)tst-array4-cmp.out): Likewise.
3771 ($(objpfx)tst-array5-cmp.out): Likewise.
3772 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3773 ($(objpfx)check-textrel.out): Likewise.
3774 ($(objpfx)check-execstack.out): Likewise.
3775 ($(objpfx)check-localplt.out): Likewise.
3776 ($(objpfx)order2-cmp.out): Likewise.
3777 ($(objpfx)tst-leaks1-mem): Likewise.
3778 ($(objpfx)tst-leaks1-static-mem): Likewise.
3779 ($(objpfx)tst-initorder-cmp.out): Likewise.
3780 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3781 ($(objpfx)tst-unused-dep.out): Likewise.
3782 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3783 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3784 * iconv/Makefile (test-iconvconfig): Likewise.
3785 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3786 ($(objpfx)iconv-test.out): Likewise.
3787 ($(objpfx)tst-tables.out): Likewise.
3788 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3789 ($(objpfx)tst-gettext.out): Likewise.
3790 ($(objpfx)tst-translit.out): Likewise.
3791 ($(objpfx)tst-gettext2.out): Likewise.
3792 ($(objpfx)tst-gettext4.out): Likewise.
3793 ($(objpfx)tst-gettext6.out): Likewise.
3794 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3795 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3796 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3797 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3798 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3799 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3800 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3801 ($(objpfx)wordexp-tst.out): Likewise.
3802 ($(objpfx)annexc.out): Likewise.
3803 ($(objpfx)tst-fnmatch-mem): Likewise.
3804 ($(objpfx)bug-regex2-mem): Likewise.
3805 ($(objpfx)bug-regex14-mem): Likewise.
3806 ($(objpfx)bug-regex21-mem): Likewise.
3807 ($(objpfx)bug-regex31-mem): Likewise.
3808 ($(objpfx)tst-vfork3-mem): Likewise.
3809 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3810 ($(objpfx)tst-pcre-mem): Likewise.
3811 ($(objpfx)tst-boost-mem): Likewise.
3812 ($(objpfx)tst-getconf.out): Likewise.
3813 ($(objpfx)bug-ga2-mem): Likewise.
3814 ($(objpfx)bug-glob2-mem): Likewise.
3815 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3816 ($(objpfx)mtrace-tst-leaks2): Likewise.
3817 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3818 ($(objpfx)tst-printf.out): Likewise.
3819 ($(objpfx)tst-setvbuf1.out): Likewise.
3820 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3821 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3822 ($(objpfx)tst-fmtmsg.out): Likewise.
3823 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3824 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3826 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3827 * bits/sigaction.h [__USE_MISC]: Likewise.
3828 * bits/waitstatus.h: Update #endif comments.
3829 * ctype/ctype.h: Likewise.
3830 * dirent/dirent.h: Likewise.
3831 [__USE_MISC]: Remove redundant conditionals.
3832 * grp/grp.h: Update #endif comments.
3833 [__USE_GNU]: Remove redundant conditionals.
3834 [__USE_MISC]: Likewise.
3835 * inet/netinet/in.h [__USE_GNU]: Likewise.
3836 * io/sys/stat.h [__USE_MISC]: Likewise.
3837 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3838 * libio/bits/stdio.h: Update #endif comments.
3839 [__USE_MISC]: Remove redundant conditionals.
3840 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3841 * libio/stdio.h: Update #endif comments.
3842 [__USE_MISC]: Remove redundant conditionals.
3843 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3844 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3845 * math/math.h: Update #else and #endif comments.
3846 [__USE_MISC]: Remove redundant conditionals.
3847 * misc/sys/uio.h: Update #endif comments.
3848 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3849 * posix/glob.h [__USE_MISC]: Likewise.
3850 * posix/sys/types.h: Update #endif comments.
3851 [__USE_MISC]: Remove redundant conditionals.
3852 * posix/sys/wait.h: Update #endif comments.
3853 [__USE_MISC]: Remove redundant conditionals.
3854 * posix/unistd.h: Update #endif comments.
3855 [__USE_MISC]: Remove redundant conditionals.
3856 * pwd/pwd.h [__USE_GNU]: Likewise.
3857 [__USE_MISC]: Likewise.
3858 * resolv/netdb.h [__USE_GNU]: Likewise.
3859 * signal/signal.h: Update #endif comments.
3860 [__USE_MISC]: Remove redundant conditionals.
3861 * stdlib/stdlib.h: Update #else and #endif comments.
3862 [__USE_MISC]: Remove redundant conditionals.
3863 [__USE_GNU]: Likewise.
3864 * string/bits/string2.h [__USE_MISC]: Likewise.
3865 * string/string.h: Update #endif comments.
3866 [__USE_MISC]: Remove redundant conditionals.
3867 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3869 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3870 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3871 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3873 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3875 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3877 [__USE_MISC]: Remove redundant conditionals.
3878 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3879 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3880 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3881 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3882 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3884 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3885 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3887 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3888 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3890 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3892 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3893 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3895 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3897 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3898 * sysdeps/x86/bits/string.h: Update #endif comments.
3899 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3901 * time/sys/time.h: Update #endif comments.
3902 * time/time.h: Likewise.
3903 [__USE_MISC]: Remove redundant conditionals.
3905 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3908 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3910 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3912 * Versions.def (librt): Add GLIBC_2.17.
3914 2014-02-21 Adam Conrad <adconrad@0c3.net>
3916 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3917 synonym for _SYS_AUXV_H to allow direct inclusion.
3918 * sysdeps/sparc/bits/hwcap.h: Likewise.
3919 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3920 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3921 * sysdeps/sparc/sysdep.h: Likewise.
3923 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3925 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3927 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3929 * benchtests/bench-strrchr.c: Print length instead of position.
3931 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3934 * sysdeps/unix/sysv/linux/kernel-features.h
3935 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3936 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3937 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3938 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3940 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3941 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3942 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3943 (__ASSUME_SENDMMSG): Define instead of using previous
3944 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3945 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3946 (__ASSUME_SENDMMSG_SYSCALL): Define.
3947 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3948 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3950 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3951 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3953 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3954 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3956 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3957 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3958 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3959 [__ASSUME_SENDMMSG]: Change conditionals to
3960 [__ASSUME_SENDMMSG_SOCKETCALL].
3961 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3962 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3964 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3965 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3967 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3968 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3969 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3970 [!__ASSUME_SENDMMSG]: Change conditional to
3971 [!__ASSUME_SENDMMSG_SOCKETCALL].
3972 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3973 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3977 * sysdeps/unix/sysv/linux/kernel-features.h
3978 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3979 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3980 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3981 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3982 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3983 [__i386__ || __sparc__]
3984 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3985 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3986 (__ASSUME_RECVMMSG): Define instead of using previous
3987 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3988 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3989 (__ASSUME_RECVMMSG_SYSCALL): Define.
3990 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3991 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3993 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3994 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3996 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3997 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3999 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4000 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4001 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4002 [__ASSUME_RECVMMSG]: Change condition to
4003 [__ASSUME_RECVMMSG_SOCKETCALL].
4004 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4005 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4007 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4008 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4009 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4011 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4012 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4013 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4014 [!__ASSUME_RECVMMSG]: Change condition to
4015 [!__ASSUME_RECVMMSG_SOCKETCALL].
4016 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4017 (__ASSUME_RECVMMSG_SYSCALL): Define.
4020 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4021 __powerpc__ || __s390__ || __sh__ || __sparc__]
4022 (__ASSUME_SOCKETCALL): Define.
4023 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4024 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4025 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4026 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4027 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4028 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4029 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4030 (__ASSUME_ACCEPT4): Define instead of using previous
4031 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4032 __powerpc__ || __sparc__ || __s390__)] condition.
4033 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4034 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4035 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4036 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4037 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4038 [!__ASSUME_ACCEPT4]: Change condition to
4039 [!__ASSUME_ACCEPT4_SOCKETCALL].
4040 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4041 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4042 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4043 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4044 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4045 __ASSUME_ACCEPT4_SYSCALL.
4046 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4047 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4048 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4049 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4050 __ASSUME_ACCEPT4_SYSCALL.
4051 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4052 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4053 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4054 [__ASSUME_ACCEPT4]: Change condition to
4055 [__ASSUME_ACCEPT4_SOCKETCALL].
4056 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4057 (__ASSUME_SOCKETCALL): Define.
4058 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4059 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4060 (__ASSUME_SOCKETCALL): Define.
4061 (__ASSUME_ACCEPT4): Remove.
4062 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4064 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4065 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4067 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4068 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4070 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4072 (HWCAP_ARM_LPAE): Likewise.
4073 (HWCAP_ARM_EVTSTRM): Likewise.
4074 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4075 Add vpfd32, lpae and evtstrm.
4076 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4079 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4081 * math/auto-libm-test-in: Add tests of clog10.
4082 * math/auto-libm-test-out: Regenerated.
4083 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4084 * sysdeps/i386/fpu/libm-test-ulps: Update.
4085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4087 2014-02-18 Andreas Schwab <schwab@suse.de>
4090 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4091 Store non-zero if the second buffer was newly allocated.
4092 (send_dg): Likewise.
4093 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4094 to send_vc and send_dg.
4095 (res_nsend): Pass NULL for ansp2_malloced.
4096 * resolv/res_query.c (__libc_res_nquery): Add parameter
4097 answerp2_malloced and pass it down to __libc_res_nsend.
4098 (res_nquery): Pass additional NULL to __libc_res_nquery.
4099 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4100 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4101 second answer buffer if answerp2_malloced was set.
4102 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4103 (__libc_res_nquerydomain): Add parameter
4104 answerp2_malloced and pass it down to __libc_res_nquery.
4105 (res_nquerydomain): Pass additional NULL to
4106 __libc_res_nquerydomain.
4107 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4108 additional NULL to __libc_res_nsend and __libc_res_nquery.
4109 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4110 additional NULL to __libc_res_nsearch.
4111 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4112 parameter of __libc_res_nsearch to check for separately allocated
4114 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4116 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4117 additional NULL to __libc_res_nquery.
4118 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4120 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4121 * include/resolv.h: Update prototypes of __libc_res_nquery,
4122 __libc_res_nsearch, __libc_res_nsend.
4124 2014-02-18 Joseph Myers <joseph@codesourcery.com>
4126 * math/auto-libm-test-in: Add tests of fma.
4127 * math/auto-libm-test-out: Regenerated.
4128 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4129 (fma_towardzero_test_data): Likewise.
4130 (fma_downward_test_data): Likewise.
4131 (fma_upward_test_data): Likewise.
4132 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4134 (rounding_modes): Add values for new field.
4135 (func_calc_method): Add value mpfr_fff_f.
4136 (func_calc_desc): Add mpfr_fff_f union field.
4137 (test_function): Add field exact_args.
4138 (FUNC): Add macro argument EXACT_ARGS.
4139 (FUNC_mpfr_f_f): Update call to FUNC.
4140 (FUNC_mpfr_f_f): Likewise.
4141 (FUNC_mpfr_ff_f): Likewise.
4142 (FUNC_mpfr_if_f): Likewise.
4143 (FUNC_mpc_c_f): Likewise.
4144 (FUNC_mpc_c_c): Likewise.
4145 (test_functions): Add fma. Update calls to FUNC.
4146 (handle_input_arg): Add argument exact_args.
4147 (add_test): Update call to handle_input_arg.
4148 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4149 (output_for_one_input_case): Update call to calc_generic_results.
4150 Recalculate exact zero results in each rounding mode.
4152 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4153 non-negative before setting low bit.
4154 * math/auto-libm-test-in: Mark one asin test possibly having
4156 * math/auto-libm-test-out: Regenerated.
4157 * sysdeps/i386/fpu/libm-test-ulps: Update.
4158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4160 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4162 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4163 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4164 ports/sysdeps/unix/sysv/linux/microblaze.
4165 * README: Add missing listing for microblaze*-*-linux-gnu.
4167 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4169 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4170 * sysdeps/unix/sysv/linux/ia64: Move directory from
4171 ports/sysdeps/unix/sysv/linux/ia64.
4172 * README: Update listing for ia64-*-linux-gnu.
4174 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4175 Joseph Myers <joseph@codesourcery.com>
4177 * Makeconfig (test-name): New variable.
4178 (evaluate-test): Likewise.
4179 * Makerules (do-test-clean): Remove .test-result files.
4180 (common-mostlyclean): Likewise.
4181 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4182 * scripts/evaluate-test.sh: New file.
4184 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4186 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4187 separate $(objpfx)tst-fopenloc-cmp.out and
4188 $(objpfx)tst-fopenloc-mem.out targets.
4189 (tests): Update dependencies.
4190 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4191 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4192 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4193 (tst-rxspencer-no-utf8-ARGS): New variable.
4194 (tst-rxspencer-no-utf8-ENV): Likewise.
4195 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4196 instead of $(objpfx)tst-rxspencer-mem.
4197 ($(objpfx)tst-rxspencer-mem): Change target to
4198 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4199 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4200 * posix/tst-rxspencer-no-utf8.c: New file.
4202 * elf/Makefile ($(objpfx)order.out): Remove rule.
4203 [$(run-built-tests) = yes] (tests): Depend on
4204 $(objpfx)order-cmp.out.
4205 ($(objpfx)order-cmp.out): New rule.
4206 [$(run-built-tests) = yes] (tests): Depend on
4207 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4208 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4209 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4210 $(objpfx)tst-array5-static-cmp.out.
4211 ($(objpfx)tst-array1.out): Remove rule.
4212 ($(objpfx)tst-array1-cmp.out): New rule.
4213 ($(objpfx)tst-array1-static.out): Remove rule.
4214 ($(objpfx)tst-array1-static-cmp.out): New rule.
4215 ($(objpfx)tst-array2.out): Remove rule.
4216 ($(objpfx)tst-array2-cmp.out): New rule.
4217 ($(objpfx)tst-array3.out): Remove rule.
4218 ($(objpfx)tst-array3-cmp.out): New rule.
4219 ($(objpfx)tst-array4.out): Remove rule.
4220 ($(objpfx)tst-array4-cmp.out): New rule.
4221 ($(objpfx)tst-array5.out): Remove rule.
4222 ($(objpfx)tst-array5-cmp.out): New rule.
4223 ($(objpfx)tst-array5-static.out): Remove rule.
4224 ($(objpfx)tst-array5-static-cmp.out): New rule.
4225 [$(run-built-tests) = yes] (tests): Depend on
4226 $(objpfx)order2-cmp.out.
4227 ($(objpfx)order2.out): Remove rule.
4228 ($(objpfx)order2-cmp.out): New rule.
4229 ($(objpfx)tst-initorder.out): Remove rule.
4230 [$(run-built-tests) = yes] (tests): Depend on
4231 $(objpfx)tst-initorder-cmp.out.
4232 ($(objpfx)tst-initorder-cmp.out): New rule.
4233 ($(objpfx)tst-initorder2.out): Remove rule.
4234 [$(run-built-tests) = yes] (tests): Depend on
4235 $(objpfx)tst-initorder2-cmp.out.
4236 ($(objpfx)tst-initorder2-cmp.out): New rule.
4237 [$(run-built-tests) = yes] (tests): Depend on
4238 $(objpfx)tst-unused-dep-cmp.out.
4239 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4240 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4241 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4242 on $(objpfx)tst-setvbuf1-cmp.out.
4243 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4244 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4245 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4246 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4247 ($(objpfx)tst-svc.out): Remove rule.
4248 ($(objpfx)tst-svc-cmp.out): New rule.
4250 2014-02-13 Joseph Myers <joseph@codesourcery.com>
4252 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4253 * ctype/ctype.h [__USE_MISC]: Likewise.
4254 * dirent/dirent.h [__USE_MISC]: Likewise.
4255 * grp/grp.h [__USE_MISC]: Likewise.
4256 * io/fcntl.h [__USE_MISC]: Likewise.
4257 * io/sys/stat.h [__USE_MISC]: Likewise.
4258 * libio/stdio.h [__USE_MISC]: Likewise.
4259 * posix/unistd.h [__USE_MISC]: Likewise.
4260 * pwd/pwd.h [__USE_MISC]: Likewise.
4261 * stdlib.h [__USE_MISC]: Likewise.
4262 * string/bits/string2.h [__USE_MISC]: Likewise.
4263 * string/string.h [__USE_MISC]: Likewise.
4264 * time/time.h [__USE_MISC]: Likewise.
4266 2014-02-13 Andreas Schwab <schwab@suse.de>
4269 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4270 second answer buffer if it was separately allocated.
4272 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4274 * sysdeps/mips/math-tests.h: Include <features.h>.
4275 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4276 (ROUNDING_TESTS_long_double): Do not define.
4277 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4278 (EXCEPTION_TESTS_long_double): Likewise.
4279 * sysdeps/mips/mips64/libm-test-ulps: Update.
4281 * include/features.h (__USE_BSD): Remove macro definitions.
4282 (__USE_SVID): Likewise.
4283 (_BSD_SOURCE): Likewise.
4284 (_SVID_SOURCE): Likewise.
4285 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4286 from definition of _DEFAULT_SOURCE.
4287 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4289 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4290 * bits/mman.h [__USE_BSD]: Likewise.
4291 * bits/termios.h [__USE_BSD]: Likewise.
4292 * bits/waitstatus.h [__USE_BSD]: Likewise.
4293 * ctype/ctype.h [__USE_SVID]: Likewise.
4294 * dirent/dirent.h [__USE_BSD]: Likewise.
4295 * grp/grp.h [__USE_SVID]: Likewise.
4296 [__USE_BSD]: Likewise.
4297 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4298 * io/fcntl.h [__USE_BSD]: Likewise.
4299 * io/ftw.h [__USE_BSD]: Likewise.
4300 * io/sys/stat.h [__USE_BSD]: Likewise.
4301 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4302 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4303 * libio/stdio.h [__USE_SVID]: Likewise.
4304 [__USE_BSD]: Likewise.
4305 * math/math.h [__USE_SVID]: Likewise.
4306 [__USE_BSD]: Likewise.
4307 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4308 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4309 * misc/search.h [__USE_SVID]: Likewise.
4310 * misc/sys/mman.h [__USE_BSD]: Likewise.
4311 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4312 * misc/sys/uio.h [__USE_BSD]: Likewise.
4313 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4314 * posix/glob.h [__USE_BSD]: Likewise.
4315 * posix/regex.h [__USE_BSD]: Likewise.
4316 * posix/sys/types.h [__USE_BSD]: Likewise.
4317 [__USE_SVID]: Likewise.
4318 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4319 * posix/sys/wait.h [__USE_BSD]: Likewise.
4320 [__USE_SVID]: Likewise.
4321 * posix/unistd.h [__USE_BSD]: Likewise.
4322 [__USE_SVID]: Likewise.
4323 * pwd/pwd.h [__USE_SVID]: Likewise.
4324 * resolv/netdb.h [__USE_BSD]: Likewise.
4325 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4326 * signal/signal.h [__USE_BSD]: Likewise.
4327 [__USE_SVID]: Likewise.
4328 * socket/sys/socket.h [__USE_BSD]: Likewise.
4329 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4330 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4331 [__USE_SVID]: Likewise.
4332 * string/bits/string2.h [__USE_BSD]: Likewise.
4333 [__USE_SVID]: Likewise.
4334 * string/bits/string3.h [__USE_BSD]: Likewise.
4335 * string/endian.h [__USE_BSD]: Likewise.
4336 * string/string.h [__USE_SVID]: Likewise.
4337 [__USE_BSD]: Likewise.
4338 * string/strings.h [__USE_BSD]: Likewise.
4339 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4340 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4341 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4342 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4343 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4344 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4346 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4348 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4349 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4351 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4352 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4354 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4356 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4357 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4358 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4360 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4362 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4363 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4364 * termios/termios.h [__USE_BSD]: Likewise.
4365 * time/sys/time.h [__USE_BSD]: Likewise.
4366 * time/time.h [__USE_BSD]: Likewise.
4367 [__USE_SVID]: Likewise.
4369 * Makefile (subdir_targets): Remove subdir_lint.out.
4371 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4372 (do-tst-printf): Likewise.
4373 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4374 $(objpfx)tst-printf.out.
4376 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4378 * Makerules (check-abi-%): Change target to
4379 $(objpfx)check-abi-%.out.
4380 (check-abi target): Update dependencies.
4381 (check-abi-pattern variable): Redirect output of diff to $@.
4382 (check-abi variable): Likewise.
4383 * elf/Makefile (check-abi): Update dependencies.
4385 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4387 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4388 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4390 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4391 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4392 value has largest subnormal exponent.
4393 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4394 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4395 * sysdeps/aarch64/soft-fp/sfp-machine.h
4396 (_FP_TININESS_AFTER_ROUNDING): New macro.
4397 * sysdeps/alpha/soft-fp/sfp-machine.h
4398 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4399 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4401 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4402 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4403 * sysdeps/mips/soft-fp/sfp-machine.h
4404 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4405 * sysdeps/powerpc/soft-fp/sfp-machine.h
4406 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4407 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4409 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4410 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4411 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4412 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4413 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4416 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4419 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4422 2014-02-12 Richard Henderson <rth@redhat.com>
4424 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4425 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4426 * sysdeps/unix/sysv/linux/alpha: Move directory from
4427 ports/sysdeps/unix/sysv/linux/alpha.
4428 * README: Update listing for alpha-*-linux-gnu.
4430 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4432 * include/features.h: Update comment documenting feature test
4434 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4436 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4437 (_SVID_SOURCE): Likewise.
4438 (_DEFAULT_SOURCE): Update description of default features.
4439 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4441 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4442 (S_ISVTX): Likewise.
4443 * manual/math.texi (Mathematical Constants): Likewise.
4444 * manual/signal.texi (Interrupted Primitives): Likewise.
4445 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4446 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4447 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4448 Don't refer to _SVID_SOURCE in warning text.
4450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4452 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4454 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4455 * sysdeps/mips/dl-lookup.c: Remove.
4456 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4458 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4461 * math/auto-libm-test-in: Add testcase for expl.
4462 * math/auto-libm-test-out: Regenerate.
4463 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4464 calculation of unsafe.
4465 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4467 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4469 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4470 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4471 ports/sysdeps/unix/sysv/linux/aarch64.
4472 * README: Update listing for aarch64*-*-linux-gnu.
4474 2014-02-11 Will Newton <will.newton@linaro.org>
4476 * manual/probes.texi (Mathematical Function Probes): Use
4477 "triggered" instead of "hit".
4479 * manual/probes.texi (Internal Probes): Add documentation
4480 of setjmp, longjmp and longjmp_target probes.
4482 * include/stap-probe.h: Add comment about probe argument
4485 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4486 definition. (tr_where, tr_freehook, tr_mallochook,
4487 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4489 2014-02-11 David S. Miller <davem@davemloft.net>
4491 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4492 processing int_tests.
4494 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4496 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4497 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4498 * sysdeps/unix/sysv/linux/mips: Move directory from
4499 ports/sysdeps/unix/sysv/linux/mips.
4500 * README: Update listing for mips-*-linux-gnu and
4503 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4505 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4506 * sysdeps/unix/sysv/linux/m68k: Move directory from
4507 ports/sysdeps/unix/sysv/linux/m68k.
4508 * README: Update listing for m68k-*-linux-gnu.
4510 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4512 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4513 * sysdeps/unix/sysv/linux/generic: Move directory from
4514 ports/sysdeps/unix/sysv/linux/generic.
4515 * sysdeps/unix/sysv/linux/tile: Move directory from
4516 ports/sysdeps/unix/sysv/linux/tile.
4517 * README: Update listing for tile*-*-linux-gnu.
4519 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4521 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4523 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4524 * catgets/open_catalog.c (__open_catalog): Likewise.
4525 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4526 * debug/confstr_chk.c: Likewise.
4527 * debug/fread_chk.c (__fread_chk): Likewise.
4528 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4529 * debug/getgroups_chk.c: Likewise.
4530 * debug/mbsnrtowcs_chk.c: Likewise.
4531 * debug/mbsrtowcs_chk.c: Likewise.
4532 * debug/mbstowcs_chk.c: Likewise.
4533 * debug/memcpy_chk.c: Likewise.
4534 * debug/memmove_chk.c: Likewise.
4535 * debug/mempcpy_chk.c: Likewise.
4536 * debug/memset_chk.c: Likewise.
4537 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4538 * debug/strcat_chk.c (__strcat_chk): Likewise.
4539 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4540 * debug/strncat_chk.c (__strncat_chk): Likewise.
4541 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4542 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4543 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4544 * debug/wcpncpy_chk.c: Likewise.
4545 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4546 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4547 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4548 * debug/wcsncpy_chk.c: Likewise.
4549 * debug/wcsnrtombs_chk.c: Likewise.
4550 * debug/wcsrtombs_chk.c: Likewise.
4551 * debug/wcstombs_chk.c: Likewise.
4552 * debug/wmemcpy_chk.c: Likewise.
4553 * debug/wmemmove_chk.c: Likewise.
4554 * debug/wmempcpy_chk.c: Likewise.
4555 * debug/wmemset_chk.c: Likewise.
4556 * dirent/scandirat.c (SCANDIRAT): Likewise.
4557 * dlfcn/dladdr1.c (dladdr1): Likewise.
4558 * dlfcn/dladdr.c (dladdr): Likewise.
4559 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4560 * dlfcn/dlerror.c (__dlerror): Likewise.
4561 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4562 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4563 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4564 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4565 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4566 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4567 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4568 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4570 * elf/dl-conflict.c: Likewise.
4571 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4572 * elf/dl-dst.h: Likewise.
4573 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4574 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4575 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4576 * elf/dl-init.c (call_init, _dl_init): Likewise.
4577 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4578 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4579 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4581 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4583 * elf/dl-minimal.c (__libc_memalign): Likewise.
4584 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4585 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4586 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4587 * elf/dl-sym.c (do_sym): Likewise.
4588 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4589 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4590 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4591 * elf/dl-writev.h (_dl_writev): Likewise.
4592 * elf/ldconfig.c (search_dir): Likewise.
4593 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4594 (dl_main): Likewise.
4595 * elf/setup-vdso.h (setup_vdso): Likewise.
4596 * grp/compat-initgroups.c (compat_call): Likewise.
4597 * grp/fgetgrent.c (fgetgrent): Likewise.
4598 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4599 * grp/putgrent.c (putgrent): Likewise.
4600 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4602 * hurd/hurdinit.c: Likewise.
4603 * iconvdata/8bit-gap.c (struct): Likewise.
4604 * iconvdata/ansi_x3.110.c : Likewise.
4605 * iconvdata/big5.c : Likewise.
4606 * iconvdata/big5hkscs.c : Likewise.
4607 * iconvdata/cp1255.c: Likewise.
4608 * iconvdata/cp1258.c : Likewise.
4609 * iconvdata/cp932.c : Likewise.
4610 * iconvdata/euc-cn.c: Likewise.
4611 * iconvdata/euc-jisx0213.c : Likewise.
4612 * iconvdata/euc-jp.c: Likewise.
4613 * iconvdata/euc-jp-ms.c : Likewise.
4614 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4615 * iconvdata/gb18030.c : Likewise.
4616 * iconvdata/gbbig5.c (const): Likewise.
4617 * iconvdata/gbgbk.c: Likewise.
4618 * iconvdata/gbk.c : Likewise.
4619 * iconvdata/ibm1364.c : Likewise.
4620 * iconvdata/ibm930.c : Likewise.
4621 * iconvdata/ibm932.c: Likewise.
4622 * iconvdata/ibm933.c : Likewise.
4623 * iconvdata/ibm935.c : Likewise.
4624 * iconvdata/ibm937.c : Likewise.
4625 * iconvdata/ibm939.c : Likewise.
4626 * iconvdata/ibm943.c: Likewise.
4627 * iconvdata/iso_11548-1.c: Likewise.
4628 * iconvdata/iso-2022-cn.c : Likewise.
4629 * iconvdata/iso-2022-cn-ext.c : Likewise.
4630 * iconvdata/iso-2022-jp-3.c: Likewise.
4631 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4632 * iconvdata/iso-2022-kr.c : Likewise.
4633 * iconvdata/iso646.c (gconv_end): Likewise.
4634 * iconvdata/iso_6937-2.c : Likewise.
4635 * iconvdata/iso_6937.c : Likewise.
4636 * iconvdata/iso8859-1.c: Likewise.
4637 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4638 * iconvdata/shift_jisx0213.c : Likewise.
4639 * iconvdata/sjis.c : Likewise.
4640 * iconvdata/t.61.c : Likewise.
4641 * iconvdata/tcvn5712-1.c : Likewise.
4642 * iconvdata/tscii.c: Likewise.
4643 * iconvdata/uhc.c : Likewise.
4644 * iconvdata/unicode.c (gconv_end): Likewise.
4645 * iconvdata/utf-16.c (gconv_end): Likewise.
4646 * iconvdata/utf-32.c (gconv_end): Likewise.
4647 * iconvdata/utf-7.c (base64): Likewise.
4648 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4649 * iconv/gconv_close.c (__gconv_close): Likewise.
4650 * iconv/gconv_open.c (__gconv_open): Likewise.
4651 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4652 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4653 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4654 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4655 (ucs4le_internal_loop_single): Likewise.
4656 * iconv/iconv.c (iconv): Likewise.
4657 * iconv/iconv_close.c: Likewise.
4658 * iconv/loop.c (SINGLE): Likewise.
4659 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4660 * include/atomic.h: Likewise.
4661 * inet/inet6_option.c (option_alloc): Likewise.
4662 * intl/bindtextdom.c (set_binding_values): Likewise.
4663 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4664 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4665 * intl/localealias.c (read_alias_file): Likewise.
4666 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4667 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4668 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4669 * libio/fmemopen.c (fmemopen): Likewise.
4670 * libio/iofgets.c (_IO_fgets): Likewise.
4671 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4672 * libio/iofgetws.c (fgetws): Likewise.
4673 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4674 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4675 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4676 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4677 * locale/findlocale.c (_nl_find_locale): Likewise.
4678 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4679 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4681 * locale/setlocale.c (setlocale): Likewise.
4682 * login/programs/pt_chown.c (main): Likewise.
4683 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4684 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4685 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4686 (mmap, mmap64, mremap, munmap): Likewise.
4687 * math/e_exp2l.c: Likewise.
4688 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4689 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4690 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4691 * math/s_catan.c (__catan): Likewise.
4692 * math/s_catanf.c (__catanf): Likewise.
4693 * math/s_catanh.c (__catanh): Likewise.
4694 * math/s_catanhf.c (__catanhf): Likewise.
4695 * math/s_catanhl.c (__catanhl): Likewise.
4696 * math/s_catanl.c (__catanl): Likewise.
4697 * math/s_ccosh.c (__ccosh): Likewise.
4698 * math/s_ccoshf.c (__ccoshf): Likewise.
4699 * math/s_ccoshl.c (__ccoshl): Likewise.
4700 * math/s_cexp.c (__cexp): Likewise.
4701 * math/s_cexpf.c (__cexpf): Likewise.
4702 * math/s_cexpl.c (__cexpl): Likewise.
4703 * math/s_clog10.c (__clog10): Likewise.
4704 * math/s_clog10f.c (__clog10f): Likewise.
4705 * math/s_clog10l.c (__clog10l): Likewise.
4706 * math/s_clog.c (__clog): Likewise.
4707 * math/s_clogf.c (__clogf): Likewise.
4708 * math/s_clogl.c (__clogl): Likewise.
4709 * math/s_csin.c (__csin): Likewise.
4710 * math/s_csinf.c (__csinf): Likewise.
4711 * math/s_csinh.c (__csinh): Likewise.
4712 * math/s_csinhf.c (__csinhf): Likewise.
4713 * math/s_csinhl.c (__csinhl): Likewise.
4714 * math/s_csinl.c (__csinl): Likewise.
4715 * math/s_csqrt.c (__csqrt): Likewise.
4716 * math/s_csqrtf.c (__csqrtf): Likewise.
4717 * math/s_csqrtl.c (__csqrtl): Likewise.
4718 * math/s_ctan.c (__ctan): Likewise.
4719 * math/s_ctanf.c (__ctanf): Likewise.
4720 * math/s_ctanh.c (__ctanh): Likewise.
4721 * math/s_ctanhf.c (__ctanhf): Likewise.
4722 * math/s_ctanhl.c (__ctanhl): Likewise.
4723 * math/s_ctanl.c (__ctanl): Likewise.
4724 * math/w_pow.c: Likewise.
4725 * math/w_powf.c: Likewise.
4726 * math/w_powl.c: Likewise.
4727 * math/w_scalb.c (sysv_scalb): Likewise.
4728 * math/w_scalbf.c (sysv_scalbf): Likewise.
4729 * math/w_scalbl.c (sysv_scalbl): Likewise.
4730 * misc/error.c (error_tail): Likewise.
4731 * misc/pselect.c (__pselect): Likewise.
4732 * nis/nis_callback.c (__nis_create_callback): Likewise.
4733 * nis/nis_call.c (__nisfind_server): Likewise.
4734 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4735 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4736 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4737 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4738 * nis/nis_lookup.c (nis_lookup): Likewise.
4739 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4740 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4741 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4742 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4743 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4744 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4745 * nis/nss_compat/compat-initgroups.c (add_group)
4746 (internal_getgrent_r): Likewise.
4747 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4748 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4749 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4750 (internal_getspnam_r): Likewise.
4751 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4752 (_nss_nis_getaliasbyname_r): Likewise.
4753 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4754 (_nss_nis_getntohost_r): Likewise.
4755 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4756 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4757 (_nss_nis_getgrgid_r): Likewise.
4758 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4759 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4760 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4761 (_nss_nis_gethostbyname4_r): Likewise.
4762 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4763 (initgroups_netid): Likewise.
4764 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4765 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4766 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4767 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4768 (_nss_nis_getprotobynumber_r): Likewise.
4769 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4770 (_nss_nis_getsecretkey): Likewise.
4771 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4772 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4773 (_nss_nis_getpwuid_r): Likewise.
4774 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4775 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4776 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4777 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4778 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4779 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4780 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4782 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4783 (_nss_nisplus_getntohost_r): Likewise.
4784 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4785 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4786 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4787 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4789 * nis/nss_nisplus/nisplus-initgroups.c
4790 (_nss_nisplus_initgroups_dyn): Likewise.
4791 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4792 (_nss_nisplus_getnetbyaddr_r): Likewise.
4793 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4794 (_nss_nisplus_getprotobynumber_r): Likewise.
4795 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4796 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4797 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4799 * nis/nss_nisplus/nisplus-service.c
4800 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4801 (_nss_nisplus_getservbyport_r): Likewise.
4802 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4803 (_nss_nisplus_getspnam_r): Likewise.
4804 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4806 * nscd/aicache.c (addhstaiX): Likewise.
4807 * nscd/cache.c (cache_search, prune_cache): Likewise.
4808 * nscd/connections.c (register_traced_file, send_ro_fd)
4809 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4810 (main_loop_epoll): Likewise.
4811 * nscd/grpcache.c (addgrbyX): Likewise.
4812 * nscd/hstcache.c (addhstbyX): Likewise.
4813 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4814 * nscd/mem.c (gc, mempool_alloc): Likewise.
4815 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4816 (addinnetgrX): Likewise.
4817 * nscd/nscd-client.h (__nscd_acquire_maplock)
4818 (__nscd_drop_map_ref): Likewise.
4819 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4820 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4821 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4823 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4824 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4825 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4826 (__nscd_get_map_ref): Likewise.
4827 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4828 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4830 * nscd/pwdcache.c (addpwbyX): Likewise.
4831 * nscd/selinux.c (preserve_capabilities): Likewise.
4832 * nscd/servicescache.c (addservbyX): Likewise.
4833 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4834 * posix/fnmatch.c (fnmatch): Likewise.
4835 * posix/getopt.c (_getopt_internal_r): Likewise.
4836 * posix/glob.c (glob, glob_in_dir): Likewise.
4837 * posix/wordexp.c (exec_comm_child): Likewise.
4838 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4839 (getanswer_r, gaih_getanswer_slice): Likewise.
4840 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4841 * resolv/res_init.c: Likewise.
4842 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4843 * resolv/res_query.c (__libc_res_nquery): Likewise.
4844 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4846 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4847 * stdio-common/perror.c (perror): Likewise.
4848 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4849 * stdio-common/tmpnam.c (tmpnam): Likewise.
4850 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4851 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4852 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4854 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4855 * stdlib/putenv.c (putenv): Likewise.
4856 * stdlib/setenv.c (__add_to_environ): Likewise.
4857 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4858 * stdlib/strtol_l.c (INTERNAL): Likewise.
4859 * string/memmem.c (memmem): Likewise.
4860 * string/strerror.c (strerror): Likewise.
4861 * string/strnlen.c (__strnlen): Likewise.
4862 * string/test-memmem.c (simple_memmem): Likewise.
4863 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4864 * sunrpc/pm_getport.c (__get_socket): Likewise.
4865 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4866 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4867 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4868 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4870 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4871 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4872 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4873 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4874 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4875 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4877 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4879 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4880 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4881 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4882 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4883 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4885 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4886 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4887 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4888 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4889 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4890 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4892 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4894 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4896 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4897 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4898 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4899 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4900 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4901 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4902 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4903 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4904 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4905 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4906 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4907 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4908 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4909 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4911 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4913 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4915 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4917 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4919 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4921 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4923 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4924 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4925 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4926 * sysdeps/posix/sleep.c: Likewise.
4927 * sysdeps/posix/tempname.c: Likewise.
4928 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4929 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4931 * sysdeps/powerpc/powerpc32/dl-machine.h
4932 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4933 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4934 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4935 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4936 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4938 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4939 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4940 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4941 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4942 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4943 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4944 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4945 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4946 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4947 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4948 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4949 (elf_machine_lazy_rel): Likewise.
4950 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4951 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4952 (elf_machine_lazy_rel): Likewise.
4953 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4954 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4955 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4956 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4957 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4958 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4959 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4960 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4962 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4963 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4964 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4965 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4966 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4967 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4968 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4969 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4970 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4971 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4972 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4974 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4975 (__posix_fallocate64_l64): Likewise.
4976 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4977 (posix_fallocate): Likewise.
4978 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4980 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4981 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4982 (getifaddrs_internal): Likewise.
4983 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4984 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4985 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4986 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4987 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4988 (__posix_fallocate64_l64): Likewise.
4989 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4991 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4992 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4993 (__get_clockfreq): Likewise.
4994 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4995 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4996 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4997 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4998 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4999 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5000 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5001 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5003 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5004 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5005 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5006 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5007 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5008 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5009 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5011 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5012 (posix_fallocate): Likewise.
5013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5014 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5015 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5016 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5017 (elf_machine_rela, elf_machine_rela_relative)
5018 (elf_machine_lazy_rel): Likewise.
5019 * time/asctime.c (asctime_internal): Likewise.
5020 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5021 * time/tzset.c (__tzset_parse_tz): Likewise.
5022 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5023 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5024 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5025 * wcsmbs/wcsmbsload.h: Likewise.
5028 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5030 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5031 (arena_get2): Remove THREAD_STATS conditionals.
5032 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5033 (__malloc_stats, int): Likewise.
5035 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5037 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5038 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5040 * manual/setjmp.texi: Fix typos/grammar errors.
5042 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5043 Only return early when n is <= 0. Delete unused return statement.
5045 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5046 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5047 * debug/tst-longjmp_chk3.c: New file.
5049 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5050 (test_main): Replace code with set_fortify_handler call.
5051 * debug/test-strcpy_chk.c: Likewise.
5052 * debug/tst-chk1.c: Likewise.
5053 * debug/tst-longjmp_chk.c: Likewise.
5054 * test-skeleton.c: Include fcntl.h & paths.h
5055 (set_fortify_handler): Define.
5057 * debug/tst-longjmp_chk.c: Add header comment and include
5059 (do_test): Mark static.
5060 (TEST_FUNCTION): Define.
5062 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5063 (IP_PMTUDISC_INTERFACE): Likewise.
5064 (IP_MULTICAST_IF): Likewise.
5065 (IP_MULTICAST_TTL): Likewise.
5066 (IP_MULTICAST_LOOP): Likewise.
5067 (IP_ADD_MEMBERSHIP): Likewise.
5068 (IP_DROP_MEMBERSHIP): Likewise.
5069 (IP_UNBLOCK_SOURCE): Likewise.
5070 (IP_BLOCK_SOURCE): Likewise.
5071 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5072 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5073 (IP_MSFILTER): Likewise.
5074 (MCAST_JOIN_GROUP): Likewise.
5075 (MCAST_BLOCK_SOURCE): Likewise.
5076 (MCAST_UNBLOCK_SOURCE): Likewise.
5077 (MCAST_LEAVE_GROUP): Likewise.
5078 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5079 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5080 (MCAST_MSFILTER): Likewise.
5081 (IP_MULTICAST_ALL): Likewise.
5082 (IP_UNICAST_IF): Likewise.
5084 * timezone/Makefile: Delete $(have-ksh) check.
5085 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5086 * timezone/tzselect.ksh: Add +x mode bits.
5088 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5089 (ANON_INODE_FS_MAGIC): Likewise.
5090 (BDEVFS_MAGIC): Likewise.
5091 (BINFMTFS_MAGIC): Likewise.
5092 (BTRFS_TEST_MAGIC): Likewise.
5093 (CRAMFS_MAGIC_WEND): Likewise.
5094 (DEBUGFS_MAGIC): Likewise.
5095 (ECRYPTFS_SUPER_MAGIC): Likewise.
5096 (EXT3_SUPER_MAGIC): Likewise.
5097 (EXT4_SUPER_MAGIC): Likewise.
5098 (FUTEXFS_SUPER_MAGIC): Likewise.
5099 (HOSTFS_SUPER_MAGIC): Likewise.
5100 (HUGETLBFS_MAGIC): Likewise.
5101 (MINIX3_SUPER_MAGIC): Likewise.
5102 (MTD_INODE_FS_MAGIC): Likewise.
5103 (NILFS_SUPER_MAGIC): Likewise.
5104 (OPENPROM_SUPER_MAGIC): Likewise.
5105 (PIPEFS_MAGIC): Likewise.
5106 (PSTOREFS_MAGIC): Likewise.
5107 (QNX6_SUPER_MAGIC): Likewise.
5108 (RAMFS_MAGIC): Likewise.
5109 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5110 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5111 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5112 (SECURITYFS_MAGIC): Likewise.
5113 (SELINUX_MAGIC): Likewise.
5114 (SMACK_MAGIC): Likewise.
5115 (SOCKFS_MAGIC): Likewise.
5116 (SQUASHFS_MAGIC): Likewise.
5117 (STACK_END_MAGIC): Likewise.
5118 (TMPFS_MAGIC): Likewise.
5119 (USBDEVICE_SUPER_MAGIC): Likewise.
5120 (V9FS_MAGIC): Likewise.
5121 (XENFS_SUPER_MAGIC): Likewise.
5122 (CRAMFS_MAGIC): Fix typo in comment.
5123 (EXT2_SUPER_MAGIC): Update comment.
5124 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5126 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5128 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5129 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5130 * sysdeps/unix/sysv/linux/arm: Move directory from
5131 ports/sysdeps/unix/sysv/linux/arm.
5132 * README: Update listing for arm-*-linux-gnueabi.
5134 * README: Remove mention of am33.
5136 2014-02-07 Roland McGrath <roland@hack.frob.com>
5138 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5139 than the comma operator, to avoid "rhs of comma has no effect"
5141 (__sigfillset, __sigandset, __sigorset): Likewise.
5142 * include/signal.h (__sigemptyset): Likewise.
5143 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5145 2014-02-07 Allan McRae <allan@archlinux.org>
5147 * version.h (RELEASE): Set to "development".
5148 (VERSION): Set to "2.19.90"
5149 * NEWS: Add 2.20 section.
5151 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5154 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5156 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5158 * manual/contrib.texi: Update entry for Carlos O'Donell,
5159 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5161 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5163 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5165 * sysdeps/unix/sysv/linux/kernel-features.h
5166 [__LINUX_KERNEL_VERSION >= 0x020621]
5167 (__ASSUME_PROC_PID_TASK_COMM): Define.
5169 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5172 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5173 conversion when destination buffer does not have enough space.
5174 * libio/tst-ftell-partial-wide.c: New test case.
5175 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5177 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5178 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5179 Leonard and Allan McRae.
5181 2014-02-04 David S. Miller <davem@davemloft.net>
5183 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5186 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5215 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5217 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5218 * shlib-versions: Likewise.
5220 2014-02-04 Roland McGrath <roland@hack.frob.com>
5221 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5223 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5224 (abilist-pattern): New variable, set to %-le.abilist.
5226 * Makerules (abilist-pattern): New variable.
5227 (vpath): Use $(abilist-pattern) in place of %.abilist.
5228 (check-abi-% pattern rule): Likewise.
5229 (check-abi, update-abi): Likewise.
5231 2014-02-04 Eric Wong <normalperson@yhbt.net>
5233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5235 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5237 * manual/startup.texi: Add next, previous, and top entries for
5238 the `Program Arguments' and `Environment Variables' nodes.
5240 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5242 * manual/macros.texi: Add comments before MTASC-safety macros.
5244 * manual/users.texi: Document MTASC-safety properties.
5246 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5247 (pthread_getspecific, pthread_setspecific): Format with
5248 @deftypefun, and add @safety note.
5249 * manual/signal.texi: Move comments that analyze the above
5250 functions to their home place.
5252 2014-02-03 Allan McRae <allan@archlinux.org>
5254 * po/sl.po: Update Slovenian translation from translation project.
5256 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
5258 * manual/time.texi (timegm): Add missing blank after @c.
5259 Reported by Joseph Myers <joseph@codesourcery.com>.
5261 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
5263 * manual/check-safety.sh: New.
5264 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5266 * manual/terminal.texi: Document MTASC-safety properties.
5268 * manual/filesys.texi: Document MTASC-safety properties.
5270 * manual/errno.texi: Document MTASC-safety properties.
5272 * manual/intro.texi: Document safety identifiers and
5275 * manual/string.texi (wcstok): Fix prototype.
5276 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5278 * manual/time.texi: Document MTASC-safety properties.
5280 * manual/string.texi: Document MTASC-safety properties.
5282 * manual/threads.texi: Document MTASC-safety properties.
5284 * manual/stdio.texi: Document MTASC-safety properties.
5286 * manual/syslog.texi: Document MTASC-safety properties.
5288 * manual/sysinfo.texi: Document MTASC-safety properties.
5290 * manual/startup.texi: Document MTASC-safety properties.
5292 * manual/socket.texi: Document MTASC-safety properties.
5294 * manual/signal.texi: Document MTASC-safety properties.
5296 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5298 * manual/setjmp.texi: Document MTASC-safety properties.
5300 * manual/search.texi: Document MTASC-safety properties.
5302 * manual/resource.texi: Document MTASC-safety properties.
5304 * manual/process.texi: Document MTASC-safety properties.
5306 * manual/platform.texi: Document MTASC-safety properties.
5308 * manual/pipe.texi: Document MTASC-safety properties.
5310 * manual/pattern.texi: Document MTASC-safety properties.
5312 * manual/message.texi: Document MTASC-safety properties.
5315 * manual/memory.texi: Document MTASC-safety properties.
5317 * manual/math.texi: Document MTASC-safety properties.
5319 * manual/locale.texi: Document MTASC-safety properties.
5321 * manual/llio.texi: Document MTASC-safety properties.
5323 * manual/libdl.texi: New.
5325 * manual/lang.texi: Document MTASC-safety properties.
5327 * manual/job.texi: Document MTASC-safety properties.
5329 * manual/getopt.texi: Document MTASC-safety properties.
5331 * manual/ctype.texi: Document MTASC-safety properties.
5333 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5336 * csu/libc-tls.c (static_map): Remove variable.
5337 (__libc_setup_tls): Use main executable's link map for TLS data.
5338 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5339 casing for LM_ID_BASE and GL(dl_nns).
5340 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5341 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5342 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5343 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5344 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5346 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5349 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5351 * manual/debug.texi: Document MTASC-safety properties.
5353 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5356 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5357 of __x86_64__ when disabling x87 inline functions.
5359 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5361 * manual/charset.texi: Document MTASC-safety properties.
5363 * manual/crypt.texi: Document MTASC-safety properties.
5365 * manual/conf.texi: Document MTASC-safety properties.
5367 * manual/arith.texi: Document MTASC-safety properties.
5369 * manual/argp.texi: Document MTASC-safety properties.
5371 * manual/macros.texi: Introduce macros to document multi
5372 thread, asynchronous signal and asynchronous cancellation
5374 * manual/intro.texi: Introduce the properties themselves.
5376 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5378 * sysdeps/sh/sh4/Makefile: New file.
5380 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5382 * math/gen-libm-test.pl ($srcdir): New variable.
5383 ($auto_input): Use it.
5385 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5388 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5389 access beyond array bounds when parsing netgroups file.
5391 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5392 the old buffer before realloc.
5394 2014-01-27 Allan McRae <allan@archlinux.org>
5396 * po/fr.po: Update French translation from translation project.
5398 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5400 * sysdeps/sh/libm-test-ulps: Regenerate.
5402 2014-01-24 David S. Miller <davem@davemloft.net>
5404 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5406 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5408 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5409 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5411 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5414 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5415 string pointers after reallocation.
5417 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5419 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5420 __SH4A__ instead of __SH_FPU_ANY__.
5422 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5424 * sysdeps/sh/fpu_control.h: New file.
5425 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5426 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5427 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5428 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5429 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5430 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5431 * sysdeps/sh/sys/ucontext.h: Remove.
5432 * sysdeps/sh/sys: Remove directory.
5434 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5436 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5437 s390/sys/ucontext.h.
5438 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5439 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5441 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5444 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5446 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5449 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5450 Adjust the vDSO correctly for internal calls.
5451 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5453 2014-01-20 Allan McRae <allan@archlinux.org>
5455 * po/ca.po: Update Catalan translation from translation project.
5457 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5459 * sysdeps/s390/sotruss-lib.c: New file.
5461 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5464 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5465 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5466 local calls issues by not having a PLT stub required for IFUNC calls.
5467 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5469 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5471 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5472 * math/test-fpucw-static.c: Likewise.
5474 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5477 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5479 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5482 implementation for powerpc.
5484 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5487 * sysdeps/posix/system.c (__libc_system): Do not enable
5488 asynchronous cancellation.
5490 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5493 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5494 handling only for numbers special also in the IEEE case.
5496 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5498 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5500 2014-01-11 Allan McRae <allan@archlinux.org>
5502 * po/bg.po: Update Bulgarian translation from translation project.
5504 * po/de.po: Update German translation from translation project.
5506 2014-01-10 Roland McGrath <roland@hack.frob.com>
5508 * sysdeps/generic/gcc-compat.h: New file.
5510 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5512 * benchtests/asin-inputs: Correct slow inputs.
5513 * benchtests/acos-inputs: Likewise.
5515 2014-01-10 Allan McRae <allan@archlinux.org>
5517 * po:sv.po: Update Swedish translation from translation project.
5519 * po/vi.po: Update Vietnamese translation from translation project.
5521 * po/eo.po: Update Esperanto translation from translation project.
5523 * po/cs.po: Update Czech translation from translation project.
5525 * po/nl.po: Update Dutch translation from translation project.
5527 * po/pl.po: Update Polish translation from translation project.
5529 * po/ru.po: Update Russian translation from translation project.
5531 * po/uk.po: Update Ukrainian translation from translation project.
5533 2014-01-08 Brooks Moses <bmoses@google.com>
5535 * elf/dl-load.c: Fix comment typo.
5537 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5539 * po/header.pot: Rename to...
5540 * po/pot.header: ... this.
5541 * po/Makefile: Use pot.header.
5543 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5544 Maxim Kuvyrkov <maxim@kugelworks.com>
5547 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5548 SRC and DEST against LEN.
5550 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5553 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5555 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5557 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5561 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5564 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5565 for large positive arguments.
5567 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5569 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5571 * math/auto-libm-test-in: Mark various tests with
5572 xfail-rounding:ldbl-128ibm.
5573 * math/auto-libm-test-out: Regenerated.
5576 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5577 Increase overflow threshold.
5579 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5582 * stdio-common/vfprintf.c: Check for integer overflow.
5584 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5586 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5587 the first argument and return value of __tls_get_addr_internal.
5589 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5591 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5592 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5594 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5596 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5597 * sysdeps/s390/rtld-global-offsets.sym: New file.
5598 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5600 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5601 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5602 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5604 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5605 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5611 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5612 halfs of GPRs for high_gprs contexts.
5613 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5614 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5616 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5618 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5620 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5621 for high GPRs (uc_high_gprs) and for future extensions
5623 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5624 for future extensions (__reserved).
5625 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5627 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5628 SC_HIGHGPRS offset definition.
5629 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5630 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5632 * Versions.def: Add GLIBC_2.19 for libpthread.
5633 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5634 siglongjmp for libpthread with GLIBC_2.19 symver.
5635 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5636 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5637 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5638 * sysdeps/s390/__longjmp.c: New file.
5639 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5640 * sysdeps/s390/longjmp.c: New file.
5641 * sysdeps/s390/setjmp.S: New file.
5642 * sysdeps/s390/sigjmp.S: New file.
5643 * sysdeps/s390/v1-longjmp.c: New file.
5644 * sysdeps/s390/v1-setjmp.h: New file.
5645 * sysdeps/s390/v1-sigjmp.c: New file.
5646 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5647 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5649 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5650 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5651 versioned symbols for ____longjmp_chk.
5652 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5662 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5663 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5664 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5665 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5666 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5667 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5668 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5669 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5670 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5671 * sysdeps/s390/rtld-__longjmp.c: New file.
5672 * sysdeps/s390/rtld-setjmp.S: New file.
5674 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5677 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5678 Return -__logl (x) for small positive arguments without evaluating
5681 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5683 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5685 (__ptrace_peeksiginfo_args): ... this.
5686 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5687 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5688 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5690 2014-01-06 Allan McRae <allan@archlinux.org>
5692 * inet/netinet/in.h: Fix typo in comment.
5694 2014-01-05 Andreas Jaeger <aj@suse.de>
5696 * sysdeps/i386/fpu/libm-test-ulps: Update.
5698 2014-01-05 Allan McRae <allan@archlinux.org>
5700 * po/libc.pot: Regenerated.
5702 * malloc/memusagestat.c: Fix gettext call formatting.
5704 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5706 * nscd/nscd.c: Improve usage() output.
5708 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5710 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5711 * sysdeps/unix/sysv/linux/configure: Regenerated.
5712 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5713 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5715 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5718 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5719 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5721 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5723 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5724 extra tokens at end of #undef directive.
5725 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5726 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5727 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5729 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5731 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5733 * math/auto-libm-test-in: Mark various tests with
5734 xfail-rounding:ldbl-128ibm.
5735 * math/auto-libm-test-out: Regenerated.
5737 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5740 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5741 numbers with subnormal high part when calculating exponent.
5744 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5748 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5750 (__ieee754_acoshl): Use __log1pl not __log1p.
5752 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5754 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5755 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5756 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5757 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5758 (reused_arena, arena_get2): Convert to GNU style.
5759 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5760 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5761 (memalign_check, __malloc_set_state): Likewise.
5762 * malloc/mallocbug.c (main): Likewise.
5763 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5764 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5765 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5766 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5767 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5768 (__posix_memalign, malloc_info): Likewise.
5769 * malloc/malloc.h: Likewise.
5770 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5771 (mallochook, memalignhook, reallochook, mabort): Likewise.
5772 * malloc/mcheck.h: Likewise.
5773 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5774 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5775 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5776 * malloc/morecore.c (__default_morecore): Likewise.
5777 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5778 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5779 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5780 (print_and_abort): Likewise.
5781 * malloc/obstack.h: Likewise.
5782 * malloc/set-freeres.c (__libc_freeres): Likewise.
5783 * malloc/tst-mallocstate.c (main): Likewise.
5784 * malloc/tst-mtrace.c (main): Likewise.
5785 * malloc/tst-realloc.c (do_test): Likewise.
5787 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5790 * nscd/netgroupcache.c (do_notfound): New function.
5791 (addgetnetgrentX): Use it.
5794 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5795 NSS_STATUS_NOTFOUND.
5797 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5799 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5802 2014-01-01 Allan McRae <allan@archlinux.org>
5804 * scripts/update-copyrights: Update configure input file suffix.
5806 * NEWS: Update copyright year.
5807 * catgets/gencat.c: Likewise.
5808 * csu/version.c: Likewise.
5809 * debug/catchsegv.sh: Likewise.
5810 * debug/pcprofiledump.c: Likewise.
5811 * debug/xtrace.sh: Likewise.
5812 * elf/ldconfig.c: Likewise.
5813 * elf/ldd.bash.in: Likewise.
5814 * elf/pldd.c: Likewise.
5815 * elf/sotruss.ksh: Likewise.
5816 * elf/sprof.c: Likewise.
5817 * iconv/iconv_prog.c: Likewise.
5818 * iconv/iconvconfig.c: Likewise.
5819 * locale/programs/locale.c: Likewise.
5820 * locale/programs/localedef.c: Likewise.
5821 * login/programs/pt_chown.c: Likewise.
5822 * malloc/memusage.sh: Likewise.
5823 * malloc/memusagestat.c: Likewise.
5824 * malloc/mtrace.pl: Likewise.
5825 * manual/libc.texinfo: Likewise.
5826 * nscd/nscd.c: Likewise.
5827 * nss/getent.c: Likewise.
5828 * nss/makedb.c: Likewise.
5829 * posix/getconf.c: Likewise.
5830 * scripts/test-installation.pl: Likewise.
5832 * All files with FSF copyright notices: Update copyright dates
5833 using scripts/update-copyrights.
5834 * intl/plural.c: Regenerated.
5835 * locale/programs/charmap-kw.h: Likewise.
5836 * locale/programs/locfile-kw.h: Likewise.
5838 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5840 * sysdeps/unix/sysv/linux/configure: Regenerated.
5841 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5842 the linux/fanotify.h header.
5843 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5844 HAVE_LINUX_FANOTIFY_H is defined.
5846 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5848 * benchtests/cos-inputs: New inputs.
5849 * benchtests/sin-inputs: Likewise.
5851 * benchtests/atan-inputs: New inputs. Fix name of multiple
5852 precision fallback inputs.
5854 * benchtests/atanh-inputs: New inputs.
5855 * benchtests/tanh-inputs: Likewise.
5857 * benchtests/acosh-inputs: New inputs.
5858 * benchtests/asinh-inputs: Likewise.
5860 * benchtests/cosh-inputs: New inputs.
5861 * benchtests/sinh-inputs: Likewise.
5863 * benchtests/acos-inputs: Add more inputs.
5864 * benchtests/asin-inputs: Likewise.
5866 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5869 * manual/arith.texi: Fix spelling.
5870 * manual/charset.texi: Likewise.
5871 * manual/errno.texi: Likewise.
5872 * manual/filesys.texi: Likewise.
5873 * manual/lang.texi: Likewise.
5874 * manual/llio.texi: Likewise.
5875 * manual/locale.texi: Likewise.
5876 * manual/message.texi: Likewise.
5877 * manual/resource.texi: Likewise.
5878 * manual/search.texi: Likewise.
5879 * manual/setjmp.texi: Likewise.
5880 * manual/stdio.texi: Likewise.
5881 * manual/string.texi: Likewise.
5882 * manual/sysinfo.texi: Likewise.
5883 * manual/time.texi: Likewise.
5885 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5887 * po/sl.po: New file.
5889 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5891 * .gitignore: Add core/.gdbinit/.gdb_history.
5893 2013-12-27 Allan McRae <allan@archlinux.org>
5896 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5897 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5899 2013-12-24 Brooks Moses <bmoses@google.com>
5901 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5902 all compilers that claim C++98 compliance, not just GCC.
5903 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5906 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5908 * NEWS: Restore accidentally deleted bug-fix entries.
5910 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5911 Ondřej Bílka <neleai@seznam.cz>
5914 * malloc/malloc.c (_int_free): Perform sanity check only if we
5917 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5920 * manual/stdio.texi (String Input Conversions): Clarify that character
5921 classes are not supported.
5923 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5927 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5930 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5931 Calculate results for small negative arguments directly rather
5932 than using reflection formula with special underflow handling.
5934 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5935 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5936 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5937 (fchflags): Likewise.
5939 (setlogin): Likewise.
5940 (sigaltstack): Likewise.
5943 (sigsetmask): Likewise.
5945 (waitpid): Likewise.
5946 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5947 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5949 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5950 * sysdeps/unix/bsd/Makefile: ... here.
5951 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5952 * sysdeps/unix/bsd/Versions: ... here.
5953 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5954 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5955 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5956 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5957 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5958 * sysdeps/unix/bsd/sigblock.c: ... here.
5959 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5960 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5961 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5962 * sysdeps/unix/bsd/sigvec.c: ... here.
5963 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5964 * sysdeps/unix/bsd/tcdrain.c: ... here.
5965 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5966 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5967 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5968 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5969 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5970 * sysdeps/unix/bsd/wait.c: ... here.
5971 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5972 * sysdeps/unix/bsd/wait3.c: ... here.
5973 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5974 * sysdeps/unix/bsd/waitpid.c: ... here.
5976 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5979 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5980 round-to-nearest for [!USE_AS_EXPM1L].
5981 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5982 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5983 more tests of exp and exp10. Expect some exp10 tests to miss
5984 exceptions or fail in directed rounding modes.
5985 * math/auto-libm-test-out: Regenerated.
5986 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5987 (exp10_test_tonearest): New function.
5988 (exp10_towardzero_test_data): New array.
5989 (exp10_test_towardzero): New function.
5990 (exp10_downward_test_data): New array.
5991 (exp10_test_downward): New function.
5992 (exp10_upward_test_data): New array.
5993 (exp10_test_upward): New function.
5994 (main): Call the new functions.
5995 * sysdeps/i386/fpu/libm-test-ulps: Update.
5996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5998 2013-12-20 Joseph Myers <joseph@codesourcery.com>
6000 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6001 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6002 * math/auto-libm-test-out: Regenerated.
6003 * math/libm-test.inc (acosh_test_data): Add more tests.
6004 (atanh_test_data): Likewise.
6005 (ceil_test_data): Likewise.
6006 (copysign_test_data): Likewise.
6007 * sysdeps/i386/fpu/libm-test-ulps: Update.
6008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6010 * timezone/checktab.awk: Update from tzcode 2013i.
6011 * timezone/private.h: Likewise.
6012 * timezone/scheck.c: Likewise.
6013 * timezone/tzfile.h: Likewise.
6014 * timezone/tzselect.ksh: Likewise.
6015 * timezone/zdump.c: Likewise.
6016 * timezone/zic.c: Likewise.
6018 * math/auto-libm-test-in: Add tests of cpow.
6019 * math/auto-libm-test-out: Regenerated.
6020 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6021 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6023 (func_calc_desc): Add mpc_cc_c union field.
6024 (test_functions): Add cpow.
6025 (special_fill_2pi): New function.
6026 (special_real_inputs): Add 2pi.
6027 (calc_generic_results): Handle mpc_cc_c.
6028 * sysdeps/i386/fpu/libm-test-ulps: Update.
6029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6031 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6032 csqrt, ctan and ctanh.
6033 * math/auto-libm-test-out: Regenerated.
6034 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6035 (TEST_COND_x86): Likewise.
6036 (ccos_test_data): Use AUTO_TESTS_c_c.
6037 (ccosh_test_data): Likewise.
6038 (cexp_test_data): Likewise.
6039 (clog_test_data): Likewise.
6040 (csqrt_test_data): Likewise.
6041 (ctan_test_data): Likewise.
6042 (ctan_tonearest_test_data): Likewise.
6043 (ctan_towardzero_test_data): Likewise.
6044 (ctan_downward_test_data): Likewise.
6045 (ctan_upward_test_data): Likewise.
6046 (ctanh_test_data): Likewise.
6047 (ctanh_tonearest_test_data): Likewise.
6048 (ctanh_towardzero_test_data): Likewise.
6049 (ctanh_downward_test_data): Likewise.
6050 (ctanh_upward_test_data): Likewise.
6051 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6053 (func_calc_desc): Add mpc_c_c union field.
6054 (FUNC_mpc_c_c): New macro.
6055 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6056 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6058 (special_fill_min_subnorm_p120): New function.
6059 (special_real_inputs): Add min_subnorm_p120.
6060 (calc_generic_results): Handle mpc_c_c.
6061 * sysdeps/i386/fpu/libm-test-ulps: Update.
6062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6064 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6066 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6067 (do_sin_slow): New functions.
6068 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6069 (cslow2, csloww1, csloww2): Use the new functions.
6071 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6072 Use M to change sign of result instead of X. Assume X is
6074 (csloww1): Likewise.
6078 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6083 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6085 (sloww1): Don't adjust sign of DX.
6086 (csloww1): Likewise.
6087 (sloww2): Use X directly and don't adjust sign of DX.
6088 (csloww2): Likewise.
6090 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6092 * math/auto-libm-test-in: Add tests of cabs and carg.
6093 * math/auto-libm-test-out: Regenerated.
6094 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6095 (carg_test_data): Likewise.
6096 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6098 (func_calc_desc): Add mpc_c_f union field.
6099 (test_functions): Add cabs and carg.
6100 (calc_generic_results): Handle mpc_c_f.
6102 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6103 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6104 as a macro and a compat symbol.
6105 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6106 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6107 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6108 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6109 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6110 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6112 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6114 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6116 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6118 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6120 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6122 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6123 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6126 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6130 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6132 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6133 trailing whitespace removed.
6134 * scripts/config.guess: Update to version 2013-11-29.
6135 * scripts/config.sub: Update to version 2013-10-01.
6137 * math/auto-libm-test-in: Add tests of sincos.
6138 * math/auto-libm-test-out: Regenerated.
6139 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6140 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6142 (func_calc_desc): Add mpfr_f_11 union field.
6143 (test_functions): Add sincos.
6144 (calc_generic_results): Handle mpfr_f_11.
6145 * sysdeps/i386/fpu/libm-test-ulps: Update.
6146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6148 2013-12-19 Andreas Schwab <schwab@suse.de>
6150 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6152 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6153 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6154 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6156 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6158 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6159 * sysdeps/i386/fpu/libm-test-ulps: Update.
6160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6163 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6164 round-to-nearest mode when using frndint.
6165 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6166 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6167 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6169 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6171 * math/auto-libm-test-out: Regenerated.
6172 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6173 (TEST_COND_x86): Likewise.
6174 (expm1_tonearest_test_data): New array.
6175 (expm1_test_tonearest): New function.
6176 (expm1_towardzero_test_data): New array.
6177 (expm1_test_towardzero): New function.
6178 (expm1_downward_test_data): New array.
6179 (expm1_test_downward): New function.
6180 (expm1_upward_test_data): New array.
6181 (expm1_test_upward): New function.
6182 (main): Run the new test functions.
6183 * sysdeps/i386/fpu/libm-test-ulps: Update.
6184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6186 * include/features.h: Update comment documenting feature test
6187 macros. Mention _DEFAULT_SOURCE in comment.
6188 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6189 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6190 _BSD_SOURCE and _SVID_SOURCE.
6191 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6192 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6193 !_SVID_SOURCE]: Likewise.
6194 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6195 (__USE_POSIX_IMPLICITLY): Define.
6196 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6197 (_POSIX_SOURCE): Undefine and redefine.
6198 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6199 (_POSIX_C_SOURCE): Likewise.
6200 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6201 (Feature Test Macros): Update documentation of default features.
6203 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6205 * benchtests/Makefile: Add bench-strtok.
6206 * benchtests/bench-strtok.c: New file: strtok benchtest.
6208 2013-12-19 Allan McRae <allan@archlinux.org>
6210 * manual/install.texi: Suppress menu for plain text output.
6211 * INSTALL: Regenerated.
6213 2013-12-18 Brooks Moses <bmoses@google.com>
6216 * misc/getauxval.c: Include errno.h.
6217 (__getauxval): Set errno to ENOENT if the requested type is not
6219 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6220 don't declare with __attribute_const__.
6221 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6222 * manual/startup.texi: Document that getauxval sets errno.
6224 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6226 * math/auto-libm-test-in: Add tests of jn and yn.
6227 * math/auto-libm-test-out: Regenerated.
6228 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6229 (yn_test_data): Likewise.
6230 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6232 (func_calc_desc): Add mpfr_if_f union field.
6233 (FUNC_mpfr_if_f): New macro.
6234 (test_functions): Add jn and yn.
6235 (calc_generic_results): Assert type of second input for
6236 mpfr_ff_f. Handle mpfr_if_f.
6237 (output_for_one_input_case): Disable all checking for arguments
6238 fitting floating-point types in case of an integer argument.
6239 * sysdeps/i386/fpu/libm-test-ulps: Update.
6240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6243 Don't expect fegetround reference in libm.so.
6245 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6247 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6248 $(config-cflags-nofma).
6250 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6252 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6253 * math/auto-libm-test-out: Regenerated.
6256 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6257 to determine exponent and adjust argument to have exponent of -1.
6258 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6260 * math/auto-libm-test-out: Regenerated.
6261 * sysdeps/i386/fpu/libm-test-ulps: Update.
6262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6264 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
6266 * manual/probes.texi: Remove cases when per-thread arenas are
6269 2013-12-18 Andreas Schwab <schwab@suse.de>
6271 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6272 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6273 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6274 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6275 * sysdeps/i386/i686/multiarch/Makefile: Update.
6276 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6278 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6280 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6281 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6283 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6286 Support TZ transition times < 00:00:00.
6287 This is needed for version-3 tz-format files; it supports time
6288 stamps past 2037 for America/Godthab (the only entry in the tz
6289 database for which this change is relevant).
6290 * manual/time.texi (TZ Variable): Document transition times
6291 from -167:59:59 through -00:00:01.
6292 * time/tzset.c (tz_rule): Time of day is now signed.
6293 (__tzset_parse_tz): Parse negative time of day.
6295 Document TZ transition times >= 25:00:00.
6296 * manual/time.texi (TZ Variable): Document transition times from
6297 25:00:00 through 167:59:59. These are already supported, and this
6298 support will help with version-3 tz-format files.
6300 * manual/time.texi (TZ Variable): Modernize North America example
6301 to reflect current (i.e., 2007-and-later) daylight saving rules.
6303 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6305 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6307 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6308 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6311 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6312 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6313 * sysdeps/unix/bsd/clock.c: Likewise.
6314 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6315 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6316 * sysdeps/unix/bsd/init-posix.c: Likewise.
6317 * sysdeps/unix/bsd/poll.c: Likewise.
6318 * sysdeps/unix/bsd/ptsname.c: Likewise.
6319 * sysdeps/unix/bsd/seekdir.c: Likewise.
6320 * sysdeps/unix/bsd/setegid.c: Likewise.
6321 * sysdeps/unix/bsd/seteuid.c: Likewise.
6322 * sysdeps/unix/bsd/setgid.c: Likewise.
6323 * sysdeps/unix/bsd/setrgid.c: Likewise.
6324 * sysdeps/unix/bsd/setruid.c: Likewise.
6325 * sysdeps/unix/bsd/setsid.c: Likewise.
6326 * sysdeps/unix/bsd/setuid.c: Likewise.
6327 * sysdeps/unix/bsd/sigaction.c: Likewise.
6328 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6329 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6330 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6331 * sysdeps/unix/bsd/telldir.c: Likewise.
6332 * sysdeps/unix/bsd/times.c: Likewise.
6333 * sysdeps/unix/bsd/usleep.c: Likewise.
6335 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6336 ($(objpfx)libbsd-compat.a): Remove rule.
6338 * include/features.h (__FAVOR_BSD): Do not define.
6339 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6340 features conflicting with POSIX.
6341 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6342 (_BSD_SOURCE): Remove description of not being a subset of other
6343 feature test macros.
6344 * manual/job.texi (getpgrp): Do not document BSD version.
6345 (getpgid): Do not document by reference to BSD getpgrp.
6346 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6347 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6348 * signal/signal.h [__FAVOR_BSD]: Likewise.
6349 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6350 instead of making contents conditional on [__FAVOR_BSD].
6351 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6353 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6357 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6360 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6361 values below 2**-450, not 2**-500.
6362 * math/auto-libm-test-in: Don't allow spurious underflow from
6364 * math/auto-libm-test-out: Regenerated.
6368 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6369 values of ha and hb and sort them after adjusting subnormal
6371 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6373 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6374 values of ea and eb and sort them after adjusting subnormal
6376 * math/auto-libm-test-in: Do not expect some hypot tests of
6377 subnormals to fail. Add more hypot tests.
6378 * math/auto-libm-test-out: Regenerated.
6380 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6383 * sysdeps/sh/s_fma.c: New file.
6384 * sysdeps/sh/s_fmaf.c: New file.
6385 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6387 * sysdeps/sh/Implies: Add sh/soft-fp.
6389 2013-12-16 Roland McGrath <roland@hack.frob.com>
6391 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6392 level of indirection to members `objname', `errstring', `malloced'.
6393 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6394 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6395 it as the __longjmp argument (just pass 1 instead).
6396 (_dl_catch_error): Initialize C with argument pointers and address of
6397 volatile local ERRCODE rather than copying values out of C at return.
6399 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6401 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6402 * math/auto-libm-test-out: Regenerated.
6403 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6404 (hypot_test_data): Likewise.
6405 (pow_test_data): Likewise.
6406 (pow_tonearest_test_data): Likewise.
6407 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6409 (func_calc_desc): Add mpfr_ff_f union field.
6410 (FUNC_mpfr_ff_f): New macro.
6411 (test_functions): Add atan2, hypot and pow.
6412 (special_fill_min): New function.
6413 (special_fill_minus_min): Likewise.
6414 (special_fill_min_subnorm): Likewise.
6415 (special_fill_minus_min_subnorm): Likewise.
6416 (special_real_inputs): Add min, -min, min_subnorm and
6418 (calc_generic_results): Handle mpfr_ff_f.
6419 * sysdeps/i386/fpu/libm-test-ulps: Update.
6420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6422 2013-12-16 Will Newton <will.newton@linaro.org>
6424 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6425 (Aligned Memory Blocks): Add documentation for aligned_alloc
6426 and suggest it as an alternative to posix_memalign.
6427 (Hooks for Malloc): Document __memalign_hook is also called
6428 for aligned_alloc. (Summary of Malloc): Add summary for
6429 aligned alloc. Document __memalign_hook is also called
6432 2013-12-16 Will Newton <will.newton@linaro.org>
6434 * manual/memory.texi (Malloc Examples): Clarify default
6435 alignment documentation. Suggest posix_memalign rather
6436 than memalign or valloc.
6437 (Aligned Memory Blocks): Remove suggestion to use memalign
6438 or valloc. Remove obsolete comment about BSD.
6439 Document memalign errno values and mark the function obsolete.
6440 Document posix_memalign returned error codes. Mark valloc
6441 as obsolete. (Hooks for Malloc): __memalign_hook is also
6442 called for posix_memalign and valloc.
6443 (Summary of Malloc): Add posix_memalign to function summary.
6444 __memalign_hook is also called for posix_memalign and valloc.
6446 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6448 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6452 (sloww): Use mynumber union. Expand ternary operator into
6454 (cslow): use mynumber union.
6456 2013-12-16 Allan McRae <allan@archlinux.org>
6458 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6459 * configure: Regenerated.
6461 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6464 * configure.ac: Added --enable-maintainer-mode. Check for
6465 autoconf when enabled.
6466 * configure: Regenerated.
6468 * nscd/nscd.service: New file.
6469 * nscd/nscd.tmpfiles: New file.
6471 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6474 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6475 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6476 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6477 (strstr): Add __strstr_sse2_unaligned ifunc.
6478 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6479 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6480 (strcasestr): Remove __strcasestr_sse42 ifunc.
6481 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6482 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6485 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6487 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6488 * sysdeps/sh/bits/fenv.h: ... here.
6489 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6491 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6493 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6496 hypotf multiarch implementations.
6497 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6498 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6500 multiarch hypot for PPC64.
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6502 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6503 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6504 multiarch hypotf for PPC64.
6506 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6507 modff multiarch implementations.
6508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6511 multiarch modf for PPC64.
6512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6515 multiarch modff for PPC64.
6517 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6518 and logl multiarch implementations.
6519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6522 multiarch logb for PPC64.
6523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6526 multiarch logb for PPC64.
6527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6530 multiarch logb for PPC64.
6532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6533 isinff multiarch implementation.
6534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6538 multiarch isinf for PPC64.
6539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6542 multiarch isinff for PPC64.
6544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6545 finitef multiarch implementation.
6546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6550 multiarch finite for PPC64.
6551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6554 multiarch finitef for PPC64.
6556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6557 lrint multiarch implementation.
6558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6562 multiarch llrint for PPC64.
6563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6564 multiarch lrint for PPC64.
6566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6567 copysignf multiarch implementation.
6568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6573 multiarch copysign for PPC64.
6574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6575 multiarch copysignf for PPC64.
6577 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6578 multiarch implementation.
6579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6587 multiarch llround for PPC64.
6588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6589 multiarch trunc for PPC64.
6590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6591 multiarch truncf for PPC64.
6593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6594 multiarch implementation.
6595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6603 multiarch llround for PPC64.
6604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6605 multiarch round for PPC64.
6606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6607 multiarch roundf for PPC64.
6609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6610 multiarch implementation.
6611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6619 multiarch llround for PPC64.
6620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6621 multiarch floor for PPC64.
6622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6623 multiarch floorf for PPC64.
6625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6626 multiarch implementation.
6627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6635 multiarch llround for PPC64.
6636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6637 multiarch ceil for PPC64.
6638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6639 multiarch ceilf for PPC64.
6641 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6642 multiarch implementation.
6643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6650 multiarch llround for PPC64.
6651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6652 multiarch lround for PPC64.
6654 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6655 multiarch implementation.
6656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6663 multiarch isnan for PPC64.
6664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6665 multiarch isnanf for PPC64.
6667 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6668 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6669 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6670 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6671 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6674 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6675 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6676 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6677 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6680 multiarch implementations.
6681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6682 (__libc_ifunc_impl_list): Likewise.
6683 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6684 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6685 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6686 multiarch stpcpy for PPC64.
6688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6689 multiarch implementations.
6690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6691 (__libc_ifunc_impl_list): Likewise.
6692 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6693 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6694 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6695 multiarch strcpy for PPC64.
6697 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6698 redefine function name.
6699 (_wordcopy_fwd_dest_aligned): Likewise.
6700 (_wordcopy_bwd_aligned): Likewise.
6701 (_wordcopy_bwd_dest_aligned): Likewise.
6702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6703 multiarch implementations.
6704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6705 (__libc_ifunc_impl_list): Likewise.
6706 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6707 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6708 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6709 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6710 multiarch wcscpy for PPC64.
6712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6713 multiarch implementations.
6714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6715 (__libc_ifunc_impl_list): Likewise.
6716 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6717 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6718 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6719 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6720 multiarch wcscpy for PPC64.
6722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6723 multiarch implementations.
6724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6725 (__libc_ifunc_impl_list): Likewise.
6726 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6727 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6728 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6729 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6730 multiarch wcsrchr for PPC64.
6732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6733 multiarch implementations.
6734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6735 (__libc_ifunc_impl_list): Likewise.
6736 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6737 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6738 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6739 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6740 multiarch wcschr for PPC64.
6742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6743 multiarch implementations.
6744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6745 (__libc_ifunc_impl_list): Likewise.
6746 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6747 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6748 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6749 multiarch strchrnul for PPC64.
6751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6754 (__libc_ifunc_impl_list): Likewise.
6755 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6756 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6757 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6758 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6761 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6763 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6764 (__libc_ifunc_impl_list): Likewise.
6765 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6766 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6767 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6768 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6772 multiarch implementations.
6773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6774 (__libc_ifunc_impl_list): Likewise.
6775 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6776 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6777 strncasecmp for PPC64.
6778 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6779 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6780 multiarch strncasecmp_l for PPC64.
6782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6783 multiarch implementations.
6784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6785 (__libc_ifunc_impl_list): Likewise.
6786 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6787 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6788 multiarch strcasecmp for PPC64.
6789 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6791 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6792 multiarch strcasecmp_l for PPC64.
6794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6797 (__libc_ifunc_impl_list): Likewise.
6798 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6799 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6800 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6806 (__libc_ifunc_impl_list): Likewise.
6807 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6808 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6809 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6815 (__libc_ifunc_impl_list): Likewise.
6816 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6817 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6818 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6819 rawmemrchr for PPC64.
6821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6824 (__libc_ifunc_impl_list): Likewise.
6825 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6826 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6827 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6833 (__libc_ifunc_impl_list): Likewise.
6834 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6835 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6836 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6842 (__libc_ifunc_impl_list): Likewise.
6843 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6844 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6845 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6848 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6849 avoid cretion of __bzero symbol.
6850 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6852 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6854 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6856 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6857 multiarch implementations.
6858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6859 (__libc_ifunc_impl_list): Likewise.
6860 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6861 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6862 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6863 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6865 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6866 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6867 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6868 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6869 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6871 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6873 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6877 (__libc_ifunc_impl_list): Likewise.
6878 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6879 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6880 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6881 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6885 multiarch for POWER/PPC64.
6886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6887 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6888 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6889 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6890 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6891 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6892 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6893 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6894 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6897 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6898 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6899 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6900 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6901 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6902 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6903 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6904 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6905 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6906 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6907 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6908 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6909 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6910 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6911 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6920 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6922 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6924 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6926 * benchtests/Makefile (bench): Add exp2 and log2.
6927 (LDLIBS-bench-exp2): Add -lm.
6928 (LDLIBS-bench-log2): Likewise.
6929 * benchtests/exp2-inputs: New inputs file.
6930 * benchtests/log2-inputs: New inputs file.
6931 * benchtests/log-inputs: Add new inputs.
6932 * benchtests/tan-inputs: Likewise.
6934 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6936 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6938 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6939 (csloww2): ... from here.
6941 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6942 instead of structures.
6943 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6944 (POLYNOMIAL): Likewise.
6945 (TAYLOR_SLOW): Likewise.
6953 (bsloww1): Likewise.
6954 (bsloww2): Likewise.
6957 (csloww1): Likewise.
6958 (csloww2): Likewise.
6960 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6962 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6963 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6964 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6965 * malloc/hooks.c (realloc_check): Likewise.
6967 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6968 * malloc/arena.c: Remove PER_THREAD conditional.
6969 [!PER_THREAD]: Remove code.
6970 (ptmalloc_unlock_all2): Likewise.
6971 (ptmalloc_init): Likewise.
6972 (_int_new_arena): Likewise.
6973 (arena_get2): Likewise.
6974 * malloc/hooks.c (__malloc_get_state): Likewise.
6975 (__malloc_set_state): Likewise.
6976 * malloc/malloc.c: Likewise.
6977 (struct malloc_state): Likewise.
6978 (struct malloc_par): Likewise.
6979 (__libc_realloc): Likewise.
6980 (__libc_mallopt): Likewise.
6982 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6984 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6986 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6988 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6989 macro to a function. Check for zero perturb_byte.
6990 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6992 * malloc/malloc.c: (force_reg): Remove.
6993 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6994 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6995 force_reg by atomic_forced_read.
6996 * malloc/arena.c (ptmalloc_init): Likewise.
6997 * malloc/hooks.c (top_check): Likewise.
6999 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7003 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7007 2013-12-08 Joseph Myers <joseph@codesourcery.com>
7009 * math/auto-libm-test-in: Add tests of lgamma.
7010 * math/auto-libm-test-out: Regenerated.
7011 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7012 (M_LOG_2_SQRT_PIl): Likewise.
7013 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7014 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7016 (func_calc_desc): Add mpfr_f_f1 union field.
7025 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7026 (test_functions): Add lgamma.
7027 (calc_generic_results): Handle mpfr_f_f1.
7028 * sysdeps/i386/fpu/libm-test-ulps: Update.
7029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7031 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7033 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7034 __mpn_add_n for PowerPC64/POWER7.
7035 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7036 __mpn_sub_n for PowerPC64/POWER7.
7038 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7039 __mpn_addmul_1 for PowerPC64.
7040 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7041 __mpn_submul_1 for PowerPC64.
7042 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7044 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7047 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7050 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7052 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7054 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7056 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7057 add multiarch folders.
7058 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7059 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7060 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7061 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7062 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7063 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7064 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7065 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7066 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7067 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7068 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7077 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7083 multiarch __ieee754_hypot for PowerPC32.
7084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7089 multiarch __ieee754_hypotf for PowerPC32.
7091 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7092 long_double_symbol only if __logbl is defined.
7093 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7094 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7096 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7097 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7098 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7099 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7100 path for implementation.
7101 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7102 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7104 logb, and logbl multiarch implementations for PowerPC32.
7105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7110 multiarch logb for PowerPC32.
7111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7116 multiarch logbf for PowerPC32.
7117 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7121 multiarch logbl implementation for PowerPC32.
7123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7124 and modff multiarch implementations.
7125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7130 multiarch modf for PowerPC32.
7131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7136 multiarch modff for PowerPC32.
7138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7139 and lrintf multiarch implementations.
7140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7145 multiarch lrint for PowerPC32.
7146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7147 file: multiarch lrintf for PowerPC32.
7149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7150 and lroundf multiarch implementations.
7151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7158 multiarch lround for PowerPC32.
7159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7160 file: multiarch lroundf for PowerPC32.
7162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7163 copysign and copysignf multiarch implementations.
7164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7169 file: multiarch copysign for PowerPC32.
7170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7171 file: multiarch copysignf for PowerPC32.
7173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7174 and truncf multiarch implementations.
7175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7180 multiarch trunc for PowerPC32.
7181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7186 multiarch truncf for PowerPC32.
7188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7189 and roundf multiarch implementations.
7190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7195 multiarch round for PowerPC32.
7196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7201 multiarch roundf for PowerPC32.
7203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7204 and floorf multiarch implementations.
7205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7210 multiarch floor for PowerPC32.
7211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7216 multiarch floorf for PowerPC32.
7218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7219 and ceilf multiarch implementations.
7220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7225 multiarch ceil for PowerPC32.
7226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7231 multiarch ceilf for PowerPC32.
7233 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7235 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7238 and finitef multiarch implementations.
7239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7244 multiarch finite for PowerPC32.
7245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7248 file: multiarch finitef for PowerPC32.
7250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7251 and isinff multiarch implementations.
7252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7257 multiarch isinf for PowerPC32.
7258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7261 multiarch isinff for PowerPC32.
7263 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7264 alias when __isnan is defined.
7265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7266 and isnanf multiarch implementations.
7267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7276 multiarch isnan for PowerPC32.
7277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7282 multiarch isnanf for PowerPC32.
7284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7285 and sqrtf multiarch implementations.
7286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7291 multiarch sqrt for PowerPC32.
7292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7297 multiarch sqrtf for PowerPC32.
7299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7300 and llroundf multiarch implementations.
7301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7308 file: multiarch llround for PowerPC32.
7309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7310 file: multiarch llroundf for PowerPC32.
7312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7313 multiarch PowerPC32 fpu implementations.
7314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7319 multiarch llrint for PowerPC32.
7320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7329 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7331 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7333 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7335 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7336 multiarch wordcopy 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/power4/wordcopy.c: Move ...
7342 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7343 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7344 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7345 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7346 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7348 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7351 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7355 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7356 multiarch wcscpy for PPC32.
7357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7360 (__libc_ifunc_impl_list): Likewise.
7361 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7362 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7363 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7364 sysdeps/powerpc/power6/wcscpy.c.
7366 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7373 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7374 multiarch wcsrchr for PPC32.
7375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7378 (__libc_ifunc_impl_list): Likewise.
7379 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7380 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7381 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7382 sysdeps/powerpc/power6/wcsrchr.c.
7384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7388 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7389 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7390 multiarch wcschr for PPc32.
7391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7394 (__libc_ifunc_impl_list): Likewise.
7395 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7396 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7397 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7398 sysdeps/powerpc/power6/wcschr.c.
7400 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7401 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7403 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7404 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7405 file: multiarch strchr for PPC32.
7406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7409 (__libc_ifunc_impl_list): Likewise.
7411 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7413 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7415 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7417 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7418 multiarch strchrnul for PPC32.
7419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7422 (__libc_ifunc_impl_list): Likewise.
7424 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7426 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7427 multiarch strncasecmp for PPC32.
7428 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7430 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7431 multiarch strncasecmp_l for PPC32.
7432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7433 strncasecmp multiarch objects.
7434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7435 (__libc_ifunc_impl_list): Likewise.
7437 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7439 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7440 multiarch strncasecmp for PPC32.
7441 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7443 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7444 multiarch strcasecmp_l for PPC32.
7445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7448 (__libc_ifunc_impl_list): Likewise.
7450 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7452 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7454 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7455 multiarch strncmp for PPC32.
7456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7459 (__libc_ifunc_impl_list): Likewise.
7461 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7462 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7464 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7465 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7469 (__libc_ifunc_impl_list): Likewise.
7471 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7473 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7475 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7479 (__libc_ifunc_impl_list): Likewise.
7481 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7483 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7485 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7486 multiarch rawmemchr for PPC32.
7487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7490 (__libc_ifunc_impl_list): Likewise.
7492 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7494 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7496 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7497 file: memrchr multiarch for PPC32.
7498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7501 (__libc_ifunc_impl_list): Likewise.
7503 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7504 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7506 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7507 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7508 multiarch memchr for PPC32.
7509 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7511 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7512 (__libc_ifunc_impl_list): Likewise.
7514 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7515 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7517 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7519 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7520 file: multiarch mempcpy for PPC32.
7521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7524 (__libc_ifunc_impl_list): Likewise.
7526 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7527 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7528 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7529 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7530 multiarch bzero for PPC32.
7531 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7533 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7535 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7536 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7537 file: multiarch memset for PPC32.
7538 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7540 memset multiarch objects.
7541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7542 (__libc_ifunc_impl_list): Likewise.
7544 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7546 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7547 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7549 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7553 (__libc_ifunc_impl_list): Likewise.
7555 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7556 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7557 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7559 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7561 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7563 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7564 multiarch memcpy for PPC32.
7565 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7567 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7568 (__libc_ifunc_impl_list): Likewise.
7570 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7571 support multiarch for POWER/PPC32.
7572 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7574 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7576 Implies file to make multiarch folder appers before the fpu and
7577 default folder for power4 configuration.
7579 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7581 * scripts/bench.pl: Append volatile keyword to type.
7583 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7585 * sysdeps/sh/sotruss-lib.c: New file.
7586 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7588 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7592 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7595 * math/w_tgamma.c: Include <errno.h>.
7596 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7597 * math/w_tgammaf.c: Include <errno.h>.
7598 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7599 * math/w_tgammal.c: Include <errno.h>.
7600 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7601 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7602 underflow. Add more tgamma tests.
7603 * math/auto-libm-test-out: Regenerated.
7604 * sysdeps/i386/fpu/libm-test-ulps: Update.
7605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7607 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7608 sin, sinh, tan, tanh, tgamma, y0 and y1.
7609 * math/auto-libm-test-out: Regenerated.
7610 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7611 (TEST_COND_x86): Likewise.
7612 (M_E2l): Remove macro.
7614 (M_2_SQRT_PIl): Likewise.
7615 (M_SQRT_PIl): Likewise.
7616 (M_1_DIV_El): Likewise.
7617 (log_test_data): Use AUTO_TESTS_f_f.
7618 (log10_test_data): Likewise.
7619 (log1p_test_data): Likewise.
7620 (log2_test_data): Likewise.
7621 (sin_test_data): Likewise.
7622 (sin_tonearest_test_data): Likewise.
7623 (sin_towardzero_test_data): Likewise.
7624 (sin_downward_test_data): Likewise.
7625 (sin_upward_test_data): Likewise.
7626 (sinh_test_data): Likewise.
7627 (sinh_tonearest_test_data): Likewise.
7628 (sinh_towardzero_test_data): Likewise.
7629 (sinh_downward_test_data): Likewise.
7630 (sinh_upward_test_data): Likewise.
7631 (tan_test_data): Likewise.
7632 (tan_tonearest_test_data): Likewise.
7633 (tan_towardzero_test_data): Likewise.
7634 (tan_downward_test_data): Likewise.
7635 (tan_upward_test_data): Likewise.
7636 (tanh_test_data): Likewise.
7637 (tgamma_test_data): Likewise.
7638 (y0_test_data): Likewise.
7639 (y1_test_data): Likewise.
7640 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7641 (special_real_inputs): Add pi/4.
7642 * sysdeps/i386/fpu/libm-test-ulps: Update.
7643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7645 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7647 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7648 "longjmp_target" static probes.
7649 (__longjmp): Rename to __longjmp_symbol.
7650 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7651 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7652 on which longjmp to generate.
7653 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7654 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7656 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7657 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7658 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7659 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7660 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7661 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7663 __longjmp_symbol based on which __longjmp to generate.
7664 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7666 (setjmp): Rename to setjmp_symbol.
7667 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7668 (_setjmp): Rename to _setjmp_symbol.
7669 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7670 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7671 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7672 which setjmp to generate.
7673 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7674 "longjmp_target" static probes.
7676 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7678 * benchtests/README: Add note about output arguments.
7679 * benchtests/bench-sincos.c: Remove file.
7680 * benchtests/sincos-inputs: New file.
7681 * scripts/bench.pl: Identify output arguments and define
7682 static variables for them.
7684 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7687 * Makefile (INSTALL): Add install-plain.texi as the primary
7689 * manual/install-plain.texi: New file.
7690 * manual/install.texi: Include node directive only for
7691 non-plaintext output.
7693 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7695 * stdlib/longlong.h: Update from GCC.
7699 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7700 * math/w_j0f.c (y0f): Likewise.
7701 * math/w_j0l.c (__y0l): Likewise.
7702 * math/w_j1.c (y1): Likewise.
7703 * math/w_j1f.c (y1f): Likewise.
7704 * math/w_j1l.c (__y1l): Likewise
7705 * math/w_jn.c (yn): Likewise.
7706 * math/w_jnf.c (ynf): Likewise.
7707 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7708 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7709 value for Bessel function domain errors outside _SVID_ mode.
7710 Adjust sign of return value for yn (negative integer, 0).
7711 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7712 by zero in return for negative x and set sign appropriately for
7714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7715 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7716 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7717 expectations in error cases.
7718 (y1_test_data): Likewise.
7719 (yn_test_data): Likewise.
7720 * sysdeps/i386/fpu/libm-test-ulps: Update.
7721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7723 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7725 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7726 "64" to "64-v1". Add "64-v2".
7727 (abi-64-options): Rename to ...
7728 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7729 (abi-64-condition): Rename to ...
7730 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7731 (abi-64-ld-soname): Rename to ...
7732 (abi-64-v1-ld-soname): ... this.
7733 (abi-64-v2-options): Define.
7734 (abi-64-v2-condition): Likewise.
7735 (abi-64-v2-ld-soname): Likewise.
7736 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7737 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7742 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7743 Alan Modra <amodra@gmail.com>
7745 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7746 New versions for use with the ELFv2 ABI.
7747 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7748 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7750 (struct La_ppc64v2_retval): Likewise.
7751 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7752 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7753 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7754 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7755 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7756 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7757 Do not save or restore CR.
7758 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7759 (_dl_profile_resolve): Do no save or restore CR. Support extended
7760 return values for ELFv2 ABI. Fix location of FPR return registers.
7761 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7762 updated values for _CALL_ELF == 2.
7763 (La_regs, La_retval, int_retval): Likewise.
7765 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7767 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7768 (FRAME_MIN_SIZE_PARM): Likewise.
7769 (FRAME_BACKCHAIN): Likewise.
7770 (FRAME_CR_SAVE): Likewise.
7771 (FRAME_LR_SAVE): Likewise.
7772 (FRAME_TOC_SAVE): Likewise.
7773 (FRAME_PARM_SAVE): Likewise.
7774 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7775 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7776 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7777 (call_mcount_parm_offset): New macro.
7778 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7779 (PROF): Use symbolic stack frame offsets.
7780 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7781 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7782 Redefine in terms of FRAME_MIN_SIZE.
7783 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7784 (_dl_profile_resolve): Likewise. Update comment.
7785 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7786 symbols stack frame offsets.
7787 (__sigsetjmp): Likewise.
7788 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7789 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7790 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7791 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7794 (FRAME_BACKCHAIN): Remove.
7795 (FRAME_CR_SAVE): Likewise.
7796 (FRAME_LR_SAVE): Likewise.
7797 (FRAME_COMPILER_DW): Likewise.
7798 (FRAME_LINKER_DW): Likewise.
7799 (FRAME_TOC_SAVE): Likewise.
7800 (FRAME_PARM_SAVE): Likewise.
7801 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7802 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7803 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7805 (CHECK_SP): Use symbolic stack frame offsets.
7806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7807 zone" instead of caller's parameter save area for temp storage.
7808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7809 Likewise. Also, use symbolic stack frame offsets.
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7811 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7812 our own stack frame instead of the caller's.
7813 (__socket): Use symbolic stack frame offsets.
7815 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7816 Alan Modra <amodra@gmail.com>
7818 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7820 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7821 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7822 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7824 (elf_machine_fixup_plt): Call it.
7825 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7827 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7828 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7829 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7830 r2 before calling target.
7832 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7833 Alan Modra <amodra@gmail.com>
7835 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7836 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7837 versions of macros to support ELFv2 ABI.
7838 (LOCALENTRY): New macro.
7839 (ENTRY, EALIGN): Use it.
7840 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7841 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7842 fall through into ENTRY entry point.
7843 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7844 Only define if _CALL_ELF != 2.
7846 (elf_machine_matches_host): Verify ABI version matches.
7847 (RTLD_START): Use LOCALENTRY.
7848 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7849 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7850 (PLT_ENTRY_WORDS): New macro.
7851 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7852 (elf_machine_runtime_setup): Support ELFv2 ABI.
7853 (elf_machine_fixup_plt): Likewise.
7854 (elf_machine_plt_conflict): Likewise.
7855 (resolve_ifunc): Likewise.
7856 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7857 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7860 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7862 (makecontext): Support ELFv2 ABI.
7863 * elf/elf.h (EF_PPC64_ABI): Define.
7865 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7867 * sysdeps/powerpc/powerpc64/sysdep.h
7868 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7869 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7870 (ENTRY) [ASSEMBLER]: ... but instead here ...
7871 (EALIGN) [ASSEMBLER]: ... and here.
7872 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7873 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7874 (ENTRY_2) [!ASSEMBLER]: Use it.
7875 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7876 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7877 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7878 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7879 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7881 Use PPC64_LOAD_FUNCPTR.
7883 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7885 2013-12-04 Alan Modra <amodra@gmail.com>
7887 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7888 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7889 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7890 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7892 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7893 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7894 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7895 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7896 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7897 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7899 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7902 (__makecontext): Fix incorrect CFI when backtracing out of
7903 context created via makecontext.
7904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7905 (__setcontext): Fix incorrect CFI during switch to new context.
7906 (__novec_setcontext): Likewise.
7908 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7911 * time/strptime_l.c (__strptime_internal): Allow modifiers
7913 * time/tst-strptime.c (day_tests): Add testcase.
7915 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7917 * scripts/bench.pl: Skip over blank lines.
7919 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7922 * manual/time.texi (Calendar Time): Clarify what timezone functions
7925 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7929 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7931 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7933 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7934 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7935 * debug/memset_chk.c (__memset_chk): Likewise.
7936 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7937 * debug/strncpy_chk.c: Likewise.
7939 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7943 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7944 (__ieee754_exp): For possibly underflowing results, check size of
7945 result and force underflow exception if required.
7946 * math/auto-libm-test-in: Add more tests of exp.
7947 * math/auto-libm-test-out: Regenerated.
7948 * sysdeps/i386/fpu/libm-test-ulps: Update.
7949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7952 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7953 * math/w_exp2f.c (__exp2f): Likewise.
7954 * math/w_exp2l.c (__exp2l): Likewise.
7955 * math/auto-libm-test-in: Do not allow missing errno on exp2
7957 * math/auto-libm-test-out: Regenerated.
7959 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7962 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7963 handle filename validation.
7964 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7967 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7970 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7971 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7972 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7974 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7975 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7976 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7977 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7978 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7979 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7980 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7981 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7982 Add more erfc tests.
7983 * math/auto-libm-test-out: Regenerated.
7984 * sysdeps/i386/fpu/libm-test-ulps: Update.
7985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7987 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7988 exp2, expm1, j0 and j1.
7989 * math/auto-libm-test-out: Regenerated.
7990 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7991 (erfc_test_data): Likewise.
7992 (exp_test_data): Likewise.
7993 (exp_tonearest_test_data): Likewise.
7994 (exp_towardzero_test_data): Likewise.
7995 (exp_downward_test_data): Likewise.
7996 (exp_upward_test_data): Likewise.
7997 (exp10_test_data): Likewise.
7998 (exp2_test_data): Likewise.
7999 (expm1_test_data): Likewise.
8000 (j0_test_data): Likewise.
8001 (j1_test_data): Likewise.
8002 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8003 (input_flag_type): Add flag_xfail_rounding.
8004 (input_flags): Add xfail-rounding.
8005 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8006 (output_for_one_input_case): Handle flag_xfail_rounding.
8007 * sysdeps/i386/fpu/libm-test-ulps: Update.
8008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8010 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8013 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8016 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8019 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8020 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8021 (STAP_PROBE0): New macro.
8022 (STAP_PROBE1): Likewise.
8023 (STAP_PROBE2): Likewise.
8024 (STAP_PROBE3): Likewise.
8025 (STAP_PROBE4): Likewise.
8027 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8029 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8031 2013-12-02 Steve Ellcey <sellcey@mips.com>
8033 * benchtests/Makefile (bench): Add sqrt.
8034 (LDLIBS-bench-sqrt): New.
8035 * benchtests/sqrt-input: New.
8037 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8039 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8040 (GAIH_EAI): Likewise.
8041 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8042 (gaih_inet): Likewise.
8043 (getaddrinfo): Don't use GAIH_EAI.
8045 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8046 (struct gaih): Remove definition.
8048 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8050 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8051 Use HERRNOP directly.
8053 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8057 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8059 * math/gen-auto-libm-tests.c (test_functions): Add more
8060 single-argument functions.
8061 (special_fill_pi_2): New function.
8062 (special_fill_minus_pi_2): Likewise.
8063 (special_fill_pi_6): Likewise.
8064 (special_fill_minus_pi_6): Likewise.
8065 (special_fill_pi_3): Likewise.
8066 (special_fill_2pi_3): Likewise.
8067 (special_fill_e): Likewise.
8068 (special_fill_1_e): Likewise.
8069 (special_fill_e_minus_1): Likewise.
8070 (special_real_inputs): Add more special inputs.
8071 (output_for_one_input_case): Do not require ERANGE on underflow to
8072 zero if round-to-nearest result does not underflow to zero, unless
8073 exact results required.
8074 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8075 atan, atanh, cbrt, cos and cosh.
8076 * math/auto-libm-test-out: Regenerated.
8077 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8078 (acos_tonearest_test_data): Likewise.
8079 (acos_towardzero_test_data): Likewise.
8080 (acos_downward_test_data): Likewise.
8081 (acos_upward_test_data): Likewise.
8082 (acosh_test_data): Likewise.
8083 (asin_test_data): Likewise.
8084 (asin_tonearest_test_data): Likewise.
8085 (asin_towardzero_test_data): Likewise.
8086 (asin_upward_test_data): Likewise.
8087 (asinh_test_data): Likewise.
8088 (atan_test_data): Likewise.
8089 (atanh_test_data): Likewise.
8090 (cbrt_test_data): Likewise.
8091 (cos_test_data): Likewise.
8092 (cos_tonearest_test_data): Likewise.
8093 (cos_towardzero_test_data): Likewise.
8094 (cos_downward_test_data): Likewise.
8095 (cos_upward_test_data): Likewise.
8096 (cosh_test_data): Likewise.
8097 (cosh_tonearest_test_data): Likewise.
8098 (cosh_towardzero_test_data): Likewise.
8099 (cosh_downward_test_data): Likewise.
8100 (cosh_upward_test_data): Likewise.
8101 * sysdeps/i386/fpu/libm-test-ulps: Update.
8102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8104 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8107 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8108 * math/w_exp10f.c (__exp10f): Likewise.
8109 * math/w_exp10l.c (__exp10l): Likewise.
8110 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8111 errno settings in existing tests.
8114 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8115 precision control set to double precision.
8116 * sysdeps/i386/fpu/w_sqrt.c: New file.
8117 * math/auto-libm-test-in: Add more tests.
8118 * math/auto-libm-test-out: Update.
8120 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8121 (sqrt_test_tonearest): New function.
8122 (sqrt_towardzero_test_data): New variable.
8123 (sqrt_test_towardzero): New function.
8124 (sqrt_downward_test_data): New variable.
8125 (sqrt_test_downward): New function.
8126 (sqrt_upward_test_data): New variable.
8127 (sqrt_test_upward): New function.
8128 (main): Call the new functions.
8130 * math/gen-auto-libm-tests.c: New file.
8131 * math/auto-libm-test-in: Likewise.
8132 * math/auto-libm-test-out: New generated file.
8133 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8135 (%beautify): Add generated representations of zero.
8136 (top level): Set $auto_input and call parse_auto_input.
8137 (beautify): Remove trailing "f" from hex float constants.
8138 (parse_args): Handle XFAIL_TEST.
8139 (convert_condition): New function.
8140 (or_value): Likewise.
8141 (or_cond_value): Likewise.
8142 (generate_testfile): Handle AUTO_TESTS_* lines.
8143 (parse_auto_input): New function.
8144 * math/libm-test.inc (XFAIL_TEST): New macro.
8145 (ERRNO_UNCHANGED): Update value.
8146 (ERRNO_EDOM): Likewise.
8147 (ERRNO_ERANGE): Likewise.
8148 (IGNORE_RESULT): Likewise.
8149 (TEST_COND_flt_32): New macro.
8150 (TEST_COND_dbl_64): Likewise.
8151 (TEST_COND_ldbl_96_intel): Likewise.
8152 (TEST_COND_ldbl_96_m68k): Likewise.
8153 (TEST_COND_ldbl_128): Likewise.
8154 (TEST_COND_ldbl_128ibm): Likewise.
8155 (TEST_COND_long32): Likewise.
8156 (TEST_COND_long64): Likewise.
8157 (TEST_COND_before_rounding): Likewise.
8158 (TEST_COND_after_rounding): Likewise.
8159 (enable_test): Handle XFAIL_TEST flag.
8160 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8161 with finite results.
8162 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8165 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8166 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8169 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8170 __tls_get_addr_internal instead of __tls_get_offset in order to
8171 avoid GOT pointer dependency. Make rtld export
8172 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8173 __tls_get_addr since we are a __tls_get_offset platform.
8174 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8175 GOT pointer being set up before.
8176 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8178 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8180 * manual/math.texi (Errors in Math Functions): Document accuracy
8184 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8185 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8186 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8187 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8188 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8189 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8190 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8194 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8195 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8196 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8197 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8198 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8199 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8201 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8202 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8203 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8204 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8205 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8207 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8209 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8211 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8212 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8213 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8214 atomic-feupdateenv and flt-rounds.
8215 * sysdeps/powerpc/nofpu/Versions (libc): Add
8216 __atomic_feholdexcept, __atomic_feclearexcept,
8217 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8218 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8219 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8220 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8221 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8226 * manual/arith.texi (FP Exceptions): Document that exceptions may
8227 not be raised when matherr is used.
8228 (Math Error Reporting): Document overflow in directed rounding
8229 modes. Document that errno may not be set when finite values are
8230 returned on overflow. Document intent to set errno on underflow
8231 only for underflow to zero.
8234 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8235 round-to-nearest then adjust result for other rounding modes.
8236 * include/fenv.h (fegetround): Use libm_hidden_proto.
8237 * math/fegetround.c (fegetround): Use libm_hidden_def.
8238 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8239 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8240 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8241 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8243 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8244 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8245 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8246 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8248 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8251 * nss/Versions (libnss_files): Add
8252 _nss_files_gethostbyname3_r.
8253 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8255 (HOST_DB_LOOKUP): Remove macro.
8256 (_nss_files_gethostbyname_r): Implement function without the
8257 HOST_DB_LOOKUP macro.
8258 (_nss_files_gethostbyname2_r): Likewise.
8260 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
8262 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8264 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
8266 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8267 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8270 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8272 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8273 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8274 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8275 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8276 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8277 __fe_nomask_env_priv and attribute_hidden.
8278 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8279 (libc_feupdateenv_test_ppc): Likewise.
8280 (libc_feresetround_ppc): Likewise.
8281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8282 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8283 compat_symbol macro.
8284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8285 (__fe_nomask_env): Likewise.
8286 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8288 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8290 * string/Makefile: Remove ifunc tests.
8291 * string/test-string.h: Define TEST_IFUNC.
8292 * string/test-bcopy-ifunc.c: Remove.
8293 * string/test-bzero-ifunc.c: Likewise.
8294 * string/test-memccpy-ifunc.c: Likewise.
8295 * string/test-memchr-ifunc.c: Likewise.
8296 * string/test-memcmp-ifunc.c: Likewise.
8297 * string/test-memcpy-ifunc.c: Likewise.
8298 * string/test-memmem-ifunc.c: Likewise.
8299 * string/test-memmove-ifunc.c: Likewise.
8300 * string/test-mempcpy-ifunc.c: Likewise.
8301 * string/test-memrchr-ifunc.c: Likewise.
8302 * string/test-memset-ifunc.c: Likewise.
8303 * string/test-rawmemchr-ifunc.c: Likewise.
8304 * string/test-stpcpy-ifunc.c: Likewise.
8305 * string/test-stpncpy-ifunc.c: Likewise.
8306 * string/test-strcasecmp-ifunc.c: Likewise.
8307 * string/test-strcasestr-ifunc.c: Likewise.
8308 * string/test-strcat-ifunc.c: Likewise.
8309 * string/test-strchr-ifunc.c: Likewise.
8310 * string/test-strchrnul-ifunc.c: Likewise.
8311 * string/test-strcmp-ifunc.c: Likewise.
8312 * string/test-strcpy-ifunc.c: Likewise.
8313 * string/test-strcspn-ifunc.c: Likewise.
8314 * string/test-strlen-ifunc.c: Likewise.
8315 * string/test-strncasecmp-ifunc.c: Likewise.
8316 * string/test-strncat-ifunc.c: Likewise.
8317 * string/test-strncmp-ifunc.c: Likewise.
8318 * string/test-strncpy-ifunc.c: Likewise.
8319 * string/test-strnlen-ifunc.c: Likewise.
8320 * string/test-strpbrk-ifunc.c: Likewise.
8321 * string/test-strrchr-ifunc.c: Likewise.
8322 * string/test-strspn-ifunc.c: Likewise.
8323 * string/test-strstr-ifunc.c: Likewise.
8325 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8327 * benchtests/Makefile: Remove ifunc tests.
8328 * benchtests/bench-string.h: Define TEST_IFUNC.
8329 * benchtests/bench-bcopy-ifunc.c: Remove.
8330 * benchtests/bench-bzero-ifunc.c: Likewise.
8331 * benchtests/bench-memccpy-ifunc.c: Likewise.
8332 * benchtests/bench-memchr-ifunc.c: Likewise.
8333 * benchtests/bench-memcmp-ifunc.c: Likewise.
8334 * benchtests/bench-memcpy-ifunc.c: Likewise.
8335 * benchtests/bench-memmem-ifunc.c: Likewise.
8336 * benchtests/bench-memmove-ifunc.c: Likewise.
8337 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8338 * benchtests/bench-memrchr-ifunc.c: Likewise.
8339 * benchtests/bench-memset-ifunc.c: Likewise.
8340 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8341 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8342 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8343 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8344 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8345 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8346 * benchtests/bench-strcat-ifunc.c: Likewise.
8347 * benchtests/bench-strchr-ifunc.c: Likewise.
8348 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8349 * benchtests/bench-strcmp-ifunc.c: Likewise.
8350 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8351 * benchtests/bench-strcpy-ifunc.c: Likewise.
8352 * benchtests/bench-strcspn-ifunc.c: Likewise.
8353 * benchtests/bench-strlen-ifunc.c: Likewise.
8354 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8355 * benchtests/bench-strncat-ifunc.c: Likewise.
8356 * benchtests/bench-strncmp-ifunc.c: Likewise.
8357 * benchtests/bench-strncpy-ifunc.c: Likewise.
8358 * benchtests/bench-strnlen-ifunc.c: Likewise.
8359 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8360 * benchtests/bench-strrchr-ifunc.c: Likewise.
8361 * benchtests/bench-strsep-ifunc.c: Likewise.
8362 * benchtests/bench-strspn-ifunc.c: Likewise.
8363 * benchtests/bench-strstr-ifunc.c: Likewise.
8365 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8367 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8369 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8371 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8372 * rt/aio.h: Likewise.
8373 * sysdeps/gnu/bits/utmp.h: Likewise.
8374 * sysdeps/gnu/bits/utmpx.h: Likewise.
8375 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8376 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8377 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8378 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8379 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8380 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8381 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8382 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8383 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8384 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8385 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8386 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8387 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8389 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8390 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8391 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8392 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8393 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8394 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8395 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8396 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8397 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8398 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8399 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8401 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8402 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8403 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8404 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8405 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8406 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8407 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8408 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8409 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8410 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8411 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8412 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8413 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8414 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8415 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8416 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8418 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8421 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8422 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8424 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8426 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8427 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8430 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8432 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8433 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8434 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8435 (__fesetround): Remove define.
8436 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8437 rounding and exceptions handling.
8438 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8439 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8440 (__fe_nomask_env): Likewise.
8441 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8442 __fegetround instead of fegetround.
8443 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8444 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8446 2013-11-21 Roland McGrath <roland@hack.frob.com>
8448 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8451 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8453 2013-11-21 Meador Inge <meadori@codesourcery.com>
8456 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8457 (encrypt_r): Likewise.
8458 * malloc/obstack.h (obstack_free): Likewise.
8459 * posix/unistd.h (encrypt): Likewise.
8461 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8463 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8464 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8465 DL_CALL_DT_FINI() that call the functions directly.
8466 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8467 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8468 * elf/dl-fini.c: Likewise.
8470 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8472 * malloc/hooks.c (memalign_check): Add alignment rounding.
8473 * malloc/malloc.c (_mid_memalign): New function.
8474 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8475 Implement by calling _mid_memalign.
8476 * manual/probes.texi (Memory Allocation Probes): Remove
8477 memory_valloc_retry and memory_pvalloc_retry.
8479 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8481 * locale/programs/locarchive.c (open_archive): Add const
8482 qualifier to ARCHIVEFNAME and copy default fname to
8486 * libio/tst-widetext.input: Rename Oriya to Odia.
8487 * locale/iso-639.def: Likewise.
8489 * manual/probes.texi (Mathematical Function Probes): Add
8490 documentation for sin, cos, asin and acos probes.
8491 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8492 (__sin32): Add slowasin probe.
8493 (__cos32): Add slowacos probe.
8494 (__mpsin): Add slowsin probe.
8495 (__mpcos): Add slowcos probe.
8497 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8500 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8501 thread-local __sim_exceptions_thread and global
8502 __sim_exceptions_global.
8503 (__sim_disabled_exceptions): Change to thread-local
8504 __sim_disabled_exceptions_thread and global
8505 __sim_disabled_exceptions_global.
8506 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8507 and global __sim_round_mode_global.
8508 (__simulate_exceptions): Use thread-local floating-point state and
8509 set global state from it as needed.
8510 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8511 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8512 __sim_round_mode_thread.
8513 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8514 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8515 and global __sim_exceptions_global.
8516 (__sim_disabled_exceptions): Change to thread-local
8517 __sim_disabled_exceptions_thread and global
8518 __sim_disabled_exceptions_global.
8519 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8520 and global __sim_round_mode_global.
8521 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8522 (SIM_SET_GLOBAL): Likewise.
8523 * sysdeps/powerpc/soft-fp/sfp-machine.h
8524 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8525 __sim_round_mode_thread.
8526 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8527 __sim_disabled_exceptions_thread.
8528 (__sim_exceptions): Change to __sim_exceptions_thread.
8529 (__sim_disabled_exceptions): Change to
8530 __sim_disabled_exceptions_thread.
8531 (__sim_round_mode): Change to __sim_round_mode_thread.
8532 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8533 thread-local floating-point state and set global state from it as
8535 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8536 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8537 (__sim_disabled_exceptions): Remove extern declaration.
8538 (feenableexcept): Use thread-local floating-point state and set
8539 global state from it as needed.
8540 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8542 (__sim_disabled_exceptions): Likewise.
8543 (__sim_round_mode): Likewise.
8544 (__fegetenv): Use thread-local floating-point state.
8545 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8546 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8547 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8548 floating-point state and set global state from it as needed.
8549 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8550 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8551 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8553 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8554 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8556 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8557 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8558 Use __sim_round_mode_thread.
8559 * math/test-fenv-tls.c: New file.
8560 * math/Makefile (tests): Add test-fenv-tls.
8561 ($(objpfx)test-fenv-tls): Depend on
8562 $(common-objpfx)nptl/libpthread.so.
8564 2013-11-19 Andreas Schwab <schwab@suse.de>
8566 * locale/programs/locale.c (show_info): Decode wordarray elements.
8567 * locale/categories.def (LC_MONETARY): Add element for
8568 _NL_MONETARY_CRNCYSTR.
8569 * locale/C-monetary.c (conversion_rate): New variable.
8570 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8573 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8575 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8576 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8578 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8580 * elf/Makefile (tst-auxv): New test.
8581 * elf/tst-auxv.c: New
8582 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8584 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8586 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8587 (hidden_proto): Caller changed.
8588 (hidden_tls_proto): New macro.
8589 (libc_hidden_tls_proto): Likewise.
8590 (rtld_hidden_tls_proto): Likewise.
8591 (libm_hidden_tls_proto): Likewise.
8592 (libresolv_hidden_tls_proto): Likewise.
8593 (librt_hidden_tls_proto): Likewise.
8594 (libdl_hidden_tls_proto): Likewise.
8595 (libnss_files_hidden_tls_proto): Likewise.
8596 (libnsl_hidden_tls_proto): Likewise.
8597 (libnss_nisplus_hidden_tls_proto): Likewise.
8598 (libutil_hidden_tls_proto): Likewise.
8600 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8603 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8604 (decompose_rpath): Defer expansion to fillin_rpath.
8605 (_dl_init_paths): Pass linkmap to fillin_rpath.
8607 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8609 * benchtests/Makefile: Add strsep.
8610 * benchtests/bench-strsep.c: New file: strsep benchtest.
8611 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8613 2013-11-18 Andreas Schwab <schwab@suse.de>
8615 * locale/programs/locale.c (show_info) [case byte]: Check for
8616 '\377' instead of '\177'.
8617 * locale/C-monetary.c (not_available): Always use "\377".
8618 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8619 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8620 detect unavailable sign_posn locale elements.
8621 * locale/localeconv.c (__localeconv): For grouping and
8622 mon_grouping handle "\177" and "\377" like no grouping.
8623 (INT_ELEM): New macro. Use it to set all numeric members.
8624 * locale/programs/ld-monetary.c (monetary_read)
8625 <tok_mon_grouping>: Normalize single -1 to the empty string.
8626 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8629 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8632 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8633 when we match (nil).
8634 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8636 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8638 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8639 (NO_TEST_INLINE): Update value.
8640 (ERRNO_UNCHANGED): Likewise.
8641 (ERRNO_EDOM): Likewise.
8642 (ERRNO_ERANGE): Likewise.
8643 (IGNORE_RESULT): Likewise.
8644 (check_float_internal): Check signs of NaN results if
8646 (check_complex): Pass TEST_NAN_SIGN flag through to second
8647 check_float_internal call.
8648 (copysign_test_data): Add tests with quiet NaNs as second
8649 argument. Use TEST_NAN_SIGN.
8650 (fabs_test_data): Add test of negative quiet NaN argument. Use
8652 (signbit_test_data): Add tests of quiet NaN argument.
8653 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8655 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8657 (parse_args): Handle function results specified as IGNORE.
8658 * math/libm-test.inc (IGNORE_RESULT): New macro.
8659 (check_float_internal): Do not check numerical result if flag
8661 (check_complex): Pass through IGNORE_RESULT to second
8662 check_float_internal call.
8663 (check_int): Do not check numerical result if flag IGNORE_RESULT
8665 (check_long): Likewise.
8666 (check_bool): Likewise.
8667 (check_longlong): Likewise.
8668 (lrint_test_data): Add tests of infinite and NaN arguments.
8669 (lrint_tonearest_test_data): Likewise.
8670 (lrint_towardzero_test_data): Likewise.
8671 (lrint_downward_test_data): Likewise.
8672 (lrint_upward_test_data): Likewise.
8673 (llrint_test_data): Likewise.
8674 (llrint_tonearest_test_data): Likewise.
8675 (llrint_towardzero_test_data): Likewise.
8676 (llrint_downward_test_data): Likewise.
8677 (llrint_upward_test_data): Likewise.
8678 (lround_test_data): Likewise.
8679 (llround_test_data): Likewise.
8681 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8682 (ERRNO_UNCHANGED): Update value.
8683 (ERRNO_EDOM): Likewise.
8684 (ERRNO_ERANGE): Likewise.
8685 (NO_TEST_INLINE_FLOAT): New macro.
8686 (NO_TEST_INLINE_DOUBLE): Likewise.
8687 (enable_test): New function.
8688 (RUN_TEST_f_f): Check enable_test before running test.
8689 (RUN_TEST_2_f): Likewise.
8690 (RUN_TEST_fff_f): Likewise.
8691 (RUN_TEST_c_f): Likewise.
8692 (RUN_TEST_f_f1): Likewise.
8693 (RUN_TEST_fF_f1): Likewise.
8694 (RUN_TEST_fI_f1): Likewise.
8695 (RUN_TEST_ffI_f1): Likewise.
8696 (RUN_TEST_c_c): Likewise.
8697 (RUN_TEST_cc_c): Likewise.
8698 (RUN_TEST_f_i): Likewise.
8699 (RUN_TEST_f_i_tg): Likewise.
8700 (RUN_TEST_ff_i_tg): Likewise.
8701 (RUN_TEST_f_b): Likewise.
8702 (RUN_TEST_f_b_tg): Likewise.
8703 (RUN_TEST_f_l): Likewise.
8704 (RUN_TEST_f_L): Likewise.
8705 (RUN_TEST_fFF_11): Likewise.
8706 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8708 (cosh_test_data): Likewise.
8709 (exp_test_data): Likewise.
8710 (expm1_test_data): Likewise.
8711 (hypot_test_data): Likewise.
8712 (pow_test_data): Likewise.
8713 (sinh_test_data): Likewise.
8714 (tanh_test_data): Likewise.
8715 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8718 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8719 tests with quiet NaN input and output.
8720 (acosh_test_data): Likewise.
8721 (asin_test_data): Likewise.
8722 (asinh_test_data): Likewise.
8723 (atan_test_data): Likewise.
8724 (atanh_test_data): Likewise.
8725 (atan2_test_data): Likewise.
8726 (cbrt_test_data): Likewise.
8727 (cos_test_data): Likewise.
8728 (cosh_test_data): Likewise.
8729 (erf_test_data): Likewise.
8730 (erfc_test_data): Likewise.
8731 (exp_test_data): Likewise.
8732 (exp10_test_data): Likewise.
8733 (exp2_test_data): Likewise.
8734 (expm1_test_data): Likewise.
8735 (hypot_test_data): Likewise.
8736 (j0_test_data): Likewise.
8737 (j1_test_data): Likewise.
8738 (jn_test_data): Likewise.
8739 (lgamma_test_data): Likewise.
8740 (log_test_data): Likewise.
8741 (log10_test_data): Likewise.
8742 (log1p_test_data): Likewise.
8743 (log2_test_data): Likewise.
8744 (pow_test_data): Likewise.
8745 (scalb_test_data): Likewise.
8746 (sin_test_data): Likewise.
8747 (sincos_test_data): Likewise.
8748 (sinh_test_data): Likewise.
8749 (tan_test_data): Likewise.
8750 (tanh_test_data): Likewise.
8751 (tgamma_test_data): Likewise.
8752 (y0_test_data): Likewise.
8753 (y1_test_data): Likewise.
8754 (yn_test_data): Likewise.
8757 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8758 argument being NaN and avoid computations with second argument in
8760 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8761 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8762 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8764 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8766 * locale/iso-639.def: Add Chitwani Tharu (the).
8768 2013-11-14 Andreas Schwab <schwab@suse.de>
8770 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8771 word instead of empty string.
8773 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8776 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8778 (__fe_nomask_env): Likewise.
8780 2013-11-13 Steve Ellcey <sellcey@mips.com>
8782 * benchtests/bench-timing.h: Include time.h.
8784 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8787 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8789 * sysdeps/unix/sysv/linux/configure: Regenerated.
8791 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8794 * stdlib/strtod_l.c (round_and_return): Do not consider
8795 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8796 exponent one less than half the least subnormal exponent.
8797 * stdlib/test-strtod-round-data: Add more tests.
8798 * stdlib/tst-strtod-round.c (tests): Regenerated.
8800 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8803 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8804 (__fe_mask_env): Likewise.
8805 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8806 libm_hidden_proto and add function prototype.
8807 (__fe_mask_env): Add function prototype.
8808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8809 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8811 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8813 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8815 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8817 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8818 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8820 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8822 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8823 of htab_find_slot().
8825 2013-11-11 David S. Miller <davem@davemloft.net>
8828 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8829 symbol in the non-vis3 case in static builds.
8830 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8831 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8832 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8833 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8835 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8838 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8841 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8843 * benchtests/Makefile: Add bench-strtod.
8844 * benchtests/bench-strtod.c: New file: strtod benchtest
8846 2013-11-11 Andreas Schwab <schwab@suse.de>
8849 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8850 terminating NUL in key length.
8852 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8854 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8855 Add artificial ODP entry for vDSO symbol for PPC64.
8856 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8857 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8859 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8862 * nss/getent.c (services_keys): Recognize services starting with digit.
8864 2013-11-06 David S. Miller <davem@davemloft.net>
8867 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8868 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8870 2013-11-06 Will Newton <will.newton@linaro.org>
8872 * manual/memory.texi (Malloc Examples): Remove register
8873 keyword from examples.
8875 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8877 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8879 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8882 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8883 depending on [__GCC_IEC_559 > 0].
8884 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8885 depending on [__GCC_IEC_559_COMPLEX > 0].
8887 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8889 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8892 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8894 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8896 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8899 * malloc/malloc (malloc_info): Do not handle first bin as
8902 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8904 * locale/iso-639.def: Add Central Nahuatl (nhn).
8906 2013-11-01 Bruno Haible <bruno@clisp.org>
8909 * manual/math.texi (BSD Random): Specify range upper bound as
8912 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8914 * locale/iso-639.def: Add Meadow Mari (mhr).
8916 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8918 [BZ #14752], [BZ #15763]
8919 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8921 * rt/tst_shm.c: Add test for escaping directory.
8923 2013-10-31 Andreas Schwab <schwab@suse.de>
8926 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8927 followed by 'x' as part of digit sequence.
8928 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8930 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8933 * configure.ac: allow GNU Make 4.0 and greater.
8934 * configure: Regenerated.
8936 2013-10-30 Will Newton <will.newton@linaro.org>
8939 * malloc/hooks.c (memalign_check): Limit alignment to the
8940 maximum representable power of two.
8941 * malloc/malloc.c (__libc_memalign): Likewise.
8942 * malloc/tst-memalign.c (do_test): Add test for very
8943 large alignment values.
8944 * malloc/tst-posix_memalign.c (do_test): Likewise.
8946 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8949 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8950 (munmap_chunk): Likewise.
8951 (mremap_chunk): Likewise.
8953 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8956 * stdlib/div.c (div): Remove obsolete code.
8957 * stdlib/ldiv.c (ldiv): Likewise.
8958 * stdlib/lldiv.c (lldiv): Likewise.
8960 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8963 * nss/nss_files/files-XXX.c (get_contents_ret): New
8965 (get_contents): New function.
8966 (internal_getent): Use it. Expand size of LINEBUFLEN.
8968 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8970 * configure.in: Moved to ...
8971 * configure.ac: ... here. Change reference to configure.in
8973 * sysdeps/arm/preconfigure.ac: ... here.
8974 configure.in to configure.ac.
8975 * sysdeps/gnu/configure.in: Moved to ...
8976 * sysdeps/gnu/configure.ac: ... here.
8977 * sysdeps/i386/configure.in: Moved to ...
8978 * sysdeps/i386/configure.ac: ... here.
8979 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8980 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8981 * sysdeps/mach/configure.in: Moved to ...
8982 * sysdeps/mach/configure.ac: ... here.
8983 * sysdeps/mach/hurd/configure.in: Moved to ...
8984 * sysdeps/mach/hurd/configure.ac: ... here.
8985 * sysdeps/powerpc/configure.in: Moved to ...
8986 * sysdeps/powerpc/configure.ac: ... here.
8987 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8988 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8989 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8990 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8991 * sysdeps/s390/s390-32/configure.in: Moved to ...
8992 * sysdeps/s390/s390-32/configure.ac: ... here.
8993 * sysdeps/s390/s390-64/configure.in: Moved to ...
8994 * sysdeps/s390/s390-64/configure.ac: ... here.
8995 * sysdeps/sh/configure.in: Moved to ...
8996 * sysdeps/sh/configure.ac: ... here.
8997 * sysdeps/sparc/configure.in: Moved to ...
8998 * sysdeps/sparc/configure.ac: ... here.
8999 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9000 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9001 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9002 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9003 * sysdeps/x86_64/configure.in: Moved to ...
9004 * sysdeps/x86_64/configure.ac: ... here.
9005 * sysdeps/x86_64/preconfigure.in: Moved to ...
9006 * sysdeps/x86_64/preconfigure.ac: ... here.
9007 * aclocal.m4: Change reference to configure.in to configure.ac.
9008 * config.h.in: Likewise.
9009 * manual/install.texi: Likewise.
9010 * manual/maint.texi: Likewise.
9011 * Makefile: Likewise.
9012 * malloc/Makefile: Likewise.
9013 * nscd/Makefile: Likewise.
9014 * Makeconfig: Change reference to configure.in and
9015 preconfigure.in to configure.ac and preconfigure.ac
9017 * INSTALL: Regenerated.
9018 * configure: Likewise.
9019 * sysdeps/gnu/configure: Likewise.
9020 * sysdeps/i386/configure: Likewise.
9021 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9022 * sysdeps/mach/configure: Likewise.
9023 * sysdeps/mach/hurd/configure: Likewise.
9024 * sysdeps/powerpc/configure: Likewise.
9025 * sysdeps/powerpc/powerpc32/configure: Likewise.
9026 * sysdeps/powerpc/powerpc64/configure: Likewise.
9027 * sysdeps/s390/s390-32/configure: Likewise.
9028 * sysdeps/s390/s390-64/configure: Likewise.
9029 * sysdeps/sh/configure: Likewise.
9030 * sysdeps/sparc/configure: Likewise.
9031 * sysdeps/unix/sysv/linux/configure: Likewise.
9032 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9033 * sysdeps/x86_64/configure: Likewise.
9034 * sysdeps/x86_64/preconfigure: Likewise.
9036 2013-10-29 Andreas Schwab <schwab@suse.de>
9038 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9040 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9042 * benchtests/pow-inputs: Add new inputs.
9044 * benchtests/exp-inputs: Add new inputs.
9046 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9047 conditional check for return value.
9048 (__cos32): Likewise.
9050 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9052 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9053 to provide a boost for large inputs with word alignment.
9054 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9055 implementation based on optimized PPC64 strcpy.
9056 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9057 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9058 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9059 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9061 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9064 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9066 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9069 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9070 * time/tst-strptime.c (day_tests): Add testcase.
9072 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9075 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9077 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9080 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9081 MAP_FAILED on error.
9083 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9086 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9087 heap for large requests.
9089 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9092 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9093 result if the result has no associated interface.
9094 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9095 interface for all 127.X.Y.Z addresses.
9097 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9099 * locale/iso-639.def: Add Ligurian (lij)
9101 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9104 * sunrpc/rpc_main.c: Document rpcgen -5.
9106 2013-10-19 Michael Stahl <mstahl@redhat.com>
9108 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9110 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9113 * posix/glob.c: Match only directories when trailing slash is present.
9114 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9115 (main): Add testcase.
9117 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9120 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9122 2013-10-18 Carlos O'Donell <carlos@redhat.com>
9124 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9125 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9126 AUTH_DES and cindex for FIPS 140-2.
9127 (DES Encryption): Add cindex FIPS 46-3.
9129 * locale/locarchive.h (struct locarhandle): Add fname.
9130 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9131 if an optional argument was specified to --list-archive,
9133 * locale/programs/locarchive.c (show_archive_content): Take new
9134 argument fname and pass it via ah.fname to open_archive.
9135 * locale/programs/localedef.h: Update decl.
9136 (open_archive): If AH->fname is non-null, open that file
9137 rather than the default file name, and don't ignore ENOENT.
9138 (create_archive): Set AH.fname to NULL.
9139 (delete_locales_from_archive): Likewise.
9140 (add_locales_to_archive): Likewise.
9141 * locale/programs/locfile.c (write_all_categories): Likewise.
9143 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9144 Aldy Hernandez <aldyh@redhat.com>
9146 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9147 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9148 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9149 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9150 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9151 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9152 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9153 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9154 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9155 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9156 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9157 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9158 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9159 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9160 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9162 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9164 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9166 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9168 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9169 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9171 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9172 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9173 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9174 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9176 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9177 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9178 * sysdeps/powerpc/preconfigure: Likewise.
9179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9181 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9182 Replace contents of file by #include of <fenv_libc.h>.
9183 * sysdeps/powerpc/soft-fp/sfp-machine.h
9184 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9186 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9187 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9188 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9189 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9190 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9191 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9193 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9194 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9195 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9196 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9197 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9199 Allow copysignl PLT reference to be missing.
9201 2013-10-18 Richard Sandiford <richard@codesourcery.com>
9202 Joseph Myers <joseph@codesourcery.com
9205 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9207 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9209 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9211 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9212 * elf/tst-tls1.c: Likewise.
9213 * elf/tst-tls10.h: Likewise.
9214 * elf/tst-tls14.c: Likewise.
9215 * elf/tst-tls2.c: Likewise.
9216 * elf/tst-tls3.c: Likewise.
9217 * elf/tst-tls4.c: Likewise.
9218 * elf/tst-tls5.c: Likewise.
9219 * elf/tst-tls6.c: Likewise.
9220 * elf/tst-tls7.c: Likewise.
9221 * elf/tst-tls8.c: Likewise.
9222 * elf/tst-tls9.c: Likewise.
9223 * elf/tst-tlsmod1.c: Likewise.
9224 * elf/tst-tlsmod13.c: Likewise.
9225 * elf/tst-tlsmod13a.c: Likewise.
9226 * elf/tst-tlsmod14a.c: Likewise.
9227 * elf/tst-tlsmod16a.c: Likewise.
9228 * elf/tst-tlsmod16b.c: Likewise.
9229 * elf/tst-tlsmod2.c: Likewise.
9230 * elf/tst-tlsmod3.c: Likewise.
9231 * elf/tst-tlsmod4.c: Likewise.
9232 * elf/tst-tlsmod5.c: Likewise.
9233 * elf/tst-tlsmod6.c: Likewise.
9235 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9238 * malloc/malloc.c: remove checks for statistics.
9240 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9243 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9244 * inet/tst-network.c: Add testcase.
9246 2013-10-17 Andreas Schwab <schwab@suse.de>
9249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9250 to determine canonical name.
9252 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9254 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9255 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9258 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9261 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9262 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9263 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9264 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9265 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9266 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9267 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9268 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9269 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9270 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9271 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9272 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9273 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9274 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9275 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9278 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9279 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9281 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9282 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9284 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9285 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9286 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9289 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9290 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9291 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9292 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9293 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9294 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9295 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9296 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9297 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9298 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9299 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9300 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9301 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9302 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9303 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9304 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9305 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9306 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9307 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9308 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9309 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9310 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9311 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9313 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9316 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9317 make result into a quiet NaN.
9319 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9321 * soft-fp/adddf3.c: Fix horizontal whitespace.
9322 * soft-fp/addsf3.c: Likewise.
9323 * soft-fp/addtf3.c: Likewise.
9324 * soft-fp/divdf3.c: Likewise.
9325 * soft-fp/divsf3.c: Likewise.
9326 * soft-fp/divtf3.c: Likewise.
9327 * soft-fp/double.h: Likewise.
9328 * soft-fp/eqdf2.c: Likewise.
9329 * soft-fp/eqsf2.c: Likewise.
9330 * soft-fp/eqtf2.c: Likewise.
9331 * soft-fp/extenddftf2.c: Likewise.
9332 * soft-fp/extended.h: Likewise.
9333 * soft-fp/extendsfdf2.c: Likewise.
9334 * soft-fp/extendsftf2.c: Likewise.
9335 * soft-fp/extendxftf2.c: Likewise.
9336 * soft-fp/fixdfdi.c: Likewise.
9337 * soft-fp/fixdfsi.c: Likewise.
9338 * soft-fp/fixdfti.c: Likewise.
9339 * soft-fp/fixsfdi.c: Likewise.
9340 * soft-fp/fixsfsi.c: Likewise.
9341 * soft-fp/fixsfti.c: Likewise.
9342 * soft-fp/fixtfdi.c: Likewise.
9343 * soft-fp/fixtfsi.c: Likewise.
9344 * soft-fp/fixtfti.c: Likewise.
9345 * soft-fp/fixunsdfdi.c: Likewise.
9346 * soft-fp/fixunsdfsi.c: Likewise.
9347 * soft-fp/fixunsdfti.c: Likewise.
9348 * soft-fp/fixunssfdi.c: Likewise.
9349 * soft-fp/fixunssfsi.c: Likewise.
9350 * soft-fp/fixunssfti.c: Likewise.
9351 * soft-fp/fixunstfdi.c: Likewise.
9352 * soft-fp/fixunstfsi.c: Likewise.
9353 * soft-fp/fixunstfti.c: Likewise.
9354 * soft-fp/floatdidf.c: Likewise.
9355 * soft-fp/floatdisf.c: Likewise.
9356 * soft-fp/floatditf.c: Likewise.
9357 * soft-fp/floatsidf.c: Likewise.
9358 * soft-fp/floatsisf.c: Likewise.
9359 * soft-fp/floatsitf.c: Likewise.
9360 * soft-fp/floattidf.c: Likewise.
9361 * soft-fp/floattisf.c: Likewise.
9362 * soft-fp/floattitf.c: Likewise.
9363 * soft-fp/floatundidf.c: Likewise.
9364 * soft-fp/floatundisf.c: Likewise.
9365 * soft-fp/floatunditf.c: Likewise.
9366 * soft-fp/floatunsidf.c: Likewise.
9367 * soft-fp/floatunsisf.c: Likewise.
9368 * soft-fp/floatunsitf.c: Likewise.
9369 * soft-fp/floatuntidf.c: Likewise.
9370 * soft-fp/floatuntisf.c: Likewise.
9371 * soft-fp/floatuntitf.c: Likewise.
9372 * soft-fp/fmadf4.c: Likewise.
9373 * soft-fp/fmasf4.c: Likewise.
9374 * soft-fp/fmatf4.c: Likewise.
9375 * soft-fp/gedf2.c: Likewise.
9376 * soft-fp/gesf2.c: Likewise.
9377 * soft-fp/getf2.c: Likewise.
9378 * soft-fp/ledf2.c: Likewise.
9379 * soft-fp/lesf2.c: Likewise.
9380 * soft-fp/letf2.c: Likewise.
9381 * soft-fp/muldf3.c: Likewise.
9382 * soft-fp/mulsf3.c: Likewise.
9383 * soft-fp/multf3.c: Likewise.
9384 * soft-fp/negdf2.c: Likewise.
9385 * soft-fp/negsf2.c: Likewise.
9386 * soft-fp/negtf2.c: Likewise.
9387 * soft-fp/op-1.h: Likewise.
9388 * soft-fp/op-2.h: Likewise.
9389 * soft-fp/op-4.h: Likewise.
9390 * soft-fp/op-8.h: Likewise.
9391 * soft-fp/op-common.h: Likewise.
9392 * soft-fp/quad.h: Likewise.
9393 * soft-fp/single.h: Likewise.
9394 * soft-fp/soft-fp.h: Likewise.
9395 * soft-fp/sqrtdf2.c: Likewise.
9396 * soft-fp/sqrtsf2.c: Likewise.
9397 * soft-fp/sqrttf2.c: Likewise.
9398 * soft-fp/subdf3.c: Likewise.
9399 * soft-fp/subsf3.c: Likewise.
9400 * soft-fp/subtf3.c: Likewise.
9401 * soft-fp/truncdfsf2.c: Likewise.
9402 * soft-fp/trunctfdf2.c: Likewise.
9403 * soft-fp/trunctfsf2.c: Likewise.
9404 * soft-fp/trunctfxf2.c: Likewise.
9405 * soft-fp/unorddf2.c: Likewise.
9406 * soft-fp/unordsf2.c: Likewise.
9407 * soft-fp/unordtf2.c: Likewise.
9409 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9411 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9412 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9414 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9416 * elf/dl-libc.c: Clear initfini list after freeing.
9418 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9420 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9421 * soft-fp/addsf3.c: Likewise.
9422 * soft-fp/addtf3.c: Likewise.
9423 * soft-fp/divdf3.c: Likewise.
9424 * soft-fp/divsf3.c: Likewise.
9425 * soft-fp/divtf3.c: Likewise.
9426 * soft-fp/double.h: Likewise.
9427 * soft-fp/eqdf2.c: Likewise.
9428 * soft-fp/eqsf2.c: Likewise.
9429 * soft-fp/eqtf2.c: Likewise.
9430 * soft-fp/extenddftf2.c: Likewise.
9431 * soft-fp/extended.h: Likewise.
9432 * soft-fp/extendsfdf2.c: Likewise.
9433 * soft-fp/extendsftf2.c: Likewise.
9434 * soft-fp/extendxftf2.c: Likewise.
9435 * soft-fp/fixdfdi.c: Likewise.
9436 * soft-fp/fixdfsi.c: Likewise.
9437 * soft-fp/fixdfti.c: Likewise.
9438 * soft-fp/fixsfdi.c: Likewise.
9439 * soft-fp/fixsfsi.c: Likewise.
9440 * soft-fp/fixsfti.c: Likewise.
9441 * soft-fp/fixtfdi.c: Likewise.
9442 * soft-fp/fixtfsi.c: Likewise.
9443 * soft-fp/fixtfti.c: Likewise.
9444 * soft-fp/fixunsdfdi.c: Likewise.
9445 * soft-fp/fixunsdfsi.c: Likewise.
9446 * soft-fp/fixunsdfti.c: Likewise.
9447 * soft-fp/fixunssfdi.c: Likewise.
9448 * soft-fp/fixunssfsi.c: Likewise.
9449 * soft-fp/fixunssfti.c: Likewise.
9450 * soft-fp/fixunstfdi.c: Likewise.
9451 * soft-fp/fixunstfsi.c: Likewise.
9452 * soft-fp/fixunstfti.c: Likewise.
9453 * soft-fp/floatdidf.c: Likewise.
9454 * soft-fp/floatdisf.c: Likewise.
9455 * soft-fp/floatditf.c: Likewise.
9456 * soft-fp/floatsidf.c: Likewise.
9457 * soft-fp/floatsisf.c: Likewise.
9458 * soft-fp/floatsitf.c: Likewise.
9459 * soft-fp/floattidf.c: Likewise.
9460 * soft-fp/floattisf.c: Likewise.
9461 * soft-fp/floattitf.c: Likewise.
9462 * soft-fp/floatundidf.c: Likewise.
9463 * soft-fp/floatundisf.c: Likewise.
9464 * soft-fp/floatunsidf.c: Likewise.
9465 * soft-fp/floatunsisf.c: Likewise.
9466 * soft-fp/floatuntidf.c: Likewise.
9467 * soft-fp/floatuntisf.c: Likewise.
9468 * soft-fp/floatuntitf.c: Likewise.
9469 * soft-fp/fmadf4.c: Likewise.
9470 * soft-fp/fmasf4.c: Likewise.
9471 * soft-fp/fmatf4.c: Likewise.
9472 * soft-fp/gedf2.c: Likewise.
9473 * soft-fp/gesf2.c: Likewise.
9474 * soft-fp/getf2.c: Likewise.
9475 * soft-fp/ledf2.c: Likewise.
9476 * soft-fp/lesf2.c: Likewise.
9477 * soft-fp/letf2.c: Likewise.
9478 * soft-fp/muldf3.c: Likewise.
9479 * soft-fp/mulsf3.c: Likewise.
9480 * soft-fp/multf3.c: Likewise.
9481 * soft-fp/negdf2.c: Likewise.
9482 * soft-fp/negsf2.c: Likewise.
9483 * soft-fp/negtf2.c: Likewise.
9484 * soft-fp/op-1.h: Likewise.
9485 * soft-fp/op-2.h: Likewise.
9486 * soft-fp/op-4.h: Likewise.
9487 * soft-fp/op-8.h: Likewise.
9488 * soft-fp/op-common.h: Likewise.
9489 * soft-fp/quad.h: Likewise.
9490 * soft-fp/single.h: Likewise.
9491 * soft-fp/soft-fp.h: Likewise.
9492 * soft-fp/sqrtdf2.c: Likewise.
9493 * soft-fp/sqrtsf2.c: Likewise.
9494 * soft-fp/sqrttf2.c: Likewise.
9495 * soft-fp/subdf3.c: Likewise.
9496 * soft-fp/subsf3.c: Likewise.
9497 * soft-fp/subtf3.c: Likewise.
9498 * soft-fp/truncdfsf2.c: Likewise.
9499 * soft-fp/trunctfdf2.c: Likewise.
9500 * soft-fp/trunctfsf2.c: Likewise.
9501 * soft-fp/trunctfxf2.c: Likewise.
9502 * soft-fp/unorddf2.c: Likewise.
9503 * soft-fp/unordsf2.c: Likewise.
9504 * soft-fp/unordtf2.c: Likewise.
9506 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9509 * misc/error.c (error_tail): Fix possible buffer overflow.
9511 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9514 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9517 2013-10-14 P. J. McDermott <pj@pehjota.net>
9520 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9521 testing pipefail option.
9523 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9525 * soft-fp/double.h: Indent preprocessor directives inside #if.
9526 * soft-fp/extended.h: Likewise.
9527 * soft-fp/op-2.h: Likewise.
9528 * soft-fp/op-4.h: Likewise.
9529 * soft-fp/op-common.h: Likewise.
9530 * soft-fp/quad.h: Likewise.
9531 * soft-fp/single.h: Likewise.
9532 * soft-fp/soft-fp.h: Likewise.
9534 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9536 * iconv/iconv_prog.c: Fix typos.
9537 * stdio-common/psiginfo-data.h: Likewise.
9539 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9542 * locale/setlocale.c: Fix typo.
9544 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9547 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9548 signaling NaN arguments.
9549 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9550 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9553 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9555 * soft-fp/gesf2.c (__gesf2): Likewise.
9556 * soft-fp/getf2.c (__getf2): Likewise.
9557 * soft-fp/ledf2.c (__ledf2): Likewise.
9558 * soft-fp/lesf2.c (__lesf2): Likewise.
9559 * soft-fp/letf2.c (__letf2): Likewise.
9561 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9562 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9563 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9564 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9565 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9566 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9567 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9568 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9569 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9570 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9571 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9572 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9573 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9574 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9575 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9576 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9577 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9578 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9579 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9580 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9581 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9582 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9583 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9584 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9585 * soft-fp/floattidf.c (__floattidf): Likewise.
9586 * soft-fp/floattisf.c (__floattisf): Likewise.
9587 * soft-fp/floattitf.c (__floattitf): Likewise.
9588 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9589 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9590 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9591 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9592 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9593 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9594 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9595 * soft-fp/gesf2.c (__gesf2): Likewise.
9596 * soft-fp/getf2.c (__getf2): Likewise.
9597 * soft-fp/ledf2.c (__ledf2): Likewise.
9598 * soft-fp/lesf2.c (__lesf2): Likewise.
9599 * soft-fp/letf2.c (__letf2): Likewise.
9601 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9602 Undefine and redefine.
9603 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9604 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9605 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9606 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9607 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9608 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9609 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9610 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9611 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9612 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9613 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9614 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9615 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9616 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9617 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9620 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9621 without decrementing exponent if mantissa >= that for the
9623 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9624 denominator, not >. Decrement exponent in < case instead of
9625 incrementing in >= case.
9626 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9627 without decrementing exponent if mantissa >= that for the
9630 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9631 computing saturated result for unsigned overflow.
9633 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9634 Jeff Law <law@redhat.com>
9636 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9637 (atan2Mp): Add systemtap probe marker.
9638 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9639 (__ieee754_log): Add systemtap probe marker.
9640 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9641 (atanMp): Add systemtap probe marker.
9642 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9643 (tanMp): Add systemtap probe marker.
9644 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9645 (__slowexp): Add systemtap probe marker.
9646 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9647 (__slowpow): Add systemtap probe marker.
9648 * manual/probes.texi: Document probes.
9650 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9653 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9655 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9657 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9658 written to buffer but not flushed.
9659 * libio/iofwrite_u.c: Likewise.
9660 * libio/iopadn.c: Return bytes returned even if EOF was
9662 * libio/iowpadn.c: Likewise.
9663 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9664 if _IO_padn does not write the whole buffer.
9665 [!COMPILE_WPRINTF] (PAD): Likewise.
9667 2013-10-10 David S. Miller <davem@davemloft.net>
9669 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9672 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9674 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9675 instead of FSF address.
9676 * soft-fp/fixdfti.c: Likewise.
9677 * soft-fp/fixsfti.c: Likewise.
9678 * soft-fp/fixtfti.c: Likewise.
9679 * soft-fp/fixunsdfti.c: Likewise.
9680 * soft-fp/fixunssfti.c: Likewise.
9681 * soft-fp/fixunstfti.c: Likewise.
9682 * soft-fp/floattidf.c: Likewise.
9683 * soft-fp/floattisf.c: Likewise.
9684 * soft-fp/floattitf.c: Likewise.
9685 * soft-fp/floatuntidf.c: Likewise.
9686 * soft-fp/floatuntisf.c: Likewise.
9687 * soft-fp/floatuntitf.c: Likewise.
9688 * soft-fp/trunctfxf2.c: Likewise.
9690 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9691 * soft-fp/fixdfti.c: Likewise.
9692 * soft-fp/fixsfti.c: Likewise.
9693 * soft-fp/fixtfti.c: Likewise.
9694 * soft-fp/fixunsdfti.c: Likewise.
9695 * soft-fp/fixunssfti.c: Likewise.
9696 * soft-fp/fixunstfti.c: Likewise.
9697 * soft-fp/floattidf.c: Likewise.
9698 * soft-fp/floattisf.c: Likewise.
9699 * soft-fp/floattitf.c: Likewise.
9700 * soft-fp/floatuntidf.c: Likewise.
9701 * soft-fp/floatuntisf.c: Likewise.
9702 * soft-fp/floatuntitf.c: Likewise.
9703 * soft-fp/trunctfxf2.c: Likewise.
9705 2013-10-10 David S. Miller <davem@davemloft.net>
9707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9709 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9711 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9712 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9713 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9714 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9715 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9716 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9717 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9720 for NaNs before doing comparisons on argument.
9721 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9724 2013-10-10 Will Newton <will.newton@linaro.org>
9726 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9727 passed to _int_memalign does not overflow.
9729 2013-10-10 Torvald Riegel <triegel@redhat.com>
9731 * scripts/bench.pl: Add include-sources directive.
9732 * benchtests/README: Update documentation.
9734 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9736 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9737 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9738 instead of FP_INIT_ROUNDMODE.
9739 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9740 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9743 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9744 copy class of input value.
9745 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9746 not handle exceptions.
9747 * soft-fp/negsf2.c (__negsf2): Likewise.
9748 * soft-fp/negtf2.c (__negtf2): Likewise.
9749 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9751 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9753 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9754 semicolon. From Linux kernel.
9756 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9758 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9760 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9763 * manual/socket.texi: Added statement about buffer
9764 for gethostbyname2_r.
9766 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9768 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9769 Use .p2align directive instead, throughout.
9770 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9771 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9772 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9773 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9774 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9775 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9776 * sysdeps/x86_64/strchr.S: Likewise.
9777 * sysdeps/x86_64/strrchr.S: Likewise.
9779 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9781 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9783 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9785 * sysdeps/generic/math_private.h (__mpsin1): Remove
9787 (__mpcos1): Likewise.
9788 (__mpsin): New argument __range_reduce.
9789 (__mpcos): Likewise.
9790 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9791 (slow): Use __mpsin and __mpcos.
9798 (bsloww1): Likewise.
9799 (bsloww2): Likewise.
9802 (csloww1): Likewise.
9803 (csloww2): Likewise.
9804 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9805 range_reduce. Merge in __mpsin1.
9806 (__mpcos): Likewise.
9808 (__mpcos1): Likewise.
9810 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9812 * locale/loadlocale.c (_nl_intern_locale_data): Use
9814 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9815 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9816 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9817 obstack data is appropriately aligned.
9818 (obstack_int32_grow_fast): Likewise.
9819 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9820 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9821 (add_locale_uint32_array): Likewise.
9823 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9825 * benchtests/Makefile: Remove ARGLIST and RET variables.
9826 ($(objpfx)bench-%.c): Pass only function name to the script.
9827 * benchtests/README: Update documentation.
9828 * benchtests/acos-inputs: Add new directives.
9829 * benchtests/acosh-inputs: Likewise.
9830 * benchtests/asin-inputs: Likewise.
9831 * benchtests/asinh-inputs: Likewise.
9832 * benchtests/atan-inputs: Likewise.
9833 * benchtests/atanh-inputs: Likewise.
9834 * benchtests/cos-inputs: Likewise.
9835 * benchtests/cosh-inputs: Likewise.
9836 * benchtests/exp-inputs: Likewise.
9837 * benchtests/log-inputs: Likewise.
9838 * benchtests/pow-inputs: Likewise.
9839 * benchtests/rint-inputs: Likewise.
9840 * benchtests/sin-inputs: Likewise.
9841 * benchtests/sinh-inputs: Likewise.
9842 * benchtests/tan-inputs: Likewise.
9843 * benchtests/tanh-inputs: Likewise.
9844 * scripts/bench.pl: Add support for new directives.
9846 2013-10-07 Alan Modra <amodra@gmail.com>
9848 * README: Fix careless merge.
9850 2013-10-05 Alan Modra <amodra@gmail.com>
9852 * NEWS: Mention powerpc64le support and bugs fixed.
9853 * README: Both big-endian and little-endian powerpc64 supported.
9855 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9857 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9858 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9859 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9860 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9862 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9864 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9867 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9869 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9870 Move -mhard-float appending from
9871 ports/sysdeps/powerpc/powerpc32/Makefile.
9872 [$(with-fp) = yes] (ASFLAGS): Likewise.
9873 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9874 * sysdeps/powerpc/nofpu: Move directory from
9875 ports/sysdeps/powerpc/nofpu.
9876 * sysdeps/powerpc/soft-fp: Move directory from
9877 ports/sysdeps/powerpc/soft-fp.
9878 * sysdeps/powerpc/powerpc32/405: Move directory from
9879 ports/sysdeps/powerpc/powerpc32/405.
9880 * sysdeps/powerpc/powerpc32/440: Move directory from
9881 ports/sysdeps/powerpc/powerpc32/440.
9882 * sysdeps/powerpc/powerpc32/464: Move directory from
9883 ports/sysdeps/powerpc/powerpc32/464.
9884 * sysdeps/powerpc/powerpc32/476: Move directory from
9885 ports/sysdeps/powerpc/powerpc32/476.
9886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9887 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9889 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9891 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9893 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9895 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9896 * README: Update for powerpc-*-linux-gnu software floating point
9899 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9900 case to powerpc/powerpc32*.
9901 * sysdeps/unix/sysv/linux/configure: Regenerated.
9903 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9904 (_FPU_MASK_OM): Define as 0x04.
9905 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9906 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9908 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9910 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9913 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9916 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9919 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9920 and setcontext_e500.
9922 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9924 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9926 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9928 * manual/threads.texi (Default Thread Attributes): Fix typo.
9930 2013-10-04 Will Newton <will.newton@linaro.org>
9932 * malloc/Makefile: Add tst-memalign.
9933 * malloc/tst-memalign.c: New file.
9935 * malloc/tst-posix_memalign.c: Add comments.
9936 (do_test): Add comments and call free on all potentially
9937 allocated pointers. Add space after cast.
9939 * malloc/tst-pvalloc.c: Add comments.
9940 (do_test): Add comments and call free on all potentially
9941 allocated pointers. Remove duplicate check for NULL pointer.
9942 Add space after cast.
9944 * malloc/tst-valloc.c: Add comments.
9945 (do_test): Add comments and call free on all potentially
9946 allocated pointers. Remove duplicate check for NULL pointer.
9947 Add space after cast.
9949 2013-10-04 Alan Modra <amodra@gmail.com>
9951 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9952 Use stdint types in rather than __attribute__((mode())).
9953 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9955 2013-10-04 Alan Modra <amodra@gmail.com>
9957 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9958 Correct handling of unaligned relocs for little-endian.
9959 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9961 2013-10-04 Alan Modra <amodra@gmail.com>
9963 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9964 * configure: Regenerate.
9965 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9966 * shlib-versions: Likewise.
9968 2013-10-04 Alan Modra <amodra@gmail.com>
9970 * string/tester.c (test_memrchr): Increment reported test cycle.
9972 2013-10-04 Alan Modra <amodra@gmail.com>
9974 * string/test-memcpy.c (do_one_test): When reporting errors, print
9975 string address and don't overrun end of string.
9977 2013-10-04 Alan Modra <amodra@gmail.com>
9979 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9980 insrdi. Make better use of reg selection to speed exit slightly.
9981 Schedule entry path a little better. Remove useless "are we done"
9982 checks on entry to main loop. Handle wrapping around zero address.
9983 Correct main loop count. Handle single left-over word from main
9984 loop inline rather than by using loop_small. Remove extra word
9985 case in loop_small caused by wrong loop count. Add little-endian
9987 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9988 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9990 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9991 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9992 support. Avoid rlwimi.
9993 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9995 2013-10-04 Alan Modra <amodra@gmail.com>
9997 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9999 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10000 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10001 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10002 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10003 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10004 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10006 2013-10-04 Alan Modra <amodra@gmail.com>
10008 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10009 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10010 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10011 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10012 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10013 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10014 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10015 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10016 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10017 use of regs. Use power7 mtocrf. Tidy function tails.
10019 2013-10-04 Alan Modra <amodra@gmail.com>
10021 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10022 Formatting. Consistently use rXXX register defines or rN defines.
10023 Use early exit labels that avoid restoring unused non-volatile regs.
10024 Make cr field use more consistent with rWORDn compares. Rename
10025 regs used as shift registers for unaligned loop, using rN defines
10026 for short lifetime/multiple use regs.
10027 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10028 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10029 addi 1,1,64 to pop stack frame. Simplify return value code.
10030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10032 2013-10-04 Alan Modra <amodra@gmail.com>
10034 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10035 support. Correct typos, formatting. Optimize tail. Use insrdi
10036 rather than rlwimi.
10037 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10038 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10039 little-endian support. Correct typos.
10040 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10041 rather than rlwimi.
10042 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10043 in loop and entry code to keep "and." results.
10044 (strchr): Add little-endian support. Comment. Move cntlzd
10046 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10048 2013-10-04 Alan Modra <amodra@gmail.com>
10050 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10051 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10052 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10053 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10055 2013-10-04 Alan Modra <amodra@gmail.com>
10057 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10058 (rTMP): Define as r11.
10059 (strcmp): Add little-endian support. Optimise tail.
10060 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10061 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10062 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10063 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10064 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10065 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10066 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10068 2013-10-04 Alan Modra <amodra@gmail.com>
10070 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10071 little-endian support. Remove unnecessary "are we done" tests.
10072 Handle "s" wrapping around zero and extremely large "size".
10073 Correct main loop count. Handle single left-over word from main
10074 loop inline rather than by using small_loop. Correct comments.
10075 Delete "zero" tail, use "end_max" instead.
10076 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10078 2013-10-04 Alan Modra <amodra@gmail.com>
10080 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10081 support. Don't branch over align.
10082 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10083 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10084 support. Rearrange tmp reg use to suit. Comment.
10085 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10087 2013-10-04 Alan Modra <amodra@gmail.com>
10089 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10091 2013-10-04 Alan Modra <amodra@gmail.com>
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10094 conditional form of branch and link when obtaining pc.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10097 2013-10-04 Alan Modra <amodra@gmail.com>
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10104 2013-10-04 Alan Modra <amodra@gmail.com>
10106 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10107 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10108 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10109 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10110 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10111 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10112 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10113 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10114 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10115 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10117 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10118 Alistair Popple <alistair@ozlabs.au.ibm.com>
10119 Alan Modra <amodra@gmail.com>
10122 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10123 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10124 _dl_hwcap access for little-endian.
10125 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10126 destroy vmx regs when saving unaligned.
10127 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10128 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10129 destroy vmx regs when saving unaligned.
10131 2013-10-04 Alan Modra <amodra@gmail.com>
10133 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10134 Don't use a union to pack hi/low value.
10136 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10138 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10140 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10141 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10142 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10143 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10144 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10146 2013-10-04 Alan Modra <amodra@gmail.com>
10148 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10149 constants to usual value for .cst8 section, and remove redundant
10151 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10152 constant for 0x1p52. Load little-endian words of double from
10153 correct stack offsets.
10155 2013-10-04 Alan Modra <amodra@gmail.com>
10157 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10158 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10159 words of double from correct stack offsets.
10160 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10161 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10162 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10163 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10164 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10165 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10166 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10167 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10168 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10169 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10170 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10171 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10172 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10173 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10174 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10175 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10176 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10178 2013-10-04 Alan Modra <amodra@gmail.com>
10180 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10181 64-bit int/double union.
10182 (_FPU_SETCW): Likewise.
10183 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10184 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10186 2013-10-04 Alan Modra <amodra@gmail.com>
10188 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10189 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10191 2013-10-04 Alan Modra <amodra@gmail.com>
10193 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10194 use vector int constants.
10195 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10197 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10199 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10200 array with long long.
10201 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10202 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10203 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10204 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10205 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10206 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10207 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10208 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10209 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10210 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10211 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10212 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10213 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10215 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10217 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10218 (__signbit): Likewise. Correct for little-endian.
10219 (__signbitl): Call __signbit.
10220 (lrint): Correct for little-endian.
10221 (lrintf): Call lrint.
10223 2013-10-04 Alan Modra <amodra@gmail.com>
10225 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10226 union 32-bit int array member with 64-bit int array.
10227 (t515, tm256): Double rather than long double.
10228 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10230 2013-10-04 Alan Modra <amodra@gmail.com>
10232 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10234 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10235 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10236 version of math_ldbl.h.
10238 2013-10-04 Alan Modra <amodra@gmail.com>
10240 [BZ #15734], [BZ #15735]
10241 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10242 all uses of ieee875 long double macros and unions. Simplify test
10243 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10244 ldbl_extract_mantissa value for ix,iy exponents. Properly
10245 normalize after ldbl_extract_mantissa, and don't add hidden bit
10246 already handled. Don't treat low word of ieee854 mantissa like
10247 low word of IBM long double and mask off bit when testing for
10249 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10250 all uses of ieee875 long double macros and unions. Simplify tests
10251 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10252 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10253 two1022, instead use their values. Recognise that tests for large
10254 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10255 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10256 Rewrite all uses of ieee875 long double macros and unions. Simplify
10257 test for 0.0L and nan. Correct negation.
10258 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10259 ieee875 long double macros and unions. Correct output for large
10260 magnitude x. Correct absolute value calculation.
10261 (__erfcl): Likewise.
10262 * math/libm-test.inc: Add tests for errors discovered in IBM long
10263 double versions of fmodl, remainderl, erfl and erfcl.
10265 2013-10-04 Alan Modra <amodra@gmail.com>
10267 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10268 all uses of ieee854 long double macros and unions. Simplify tests
10269 for long doubles that are fully specified by the high double.
10270 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10272 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10273 Remove dead code too.
10274 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10275 (__ieee754_ynl): Likewise.
10276 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10277 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10278 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10279 Remove dead code too.
10280 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10281 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10282 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10283 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10285 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10287 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10288 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10289 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10290 Comment on variable precision.
10291 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10292 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10294 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10295 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10296 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10297 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10298 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10300 2013-10-04 Alan Modra <amodra@gmail.com>
10302 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10303 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10304 all uses of ieee854 long double macros and unions.
10305 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10306 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10307 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10308 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10309 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10310 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10312 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10313 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10314 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10315 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10316 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10317 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10318 Simplify sign and nan test too.
10319 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10320 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10321 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10322 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10324 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10325 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10327 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10331 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10334 2013-10-04 Alan Modra <amodra@gmail.com>
10336 * stdio-common/printf_size.c (__printf_size): Don't use
10337 union ieee854_long_double in fpnum union.
10338 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10339 signbit macro to retrieve sign from long double.
10340 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10341 retrieve sign from long double.
10342 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10343 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10344 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10345 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10346 * math/test-misc.c (main): Don't use union ieee854_long_double.
10348 2013-10-04 Alan Modra <amodra@gmail.com>
10351 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10352 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10353 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10354 calculation. Remove unnecessary test for denormal exponent.
10355 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10356 Correct handling of denormals. Avoid undefined shift behaviour.
10357 Correct normalisation of low mantissa when low double is denormal.
10358 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10359 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10360 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10361 Correct normalisation of low mantissa. Test for overflow of high
10362 mantissa and normalise.
10363 (ldbl_nearbyint): Use more readable constant for two52.
10364 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10365 (__mpn_construct_long_double): Fix test for overflow of high
10366 mantissa and correct normalisation. Avoid undefined shift.
10368 2013-10-04 Alan Modra <amodra@gmail.com>
10370 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10371 (union ibm_extended_long_double): Define as an array of ieee754_double.
10372 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10373 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10374 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10375 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10376 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10377 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10378 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10379 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10380 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10381 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10382 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10384 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10386 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10387 page size instead of calling getpagesize.
10389 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10390 (LOCFILE_ALIGN_MASK): Likewise.
10391 (LOCFILE_ALIGN_UP): Likewise.
10392 (LOCFILE_ALIGNED_P): Likewise.
10393 * locale/programs/ld-collate.c (collate_output): Use the new
10394 macros instead of __alignof__ (int32_t).
10395 * locale/weight.h (findidx): Likewise.
10397 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10400 * manual/string.texi: Fix strncat and wcsncat.
10402 2013-10-03 Brooks Moses <bmoses@google.com>
10405 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10406 * Makerules: ...here, and adjust associated comments.
10408 2013-10-02 Will Newton <will.newton@linaro.org>
10410 * malloc/Makefile: Add tst-pvalloc.
10411 * malloc/tst-pvalloc.c: New file.
10413 2013-10-02 Will Newton <will.newton@linaro.org>
10415 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10416 improve test coverage.
10418 2013-10-02 Will Newton <will.newton@linaro.org>
10420 * malloc/Makefile: Add tst-posix_memalign.
10421 * malloc/tst-posix_memalign.c: New file.
10423 2013-10-01 Eric Blake <eblake@redhat.com>
10425 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10426 Use __THROWNL rather than __THROW on static functions.
10428 2013-09-30 Petr Machata <pmachata@redhat.com>
10430 * elf/elf.h (R_AARCH64_ABS16): New macro.
10431 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10432 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10433 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10434 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10435 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10436 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10437 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10438 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10439 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10440 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10441 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10442 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10443 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10444 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10445 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10446 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10447 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10448 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10449 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10450 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10451 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10452 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10453 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10454 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10455 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10456 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10457 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10458 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10459 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10460 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10461 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10462 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10463 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10464 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10465 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10466 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10467 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10468 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10469 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10470 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10471 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10472 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10473 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10474 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10475 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10476 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10477 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10478 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10479 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10480 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10481 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10482 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10483 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10484 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10485 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10486 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10487 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10488 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10489 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10490 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10491 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10492 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10493 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10494 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10495 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10496 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10497 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10498 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10499 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10500 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10501 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10502 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10503 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10504 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10505 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10506 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10507 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10508 (R_AARCH64_TLSDESC_LDR): Likewise.
10509 (R_AARCH64_TLSDESC_ADD): Likewise.
10510 (R_AARCH64_TLSDESC_CALL): Likewise.
10512 2013-09-30 Andreas Schwab <schwab@suse.de>
10515 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10516 the nss database lookup.
10517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10520 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10522 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10524 2013-09-28 P. J. McDermott <pj@pehjota.net>
10526 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10527 ${Bash-specific parameter/pattern/string} parameter expansion.
10528 * sysdeps/unix/make-syscalls.sh: Likewise.
10530 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10532 * sysdeps/sh/stackguard-macros.h: New file.
10534 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10537 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10538 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10539 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10540 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10541 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10543 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10545 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10546 Fix thread ID register.
10548 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10550 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10551 [POSIX || UNIX98]: Require rather than permitting all symbols from
10553 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10554 element of struct sched_param.
10555 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10556 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10557 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10558 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10561 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10563 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10564 argument calculation.
10566 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10568 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10570 [POSIX] (pthread_attr_t): Do not require type.
10571 [POSIX] (pthread_cond_t): Likewise.
10572 [POSIX] (pthread_condattr_t): Likewise.
10573 [POSIX] (pthread_key_t): Likewise.
10574 [POSIX] (pthread_mutex_t): Likewise.
10575 [POSIX] (pthread_mutexattr_t): Likewise.
10576 [POSIX] (pthread_once_t): Likewise.
10577 [POSIX] (pthread_t): Likewise.
10578 [POSIX-based standards] (pthread_atfork): Expect function.
10580 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10581 Richard Sandiford <richard@codesourcery.com>
10583 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10584 (swap_endianness_p): New extern variable.
10585 (set_big_endian): New inline function.
10586 (maybe_swap_uint32): Likewise.
10587 (maybe_swap_uint32_array): Likewise.
10588 (maybe_swap_uint32_obstack): Likewise.
10589 * locale/programs/locfile.c: Include <stdbool.h>.
10590 (swap_endianness_p): New variable.
10591 (add_locale_uint32): Call maybe_swap_uint32.
10592 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10593 (write_locale_data): Call maybe_swap_uint32_array.
10594 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10596 (obstack_int32_grow_fast): Likewise.
10597 (output_weightwc): Call maybe_swap_uint32_obstack.
10598 (collate_output): Likewise.
10599 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10600 (OPT_LITTLE_ENDIAN): Likewise.
10601 (options): Add --little-endian and --big-endian options.
10602 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10603 * locale/programs/locarchive.c: Include "locfile.h".
10607 (create_archive): Use the new macros to access fields of
10608 structures directly mapped from or written to locale archives.
10609 (oldlocrecentcmp): Likewise.
10610 (enlarge_archive): Likewise.
10611 (insert_name): Likewise.
10612 (add_alias): Likewise.
10613 (add_locale): Likewise.
10614 (delete_locales_from_archive): Likewise.
10615 (show_archive_content): Likewise.
10616 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10619 2013-09-24 Roland McGrath <roland@hack.frob.com>
10621 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10622 http://www.gnu.org/doc/freemanuals.texi.
10623 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10625 2013-09-24 Will Newton <will.newton@linaro.org>
10627 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10630 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10632 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10635 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10637 * manual/threads.texi (POSIX Threads): Fix a typo.
10639 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10642 * string/tst-strcoll-overflow.c: New test case.
10643 * string/Makefile (xtests): Add tst-strcoll-overflow.
10644 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10645 cache if string sizes may cause integer overflow.
10648 * string/strcoll_l.c (coll_seq): New members rule, idx,
10649 save_idx and back_us.
10650 (get_next_seq_nocache): New function.
10651 (do_compare_nocache): New function.
10652 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10655 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10658 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10659 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10660 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10663 * elf/Makefile (tests): Add tst-ptrguard1.
10664 (tests-static): Add tst-ptrguard1-static.
10665 (tst-ptrguard1-ARGS): Define.
10666 (tst-ptrguard1-static-ARGS): Define.
10667 * elf/tst-ptrguard1.c: New file.
10668 * elf/tst-ptrguard1-static.c: New file.
10669 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10670 * sysdeps/i386/stackguard-macros.h: Likewise.
10671 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10672 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10673 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10674 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10675 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10676 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10678 2013-09-23 Hector Marco <hecmargi@upv.es>
10679 Ismael Ripoll <iripoll@disca.upv.es>
10680 Carlos O'Donell <carlos@redhat.com>
10683 * sysdeps/generic/stackguard-macros.h: Define
10684 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10685 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10686 Define __pointer_chk_guard_local.
10687 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10688 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10690 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10693 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10695 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10697 * include/string.h (__ffs): Declare as hidden.
10698 * string/ffs.c (__ffs): Define as hidden.
10699 * sysdeps/i386/ffs.c (__ffs): Likewise.
10700 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10701 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10702 * sysdeps/s390/ffs.c (__ffs): Likewise.
10703 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10705 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10707 * NEWS: Mention malloc probes.
10709 * malloc/arena.c (new_heap): New memory_heap_new probe.
10710 (grow_heap): New memory_heap_more probe.
10711 (shrink_heap): New memory_heap_less probe.
10712 (heap_trim): New memory_heap_free probe.
10713 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10714 (systrim): New memory_sbrk_less probe.
10715 * manual/probes.texi: Document them.
10717 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10718 * manual/probes.texi: Document it.
10720 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10721 (__libc_realloc): Add memory_realloc_retry probe.
10722 (__libc_memalign): Add memory_memalign_retry probe.
10723 (__libc_valloc): Add memory_valloc_retry probe.
10724 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10725 (__libc_calloc): Add memory_calloc_retry probe.
10726 * manual/probes.texi: Document them.
10728 * malloc/arena.c (get_free_list): Add probe
10729 memory_arena_reuse_free_list.
10730 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10731 and memory_arena_reuse.
10732 (arena_get2) [!PER_THREAD]: Likewise.
10733 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10734 memory_arena_reuse_realloc.
10735 * manual/probes.texi: Document them.
10737 * malloc/malloc.c (__libc_free): Add
10738 memory_mallopt_free_dyn_thresholds probe.
10739 (__libc_mallopt): Add multiple memory_mallopt probes.
10740 * manual/probes.texi: Document them.
10742 * malloc/malloc.c: Include stap-probe.h.
10743 (__libc_mallopt): Add memory_mallopt probe.
10744 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10745 * manual/probes.texi: New.
10746 * manual/Makefile (chapters): Add probes.
10747 * manual/threads.texi: Set next node.
10749 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10751 [BZ #15963, #13985]
10752 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10753 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10754 Add `Chinese' to `nan' entry name.
10756 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10758 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10759 (POLYNOMIAL): Likewise.
10760 (TAYLOR_SINCOS): Likewise.
10761 (TAYLOR_SLOW): Likewise.
10762 (__sin): Use TAYLOR_SINCOS.
10764 (slow): Use TAYLOR_SLOW.
10766 (bsloww): Likewise.
10767 (csloww): Likewise.
10769 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10771 * stdlib/strtod_l.c: Fix buffer overrun.
10773 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10775 * benchtests/Makefile (bench): Add sincos.
10776 * benchtests/bench-sincos.c: New file.
10778 * math/libm-test.inc (cos_test_data): New test inputs.
10779 (sin_test_data): Likewise.
10781 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10787 (sloww1): Likewise.
10788 (sloww2): Likewise.
10789 (bsloww1): Likewise.
10790 (bsloww2): Likewise.
10791 (cslow2): Likewise.
10792 (csloww1): Likewise.
10793 (csloww2): Likewise.
10795 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10800 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10804 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10806 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10807 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10808 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10809 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10810 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10811 * elf/cache.c (print_entry): Handle the new cache flags.
10813 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10814 Aldy Hernandez <aldyh@redhat.com>
10816 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10817 Change condition to [_SOFT_FLOAT].
10818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10822 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10826 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10827 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10828 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10829 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10830 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10833 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10836 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10838 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10839 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10840 (__longjmp): Use LOAD_GP to load saved GPRs.
10841 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10842 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10843 (__sigsetjmp): Use SAVE_GP to save GPRs.
10845 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10846 Do not append -msoft-float.
10847 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10849 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10851 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10853 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10856 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10857 (_FPU_GETCW): Use initial "__" on variable and field names but not
10858 on macro parameter name.
10859 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10860 parentheses around reference to macro parameter.
10862 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10864 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10866 (ctype_startup): Use uint32_t in cast and sizeof for
10869 2013-09-11 Jia Liu <proljc@gmail.com>
10871 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10873 [__FreeBSD__]: Likewise.
10875 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10877 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10878 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10879 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10880 (strchr): Remove __strchr_sse42 ifunc selection.
10881 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10882 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10884 2013-09-11 Will Newton <will.newton@linaro.org>
10886 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10887 parameter to RES. Remove hardcoded 1000 value.
10888 * benchtests/bench-skeleton.c (main): Pass RES parameter
10889 to TIMING_INIT and multiply result by 1000.
10891 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10895 2013-09-11 Andreas Schwab <schwab@suse.de>
10897 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10899 (O_TMPFILE) [__USE_GNU]: Define.
10900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10903 2013-09-11 Will Newton <will.newton@linaro.org>
10906 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10909 2013-09-11 Will Newton <will.newton@linaro.org>
10912 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10915 2013-09-11 Will Newton <will.newton@linaro.org>
10918 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10921 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10923 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10924 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10929 2013-09-10 Allan McRae <allan@archlinux.org>
10932 * manual/arith.texi (Parsing of Floats): Clarify
10936 * manual/install.texi (Running make install): Mention
10938 * INSTALL: Regenerated.
10940 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10942 * csu/init-first.c (_init): Remove the !SHARED condition around
10943 FPU control word initialization.
10944 * elf/dl-support.c (_dl_fpu_control): New variable.
10945 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10946 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10947 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10948 * math/test-fpucw-static.c: New file.
10949 * math/test-fpucw-ieee.c: New file.
10950 * math/test-fpucw-ieee-static.c: New file.
10951 * math/Makefile (tests): Add `test-fpucw-ieee' and
10953 (tests-static): New variable.
10954 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10956 [($(build-shared),yes)]
10957 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10959 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10962 2013-09-09 Allan McRae <allan@archlinux.org>
10965 * manual/string.texi (Collation Functions): Fix typo in
10967 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10970 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10973 * libio/memstream.c (open_memstream): Fix memory leak.
10974 * libio/wmemstream.c (open_wmemstream): Likewise.
10977 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10979 2013-09-09 Will Newton <will.newton@linaro.org>
10981 * malloc/Makefile: Add tst-realloc to tests.
10982 * malloc/tst-realloc.c: New file.
10984 2013-09-09 Allan McRae <allan@archlinux.org>
10987 * COPYING: Update from GNU website to fix FSF address.
10988 * COPYING.LIB: Likewise.
10990 2013-09-06 David S. Miller <davem@davemloft.net>
10992 * po/zh_TW.po: Update Chinese (traditional) translation from
10993 translation project.
10995 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10996 Joseph Myers <joseph@codesourcery.com>
10998 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11000 (obstack_chunk_alloc): New macro.
11001 (obstack_chunk_free): Likewise.
11002 (record_offset): New function.
11003 (init_locale_data): Likewise.
11004 (align_locale_data): Likewise.
11005 (add_locale_empty): Likewise.
11006 (add_locale_raw_data): Likewise.
11007 (add_locale_raw_obstack): Likewise.
11008 (add_locale_string): Likewise.
11009 (add_locale_wstring): Likewise.
11010 (add_locale_uint32): Likewise.
11011 (add_locale_uint32_array): Likewise.
11012 (add_locale_char): Likewise.
11013 (start_locale_structure): Likewise.
11014 (end_locale_structure): Likewise.
11015 (start_locale_prelude): Likewise.
11016 (end_locale_prelude): Likewise.
11017 (write_locale_data): Take locale_file structure rather than an
11019 * locale/programs/locfile.h: Include "obstack.h".
11020 (struct locale_file): Change to store locale file contents instead
11022 (init_locale_data): New prototype.
11023 (align_locale_data): Likewise.
11024 (add_locale_empty): Likewise.
11025 (add_locale_raw_data): Likewise.
11026 (add_locale_raw_obstack): Likewise.
11027 (add_locale_string): Likewise.
11028 (add_locale_wstring): Likewise.
11029 (add_locale_uint32): Likewise.
11030 (add_locale_uint32_array): Likewise.
11031 (add_locale_char): Likewise.
11032 (start_locale_structure): Likewise.
11033 (end_locale_structure): Likewise.
11034 (start_locale_prelude): Likewise.
11035 (end_locale_prelude): Likewise.
11036 (write_locale_data): Update prototype.
11037 * locale/programs/3level.h (struct TABLE): Remove result field.
11038 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11039 Use new locale_file interface.
11040 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11041 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11042 * locale/programs/ld-address.c (address_output): Use new
11043 locale_file interface.
11044 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11046 (collate_finish): Don't call collseq_table_finalize.
11047 (collate_output): Use new locale_file interface.
11048 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11050 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11051 (TABLE): Move defines earlier in file.
11052 (ELEMENT): Likewise.
11053 (DEFAULT): Likewise.
11054 (wctrans_table_add): Move macro and inline function earlier in
11056 (struct wctype_table): Move type earlier in file.
11057 (add_locale_wctype_table): New static prototype.
11058 (struct locale_ctype_t): Use logical types instead of struct iovec
11059 pointers for members.
11060 (ctype_output): Use new locale_file interface.
11061 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11062 new locale_file interface.
11063 (allocate_arrays): Update for use of new locale_file interface.
11064 * locale/programs/ld-identification.c (identification_output): Use
11065 new locale_file interface.
11066 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11067 * locale/programs/ld-messages.c (messages_output): Likewise.
11068 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11069 * locale/programs/ld-name.c (name_output): Likewise.
11070 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11071 * locale/programs/ld-paper.c (paper_output): Likewise.
11072 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11073 * locale/programs/ld-time.c (time_output): Likewise.
11075 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11077 * benchtests/Makefile: Add memrchr benchmark.
11078 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11079 benchmark as memrchr.
11080 * benchtests/bench-memrchr-ifunc.c: New file.
11081 * benchtests/bench-memrchr.c: New file.
11083 2013-09-06 Will Newton <will.newton@linaro.org>
11085 * benchtests/Makefile (string-bench): Add memcpy.
11087 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11088 Cong Wang <amwang@redhat.com>
11091 * sysdeps/unix/sysv/linux/bits/in.h
11092 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11093 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11094 before __USE_KERNEL_IPV6_DEFS uses.
11095 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11097 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11098 sockaddr_in6, or ipv6_mreq.
11100 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11102 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11103 memory access for final bytes in some large inputs.
11104 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11106 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11108 * string/test-memrchr.c: New file.
11109 * string/test-memrchr-ifunc.c: New file.
11110 * string/Makefile: Add new memrchr testcase.
11112 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11114 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11115 fanotify_init returns EPERM.
11117 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11119 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11121 (top level): Treat second token from macro or constant entries for
11122 allowed headers as allowed.
11123 * include/complex.h: Condition internal declarations on
11125 * include/fenv.h: Condition include of <stdbool.h> and internal
11126 declarations on [!_ISOMAC].
11128 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11131 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11133 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11135 * configure.in (--enable-versioning): Remove configure option.
11136 (libc_cv_asm_symver_directive): Remove configure test.
11137 (libc_cv_ld_version_script_option): Likewise.
11138 (VERSIONING): Remove variable and AC_SUBST.
11139 (DO_VERSIONING): Remove AC_DEFINE.
11140 * configure: Regenerated.
11141 * config.h.in (DO_VERSIONING): Remove macro.
11142 * Makerules [$(versioning) = yes]: Change conditionals to
11143 [$(build-shared) = yes].
11144 * config.make.in (versioning): Remove variable.
11145 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11146 [$(build-shared) = yes].
11147 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11148 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11149 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11150 [$(build-shared) = yes].
11151 * extra-lib.mk [$(versioning) = yes]: Likewise.
11152 * hurd/Makefile [$(versioning) = yes]: Likewise.
11153 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11155 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11157 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11158 [SHARED && !NO_HIDDEN].
11159 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11161 [SHARED && DO_VERSIONING]: Likewise..
11162 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11163 [$(build-shared) = yes].
11164 * manual/install.texi (--disable-versioning): Remove
11166 * INSTALL: Regenerated.
11167 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11169 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11170 [$(build-shared) = yes].
11171 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11172 * sysdeps/i386/i686/multiarch/strstr-c.c
11173 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11174 [SHARED && !NO_HIDDEN].
11175 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11176 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11177 * sysdeps/powerpc/powerpc32/dl-machine.c
11178 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11179 * sysdeps/powerpc/powerpc32/sysdep.h
11180 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11181 to [SHARED && PIC && !NO_HIDDEN].
11182 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11183 conditional to [SHARED].
11185 2013-09-04 Will Newton <will.newton@linaro.org>
11187 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11188 * benchtests/bench-string.h: Include bench-timing.h instead
11189 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11190 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11191 call to HP_TIMING_DIFF_INIT.
11192 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11193 instead of hp-timing.h macros.
11194 * benchtests/bench-memchr.c: Likewise.
11195 * benchtests/bench-memcmp.c: Likewise.
11196 * benchtests/bench-memcpy.c: Likewise.
11197 * benchtests/bench-memmem.c: Likewise.
11198 * benchtests/bench-memmove.c: Likewise.
11199 * benchtests/bench-memset.c: Likewise.
11200 * benchtests/bench-rawmemchr.c: Likewise.
11201 * benchtests/bench-strcasecmp.c: Likewise.
11202 * benchtests/bench-strcasestr.c: Likewise.
11203 * benchtests/bench-strcat.c: Likewise.
11204 * benchtests/bench-strchr.c: Likewise.
11205 * benchtests/bench-strcmp.c: Likewise.
11206 * benchtests/bench-strcpy.c: Likewise.
11207 * benchtests/bench-strcpy_chk.c: Likewise.
11208 * benchtests/bench-strlen.c: Likewise.
11209 * benchtests/bench-strncasecmp.c: Likewise.
11210 * benchtests/bench-strncat.c: Likewise.
11211 * benchtests/bench-strncmp.c: Likewise.
11212 * benchtests/bench-strncpy.c: Likewise.
11213 * benchtests/bench-strnlen.c: Likewise.
11214 * benchtests/bench-strpbrk.c: Likewise.
11215 * benchtests/bench-strrchr.c: Likewise.
11216 * benchtests/bench-strspn.c: Likewise.
11217 * benchtests/bench-strstr.c: Likewise.
11219 2013-09-04 Will Newton <will.newton@linaro.org>
11221 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11223 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11226 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11227 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11228 * math/libm-test.inc (lgamma_test_data): Add more tests.
11229 * sysdeps/i386/fpu/libm-test-ulps: Update.
11230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11232 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11234 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11235 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11238 Add strcmp-sse2-unaligned
11239 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11241 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11243 * Versions.def (libc): Add GLIBC_2.19.
11245 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11247 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11248 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11250 2013-09-02 Joseph Myers <joseph@codesourcery.com>
11253 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11254 intermediate calculations in recurrence.
11255 (__ieee754_ynf): Likewise.
11256 * math/libm-test.inc (jn_test_data): Do not allow spurious
11257 underflow exception. Add more tests.
11258 (yn_test_data): Add more tests.
11259 * sysdeps/i386/fpu/libm-test-ulps: Update.
11260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11262 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
11264 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11266 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11268 * csu/init-first.c: Fix then/than typos.
11269 * locale/programs/ld-collate.c: Likewise.
11270 * locale/programs/linereader.h: Likewise.
11271 * manual/charset.texi: Likewise.
11272 * manual/filesys.texi: Likewise.
11273 * manual/stdio.texi: Likewise.
11274 * manual/string.texi: Likewise.
11275 * stdlib/fmtmsg.c: Likewise.
11276 * sysdeps/i386/stpncpy.S: Likewise.
11277 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11278 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11279 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11280 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11282 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11284 * elf/dl-open.c: Fix typos.
11285 * iconvdata/gbbig5.c: Likewise.
11286 * iconvdata/iso-2022-jp.c: Likewise.
11287 * iconv/gconv_int.h: Likewise.
11288 * iconv/loop.c: Likewise.
11289 * nis/rpcsvc/nis.h: Likewise.
11290 * resolv/ns_name.c: Likewise.
11291 * stdio-common/vfscanf.c: Likewise.
11292 * streams/stropts.h: Likewise.
11293 * sunrpc/rpc_thread.c: Likewise.
11294 * sysdeps/i386/strpbrk.S: Likewise.
11295 * sysdeps/ieee754/k_standard.c: Likewise.
11296 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11297 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11298 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11299 * sysdeps/mach/hurd/profil.c: Likewise.
11300 * sysdeps/s390/dl-procinfo.h: Likewise.
11301 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11302 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11303 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11304 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11305 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11307 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11309 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11312 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11314 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11315 aix specific files.
11316 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11317 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11318 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11319 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11320 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11321 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11322 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11323 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11325 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11326 Roland McGrath <roland@hack.frob.com>
11328 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11329 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11331 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11333 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11334 __executable_start symbol instead of _start.
11336 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11338 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11339 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11341 * sysdeps/gnu/ldsodefs.h: ... this new file.
11343 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11344 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11345 instead of ELFOSABI_LINUX.
11347 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11348 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11349 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11350 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11352 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11353 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11356 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11357 (ibm_extended_long_double): Add ieee_nan member.
11358 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11359 (do_test): New function.
11361 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11363 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11364 functions, renamed from truncdfsf_test, trunctfsf_test,
11366 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11368 (do_test): Run all these.
11370 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11372 * argp/argp-help.c: Fix typos.
11373 * argp/argp-parse.c: Likewise.
11374 * debug/backtracesyms.c: Likewise.
11375 * elf/elf.h: Likewise.
11376 * malloc/malloc.c: Likewise.
11377 * nis/nis_print.c: Likewise.
11378 * resolv/res_comp.c: Likewise.
11379 * stdlib/stdlib.h: Likewise.
11380 * sunrpc/clnt_tcp.c: Likewise.
11381 * sunrpc/clnt_udp.c: Likewise.
11382 * sunrpc/clnt_unix.c: Likewise.
11383 * sysdeps/unix/bsd/ptsname.c: Likewise.
11384 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11385 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11392 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11394 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11396 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11399 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11402 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11403 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11404 ($(objpfx)bug-dl-leaf): New rule.
11405 ($(objpfx)bug-dl-leaf.so): Likewise.
11406 ($(objpfx)bug-dl-leaf.out): Likewise.
11407 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11408 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11409 * dlfcn/bug-dl-leaf.c: New test.
11410 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11411 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11412 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11413 (dlclose): Likewise.
11414 (dlmopen): Likewise.
11416 2013-08-27 Roland McGrath <roland@hack.frob.com>
11418 * include/netdb.h [!_ISOMAC]:
11419 Don't include <tls.h>.
11420 (h_errno, __libc_h_errno): Move declaration and macros out of
11423 * include/resolv.h [_RESOLV_H_]:
11424 Don't include <tls.h>.
11425 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11426 * resolv/res_libc.c: Don't include <tls.h>.
11427 (_res): Use __attribute__ ((nocommon)) in place of
11428 __attribute__ ((section (".bss"))).
11430 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11431 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11433 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11435 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11436 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11438 * resolv/res_mkquery.c: Include <sys/time.h>.
11440 * inet/ifreq.c: Moved to ...
11441 * sysdeps/unix/ifreq.c: ... here.
11442 * inet/ifreq.c: New file, true stub version.
11444 * socket/sa_len.c: New file.
11445 * socket/Makefile (aux): Add it.
11446 * sysdeps/unix/sysv/linux/Makefile
11447 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11448 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11449 and #include <socket/sa_len.c>.
11450 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11451 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11453 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11454 * bits/socket.h: ... here.
11456 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11457 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11458 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11460 2013-08-27 Andreas Schwab <schwab@suse.de>
11463 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11464 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11465 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11466 * string/test-strcasecmp.c (test_main): Run tests in several
11468 * string/test-strncasecmp.c (test_main): Likewise.
11470 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11471 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11472 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11474 (__strncasecmp_ssse3) [PIC]: Likewise.
11476 2013-08-26 Roland McGrath <roland@hack.frob.com>
11478 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11480 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11481 instead of explicitly declaring xdecrypt.
11482 * nis/nss_nis/nis-publickey.c: Likewise.
11484 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11487 * nscd/aicache.c: Include res_hconf.h.
11488 (addhstaiX): Initialize res_hconf.
11490 2013-08-26 Andreas Schwab <schwab@suse.de>
11492 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11493 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11495 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11497 * nscd/aicache.c (addhstaiX): Fix indentation.
11499 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11501 * configure.ac: Quote $build_pt_chown test.
11502 * configure: Regenerated.
11504 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11507 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11508 * math/s_cexpf.c (__cexpf): Likewise.
11509 * math/s_cexpl.c (__cexpl): Likewise.
11510 * math/libm-test.inc (cexp_test_data): Correct expected return
11511 value for NaN + i0. Add another test.
11513 2013-08-22 David S. Miller <davem@davemloft.net>
11515 * po/ca.po: Update Catalan translation from translation project.
11516 * po/uk.po: Add Ukrainian translations from translation project.
11518 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11521 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11522 is infinite, not alongside NaN test.
11523 * math/s_fdimf.c (__fdimf): Likewise.
11524 * math/s_fdiml.c (__fdiml): Likewise.
11525 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11526 errno is unchanged.
11528 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11530 * argp/argp-help.c: Fix typos.
11531 * crypt/speeds.c: Likewise.
11532 * csu/check_fds.c: Likewise.
11533 * elf/dl-load.c: Likewise.
11534 * elf/dl-open.c: Likewise.
11535 * elf/reldep3.c: Likewise.
11536 * elf/reldep.c: Likewise.
11537 * elf/sprof.c: Likewise.
11538 * iconv/iconv_charmap.c: Likewise.
11539 * iconv/skeleton.c: Likewise.
11540 * iconv/strtab.c: Likewise.
11541 * io/lockf64.c: Likewise.
11542 * libio/libioP.h: Likewise.
11543 * resolv/gai_notify.c: Likewise.
11544 * resolv/ns_name.c: Likewise.
11545 * resolv/ns_samedomain.c: Likewise.
11546 * resolv/res_send.c: Likewise.
11547 * stdlib/random.c: Likewise.
11548 * sunrpc/rpc/xdr.h: Likewise.
11549 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11550 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11551 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11552 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11553 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11554 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11555 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11556 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11557 * sysdeps/mach/hurd/check_fds.c: Likewise.
11558 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11559 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11560 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11561 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11562 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11563 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11564 * sysdeps/pthread/aio_notify.c: Likewise.
11565 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11566 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11567 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11568 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11569 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11571 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11573 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11574 version if bit_Slow_SSE4_2 is set.
11575 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11576 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11578 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11581 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11582 trampoline stack frame information.
11583 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11584 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11585 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11586 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11587 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11588 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11589 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11590 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11592 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11593 interrupting a syscall and set with option SA_SIGINFO.
11595 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11598 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11599 argument is infinite.
11600 * math/s_cprojf.c (__cprojf): Likewise.
11601 * math/s_cprojl.c (__cprojl): Likewise.
11602 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11603 * math/libm-test.inc (cproj_test_data): Add more tests.
11605 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11607 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11608 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11609 size. Use __ffs to determine corresponding shift.
11611 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11612 Roland McGrath <roland@hack.frob.com>
11614 * Makefile (INSTALL): Remove trailing blank lines from output of
11617 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11619 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11620 Align 32 bit compat elf_greg to 8 bytes.
11622 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11624 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11626 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11628 * string/strcoll_l.c (coll_seq): New structure.
11629 (get_next_seq_cached): New function.
11630 (get_next_seq): New function.
11631 (do_compare): New function.
11632 (STRCOLL): Use GNU style definition. Simplify implementation
11633 by using get_next_seq, get_next_seq_cached and do_compare.
11635 2013-08-16 Florian Weimer <fweimer@redhat.com>
11639 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11641 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11643 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11644 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11645 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11647 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11648 GETDENTS_64BIT_ALIGNED.
11649 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11650 * manual/filesys.texi (Reading/Closing Directory): Document
11651 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11653 * manual/conf.texi (Limits for Files): Add portability note to
11654 NAME_MAX, PATH_MAX.
11655 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11657 2013-08-13 Andreas Schwab <schwab@suse.de>
11660 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11662 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11663 LDBL_MAX_EXP >= 16384]: Add tests for it.
11665 2013-08-12 David S. Miller <davem@davemloft.net>
11667 * version.h (RELEASE): Set to "development".
11668 (VERSION): Set to "2.18.90".
11669 * NEWS: Add 2.19 section.
11671 2013-08-03 David S. Miller <davem@davemloft.net>
11673 * po/ko.po: Update Korean translation from translation project.
11675 2013-08-01 David S. Miller <davem@davemloft.net>
11677 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11678 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11681 2013-07-30 David S. Miller <davem@davemloft.net>
11683 * po/fr.po: Update French translation from translation project.
11685 2013-07-28 David S. Miller <davem@davemloft.net>
11687 * po/cs.po: Update Czech translation from translation project.
11689 * po/sv.po: Update Swedish translation from translation project.
11691 2013-07-27 David S. Miller <davem@davemloft.net>
11693 * po/eo.po: Update Esperanto translation from translation project.
11695 * po/vi.po: Update Vietnamese translation from translation project.
11697 * po/de.po: Update German translation from translation project.
11699 2013-07-26 David S. Miller <davem@davemloft.net>
11701 * po/bg.po: Update Bulgarian translation from translation project.
11703 * po/nl.po: Update Dutch translation from translation project.
11704 * po/pl.po: Update Polish translation from translation project.
11705 * po/ru.po: Update Russian translation from translation project.
11707 2013-07-24 David S. Miller <davem@davemloft.net>
11709 * po/libc.pot: Update.
11711 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11713 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11714 variable page size.
11715 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11716 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11717 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11719 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11721 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11723 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11724 Andreas Schwab <schwab@suse.de>
11725 Roland McGrath <roland@hack.frob.com>
11726 Joseph Myers <joseph@codesourcery.com>
11727 Carlos O'Donell <carlos@redhat.com>
11730 * config.h.in: Define HAVE_PT_CHOWN.
11731 * config.make.in (build-pt-chown): New variable.
11732 * configure.in (--enable-pt_chown): New configure option.
11733 * configure: Regenerate.
11734 * login/Makefile: Include Makeconfig. Build pt_chown only if
11735 build-pt-chown is enabled.
11736 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11737 pt_chown to fix pty ownership.
11738 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11740 * manual/install.texi (Configuring and compiling): Mention
11741 --enable-pt_chown. Add @findex for grantpt.
11742 * INSTALL: Regenerate.
11744 2013-07-20 David S. Miller <davem@davemloft.net>
11746 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11747 difference between 32-bit and 64-bit.
11749 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11752 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11753 Avoid system header dependency with -ffreestanding.
11754 ($(objpfx)bits/syscall%d): Likewise.
11756 2013-07-13 David S. Miller <davem@davemloft.net>
11758 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11759 underflows from atanl/atan2l due to bug 15319.
11760 (casinh_test_data): Likewise.
11762 2013-07-07 David S. Miller <davem@davemloft.net>
11764 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11766 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11768 * sysdeps/i386/fpu/libm-test-ulps: Update.
11769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11771 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11773 * configure.in (--enable-lock-elision): Fix message text.
11774 * INSTALL: Regenerate.
11775 * configure: Regenerate.
11777 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11781 2013-07-03 Andreas Jaeger <aj@suse.de>
11783 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11785 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11786 (ptrace_peeksiginfo_args): Add.
11787 (__ptrace_peeksiginfo_flags): Add.
11788 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11789 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11790 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11792 2013-07-03 Allan McRae <allan@archlinux.org>
11794 * sysdeps/i386/fpu/libm-test-ulps: Update.
11796 2013-07-02 David S. Miller <davem@davemloft.net>
11798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11800 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11804 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11806 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11809 2013-07-02 Andi Kleen <ak@linux.intel.com>
11811 * config.h.in (ENABLE_LOCK_ELISION): Add.
11812 * configure.in (--enable-lock-elision): Add option.
11813 * manual/install.texi: Document --enable lock elision.
11814 * configure: Regenerate
11815 * INSTALL: Regenerate.
11817 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11819 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11820 SSE4.2 strcasecmp for libc.a.
11821 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11823 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11826 * soft-fp/op-common.h (_FP_FMA): New macro.
11827 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11828 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11829 (_FP_MUL_MEAT_1_imm): ... here.
11830 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11831 (_FP_MUL_MEAT_1_wide): ... here.
11832 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11833 (_FP_MUL_MEAT_1_hard): ... here.
11834 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11835 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11836 (_FP_MUL_MEAT_2_wide): ... here.
11837 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11838 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11839 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11840 (_FP_MUL_MEAT_2_gmp): ... here.
11841 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11842 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11843 (_FP_MUL_MEAT_4_wide): ... here.
11844 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11845 (_FP_MUL_MEAT_4_gmp): ... here.
11846 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11847 (_FP_WFRACBITS_DW_S): Likewise.
11848 (_FP_WFRACXBITS_DW_S): Likewise.
11849 (_FP_HIGHBIT_DW_S): Likewise.
11850 (FP_FMA_S): Likewise.
11851 (_FP_FRAC_HIGH_DW_S): Likewise.
11852 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11853 (_FP_WFRACBITS_DW_D): Likewise.
11854 (_FP_WFRACXBITS_DW_D): Likewise.
11855 (_FP_HIGHBIT_DW_D): Likewise.
11856 (FP_FMA_D): Likewise.
11857 (_FP_FRAC_HIGH_DW_D): Likewise.
11858 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11859 (_FP_WFRACBITS_DW_E): Likewise.
11860 (_FP_WFRACXBITS_DW_E): Likewise.
11861 (_FP_HIGHBIT_DW_E): Likewise.
11862 (FP_FMA_E): Likewise.
11863 (_FP_FRAC_HIGH_DW_E): Likewise.
11864 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11865 (_FP_WFRACBITS_DW_Q): Likewise.
11866 (_FP_WFRACXBITS_DW_Q): Likewise.
11867 (_FP_HIGHBIT_DW_Q): Likewise.
11868 (FP_FMA_Q): Likewise.
11869 (_FP_FRAC_HIGH_DW_Q): Likewise.
11870 * soft-fp/fmasf4.c: New file.
11871 * soft-fp/fmadf4.c: Likewise.
11872 * soft-fp/fmatf4.c: Likewise.
11874 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11877 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11879 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11881 (index_Slow_SSE4_2): Likewise.
11882 (index_Prefer_PMINUB_for_stringop): Likewise.
11883 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11884 bit_Slow_SSE4_2 is set.
11885 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11886 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11888 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11890 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11891 rtld_global._dl_hwcap2.
11892 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11894 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11895 POWER8 feature descriptions defined in _dl_hwcap2.
11896 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11897 string handling for POWER8 feature bits.
11898 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11899 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11900 _dl_powerpc_cap_flags.
11901 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11902 * sysdeps/powerpc/rtld-global-offsets.sym
11903 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11904 _dl_hwcap2 in the rtld_global_ro structure.
11906 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11908 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11909 hardware capabilities in support of AT_HWCAP2.
11910 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11911 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11913 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11914 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11915 explicitly the unknown a_type display mechanism is used.
11916 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11917 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11919 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11920 to macro prototype for AT_HWCAP2 support.
11921 * sysdeps/i386/dl-procinfo.h: Likewise.
11922 * sysdeps/s390/dl-procinfo.h: Likewise.
11923 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11924 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11925 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11926 return -1 for unknown a_type display fallback.
11927 * sysdeps/sparc/dl-procinfo.h: Likewise.
11928 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11929 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11931 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11933 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11934 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11936 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11939 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11940 mprotect making __stack_prot writable.
11942 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11943 Joseph Myers <joseph@codesourcery.com>
11945 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11946 as being properly aligned.
11948 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11950 * dlfcn/modstatic5.c: New file.
11951 * dlfcn/tststatic5.c: New file.
11952 * dlfcn/Makefile (tests): Add tststatic5.
11953 (tests-static): Likewise.
11954 (modules-names): Add modstatic5.
11955 (tststatic5-ENV): New variable.
11956 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11959 * elf/dl-support.c (_dl_main_map): New variable.
11960 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11961 (_dl_nns, _dl_load_adds): Set to 1.
11962 (_dl_initial_searchlist): Refer to _dl_main_map.
11963 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11964 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11965 call to _dl_get_origin.
11966 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11968 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11969 * dlfcn/modstatic3.c: New file.
11970 * dlfcn/tststatic3.c: New file.
11971 * dlfcn/tststatic4.c: New file.
11972 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11973 (tests-static): Likewise.
11974 (modules-names): Add modstatic3.
11975 (tststatic3-ENV, tststatic4-ENV): New variables.
11976 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11977 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11979 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11981 * configure.in (CC): Require GCC version 4.4 or later.
11982 * configure: Regenerated.
11983 * manual/install.texi (Tools for Compilation): Update GCC version
11985 * INSTALL: Regenerated.
11987 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11990 * string/test-memcmp.c (check2): New.
11991 (main): Call check2.
11993 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11995 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11998 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12000 (dl_open_worker) [!SHARED]: ... here.
12002 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12004 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12006 2013-06-25 Richard Henderson <rth@redhat.com>
12008 * locale/programs/locarchive.c: Include <libc-internal.h>
12010 2013-06-25 Joseph Myers <joseph@codesourcery.com>
12012 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12013 trailing whitespace removed.
12015 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12018 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12019 * locale/programs/locarchive.c: Include libc-mmap.h.
12020 (prepare_address_space): Take two new outputs (the mmap base and len).
12021 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12023 (create_archive): Declare new mmap base and len values for
12024 prepare_address_space, and store the result in ah.
12025 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12026 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12027 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12028 Declare new mmap base and len values for
12029 prepare_address_space, and store the result in new_ah.
12030 (open_archive): Declare new mmap base and len values for
12031 prepare_address_space, and store the result in ah.
12032 (close_archive): If ah->mmap_base is not NULL, use that and
12033 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12034 * sysdeps/generic/libc-mmap.h: New file.
12036 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12038 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12039 (ALIGN_UP): Likewise.
12040 (PTR_ALIGN_DOWN): Likewise.
12041 (PTR_ALIGN_UP): Likewise.
12043 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12045 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12046 entry mapped to PPC_PLATFORM_POWER8.
12047 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12049 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12050 (_dl_string_platform): Add case for exporting platform position for
12052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12053 search path to sysdeps/powerpc/powerpc32/power8 directory.
12054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12055 search path to sysdeps/powerpc/powerpc64/power8 directory.
12056 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12057 power7 directories.
12058 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12059 power7 directories.
12061 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12063 * INSTALL: Regenerate.
12065 * nscd/connections.c (nscd_init): Fix comment.
12067 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12069 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12072 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12073 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12075 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12077 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12079 (DL_DST_REQ_STATIC): Remove macro.
12081 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12084 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12085 with a shift of 0 bits.
12087 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12089 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12092 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12095 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12097 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12099 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12100 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12101 accepts -fno-tree-loop-distribute-patterns.
12102 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12103 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12105 * string/memset.c (memset): Likewise.
12106 * string/test-memmove.c (simple_memmove): Disable loop transformation
12108 * string/test-memset.c (simple_memset): Likewise.
12109 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12110 * benchtests/bench-memset.c (simple_memset): Likewise.
12111 * configure: Regenerated.
12113 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12115 * math/test-misc.c (main): Ignore fesetround failure when failures
12116 of subsequent rounding tests would be ignored.
12119 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12120 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12121 * math/fegetenv.c (__fegetenv): Return 0.
12122 * math/fegetexcept.c (fegetexcept): Return 0.
12123 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12125 * math/feholdexcpt.c (feholdexcept): Return 0.
12126 * math/fesetenv.c (__fesetenv): Return 0.
12127 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12128 argument FE_TONEAREST.
12129 * math/feupdateenv.c (__feupdateenv): Return 0.
12130 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12132 2013-06-18 Roland McGrath <roland@hack.frob.com>
12134 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12135 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12136 ($(objpfx)rtld-%.os rules): Use them.
12138 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12140 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12143 2013-06-17 Roland McGrath <roland@hack.frob.com>
12145 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12146 length of target pattern, then descending length of dependency pattern.
12147 * configure.in (AWK): Require gawk 3.1.2 or newer.
12148 * manual/install.texi (Tools for Compilation): Say that we do.
12149 * configure: Regenerated.
12151 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12152 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12153 * scripts/sysd-rules.awk: ... this new script.
12154 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12155 than a glob-style pattern.
12157 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12159 * math/test-misc.c (main): Do not treat incorrectly rounded
12160 conversions as failure unless ROUNDING_TESTS passes.
12162 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12165 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12166 restore exception state around main square root computation, then
12167 check for inexactness explicitly.
12169 * math/libm-test.inc (fma_test_data): Add another test.
12171 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12173 * manual/threads.texi (Non-POSIX Extensions): New document
12174 node. Document pthread_getattr_default_np and
12175 pthread_setattr_default_np.
12177 * Versions.def (libpthread): Add GLIBC_2.18.
12178 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12187 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12198 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12201 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12203 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12204 H.J. Lu <hjl.tools@gmail.com>
12207 * sysdeps/x86_64/rtld-memset.c: Remove file.
12208 * sysdeps/x86_64/rtld-memset.S: New file.
12210 2013-06-14 Joseph Myers <joseph@codesourcery.com>
12212 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12213 (test_in_one_mode): Take arguments for whether the rounding mode
12214 is supported for each floating-point type.
12215 (do_test): Pass new arguments to test_in_one_mode using
12218 2013-06-13 Roland McGrath <roland@hack.frob.com>
12220 * posix/tst-waitid.c (do_test): Distinguish different instances of
12221 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12222 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12223 before entering the kernel for waitpid.
12225 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12227 * NEWS: Fix note on clock function precision. Text by Roland
12230 2013-06-13 Roland McGrath <roland@hack.frob.com>
12232 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12233 it into place only when and if the sanity check passes.
12235 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12237 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12238 output for whether conversion result is exact. Take argument
12239 indicating whether type is IBM long double.
12240 (round_for_all): Change need_exact field to ibm_ld.
12241 * stdlib/tst-strtod-round.c (struct exactness): New type.
12242 (struct test): Change bool ld_ok field to struct exactness exact.
12243 (TEST): Update all definitions for change to field.
12244 (tests): Regenerate array contents.
12245 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12246 field value. Check for IBM long double here.
12247 (do_test): Update calls to test_in_one_mode.
12249 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12252 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12253 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12255 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12258 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12259 generated by the compiler on loop optimizations.
12260 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12261 general definitions.
12263 2013-06-12 Joseph Myers <joseph@codesourcery.com>
12265 * math/bug-nextafter.c: Include <math-tests.h>.
12266 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12268 * math/bug-nexttoward.c: Include <math-tests.h>.
12269 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12271 * math/test-misc.c: Include <math-tests.h>.
12272 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12275 2013-06-12 Andreas Jaeger <aj@suse.de>
12277 * po/ia.po: Update Interlingua translation from translation
12280 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12282 * include/fenv.h: Include stdbool.h.
12283 (struct rm_ctx): New structure.
12284 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12286 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12287 (SET_RESTORE_ROUNDF): Likewise.
12288 (SET_RESTORE_ROUNDL): Likewise.
12289 (SET_RESTORE_ROUND_NOEX): Likewise.
12290 (SET_RESTORE_ROUND_NOEXF): Likewise.
12291 (SET_RESTORE_ROUND_NOEXL): Likewise.
12292 (SET_RESTORE_ROUND_53BIT): Likewise.
12293 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12294 (libc_feresetround_noexf_ctx): Likewise.
12295 (libc_feresetround_noexl_ctx): Likewise.
12296 (libc_feholdsetround_53bit_ctx): Likewise.
12297 (libc_feresetround_53bit_ctx): Likewise.
12298 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12299 (libc_feholdexcept_setround_sse_ctx): New function.
12300 (libc_fesetenv_sse_ctx): Likewise.
12301 (libc_feupdateenv_sse_ctx): Likewise.
12302 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12303 (libc_feholdexcept_setround_387_ctx): Likewise.
12304 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12305 (libc_feholdsetround_387_prec_ctx): Likewise.
12306 (libc_feholdsetround_387_ctx): Likewise.
12307 (libc_feholdsetround_387_53bit_ctx): Likewise.
12308 (libc_feholdsetround_sse_ctx): Likewise.
12309 (libc_feresetround_sse_ctx): Likewise.
12310 (libc_feresetround_387_ctx): Likewise.
12311 (libc_feupdateenv_387_ctx): Likewise.
12312 (libc_feholdexcept_setroundf_ctx): Define macro.
12313 (libc_fesetenvf_ctx): Likewise.
12314 (libc_feupdateenvf_ctx): Likewise.
12315 (libc_feholdsetroundf_ctx): Likewise.
12316 (libc_feresetroundf_ctx): Likewise.
12317 (libc_feholdexcept_setround_ctx): Likewise.
12318 (libc_fesetenv_ctx): Likewise.
12319 (libc_feupdateenv_ctx): Likewise.
12320 (libc_feholdsetround_ctx): Likewise.
12321 (libc_feresetround_ctx): Likewise.
12322 (libc_feholdexcept_setroundl_ctx): Likewise.
12323 (libc_feupdateenvl_ctx): Likewise.
12324 (libc_feholdsetroundl_ctx): Likewise.
12325 (libc_feresetroundl_ctx): Likewise.
12326 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12327 (libc_feresetround_53bit_ctx): Likewise.
12329 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12331 * locale/iso-639.def: Convert to UTF-8.
12333 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12335 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12336 (EXCEPTION_TESTS_double): Likewise.
12337 (EXCEPTION_TESTS_long_double): Likewise.
12338 (EXCEPTION_TESTS): Likewise.
12339 * math/libm-test.inc (test_exceptions): Only test exceptions if
12340 EXCEPTION_TESTS (FLOAT).
12342 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12344 * benchtests/Makefile (string-bench): Add strcpy_chk and
12346 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12347 * benchtests/bench-stpcpy_chk.c: New file.
12348 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12349 * benchtests/bench-strcpy_chk.c: New file.
12350 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12352 (do_test): Likewise.
12354 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12356 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12357 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12358 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12359 with tabs where appropriate.
12360 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12362 [PPC_PLATFORM_PPC440]: Likewise.
12363 [PPC_PLATFORM_PPC464]: Likewise.
12364 [PPC_PLATFORM_PPC476]: Likewise.
12365 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12366 ppc464, and ppc476 platform strings merging from ports/
12369 2013-06-11 Andreas Schwab <schwab@suse.de>
12372 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12373 (from_ucs4_idx): Regenerate.
12374 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12375 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12376 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12377 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12378 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12379 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12380 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12381 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12382 from FROM_LOOP and TO_LOOP specific macros.
12383 (BODY): Handle combining characters.
12384 * iconvdata/BIG5HKSCS.irreversible: Update.
12385 * iconvdata/BIG5HKSCS.precomposed: New file.
12386 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12388 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12390 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12392 * include/sys/time.h: Fix indentation and add copyright header.
12394 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12395 (do_test): Likewise.
12396 * string/test-memchr.c (do_one_test): Likewise.
12397 (do_test): Likewise.
12398 * string/test-memcmp.c (do_one_test): Likewise.
12399 (do_test): Likewise.
12400 * string/test-memcpy.c (do_one_test): Likewise.
12401 (do_test): Likewise.
12402 * string/test-memmem.c (do_one_test): Likewise.
12403 (do_test): Likewise.
12404 (do_random_tests): Likewise.
12405 * string/test-memmove.c (do_one_test): Likewise.
12406 (do_test): Likewise.
12407 * string/test-memset.c (do_one_test): Likewise.
12408 (do_test): Likewise.
12409 * string/test-rawmemchr.c (do_one_test): Likewise.
12410 (do_test): Likewise.
12411 * string/test-strcasecmp.c (do_one_test): Likewise.
12412 (do_test): Likewise.
12413 * string/test-strcasestr.c (do_one_test): Likewise.
12414 (do_test): Likewise.
12415 * string/test-strcat.c (do_one_test): Likewise.
12416 (do_test): Likewise.
12417 * string/test-strchr.c (do_one_test): Likewise.
12418 (do_test): Likewise.
12419 * string/test-strcmp.c (do_one_test): Likewise.
12420 (do_test): Likewise.
12421 * string/test-strcpy.c (do_one_test): Likewise.
12422 (do_test): Likewise.
12423 * string/test-string.h: Likewise.
12424 (test_init): Likewise.
12425 * string/test-strlen.c (do_one_test): Likewise.
12426 (do_test): Likewise.
12427 * string/test-strncasecmp.c (do_one_test): Likewise.
12428 (do_test): Likewise.
12429 * string/test-strncat.c (do_one_test): Likewise.
12430 (do_test): Likewise.
12431 * string/test-strncmp.c (do_one_test): Likewise.
12432 (do_test_limit): Likewise.
12433 (do_test): Likewise.
12434 * string/test-strncpy.c (do_one_test): Likewise.
12435 (do_test): Likewise.
12436 * string/test-strnlen.c (do_one_test): Likewise.
12437 (do_test): Likewise.
12438 * string/test-strpbrk.c (do_one_test): Likewise.
12439 (do_test): Likewise.
12440 * string/test-strrchr.c (do_one_test): Likewise.
12441 (do_test): Likewise.
12442 * string/test-strspn.c (do_one_test): Likewise.
12443 (do_test): Likewise.
12444 * string/test-strstr.c (do_one_test): Likewise.
12445 (do_test): Likewise.
12447 * benchtests/Makefile (string-bench): Add string benchmarks.
12448 * benchtests/bench-bcopy-ifunc.c: New file.
12449 * benchtests/bench-bcopy.c: New file.
12450 * benchtests/bench-bzero-ifunc.c: New file.
12451 * benchtests/bench-bzero.c: New file.
12452 * benchtests/bench-memccpy-ifunc.c: New file.
12453 * benchtests/bench-memccpy.c: New file.
12454 * benchtests/bench-memchr-ifunc.c: New file.
12455 * benchtests/bench-memchr.c: New file.
12456 * benchtests/bench-memcmp-ifunc.c: New file.
12457 * benchtests/bench-memcmp.c: New file.
12458 * benchtests/bench-memmem-ifunc.c: New file.
12459 * benchtests/bench-memmem.c: New file.
12460 * benchtests/bench-memmove-ifunc.c: New file.
12461 * benchtests/bench-memmove.c: New file.
12462 * benchtests/bench-mempcpy-ifunc.c: New file.
12463 * benchtests/bench-mempcpy.c: New file.
12464 * benchtests/bench-memset-ifunc.c: New file.
12465 * benchtests/bench-memset.c: New file.
12466 * benchtests/bench-rawmemchr-ifunc.c: New file.
12467 * benchtests/bench-rawmemchr.c: New file.
12468 * benchtests/bench-stpcpy-ifunc.c: New file.
12469 * benchtests/bench-stpcpy.c: New file.
12470 * benchtests/bench-stpncpy-ifunc.c: New file.
12471 * benchtests/bench-stpncpy.c: New file.
12472 * benchtests/bench-strcasecmp-ifunc.c: New file.
12473 * benchtests/bench-strcasecmp.c: New file.
12474 * benchtests/bench-strcasestr-ifunc.c: New file.
12475 * benchtests/bench-strcasestr.c: New file.
12476 * benchtests/bench-strcat-ifunc.c: New file.
12477 * benchtests/bench-strcat.c: New file.
12478 * benchtests/bench-strchr-ifunc.c: New file.
12479 * benchtests/bench-strchr.c: New file.
12480 * benchtests/bench-strchrnul-ifunc.c: New file.
12481 * benchtests/bench-strchrnul.c: New file.
12482 * benchtests/bench-strcmp-ifunc.c: New file.
12483 * benchtests/bench-strcmp.c: New file.
12484 * benchtests/bench-strcpy-ifunc.c: New file.
12485 * benchtests/bench-strcpy.c: New file.
12486 * benchtests/bench-strcspn-ifunc.c: New file.
12487 * benchtests/bench-strcspn.c: New file.
12488 * benchtests/bench-strlen-ifunc.c: New file.
12489 * benchtests/bench-strlen.c: New file.
12490 * benchtests/bench-strncasecmp-ifunc.c: New file.
12491 * benchtests/bench-strncasecmp.c: New file.
12492 * benchtests/bench-strncat-ifunc.c: New file.
12493 * benchtests/bench-strncat.c: New file.
12494 * benchtests/bench-strncmp-ifunc.c: New file.
12495 * benchtests/bench-strncmp.c: New file.
12496 * benchtests/bench-strncpy-ifunc.c: New file.
12497 * benchtests/bench-strncpy.c: New file.
12498 * benchtests/bench-strnlen-ifunc.c: New file.
12499 * benchtests/bench-strnlen.c: New file.
12500 * benchtests/bench-strpbrk-ifunc.c: New file.
12501 * benchtests/bench-strpbrk.c: New file.
12502 * benchtests/bench-strrchr-ifunc.c: New file.
12503 * benchtests/bench-strrchr.c: New file.
12504 * benchtests/bench-strspn-ifunc.c: New file.
12505 * benchtests/bench-strspn.c: New file.
12506 * benchtests/bench-strstr-ifunc.c: New file.
12507 * benchtests/bench-strstr.c: New file.
12509 * benchtests/Makefile: Disable parallel execution of targets.
12510 (string-bench): Add memcpy.
12511 (benchset): New variable to store a list of benchmark sets.
12512 (bench-func): Renamed from bench.
12513 (bench-set): New target.
12514 (bench): Depend on bench-func and bench-set.
12515 * benchtests/README: Add section on benchmark sets.
12516 * benchtests/bench-memcpy-ifunc.c: New file.
12517 * benchtests/bench-memcpy.c: New file.
12518 * benchtests/bench-string.h: New file.
12520 2013-06-11 Andreas Schwab <schwab@suse.de>
12523 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12524 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12525 values in the triple.
12526 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12527 terminator in the group key.
12529 2013-06-11 Andreas Jaeger <aj@suse.de>
12531 * po/zh_TW.po: Update Chinese (traditional) translation from
12532 translation project.
12534 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12536 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12537 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12538 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12539 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12540 (clock_getcpuclockid): Likewise.
12541 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12542 Add weak_alias and libc_hidden_def.
12543 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12544 * rt/clock_gettime.c (clock_gettime): Rename to
12545 __clock_gettime. Add weak_alias and libc_hidden_def.
12546 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12547 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12548 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12549 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12550 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12552 * rt/clock_settime.c (clock_settime): Rename to
12553 __clock_settime. Add weak_alias and libc_hidden_def.
12554 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12556 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12558 * mach/err_boot.sub: Remove trailing whitespace.
12559 * mach/err_ipc.sub: Likewise.
12560 * mach/err_mach.sub: Likewise.
12562 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12563 (ROUNDING_TESTS_double): Likewise.
12564 (ROUNDING_TESTS_long_double): Likewise.
12565 (ROUNDING_TESTS): Likewise.
12566 * math/libm-test.inc: Include <math-tests.h>.
12567 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12568 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12569 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12570 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12572 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12574 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12577 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12579 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12580 otherwise empty TRANS lines.
12581 * sysdeps/gnu/errlist.c: Regenerated.
12583 * catgets/gencat.c (error_print): Use (void) in function
12585 * crypt/crypt_util.c (__init_des): Likewise.
12586 * crypt/speeds.c (Stop): Likewise.
12588 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12589 * inet/ruserpass.c (token): Likewise.
12590 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12591 * intl/localealias.c (extend_alias_table): Likewise.
12592 * intl/plural-exp.c (init_germanic_plural): Likewise.
12593 * libio/fcloseall.c (__fcloseall): Likewise.
12594 * libio/genops.c (_IO_flush_all): Likewise.
12595 (_IO_flush_all_linebuffered): Likewise.
12596 (_IO_cleanup): Likewise.
12597 (_IO_iter_begin): Likewise.
12598 (_IO_iter_end): Likewise.
12599 (_IO_list_lock): Likewise.
12600 (_IO_list_unlock): Likewise.
12601 (_IO_list_resetlock): Likewise.
12602 * libio/getchar.c (getchar): Likewise.
12603 * libio/getchar_u.c (getchar_unlocked): Likewise.
12604 * libio/getwchar.c (getwchar): Likewise.
12605 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12606 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12607 * login/getpt.c (__getpt): Likewise.
12608 * login/tst-utmp.c (main): Likewise.
12609 * malloc/hooks.c (__malloc_check_init): Likewise.
12610 * malloc/malloc.c (__malloc_stats): Likewise.
12611 * malloc/mtrace.c (tr_break): Likewise.
12612 (mtrace): Likewise.
12613 (muntrace): Likewise.
12614 * misc/fstab.c (endfsent): Likewise.
12615 * misc/getclktck.c (__getclktck): Likewise.
12616 * misc/getdtsz.c (__getdtablesize): Likewise.
12617 * misc/gethostid.c (gethostid): Likewise.
12618 * misc/getpagesize.c (__getpagesize): Likewise.
12619 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12620 (__get_nprocs): Likewise.
12621 (__get_phys_pages): Likewise.
12622 (__get_avphys_pages): Likewise.
12623 * misc/getttyent.c (getttyent): Likewise.
12624 (setttyent): Likewise.
12625 (endttyent): Likewise.
12626 * misc/getusershell.c (getusershell): Likewise.
12627 (endusershell): Likewise.
12628 (setusershell): Likewise.
12629 (initshells): Likewise.
12630 * misc/hsearch.c (__hdestroy): Likewise.
12631 * misc/sync.c (sync): Likewise.
12632 * misc/syslog.c (closelog_internal): Likewise.
12633 (closelog): Likewise.
12634 * misc/ttyslot.c (ttyslot): Likewise.
12635 * misc/vhangup.c (vhangup): Likewise.
12636 * posix/fork.c (__fork): Likewise.
12637 * posix/getegid.c (__getegid): Likewise.
12638 * posix/geteuid.c (__geteuid): Likewise.
12639 * posix/getgid.c (__getgid): Likewise.
12640 * posix/getpid.c (__getpid): Likewise.
12641 * posix/getppid.c (__getppid): Likewise.
12642 * posix/getuid.c (__getuid): Likewise.
12643 * posix/pause.c (pause): Likewise.
12644 * posix/setpgrp.c (setpgrp): Likewise.
12645 * posix/setsid.c (__setsid): Likewise.
12646 * posix/test-vfork.c (noop): Likewise.
12647 * resolv/gethnamaddr.c (_endhtent): Likewise.
12648 (_gethtent): Likewise.
12649 (ht_endhostent): Likewise.
12650 (gethostent): Likewise.
12651 (dns_service): Likewise.
12652 * stdlib/drand48.c (drand48): Likewise.
12653 * stdlib/lrand48.c (lrand48): Likewise.
12654 * stdlib/mrand48.c (mrand48): Likewise.
12655 * stdlib/rand.c (rand): Likewise.
12656 * stdlib/random.c (__random): Likewise.
12657 * stdlib/setenv.c (clearenv): Likewise.
12658 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12659 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12660 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12661 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12662 (__get_nprocs): Likewise.
12663 (__get_phys_pages): Likewise.
12664 (__get_avphys_pages): Likewise.
12665 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12666 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12667 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12668 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12669 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12670 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12671 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12672 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12673 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12674 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12675 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12676 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12677 * sysdeps/posix/clock.c (clock): Likewise.
12678 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12679 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12680 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12681 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12682 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12683 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12684 (__get_nprocs_conf): Likewise.
12685 (__get_phys_pages): Likewise.
12686 (__get_avphys_pages): Likewise.
12687 * time/clock.c (clock): Likewise.
12688 * time/tzset.c (__tzname_max): Likewise.
12690 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12692 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12693 (__bswap_32): Do not use "register".
12694 * crypt/crypt.c (_ufc_doit_r): Likewise.
12695 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12696 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12697 * gmon/gmon.c (__monstartup): Likewise.
12698 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12699 * hurd/hurdmalloc.c (more_memory): Likewise.
12700 (malloc): Likewise.
12702 (realloc): Likewise.
12703 (malloc_fork_prepare): Likewise.
12704 (malloc_fork_parent): Likewise.
12705 (malloc_fork_child): Likewise.
12706 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12707 (_svcauth_des): Likewise.
12708 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12709 * inet/inet_net.c (inet_network): Likewise.
12710 * inet/inet_netof.c (inet_netof): Likewise.
12711 * inet/rcmd.c (__validuser2_sa): Likewise.
12712 * io/fts.c (fts_open): Likewise.
12713 (fts_load): Likewise.
12714 (fts_close): Likewise.
12715 (fts_read): Likewise.
12716 (fts_children): Likewise.
12717 (fts_build): Likewise.
12718 (fts_stat): Likewise.
12719 (fts_sort): Likewise.
12720 (fts_alloc): Likewise.
12721 (fts_lfree): Likewise.
12722 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12723 (_IO_file_xsgetn): Likewise.
12724 (_IO_file_xsgetn_mmap): Likewise.
12725 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12726 (_IO_cookie_write): Likewise.
12727 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12728 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12729 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12730 * malloc/obstack.c (_obstack_begin): Likewise.
12731 (_obstack_begin_1): Likewise.
12732 (_obstack_newchunk): Likewise.
12733 (_obstack_allocated_p): Likewise.
12734 (obstack_free): Likewise.
12735 (_obstack_memory_used): Likewise.
12736 * misc/getttyent.c (getttynam): Likewise.
12737 (getttyent): Likewise.
12740 * misc/getusershell.c (initshells): Likewise.
12741 * misc/syslog.c (__vsyslog_chk): Likewise.
12742 * misc/ttyslot.c (ttyslot): Likewise.
12743 * nis/nis_hash.c (__nis_hash): Likewise.
12744 * posix/fnmatch_loop.c (FCT): Likewise.
12745 * posix/getconf.c (print_all): Likewise.
12747 * posix/getopt.c (exchange): Likewise.
12748 * posix/glob.c (globfree): Likewise.
12749 (prefix_array): Likewise.
12750 (__glob_pattern_type): Likewise.
12751 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12752 (NS_GET32): Likewise.
12753 (NS_PUT16): Likewise.
12754 (NS_PUT32): Likewise.
12755 * resolv/gethnamaddr.c (getanswer): Likewise.
12756 (gethostbyname2): Likewise.
12757 (gethostbyaddr): Likewise.
12758 (_gethtent): Likewise.
12759 (_gethtbyname2): Likewise.
12760 (_gethtbyaddr): Likewise.
12761 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12762 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12763 * resolv/res_init.c (__res_vinit): Likewise.
12764 (net_mask): Likewise.
12765 * resolv/res_mkquery.c (outchar): Likewise.
12767 * stdio-common/printf_fp.c (outchar): Likewise.
12769 * stdio-common/printf_fphex.c (outchar): Likewise.
12771 * stdio-common/printf_size.c (outchar): Likewise.
12773 * stdio-common/test_rdwr.c (main): Likewise.
12774 * stdio-common/tfformat.c (matches): Likewise.
12775 * stdio-common/vfprintf.c (outchar): Likewise.
12776 (printf_unknown): Likewise.
12777 (buffered_vfprintf): Likewise.
12778 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12779 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12780 (ReadFile): Likewise.
12781 * stdlib/qsort.c (SWAP): Likewise.
12782 (_quicksort): Likewise.
12783 * stdlib/setenv.c (__add_to_environ): Likewise.
12784 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12785 * stdlib/strtol_l.c (__strtol_l): Likewise.
12786 * stdlib/tst-strtod.c (main): Likewise.
12787 * stdlib/tst-strtol.c (main): Likewise.
12788 * stdlib/tst-strtoll.c (main): Likewise.
12789 * string/bits/string2.h (__strcmp_cc): Likewise.
12790 (__strcmp_cg): Likewise.
12791 (__strcspn_c1): Likewise.
12792 (__strcspn_c2): Likewise.
12793 (__strcspn_c3): Likewise.
12794 (__strspn_c1): Likewise.
12795 (__strspn_c2): Likewise.
12796 (__strspn_c3): Likewise.
12797 (__strsep_1c): Likewise.
12798 (__strsep_2c): Likewise.
12799 (__strsep_3c): Likewise.
12800 * string/memccpy.c (__memccpy): Likewise.
12801 * string/stpcpy.c (__stpcpy): Likewise.
12802 * string/strcmp.c (strcmp): Likewise.
12803 * string/strrchr.c (strrchr): Likewise.
12804 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12806 * sysdeps/mach/hurd/getcwd.c
12807 (_hurd_canonicalize_directory_name_internal): Likewise.
12808 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12809 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12810 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12811 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12812 Likewise, in both definitions.
12813 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12815 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12816 64] (__bswap_64): Likewise.
12817 * time/test_time.c (main): Likewise.
12818 * time/tzfile.c (__tzfile_read): Likewise.
12819 (__tzfile_compute): Likewise.
12820 * time/tzset.c (__tzset_parse_tz): Likewise.
12821 (tzset_internal): Likewise.
12822 (compute_change): Likewise.
12823 * wcsmbs/wcscat.c (__wcscat): Likewise.
12824 * wcsmbs/wcschr.c (wcschr): Likewise.
12825 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12826 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12827 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12828 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12829 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12830 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12831 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12832 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12833 * wcsmbs/wmemset.c (wmemset): Likewise.
12835 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12837 * scripts/config.guess: Update to version 2013-05-16.
12838 * scripts/config.sub: Update to version 2013-04-24.
12839 * scripts/install-sh: Update to version 2011-11-20.07.
12840 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12841 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12843 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12845 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12846 * elf/sln.c: Likewise.
12847 * hurd/hurd/ioctl.h: Likewise.
12848 * hurd/hurdmalloc.c: Likewise.
12849 * hurd/xattr.c: Likewise.
12850 * include/shlib-compat.h: Likewise.
12851 * inet/ruserpass.c: Likewise.
12852 * libio/iofgets_u.c: Likewise.
12853 * libio/iofgetws_u.c: Likewise.
12854 * locale/programs/ld-identification.c: Likewise.
12855 * locale/programs/ld-time.c: Likewise.
12856 * mach/msg-destroy.c: Likewise.
12857 * nss/nss_files/files-netgrp.c: Likewise.
12858 * resolv/res_data.c: Likewise.
12859 * soft-fp/op-1.h: Likewise.
12860 * soft-fp/op-2.h: Likewise.
12861 * soft-fp/op-4.h: Likewise.
12862 * soft-fp/op-common.h: Likewise.
12863 * stdio-common/printf_fphex.c: Likewise.
12864 * stdlib/strtod_l.c: Likewise.
12865 * sunrpc/rpc/clnt.h: Likewise.
12866 * sysdeps/generic/framestate.c: Likewise.
12867 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12868 * sysdeps/i386/bsd-setjmp.S: Likewise.
12869 * sysdeps/i386/__longjmp.S: Likewise.
12870 * sysdeps/i386/setjmp.S: Likewise.
12871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12872 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12873 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12874 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12875 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12876 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12878 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12879 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12880 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12881 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12882 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12883 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12884 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12885 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12886 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12887 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12888 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12889 * sysdeps/ieee754/support.c: Likewise.
12890 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12891 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12892 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12893 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12894 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12895 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12896 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12897 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12898 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12899 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12900 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12901 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12902 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12903 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12904 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12905 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12906 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12909 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12911 * posix/transbug.c: Remove executable mode.
12913 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12915 * crypt/speeds.c: Remove trailing whitespace.
12916 * dlfcn/default.c: Likewise.
12917 * elf/ifuncdep2.c: Likewise.
12918 * elf/ifuncmain1.c: Likewise.
12919 * elf/ifuncmain1vis.c: Likewise.
12920 * elf/testobj.h: Likewise.
12921 * elf/tst-stackguard1.c: Likewise.
12922 * gmon/sys/gmon.h: Likewise.
12923 * hurd/hurdmsg.c: Likewise.
12924 * hurd/new-fd.c: Likewise.
12925 * hurd/ports-get.c: Likewise.
12926 * iconvdata/ibm1008_420.c: Likewise.
12927 * inet/tst-getni1.c: Likewise.
12928 * inet/tst-getni2.c: Likewise.
12929 * libio/ioungetc.c: Likewise.
12930 * libio/wfiledoalloc.c: Likewise.
12931 * manual/libm-err-tab.pl: Likewise.
12932 * math/w_dremf.c: Likewise.
12933 * misc/ftruncate.c: Likewise.
12934 * posix/bug-glob2.c: Likewise.
12935 * posix/tst-pcre.c: Likewise.
12936 * posix/wait4.c: Likewise.
12937 * resolv/README: Likewise.
12938 * resolv/res_debug.h: Likewise.
12939 * resolv/tst-inet_ntop.c: Likewise.
12940 * setjmp/bug269-setjmp.c: Likewise.
12941 * soft-fp/extended.h: Likewise.
12942 * soft-fp/op-1.h: Likewise.
12943 * soft-fp/op-2.h: Likewise.
12944 * soft-fp/op-4.h: Likewise.
12945 * soft-fp/op-8.h: Likewise.
12946 * soft-fp/testit.c: Likewise.
12947 * stdio-common/bug16.c: Likewise.
12948 * stdlib/random.c: Likewise.
12949 * sunrpc/rpcsvc/rquota.x: Likewise.
12950 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12951 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12952 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12953 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12954 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12955 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12956 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12957 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12958 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12959 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12960 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12961 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12962 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12963 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12964 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12965 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12966 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12967 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12968 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12969 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12970 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12971 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12973 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12975 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12976 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12977 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12978 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12979 * sysdeps/ieee754/s_lib_version.c: Likewise.
12980 * sysdeps/mach/hurd/check_fds.c: Likewise.
12981 * sysdeps/mach/hurd/getsockname.c: Likewise.
12982 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12983 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12984 * sysdeps/powerpc/bits/link.h: Likewise.
12985 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12986 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12987 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12988 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12989 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12990 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12991 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12992 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12993 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12994 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12995 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12996 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12997 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12998 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12999 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13000 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13001 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13002 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13003 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13004 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13005 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13006 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13007 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13008 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13009 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13010 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13011 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13012 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13013 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13014 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13015 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13016 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13017 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13018 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13019 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13020 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13021 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13022 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13023 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13024 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13025 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13026 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13027 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13028 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13029 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13030 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13031 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13032 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13033 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13034 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13035 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13036 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13037 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13038 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13039 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13040 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13041 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13042 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13043 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13044 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13045 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13046 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13047 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13048 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13049 * sysdeps/powerpc/sysdep.h: Likewise.
13050 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13051 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13052 * sysdeps/sh/dl-trampoline.S: Likewise.
13053 * sysdeps/sh/memset.S: Likewise.
13054 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13055 * sysdeps/sh/strlen.S: Likewise.
13056 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13057 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13058 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13059 * sysdeps/sparc/sparc32/rem.S: Likewise.
13060 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13061 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13062 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13063 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13064 * sysdeps/sparc/sparc32/urem.S: Likewise.
13065 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13066 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13067 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13068 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13069 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13070 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13071 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13072 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13073 * sysdeps/unix/bsd/times.c: Likewise.
13074 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13075 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13079 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13080 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13081 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13082 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13083 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13084 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13085 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13086 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13087 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13088 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13089 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13090 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13091 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13092 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13093 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13094 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13095 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13096 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13097 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13098 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13099 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13100 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13101 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13102 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13103 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13104 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13105 * sysdeps/x86_64/strcspn.S: Likewise.
13107 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13109 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13110 generated file. Regenerate properly from gen-translit.pl.
13111 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13112 locale/C-translit.h.
13114 2013-06-05 Andreas Schwab <schwab@suse.de>
13117 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13118 week as 6 instead of -1.
13119 * time/tst-strptime.c (day_tests): Add test case.
13121 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13123 * sysdeps/generic/math_private.h
13124 (libc_feholdexcept_setround_53bit): Replace with
13125 libc_feholdsetround_53bit.
13126 (libc_feupdateenv_53bit): Replace with
13127 libc_feresetround_53bit.
13128 (SET_RESTORE_ROUND_53BIT): Adjust.
13130 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13132 * string/test-strchrnul.c: Add copyright header.
13134 * posix/tst-getaddrinfo4.c: Increase test timeout.
13136 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13139 * math/libm-test.inc (MAX_EXP): Remove
13141 (ulp): Use MIN_EXP - MANT_DIG.
13142 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13144 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13146 * po/be.po: Revert last change.
13147 * po/zh_CN.po: Likewise.
13148 * po/header.pot: Likewise.
13150 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13152 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13153 link-libc-deps to empty as target-specific variable.
13154 * Makerules (link-libc-args): New variable.
13155 (libc-for-link): Likewise.
13156 (link-libc-deps): Likewise.
13157 (lib%.so): Depend on $(link-libc-deps). Link with
13159 (build-module): Link with $(link-libc-args).
13160 (build-module-asneeded): Likewise.
13161 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13163 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13164 target-specific variable.
13165 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13166 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13167 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13169 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13171 ($(objpfx)libpcprofile.so): Likewise.
13172 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13174 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13175 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13176 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13178 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13179 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13180 * login/Makefile ($(objpfx)libutil.so): Likewise.
13181 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13182 * math/Makefile ($(objpfx)libm.so): Likewise.
13183 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13184 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13185 variable instead of depending directly on libc.
13186 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13187 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13189 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13191 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13192 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13193 ($(objpfx)libanl.so): Likewise.
13194 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13196 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13198 * sysdeps/i386/fpu/Makefile: Remove file.
13199 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13200 ($(objpfx)libm.so): Remove dependency on ld.so.
13202 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
13205 * nis/yp_xdr.c (XDRMAXNAME): Define.
13206 (XDRMAXRECORD): Define.
13207 (xdr_domainname): Use XDRMAXNAME.
13208 (xdr_mapname): Likewise.
13209 (xdr_peername): Likewise.
13210 (xdr_keydat): Use XDRMAXRECORD.
13211 (xdr_valdat): Likewise.
13213 2013-05-30 Jeff Law <law@redhat.com>
13216 * manual/errno.texi (ESTALE): Update to account for more than
13217 just NFS file systems.
13218 * sysdeps/gnu/errlist.c: Regenerated.
13220 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13223 * elf/Makefile (tests): Add tst-null-argv.
13224 (modules-names): Add tst-null-argv-lib.
13225 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13226 (tst-null-argv-ENV): Set environment for tst-null-argv.
13227 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13228 (RTLD_PROGNAME): New macro.
13229 * elf/tst-null-argv.c: New test case.
13230 * elf/tst-null-argv-lib.c: Library for test case.
13231 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13232 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13233 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13234 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13235 * elf/dl-init.c (call_init): Likewise.
13236 (_dl_init): Likewise.
13237 * elf/dl-load.c (print_search_path): Likewise.
13238 (_dl_map_object): Likewise.
13239 * elf/dl-lookup.c (do_lookup_x): Likewise.
13240 (add_dependency): Likewise.
13241 (_dl_lookup_symbol_x): Likewise.
13242 (_dl_debug_bindings): Likewise.
13243 * elf/dl-open.c (_dl_show_scope): Likewise.
13244 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13245 * elf/dl-version.c (match_symbol): Likewise.
13246 (_dl_check_map_versions): Likewise.
13247 * elf/rtld.c (dl_main): Likewise.
13248 (print_unresolved): Use RTLD_PROGNAME.
13249 (print_missing_version): Likewise.
13250 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13251 (elf_machine_rela): Likewise.
13252 * sysdeps/powerpc/powerpc32/dl-machine.c
13253 (__process_machine_rela): Likewise.
13254 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13256 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13258 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13260 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13261 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13263 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13265 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13267 2013-05-28 Carlos O'Donell <carlos@redhat.com>
13269 * po/be.po: Add descriptive title.
13270 * po/zh_CN.po: Likewise.
13271 * po/header.pot: Likewise.
13273 2013-05-28 Mike Frysinger <vapier@gentoo.org>
13275 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13277 (enlarge_archive): Likewise.
13279 2013-05-28 Ben North <ben@redfrontdoor.org>
13281 * manual/arith.texi (frexp): It is the magnitude of the return
13282 value which lies in [0.5, 1), not the return value itself.
13284 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13288 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13290 * stdio-common/bug26.c (main): Correct fscanf template.
13292 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13293 declare _dl_skip_args.
13295 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13298 * manual/platform.texi: Add missing @end deftypefun.
13300 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13303 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13304 bit of mantissa of 2^16382.
13305 * math/libm-test.inc (hypot_test_data): Add more tests.
13307 * math/libm-test.inc: Add drem and pow10 to list of tested
13309 (pow10_test): New function.
13310 (drem_test): Likewise.
13311 (drem_test_tonearest): Likewise.
13312 (drem_test_towardzero): Likewise.
13313 (drem_test_downward): Likewise.
13314 (drem_test_upward): Likewise.
13315 (main): Call the new functions.
13317 * math/libm-test.inc (finite_test_data): Remove.
13318 (finite_test): Run tests from isfinite_test_data.
13319 (gamma_test_data): Remove.
13320 (gamma_test): Run tests from lgamma_test_data.
13321 * sysdeps/i386/fpu/libm-test-ulps: Update.
13322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13324 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13326 * manual/platform.texi: Add PowerPC PPR function set documentation.
13327 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13330 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13332 * math/libm-test.inc (MAX_EXP): Define.
13334 (ulp): New function.
13335 (check_float_internal): Use ULPDIFF.
13336 (cpow_test): Disable failing test.
13337 (check_ulp): Test ulp() implemetnation.
13338 (main): Call check_ulp before starting tests.
13340 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13342 * math/gen-libm-test.pl (generate_testfile): Do not handle
13343 START_DATA and END_DATA.
13344 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13346 (acos_tonearest_test_data): Likewise.
13347 (acos_towardzero_test_data): Likewise.
13348 (acos_downward_test_data): Likewise.
13349 (acos_upward_test_data): Likewise.
13350 (acosh_test_data): Likewise.
13351 (asin_test_data): Likewise.
13352 (asin_tonearest_test_data): Likewise.
13353 (asin_towardzero_test_data): Likewise.
13354 (asin_downward_test_data): Likewise.
13355 (asin_upward_test_data): Likewise.
13356 (asinh_test_data): Likewise.
13357 (atan_test_data): Likewise.
13358 (atanh_test_data): Likewise.
13359 (atan2_test_data): Likewise.
13360 (cabs_test_data): Likewise.
13361 (cacos_test_data): Likewise.
13362 (cacosh_test_data): Likewise.
13363 (carg_test_data): Likewise.
13364 (casin_test_data): Likewise.
13365 (casinh_test_data): Likewise.
13366 (catan_test_data): Likewise.
13367 (catanh_test_data): Likewise.
13368 (cbrt_test_data): Likewise.
13369 (ccos_test_data): Likewise.
13370 (ccosh_test_data): Likewise.
13371 (ceil_test_data): Likewise.
13372 (cexp_test_data): Likewise.
13373 (cimag_test_data): Likewise.
13374 (clog_test_data): Likewise.
13375 (clog10_test_data): Likewise.
13376 (conj_test_data): Likewise.
13377 (copysign_test_data): Likewise.
13378 (cos_test_data): Likewise.
13379 (cos_tonearest_test_data): Likewise.
13380 (cos_towardzero_test_data): Likewise.
13381 (cos_downward_test_data): Likewise.
13382 (cos_upward_test_data): Likewise.
13383 (cosh_test_data): Likewise.
13384 (cosh_tonearest_test_data): Likewise.
13385 (cosh_towardzero_test_data): Likewise.
13386 (cosh_downward_test_data): Likewise.
13387 (cosh_upward_test_data): Likewise.
13388 (cpow_test_data): Likewise.
13389 (cproj_test_data): Likewise.
13390 (creal_test_data): Likewise.
13391 (csin_test_data): Likewise.
13392 (csinh_test_data): Likewise.
13393 (csqrt_test_data): Likewise.
13394 (ctan_test_data): Likewise.
13395 (ctan_tonearest_test_data): Likewise.
13396 (ctan_towardzero_test_data): Likewise.
13397 (ctan_downward_test_data): Likewise.
13398 (ctan_upward_test_data): Likewise.
13399 (ctanh_test_data): Likewise.
13400 (ctanh_tonearest_test_data): Likewise.
13401 (ctanh_towardzero_test_data): Likewise.
13402 (ctanh_downward_test_data): Likewise.
13403 (ctanh_upward_test_data): Likewise.
13404 (erf_test_data): Likewise.
13405 (erfc_test_data): Likewise.
13406 (exp_test_data): Likewise.
13407 (exp_tonearest_test_data): Likewise.
13408 (exp_towardzero_test_data): Likewise.
13409 (exp_downward_test_data): Likewise.
13410 (exp_upward_test_data): Likewise.
13411 (exp10_test_data): Likewise.
13412 (exp2_test_data): Likewise.
13413 (expm1_test_data): Likewise.
13414 (fabs_test_data): Likewise.
13415 (fdim_test_data): Likewise.
13416 (finite_test_data): Likewise.
13417 (floor_test_data): Likewise.
13418 (fma_test_data): Likewise.
13419 (fma_towardzero_test_data): Likewise.
13420 (fma_downward_test_data): Likewise.
13421 (fma_upward_test_data): Likewise.
13422 (fmax_test_data): Likewise.
13423 (fmin_test_data): Likewise.
13424 (fmod_test_data): Likewise.
13425 (fpclassify_test_data): Likewise.
13426 (frexp_test_data): Likewise.
13427 (gamma_test_data): Likewise.
13428 (hypot_test_data): Likewise.
13429 (ilogb_test_data): Likewise.
13430 (isfinite_test_data): Likewise.
13431 (isgreater_test_data): Likewise.
13432 (isgreaterequal_test_data): Likewise.
13433 (isinf_test_data): Likewise.
13434 (isless_test_data): Likewise.
13435 (islessequal_test_data): Likewise.
13436 (islessgreater_test_data): Likewise.
13437 (isnan_test_data): Likewise.
13438 (isnormal_test_data): Likewise.
13439 (issignaling_test_data): Likewise.
13440 (isunordered_test_data): Likewise.
13441 (j0_test_data): Likewise.
13442 (j1_test_data): Likewise.
13443 (jn_test_data): Likewise.
13444 (ldexp_test_data): Likewise.
13445 (lgamma_test_data): Likewise.
13446 (lrint_test_data): Likewise.
13447 (lrint_tonearest_test_data): Likewise.
13448 (lrint_towardzero_test_data): Likewise.
13449 (lrint_downward_test_data): Likewise.
13450 (lrint_upward_test_data): Likewise.
13451 (llrint_test_data): Likewise.
13452 (llrint_tonearest_test_data): Likewise.
13453 (llrint_towardzero_test_data): Likewise.
13454 (llrint_downward_test_data): Likewise.
13455 (llrint_upward_test_data): Likewise.
13456 (log_test_data): Likewise.
13457 (log10_test_data): Likewise.
13458 (log1p_test_data): Likewise.
13459 (log2_test_data): Likewise.
13460 (logb_test_data): Likewise.
13461 (logb_downward_test_data): Likewise.
13462 (lround_test_data): Likewise.
13463 (llround_test_data): Likewise.
13464 (modf_test_data): Likewise.
13465 (nearbyint_test_data): Likewise.
13466 (nextafter_test_data): Likewise.
13467 (nexttoward_test_data): Likewise.
13468 (pow_test_data): Likewise.
13469 (pow_tonearest_test_data): Likewise.
13470 (pow_towardzero_test_data): Likewise.
13471 (pow_downward_test_data): Likewise.
13472 (pow_upward_test_data): Likewise.
13473 (remainder_test_data): Likewise.
13474 (remainder_tonearest_test_data): Likewise.
13475 (remainder_towardzero_test_data): Likewise.
13476 (remainder_downward_test_data): Likewise.
13477 (remainder_upward_test_data): Likewise.
13478 (remquo_test_data): Likewise.
13479 (rint_test_data): Likewise.
13480 (rint_tonearest_test_data): Likewise.
13481 (rint_towardzero_test_data): Likewise.
13482 (rint_downward_test_data): Likewise.
13483 (rint_upward_test_data): Likewise.
13484 (round_test_data): Likewise.
13485 (scalb_test_data): Likewise.
13486 (scalbn_test_data): Likewise.
13487 (scalbln_test_data): Likewise.
13488 (signbit_test_data): Likewise.
13489 (sin_test_data): Likewise.
13490 (sin_tonearest_test_data): Likewise.
13491 (sin_towardzero_test_data): Likewise.
13492 (sin_downward_test_data): Likewise.
13493 (sin_upward_test_data): Likewise.
13494 (sincos_test_data): Likewise.
13495 (sinh_test_data): Likewise.
13496 (sinh_tonearest_test_data): Likewise.
13497 (sinh_towardzero_test_data): Likewise.
13498 (sinh_downward_test_data): Likewise.
13499 (sinh_upward_test_data): Likewise.
13500 (sqrt_test_data): Likewise.
13501 (tan_test_data): Likewise.
13502 (tan_tonearest_test_data): Likewise.
13503 (tan_towardzero_test_data): Likewise.
13504 (tan_downward_test_data): Likewise.
13505 (tan_upward_test_data): Likewise.
13506 (tanh_test_data): Likewise.
13507 (tgamma_test_data): Likewise.
13508 (trunc_test_data): Likewise.
13509 (y0_test_data): Likewise.
13510 (y1_test_data): Likewise.
13511 (yn_test_data): Likewise.
13512 (significand_test_data): Likewise.
13514 * math/gen-libm-test.pl (@functions): Remove variable.
13515 (generate_testfile): Don't handle START and END lines.
13516 * math/libm-test.inc (START): New macro.
13518 (END_COMPLEX): Likewise.
13519 (acos_test): Use END macro without arguments.
13520 (acos_test_tonearest): Likewise.
13521 (acos_test_towardzero): Likewise.
13522 (acos_test_downward): Likewise.
13523 (acos_test_upward): Likewise.
13524 (acosh_test): Likewise.
13525 (asin_test): Likewise.
13526 (asin_test_tonearest): Likewise.
13527 (asin_test_towardzero): Likewise.
13528 (asin_test_downward): Likewise.
13529 (asin_test_upward): Likewise.
13530 (asinh_test): Likewise.
13531 (atan_test): Likewise.
13532 (atanh_test): Likewise.
13533 (atan2_test): Likewise.
13534 (cabs_test): Likewise.
13535 (cacos_test): Use END_COMPLEX macro without arguments.
13536 (cacosh_test): Likewise.
13537 (carg_test): Use END macro without arguments.
13538 (casin_test): Use END_COMPLEX macro without arguments.
13539 (casinh_test): Likewise.
13540 (catan_test): Likewise.
13541 (catanh_test): Likewise.
13542 (cbrt_test): Use END macro without arguments.
13543 (ccos_test): Use END_COMPLEX macro without arguments.
13544 (ccosh_test): Likewise.
13545 (ceil_test): Use END macro without arguments.
13546 (cexp_test): Use END_COMPLEX macro without arguments.
13547 (cimag_test): Use END macro without arguments.
13548 (clog_test): Use END_COMPLEX macro without arguments.
13549 (clog10_test): Likewise.
13550 (conj_test): Likewise.
13551 (copysign_test): Use END macro without arguments.
13552 (cos_test): Likewise.
13553 (cos_test_tonearest): Likewise.
13554 (cos_test_towardzero): Likewise.
13555 (cos_test_downward): Likewise.
13556 (cos_test_upward): Likewise.
13557 (cosh_test): Likewise.
13558 (cosh_test_tonearest): Likewise.
13559 (cosh_test_towardzero): Likewise.
13560 (cosh_test_downward): Likewise.
13561 (cosh_test_upward): Likewise.
13562 (cpow_test): Use END_COMPLEX macro without arguments.
13563 (cproj_test): Likewise.
13564 (creal_test): Use END macro without arguments.
13565 (csin_test): Use END_COMPLEX macro without arguments.
13566 (csinh_test): Likewise.
13567 (csqrt_test): Likewise.
13568 (ctan_test): Likewise.
13569 (ctan_test_tonearest): Likewise.
13570 (ctan_test_towardzero): Likewise.
13571 (ctan_test_downward): Likewise.
13572 (ctan_test_upward): Likewise.
13573 (ctanh_test): Likewise.
13574 (ctanh_test_tonearest): Likewise.
13575 (ctanh_test_towardzero): Likewise.
13576 (ctanh_test_downward): Likewise.
13577 (ctanh_test_upward): Likewise.
13578 (erf_test): Use END macro without arguments.
13579 (erfc_test): Likewise.
13580 (exp_test): Likewise.
13581 (exp_test_tonearest): Likewise.
13582 (exp_test_towardzero): Likewise.
13583 (exp_test_downward): Likewise.
13584 (exp_test_upward): Likewise.
13585 (exp10_test): Likewise.
13586 (exp2_test): Likewise.
13587 (expm1_test): Likewise.
13588 (fabs_test): Likewise.
13589 (fdim_test): Likewise.
13590 (finite_test): Likewise.
13591 (floor_test): Likewise.
13592 (fma_test): Likewise.
13593 (fma_test_towardzero): Likewise.
13594 (fma_test_downward): Likewise.
13595 (fma_test_upward): Likewise.
13596 (fmax_test): Likewise.
13597 (fmin_test): Likewise.
13598 (fmod_test): Likewise.
13599 (fpclassify_test): Likewise.
13600 (frexp_test): Likewise.
13601 (gamma_test): Likewise.
13602 (hypot_test): Likewise.
13603 (ilogb_test): Likewise.
13604 (isfinite_test): Likewise.
13605 (isgreater_test): Likewise.
13606 (isgreaterequal_test): Likewise.
13607 (isinf_test): Likewise.
13608 (isless_test): Likewise.
13609 (islessequal_test): Likewise.
13610 (islessgreater_test): Likewise.
13611 (isnan_test): Likewise.
13612 (isnormal_test): Likewise.
13613 (issignaling_test): Likewise.
13614 (isunordered_test): Likewise.
13615 (j0_test): Likewise.
13616 (j1_test): Likewise.
13617 (jn_test): Likewise.
13618 (ldexp_test): Likewise.
13619 (lgamma_test): Likewise.
13620 (lrint_test): Likewise.
13621 (lrint_test_tonearest): Likewise.
13622 (lrint_test_towardzero): Likewise.
13623 (lrint_test_downward): Likewise.
13624 (lrint_test_upward): Likewise.
13625 (llrint_test): Likewise.
13626 (llrint_test_tonearest): Likewise.
13627 (llrint_test_towardzero): Likewise.
13628 (llrint_test_downward): Likewise.
13629 (llrint_test_upward): Likewise.
13630 (log_test): Likewise.
13631 (log10_test): Likewise.
13632 (log1p_test): Likewise.
13633 (log2_test): Likewise.
13634 (logb_test): Likewise.
13635 (logb_test_downward): Likewise.
13636 (lround_test): Likewise.
13637 (llround_test): Likewise.
13638 (modf_test): Likewise.
13639 (nearbyint_test): Likewise.
13640 (nextafter_test): Likewise.
13641 (nexttoward_test): Likewise.
13642 (pow_test): Likewise.
13643 (pow_test_tonearest): Likewise.
13644 (pow_test_towardzero): Likewise.
13645 (pow_test_downward): Likewise.
13646 (pow_test_upward): Likewise.
13647 (remainder_test): Likewise.
13648 (remainder_test_tonearest): Likewise.
13649 (remainder_test_towardzero): Likewise.
13650 (remainder_test_downward): Likewise.
13651 (remainder_test_upward): Likewise.
13652 (remquo_test): Likewise.
13653 (rint_test): Likewise.
13654 (rint_test_tonearest): Likewise.
13655 (rint_test_towardzero): Likewise.
13656 (rint_test_downward): Likewise.
13657 (rint_test_upward): Likewise.
13658 (round_test): Likewise.
13659 (scalb_test): Likewise.
13660 (scalbn_test): Likewise.
13661 (scalbln_test): Likewise.
13662 (signbit_test): Likewise.
13663 (sin_test): Likewise.
13664 (sin_test_tonearest): Likewise.
13665 (sin_test_towardzero): Likewise.
13666 (sin_test_downward): Likewise.
13667 (sin_test_upward): Likewise.
13668 (sincos_test): Likewise.
13669 (sinh_test): Likewise.
13670 (sinh_test_tonearest): Likewise.
13671 (sinh_test_towardzero): Likewise.
13672 (sinh_test_downward): Likewise.
13673 (sinh_test_upward): Likewise.
13674 (sqrt_test): Likewise.
13675 (tan_test): Likewise.
13676 (tan_test_tonearest): Likewise.
13677 (tan_test_towardzero): Likewise.
13678 (tan_test_downward): Likewise.
13679 (tan_test_upward): Likewise.
13680 (tanh_test): Likewise.
13681 (tgamma_test): Likewise.
13682 (trunc_test): Likewise.
13683 (y0_test): Likewise.
13684 (y1_test): Likewise.
13685 (yn_test): Likewise.
13686 (significand_test): Likewise.
13688 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13691 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13693 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13696 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13697 __ppc_mdoio and __ppc_mdoom.
13698 * manual/platform.texi: Document new functions __ppc_yield,
13699 __ppc_mdoio and __ppc_mdoom.
13701 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13703 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13704 (main): Mention "tls" pseudo-hwcap is legacy.
13705 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13707 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13709 * math/gen-libm-test.pl (parse_args): Output only string of
13710 arguments as text for test name, not full call or descriptions of
13711 tests for extra outputs.
13712 (generate_testfile): Do not pass function name to parse_args.
13713 Generate this_func variable from START.
13714 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13716 (struct test_ff_f_data): Likewise.
13717 (test_ff_f_data_nexttoward): Likewise.
13718 (struct test_fi_f_data): Likewise.
13719 (struct test_fl_f_data): Likewise.
13720 (struct test_if_f_data): Likewise.
13721 (struct test_fff_f_data): Likewise.
13722 (struct test_c_f_data): Likewise.
13723 (struct test_f_f1_data): Likewise. Remove field extra_name.
13724 (struct test_fF_f1_data): Likewise.
13725 (struct test_ffI_f1_data): Likewise.
13726 (struct test_c_c_data): Rename test_name field to arg_str.
13727 (struct test_cc_c_data): Likewise.
13728 (struct test_f_i_data): Likewise.
13729 (struct test_ff_i_data): Likewise.
13730 (struct test_f_l_data): Likewise.
13731 (struct test_f_L_data): Likewise.
13732 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13734 (COMMON_TEST_SETUP): New macro.
13735 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13736 (COMMON_TEST_CLEANUP): Likewise.
13737 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13738 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13740 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13741 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13743 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13744 (RUN_TEST_fff_f): Take argument string. Call new setup and
13746 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13747 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13749 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13750 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13752 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13753 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13755 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13756 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13758 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13759 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13761 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13762 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13764 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13765 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13767 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13768 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13770 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13771 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13773 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13774 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13776 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13777 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13779 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13780 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13782 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13783 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13785 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13786 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13788 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13789 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13791 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13793 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13795 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13796 to _sifields.sigfault.
13797 (si_addr_lsb): Define new macro.
13798 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13800 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13802 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13805 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13807 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13809 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13810 loading the domain.
13812 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13814 * math/gen-libm-test.pl (parse_args): Do not include expected
13815 result in test name.
13816 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13817 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13818 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13819 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13820 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13823 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13825 * benchtests/Makefile: Sort function entries.
13827 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13828 tanh, asinh, acosh, atanh.
13829 * benchtests/acos-inputs: New file.
13830 * benchtests/acosh-inputs: New file.
13831 * benchtests/asin-inputs: New file.
13832 * benchtests/asinh-inputs: New file.
13833 * benchtests/atanh-inputs: New file.
13834 * benchtests/cosh-inputs: New file.
13835 * benchtests/log-inputs: New file.
13836 * benchtests/sinh-inputs: New file.
13837 * benchtests/tanh-inputs: New file.
13839 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13842 * posix/tst-getaddrinfo4.c: New test.
13843 * posix/Makefile (tests): Add it.
13845 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13848 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13849 when no services were used.
13850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13851 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13853 2013-05-21 Andreas Schwab <schwab@suse.de>
13856 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13857 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13859 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13860 redundant variable declarations and reallocation of buffer when
13861 parsing as IPv6 address. Always set NSS status when called from
13862 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13863 buffer too small. Correct computation of needed size.
13864 * nss/Makefile (tests): Add test-digits-dots.
13865 * nss/test-digits-dots.c: New test.
13867 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13869 * benchtests/Makefile: Remove instructions for adding
13871 * benchtests/README: New file to explain how to execute and
13872 enhance the benchmark tests.
13874 2013-05-21 Andreas Schwab <schwab@suse.de>
13877 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13878 * setjmp/tst-sigsetjmp.c: New test.
13880 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13882 * sysdeps/x86_64/memset.S (memset): New implementation.
13883 (__bzero): Likewise.
13884 (__memset_tail): New function.
13886 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13888 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13889 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13890 __memcpy_sse2_unaligned ifunc selection.
13891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13892 Add memcpy-sse2-unaligned.S.
13893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13894 Add: __memcpy_sse2_unaligned.
13896 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13899 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13900 math_force_eval before restoring floating-point envrionment.
13901 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13902 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13904 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13906 (__nearbyintl): Use math_force_eval before restoring
13907 floating-point environment.
13908 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13910 * math/gen-libm-test.pl (special_functions): Remove.
13911 (parse_args): Don't handle TEST_extra. Handle functions with no
13913 * math/libm-test.inc (struct test_sincos_data): Replace with
13914 struct test_fFF_11_data.
13915 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13916 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13917 (sincos_test_data): Change element type to struct
13918 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13919 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13920 RUN_TEST_LOOP_sincos.
13921 * math/README.libm-test: Don't mention special handling of
13922 individual functions.
13923 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13924 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13925 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13926 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13927 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13930 * math/gen-libm-test.pl (get_variable): Remove function.
13931 (parse_args): Don't show pointer parameters to call in test
13932 names. Use "extra output N" in test names for extra outputs
13933 rather than naming variables.
13935 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13938 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13939 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13940 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13942 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13944 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13947 * math/gen-libm-test.pl (@tests): Remove variable.
13948 ($count): Likewise.
13949 (new_test): Remove function.
13950 (show_exceptions): New function.
13951 (special_functions): Use show_exceptions instead of new_test.
13952 (parse_args): Likewise.
13953 (generate_testfile): Pass only function name in generated call to
13954 print_max_error or print_complex_max_error.
13955 (get_ulps): Do not handle complex tests specially.
13956 (output_test): Rename to ...
13957 (get_all_ulps_for_test): ... this. Return a string rather than
13958 printing to a file. Require ulps to be present.
13959 (output_ulps): Generate arrays rather than #defines.
13960 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13961 (struct ulp_data): New type.
13962 (BUILD_COMPLEX_ULP): Remove macro.
13963 (compare_ulp_data): New function.
13964 (find_ulps): Likewise.
13965 (find_test_ulps): Likewise.
13966 (find_function_ulps): Likewise.
13967 (find_complex_function_ulps): Likewise.
13968 (print_max_error): Determine allowed ulps using
13969 find_function_ulps.
13970 (print_complex_max_error): Determine allowed ulps using
13971 find_complex_function_ulps.
13972 (check_float_internal): Determine max ulps using find_test_ulps.
13973 (check_float): Do not take max_ulp parameter. Update call to
13974 check_float_internal.
13975 (check_complex): Likewise.
13976 (check_int): Do not take max_ulp parameter.
13977 (check_long): Likewise.
13978 (check_bool): Likewise.
13979 (check_longlong): Likewise.
13980 (struct test_f_f_data): Remove max_ulp field.
13981 (struct test_ff_f_data): Likewise.
13982 (struct test_ff_f_data_nexttoward): Likewise.
13983 (struct test_fi_f_data): Likewise.
13984 (struct test_fl_f_data): Likewise.
13985 (struct test_if_f_data): Likewise.
13986 (struct test_fff_f_data): Likewise.
13987 (struct test_c_f_data): Likewise.
13988 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13989 (struct test_fF_f1_data): Likewise.
13990 (struct test_ffI_f1_data): Likewise.
13991 (struct test_c_c_data): Remove max_ulp field.
13992 (struct test_cc_c_data): Likewise.
13993 (struct test_f_i_data): Likewise.
13994 (struct test_ff_i_data): Likewise.
13995 (struct test_f_l_data): Likewise.
13996 (struct test_f_L_data): Likewise.
13997 (struct test_sincos_data): Likewise.
13998 (RUN_TEST_f_f): Do not handle ulps.
13999 (RUN_TEST_LOOP_f_f): Likewise.
14000 (RUN_TEST_2_f): Likewise.
14001 (RUN_TEST_LOOP_2_f): Likewise.
14002 (RUN_TEST_fff_f): Likewise.
14003 (RUN_TEST_LOOP_fff_f): Likewise.
14004 (RUN_TEST_c_f): Likewise.
14005 (RUN_TEST_LOOP_c_f): Likewise.
14006 (RUN_TEST_f_f1): Likewise.
14007 (RUN_TEST_LOOP_f_f1): Likewise.
14008 (RUN_TEST_fF_f1): Likewise.
14009 (RUN_TEST_LOOP_fF_f1): Likewise.
14010 (RUN_TEST_fI_f1): Likewise.
14011 (RUN_TEST_LOOP_fI_f1): Likewise.
14012 (RUN_TEST_ffI_f1): Likewise.
14013 (RUN_TEST_LOOP_ffI_f1): Likewise.
14014 (RUN_TEST_c_c): Likewise.
14015 (RUN_TEST_LOOP_c_c): Likewise.
14016 (RUN_TEST_cc_c): Likewise.
14017 (RUN_TEST_LOOP_cc_c): Likewise.
14018 (RUN_TEST_f_i): Likewise.
14019 (RUN_TEST_LOOP_f_i): Likewise.
14020 (RUN_TEST_f_i_tg): Likewise.
14021 (RUN_TEST_LOOP_f_i_tg): Likewise.
14022 (RUN_TEST_ff_i_tg): Likewise.
14023 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14024 (RUN_TEST_f_b): Likewise.
14025 (RUN_TEST_LOOP_f_b): Likewise.
14026 (RUN_TEST_f_b_tg): Likewise.
14027 (RUN_TEST_LOOP_f_b_tg): Likewise.
14028 (RUN_TEST_f_l): Likewise.
14029 (RUN_TEST_LOOP_f_l): Likewise.
14030 (RUN_TEST_f_L): Likewise.
14031 (RUN_TEST_LOOP_f_L): Likewise.
14032 (RUN_TEST_sincos): Likewise.
14033 (RUN_TEST_LOOP_sincos): Likewise.
14035 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14039 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14040 main case of finite arguments, set rounding mode to FE_TONEAREST
14041 and discard exceptions.
14042 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14044 (remainder_tonearest_test_data): New variable.
14045 (remainder_test_tonearest): New function.
14046 (remainder_towardzero_test_data): New variable.
14047 (remainder_test_towardzero): New function.
14048 (remainder_downward_test_data): New variable.
14049 (remainder_test_downward): New function.
14050 (remainder_upward_test_data): New variable.
14051 (remainder_test_upward): New function.
14052 (main): Call the new test functions.
14054 * math/libm-test.inc (struct test_f_f1_data): Remove field
14056 (struct test_fF_f1_data): Likewise.
14057 (struct test_ffI_f1_data): Likewise.
14058 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14059 based on value of EXTRA_EXPECTED.
14060 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14061 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14062 EXTRA_VAR based on value of EXTRA_EXPECTED.
14063 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14064 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14065 EXTRA_VAR based on value of EXTRA_EXPECTED.
14066 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14067 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14068 EXTRA_VAR based on value of EXTRA_EXPECTED.
14069 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14070 * math/gen-libm-test.pl (parse_args): Don't output initializers
14071 for extra output values.
14073 * math/libm-test.inc (check_int): Expect result to be exactly
14074 equal to expected value and do not handle ulps.
14075 (check_long): Likewise.
14076 (check_longlong): Likewise.
14078 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14080 (cimag_test_data): Likewise.
14081 (conj_test_data): Likewise.
14082 (copysign_test_data): Likewise.
14083 (cproj_test_data): Likewise.
14084 (creal_test_data): Likewise.
14085 (fabs_test_data): Likewise.
14086 (fdim_test_data): Likewise.
14087 (finite_test_data): Likewise.
14088 (floor_test_data): Likewise.
14089 (fmax_test_data): Likewise.
14090 (fmin_test_data): Likewise.
14091 (fmod_test_data): Likewise.
14092 (fpclassify_test_data): Likewise.
14093 (frexp_test_data): Likewise.
14094 (ilogb_test_data): Likewise.
14095 (isfinite_test_data): Likewise.
14096 (isgreater_test_data): Likewise.
14097 (isgreaterequal_test_data): Likewise.
14098 (isinf_test_data): Likewise.
14099 (isless_test_data): Likewise.
14100 (islessequal_test_data): Likewise.
14101 (islessgreater_test_data): Likewise.
14102 (isnan_test_data): Likewise.
14103 (isnormal_test_data): Likewise.
14104 (issignaling_test_data): Likewise.
14105 (isunordered_test_data): Likewise.
14106 (ldexp_test_data): Likewise.
14107 (lrint_test_data): Likewise.
14108 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14109 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14110 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14111 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14112 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14113 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14115 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14116 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14117 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14118 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14120 (lrint_downward_test_data): Test for "inexact" exceptions.
14121 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14122 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14123 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14125 (lrint_upward_test_data): Test for "inexact" exceptions.
14126 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14128 (llrint_test_data): Test for "inexact" exceptions.
14129 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14130 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14131 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14132 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14133 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14134 (llrint_downward_test_data): Test for "inexact" exceptions.
14135 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14136 (llrint_upward_test_data): Test for "inexact" exceptions.
14137 (logb_test_data): Likewise.
14138 (logb_downward_test_data): Likewise.
14139 (nextafter_test_data): Likewise.
14140 (nexttoward_test_data): Likewise.
14141 (remainder_test_data): Likewise.
14142 (remquo_test_data): Likewise.
14143 (scalbn_test_data): Likewise.
14144 (scalbln_test_data): Likewise.
14145 (signbit_test_data): Likewise.
14146 (sqrt_test_data): Likewise.
14147 (significand_test_data): Likewise.
14149 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14152 * benchtests/bench-modf.c (struct args): Mark arg0 as
14154 * scripts/bench.pl: Mark members of struct args as volatile.
14156 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14159 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14160 negative infinity on POWER6 or lower.
14161 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14163 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14166 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14167 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14168 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14169 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14170 (_FP_SETQNAN): New macro.
14171 (_FP_SETQNAN_SEMIRAW): Likewise.
14172 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14173 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14174 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14175 (FP_EXTEND): Use _FP_FRAC_SNANP.
14176 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14177 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14179 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14181 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14184 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14186 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14187 with DIVIDE_BY_ZERO_EXCEPTION.
14188 (gamma_test_data): Likewise.
14189 (lgamma_test_data): Likewise.
14190 (log_test_data): Likewise.
14191 (log10_test_data): Likewise.
14192 (log2_test_data): Likewise.
14193 (tgamma_test_data): Likewise.
14195 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14196 (acos_test_tonearest): Likewise.
14197 (acos_test_towardzero): Likewise.
14198 (acos_test_downward): Likewise.
14199 (acos_test_upward): Likewise.
14200 (acosh_test): Likewise.
14201 (asin_test): Likewise.
14202 (asin_test_tonearest): Likewise.
14203 (asin_test_towardzero): Likewise.
14204 (asin_test_downward): Likewise.
14205 (asin_test_upward): Likewise.
14206 (asinh_test): Likewise.
14207 (atan_test): Likewise.
14208 (atanh_test): Likewise.
14209 (atan2_test): Likewise.
14210 (cabs_test): Likewise.
14211 (cacos_test): Likewise.
14212 (cacosh_test): Likewise.
14213 (casin_test): Likewise.
14214 (casinh_test): Likewise.
14215 (catan_test): Likewise.
14216 (catanh_test): Likewise.
14217 (cbrt_test): Likewise.
14218 (ccos_test): Likewise.
14219 (ccosh_test): Likewise.
14220 (cexp_test): Likewise.
14221 (clog_test): Likewise.
14222 (clog10_test): Likewise.
14223 (cos_test): Likewise.
14224 (cos_test_tonearest): Likewise.
14225 (cos_test_towardzero): Likewise.
14226 (cos_test_downward): Likewise.
14227 (cos_test_upward): Likewise.
14228 (cosh_test): Likewise.
14229 (cosh_test_tonearest): Likewise.
14230 (cosh_test_towardzero): Likewise.
14231 (cosh_test_downward): Likewise.
14232 (cosh_test_upward): Likewise.
14233 (cpow_test): Likewise.
14234 (csin_test): Likewise.
14235 (csinh_test): Likewise.
14236 (csqrt_test): Likewise.
14237 (ctan_test): Likewise.
14238 (ctan_test_tonearest): Likewise.
14239 (ctan_test_towardzero): Likewise.
14240 (ctan_test_downward): Likewise.
14241 (ctan_test_upward): Likewise.
14242 (ctanh_test): Likewise.
14243 (ctanh_test_tonearest): Likewise.
14244 (ctanh_test_towardzero): Likewise.
14245 (ctanh_test_downward): Likewise.
14246 (ctanh_test_upward): Likewise.
14247 (erf_test): Likewise.
14248 (erfc_test): Likewise.
14249 (exp_test): Likewise.
14250 (exp_test_tonearest): Likewise.
14251 (exp_test_towardzero): Likewise.
14252 (exp_test_downward): Likewise.
14253 (exp_test_upward): Likewise.
14254 (exp10_test): Likewise.
14255 (exp2_test): Likewise.
14256 (expm1_test): Likewise.
14257 (fmod_test): Likewise.
14258 (gamma_test): Likewise.
14259 (hypot_test): Likewise.
14260 (j0_test): Likewise.
14261 (j1_test): Likewise.
14262 (jn_test): Likewise.
14263 (lgamma_test): Likewise.
14264 (log_test): Likewise.
14265 (log10_test): Likewise.
14266 (log1p_test): Likewise.
14267 (log2_test): Likewise.
14268 (logb_test_downward): Likewise.
14269 (pow_test): Likewise.
14270 (pow_test_tonearest): Likewise.
14271 (pow_test_towardzero): Likewise.
14272 (pow_test_downward): Likewise.
14273 (pow_test_upward): Likewise.
14274 (remainder_test): Likewise.
14275 (remquo_test): Likewise.
14276 (sin_test): Likewise.
14277 (sin_test_tonearest): Likewise.
14278 (sin_test_towardzero): Likewise.
14279 (sin_test_downward): Likewise.
14280 (sin_test_upward): Likewise.
14281 (sincos_test): Likewise.
14282 (sinh_test): Likewise.
14283 (sinh_test_tonearest): Likewise.
14284 (sinh_test_towardzero): Likewise.
14285 (sinh_test_downward): Likewise.
14286 (sinh_test_upward): Likewise.
14287 (sqrt_test): Likewise.
14288 (tan_test): Likewise.
14289 (tan_test_tonearest): Likewise.
14290 (tan_test_towardzero): Likewise.
14291 (tan_test_downward): Likewise.
14292 (tan_test_upward): Likewise.
14293 (tanh_test): Likewise.
14294 (tgamma_test): Likewise.
14295 (y0_test): Likewise.
14296 (y1_test): Likewise.
14297 (yn_test): Likewise.
14299 * math/gen-libm-test.pl (adjust_arg): Remove function.
14300 (special_function): Remove argument $in_func. Only handle
14301 generating output for tables of tests, not inside functions.
14302 (parse_args): Likewise.
14303 (generate_testfile): Remove variable $in_func. Update call to
14305 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14306 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14307 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14308 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14309 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14310 (MAX_VALUE_INIT): Rename macro to max_value.
14311 (MIN_VALUE_INIT): Rename macro to min_value.
14312 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14313 (plus_zero): Remove variable.
14314 (minus_zero): Likewise.
14315 (plus_infty): Likewise.
14316 (minus_infty): Likewise.
14317 (qnan_value): Likewise.
14318 (max_value): Likewise.
14319 (min_value): Likewise.
14320 (min_subnorm_value): Likewise.
14322 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14324 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14325 uint64_t or uint32_t usage.
14326 * crypt/sha256-block.c: Likewise.
14327 * crypt/sha256-crypt.c: Likewise.
14328 * crypt/sha256.c: Likewise.
14329 * crypt/sha512-block.c: Likewise.
14330 * crypt/sha512-crypt.c: Likewise.
14331 * crypt/sha512.c: Likewise.
14332 * debug/backtrace-tst.c: Likewise.
14333 * debug/pcprofiledump.c: Likewise.
14334 * elf/cache.c: Likewise.
14335 * elf/dl-cache.c: Likewise.
14336 * elf/dl-misc.c: Likewise.
14337 * elf/dl-profile.c: Likewise.
14338 * elf/dl-support.c: Likewise.
14339 * elf/ldconfig.c: Likewise.
14340 * elf/sprof.c: Likewise.
14341 * iconv/dummy-repertoire.c: Likewise.
14342 * iconv/iconv_charmap.c: Likewise.
14343 * iconv/skeleton.c: Likewise.
14344 * iconvdata/8bit-generic.c: Likewise.
14345 * iconvdata/cp737.h: Likewise.
14346 * iconvdata/cp775.h: Likewise.
14347 * iconvdata/ibm1008.h: Likewise.
14348 * iconvdata/ibm1025.h: Likewise.
14349 * iconvdata/ibm1046.h: Likewise.
14350 * iconvdata/ibm1097.h: Likewise.
14351 * iconvdata/ibm1112.h: Likewise.
14352 * iconvdata/ibm1122.h: Likewise.
14353 * iconvdata/ibm1123.h: Likewise.
14354 * iconvdata/ibm1124.h: Likewise.
14355 * iconvdata/ibm1129.h: Likewise.
14356 * iconvdata/ibm1130.h: Likewise.
14357 * iconvdata/ibm1132.h: Likewise.
14358 * iconvdata/ibm1133.h: Likewise.
14359 * iconvdata/ibm1137.h: Likewise.
14360 * iconvdata/ibm1140.h: Likewise.
14361 * iconvdata/ibm1141.h: Likewise.
14362 * iconvdata/ibm1142.h: Likewise.
14363 * iconvdata/ibm1143.h: Likewise.
14364 * iconvdata/ibm1144.h: Likewise.
14365 * iconvdata/ibm1145.h: Likewise.
14366 * iconvdata/ibm1146.h: Likewise.
14367 * iconvdata/ibm1147.h: Likewise.
14368 * iconvdata/ibm1148.h: Likewise.
14369 * iconvdata/ibm1149.h: Likewise.
14370 * iconvdata/ibm1153.h: Likewise.
14371 * iconvdata/ibm1154.h: Likewise.
14372 * iconvdata/ibm1155.h: Likewise.
14373 * iconvdata/ibm1156.h: Likewise.
14374 * iconvdata/ibm1157.h: Likewise.
14375 * iconvdata/ibm1158.h: Likewise.
14376 * iconvdata/ibm1160.h: Likewise.
14377 * iconvdata/ibm1161.h: Likewise.
14378 * iconvdata/ibm1162.h: Likewise.
14379 * iconvdata/ibm1163.h: Likewise.
14380 * iconvdata/ibm1164.h: Likewise.
14381 * iconvdata/ibm1166.h: Likewise.
14382 * iconvdata/ibm1167.h: Likewise.
14383 * iconvdata/ibm12712.h: Likewise.
14384 * iconvdata/ibm1390.h: Likewise.
14385 * iconvdata/ibm1399.h: Likewise.
14386 * iconvdata/ibm16804.h: Likewise.
14387 * iconvdata/ibm4517.h: Likewise.
14388 * iconvdata/ibm4899.h: Likewise.
14389 * iconvdata/ibm4909.h: Likewise.
14390 * iconvdata/ibm4971.h: Likewise.
14391 * iconvdata/ibm5347.h: Likewise.
14392 * iconvdata/ibm803.h: Likewise.
14393 * iconvdata/ibm856.h: Likewise.
14394 * iconvdata/ibm901.h: Likewise.
14395 * iconvdata/ibm902.h: Likewise.
14396 * iconvdata/ibm9030.h: Likewise.
14397 * iconvdata/ibm9066.h: Likewise.
14398 * iconvdata/ibm921.h: Likewise.
14399 * iconvdata/ibm922.h: Likewise.
14400 * iconvdata/ibm9448.h: Likewise.
14401 * iconvdata/isiri-3342.h: Likewise.
14402 * iconvdata/jis0201.h: Likewise.
14403 * include/link.h: Likewise.
14404 * include/netdb.h: Likewise.
14405 * inet/check_native.c: Likewise.
14406 * inet/check_pf.c: Likewise.
14407 * inet/getipv4sourcefilter.c: Likewise.
14408 * inet/getnameinfo.c: Likewise.
14409 * inet/getsourcefilter.c: Likewise.
14410 * inet/htonl.c: Likewise.
14411 * inet/setipv4sourcefilter.c: Likewise.
14412 * inet/setsourcefilter.c: Likewise.
14413 * inet/test-inet6_opt.c: Likewise.
14414 * inet/tst-network.c: Likewise.
14415 * locale/C-collate.c: Likewise.
14416 * locale/C-ctype.c: Likewise.
14417 * locale/C-time.c: Likewise.
14418 * locale/C-translit.h: Likewise.
14419 * locale/loadarchive.c: Likewise.
14420 * locale/programs/3level.h: Likewise.
14421 * locale/programs/charmap.c: Likewise.
14422 * locale/programs/charmap.h: Likewise.
14423 * locale/programs/ld-address.c: Likewise.
14424 * locale/programs/ld-collate.c: Likewise.
14425 * locale/programs/ld-ctype.c: Likewise.
14426 * locale/programs/ld-identification.c: Likewise.
14427 * locale/programs/ld-measurement.c: Likewise.
14428 * locale/programs/ld-messages.c: Likewise.
14429 * locale/programs/ld-monetary.c: Likewise.
14430 * locale/programs/ld-name.c: Likewise.
14431 * locale/programs/ld-numeric.c: Likewise.
14432 * locale/programs/ld-paper.c: Likewise.
14433 * locale/programs/ld-telephone.c: Likewise.
14434 * locale/programs/ld-time.c: Likewise.
14435 * locale/programs/linereader.c: Likewise.
14436 * locale/programs/locale.c: Likewise.
14437 * locale/programs/locarchive.c: Likewise.
14438 * locale/programs/locfile.h: Likewise.
14439 * locale/programs/repertoire.c: Likewise.
14440 * locale/programs/simple-hash.c: Likewise.
14441 * locale/programs/simple-hash.h: Likewise.
14442 * malloc/memusage.c: Likewise.
14443 * malloc/memusagestat.c: Likewise.
14444 * nis/nis_defaults.c: Likewise.
14445 * nis/nis_hash.c: Likewise.
14446 * nis/nis_print.c: Likewise.
14447 * nis/nis_xdr.c: Likewise.
14448 * nscd/connections.c: Likewise.
14449 * nscd/hstcache.c: Likewise.
14450 * nscd/nscd_gethst_r.c: Likewise.
14451 * nscd/nscd_getserv_r.c: Likewise.
14452 * nscd/nscd_helper.c: Likewise.
14453 * nscd/servicescache.c: Likewise.
14454 * nss/makedb.c: Likewise.
14455 * nss/nss_db/db-XXX.c: Likewise.
14456 * nss/nss_db/db-initgroups.c: Likewise.
14457 * nss/nss_db/db-netgrp.c: Likewise.
14458 * nss/nss_files/files-network.c: Likewise.
14459 * nss/nss_files/files-parse.c: Likewise.
14460 * posix/bug-regex5.c: Likewise.
14461 * posix/fnmatch_loop.c: Likewise.
14462 * posix/regcomp.c: Likewise.
14463 * posix/regexec.c: Likewise.
14464 * posix/tst-rfc3484-2.c: Likewise.
14465 * posix/tst-rfc3484-3.c: Likewise.
14466 * posix/tst-rfc3484.c: Likewise.
14467 * resolv/nss_dns/dns-canon.c: Likewise.
14468 * resolv/nss_dns/dns-network.c: Likewise.
14469 * resolv/res_init.c: Likewise.
14470 * resolv/res_mkquery.c: Likewise.
14471 * resolv/tst-aton.c: Likewise.
14472 * stdlib/cxa_atexit.c: Likewise.
14473 * stdlib/cxa_finalize.c: Likewise.
14474 * stdlib/gen-fpioconst.c: Likewise.
14475 * stdlib/strtol_l.c: Likewise.
14476 * string/tst-endian.c: Likewise.
14477 * sunrpc/auth_des.c: Likewise.
14478 * sunrpc/clnt_udp.c: Likewise.
14479 * sunrpc/rtime.c: Likewise.
14480 * sunrpc/svcauth_des.c: Likewise.
14481 * sunrpc/xdr.c: Likewise.
14482 * sunrpc/xdr_intXX_t.c: Likewise.
14483 * sunrpc/xdr_rec.c: Likewise.
14484 * sysdeps/generic/ldconfig.h: Likewise.
14485 * sysdeps/generic/ldsodefs.h: Likewise.
14486 * sysdeps/generic/memusage.h: Likewise.
14487 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14488 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14489 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14490 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14491 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14493 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14494 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14495 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14496 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14497 * sysdeps/posix/getaddrinfo.c: Likewise.
14498 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14499 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14500 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14501 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14502 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14503 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14504 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14505 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14506 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14507 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14508 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14509 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14510 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14511 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14512 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14513 * sysdeps/x86_64/dl-tls.h: Likewise.
14514 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14515 * time/alt_digit.c: Likewise.
14516 * time/era.c: Likewise.
14517 * wcsmbs/tst-c16c32-1.c: Likewise.
14519 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14521 * math/libm-test.inc (struct test_sincos_data): New type.
14522 (RUN_TEST_LOOP_sincos): New macro.
14523 (sincos_test_data): New variable.
14524 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14526 2013-05-16 Richard Henderson <rth@redhat.com>
14528 * math/atest-exp2.c (LIMB64): New macro.
14529 (CONSTSZ): New macro.
14530 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14532 (print_mpn_fp): ... to function scope.
14533 (read_mpn_hex): Remove.
14534 (get_log2): Remove.
14535 (exp2_mpn): Use mp_log2.
14536 (main): Use mp_exp1.
14538 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14540 * math/libm-test.inc: Remove comment about not testing "inexact"
14542 (INEXACT_EXCEPTION): New macro.
14543 (NO_INEXACT_EXCEPTION): Likewise.
14544 (INVALID_EXCEPTION_OK): Update value.
14545 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14546 (OVERFLOW_EXCEPTION_OK): Likewise.
14547 (UNDERFLOW_EXCEPTION_OK): Likewise.
14548 (IGNORE_ZERO_INF_SIGN): Likewise.
14549 (ERRNO_UNCHANGED): Likewise.
14550 (ERRNO_EDOM): Likewise.
14551 (ERRNO_ERANGE): Likewise.
14552 (test_exceptions): Handle testing "inexact" exceptions.
14553 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14554 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14555 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14556 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14558 (rint_towardzero_test_data): Likewise.
14559 (rint_downward_test_data): Likewise.
14560 (rint_upward_test_data): Likewise.
14562 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14563 with OVERFLOW_EXCEPTION.
14564 (exp10_test_data): Likewise.
14565 (exp2_test_data): Likewise.
14566 (expm1_test_data): Likewise.
14567 (lgamma_test_data): Likewise.
14568 (pow_test_data): Likewise.
14569 (tgamma_test_data): Likewise.
14570 (yn_test_data): Remove duplicate test of overflow.
14572 * math/libm-test.inc (struct test_cc_c_data): New type.
14573 (RUN_TEST_LOOP_cc_c): New macro.
14574 (cpow_test_data): New variable.
14575 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14577 * math/libm-test.inc (struct test_f_L_data): New type.
14578 (RUN_TEST_LOOP_f_L): New macro.
14579 (llrint_test_data): New variable.
14580 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14581 (llrint_tonearest_test_data): New variable.
14582 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14583 (llrint_towardzero_test_data): New variable.
14584 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14585 (llrint_downward_test_data): New variable.
14586 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14587 (llrint_upward_test_data): New variable.
14588 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14589 (llround_test_data): New variable.
14590 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14592 2013-05-13 Peter Collingbourne <pcc@google.com>
14594 * math/atest-exp2.c (get_log2): Remove const attribute.
14596 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14598 * math/libm-test.inc (struct test_f_l_data): New type.
14599 (RUN_TEST_LOOP_f_l): New macro.
14600 (lrint_test_data): New variable.
14601 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14602 (lrint_tonearest_test_data): New variable.
14603 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14604 (lrint_towardzero_test_data): New variable.
14605 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14606 (lrint_downward_test_data): New variable.
14607 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14608 (lrint_upward_test_data): New variable.
14609 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14610 (lround_test_data): New variable.
14611 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14613 2013-05-15 Peter Collingbourne <pcc@google.com>
14615 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14616 (EXTRACT_WORDS64) Use where appropriate.
14617 (INSERT_WORDS64) Likewise.
14619 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14620 constraints with x constraints.
14621 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14623 * malloc/obstack.c (_obstack_compat): Add initializer.
14625 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14627 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14628 si_trapno and add si_addr_lsb to _sifields.sigfault.
14629 (si_trapno): Remove macro.
14630 (si_addr_lsb): Define new macro.
14631 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14633 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14635 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14636 instead of TEST_f_l.
14637 (llrint_test_tonearest): Likewise.
14638 (llrint_test_towardzero): Likewise.
14639 (llrint_test_downward): Likewise.
14640 (llrint_test_upward): Likewise.
14641 (llround_test): Likewise.
14643 * math/libm-test.inc (struct test_f_i_data): Add comment.
14644 (RUN_TEST_LOOP_f_b): New macro.
14645 (RUN_TEST_LOOP_f_b_tg): Likewise.
14646 (finite_test_data): New variable.
14647 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14648 (isfinite_test_data): New variable.
14649 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14650 (isinf_test_data): New variable.
14651 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14652 (isnan_test_data): New variable.
14653 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14654 (isnormal_test_data): New variable.
14655 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14656 (issignaling_test_data): New variable.
14657 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14658 (signbit_test_data): New variable.
14659 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14661 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14662 with INVALID_EXCEPTION.
14663 (acosh_test_data): Likewise.
14664 (asin_test_data): Likewise.
14665 (atanh_test_data): Likewise.
14666 (fmod_test_data): Likewise.
14667 (log_test_data): Likewise.
14668 (log10_test_data): Likewise.
14669 (log2_test_data): Likewise.
14670 (pow_test_data): Likewise.
14671 (sqrt_test_data): Likewise.
14672 (y0_test_data): Likewise.
14673 (y1_test_data): Likewise.
14674 (yn_test_data): Likewise.
14676 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14679 * math/libm-test.inc (struct test_ff_i_data): New type.
14680 (RUN_TEST_LOOP_ff_i_tg): New macro.
14681 (isgreater_test_data): New variable.
14682 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14683 (isgreaterequal_test_data): New variable.
14684 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14685 (isless_test_data): New variable.
14686 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14687 (islessequal_test_data): New variable.
14688 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14689 (islessgreater_test_data): New variable.
14690 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14691 (isunordered_test_data): New variable.
14692 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14694 2013-05-14 David S. Miller <davem@davemloft.net>
14696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14698 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14700 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14702 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14704 (struct test_f_i_data): Change type of max_ulp to int.
14706 * math/libm-test.inc (test_ffI_f1_data): New type.
14707 (RUN_TEST_LOOP_ffI_f1): New macro.
14708 (remquo_test_data): New variable.
14709 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14711 * setjmp/tst-setjmp-fp.c: New file.
14712 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14713 (link-libm): New variable.
14714 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14716 * math/libm-test.inc (struct test_f_i_data): New type.
14717 (RUN_TEST_LOOP_f_i): New macro.
14718 (RUN_TEST_LOOP_f_i_tg): Likewise.
14719 (fpclassify_test_data): New variable.
14720 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14721 (ilogb_test_data): New variable.
14722 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14724 * math/libm-test.inc (scalbln_test): Correct function name in END
14727 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14728 (RUN_TEST_LOOP_fI_f1): New macro.
14729 (frexp_test_data): New variable.
14730 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14732 * math/libm-test.inc (struct test_fF_f1_data): New type.
14733 (RUN_TEST_LOOP_fF_f1): New macro.
14734 (modf_test_data): New variable.
14735 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14737 * math/libm-test.inc (struct test_f_f1_data): New type.
14738 (RUN_TEST_LOOP_f_f1): New macro.
14739 (gamma_test_data): New variable.
14740 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14741 (lgamma_test_data): New variable.
14742 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14744 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14746 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14747 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14748 (main): Comment "tls" pseudo-hwcap.
14750 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14752 * math/libm-test.inc (struct test_fl_f_data): New type.
14753 (RUN_TEST_LOOP_fl_f): New variable.
14754 (scalbln_test_data): New variable.
14755 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14757 * math/libm-test.inc (struct test_fi_f_data): New type.
14758 (RUN_TEST_LOOP_fi_f): New macro.
14759 (ldexp_test_data): New variable.
14760 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14761 (scalbn_test_data): New variable.
14762 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14764 * math/libm-test.inc (struct test_c_f_data): New type.
14765 (RUN_TEST_LOOP_c_f): New macro.
14766 (cabs_test_data): New variable.
14767 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14768 (carg_test_data): New variable.
14769 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14770 (cimag_test_data): New variable.
14771 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14772 (creal_test_data): New variable.
14773 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14775 * math/libm-test.inc (struct test_if_f_data): New type.
14776 (RUN_TEST_LOOP_if_f): New macro.
14777 (jn_test_data): New variable.
14778 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14779 (yn_test_data): New variable.
14780 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14782 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14784 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14786 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14787 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14789 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14791 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14792 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14793 (bench-deps): Add bench-timing.h.
14794 * benchtests-bench-skeleton.c: Include bench-timing.h.
14795 (main): Use TIMING_* macros instead of clock_gettime.
14796 * benchtests/bench-timing.h: New file.
14799 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14800 Renamed from _LIB_VERSION.
14801 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14803 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14805 * math/libm-test.inc (struct test_fff_f_data): New type.
14806 (RUN_TEST_LOOP_fff_f): New macro.
14807 (fma_test_data): New variable.
14808 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14809 (fma_towardzero_test_data): New variable.
14810 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14811 (fma_downward_test_data): New variable.
14812 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14813 (fma_upward_test_data): New variable.
14814 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14816 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14817 (struct test_c_c_data): New type.
14818 (RUN_TEST_LOOP_c_c): New macro.
14819 (cacos_test_data): New variable.
14820 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14821 (cacosh_test_data): New variable.
14822 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14823 (casin_test_data): New variable.
14824 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14825 (casinh_test_data): New variable.
14826 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14827 (catan_test_data): New variable.
14828 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14829 (catanh_test_data): New variable.
14830 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14831 (ccos_test_data): New variable.
14832 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14833 (ccosh_test_data): New variable.
14834 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14835 (cexp_test_data): New variable.
14836 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14837 (clog_test_data): New variable.
14838 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14839 (clog10_test_data): New variable.
14840 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14841 (conj_test_data): New variable.
14842 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14843 (cproj_test_data): New variable.
14844 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14845 (csin_test_data): New variable.
14846 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14847 (csinh_test_data): New variable.
14848 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14849 (csqrt_test_data): New variable.
14850 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14851 (ctan_test_data): New variable.
14852 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14853 (ctan_tonearest_test_data): New variable.
14854 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14855 (ctan_towardzero_test_data): New variable.
14856 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14857 (ctan_downward_test_data): New variable.
14858 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14859 (ctan_upward_test_data): New variable.
14860 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14861 (ctanh_test_data): New variable.
14862 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14863 (ctanh_tonearest_test_data): New variable.
14864 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14865 (ctanh_towardzero_test_data): New variable.
14866 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14867 (ctanh_downward_test_data): New variable.
14868 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14869 (ctanh_upward_test_data): New variable.
14870 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14871 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14874 * math/libm-test.inc (struct test_ff_f_data): New type.
14875 (struct test_ff_f_data_nexttoward): Likewise.
14876 (RUN_TEST_LOOP_2_f): New macro.
14877 (RUN_TEST_LOOP_ff_f): Likewise.
14878 (atan2_test_data): New variable.
14879 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14880 (copysign_test_data): New variable.
14881 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14882 (fdim_test_data): New variable.
14883 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14884 (fmax_test_data): New variable.
14885 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14886 (fmin_test_data): New variable.
14887 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14888 (fmod_test_data): New variable.
14889 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14890 (hypot_test_data): New variable.
14891 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14892 (nextafter_test_data): New variable.
14893 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14894 (nexttoward_test_data): New variable.
14895 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14896 (pow_test_data): New variable.
14897 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14898 (pow_tonearest_test_data): New variable.
14899 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14900 (pow_towardzero_test_data): New variable.
14901 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14902 (pow_downward_test_data): New variable.
14903 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14904 (pow_upward_test_data): New variable.
14905 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14906 (remainder_test_data): New variable.
14907 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14908 (scalb_test_data): New variable.
14909 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14910 * sysdeps/i386/fpu/libm-test-ulps: Update.
14912 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14914 * math/libm-test.inc (fma_test): Use max_value instead of local
14916 (nextafter_test): Likewise.
14918 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14919 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14920 (acos_downward_test_data): New variable.
14921 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14922 (acos_upward_test_data): New variable.
14923 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14924 (acosh_test_data): New variable.
14925 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14926 (asin_test_data): New variable.
14927 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14928 (asin_tonearest_test_data): New variable.
14929 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14930 (asin_towardzero_test_data): New variable.
14931 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14932 (asin_downward_test_data): New variable.
14933 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14934 (asin_upward_test_data): New variable.
14935 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14936 (asinh_test_data): New variable.
14937 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14938 (atan_test_data): New variable.
14939 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14940 (atanh_test_data): New variable.
14941 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14942 (cbrt_test_data): New variable.
14943 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14944 (ceil_test_data): New variable.
14945 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14946 (cos_test_data): New variable.
14947 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14948 (cos_tonearest_test_data): New variable.
14949 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14950 (cos_towardzero_test_data): New variable.
14951 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14952 (cos_downward_test_data): New variable.
14953 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14954 (cos_upward_test_data): New variable.
14955 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14956 (cosh_test_data): New variable.
14957 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14958 (cosh_tonearest_test_data): New variable.
14959 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14960 (cosh_towardzero_test_data): New variable.
14961 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14962 (cosh_downward_test_data): New variable.
14963 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14964 (cosh_upward_test_data): New variable.
14965 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14966 (erf_test_data): New variable.
14967 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14968 (erfc_test_data): New variable.
14969 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14970 (exp_test_data): New variable.
14971 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14972 (exp_tonearest_test_data): New variable.
14973 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14974 (exp_towardzero_test_data): New variable.
14975 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14976 (exp_downward_test_data): New variable.
14977 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14978 (exp_upward_test_data): New variable.
14979 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14980 (exp10_test_data): New variable.
14981 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14982 (exp2_test_data): New variable.
14983 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14984 (expm1_test_data): New variable.
14985 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14986 (fabs_test_data): New variable.
14987 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14988 (floor_test_data): New variable.
14989 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14990 (j0_test_data): New variable.
14991 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14992 (j1_test_data): New variable.
14993 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14994 (log_test_data): New variable.
14995 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14996 (log10_test_data): New variable.
14997 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14998 (log1p_test_data): New variable.
14999 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15000 (log2_test_data): New variable.
15001 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15002 (logb_test_data): New variable.
15003 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15004 (logb_downward_test_data): New variable.
15005 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15006 (nearbyint_test_data): New variable.
15007 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15008 (rint_test_data): New variable.
15009 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15010 (rint_tonearest_test_data): New variable.
15011 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15012 (rint_towardzero_test_data): New variable.
15013 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15014 (rint_downward_test_data): New variable.
15015 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15016 (rint_upward_test_data): New variable.
15017 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15018 (round_test_data): New variable.
15019 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15020 (sin_test_data): New variable.
15021 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15022 (sin_tonearest_test_data): New variable.
15023 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15024 (sin_towardzero_test_data): New variable.
15025 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15026 (sin_downward_test_data): New variable.
15027 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15028 (sin_upward_test_data): New variable.
15029 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15030 (sinh_test_data): New variable.
15031 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15032 (sinh_tonearest_test_data): New variable.
15033 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15034 (sinh_towardzero_test_data): New variable.
15035 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15036 (sinh_downward_test_data): New variable.
15037 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15038 (sinh_upward_test_data): New variable.
15039 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15040 (sqrt_test_data): New variable.
15041 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15042 (tan_test_data): New variable.
15043 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15044 (tan_tonearest_test_data): New variable.
15045 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15046 (tan_towardzero_test_data): New variable.
15047 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15048 (tan_downward_test_data): New variable.
15049 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15050 (tan_upward_test_data): New variable.
15051 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15052 (tanh_test_data): New variable.
15053 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15054 (tgamma_test_data): New variable.
15055 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15056 (trunc_test_data): New variable.
15057 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15058 (y0_test_data): New variable.
15059 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15060 (y1_test_data): New variable.
15061 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15062 (significand_test_data): New variable.
15063 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15065 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15068 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15070 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15072 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15074 2013-05-10 Andreas Jaeger <aj@suse.de>
15077 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15078 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15080 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15082 * math/gen-libm-test.pl (adjust_arg): New function.
15083 (special_functions): Handle generating output in both functions
15085 (parse_args): Likewise.
15086 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15087 $in_func argument to parse_args.
15088 * math/libm-test.inc (struct test_f_f_data): New type.
15089 (IF_ROUND_INIT_): New macro.
15090 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15091 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15092 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15093 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15094 (ROUND_RESTORE_): Likewise.
15095 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15096 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15097 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15098 (ROUND_RESTORE_FE_UPWARD): Likewise.
15099 (RUN_TEST_LOOP_f_f): New macro.
15100 (acos_test_data): New variable.
15101 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15102 (acos_tonearest_test_data): New variable.
15103 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15105 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15107 * benchtests/bench-skeleton.c (startup): Fix coding style.
15109 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15112 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15113 negative infinity argument.
15114 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15115 negative infinity argument.
15116 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15117 negative infinity argument.
15118 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15121 2013-05-10 Florian Weimer <fweimer@redhat.com>
15123 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15124 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15125 * iconv/iconv_prog.c (main): Likewise.
15126 * locale/programs/charmap-dir.c (charmap_readdir)
15127 (fopen_uncompressed): Likewise.
15128 * locale/programs/locfile.c (siblings_uncached)
15129 (write_locale_data): Use lstat64 instead of lstat.
15130 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15133 2013-05-10 Andreas Jaeger <aj@suse.de>
15136 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15138 Include <locale.h>.
15140 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15142 * elf/dl-close.c (_dl_close_worker): Add comments.
15144 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15147 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15149 (__ieee754_rem_pio2l): Update comments.
15152 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15154 (__ieee754_rem_pio2l): Update comments.
15156 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15157 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15159 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15162 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15163 (M_PI_34_LOG10El): Likewise.
15164 (M_PI2_LOG10El): Likewise.
15165 (M_PI4_LOG10El): Likewise.
15166 (M_PI_LOG10El): Likewise.
15168 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15172 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15174 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15175 (MINUS_ZERO_INIT): Likewise.
15176 (PLUS_INFTY_INIT): Likewise.
15177 (MINUS_INFTY_INIT): Likewise.
15178 (QNAN_VALUE_INIT): Likewise.
15179 (MAX_VALUE_INIT): Likewise.
15180 (MIN_VALUE_INIT): Likewise.
15181 (MIN_SUBNORM_VALUE_INIT): Likewise.
15182 (plus_zero): Initialize with PLUS_ZERO_INIT.
15183 (minus_zero): Initialize with MINUS_ZERO_INIT.
15184 (plus_infty): Initialize with PLUS_INFTY_INIT.
15185 (minus_infty): Initialize with MINUS_INFTY_INIT.
15186 (qnan_value): Initialize with QNAN_VALUE_INIT.
15187 (max_value): Initialize with MAX_VALUE_INIT.
15188 (min_value): Initialize with MIN_VALUE_INIT.
15189 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15191 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15192 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15193 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15194 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15196 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15197 (RUN_TEST_2_f): Likewise.
15198 (RUN_TEST_ff_f): Likewise.
15199 (RUN_TEST_fi_f): Likewise.
15200 (RUN_TEST_fl_f): Likewise.
15201 (RUN_TEST_fff_f): Likewise.
15202 (RUN_TEST_c_f): Likewise.
15203 (RUN_TEST_f_f1): Likewise.
15204 (RUN_TEST_fF_f1): Likewise.
15205 (RUN_TEST_fI_f1): Likewise.
15206 (RUN_TEST_ffI_f1): Likewise.
15207 (RUN_TEST_c_c): Likewise.
15208 (RUN_TEST_cc_c): Likewise.
15209 (RUN_TEST_f_i): Likewise.
15210 (RUN_TEST_f_i_tg): Likewise.
15211 (RUN_TEST_ff_i_tg): Likewise.
15212 (RUN_TEST_f_b): Likewise.
15213 (RUN_TEST_f_b_tg): Likewise.
15214 (RUN_TEST_f_l): Likewise.
15215 (RUN_TEST_f_L): Likewise.
15216 (RUN_TEST_sincos): Likewise.
15217 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15218 whether to show exceptions. Do not include ");\n" in return
15220 (special_functions): Output call to RUN_TEST_sincos instead of
15221 check_float calls. Update calls to new_test.
15222 (parse_args): Output call to single RUN_TEST_* macro instead of
15223 check_* calls and other assignments. Update calls to new_test.
15229 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15230 input to result for tgamma overflow.
15231 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15232 (gamma_coeff): New variable.
15233 (NCOEFF): New macro.
15234 (gamma_positive): New function.
15235 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15236 underflow here. Use gamma_positive instead of exp (lgamma) for
15238 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15239 (gamma_coeff): New variable.
15240 (NCOEFF): New macro.
15241 (gammaf_positive): New function.
15242 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15243 underflow here. Use gamma_positive instead of exp (lgamma) for
15245 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15246 (gamma_coeff): New variable.
15247 (NCOEFF): New macro.
15248 (gammal_positive): New function.
15249 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15250 underflow here. Use gamma_positive instead of exp (lgamma) for
15252 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15253 (gamma_coeff): New variable.
15254 (NCOEFF): New macro.
15255 (gammal_positive): New function.
15256 (__ieee754_gammal_r): Handle positive infinity, overflow and
15257 underflow here. Handle NaN the same as positive infinity. Remove
15258 check x < 0xffffffff for negative integers. Use gamma_positive
15259 instead of exp (lgamma) for other arguments.
15260 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15261 (gamma_coeff): New variable.
15262 (NCOEFF): New macro.
15263 (gammal_positive): New function.
15264 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15265 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15266 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15267 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15268 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15269 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15270 * sysdeps/generic/math_private.h (__gamma_productf): New
15272 (__gamma_product): Likewise.
15273 (__gamma_productl): Likewise.
15274 * math/Makefile (libm-calls): Add gamma_product.
15275 * math/libm-test.inc (tgamma_test): Add more tests.
15276 * sysdeps/i386/fpu/libm-test-ulps: Update.
15277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15279 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15281 * benchtests/bench-skeleton.c (main): Preheat CPU.
15283 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15285 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15287 2013-05-07 Roland McGrath <roland@hack.frob.com>
15289 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15290 and _dl_skip_args_internal.
15292 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15294 * manual/message.texi (Message Translation): Talk about users.
15295 Message to key mapping impacts design.
15297 2013-05-06 Roland McGrath <roland@hack.frob.com>
15299 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15301 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15303 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15304 * sysdeps/wordsize-64/glob64.c: ... here.
15306 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15307 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15310 * debug/getlogin_r_chk.c: Moved to ...
15311 * login/getlogin_r_chk.c: ... here.
15312 * debug/Makefile (routines): Move getlogin_r_chk to ...
15313 * login/Makefile (routines): ... here.
15314 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15315 * login/Versions (libc: GLIBC_2.4): ... here.
15317 * io/poll.c (__poll): Renamed from poll.
15318 Add libc_hidden_def.
15319 (poll): Define as weak alias.
15321 * debug/ptsname_r_chk.c: Moved to ...
15322 * login/ptsname_r_chk.c: ... here.
15323 * debug/Makefile (routines): Move ptsname_r_chk to ...
15324 * login/Makefile (routines): ... here.
15325 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15326 * login/Versions (libc: GLIBC_2.4): ... here.
15328 * posix/getlogin.c: Moved to ...
15329 * login/getlogin.c: ... here.
15330 * posix/getlogin_r.c: Moved to ...
15331 * login/getlogin_r.c: ... here.
15332 * posix/getlogin_r.c: Moved to ...
15333 * login/getlogin_r.c: ... here.
15334 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15335 * login/Makefile (routines): ... here.
15336 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15337 * login/Versions (libc: GLIBC_2.0): ... here.
15339 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15340 (setrlimit): Define as weak alias.
15342 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15343 Call __ names for open, ftruncate, and close.
15344 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15345 (truncate): Define as weak alias.
15347 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15349 * math/gen-libm-test.pl (parse_args): Initialize x before each
15350 test of frexp, modf and remquo.
15352 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15353 test signgam value.
15355 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15359 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15361 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15363 2013-05-06 Roland McGrath <roland@hack.frob.com>
15365 * elf/dl-writev.h: New file.
15366 * elf/dl-misc.c: Include it.
15367 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15368 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15370 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15372 * math/libm-test.inc (noXFails): Remove variable.
15373 (noXPasses): Likewise.
15374 (BUILD_COMPLEX_INT): Remove macro.
15375 (print_screen): Remove xfail argument.
15376 (print_screen_max_error): Likewise.
15377 (update_stats): Likewise.
15378 (print_max_error): Likewise. Update calls to other affected
15380 (print_complex_max_error): Likewise.
15381 (test_single_exception): Update calls to print_screen.
15382 (test_single_errno): Likewise.
15383 (check_float_internal): Remove xfail argument. Update calls to
15384 other affected functions.
15385 (check_float): Likewise.
15386 (check_complex): Likewise.
15387 (check_int): Likewise.
15388 (check_long): Likewise.
15389 (check_bool): Likewise.
15390 (check_longlong): Likewise.
15391 (main): Don't print noXFails and noXPasses.
15392 * math/gen-libm-test.pl (top level): Don't mention expected
15393 failure handling in comment.
15394 (new_test): Don't handle expected failures.
15395 (parse_args): Don't mention expected failure handling in comment.
15396 (generate_testfile): Don't handle expected failures.
15397 (parse_ulps): Likewise.
15398 (print_ulps_file): Likewise.
15399 (get_failure): Remove function.
15400 (output_test): Don't handle expected failures.
15401 * make/README.libm-test: Don't mention expected failure handling.
15403 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15404 (minus_zero): Likewise.
15405 (plus_infty): Likewise.
15406 (minus_infty): Likewise.
15407 (qnan_value): Likewise.
15408 (max_value): Likewise.
15409 (min_value): Likewise.
15410 (min_subnorm_value): Likewise.
15411 (initialize): Do not initialize those variables dynamically.
15413 2013-05-03 Roland McGrath <roland@hack.frob.com>
15415 * io/open.c (__open_2): Moved to ...
15416 * io/open_2.c: ... this new file.
15417 * io/open64.c (__open64_2): Moved to ...
15418 * io/open64_2.c: ... this new file.
15419 * io/openat.c (__openat_2): Moved to ...
15420 * io/openat_2.c: ... this new file.
15421 * io/openat64.c (__openat64_2): Moved to ...
15422 * io/openat64_2.c: ... this new file.
15423 * io/Makefile (routines): Add them.
15424 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15425 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15426 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15427 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15428 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15429 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15430 (__openat64): Add hidden_ver.
15431 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15432 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15434 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15435 Separately conditionalize setting of GLRO(dl_sysinfo) so
15436 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15437 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15439 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15441 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15442 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15444 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15445 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15446 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15447 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15448 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15450 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15452 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15453 test signgam value.
15455 * math/libm-test.inc (hypot_test): Do not use
15456 IGNORE_ZERO_INF_SIGN.
15458 2013-05-03 Andreas Jaeger <aj@suse.de>
15460 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15462 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15463 (PF_MAX): Adjust for VSOCK change.
15465 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15469 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15472 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15473 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15474 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15476 2013-05-02 David S. Miller <davem@davemloft.net>
15478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15480 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15482 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15484 2013-05-01 Roland McGrath <roland@hack.frob.com>
15486 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15488 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15491 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15492 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15493 Use __attribute__ ((__gnu_inline__)).
15494 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15495 Don't use __attribute__ ((__gnu_inline__)).
15497 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15500 * math/s_catan.c (__catan): Handle small real or imaginary part of
15501 input specially to avoid spurious underflow.
15502 * math/s_catanf.c (__catanf): Likewise.
15503 * math/s_catanh.c (__catanh): Likewise.
15504 * math/s_catanhf.c (__catanhf): Likewise.
15505 * math/s_catanhl.c (__catanhl): Likewise.
15506 * math/s_catanl.c (__catanl): Likewise.
15507 * math/libm-test.inc (catan_test): Add more tests.
15508 (catanh_test): Likewise.
15509 * sysdeps/i386/fpu/libm-test-ulps: Update.
15510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15512 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15516 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15519 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15520 accurately for denominator in atan2.
15521 * math/s_catanf.c (__catanf): Likewise.
15522 * math/s_catanh.c (__catanh): Likewise.
15523 * math/s_catanhf.c (__catanhf): Likewise.
15524 * math/s_catanhl.c (__catanhl): Likewise.
15525 * math/s_catanl.c (__catanl): Likewise.
15526 * math/libm-test.inc (catan_test): Add more tests.
15527 (catanh_test): Likewise.
15528 * sysdeps/i386/fpu/libm-test-ulps: Update.
15529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15531 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15533 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15535 * benchtests/Makefile (bench): Remove slow benchmarks.
15536 * benchtests/atan-inputs: Add slow benchmark inputs.
15537 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15538 (BENCH_FUNC): Accept variant offset.
15540 * benchtests/bench-skeleton.c (main): Run benchmark for each
15542 * benchtests/cos-inputs: Add slow benchmark inputs.
15543 * benchtests/exp-inputs: Likewise.
15544 * benchtests/pow-inputs: Likewise.
15545 * benchtests/sin-inputs: Likewise.
15546 * benchtests/slowatan-inputs: Remove.
15547 * benchtests/slowatan.c: Remove.
15548 * benchtests/slowcos-inputs: Remove.
15549 * benchtests/slowcos.c: Remove.
15550 * benchtests/slowexp-inputs: Remove.
15551 * benchtests/slowexp.c: Remove.
15552 * benchtests/slowpow-inputs: Remove.
15553 * benchtests/slowpow.c: Remove.
15554 * benchtests/slowsin-inputs: Remove.
15555 * benchtests/slowsin.c: Remove.
15556 * benchtests/slowtan-inputs: Remove.
15557 * benchtests/slowtan.c: Remove.
15558 * benchtests/tan-inputs: Add slow benchmark inputs.
15559 * scripts/bench.pl: Parse comments and directives.
15561 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15563 ($(objpfx)bench-%.c): Remove *-ITER.
15564 * benchtests/bench-modf.c: Remove definition of ITER.
15565 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15566 (main): Loop for DURATION seconds instead of fixed number of
15568 * scripts/bench.pl: Don't expect iterations in parameters.
15570 2013-04-29 Roland McGrath <roland@hack.frob.com>
15572 * io/fchdir.c (__fchdir): Renamed from fchdir.
15573 (fchdir): Define as weak alias.
15575 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15577 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15578 (ERRNO_EDOM): Likewise.
15579 (ERRNO_ERANGE): Likewise.
15580 (noErrnoTests): New variable.
15581 (init_max_error): Set errno to 0.
15582 (test_single_errno): New function.
15583 (test_errno): Likewise.
15584 (check_float_internal): Call test_errno. Set errno to 0.
15585 (check_complex): Refer to errno tests in comment.
15586 (check_int): Call test_errno. Set errno to 0.
15587 (check_long): Likewise.
15588 (check_bool): Likewise.
15589 (check_longlong): Likewise.
15590 (cos_test): Use ERRNO_* flags for errno tests instead of
15592 (expm1_test): Likewise.
15593 (fmod_test): Likewise.
15594 (ilogb_test): Likewise.
15595 (lgamma_test): Likewise.
15596 (pow_test): Likewise.
15597 (remainder_test): Likewise.
15598 (sin_test): Likewise.
15599 (tan_test): Likewise.
15600 (yn_test): Likewise.
15601 (initialize): Set errno to 0.
15602 (main): Print number of errno tests.
15603 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15605 2013-04-29 Andreas Jaeger <aj@suse.de>
15608 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15612 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15613 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15617 * stdlib/random.c (__initstate): Return NULL if
15621 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15622 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15625 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15629 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15631 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15632 of individual tests.
15633 (casin_test): Likewise.
15634 (casinh_test): Likewise.
15636 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15639 * math/s_catan.c (__catan): Handle arguments with large real or
15640 imaginary part separately without squaring.
15641 * math/s_catanf.c (__catanf): Likewise.
15642 * math/s_catanh.c (__catanh): Likewise.
15643 * math/s_catanhf.c (__catanhf): Likewise.
15644 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15646 (__catanhl): Handle arguments with large real or imaginary part
15647 separately without squaring.
15648 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15650 (__catanl): Handle arguments with large real or imaginary part
15651 separately without squaring.
15652 * math/libm-test.inc (catan_test): Add more tests.
15653 (catanh_test): Likewise.
15654 * sysdeps/i386/fpu/libm-test-ulps: Update.
15655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15657 2013-04-27 Andreas Jaeger <aj@suse.de>
15660 * stdlib/stdlib.h: Update guards for qecvt.
15661 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15664 2013-04-27 Allan McRae <allan@archlinux.org>
15666 * sysdeps/i386/fpu/libm-test-ulps: Update.
15668 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15671 * math/s_catan.c: Include <float.h>.
15672 (__catan): Ensure underflow exception occurs for underflowed
15674 * math/s_catanf.c: Include <float.h>.
15675 (__catanf): Ensure underflow exception occurs for underflowed
15677 * math/s_catanh.c: Include <float.h>.
15678 (__catanh): Ensure underflow exception occurs for underflowed
15680 * math/s_catanhf.c: Include <float.h>.
15681 (__catanhf): Ensure underflow exception occurs for underflowed
15683 * math/s_catanhl.c: Include <float.h>.
15684 (__catanhl): Ensure underflow exception occurs for underflowed
15686 * math/s_catanl.c: Include <float.h>.
15687 (__catanl): Ensure underflow exception occurs for underflowed
15689 * math/libm-test.inc (catan_test): Add more tests.
15690 (catanh_test): Likewise.
15693 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15694 underflowed result.
15695 * math/s_ccoshf.c (__ccoshf): Likewise.
15696 * math/s_ccoshl.c (__ccoshl): Likewise.
15697 * math/s_csin.c (__csin): Likewise.
15698 * math/s_csinf.c (__csinf): Likewise.
15699 * math/s_csinh.c (__csinh): Likewise.
15700 * math/s_csinhf.c (__csinhf): Likewise.
15701 * math/s_csinhl.c (__csinhl): Likewise.
15702 * math/s_csinl.c (__csinl): Likewise.
15703 * math/libm-test.inc (ccos_test): Add more tests.
15704 (ccosh_test): Likewise.
15705 (csin_test): Likewise.
15706 (csinh_test): Likewise.
15708 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15710 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15711 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15712 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15713 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15714 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15715 powerpc/power5+/fpu folders.
15716 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15719 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15723 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15725 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15726 additions to variable.
15727 [$(config-machine) = x86_64] (modules-names): Likewise.
15728 ($(objpfx)tst-audit3): Remove dependency.
15729 ($(objpfx)tst-audit3.out): Likewise.
15730 ($(objpfx)tst-audit4): Likewise.
15731 ($(objpfx)tst-audit4.out): Likewise.
15732 ($(objpfx)tst-audit5): Likewise.
15733 ($(objpfx)tst-audit5.out): Likewise.
15734 ($(objpfx)tst-audit6): Likewise.
15735 ($(objpfx)tst-audit6.out): Likewise.
15736 ($(objpfx)tst-audit7): Likewise.
15737 ($(objpfx)tst-audit7.out): Likewise.
15738 (tst-audit3-ENV): Remove variable.
15739 (tst-audit4-ENV): Likewise.
15740 (tst-audit5-ENV): Likewise.
15741 (tst-audit6-ENV): Likewise.
15742 (tst-audit7-ENV): Likewise.
15743 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15744 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15745 addition to variable.
15746 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15747 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15748 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15749 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15750 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15751 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15752 tst-audit3, tst-audit4 and tst-audit5.
15753 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15754 tst-audit6 and tst-audit7.
15755 [$(subdir) = elf] (modules-names): Add audit modules for those
15757 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15758 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15759 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15760 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15761 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15762 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15763 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15764 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15765 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15766 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15767 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15768 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15769 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15770 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15771 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15772 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15774 [$(subdir) = elf && $(config-cflags-avx) = yes]
15775 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15776 [$(subdir) = elf && $(config-cflags-avx) = yes]
15777 (CFLAGS-tst-auditmod4a.c): Likewise.
15778 [$(subdir) = elf && $(config-cflags-avx) = yes]
15779 (CFLAGS-tst-auditmod4b.c): Likewise.
15780 [$(subdir) = elf && $(config-cflags-avx) = yes]
15781 (CFLAGS-tst-auditmod6b.c): Likewise.
15782 [$(subdir) = elf && $(config-cflags-avx) = yes]
15783 (CFLAGS-tst-auditmod6c.c): Likewise.
15784 [$(subdir) = elf && $(config-cflags-avx) = yes]
15785 (CFLAGS-tst-auditmod7b.c): Likewise.
15786 * elf/tst-audit3.c: Move to ...
15787 * sysdeps/x86_64/tst-audit3.c: ... here.
15788 * elf/tst-audit4.c: Move to ...
15789 * sysdeps/x86_64/tst-audit4.c: ... here.
15790 * elf/tst-audit5.c: Move to ...
15791 * sysdeps/x86_64/tst-audit5.c: ... here.
15792 * elf/tst-audit6.c: Move to ...
15793 * sysdeps/x86_64/tst-audit6.c: ... here.
15794 * elf/tst-audit7.c: Move to ...
15795 * sysdeps/x86_64/tst-audit7.c: ... here.
15796 * elf/tst-auditmod3a.c: Move to ...
15797 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15798 * elf/tst-auditmod3b.c: Move to ...
15799 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15800 * elf/tst-auditmod4a.c: Move to ...
15801 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15802 * elf/tst-auditmod4b.c: Move to ...
15803 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15804 * elf/tst-auditmod5a.c: Move to ...
15805 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15806 * elf/tst-auditmod5b.c: Move to ...
15807 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15808 * elf/tst-auditmod6a.c: Move to ...
15809 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15810 * elf/tst-auditmod6b.c: Move to ...
15811 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15812 * elf/tst-auditmod6c.c: Move to ...
15813 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15814 * elf/tst-auditmod7a.c: Move to ...
15815 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15816 * elf/tst-auditmod7b.c: Move to ...
15817 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15819 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15822 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15823 define unconditionally.
15824 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15825 define unconditionally.
15826 (INT8_C, INT16_C, etc.): Likewise.
15828 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15830 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15831 __ehdr_start with hidden visibility.
15833 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15835 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15837 * math/libm-test.inc (cos_test): Use accurate hex constants.
15838 (sincost_test): Likewise.
15840 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15842 * math/libm-test.inc (catan_test): Add more tests.
15843 (catanh_test): Likewise.
15845 * math/s_catanf.c (__catanf): Use suffixed floating-point
15847 * math/s_catanhf.c (__catanhf): Likewise.
15848 * math/s_catanhl.c (__catanhl): Likewise.
15849 * math/s_catanl.c (__catanl): Likewise.
15852 * math/s_catan.c (__catan): Calculate imaginary part of result
15853 with log1p not log unless computing log of number close to 0.
15854 * math/s_catanf.c (__catanf): Likewise.
15855 * math/s_catanl.c (__catanl): Likewise.
15856 * math/s_catanh.c (__catanh): Calculate real part of result with
15857 log1p not log unless computing log of number close to 0.
15858 * math/s_catanhf.c (__catanhf): Likewise.
15859 * math/s_catanhl.c (__catanhl): Likewise.
15860 * math/libm-test.inc (catan_test): Add more tests.
15861 (catanh_test): Likewise.
15862 * sysdeps/i386/fpu/libm-test-ulps: Update.
15863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15865 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15867 * benchtests/Makefile: Mention files in which fast and slow
15868 paths of math functions are implemented.
15870 2013-04-23 Roland McGrath <roland@hack.frob.com>
15872 * sysdeps/posix/timespec_get.c: New file.
15874 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15876 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15878 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15880 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15881 powerpc/power5/fpu folders.
15882 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15883 * benchtests/Makefile: Add modf testcase.
15884 * benchtests/bench-modf.c: New file: Benchmark test for mo
15886 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15889 * time/Makefile (tests): Add tst-strptime-whitespace.
15890 * time/strptime_l.c (get_number): Use ISSPACE.
15891 (__strptime_internal): Likewise.
15892 * time/tst-strptime-whitespace.c: New test case.
15894 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15896 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15898 (_nss_files_init): Set it here.
15900 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15902 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15903 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15906 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15908 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15910 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15912 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15915 2013-04-21 David S. Miller <davem@davemloft.net>
15917 * po/ru.po: Update Russion translation from translation project.
15919 2013-04-17 Adam Conrad <adconrad@0c3.net>
15921 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15924 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15926 * configure.in: Remove i386 configure warning. Remove i386 case.
15927 * configure: Regenerate.
15928 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15929 Add example to error message.
15930 * sysdeps/i386/configure: Regenerate.
15932 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15934 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15936 * benchtests/cos-inputs: New file.
15937 * benchtests/slowcos-inputs: New file.
15938 * benchtests/slowcos.c: New file.
15939 * benchtests/slowtan-inputs: New file.
15940 * benchtests/slowtan.c: New file.
15941 * benchtests/tan-inputs: New file.
15943 2013-04-16 Roland McGrath <roland@hack.frob.com>
15945 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15948 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15950 * benchtests/Makefile: Include cppflags-iterator.mk to add
15951 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15953 * Makefile.in (bench-clean): New target.
15954 * benchtests/Makefile (bench-clean): Likewise.
15956 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15958 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15960 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15962 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15964 2013-04-15 Andreas Schwab <schwab@suse.de>
15966 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15967 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15968 * nscd/pwdcache.c (cache_addpw): Likewise.
15969 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15972 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15974 * benchtests/Makefile (bench): Write all output to
15975 bench-out.tmp together.
15977 2013-04-15 Andreas Schwab <schwab@suse.de>
15979 * nscd/nscd.c (main): Don't fork again after closing files.
15981 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15983 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15985 * benchtests/Rules (bench-deps): Collect dependencies into a
15986 single variable. Add Makefile to dependencies.
15987 ($(objpfx)bench-%.c): Depend on bench-deps.
15989 2013-04-12 Roland McGrath <roland@hack.frob.com>
15990 Xavier Roche <roche+kml2@exalead.com>
15993 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15994 just that it's a file descriptor.
15995 * manual/llio.texi (Synchronizing AIO Operations): Update description
15996 for EBADF error from aio_fsync.
15998 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16000 * Rules (bench): Move target definition...
16001 * benchtests/Makefile: ... here.
16003 2013-04-11 Carlos O'Donell <carlos@redhat.com>
16005 * math/libm-test.inc (cos_test): Fix PI/2 test.
16006 (sincos_test): Likewise.
16007 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16008 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16010 2013-04-11 Andreas Schwab <schwab@suse.de>
16013 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16014 accept exponent character only when digits were seen.
16015 * stdio-common/Makefile (tests): Add bug26.
16016 * stdio-common/bug26.c: New file.
16019 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16022 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16024 * Makeconfig (rtld-prefix): Define built linker prefix.
16025 * Rules (run-bench): Use it.
16026 * math/Makefile (run-regen-ulps): Likewise.
16028 * Rules (bench): Remove eval.
16030 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16031 Roland McGrath <roland@hack.frob.com>
16032 Ondrej Bilka <neleai@seznam.cz>
16035 * time/getdate.c: Include ctype.h and alloca.h.
16036 (__getdate_r): Trim leading and trailing spaces of input.
16037 * time/tst-getdate.c (tests): Add tests with leading and
16040 2013-04-08 Roland McGrath <roland@hack.frob.com>
16043 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16044 when computing value.
16046 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16048 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16049 Use testrun.sh to run libm tests.
16052 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16054 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16057 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16059 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16061 * Makefile.in (regen-ulps): New target.
16062 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16063 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16064 [ifneq (no,$(PERL)] (regen-ulps): New target.
16065 [ifeq (no,$(PERL)] (regen-ulps): New target.
16066 * math/libm-test.inc (ulps_file_name): Define.
16067 (output_dir): New variable.
16068 (options): Add "output-dir" option.
16069 (parse_opt): Handle 'o' case.
16070 (main): If output_dir is non-NULL use it as a prefix
16072 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16074 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16076 [BZ #10060, #10062]
16077 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16078 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16079 fail configure if __sync_val_compare_and_swap is not inlined.
16080 * sysdeps/i386/configure: Regenerate.
16081 * configure.in: Build for i686 when configured for i386.
16082 * configure: Regenerate.
16083 * README: Remove i386 reference.
16085 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16087 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16088 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16090 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16092 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16093 (lmsnanval): New variables.
16094 (F): Add conversion tests.
16095 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16096 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16098 * stdio-common/tstdiomisc.c (F): Properly collect individual
16101 [BZ #14686, #15336]
16102 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16103 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16104 Instead, use input NaN values or generate a qNaN by arithmetic
16105 operation. Also fix bugs to comply with the standard.
16106 * math/libm-test.inc (remainder_test): Add more tests.
16108 [BZ #15335, #15342]
16109 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16110 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16111 input NaN values or generate a qNaN by arithmetic operation.
16113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16116 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16119 2013-04-03 Joseph Myers <joseph@codesourcery.com>
16122 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16123 underflowed result.
16124 * math/s_cexpf.c (__cexpf): Likewise.
16125 * math/s_cexpl.c (__cexpl): Likewise.
16126 * math/libm-test.inc (cexp_test): Add more tests.
16128 2013-04-03 Andreas Schwab <schwab@suse.de>
16131 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16132 order arrays from heap if bigger than alloca cutoff.
16134 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16136 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16137 (SNAN_TESTS_double): Refer to GCC PR56831.
16138 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16141 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16143 * Rules (bench): Move bench.out after the run is complete.
16145 * Rules (bench): Echo currently running benchmark.
16147 * benchtests/Makefile (bench): Add atan and slowatan.
16148 * benchtests/atan-inputs: New file.
16149 * benchtests/slowatan-inputs: New file.
16150 * benchtests/slowatan.c: New file.
16152 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16153 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16157 * sysdeps/unix/sysv/linux/kernel-features.h
16158 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16159 __ASSUME_XFS_RESTRICTED_CHOWN.
16160 * sysdeps/unix/sysv/linux/pathconf.c
16161 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16162 Save and restore errno.
16164 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16167 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16168 arguments using __kernel_casinh.
16169 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16170 arguments using __kernel_casinhf.
16171 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16172 arguments using __kernel_casinhl.
16173 * math/libm-test.inc (cacosh_test): Add more tests.
16174 * sysdeps/i386/fpu/libm-test-ulps: Update.
16175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16177 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16179 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16180 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16182 * bench/Makefile (bench): Add sin and slowsin.
16183 * benchtests/sin-inputs: New file.
16184 * benchtests/slowsin-inputs: New file.
16185 * benchtests/slowsin.c: New file.
16187 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16188 (bench): Add slowexp and slowpow.
16189 (exp-ITER): Increase iterations.
16190 (pow-ITER): Likewise.
16191 * benchtests/exp-inputs: Change input.
16192 * benchtests/pow-inputs: Likewise.
16193 * benchtests/slowexp-inputs: New file.
16194 * benchtests/slowexp.c: New file.
16195 * benchtests/slowpow-inputs: New file.
16196 * benchtests/slowpow.c: New file.
16198 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16200 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16202 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16203 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16204 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16205 * benchtests/Makefile: Add rint benchtest.
16206 * benchtests/rint-inputs: Input for rint benchtest.
16208 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16210 * Versions.def (libm): Add GLIBC_2.18.
16211 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16212 hidden libm prototypes.
16213 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16214 * math/Makefile (libm-calls): Add s_issignaling.
16215 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16216 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16217 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16219 * math/math.h [__USE_GNU] (issignaling): New macro.
16220 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16221 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16222 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16223 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16224 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16225 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16226 * manual/arith.texi (issignaling): New section.
16227 * manual/libm-err-tab.pl (@all_functions): Update comment.
16228 * math/gen-libm-test.pl (parse_args): Apply special handling for
16230 * math/libm-test.inc (print_float, issignaling_test): New
16232 (check_float_internal): Add issignaling checks.
16233 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16234 default definition.
16235 * sysdeps/powerpc/math-tests.h: New file.
16236 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16238 * math/test-snan.c (TEST_FUNC): Likewise.
16240 2013-03-30 David S. Miller <davem@davemloft.net>
16242 * po/de.po: Update from translation team.
16244 2013-03-30 Joseph Myers <joseph@codesourcery.com>
16247 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16248 imaginary part less than 1.0 and real part less than 0.5
16250 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16251 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16252 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16253 (cacos_test): Add more tests.
16254 (casin_test): Likewise.
16255 (casinh_test): Likewise.
16256 * sysdeps/i386/fpu/libm-test-ulps: Update.
16257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16259 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16261 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16262 ONE with its value.
16264 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16265 (__pow_mp): Replace ONE and MONE with their values.
16266 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16267 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16268 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16269 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16270 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16271 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16273 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16275 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16276 (__pow_mp): Replace ZERO and MZERO with their values.
16277 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16278 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16279 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16280 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16281 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16282 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16285 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16287 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16289 2013-03-28 Roland McGrath <roland@hack.frob.com>
16291 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16292 Declare with __attribute__ ((weak)).
16293 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16294 Call __call_tls_dtors only if it's not NULL.
16296 2013-03-28 Roland McGrath <roland@hack.frob.com>
16298 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16299 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16300 magic __ehdr_start linker symbol if it's defined.
16301 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16302 them up here if it was already done.
16304 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16305 (_dl_aux_init): Use const in cast when setting it.
16306 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16307 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16308 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16310 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16312 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16313 * csu/libc-tls.c: Nor here.
16314 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16316 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16317 (__libc_message): Never call vsyslog.
16319 2013-03-28 Alan Modra <amodra@gmail.com>
16321 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16323 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16326 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16329 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16333 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16336 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16337 Don't add gid passed as argument.
16339 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16341 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16344 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16345 imaginary part between 1.0 and 1.5 and real part less than 0.5
16347 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16348 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16349 * math/libm-test.inc (cacos_test): Add more tests.
16350 (casin_test): Likewise.
16351 (casinh_test): Likewise.
16352 * sysdeps/i386/fpu/libm-test-ulps: Update.
16353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16355 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16357 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16360 (denorm): Likewise.
16361 (__dbl_mp): Likewise.
16362 (add_magnitudes): Likewise.
16363 (sub_magnitudes): Likewise.
16371 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16373 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16374 (__dubcos): Likewise.
16375 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16376 (__ieee754_acos): Likewise.
16377 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16378 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16379 (__exp1): Likewise.
16380 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16383 (my_log2): Likewise.
16384 (checkint): Likewise.
16385 * sysdeps/ieee754/dbl-64/e_remainder.c
16386 (__ieee754_remainder): Likewise.
16387 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16388 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16389 (bsloww): Likewise.
16390 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16392 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16393 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16394 MANTISSA_STORE_T to store computations on mantissa. Use
16395 macros for rounding and division.
16396 (denorm): Likewise.
16397 (__dbl_mp): Likewise.
16398 (add_magnitudes): Likewise.
16399 (sub_magnitudes): Likewise.
16402 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16403 powers of two in terms of TWOPOW macro.
16404 (mp_no): Make type of mantissa as MANTISSA_T.
16405 [!RADIXI]: Define RADIXI.
16406 [!TWO52]: Define TWO52.
16407 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16409 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16411 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16412 llroundl symbol when building for PPC32.
16414 2013-03-24 Mark H Weaver <mhw@netris.org>
16416 * manual/arith.texi (Normalization Functions): Fix prototypes for
16417 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16419 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16423 high value to check if expl overflow.
16424 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16425 to check for underflow and overflow.
16426 * math/libm-test.inc: Add exp test.
16428 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16431 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16434 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16436 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16439 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16441 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16442 wrap blocks consisting of several statements.
16444 * sysdeps/generic/math-tests.h: New file.
16445 * sysdeps/i386/fpu/math-tests.h: Likewise.
16446 * math/test-snan.c: Include it.
16447 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16449 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16452 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16453 (__ieee754_j0l): Do not improve calculations using cos of twice
16454 input for inputs above LDBL_MAX / 2.0L.
16455 (__ieee754_y0l): Likewise.
16456 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16457 (__ieee754_j1l): Do not improve calculations using cos of twice
16458 input for inputs above LDBL_MAX / 2.0L.
16459 (__ieee754_y1l): Likewise.
16460 * math/libm-test.inc (j0_test): Add another test.
16461 (j1_test): Likewise.
16462 (y0_test): Likewise.
16463 (y1_test): Likewise.
16464 * sysdeps/i386/fpu/libm-test-ulps: Update.
16466 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16468 * Rules ($(objpfx)bench-%.c): Include code from a C source
16471 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16474 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16475 imaginary part 1.0 and real part less than 0.5 specially.
16476 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16477 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16478 * math/libm-test.inc (cacos_test): Add more tests.
16479 (casin_test): Likewise.
16480 (casinh_test): Likewise.
16481 * sysdeps/i386/fpu/libm-test-ulps: Update.
16482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16484 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16486 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16487 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16489 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16491 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16492 * config.make.in (config-cflags-sse4): Remove variable.
16493 (config-cflags-avx): Likewise.
16494 (config-cflags-sse2avx): Likewise.
16495 (config-cflags-novzeroupper): Likewise.
16496 (config-asflags-i686): Likewise.
16497 (have-mfma4): Likewise.
16498 (have-as-vis3): Likewise.
16500 * configure.in (MIG): Do not AC_SUBST.
16501 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16502 (libc_cv_cc_sse4): Do not AC_SUBST.
16503 (libc_cv_cc_avx): Likewise.
16504 (libc_cv_cc_sse2avx): Likewise.
16505 (libc_cv_cc_novzeroupper): Likewise.
16506 (libc_cv_cc_fma4): Likewise.
16507 (libc_cv_as_i686): Likewise.
16508 (libc_cv_sparc_as_vis3): Likewise.
16509 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16511 (config-asflags-i686): Likewise.
16512 (config-cflags-avx): Likewise.
16513 (config-cflags-sse2avx): Likewise.
16514 (have-mfma4): Likewise.
16515 (config-cflags-novzeroupper): Likewise.
16516 * sysdeps/mach/configure.in (MIG): Likewise.
16517 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16518 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16520 (config-cflags-avx): Likewise.
16521 (config-cflags-sse2avx): Likewise.
16522 (have-mfma4): Likewise.
16523 (config-cflags-novzeroupper): Likewise.
16524 * configure: Regenerated.
16525 * sysdeps/i386/configure: Likewise.
16526 * sysdeps/mach/configure: Likewise.
16527 * sysdeps/sparc/configure: Likewise.
16528 * sysdeps/x86_64/configure: Likewise.
16530 2013-03-20 Roland McGrath <roland@hack.frob.com>
16533 * locale/programs/localedef.c (options): Put N_ translation marker
16534 on argument names, not just descriptions.
16536 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16538 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16540 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16543 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16545 2013-03-19 Roland McGrath <roland@hack.frob.com>
16547 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16548 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16549 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16550 [!BEFORE_ABORT] (before_abort): New function.
16551 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16552 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16553 (writev_for_fatal): New function.
16554 (WRITEV_FOR_FATAL): New macro; call that.
16555 (backtrace_and_maps): New function.
16556 (BEFORE_ABORT): New macro; call that.
16557 (struct str_list): Type removed.
16558 (__libc_message, __libc_fatal): Functions removed.
16559 Include <sysdeps/posix/libc_fatal.c> instead.
16561 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16563 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16565 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16568 2013-03-19 Andreas Schwab <schwab@suse.de>
16570 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16571 * sysdeps/gnu/configure: Regenerate.
16573 * configure.in: Substitute libc_cv_rtlddir.
16574 * configure: Regenerate.
16575 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16576 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16577 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16578 * elf/Makefile (install-others, CFLAGS-interp.c)
16579 (ldso_install, common-ldd-rewrite): Likewise.
16580 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16581 $(inst_slibdir)/$(rtld-installed-name).
16582 * scripts/rellns-sh: Add -p option.
16583 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16586 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16588 * manual/nptl.texi: Renamed to ...
16589 * manual/threads.texi: ... this.
16590 * manual/Makefile (chapters): Update.
16592 2013-03-18 Roland McGrath <roland@hack.frob.com>
16595 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16596 on argument names, not just descriptions.
16597 * malloc/memusagestat.c (options): Likewise.
16598 * nss/getent.c (options): Likewise.
16600 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16603 * iconv/iconv_prog.c (options): Put N_ translation marker
16604 on argument names, not just descriptions.
16605 * iconv/iconvconfig.c (options): Likewise.
16607 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16609 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16610 implementation which is faster on all x86_64 architectures.
16611 Tested on AMD, Intel Nehalem, SNB, IVB.
16612 * sysdeps/x86_64/strnlen.S: Likewise.
16614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16615 Remove all multiarch strlen and strnlen versions.
16616 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16617 Remove strlen and strnlen related parts.
16619 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16620 Inline strlen part.
16621 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16623 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16624 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16625 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16626 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16627 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16628 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16630 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16632 * manual/memory.texi (Malloc Tunable Parameters):
16633 Sort parameters alphabetically. Add comments for missing entries.
16635 2013-03-17 David S. Miller <davem@davemloft.net>
16637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16639 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16642 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16643 for arguments at most half maximum finite value.
16644 * math/libm-test.inc (j0_test): Add more tests.
16645 (j1_test): Likewise.
16646 (y0_test): Likewise.
16647 (y1_test): Likewise.
16648 * sysdeps/i386/fpu/libm-test-ulps: Update.
16649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16652 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16653 1 / x and functions P and Q for arguments above 0x1p256L.
16654 (__ieee754_y0l): Likewise.
16655 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16656 (__ieee754_y1l): Likewise.
16657 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16658 (j1_test): Likewise.
16659 (y0_test): Likewise.
16660 (y1_test): Likewise.
16662 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16664 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16667 2013-03-15 Roland McGrath <roland@hack.frob.com>
16669 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16670 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16671 zero since it's initialized to EXEC_PAGESIZE.
16673 * sysdeps/unix/sysv/linux/ldsodefs.h
16674 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16675 * sysdeps/generic/ldsodefs.h: ... here.
16677 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16679 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16681 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16683 * math/test-snan.c: Renamed from
16684 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16685 * math/Makefile (tests): Add test-snan.
16686 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16689 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16690 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16692 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16693 __builtin_nan family of functions.
16694 * math/libm-test.inc (initialize): Initialize qnan_value with
16695 __builtin_nan family of functions.
16696 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16698 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16700 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16701 storage class. Initialize qNaN_var and sNaN_var with
16702 __builtin_nan and __builtin_nans families of functions,
16705 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16706 (sqrt_test): Remove duplicate test with qNaN input.
16707 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16708 (round_test, signbit_test, significand_test): Note missing +/-Inf
16709 as well as qNaN tests.
16711 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16712 qNaN_var. Fix a few strings, too.
16713 * math/libm-test.inc (nan_value): Rename to qnan_value.
16714 * math/gen-libm-test.pl (%beautify): Adjust to that.
16715 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16716 * math/test-misc.c (main): Likewise.
16717 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16718 to __qnan_bytes, and __qnan_union, respectively.
16719 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16721 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16722 and lqnanval, respectively.
16723 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16724 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16725 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16726 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16728 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16729 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16732 * math/test-misc.c (main): Fix copy'n'pastos.
16733 * misc/tst-efgcvt.c (special): Likewise.
16735 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16736 Remove declarations.
16738 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16740 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16741 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16742 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16743 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16745 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16747 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16748 macro to return vdso values correctly in IFUNC implementations.
16749 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16750 Optimization by using IFUNC.
16752 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16753 Richard Henderson <rth@redhat.com>
16754 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16756 * Makefile.in (bench): New target.
16757 * NEWS: Mention the benchmark framework.
16758 * Rules (bench): Likewise.
16759 (binaries-bench): Generate binaries for functions to
16761 * benchtests/Makefile: New makefile for benchmark tests.
16762 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16764 * benchtests/exp-inputs: New input file for EXP function.
16765 * benchtests/pow-inputs: New input file for POW function.
16766 * scripts/bench.pl: New script to generate source files for
16767 benchmark programs.
16769 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16771 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16772 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16773 computations on mantissa. Use macros for rounding and
16775 (denorm): Likewise.
16776 (__dbl_mp): Likewise.
16777 (add_magnitudes): Likewise.
16778 (sub_magnitudes): Likewise.
16781 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16782 powers of two in terms of TWOPOW macro.
16783 (mp_no): Make type of mantissa as MANTISSA_T.
16784 [!RADIXI]: Define RADIXI.
16785 [!TWO52]: Define TWO52.
16786 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16788 * manual/nptl.texi (cindex): Modify threads to pthreads.
16790 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16792 * sysdeps/x86_64/preconfigure: Regenerated.
16794 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16797 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16799 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16800 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16802 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16803 * math/libm-test.inc (j0_test): Do not allow one spurious
16804 underflow exception.
16805 (y1_test): Likewise.
16807 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16809 * manual/Makefile (chapters): Add nptl.
16810 * manual/debug.texi (Debugging Support): Add link to Threads
16812 * manual/nptl.texi: New file.
16814 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16816 2013-03-14 Petr Baudis <pasky@ucw.cz>
16818 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16819 for non-NULL pointer before the memory validity test. Pointed
16820 out by Holger Brunck <holger.brunck@keymile.com>.
16822 2013-03-13 Andreas Schwab <schwab@suse.de>
16824 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16827 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16829 * timezone/zic.c: Update from tzcode 2013b.
16831 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16833 * manual/install.texi (Configuring and compiling):
16834 Mention i686 and i586.
16835 * INSTALL: Regenerate.
16837 2013-03-12 Roland McGrath <roland@hack.frob.com>
16839 * sysdeps/init_array/elf-init.c: New file.
16841 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16842 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16844 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16845 __gmon_start__ as global, but as static with a .preinit_array pointer.
16846 * sysdeps/init_array/gmon-start.c: New file. Use that.
16847 * sysdeps/init_array/crti.S: New file, empty except for comments.
16848 * sysdeps/init_array/crtn.S: Likewise.
16850 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16852 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16855 Remove Prefer_SSE_for_memop.
16856 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16857 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16858 HAS_PREFER_SSE_FOR_MEMOP.
16859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16861 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16862 Remove bzero, memset ifunc support.
16863 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16864 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16865 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16866 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16868 2013-03-11 Andreas Schwab <schwab@suse.de>
16871 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16874 (GLIBC_2.16): Remove pthread_atfork.
16876 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16878 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16879 (ptestcases.h): Likewise.
16881 2013-03-08 Roland McGrath <roland@hack.frob.com>
16883 * Makeconfig ($(common-objpfx)config.status): Depend on
16884 sysdeps/*/preconfigure{,.in} too.
16886 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16888 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16889 (__free_hook): Use void * instead of __malloc_ptr_t.
16890 (__malloc_hook): Likewise.
16891 (__realloc_hook): Likewise.
16892 (__memalign_hook): Likewise.
16893 (__after_morecore_hook): Likewise.
16894 * malloc/arena.c (save_malloc_hook): Likewise.
16895 (save_free_hook): Likewise.
16896 * malloc/hooks.c (malloc_hook_ini): Likewise.
16897 (realloc_hook_ini): Likewise.
16898 (memalign_hook_ini): Likewise.
16899 * malloc/malloc.c (malloc_hook_ini): Likewise.
16900 (realloc_hook_ini): Likewise.
16901 (memalign_hook_ini): Likewise.
16902 (__free_hook): Likewise.
16903 (__malloc_hook): Likewise.
16904 (__realloc_hook): Likewise.
16905 (__memalign_hook): Likewise.
16906 (__libc_malloc): Likewise.
16907 (__libc_free): Likewise.
16908 (__libc_realloc): Likewise.
16909 (__libc_memalign): Likewise.
16910 (__libc_valloc): Likewise.
16911 (__libc_pvalloc): Likewise.
16912 (__libc_calloc): Likewise.
16913 (__posix_memalign): Likewise.
16914 * malloc/morecore.c (__sbrk): Likewise.
16915 (__default_morecore): Likewise.
16917 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16919 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16920 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16921 __malloc_ptrdiff_t.
16923 * malloc/malloc.h (__malloc_size_t): Remove macro.
16924 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16926 (old_memalign_hook): Likewise.
16927 (old_realloc_hook): Likewise.
16928 (struct hdr): Likewise.
16930 (mallochook): Likewise.
16931 (memalignhook): Likewise.
16932 (reallochook): Likewise.
16933 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16934 (tr_old_realloc_hook): Likewise.
16935 (tr_old_memalign_hook): Likewise.
16936 (tr_mallochook): Likewise.
16937 (tr_reallochook): Likewise.
16938 (tr_memalignhook): Likewise.
16940 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16942 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16943 default_ldbl_pack and using as default implementation.
16944 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16946 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16947 redundant definition.
16948 (ldbl_insert_mantissa): Likewise.
16949 (ldbl_canonicalize): Likewise.
16950 (ldbl_nearbyint): Likewise.
16951 (ldbl_pack): Rename to ldbl_pack_ppc.
16952 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16953 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16954 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16956 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16959 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16960 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16961 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16963 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16964 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16965 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16967 2013-03-07 Andreas Jaeger <aj@suse.de>
16969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16972 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16974 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16975 Include mpa.h and declare __MPEXP.
16976 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16977 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16978 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16979 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16980 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16981 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16982 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16984 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16985 (__slowpow): Use long double EXPL and LOGL functions to
16987 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16988 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16989 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16990 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16991 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16992 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16995 intermediate variable to calculate exponent.
16997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17001 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17002 [!NO__SQR]: Define __sqr.
17003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17004 and NO__SQR. Remove all code except __mul and __sqr. Include
17005 sysdeps/ieee754/dbl-64/mpa.c.
17006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17009 * posix/Makefile (tests): Add tst-pathconf.
17010 * posix/tst-pathconf.c: New test case.
17011 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17013 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17015 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
17017 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17019 2013-03-06 Andreas Jaeger <aj@suse.de>
17021 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17022 definition via __MAP_ANONYMOUS.
17024 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17025 it's not part of Linux headers.
17027 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17028 (MAP_HUGE_MASK): Define.
17030 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17032 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17033 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17035 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17036 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17038 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17041 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17043 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17044 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17045 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17046 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17047 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17048 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17050 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17053 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17054 Handle f2fs and efivarfs.
17056 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17059 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17060 (EFIVARFS_MAGIC): Add.
17061 (F2FS_LINK_MAX): Add.
17063 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17065 * stdio-common/vfprintf.c: Replace __builtin_expect with
17068 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17071 * sysdeps/generic/bp-sym.h: Remove file.
17072 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17073 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17074 <bp-sym.h> and <bp-asm.h>.
17075 (__longjmp): Don't use BP_SYM.
17076 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17078 (memcpy): Don't use BP_SYM.
17079 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17080 <bp-sym.h> and <bp-asm.h>.
17081 (memcpy): Don't use BP_SYM.
17082 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17084 (memcpy): Don't use BP_SYM.
17085 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17087 (memset): Don't use BP_SYM.
17088 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17089 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17090 (__bzero): Don't use BP_SYM.
17091 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17092 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17093 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17094 <bp-sym.h> and <bp-asm.h>.
17095 (memcmp): Don't use BP_SYM. Remove comment about bounded
17097 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17098 <bp-sym.h> and <bp-asm.h>.
17099 (memcpy): Don't use BP_SYM.
17100 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17101 <bp-sym.h> and <bp-asm.h>.
17102 (memset): Don't use BP_SYM.
17103 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17104 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17105 (__bzero): Don't use BP_SYM.
17106 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17107 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17108 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17109 <bp-sym.h> and <bp-asm.h>.
17110 (strncmp): Don't use BP_SYM. Remove comment about bounded
17112 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17113 <bp-sym.h> and <bp-asm.h>.
17114 (memcpy): Don't use BP_SYM.
17115 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17116 <bp-sym.h> and <bp-asm.h>.
17117 (memset): Don't use BP_SYM.
17118 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17119 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17120 (__bzero): Don't use BP_SYM.
17121 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17122 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17123 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17124 <bp-sym.h> and <bp-asm.h>.
17125 (__memchr): Don't use BP_SYM.
17126 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17127 <bp-sym.h> and <bp-asm.h>.
17128 (memcmp): Don't use BP_SYM. Remove comment about bounded
17130 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17131 <bp-sym.h> and <bp-asm.h>.
17132 (memcpy): Don't use BP_SYM.
17133 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17134 <bp-sym.h> and <bp-asm.h>.
17135 (__mempcpy): Don't use BP_SYM.
17136 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17137 <bp-sym.h> and <bp-asm.h>.
17138 (__memrchr): Don't use BP_SYM.
17139 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17140 <bp-sym.h> and <bp-asm.h>.
17141 (memset): Don't use BP_SYM.
17142 (__bzero): Likewise.
17143 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17144 <bp-sym.h> and <bp-asm.h>.
17145 (__rawmemchr): Don't use BP_SYM.
17146 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17147 <bp-sym.h> and <bp-asm.h>.
17148 (__STRCMP): Don't use BP_SYM.
17149 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17150 <bp-sym.h> and <bp-asm.h>.
17151 (strchr): Don't use BP_SYM.
17152 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17153 <bp-sym.h> and <bp-asm.h>.
17154 (__strchrnul): Don't use BP_SYM.
17155 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17156 <bp-sym.h> and <bp-asm.h>.
17157 (strlen): Don't use BP_SYM.
17158 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17159 <bp-sym.h> and <bp-asm.h>.
17160 (strncmp): Don't use BP_SYM. Remove comment about bounded
17162 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17163 <bp-sym.h> and <bp-asm.h>.
17164 (__strnlen): Don't use BP_SYM.
17165 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17166 <bp-sym.h> and <bp-asm.h>.
17167 (__GI__setjmp): Don't use BP_SYM.
17168 (_setjmp): Likewise.
17169 (__sigsetjmp): Likewise.
17170 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17171 (L(start_addresses)): Don't use BP_SYM.
17172 (_start): Likewise.
17173 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17175 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17176 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17177 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17178 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17179 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17181 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17182 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17183 about bounded pointers.
17184 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17185 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17186 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17188 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17189 about bounded pointers. Remove GKM FIXME comments.
17190 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17191 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17193 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17194 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17195 Remove GKM FIXME comments.
17196 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17197 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17198 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17200 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17201 about bounded pointers. Remove GKM FIXME comment.
17202 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17204 (strncmp): Don't use BP_SYM. Remove comment about bounded
17206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17207 <bp-sym.h> and <bp-asm.h>.
17208 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17210 <bp-sym.h> and <bp-asm.h>.
17211 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17214 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17216 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17219 2013-03-05 David S. Miller <davem@davemloft.net>
17221 * po/es.po: Update from translation team.
17223 2013-03-05 Andreas Jaeger <aj@suse.de>
17225 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17226 <bits/mman-linux.h>.
17227 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17229 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17230 <bits/mman-linux.h> to end of file.
17231 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17233 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17234 <bits/mman-linux.h> to end of file.
17235 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17237 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17238 <bits/mman-linux.h> to end of file.
17240 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17241 (MCL_CURRENT, MCL_FUTURE): Define here.
17243 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17246 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17248 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17250 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17252 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17253 fourth parameter needed for rt_sigprocmask syscall.
17254 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17255 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17256 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17257 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17258 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17259 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17261 2013-03-04 Joseph Myers <joseph@codesourcery.com>
17264 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17265 comment about bounded pointers.
17266 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17267 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17269 2013-03-04 Andreas Jaeger <aj@suse.de>
17271 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17272 common definitions.
17274 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17275 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17276 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17277 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17278 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17279 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17281 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17284 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17285 __ieee754_sqrl instead of __sqrl.
17287 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17289 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17290 * sysdeps/powerpc/fpu_control.h: ... here.
17291 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17292 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17293 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17294 * sysdeps/powerpc/bits/mathinline.h: ... here.
17296 2013-03-01 Roland McGrath <roland@hack.frob.com>
17298 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17299 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17300 to just [NEED_DL_SYSINFO_DSO].
17301 * elf/dl-support.c: Likewise.
17302 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17303 * elf/rtld.c (dl_main): Likewise.
17304 * elf/setup-vdso.h (setup_vdso): Likewise.
17305 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17306 * sysdeps/unix/sysv/linux/dl-sysdep.c
17307 (_dl_discover_osversion): Likewise.
17309 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17311 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17312 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17314 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17316 * NEWS: Mention libm performance improvements and non-x86 PI
17319 * csu/libc-start.c (__pthread_initialize_minimal): Change
17320 function arguments.
17321 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17323 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17326 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17327 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17328 <bp-sym.h> and <bp-asm.h>.
17329 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17330 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17332 (memcpy): Don't use BP_SYM.
17333 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17335 (__mpn_add_n): Don't use BP_SYM.
17336 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17337 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17339 (__mpn_addmul_1): Don't use BP_SYM.
17340 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17341 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17343 (_setjmp): Don't use BP_SYM.
17344 (__novmx_setjmp): Likewise.
17345 (__GI__setjmp): Likewise.
17346 (__vmx_setjmp): Likewise.
17347 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17349 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17350 (__bzero): Don't use BP_SYM.
17351 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17352 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17353 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17354 <bp-sym.h> and <bp-asm.h>.
17355 (memcpy): Don't use BP_SYM.
17356 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17357 <bp-sym.h> and <bp-asm.h>.
17358 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17359 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17360 <bp-sym.h> and <bp-asm.h>.
17361 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17362 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17364 (__mpn_lshift): Don't use BP_SYM.
17365 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17366 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17368 (memset): Don't use BP_SYM.
17369 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17370 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17371 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17373 (__mpn_mul_1): Don't use BP_SYM.
17374 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17375 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17376 <bp-sym.h> and <bp-asm.h>.
17377 (memcmp): Don't use BP_SYM.
17378 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17379 <bp-sym.h> and <bp-asm.h>.
17380 (memcpy): Don't use BP_SYM.
17381 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17382 <bp-sym.h> and <bp-asm.h>.
17383 (memset): Don't use BP_SYM.
17384 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17385 <bp-sym.h> and <bp-asm.h>.
17386 (strncmp): Don't use BP_SYM.
17387 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17388 <bp-sym.h> and <bp-asm.h>.
17389 (memcpy): Don't use BP_SYM.
17390 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17391 <bp-sym.h> and <bp-asm.h>.
17392 (memset): Don't use BP_SYM.
17393 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17394 <bp-sym.h> and <bp-asm.h>.
17395 (__memchr): Don't use BP_SYM.
17396 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17397 <bp-sym.h> and <bp-asm.h>.
17398 (memcmp): Don't use BP_SYM.
17399 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17400 <bp-sym.h> and <bp-asm.h>.
17401 (memcpy): Don't use BP_SYM.
17402 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17403 <bp-sym.h> and <bp-asm.h>.
17404 (__mempcpy): Don't use BP_SYM.
17405 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17406 <bp-sym.h> and <bp-asm.h>.
17407 (__memrchr): Don't use BP_SYM.
17408 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17409 <bp-sym.h> and <bp-asm.h>.
17410 (memset): Don't use BP_SYM.
17411 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17412 <bp-sym.h> and <bp-asm.h>.
17413 (__rawmemchr): Don't use BP_SYM.
17414 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17415 <bp-sym.h> and <bp-asm.h>.
17416 (__STRCMP): Don't use BP_SYM.
17417 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17418 <bp-sym.h> and <bp-asm.h>.
17419 (strchr): Don't use BP_SYM.
17420 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17421 <bp-sym.h> and <bp-asm.h>.
17422 (__strchrnul): Don't use BP_SYM.
17423 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17424 <bp-sym.h> and <bp-asm.h>.
17425 (strlen): Don't use BP_SYM.
17426 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17427 <bp-sym.h> and <bp-asm.h>.
17428 (strncmp): Don't use BP_SYM.
17429 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17430 <bp-sym.h> and <bp-asm.h>.
17431 (__strnlen): Don't use BP_SYM.
17432 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17434 (__mpn_rshift): Don't use BP_SYM.
17435 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17436 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17437 <bp-sym.h> and <bp-asm.h>.
17438 (__sigsetjmp): Don't use BP_SYM.
17439 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17440 (L(start_addresses)): Don't use BP_SYM.
17441 (_start): Likewise.
17442 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17444 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17445 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17446 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17447 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17449 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17450 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17451 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17452 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17454 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17456 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17457 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17459 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17461 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17462 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17463 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17465 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17467 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17469 (strncmp): Don't use BP_SYM,
17470 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17472 (__mpn_sub_n): Don't use BP_SYM.
17473 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17474 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17476 (__mpn_submul_1): Don't use BP_SYM.
17477 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17479 <bp-sym.h> and <bp-asm.h>.
17480 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17482 <bp-sym.h> and <bp-asm.h>.
17483 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17486 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17489 Use ZK to minimize writes to Z.
17490 (sub_magnitudes): Simplify code a bit.
17491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17492 Use ZK to minimize writes to Z.
17493 (sub_magnitudes): Simplify code a bit.
17495 2013-02-27 Roland McGrath <roland@hack.frob.com>
17497 * csu/gmon-start.c: Add special exception to license text.
17499 2013-02-27 Richard Henderson <rth@redhat.com>
17501 * scripts/config.guess: Update from config.git.
17502 * scripts/config.sub: Likewise.
17504 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17506 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17508 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17510 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17512 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17514 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17516 2013-02-26 Roland McGrath <roland@hack.frob.com>
17518 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17519 [$(build-shared = yes].
17521 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17523 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17524 (__mul): Reduce iterations for calculating mantissa.
17526 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17528 (__mpranred): Likewise.
17531 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17532 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17534 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17536 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17537 Define __attribute__.
17539 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17541 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17543 * posix/regex_internal.h (__attribute): Remove.
17544 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17545 (re_string_context_at): Likewise.
17546 (bitset_not): Use __attribute__ and mark function as possibly
17548 (bitset_merge): Likewise.
17549 (bitset_mask): Likewise.
17550 (re_string_char_size_at): Likewise.
17551 (re_string_wchar_at): Likewise.
17552 (re_string_elem_size_at): Likewise.
17554 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17556 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17560 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17564 (denorm): Likewise.
17565 (__dbl_mp): Likewise.
17566 (add_magnitudes): Likewise.
17567 (sub_magnitudes): Likewise.
17571 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17574 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17577 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17581 up changes with default code.
17582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17585 2013-02-24 Allan McRae <allan@archlinux.org>
17587 * manual/socket.texi (The Internet Namespace): Order menu items
17588 to match that in the file.
17590 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17591 node listing of the info page menu.
17593 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17596 * sysdeps/i386/bp-asm.h: Remove file.
17597 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17598 (PARMS): Do not use macros from bp-asm.h.
17602 (__mpn_add_n): Do not use BP_SYM
17603 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17605 (PARMS): Do not use macros from bp-asm.h.
17608 (__mpn_addmul_1): Do not use BP_SYM
17609 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17611 (PARMS): Do not use macros from bp-asm.h.
17612 (SIGMSK): Likewise.
17613 (_setjmp): Likewise. Do not use BP_SYM.
17614 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17616 (PARMS): Do not use macros from bp-asm.h.
17617 (SIGMSK): Likewise.
17618 (setjmp): Likewise. Do not use BP_SYM.
17619 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17621 (PARMS): Do not use macros from bp-asm.h.
17622 (__frexp): Do not use BP_SYM.
17624 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17626 (PARMS): Do not use macros from bp-asm.h.
17627 (__frexpf): Do not use BP_SYM.
17628 (frexpf): Likewise.
17629 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17631 (PARMS): Do not use macros from bp-asm.h.
17632 (__frexpl): Do not use BP_SYM.
17633 (frexpl): Likewise.
17634 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17636 (PARMS): Do not use macros from bp-asm.h.
17637 (__remquo): Do not use BP_SYM.
17638 (remquo): Likewise.
17639 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17641 (PARMS): Do not use macros from bp-asm.h.
17642 (__remquof): Do not use BP_SYM.
17643 (remquof): Likewise.
17644 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17646 (PARMS): Do not use macros from bp-asm.h.
17647 (__remquol): Do not use BP_SYM.
17648 (remquol): Likewise.
17649 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17651 (PARMS): Do not use macros from bp-asm.h.
17654 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17655 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17657 (PARMS): Do not use macros from bp-asm.h.
17658 (strlen): Do not use BP_SYM.
17659 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17661 (PARMS): Do not use macros from bp-asm.h.
17665 (__mpn_add_n): Do not use BP_SYM.
17666 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17668 (PARMS): Do not use macros from bp-asm.h.
17671 (__mpn_addmul_1): Do not use BP_SYM.
17672 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17675 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17677 (PARMS): Do not use macros from bp-asm.h.
17680 (__mpn_lshift): Do not use BP_SYM.
17681 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17683 (PARMS): Do not use macros from bp-asm.h.
17687 (memcpy): Likewise. Do not use BP_SYM.
17688 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17689 libc_hidden_def and weak_alias.
17690 (mempcpy): Do not use BP_SYM in weak_alias.
17691 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17693 (PARMS): Do not use macros from bp-asm.h.
17696 [!BZERO_P] (CHR): Likewise.
17697 (memset): Likewise. Do not use BP_SYM.
17698 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17700 (PARMS): Do not use macros from bp-asm.h.
17703 (__mpn_mul_1): Do not use BP_SYM.
17704 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17706 (PARMS): Do not use macros from bp-asm.h.
17709 (__mpn_rshift): Do not use BP_SYM.
17710 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17712 (PARMS): Do not use macros from bp-asm.h.
17715 (strchr): Likewise. Do not use BP_SYM.
17716 (index): Do not use BP_SYM in weak_alias.
17717 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17719 (PARMS): Do not use macros from bp-asm.h.
17722 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17723 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17725 (PARMS): Do not use macros from bp-asm.h.
17726 (strlen): Do not use BP_SYM.
17727 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17729 (PARMS): Do not use macros from bp-asm.h.
17733 (__mpn_sub_n): Do not use BP_SYM.
17734 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17736 (PARMS): Do not use macros from bp-asm.h.
17739 (__mpn_submul_1): Do not use BP_SYM.
17740 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17742 (PARMS): Do not use macros from bp-asm.h.
17746 (__mpn_add_n): Do not use BP_SYM.
17747 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17750 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17752 (PARMS): Do not use macros from bp-asm.h.
17755 (memcmp): Do not use BP_SYM.
17756 (bcmp): Do not use BP_SYM in weak_alias.
17757 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17759 (PARMS): Do not use macros from bp-asm.h.
17763 (memcpy): Likewise. Do not use BP_SYM.
17764 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17766 (PARMS): Do not use macros from bp-asm.h.
17770 (memmove): Likewise. Do not use BP_SYM.
17771 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17773 (PARMS): Do not use macros from bp-asm.h.
17777 (__mempcpy): Likewise. Do not use BP_SYM.
17778 (mempcpy): Do not use BP_SYM in weak_alias.
17779 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17781 (PARMS): Do not use macros from bp-asm.h.
17784 [!BZERO_P] (CHR): Likewise.
17785 (memset): Likewise. Do not use BP_SYM.
17786 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17788 (PARMS): Do not use macros from bp-asm.h.
17790 (strcmp): Do not use BP_SYM.
17791 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17793 (PARMS): Do not use macros from bp-asm.h.
17796 [USE_AS_STRTOK_R] (SAVE): Likewise.
17797 (FUNCTION): Likewise. Do not use BP_SYM.
17798 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17800 (strtok_r): Likewise.
17801 (__GI___strtok_r): Likewise.
17802 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17803 (PARMS): Do not use macros from bp-asm.h.
17806 (__mpn_lshift): Do not use BP_SYM.
17807 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17808 (PARMS): Do not use macros from bp-asm.h.
17811 (__memchr): Do not use BP_SYM.
17812 (memchr): Do not use BP_SYM in weak_alias.
17813 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17814 (PARMS): Do not use macros from bp-asm.h.
17817 (memcmp): Do not use BP_SYM.
17818 (bcmp): Do not use BP_SYM in weak_alias.
17819 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17820 (PARMS): Do not use macros from bp-asm.h.
17823 (__mpn_mul_1): Do not use BP_SYM.
17824 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17826 (PARMS): Do not use macros from bp-asm.h.
17829 (__rawmemchr): Do not use BP_SYM.
17830 (rawmemchr): Do not use BP_SYM in weak_alias.
17831 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17832 (PARMS): Do not use macros from bp-asm.h.
17835 (__mpn_rshift): Do not use BP_SYM.
17836 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17837 (PARMS): Do not use macros from bp-asm.h.
17838 (SIGMSK): Likewise.
17839 (__sigsetjmp): Likewise. Do not use BP_SYM.
17840 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17841 (_start): Do not use BP_SYM.
17842 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17843 (PARMS): Do not use macros from bp-asm.h.
17846 (__stpcpy): Likewise. Do not use BP_SYM.
17847 (stpcpy): Do not use BP_SYM in weak_alias.
17848 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17850 (PARMS): Do not use macros from bp-asm.h.
17854 (__stpncpy): Likewise. Do not use BP_SYM.
17855 (stpncpy): Do not use BP_SYM in weak_alias.
17856 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17857 (PARMS): Do not use macros from bp-asm.h.
17860 (strchr): Likewise. Do not use BP_SYM.
17861 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17863 (PARMS): Do not use macros from bp-asm.h.
17866 (__strchrnul): Likewise. Do not use BP_SYM.
17867 (strchrnul): Do not use BP_SYM in weak_alias.
17868 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17870 (PARMS): Do not use macros from bp-asm.h.
17872 (strcspn): Do not use BP_SYM.
17873 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17875 (PARMS): Do not use macros from bp-asm.h.
17878 (strpbrk): Likewise. Do not use BP_SYM.
17879 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17881 (PARMS): Do not use macros from bp-asm.h.
17884 (strrchr): Likewise. Do not use BP_SYM.
17885 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17886 (PARMS): Do not use macros from bp-asm.h.
17888 (strspn): Do not use BP_SYM.
17889 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17890 (PARMS): Do not use macros from bp-asm.h.
17894 (FUNCTION): Likewise. Do not use BP_SYM.
17895 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17897 (strtok_r): Likewise.
17898 (__GI___strtok_r): Likewise.
17899 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17900 (PARMS): Do not use macros from bp-asm.h.
17904 (__mpn_sub_n): Do not use BP_SYM.
17905 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17907 (PARMS): Do not use macros from bp-asm.h.
17910 (__mpn_submul_1): Do not use BP_SYM.
17911 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17913 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17915 (PARMS): Do not use macros from bp-asm.h.
17920 (__clone): Do not use BP_SYM.
17921 (clone): Do not use BP_SYM in weak_alias.
17922 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17924 (PARMS): Do not use macros from bp-asm.h.
17926 (__mmap64): Do not use BP_SYM.
17927 (mmap64): Do not use BP_SYM in weak_alias.
17928 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17929 <bp-sym.h> and <bp-asm.h>.
17930 (PARMS): Do not use macros from bp-asm.h.
17931 (__posix_fadvise64_l64): Do not use BP_SYM.
17932 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17933 (PARMS): Do not use macros from bp-asm.h.
17935 (semtimedop): Do not use BP_SYM.
17936 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17939 2013-02-21 Allan McRae <allan@archlinux.org>
17941 * manual/message.texi (Charset conversion in gettext):
17942 Move @end statement to beginning of line.
17944 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17951 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17952 (denorm): Likewise.
17953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17956 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17958 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17959 tail-call to the resolved function if pltexit isn't needed.
17961 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17964 or Y being zero as being unlikely.
17965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17968 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17970 * manual/nss.texi (System Databases and Name Service Switch):
17971 Remove frobnicate @pxref.
17973 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17975 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17976 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17978 2013-02-20 Petr Machata <pmachata@redhat.com>
17980 * elf/elf.h (R_ARM_TARGET1): New macro.
17981 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17982 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17983 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17984 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17985 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17986 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17987 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17988 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17989 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17990 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17991 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17992 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17993 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17994 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17995 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17996 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17997 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17998 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17999 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18000 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18001 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18002 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18003 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18004 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18005 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18006 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18007 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18008 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18009 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18010 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18011 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18012 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18013 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18014 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18015 (R_ARM_THM_GOT_BREL12): Likewise.
18016 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18017 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18018 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18019 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18020 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18021 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18022 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18023 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18024 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18026 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18028 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18029 __attribute_used__ to __attribute__ ((unused)).
18031 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18033 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18036 comment formatting.
18037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18039 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18042 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18044 (ENTER): Remove both macro definitions.
18046 (CHECK_BOUNDS_LOW): Likewise.
18047 (CHECK_BOUNDS_HIGH): Likewise.
18048 (CHECK_BOUNDS_BOTH): Likewise.
18049 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18050 (RETURN_BOUNDED_POINTER): Likewise.
18051 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18052 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18053 (POP_ERRNO_LOCATION_RETURN): Likewise.
18054 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18055 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18056 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18058 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18059 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18060 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18061 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18062 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18063 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18064 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18065 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18066 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18067 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18068 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18069 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18070 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18071 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18073 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18074 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18076 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18077 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18078 * sysdeps/i386/i586/memset.S (memset): Likewise.
18079 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18080 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18081 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18083 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18084 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18085 Change uses of L(2) to L(out).
18086 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18087 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18088 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18089 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18090 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18092 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18093 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18095 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18096 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18097 (RETURN): Do not use macro LEAVE.
18098 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18099 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18100 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18101 * sysdeps/i386/i686/memset.S (memset): Likewise.
18102 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18103 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18104 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18105 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18107 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18108 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18109 L(1_2) and L(1_3) into L(1).
18110 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18111 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18112 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18113 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18114 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18115 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18116 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18117 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18118 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18120 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18121 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18122 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18123 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18124 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18125 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18126 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18127 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18128 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18129 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18130 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18131 * sysdeps/i386/strspn.S (strspn): Likewise.
18132 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18134 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18135 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18136 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18137 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18138 L(1_3) into L(1_1).
18139 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18140 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18141 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18143 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18145 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18147 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18150 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18152 * math/atest-exp.c (exp_mpn): Remove ROUND.
18153 * math/atest-exp2.c (exp_mpn): Likewise.
18154 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18156 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18157 * stdlib/tst-tls-atexit-lib.c: Likewise.
18158 * stdlib/tst-tls-atexit.c: Likewise.
18160 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18162 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18163 and __attribute_alloc_size__.
18165 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18167 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18168 __attribute_alloc_size__.
18169 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18170 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18172 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18174 * include/programs/xmalloc.h: New file.
18175 * catgets/gencat.c: Include it.
18176 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18177 * elf/pldd.c: Likewise.
18178 * iconv/iconv_charmap.c: Likewise.
18179 * iconv/iconvconfig.c: Likewise.
18180 * iconv/strtab.c: Likewise.
18181 * locale/programs/locale.c: Likewise.
18182 * locale/programs/localedef.h: Likewise.
18183 * locale/programs/simple-hash.c: Likewise.
18184 * nscd/nscd.h: Likewise.
18185 * nss/makedb.c: Likewise.
18186 * sysdeps/generic/ldconfig.h: Likewise.
18188 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18190 * Versions.def: Add GLIBC_2.18.
18191 * include/link.h (struct link_map): New member l_tls_dtor_count.
18192 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18193 (__call_tls_dtors): Likewise.
18194 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18195 __cxa_thread_atexit_impl.
18196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18204 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18212 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18213 (tests): Add test case tst-tls-atexit.
18214 (modules-names): Add shared library for tst-tls-atexit.
18215 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18216 (GLIBC_PRIVATE): Add __call_tls_dtors.
18217 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18219 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18220 * stdlib/tst-tls-atexit.c: New test case.
18221 * stdlib/tst-tls-atexit-lib.c: New test case.
18223 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18225 * elf/Versions (ld): Add _dl_find_dso_for_object.
18226 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18227 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18228 (dl_open_worker): Use _dl_find_dso_for_object.
18229 * elf/dl-sym.c (do_sym): Likewise.
18230 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18232 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18234 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18235 Syntactic changes only.
18236 (_dl_runtime_profile): Do a tail-call to the resolved function.
18238 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18241 * sysdeps/x86_64/bp-asm.h: Remove file.
18242 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18243 <bp-sym.h> and <bp-asm.h>.
18244 (__clone): Do not use BP_SYM.
18245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18246 <bp-sym.h> and <bp-asm.h>.
18247 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18248 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18250 (_setjmp): Do not use BP_SYM.
18251 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18253 (setjmp): Do not use BP_SYM.
18254 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18256 (mempcpy): Do not use BP_SYM in weak_alias.
18257 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18259 (strchr): Do not use BP_SYM.
18260 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18262 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18263 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18264 (_start): Do not use BP_SYM.
18265 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18267 (strcat): Do not use BP_SYM.
18268 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18270 (STRCMP): Do not use BP_SYM.
18271 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18273 (STRCPY): Do not use BP_SYM.
18274 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18276 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18278 (FUNCTION): Do not use BP_SYM.
18279 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18281 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18283 2013-02-17 Andreas Jaeger <aj@suse.de>
18285 * time/Versions: Sort entries.
18286 * string/Versions: Likewise.
18287 * resolv/Versions: Likewise.
18288 * posix/Versions: Likewise.
18289 * iconv/Versions: Likewise.
18290 * elf/Versions: Likewise.
18291 * wcsmbs/Versions: Likewise.
18293 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18295 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18296 loop termination condition.
18298 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18299 variable to calculate EZ.
18302 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18303 the lower precision input.
18305 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18308 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18309 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18310 (run-via-rtld-prefix): Do not handle %-bp tests.
18311 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18312 (all-object-suffixes): Remove .ob.
18313 (bppfx): Remove variable.
18314 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18315 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18316 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18317 [$(build-bounded) = yes] (libtype.ob): Likewise.
18318 * Makerules (elide-routines.ob): Remove variable.
18319 (do-tests-clean): Do not handle *-bp.out.
18320 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18321 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18322 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18323 (tests): Do not include $(tests-bp.out).
18324 (xtests): Do not include $(xtests-bp.out).
18325 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18326 [$(build-bounded) = yes] ($(addprefix
18327 $(objpfx),$(binaries-bounded))): Remove rule.
18328 ($(objpfx)%-bp.out): Remove rule.
18329 * config.make.in (build-bounded): Remove variable.
18330 * crypt/Makefile [$(build-bounded) = yes]
18331 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18332 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18333 append to variable.
18334 [$(build-bounded) = yes] (install-lib): Likewise.
18335 [$(build-bounded) = yes] (generated): Likewise.
18336 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18338 * intl/Makefile [$(build-bounded) = yes]
18339 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18340 * math/Makefile [$(build-bounded) = yes]
18341 ($(tests:%=$(objpfx)%-bp): Likewise.
18342 * misc/Makefile [$(build-bounded) = yes]
18343 ($(objpfx)tst-tsearch-bp): Likewise.
18344 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18345 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18347 * string/Makefile (o-objects.ob): Remove variable.
18348 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18349 (CFLAGS-.ob): Remove variable.
18350 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18351 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18352 both definitions of variable.
18353 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18354 (ASFLAGS-.ob): Remove variable.
18356 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18359 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18360 Remove __BOUNDED_POINTERS__ from condition.
18361 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18362 * string/bits/string2.h [!__NO_STRING_INLINES &&
18363 !__BOUNDED_POINTERS__]: Likewise.
18364 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18366 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18367 Remove conditional code.
18368 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18369 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18370 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18374 * csu/libc-start.c: Do not include <bp-sym.h>.
18375 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18376 * elf/dl-open.c: Do not include <bp-sym.h>.
18377 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18378 * math/fegetenv.c: Do not include <bp-sym.h>.
18379 (fegetenv): Do not use BP_SYM in versioned symbols.
18380 * nptl/sysdeps/pthread/bits/libc-lockP.h
18381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18384 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18386 (__pthread_mutex_destroy): Likewise.
18387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18388 (__pthread_mutex_lock): Likewise.
18389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18390 (__pthread_mutex_trylock): Likewise.
18391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18392 (__pthread_mutex_unlock): Likewise.
18393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18394 (__pthread_mutexattr_init): Likewise.
18395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18396 (__pthread_mutexattr_destroy): Likewise.
18397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18398 (__pthread_mutexattr_settype): Likewise.
18399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18400 (__pthread_rwlock_init): Likewise.
18401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18402 (__pthread_rwlock_destroy): Likewise.
18403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18404 (__pthread_rwlock_rdlock): Likewise.
18405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18406 (__pthread_rwlock_tryrdlock): Likewise.
18407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18408 (__pthread_rwlock_wrlock): Likewise.
18409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18410 (__pthread_rwlock_trywrlock): Likewise.
18411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18412 (__pthread_rwlock_unlock): Likewise.
18413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18414 (__pthread_key_create): Likewise.
18415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18416 (__pthread_setspecific): Likewise.
18417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18418 (__pthread_getspecific): Likewise.
18419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18422 (_pthread_cleanup_push_defer): Likewise.
18423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18424 (_pthread_cleanup_pop_restore): Likewise.
18425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18426 (pthread_setcancelstate): Likewise.
18427 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18429 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18430 (memchr): Do not use BP_SYM in weak_alias.
18431 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18432 (fegetenv): Do not use BP_SYM in versioned symbols.
18433 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18434 (fesetenv): Do not use BP_SYM in versioned symbols.
18435 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18436 (feupdateenv): Do not use BP_SYM in versioned symbols.
18437 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18438 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18439 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18440 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18441 (open64): Do not use BP_SYM in weak_alias.
18442 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18443 (fegetenv): Do not use BP_SYM in versioned symbols.
18444 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18445 (fesetenv): Do not use BP_SYM in versioned symbols.
18446 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18447 (feupdateenv): Do not use BP_SYM in versioned symbols.
18448 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18449 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18450 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18451 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18452 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18453 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18454 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18456 (__libc_start_main): Do not use BP_SYM.
18458 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18461 redundant return line.
18463 (denorm): Likewise.
18464 (dbl_mp): Likewise.
18465 (sub_magnitudes): Likewise.
18471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18473 (denorm): Likewise.
18474 (dbl_mp): Likewise.
18475 (sub_magnitudes): Likewise.
18482 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18484 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18485 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18488 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18489 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18490 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18491 of __mul for squares.
18492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18496 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18497 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18499 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18502 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18504 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18505 prototype or function definition. Rename ubp_* variables and
18506 parameters. Remove argv definitions conditional on
18507 [__BOUNDED_POINTERS__].
18508 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18509 * elf/dl-runtime.c (_dl_fixup): Likewise.
18510 * include/set-hooks.h (RUN_HOOK): Likewise.
18511 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18513 * string/strcpy.c (strcpy): Do not use __unbounded.
18514 * sysdeps/generic/frame.h (struct layout): Likewise.
18515 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18516 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18517 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18518 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18519 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18520 (__backtrace): Likewise.
18521 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18523 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18524 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18525 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18527 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18528 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18529 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18530 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18531 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18532 Do not use __unbounded.
18533 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18534 Rename __unboundedrlimits parameter to rlimits in prototype.
18535 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18536 Do not use __unbounded.
18537 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18538 not use __ptrvalue.
18539 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18540 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18541 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18542 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18543 __ptrvalue or __unbounded.
18544 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18545 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18547 (__new_msgctl): Do not use __ptrvalue.
18548 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18550 (__libc_msgrcv): Do not use __ptrvalue.
18551 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18552 startup_info): Do not use __unbounded.
18553 (__libc_start_main): Likewise. Rename ubp_* variables and
18554 parameters. Remove argv definitions conditional on
18555 [__BOUNDED_POINTERS__].
18556 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18558 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18560 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18562 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18564 (__new_shmctl): Do not use __ptrvalue.
18565 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18566 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18568 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18569 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18570 (__libc_sigaction): Likewise.
18571 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18572 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18574 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18576 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18578 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18580 * string/mempcpy.c: Implement by calling memcpy.
18582 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18584 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18586 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18589 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18590 values in the mantissa.
18592 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18593 minimize writes to Z.
18594 (sub_magnitudes): Simplify code a bit.
18596 2013-02-12 Roland McGrath <roland@hack.frob.com>
18598 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18599 from the message. The linker prefixes all warnings with that already.
18601 2013-02-12 Andreas Schwab <schwab@suse.de>
18604 * posix/regexec.c (extend_buffers): Add parameter min_len.
18605 (check_matching): Pass minimum needed length.
18606 (clean_state_log_if_needed): Likewise.
18607 (get_subexp): Likewise.
18608 * posix/Makefile (tests): Add bug-regex34.
18609 (bug-regex34-ENV): Define.
18610 * posix/bug-regex34.c: New file.
18613 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18614 elements compare against the byte sequence of it, not its name.
18615 * posix/Makefile (tests): Add bug-regex35.
18616 (bug-regex35-ENV): Define.
18617 * posix/bug-regex35.c: New file.
18619 2013-02-11 Tom de Vries <tom@codesourcery.com>
18621 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18623 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18624 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18625 (CHECK_EOL): Add undef.
18627 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18629 * bits/stdlib-bsearch.h: New file.
18630 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18631 * stdlib/stdlib.h: Likewise.
18633 2013-02-11 Roland McGrath <roland@hack.frob.com>
18635 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18636 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18638 * manual/search.texi (Array Search Function): Add missing const in
18640 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18641 declaration to use rlim_t.
18642 (Basic Scheduling Functions): Remove erroneous const from
18643 sched_getparam prototype. Remove erroneous * from
18644 sched_get_priority_max and sched_get_priority_min prototypes.
18645 (Resource Usage): Fix summary @comment on vtimes to refer to
18646 sys/vtimes.h rather than vtimes.h.
18647 Add missing *s in vtimes prototype.
18648 (Limits on Resources): Fix ulimit prototype to return long int.
18649 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18650 prototypes to use long int rather than double.
18651 (BSD Random): Fix initstate and setstate to use char *, not void *.
18652 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18653 prototype to make second argument 'struct aiocb64 *const[]'.
18654 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18655 (Status of AIO Operations): Remove erroneous const in aio_return and
18656 aio_return64 prototypes.
18657 (Synchronizing I/O): Fix sync prototype to return void.
18658 * manual/startup.texi (Suboptions): Remove an erroneous const in
18659 getsubopt prototype.
18660 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18661 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18662 use size_t rather than int.
18663 (Scanning All Users): Likewise for getpwent_r.
18664 (Setting Groups): Add missing const to setgroups prototype.
18665 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18666 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18667 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18668 'const void *' rather than 'const char *'.
18669 (Host Address Functions): Likewise for inet_ntop.
18670 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18671 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18672 ssize_t for return value.
18673 (Sending Data): Likewise for send, sendto, sendmsg.
18674 (Socket Option Functions): Add a missing const in setsockopt prototype.
18675 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18676 use wchar_t for the argument.
18677 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18678 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18680 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18681 double/float/long double for second argument.
18682 Fix return types of significand, significandf, significandl.
18683 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18684 argument in fchmod prototype.
18685 (File Owner): Use uid_t and gid_t in fchown prototype.
18686 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18687 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18688 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18689 use 'const struct dirent **' as argument types to CMP function pointer
18691 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18692 (File Times): Fix summary magic @comment for struct utimbuf and utime
18693 to refer to utime.h, not time.h.
18694 * manual/string.texi (Argz Functions): Add missing const in
18695 argz_extract and argz_next prototypes.
18696 (Finding Tokens in a String): Likewise for basename.
18697 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18698 (Copying and Concatenation): Fix typo in wmemmove prototype.
18699 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18700 (Signal Stack): Remove erroneous const in sigstack prototype.
18701 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18703 (Simple Calendar Time): Likewise for stime.
18704 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18706 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18707 say sys/sysctl.h instead.
18708 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18709 and vsyslog prototypes.
18711 2013-02-11 Tom de Vries <tom@codesourcery.com>
18713 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18716 2013-02-11 Roland McGrath <roland@hack.frob.com>
18718 * misc/sys/mman.h: Fix typo in mremap comment.
18720 2013-02-08 Roland McGrath <roland@hack.frob.com>
18722 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18723 the '\0' terminator.
18725 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18728 * debug/segfault.c: Don't include <bp-checks.h>.
18729 * sysdeps/generic/bp-checks.h: Remove file.
18730 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18731 (__GETDENTS): Don't use CHECK_N.
18732 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18733 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18734 (__getgroups): Don't use CHECK_N.
18735 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18736 (setgroups): Don't use CHECK_N.
18737 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18738 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18739 (__libc_msgrcv): Don't use CHECK_N.
18740 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18741 (__libc_msgsnd): Don't use CHECK_N.
18742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18744 (__libc_pread): Don't use CHECK_N.
18745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18746 include <bp-checks.h>.
18747 (__libc_pread64): Don't use CHECK_N.
18748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18749 include <bp-checks.h>.
18750 (__libc_pwrite): Don't use CHECK_N.
18751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18752 include <bp-checks.h>.
18753 (__libc_pwrite64): Don't use CHECK_N.
18754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18756 (__libc_pread): Don't use CHECK_N.
18757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18758 include <bp-checks.h>.
18759 (__libc_pread64): Don't use CHECK_N.
18760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18761 include <bp-checks.h>.
18762 (__libc_pwrite): Don't use CHECK_N.
18763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18764 include <bp-checks.h>.
18765 (__libc_pwrite64): Don't use CHECK_N.
18766 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18767 (do_pread): Don't use CHECK_N.
18768 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18769 (do_pread64): Don't use CHECK_N.
18770 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18771 (do_pwrite): Don't use CHECK_N.
18772 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18773 (do_pwrite64): Don't use CHECK_N.
18774 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18775 (__libc_readv): Don't use CHECK_N.
18776 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18777 (semop): Don't use CHECK_N.
18778 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18780 (semtimedop): Don't use CHECK_N.
18781 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18782 (__libc_pread): Don't use CHECK_N.
18783 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18785 (__libc_pread64): Don't use CHECK_N.
18786 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18788 (__libc_pwrite): Don't use CHECK_N.
18789 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18791 (__libc_pwrite64): Don't use CHECK_N.
18792 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18794 (__libc_msgrcv): Don't use CHECK_N.
18795 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18796 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18797 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18798 (__libc_writev): Don't use CHECK_N.
18800 2013-02-08 Roland McGrath <roland@hack.frob.com>
18802 * string/strcpy.c: Removed unused variable.
18804 * Makeconfig (+sysdep-includes): Define with := rather than =.
18805 Use an existing include/ subdir of each sysdeps dir before it.
18807 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18809 * nscd/connection.c (register_traced_file): Comment function.
18810 [HAVE_INOTIFY] (union __inev): Define.
18811 [HAVE_INOTIFY] (inotify_check_files): New function.
18812 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18813 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18815 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18817 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18819 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18820 loaded if not already and that a failure is permanent.
18822 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18825 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18826 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18828 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18831 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18832 (CHECK_1_NULL_OK): Likewise.
18833 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18834 (__fxstat): Do not use CHECK_1.
18835 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18837 (___fxstat64): Do not use CHECK_1.
18838 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18840 (__fxstatat): Do not use CHECK_1.
18841 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18843 (__fxstatat64): Do not use CHECK_1.
18844 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18846 (__fxstat): Do not use CHECK_1.
18847 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18849 (__fxstatat): Do not use CHECK_1.
18850 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18852 (__getresgid): Do not use CHECK_1.
18853 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18855 (__getresuid): Do not use CHECK_1.
18856 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18858 (__lxstat): Do not use CHECK_1.
18859 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18861 (__old_msgctl): Do not use CHECK_1.
18862 (__new_msgctl): Likewise.
18863 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18865 (__new_setrlimit): Do not use CHECK_1.
18866 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18868 (__old_shmctl): Do not use CHECK_1.
18869 (__new_shmctl): Likewise.
18870 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18872 (__xstat): Do not use CHECK_1.
18873 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18874 (__lxstat): Do not use CHECK_1.
18875 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18877 (___lxstat64): Do not use CHECK_1.
18878 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18879 (__old_msgctl): Do not use CHECK_1.
18880 (__new_msgctl): Likewise.
18881 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18883 (__gettimeofday): Do not use CHECK_1.
18884 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18885 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18886 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18888 (__gettimeofday): Do not use CHECK_1.
18889 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18890 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18891 (__new_shmctl): Do not use CHECK_1.
18892 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18894 (do_sigtimedwait): Do not use CHECK_1.
18895 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18897 (do_sigwaitinfo): Do not use CHECK_1.
18898 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18900 (msgctl): Do not use CHECK_1.
18901 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18903 (shmctl): Do not use CHECK_1.
18904 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18905 (ustat): Do not use CHECK_1.
18906 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18908 (__fxstat): Do not use CHECK_1.
18909 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18911 (__fxstatat): Do not use CHECK_1.
18912 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18914 (__lxstat): Do not use CHECK_1.
18915 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18917 (__xstat): Do not use CHECK_1.
18918 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18919 (__xstat): Do not use CHECK_1.
18920 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18921 (___xstat64): Do not use CHECK_1.
18924 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18926 (CHECK_BOUNDS_HIGH): Likewise.
18927 * string/strcpy.c: Do not include <bp-checks.h>.
18928 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18930 2013-02-07 Roland McGrath <roland@hack.frob.com>
18932 * nscd/nscd-client.h (__nscd_drop_map_ref):
18933 Add __attribute__ ((unused)).
18934 * nis/nss-nisplus.h (niserr2nss): Likewise.
18936 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18937 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18939 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18940 Remove inline keyword.
18941 * include/rounding-mode.h (round_away): Likewise.
18942 * libio/wfileops.c (adjust_wide_data): Likewise.
18943 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18944 (__m128i_strloadu_tolower): Likewise.
18945 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18946 (__m128i_strloadu_tolower): Likewise.
18947 * time/mktime.c (ydhms_diff): Likewise.
18948 * locale/elem-hash.h (elem_hash): Likewise.
18949 * locale/setlocale.c (setdata): Likewise.
18950 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18951 (re_string_wchar_at): Likewise.
18952 (bitset_not, bitset_merge, bitset_mask): Likewise.
18953 [!(__GNUC__ > 3)] (inline): Remove macro.
18954 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18955 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18956 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18957 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18958 * string/memcmp.c (memcmp_bytes): Likewise.
18959 * locale/programs/locarchive.c (compute_hashval): Likewise.
18960 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18961 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18962 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18963 * nss/getent.c (print_rpc, print_protocols): Likewise.
18964 (print_passwd, print_group, print_aliases): Likewise.
18965 * nis/nss-nisplus.h (niserr2nss): Likewise.
18966 * nscd/connections.c (restart_p): Likewise.
18967 Change return type to bool.
18969 2013-02-05 Roland McGrath <roland@hack.frob.com>
18971 * Makeconfig (all-Depend-files): Add existing
18972 $(sorted-subdirs:=/Depend) files.
18973 (all-subdirs): Remove nss.
18974 * sysdeps/unix/inet/Subdirs: Add it here instead.
18975 * hesiod/Depend: New file.
18977 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18978 instead of calling alloca.
18980 * io/lseek.c (__lseek): Rename to __libc_lseek.
18981 Define __lseek as an alias.
18983 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18985 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18987 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18988 else clause and remove check for non-standard endianness.
18990 2013-02-04 David S. Miller <davem@davemloft.net>
18992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18994 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18997 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18998 (__ubp_memchr): Remove prototype.
18999 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19000 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19001 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19002 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19003 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19005 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19006 (__ubp_memchr): Likewise.
19007 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19008 (__ubp_memchr): Likewise.
19009 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19010 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19011 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19012 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19014 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19015 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19016 (__getcwd): Do not use CHECK_STRING.
19017 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19019 (__real_chown): Do not use CHECK_STRING.
19020 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19022 (fchownat): Do not use CHECK_STRING.
19023 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19025 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19027 (__lchown): Do not use CHECK_STRING.
19028 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19029 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19030 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19031 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19033 include <bp-checks.h>.
19034 (truncate64): Do not use CHECK_STRING.
19035 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19037 (__real_chown): Do not use CHECK_STRING.
19038 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19040 (__lchown): Do not use CHECK_STRING.
19041 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19043 (__chown): Do not use CHECK_STRING.
19044 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19046 (truncate64): Do not use CHECK_STRING.
19047 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19049 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19050 (__xmknod): Do not use CHECK_STRING.
19051 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19053 (__xmknodat): Do not use CHECK_STRING.
19054 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19055 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19057 2013-02-04 Andreas Schwab <schwab@suse.de>
19060 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19061 * include/netdb.h: Likewise for h_errno.
19062 * elf/tst-stackguard1.c: Include <tls.h>.
19064 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19066 * elf/link.h (struct link_map): Extend the l_addr comment.
19067 * include/link.h (struct link_map): Likewise.
19069 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19072 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19073 (BOUNDED_1): Remove macro.
19074 * debug/backtrace.c: Don't include <bp-checks.h>.
19075 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19076 (__backtrace): Likewise.
19077 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19079 (__backtrace): Don't use BOUNDED_1.
19080 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19082 (__backtrace): Don't use BOUNDED_1.
19083 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19084 (__backtrace): Don't use BOUNDED_1.
19085 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19086 (shmat): Don't use BOUNDED_N.
19088 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19091 * sysdeps/generic/bp-start.h: Remove file.
19092 * csu/libc-start.c: Don't include <bp-start.h>.
19093 (LIBC_START_MAIN): Set up __environ directly instead of using
19094 INIT_ARGV_and_ENVIRON.
19095 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19099 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19101 (CHECK_FCNTL): Likewise.
19102 (CHECK_N_PAGES): Likewise.
19105 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19107 (CHECK_SIGSET_NULL_OK): Likewise.
19108 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19110 (sigpending): Don't use CHECK_SIGSET.
19111 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19113 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19114 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19116 (do_sigsuspend): Don't use CHECK_SIGSET.
19117 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19119 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19120 (do_sigwait): Don't use CHECK_SIGSET.
19121 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19123 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19124 include <bp-checks.h>.
19125 (sigpending): Don't use CHECK_SIGSET.
19126 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19127 include <bp-checks.h>.
19128 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19129 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19131 (sigpending): Don't use CHECK_SIGSET.
19132 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19134 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19137 * sysdeps/generic/bp-semctl.h: Remove file.
19138 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19139 <bp-checks.h> and <bp-semctl.h>.
19140 (__old_semctl): Don't use CHECK_SEMCTL.
19141 (__new_semctl): Likewise.
19142 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19144 (__old_semctl): Don't use CHECK_SEMCTL.
19145 (__new_semctl): Likewise.
19146 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19147 <bp-checks.h> and <bp-semctl.h>.
19148 (__old_semctl): Don't use CHECK_SEMCTL.
19149 (__new_semctl): Likewise.
19150 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19151 <bp-checks.h> and <bp-semctl.h>.
19152 (semctl): Don't use CHECK_SEMCTL.
19155 * Makerules (elide-bp-thunks): Remove variable.
19156 (elide-routines.oS): Don't use $(elide-bp-thunks).
19157 (elide-routines.os): Likewise.
19158 (elide-routines.o): Likewise.
19159 (elide-routines.op): Likewise.
19160 (elide-routines.og): Likewise.
19161 (objects): Don't use $(bp-thunks).
19162 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19164 (common-generated): Do not add s-proto-bp.d.
19165 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19168 Do not generate makefile rules for bounded-pointer thunks.
19169 * sysdeps/generic/bp-thunks.h: Remove file.
19170 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19171 * sysdeps/unix/s-proto-bp.S: Likewise.
19174 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19175 parts of result separately when argument is not close to line from
19176 -i to i and one part of argument is small.
19177 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19178 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19179 * math/libm-test.inc (cacos_test): Add more tests.
19180 (casin_test): Likewise.
19181 (casinh_test): Likewise.
19182 * sysdeps/i386/fpu/libm-test-ulps: Update.
19183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19185 2013-01-31 David S. Miller <davem@davemloft.net>
19187 * po/de.po: Update from translation team.
19189 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19191 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19193 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19195 * configure.in (_AC_PROG_CC_C89): New definition.
19196 * configure: Regenerate.
19198 * configure.in (AC_PROG_CPP): New definition.
19199 * configure: Regenerate.
19201 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19203 * debug/tst-backtrace.h: New file.
19204 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19205 (ret): Remove variable.
19207 (FAIL): Remove macro.
19208 (NO_INLINE): Likewise.
19209 (fn1): Use match function instead of strstr.
19210 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19211 (ret): Remove variable.
19213 (FAIL): Remove macro.
19214 (NO_INLINE): Likewise.
19215 (fn): Use match function instead of strstr.
19216 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19217 (ret): Remove variable.
19219 (FAIL): Remove macro.
19220 (NO_INLINE): Likewise.
19221 (handle_signal): Use match function instead of strstr.
19222 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19223 (ret): Remove variable.
19225 (FAIL): Remove macro.
19226 (NO_INLINE): Likewise.
19227 (handle_signal): Use match function instead of strstr.
19229 2013-01-23 Roland McGrath <roland@hack.frob.com>
19231 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19233 2013-01-23 David S. Miller <davem@davemloft.net>
19235 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19236 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19237 argument of CAS if possible.
19238 * sysdeps/sparc/sparc64/bits/atomic.h
19239 (__arch_compare_and_exchange_val_32_acq): Likewise.
19240 (__arch_compare_and_exchange_val_64_acq): Likewise.
19242 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19244 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19245 * sysdeps/posix/ulimit.c: ... this.
19246 Include <limits.h>.
19247 * sysdeps/unix/bsd/ulimit.c: Remove file.
19249 2013-01-23 Adam Conrad <adconrad@0c3.net>
19251 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19252 (LDFLAGS-tst-array5): Likewise.
19254 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19257 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19258 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19259 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19260 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19262 2013-01-21 David S. Miller <davem@davemloft.net>
19264 * sysdeps/sparc/backtrace.c: New file.
19265 * sysdeps/sparc/sparc32/backtrace.h: New file.
19266 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19267 * sysdeps/sparc/sparc64/backtrace.h: New file.
19268 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19269 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19272 2013-01-21 Andreas Schwab <schwab@suse.de>
19275 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19278 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19284 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19285 Mark Mitchell <mark@codesourcery.com>
19286 Tom de Vries <tom@codesourcery.com>
19287 Paul Pluzhnikov <ppluzhnikov@google.com>
19289 * debug/tst-backtrace2.c: New file.
19290 * debug/tst-backtrace3.c: Likewise.
19291 * debug/tst-backtrace4.c: Likewise.
19292 * debug/tst-backtrace5.c: Likewise.
19293 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19294 (CFLAGS-tst-backtrace3.c): Likewise.
19295 (CFLAGS-tst-backtrace4.c): Likewise.
19296 (CFLAGS-tst-backtrace5.c): Likewise.
19297 (LDFLAGS-tst-backtrace2): Likewise.
19298 (LDFLAGS-tst-backtrace3): Likewise.
19299 (LDFLAGS-tst-backtrace4): Likewise.
19300 (LDFLAGS-tst-backtrace5): Likewise.
19301 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19302 tst-backtrace4 and tst-backtrace5.
19304 2013-01-18 Anton Blanchard <anton@samba.org>
19305 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19307 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19308 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19309 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19310 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19312 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19313 "+r" and remove output regs list as redundant. Add explicit inline
19314 asm to specify register of return val to work around compiler codegen
19315 bug. Remove (int) cast on return value. Add return type parameter to
19316 use in macro so that this macro does not truncate return value for
19318 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19319 pass to INTERNAL_VSYSCALL_NCS.
19320 (INLINE_VSYSCALL): Add 'long int' as return type to
19321 INTERNAL_VSYSCALL_NCS macro invocation.
19322 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19323 INTERNAL_VSYSCALL_NCS macro invocation.
19324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19326 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19329 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19330 Fix application of SIMD FP exception mask.
19332 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19333 mp_no from a power of two.
19334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19335 __mpexp_twomm1. Use __pow_mp.
19337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19340 2013-01-17 David S. Miller <davem@davemloft.net>
19342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19344 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19347 * include/complex.h: Condition contents on [!_COMPLEX_H].
19348 (__kernel_casinhf): New prototype.
19349 (__kernel_casinh): Likewise.
19350 (__kernel_casinhl): Likewise.
19351 * math/Makefile (libm_calls): Add k_casinh.
19352 * math/k_casinh.c: New file.
19353 * math/k_casinhf.c: Likewise.
19354 * math/k_casinhl.c: Likewise.
19355 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19356 finite nonzero arguments.
19357 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19358 finite nonzero arguments.
19359 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19360 finite nonzero arguments.
19361 * math/s_casinh.c: Do not include <float.h>.
19362 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19363 * math/s_casinhf.c: Do not include <float.h>.
19364 (__casinhf): Move code for finite nonzero arguments to
19366 * math/s_casinhl.c: Do not include <float.h>.
19367 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19369 (__casinhl): Move code for finite nonzero arguments to
19371 * math/libm-test.inc (cacos_test): Add more tests.
19372 * sysdeps/i386/fpu/libm-test-ulps: Update.
19373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19375 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19377 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19378 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19379 [!HAVE_MREMAP]: Remove [defined linux] case.
19380 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19382 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19384 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19386 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19388 * elf/elf.h (R_386_SIZE32): New relocation.
19389 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19391 (elf_machine_rela): Likewise.
19392 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19393 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19395 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19397 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19398 (FP_FAST_FMA): Do not define.
19399 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19400 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19401 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19402 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19403 !_SOFT_FLOAT]: Likewise.
19404 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19405 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19407 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19408 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19409 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19410 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19411 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19412 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19415 2013-01-16 Andreas Schwab <schwab@suse.de>
19418 * include/stdlib.h (__mktemp): Add declaration.
19419 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19420 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19422 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19424 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19426 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19427 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19428 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19430 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19431 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19433 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19435 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19436 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19437 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19439 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19440 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19442 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19444 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19446 2013-01-15 David S. Miller <davem@davemloft.net>
19448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19449 trunc{,f} to libm-sysdep_routes.
19450 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19460 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19461 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19462 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19463 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19464 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19465 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19468 nearbyint{,f} to libm-sysdep_routes.
19469 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19480 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19482 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19483 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19485 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19486 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19487 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19489 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19490 libc_feholdexcept and libc_fesetenv.
19492 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19494 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19496 2013-01-14 David S. Miller <davem@davemloft.net>
19498 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19499 (SPARC_ASM_VIS2_IFUNC): Likewise.
19500 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19502 use of 'siam' instruction.
19503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19536 routines to libm-sysdep_routines.
19537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19540 fdim/fdimf to libm-sysdep_routines.
19541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19549 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19550 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19551 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19552 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19554 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19556 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19557 to optimize copies.
19559 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19564 local variable MPTWO.
19565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19568 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19570 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19573 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19575 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19577 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19579 * manual/pattern.texi (glob_t): Document gl_flags.
19580 (glob64_t): Likewise.
19582 2013-01-11 David S. Miller <davem@davemloft.net>
19584 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19585 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19586 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19587 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19588 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19589 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19590 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19591 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19592 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19593 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19594 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19595 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19596 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19598 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19599 sparc V9 rather than using V8 code.
19600 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19601 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19603 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19605 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19608 2013-01-11 Roland McGrath <roland@hack.frob.com>
19610 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19611 not in the main loop.
19612 * configure: Regenerated.
19614 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19616 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19617 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19619 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19620 [!__GLIBC_HAVE_LONG_LONG] case.
19621 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19622 condition to just #else.
19623 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19624 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19625 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19626 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19628 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19629 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19630 #elif condition to just #else.
19631 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19632 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19633 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19634 #elif condition to just #else.
19636 2013-01-11 Steve Ellcey <sellcey@mips.com>
19638 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19639 (EF_MIPS_ARCH_64): Fix value.
19640 (EF_MIPS_ARCH_32R2): New.
19641 (EF_MIPS_ARCH_64R2): New.
19643 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19645 * Makeconfig (+link-pie-before-libc): New.
19646 (+link-pie-after-libc): Likewise.
19647 (+link-pie-tests): Likewise.
19648 (+link-pie): Rewritten.
19649 (link-before-libc): Remove $(config-LDFLAGS).
19650 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19651 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19652 (config-LDFLAGS): Renamed to ...
19653 (rtld-LDFLAGS): This.
19654 (rtld-tests-LDFLAGS): New macro.
19655 (link-libc-rpath-link): Likewise.
19656 (link-libc-tests-rpath-link): Likewise.
19657 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19658 (link-libc): Prepand $(link-libc-rpath-link).
19659 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19660 (test-program-prefix): New macro.
19661 (test-via-rtld-prefix): Likewise.
19662 (test-program-cmd): Likewise.
19663 (host-test-program-cmd): Likewise.
19664 * Makefile ($(common-objpfx)testrun.sh): Replace
19665 $(run-program-prefix) with $(test-program-prefix).
19666 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19668 ($(common-objpfx)shlib.lds): Likewise.
19669 (build-module-helper): Likewise.
19670 ($(common-objpfx)format.lds): Likewise.
19671 * Rules (binaries-pie-tests): New.
19672 (binaries-pie-notests): Likewise.
19673 (binaries-pie): Rewritten.
19674 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19675 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19676 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19677 (make-test-out): Replace $(host-built-program-cmd) with
19678 $(host-test-program-cmd).
19679 * config.make.in (build-hardcoded-path-in-tests): New variable.
19680 * configure.in (--enable-hardcoded-path-in-tests): New configure
19682 (hardcoded_path_in_tests): New AC_SUBST.
19683 * configure: Regenerated.
19684 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19685 $(built-program-cmd) with $(test-program-cmd).
19686 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19687 (test_program_cmd): This.
19688 * elf/Makefile ($(objpfx)order.out): Run test with
19689 $(test-program-prefix).
19690 ($(objpfx)order2.out): Likewise.
19691 ($(objpfx)tst-initorder.out): Likewise.
19692 ($(objpfx)tst-initorder2.out): Likewise.
19693 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19694 $(test-program-cmd).
19695 ($(objpfx)tst-array1-static.out): Likewise.
19696 ($(objpfx)tst-array2.out): Likewise.
19697 ($(objpfx)tst-array3.out): Likewise.
19698 ($(objpfx)tst-array4.out): Likewise.
19699 ($(objpfx)tst-array5.out): Likewise.
19700 ($(objpfx)tst-array5-static.out): Likewise.
19701 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19702 $(test-program-cmd).
19703 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19704 $(run-program-prefix) with $(test-program-prefix).
19705 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19706 (test_program_prefix): This.
19707 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19708 $(run-program-prefix) with $(test-program-prefix).
19709 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19710 (test_program_prefix): This.
19711 * iconvdata/tst-tables.sh: Likewise.
19712 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19713 $(run-program-prefix) with $(test-program-prefix).
19714 ($(objpfx)tst-translit.out): Likewise.
19715 ($(objpfx)tst-gettext2.out): Likewise.
19716 ($(objpfx)tst-gettext4.out): Likewise.
19717 ($(objpfx)tst-gettext6.out): Likewise.
19718 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19719 (test_program_prefix): This.
19720 * intl/tst-gettext2.sh: Likewise.
19721 * intl/tst-gettext4.sh Likewise.
19722 * intl/tst-gettext6.sh: Likewise.
19723 * intl/tst-translit.sh: Likewise.
19724 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19725 with $(test-program-cmd).
19726 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19727 $(run-program-prefix) with $(test-program-prefix).
19728 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19729 (test_program_prefix): This.
19730 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19731 $(run-program-prefix) with $(test-program-prefix).
19732 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19733 (test_program_prefix): This.
19734 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19735 * posix/Makefile ($(objpfx)globtest.out): Replace
19736 $(run-via-rtld-prefix) and $(test-wrapper) with
19737 $(test-program-prefix) and $(test-via-rtld-prefix).
19738 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19739 $(test-program-prefix).
19740 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19741 $(host-test-program-cmd).
19742 (tst-spawn-ARGS): Likewise.
19743 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19744 $(test-program-prefix).
19745 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19746 (test_via_rtld_prefix): This.
19747 (test_wrapper): Renamed to ...
19748 (test_program_prefix): This.
19749 (run_program_prefix): Replaced by test_program_prefix.
19750 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19751 (test_program_prefix): This.
19752 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19753 with $(host-test-program-cmd).
19754 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19755 $(run-program-prefix) with $(test-program-prefix).
19756 ($(objpfx)tst-printf.out): Likewise.
19757 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19758 $(test-program-cmd).
19759 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19760 (test_program_prefix): This.
19761 * stdio-common/tst-unbputc.sh: Likewise.
19762 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19763 $(run-program-prefix) with $(test-program-prefix).
19764 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19765 (test_program_prefix): This.
19766 * string/Makefile ($(objpfx)tst-svc.out): Replace
19767 $(built-program-cmd) with $(test-program-cmd).
19769 2013-01-11 Andreas Jaeger <aj@suse.de>
19772 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19773 value. Sync with Linux 3.7.
19775 2013-01-10 David S. Miller <davem@davemloft.net>
19777 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19778 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19779 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19781 2013-01-10 Roland McGrath <roland@hack.frob.com>
19783 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19785 * configure: Regenerated.
19787 2013-01-10 David S. Miller <davem@davemloft.net>
19789 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19790 sparc V9 rather than using V8 code.
19791 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19792 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19794 2013-01-10 Roland McGrath <roland@hack.frob.com>
19796 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19797 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19798 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19799 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19800 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19801 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19802 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19803 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19804 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19805 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19806 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19807 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19808 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19809 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19810 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19811 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19812 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19813 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19814 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19815 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19816 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19817 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19818 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19819 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19820 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19821 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19822 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19824 2013-01-10 David S. Miller <davem@davemloft.net>
19826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19828 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19830 * posix/Makefile (tests-static): New variable.
19831 (tests): Add $(tests-static).
19832 (tst-exec-static-ARGS): New variable.
19833 (tst-spawn-static-ARGS): Likewise.
19834 * posix/tst-exec-static.c: New file.
19835 * posix/tst-spawn-static.c: Likewise.
19836 * posix/tst-exec.c: Support run directly.
19837 * posix/tst-spawn.c: Likewise.
19839 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19841 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19843 * math/bits/mathcalls.h (llrint): Likewise.
19844 (llround): Likewise.
19845 * stdlib/stdlib.h (struct drand48_data): Likewise.
19846 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19847 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19848 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19850 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19852 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19853 (elf_greg_t): Likewise.
19854 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19855 (__jmp_buf): Likewise.
19856 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19858 (llrint): Likewise, for all definitions.
19859 (llrintl): Likewise.
19861 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19862 Remove [__GNUC__] condition.
19863 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19864 condition to just [__USE_ISOC99].
19865 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19867 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19870 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19871 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19873 (_POSIX_V6_ILP32_OFF32): Likewise.
19874 (_XBS5_ILP32_OFF32): Likewise.
19875 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19876 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19878 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19880 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19883 doubles __mpexp_twomm1. Adjust usage.
19884 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19887 2013-01-10 Andreas Schwab <schwab@suse.de>
19890 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19891 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19893 2013-01-09 David S. Miller <davem@davemloft.net>
19896 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19897 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19898 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19899 (TCP_FASTOPEN): Define.
19900 (tcp_repair_opt): New structure.
19901 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19903 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19904 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19905 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19906 (tcp_cookie_transactions): New structure.
19908 2013-01-09 Anton Blanchard <anton@samba.org>
19910 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19911 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19912 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19913 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19915 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19917 * include/features.h (__USE_ANSI): Remove.
19919 2013-01-09 Roland McGrath <roland@hack.frob.com>
19921 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19923 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19925 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19927 * sysdeps/s390/fpu/libm-test-ulps: Update.
19929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19931 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19935 (denorm): Likewise.
19936 (__mp_dbl): Likewise.
19937 (__dbl_mp): Likewise.
19938 (add_magnitudes): Likewise.
19939 (sub_magnitudes): Likewise.
19945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19949 (denorm): Likewise.
19950 (__mp_dbl): Likewise.
19951 (__dbl_mp): Likewise.
19952 (add_magnitudes): Likewise.
19953 (sub_magnitudes): Likewise.
19959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19963 (denorm): Likewise.
19964 (__mp_dbl): Likewise.
19965 (__dbl_mp): Likewise.
19966 (add_magnitudes): Likewise.
19967 (sub_magnitudes): Likewise.
19974 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19976 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19977 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19978 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19979 2 && __USE_EXTERN_INLINES]: Likewise.
19981 2013-01-08 Andreas Jaeger <aj@suse.de>
19984 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19986 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19987 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19989 2013-01-07 Anton Blanchard <anton@samba.org>
19991 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19992 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19993 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19994 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19995 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19996 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19997 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19998 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20000 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20001 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20002 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20003 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20004 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20005 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20006 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20007 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20008 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20009 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20010 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20011 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20012 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20013 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20014 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20015 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20016 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20017 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20018 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20019 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20020 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20021 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20023 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20024 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20025 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20026 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20027 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20028 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20029 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20030 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20031 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20032 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20033 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20035 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20037 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20038 (__MALLOC_PMT): Likewise.
20039 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20040 [__GNUC__], only on [_LIBC].
20041 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20042 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20043 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20044 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20045 forward declaration.
20046 (realloc_hook_ini): Likewise.
20047 (memalign_hook_ini): Likewise.
20048 (__libc_memalign): Do not use __MALLOC_PMT in variable
20050 (__libc_valloc): Likewise.
20051 (__libc_pvalloc): Likewise.
20052 (__libc_calloc): Likewise.
20053 (__posix_memalign): Likewise.
20056 * math/s_casinh.c: Include <float.h>.
20057 (__casinh): Do not do computation with squaring and square root
20058 for large arguments.
20059 * math/s_casinhf.c: Include <float.h>.
20060 (__casinhf): Do not do computation with squaring and square root
20061 for large arguments.
20062 * math/s_casinhl.c: Include <float.h>.
20063 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20064 (__casinhl): Do not do computation with squaring and square root
20065 for large arguments.
20066 * math/libm-test.inc (casin_test): Add more tests.
20067 (casinh_test): Likewise.
20068 * sysdeps/i386/fpu/libm-test-ulps: Update.
20069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20071 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20073 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20074 (__x86_64_raw_data_cache_size): Likewise.
20075 (__x86_64_data_cache_size_half): Likewise.
20076 (__x86_64_raw_data_cache_size_half): Likewise.
20077 (__x86_64_shared_cache_size): Likewise.
20078 (__x86_64_raw_shared_cache_size): Likewise.
20079 (__x86_64_shared_cache_size_half): Likewise.
20080 (__x86_64_raw_shared_cache_size_half): Likewise.
20081 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20083 (__x86_data_cache_size): This.
20084 (__x86_64_raw_data_cache_size): Renamed to ...
20085 (__x86_raw_data_cache_size): This.
20086 (__x86_64_data_cache_size_half): Renamed to ...
20087 (__x86_data_cache_size_half): This.
20088 (__x86_64_raw_data_cache_size_half): Renamed to ...
20089 (__x86_raw_data_cache_size_half): This.
20090 (__x86_64_shared_cache_size): Renamed to ...
20091 (__x86_shared_cache_size): This.
20092 (__x86_64_raw_shared_cache_size): Renamed to ...
20093 (__x86_raw_shared_cache_size): This.
20094 (__x86_64_shared_cache_size_half): Renamed to ...
20095 (__x86_shared_cache_size_half): This.
20096 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20097 (__x86_raw_shared_cache_size_half): This.
20098 * sysdeps/x86_64/memcpy.S: Updated.
20099 * sysdeps/x86_64/memset.S: Likewise.
20100 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20101 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20102 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20104 2013-01-04 David S. Miller <davem@davemloft.net>
20106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20108 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20110 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20111 1 to avoid redefinition warning.
20112 (__USE_GNU): Don't define.
20113 (init_signaling_nan): Protoize.
20115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20117 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20119 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20121 (__cpymn): Likewise.
20122 (norm): Remove commented code.
20123 (denorm): Likewise.
20124 (__mp_dbl): Likewise.
20126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20127 (__cpymn): Likewise.
20128 (norm): Remove commented code.
20129 (denorm): Likewise.
20130 (__mp_dbl): Likewise.
20133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20134 mp_no value for 1.0 and 2.0.
20135 (norm): Use RADIXI instead of radixi.d.
20136 (denorm): Likewise.
20137 (__mul): Use 0.0 instead of zero.d.
20138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20139 mp_no value for 1.0 and 2.0.
20140 (norm): Use RADIXI instead of radixi.d.
20141 (denorm): Likewise.
20142 (__mul): Use 0.0 instead of zero.d.
20144 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20147 * math/s_casinh.c (__casinh): Reduce finite argument to first
20148 quadrant then set signs of results at the end.
20149 * math/s_casinhf.c (__casinhf): Likewise.
20150 * math/s_casinhl.c (__casinhl): Likewise.
20151 * math/libm-test.inc (casin_test): Add more tests.
20152 (casinh_test): Likewise.
20153 * sysdeps/i386/fpu/libm-test-ulps: Update.
20154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20156 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20158 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20160 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20162 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20164 (denorm): Likewise.
20165 (__mp_dbl): Likewise.
20168 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20169 and adjust the header comment.
20171 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20172 variable name from declaration.
20174 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20177 Initialize COMMON_CPUID_INDEX_7 element.
20178 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20179 (CPUID_RTM): Likewise.
20180 (HAS_RTM): Likewise.
20181 (COMMON_CPUID_INDEX_7): New enum.
20183 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20186 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20187 size is zero, record memory as freed.
20189 2013-01-03 Andreas Jaeger <aj@suse.de>
20191 * po/ia.po: Add new Interlingua translation.
20193 2012-01-03 Allan McRae <allan@archlinux.org>
20195 * locale/programs/localedef.c: Fix description of '--posix' flag.
20197 2013-01-02 Joseph Myers <joseph@codesourcery.com>
20199 * NEWS: Update dates in second copyright notice.
20200 * README: Update copyright dates in example.
20201 * manual/libc.texinfo: Update copyright dates.
20202 * scripts/test-installation.pl: Update copyright date in --version
20205 * hurd/ctty-input.c: Fix copyright notice formatting.
20206 * hurd/ctty-output.c: Likewise.
20207 * hurd/dtable.c: Likewise.
20208 * hurd/hurd-raise.c: Likewise.
20209 * hurd/hurdprio.c: Likewise.
20210 * hurd/msgportdemux.c: Likewise.
20211 * misc/sys/file.h: Likewise.
20212 * misc/sys/ioctl.h: Likewise.
20213 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20214 * sysdeps/mach/hurd/chdir.c: Likewise.
20215 * sysdeps/mach/hurd/fchdir.c: Likewise.
20216 * sysdeps/mach/hurd/rename.c: Likewise.
20217 * sysdeps/mach/hurd/rmdir.c: Likewise.
20218 * sysdeps/mach/hurd/seekdir.c: Likewise.
20219 * sysdeps/mach/hurd/setsid.c: Likewise.
20220 * sysdeps/posix/wait3.c: Likewise.
20222 * All files with FSF copyright notices: Update copyright dates
20223 using scripts/update-copyrights.
20224 * intl/plural.c: Regenerated.
20225 * locale/programs/charmap-kw.h: Likewise.
20226 * locale/programs/locfile-kw.h: Likewise.
20228 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20230 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20233 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20234 calculation loop and add branch prediction.
20236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20237 check access beyond bounds of m1np.
20239 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20241 (__inv): Remove local variable MPTWO to use the global
20243 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20244 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20246 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20247 MP3HALFS static const.
20249 2013-01-01 David S. Miller <davem@davemloft.net>
20251 * po/ca.po: Update from translation team.
20253 2013-01-01 Joseph Myers <joseph@codesourcery.com>
20255 * scripts/update-copyrights: New file.
20256 * Makeconfig: Reformat copyright notice.
20257 * ctype/ctype.h: Likewise.
20258 * debug/swprintf_chk.c: Likewise.
20259 * elf/dl-cache.c: Likewise.
20260 * elf/dl-debug.c: Likewise.
20261 * elf/dl-object.c: Likewise.
20262 * grp/initgroups.c: Likewise.
20263 * hurd/Makefile: Likewise.
20264 * hurd/hurd/signal.h: Likewise.
20265 * hurd/hurdfault.c: Likewise.
20266 * hurd/hurdioctl.c: Likewise.
20267 * hurd/hurdlookup.c: Likewise.
20268 * hurd/intr-msg.c: Likewise.
20269 * iconv/gconv_open.c: Likewise.
20270 * libio/swprintf.c: Likewise.
20271 * locale/lc-ctype.c: Likewise.
20272 * locale/nl_langinfo.c: Likewise.
20273 * mach/Machrules: Likewise.
20274 * mach/Makefile: Likewise.
20275 * malloc/obstack.h: Likewise.
20276 * manual/Makefile: Likewise.
20277 * manual/tsort.awk: Likewise.
20278 * misc/bits/stab.def: Likewise.
20279 * nis/nis_print_group_entry.c: Likewise.
20280 * nis/nis_table.c: Likewise.
20281 * nis/nss_compat/compat-pwd.c: Likewise.
20282 * nis/nss_compat/compat-spwd.c: Likewise.
20283 * po/Makefile: Likewise.
20284 * posix/fnmatch.c: Likewise.
20285 * posix/regex.h: Likewise.
20286 * resolv/Makefile: Likewise.
20287 * resolv/nss_dns/dns-network.c: Likewise.
20288 * resolv/res_hconf.c: Likewise.
20289 * scripts/gen-sorted.awk: Likewise.
20290 * soft-fp/soft-fp.h: Likewise.
20291 * stdio-common/printf.h: Likewise.
20292 * stdlib/monetary.h: Likewise.
20293 * stdlib/random.c: Likewise.
20294 * stdlib/random_r.c: Likewise.
20295 * sysdeps/generic/Makefile: Likewise.
20296 * sysdeps/gnu/Makefile: Likewise.
20297 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20299 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20301 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20304 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20305 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20307 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20308 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20309 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20310 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20311 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20312 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20313 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20314 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20315 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20316 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20317 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20318 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20319 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20320 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20321 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20322 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20323 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20324 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20325 * sysdeps/mach/hurd/errnos.awk: Likewise.
20326 * sysdeps/mach/hurd/fork.c: Likewise.
20327 * sysdeps/mach/hurd/getcwd.c: Likewise.
20328 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20329 * sysdeps/mach/hurd/mmap.c: Likewise.
20330 * sysdeps/mach/hurd/utimes.c: Likewise.
20331 * sysdeps/mach/hurd/xmknod.c: Likewise.
20332 * sysdeps/posix/profil.c: Likewise.
20333 * sysdeps/posix/readdir_r.c: Likewise.
20334 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20335 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20336 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20337 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20339 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20340 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20341 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20343 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20344 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20345 * sysdeps/pthread/lio_listio.c: Likewise.
20346 * sysdeps/sparc/dl-procinfo.h: Likewise.
20347 * sysdeps/unix/i386/sysdep.S: Likewise.
20348 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20349 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20350 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20351 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20353 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20354 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20355 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20356 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20357 * sysdeps/wordsize-32/divdi3.c: Likewise.
20358 * time/sys/time.h: Likewise.
20359 * wcsmbs/Makefile: Likewise.
20361 2013-01-01 David S. Miller <davem@davemloft.net>
20363 * po/fr.po: Update from translation team.
20365 * catgets/gencat.c: Update copyright year.
20366 * csu/version.c: Likewise.
20367 * debug/catchsegv.sh: Likewise.
20368 * debug/pcprofiledump.c: Likewise.
20369 * debug/xtrace.sh: Likewise.
20370 * elf/ldconfig.c: Likewise.
20371 * elf/ldd.bash.in: Likewise.
20372 * elf/pldd.c: Likewise.
20373 * elf/sotruss.ksh: Likewise.
20374 * elf/sprof.c: Likewise.
20375 * iconv/iconv_prog.c: Likewise.
20376 * iconv/iconvconfig.c: Likewise.
20377 * locale/programs/locale.c: Likewise.
20378 * locale/programs/localedef.c: Likewise.
20379 * login/programs/pt_chown.c: Likewise.
20380 * malloc/memusage.sh: Likewise.
20381 * malloc/memusagestat.c: Likewise.
20382 * malloc/mtrace.pl: Likewise.
20383 * nscd/nscd.c: Likewise.
20384 * nss/getent.c: Likewise.
20385 * nss/makedb.c: Likewise.
20386 * posix/getconf.c: Likewise.
20388 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20390 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20393 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20395 * math/bits/mathcalls.h (modf): Use __nonnull.
20397 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20399 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20400 (split): Use macro CN instead of the bare value.
20401 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20403 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20404 instead of the bare value.
20405 (power1): Likewise.
20407 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20409 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20411 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20413 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20415 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20416 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20417 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20418 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20420 2012-12-28 Andreas Jaeger <aj@suse.de>
20422 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20423 values are from Linux 3.7.
20425 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20426 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20428 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20430 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20433 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20435 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20436 variables with preprocessor constants.
20437 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20438 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20439 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20441 2012-12-27 Bruno Haible <bruno@clisp.org>
20444 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20447 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20449 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20450 and use variable directly.
20451 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20453 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20455 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20456 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20458 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20459 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20460 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20461 include directive. Remove local variable MPONE.
20462 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20463 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20464 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20466 2012-12-25 David S. Miller <davem@davemloft.net>
20468 * version.h (RELEASE): Set to "development".
20469 (VERSION): Set to "2.17.90".
20470 * NEWS: Add 2.18 section.
20472 2012-12-21 David S. Miller <davem@davemloft.net>
20474 * po/hr.po: Update from translation team.
20476 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20478 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20480 2012-12-19 Steve Ellcey <sellcey@mips.com>
20482 * NEWS: Mention new memcpy for MIPS.
20484 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20486 * manual/contrib.texi (Contributors): Spelling correction.
20488 2012-12-15 David S. Miller <davem@davemloft.net>
20490 * po/ru.po: Update from translation team.
20492 2012-12-13 David S. Miller <davem@davemloft.net>
20494 * NEWS: Mention IFUNC testsuite enhancements.
20496 * po/pl.po: Update from translation team.
20497 * po/bg.po: Likewise.
20499 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20500 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20502 2012-12-11 David S. Miller <davem@davemloft.net>
20504 * po/sv.po: Update from translation team.
20506 * po/vi.po: Update from translation team.
20508 * po/cs.po: Update from translation team.
20510 * po/de.po: Update from translation team.
20511 * po/eo.po: Likewise.
20512 * po/nl.po: Likewise.
20514 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20517 * manual/argp.texi (Argp Helper Functions): Move node to follow
20518 Argp Parsing State.
20521 * manual/conf.texi (Limits on File System Capacity): Mention if
20522 terminating null is included in the max size.
20524 2012-12-10 Andreas Jaeger <aj@suse.de>
20526 * po/cs.po: Update from translation team.
20528 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20530 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20531 void pointer and cast to uintptr_t.
20532 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20534 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20535 * sysdeps/s390/s390-64/memset.S: Likewise.
20537 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20540 * menual/message.texi (Message Translation): Fix typos.
20541 (Helper programs for gettext): Likewise.
20543 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20546 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20549 2012-12-07 David S. Miller <davem@davemloft.net>
20551 * po/libc.pot: Update.
20553 2012-12-07 Richard Henderson <rth@redhat.com>
20556 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20557 normal/normal case to before the switch.
20558 (_FP_DIV): Likewise.
20560 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20561 Mike Frysinger <vapier@gentoo.org>
20563 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20564 check for __NR_fadvise64_64.
20566 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20568 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20569 0, not just to plain "0" as a statement.
20570 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20573 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20575 * NEWS: Use sourceware.org in Bugzilla URL.
20577 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20580 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20582 * stdio-common/tst-put-error.c (do_test): Add newline to the
20583 padded test to ensure flush.
20585 2012-12-05 Jeff Law <law@redhat.com>
20587 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20589 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20591 * README: Don't refer to ports add-on as distributed separately.
20592 Mention AArch64 in list of systems supported in the ports add-on.
20594 * LICENSES: Add more non-FSF copyright and license notices.
20596 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20599 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20601 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20602 10000 as width of padded output.
20604 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20606 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20608 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20609 variable LX with __attribute__ ((unused)).
20610 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20612 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20613 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20614 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20615 with __attribute__ ((unused)).
20617 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20619 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20621 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20623 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20624 (CFLAGS-nldbl-acos.c): New variable.
20625 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20626 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20627 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20628 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20629 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20630 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20631 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20632 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20633 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20634 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20635 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20636 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20637 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20638 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20639 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20640 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20641 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20642 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20643 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20644 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20645 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20646 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20647 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20648 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20649 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20650 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20651 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20652 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20653 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20654 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20655 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20656 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20657 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20658 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20659 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20660 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20661 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20662 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20663 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20664 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20665 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20666 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20667 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20668 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20669 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20670 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20671 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20672 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20673 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20674 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20675 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20676 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20677 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20678 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20679 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20680 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20681 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20682 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20683 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20684 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20685 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20686 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20687 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20688 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20689 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20690 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20691 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20692 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20693 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20694 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20695 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20696 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20697 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20698 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20699 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20700 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20701 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20702 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20703 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20704 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20705 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20706 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20707 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20708 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20709 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20710 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20711 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20712 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20713 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20714 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20715 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20716 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20717 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20718 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20719 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20720 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20721 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20724 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20727 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20728 whole low double instead of just low 47 bits when splitting values
20731 2012-12-03 Allan McRae <allan@archlinux.org>
20733 * manual/stdio.texi (Predefined Printf Handlers): Remove
20734 @hsep and @vsep usage.
20736 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20738 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20739 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20741 2012-12-03 Jeff Law <law@redhat.com>
20743 * time/sys/time.h (settimeofday): Do not mark TV argument
20746 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20748 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20749 when currently writing and seek to current position when not.
20750 * libio/Makefile (tests): Remove bug-fclose1.
20751 * libio/bug-fclose1.c: Delete.
20753 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20755 * manual/arith.texi (feenableexcept): Fix typo.
20756 (fedisableexcept): Likewise.
20758 2012-11-30 Roland McGrath <roland@hack.frob.com>
20760 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20761 second, differently-typed declaration, rather than a cast.
20763 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20765 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20766 * include/rpc/svc.h: ... here.
20768 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20771 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20772 depending n and resplen2 to catch cases where answer
20775 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20777 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20778 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20780 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20782 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20784 2012-11-29 Roland McGrath <roland@hack.frob.com>
20786 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20788 2012-11-28 Jeff Law <law@redhat.com>
20791 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20792 dataset_temporary. Track alloca usage into alloca_used.
20793 If dataset is large allocate and release it via malloc/free.
20795 2012-06-04 Florian Weimer <fweimer@redhat.com>
20798 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20800 2012-11-28 David S. Miller <davem@davemloft.net>
20802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20804 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20807 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20808 of pi/2 rounded to nearest to 64 bits.
20809 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20810 nearest to 64 bits.
20811 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20814 2012-11-28 Jeff Law <law@redhat.com>
20815 Martin Osvald <mosvald@redhat.com>
20818 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20819 * sunrpc/svc.c: Include time.h.
20820 (__svc_accept_failed): New function.
20821 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20822 any reason other than EINTR, call __svc_accept_failed.
20823 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20824 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20826 2012-11-28 Andreas Schwab <schwab@suse.de>
20828 * scripts/abilist.awk: Also handle indirect functions in .opd
20831 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20834 * sysdeps/x86/fpu/powl_helper.c: New file.
20835 * sysdeps/x86/fpu/Makefile: Likewise.
20836 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20838 (__ieee754_powl): Use __powl_helper for finite arguments except
20839 integer exponents below 8.
20840 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20842 (__ieee754_powl): Use __powl_helper for finite arguments except
20843 integer exponents below 8.
20844 * math/libm-test.inc (pow_test): Add more tests and enable some
20845 previously disabled tests.
20846 * sysdeps/i386/fpu/libm-test-ulps: Update.
20847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20849 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20850 Carlos O'Donell <carlos_odonell@mentor.com>
20852 * nss/makedb.c (is_prime): Assert that input is odd and greater
20853 than 4. Note that fact in a comment too.
20854 (next_prime): Add 4 to input.
20856 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20859 * libio/Makefile (tests): Add test case tst-fwrite-error.
20860 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20861 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20862 * libio/tst-fwrite-error.c: New test case.
20864 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20866 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20867 before casting to void *.
20868 * include/libc-internal.h (__pointer_type): New macro.
20869 (__integer_if_pointer_type_sub): Likewise.
20870 (__integer_if_pointer_type): Likewise.
20871 (cast_to_integer): Likewise.
20872 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20873 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20874 before casting to atomic64_t.
20875 (atomic_exchange_acq): Likewise.
20876 (__arch_exchange_and_add_body): Likewise.
20877 (__arch_add_body): Likewise.
20878 (atomic_add_negative): Likewise.
20879 (atomic_add_zero): Likewise.
20881 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20883 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20884 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20885 (add_fdes): Likewise.
20886 (linear_search_fdes): Likewise.
20887 (binary_search_unencoded_fdes): Likewise.
20889 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20891 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20893 2012-11-24 Adam Conrad <adconrad@0c3.net>
20895 * configure.in: Autodetect C++ header directories.
20896 * configure: Regenerated.
20898 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20900 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20902 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20906 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20908 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20909 LDBL_MANT_DIG == 106]: Disable some tests.
20910 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20912 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20916 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20917 input for small inputs. Return +/- pi/2 for large inputs.
20918 * math/libm-test.inc (atan_test): Add more tests.
20920 * sysdeps/generic/unwind-dw2-fde-glibc.c
20921 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20922 __attribute__ ((unused)).
20925 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20926 x * y if x and y are nonzero and z is zero.
20929 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20930 nonzero exponents with absolute value below 0x1p-117 to +/-
20934 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20935 up arguments below 2**-450, not just those below 2**-500.
20936 * math/libm-test.inc (hypot_test): Add another test.
20939 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20940 Return a+b for ratio over 2**120, not 2**60.
20941 * math/libm-test.inc (hypot_test): Add another test.
20943 * math/libm-test.inc (clog_test): Use
20944 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20945 (clog10_test): Likewise.
20948 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20950 2012-11-22 Andreas Schwab <schwab@suse.de>
20952 * sysdeps/i386/fpu/libm-test-ulps: Update.
20954 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20956 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20957 printf output with newline.
20959 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20962 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20963 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20964 -z nodlopen, -z initfirst and -z execstack support.
20965 * configure: Regenerated.
20967 * elf/elf.h (DF_1_NODIRECT): New macro.
20968 (DF_1_IGNMULDEF): Likewise.
20969 (DF_1_NOKSYMS): Likewise.
20970 (DF_1_NOHDR): Likewise.
20971 (DF_1_EDITED): Likewise.
20972 (DF_1_NORELOC): Likewise.
20973 (DF_1_SYMINTPOSE): Likewise.
20974 (DF_1_GLOBAUDIT): Likewise.
20975 (DF_1_SINGLETON): Likewise.
20976 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20977 DT_1_SUPPORTED_MASK bits.
20978 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20980 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20982 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20984 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20986 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20989 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20990 (sendmmsg): Move declarations...
20991 * socket/sys/socket.h: ... here.
20992 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20993 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20995 * socket/recvmmsg.c: ... this new file.
20996 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20997 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20998 definition of __sendmmsg hidden.
20999 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21000 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21001 Move ENOSYS stub into and include it from...
21002 * socket/sendmmsg.c: ... this new file.
21003 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21004 (sysdep_routines): Move recvmmsg and sendmmsg...
21005 * socket/Makefile (routines): ... here.
21006 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21007 (GLIBC_PRIVATE): Add __sendmmsg.
21008 * include/sys/socket.h (__sendmmsg): Add declarations.
21009 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21012 2012-11-20 Joseph Myers <joseph@codesourcery.com>
21014 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21015 variable I1 with __attribute__ ((unused)).
21016 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21018 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21020 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21021 DUMMY variables with __attribute__ ((unused)).
21023 * bits/byteswap.h: Include <bits/types.h>.
21024 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21026 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21028 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21029 string_t. Do not manually set errno.
21030 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21031 length with __strnlen. Make sure to both set errno and return it on
21034 2012-11-19 David S. Miller <davem@davemloft.net>
21036 With help from Joseph Myers.
21037 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21038 very large arguments properly.
21039 * math/libm-test.inc (atan_test): New tests.
21040 (atan2_test): New tests.
21041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21044 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21047 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21050 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21051 [POSIX] (EADDRNOTAVAIL): Likewise.
21052 [POSIX] (EAFNOSUPPORT): Likewise.
21053 [POSIX] (EALREADY): Likewise.
21054 [POSIX] (ECONNABORTED): Likewise.
21055 [POSIX] (ECONNREFUSED): Likewise.
21056 [POSIX] (ECONNRESET): Likewise.
21057 [POSIX] (EDESTADDRREQ): Likewise.
21058 [POSIX] (EDQUOT): Likewise.
21059 [POSIX] (EHOSTUNREACH): Likewise.
21060 [POSIX] (EIDRM): Likewise.
21061 [POSIX] (EISCONN): Likewise.
21062 [POSIX] (ELOOP): Likewise.
21063 [POSIX] (EMULTIHOP): Likewise.
21064 [POSIX] (ENETDOWN): Likewise.
21065 [POSIX] (ENETUNREACH): Likewise.
21066 [POSIX] (ENOBUFS): Likewise.
21067 [POSIX] (ENODATA): Likewise.
21068 [POSIX] (ENOLINK): Likewise.
21069 [POSIX] (ENOMSG): Likewise.
21070 [POSIX] (ENOPROTOOPT): Likewise.
21071 [POSIX] (ENOSR): Likewise.
21072 [POSIX] (ENOSTR): Likewise.
21073 [POSIX] (ENOTCONN): Likewise.
21074 [POSIX] (ENOTSOCK): Likewise.
21075 [POSIX] (EOPNOTSUPP): Likewise.
21076 [POSIX] (EOVERFLOW): Likewise.
21077 [POSIX] (EPROTO): Likewise.
21078 [POSIX] (EPROTONOSUPPORT): Likewise.
21079 [POSIX] (EPROTOTYPE): Likewise.
21080 [POSIX] (ESTALE): Likewise.
21081 [POSIX] (ETIME): Likewise.
21082 [POSIX] (ETXTBSY): Likewise.
21083 [POSIX] (EWOULDBLOCK): Likewise.
21084 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21085 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21086 [POSIX] (SEEK_CUR): Likewise.
21087 [POSIX] (SEEK_END): Likewise.
21088 [POSIX || UNIX98] (mode_t): Do not require.
21089 [POSIX] (off_t): Likewise.
21090 [POSIX] (pid_t): Likewise.
21091 [POSIX] (sys/stat.h): Do not allow header.
21092 [POSIX] (unistd.h): Likewise.
21093 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21094 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21095 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21096 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21098 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21099 sigevent): Specify elements.
21100 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21102 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21103 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21105 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21106 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21107 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21108 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21109 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21110 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21111 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21112 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21113 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21114 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21115 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21116 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21117 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21118 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21120 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21122 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21124 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21126 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21127 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21128 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21129 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21130 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21131 Specify lower bound on value.
21132 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21133 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21134 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21135 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21136 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21137 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21138 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21139 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21141 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21143 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21144 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21145 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21146 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21147 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21148 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21149 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21150 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21151 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21152 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21153 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21154 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21155 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21156 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21157 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21158 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21160 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21162 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21163 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21164 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21165 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21166 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21167 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21169 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21170 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21171 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21172 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21173 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21174 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21175 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21177 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21178 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21179 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21180 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21181 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21182 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21183 specify as optional.
21184 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21185 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21186 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21187 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21188 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21189 [XPG3] (NL_LANGMAX): Likewise.
21190 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21191 [POSIX || XPG3] (NL_NMAX): Likewise.
21192 [POSIX || XPG3] (NL_SETMAX): Likewise.
21193 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21194 [XPG3] (NZERO): Likewise.
21195 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21196 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21197 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21198 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21199 (REG_ERANGE): Expect.
21200 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21202 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21203 Use (void) in prototype.
21204 [POSIX] (*_t): Allow.
21205 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21206 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21207 (WRDE_BADVAL): Expect.
21209 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21211 [XPG3 || XPG4] (O_RSYNC): Likewise.
21212 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21214 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21215 [XPG3 || XPG4] (sigqueue): Likewise.
21216 [XPG3 || XPG4] (sigtimedwait): Likewise.
21217 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21218 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21219 [XPG3 || XPG4] (vsnprintf): Likewise.
21220 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21222 [XPG3 || XPG4] (blksize_t): Likewise.
21223 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21225 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21226 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21227 [XPG3 || XPG4] (struct itimerspec): Likewise.
21228 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21229 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21230 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21231 [XPG3 || XPG4] (clockid_t): Likewise.
21232 [XPG3 || XPG4] (timer_t): Likewise.
21233 [XPG3 || XPG4] (clock_getres): Likewise.
21234 [XPG3 || XPG4] (clock_gettime): Likewise.
21235 [XPG3 || XPG4] (clock_settime): Likewise.
21236 [XPG3 || XPG4] (nanosleep): Likewise.
21237 [XPG3 || XPG4] (timer_create): Likewise.
21238 [XPG3 || XPG4] (timer_delete): Likewise.
21239 [XPG3 || XPG4] (timer_gettime): Likewise.
21240 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21241 [XPG3 || XPG4] (timer_settime): Likewise.
21242 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21243 [XPG3 || XPG4] (getlogin_r): Likewise.
21244 [XPG3 || XPG4] (pread): Likewise.
21245 [XPG3 || XPG4] (pthread_atfork): Likewise.
21246 [XPG3 || XPG4] (pwrite): Likewise.
21249 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21252 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21254 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21255 finalizing MALLSTREAM.
21257 * sysdeps/mach/hurd/syncfs.c: New file.
21259 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21262 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21263 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21264 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21265 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21266 (_nss_dns_gethostbyname4_r): Likewise.
21267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21268 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21270 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21273 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21275 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21277 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21278 * elf/cache.c (print_entry): Print ",AArch64" for
21281 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21282 * elf/cache.c (print_entry): Print ",hard-float" for
21285 2012-11-18 David S. Miller <davem@davemloft.net>
21287 With help from Joseph Myers.
21288 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21290 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21292 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21293 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21295 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21296 * math/libm-test.inc (y0_test): New tests.
21297 (y1_test): New tests.
21298 * sysdeps/i386/fpu/libm-test-ulps: Update.
21299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21302 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21304 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21306 * configure: Regenerated.
21308 2012-11-17 David S. Miller <davem@davemloft.net>
21311 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21312 nonzero exponents with absolute value below 0x1p-128 to +/-
21315 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21317 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21319 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21321 * posix/getconf-speclist.c: New file.
21322 * posix/posix-envs.def: Likewise.
21323 * posix/confstr.c (START_ENV_GROUP): New macro.
21324 (END_ENV_GROUP): Likewise.
21325 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21326 (KNOWN_PRESENT_ENV_STRING): Likewise.
21327 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21328 (UNKNOWN_ENVIRONMENT): Likewise.
21329 (confstr): Include posix-envs.def instead of handling
21330 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21331 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21332 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21333 (END_ENV_GROUP): Likewise.
21334 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21335 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21336 (UNKNOWN_ENVIRONMENT): Likewise.
21337 (__sysconf): Include posix-envs.def instead of handling associated
21338 cases directly here.
21339 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21340 preprocessing getconf-speclist.c rather than running getconf or
21341 generating empty file.
21343 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21345 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21347 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21350 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21352 2012-11-16 David S. Miller <davem@davemloft.net>
21354 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21355 smaller than LDBL_EPSILON/2.0L, just return xm1.
21357 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21359 * elf/tst-array1.c (init): Set constructor priority to 1000.
21360 (fini): Set destructor priority to 1000.
21361 * elf/tst-array2dep.c: Likewise.
21363 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21366 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21367 (_IO_new_file_xsputn): Also return EOF if none of the input
21368 data was written when overflow failed.
21369 * libio/iopadn.c (_IO_padn): Likewise.
21370 * libio/iowpadn.c (_IO_wpadn): Likewise.
21371 * stdio-common/tst-put-error.c: Add copyright notice.
21372 (do_test): Add case for printing padded string.
21373 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21374 _IO_padn returned error.
21375 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21376 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21379 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21381 * libio/libioP.h: Add comment note that the references to C++
21382 bits are now obsolete.
21384 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21386 * math/libm-test.inc (check_complex): Use asprintf.
21388 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21390 * debug/pcprofiledump.c (print_version): Update copyright year.
21391 * malloc/memusagestat.c (print_version): Likewise.
21393 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21396 * elf/Makefile (tests): Add tst-audit8.
21397 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21398 ($(objpfx)tst-audit8.out): New target.
21399 (tst-audit8-ENV): New variable.
21400 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21401 audit if l_reloc_result is NULL.
21402 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21403 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21404 * elf/tst-audit8.c: New file.
21406 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21408 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21409 * misc/Makefile (CFLAGS-select.c): Define.
21410 * posix/Makefile (CFLAGS-pause.c): Define.
21412 2012-11-13 David S. Miller <davem@davemloft.net>
21414 * crypt/Makefile: Move test targets after toplevel Rules
21415 inclusion. Grab any necessary sysdep routines when linking.
21416 * crypt/md5.c (md5_process_block): Remove define, we will always
21417 name it __md5_process_block.
21418 (md5_finish_ctx): Update md5_process_block call.
21419 (md5_stream): Likewise.
21420 (md5_process_bytes): Likewise.
21421 (md5_process_block): Rename to __md5_process_block and move to ...
21422 * crypt/md5-block.c: ... here.
21423 * crypt/sha256.c (sha256_process_block): Move to ...
21424 * crypt/sha256-block.c: ... here.
21425 * crypt/sha512.c (sha512_process_block): Move to ...
21426 * crypt/sha512-block.c: ... here.
21427 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21429 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21430 * sysdeps/sparc/sparc64/multiarch/Makefile
21431 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21433 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21434 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21436 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21437 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21438 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21439 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21440 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21441 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21442 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21443 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21444 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21446 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21447 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21449 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21451 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21453 * timezone/tzselect.ksh: Update from tzcode git revision
21454 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21455 * timezone/zdump.c: Likewise.
21456 * timezone/zic.c: Likewise.
21457 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21458 in TZVERSION setting, not $(PKGVERSION).
21459 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21460 REPORT_BUGS_TO settings.
21463 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21466 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21468 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21469 detection to immediately after _FP_ROUND().
21470 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21473 2012-11-11 David S. Miller <davem@davemloft.net>
21475 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21477 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21478 __close rather than their public counterparts.
21480 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21482 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21484 [UNIX98] (sem_timedwait): Do not expect.
21485 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21486 [XPG4 || UNIX98] (sockatmark): Do not expect.
21487 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21488 (clock_getcpuclockid): Do not expect.
21489 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21490 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21492 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21493 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21494 [UNIX98] (vwscanf): Likewise.
21495 [UNIX98] (vswscanf): Likewise.
21497 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21499 * timezone/version.h: Remove file.
21500 * timezone/README: Do not refer to version.h.
21501 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21502 $(objpfx)version.h.
21503 ($(objpfx)zdump.o): Likewise.
21504 ($(objpfx)version.h): New target.
21506 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21508 * timezone/README: Don't mention modification to tzselect.ksh.
21509 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21510 work on unmodified tzselect.ksh. Substitute version numbers in
21513 * Makefile (format-me): Remove.
21514 (INSTALL): Adjust indentation. Use commands directly instead of
21515 using $(format-me).
21517 * aclocal.m4 (ACX_PKGVERSION): New macro.
21518 (ACX_BUGURL): Likewise.
21519 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21520 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21521 (REPORT_BUGS_TO): Likewise.
21522 * configure: Regenerated.
21523 * config.h.in (PKGVERSION): New macro.
21524 (REPORT_BUGS_TO): Likewise.
21525 * config.make.in (PKGVERSION): New variable.
21526 (PKGVERSION_TEXI): Likewise.
21527 (REPORT_BUGS_TO): Likewise.
21528 (REPORT_BUGS_TEXI): Likewise.
21529 * Makefile (format-me): Use -I$(common-objpfx)manual.
21530 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21531 ($(common-objpfx)manual/%): New target.
21532 (manual/%): Remove target.
21533 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21534 (print_version): Use PKGVERSION.
21535 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21536 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21537 and REPORT_BUGS_TO.
21538 ($(objpfx)xtrace): Likewise.
21539 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21540 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21541 (print_version): Use PKGVERSION.
21542 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21543 (do_version): Use PKGVERSION.
21544 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21546 (common-ldd-rewrite): Likewise.
21547 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21548 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21549 (print_version): Use PKGVERSION.
21550 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21551 * elf/pldd.c (argp_program_bug_address): Remove variable.
21552 (more_help): New function.
21553 (argp): Use more_help.
21554 (print_version): Use PKGVERSION.
21555 * elf/sln.c (main): Use PKGVERSION.
21556 (usage): Use REPORT_BUGS_TO.
21557 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21558 (top level): Use PKGVERSION.
21559 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21560 (print_version): Use PKGVERSION.
21561 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21562 (print_version): Use PKGVERSION.
21563 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21564 (print_version): Use PKGVERSION.
21565 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21566 (print_version): Use PKGVERSION.
21567 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21568 (print_version): Use PKGVERSION.
21569 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21570 (print_version): Use PKGVERSION.
21571 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21573 ($(objpfx)memusage): Likewise.
21574 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21575 (do_version): Use PKGVERSION.
21576 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21577 (print_version): Use PKGVERSION.
21578 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21579 ($PKGVERSION): New variable.
21580 ($REPORT_BUGS_TO): Likewise.
21581 (usage): Use $REPORT_BUGS_TO.
21582 (top level): Use $PKGVERSION.
21583 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21584 ($(objpfx)pkgvers.texi): New rule.
21585 ($(objpfx)stamp-pkgvers): Likewise.
21586 * manual/install.texi: Include pkgvers.texi.
21587 (--with-pkgversion): Document new configure option.
21588 (--with-bugurl): Likewise.
21589 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21590 than necessarily for this particular distribution. Use
21591 REPORT_BUGS_TO for where to report bugs.
21592 * INSTALL: Regenerated.
21593 * manual/libc.texinfo: Include pkgvers.texi.
21594 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21595 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21596 (print_version): Use PKGVERSION.
21597 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21598 (print_version): Use PKGVERSION.
21599 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21600 (print_version): Use PKGVERSION.
21601 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21602 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21604 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21605 (print_version): Use PKGVERSION.
21606 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21607 (print_version): Use PKGVERSION.
21608 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21611 * timezone/checktab.awk: Update from tzcode 2012i.
21612 * timezone/ialloc.c: Likewise.
21613 * timezone/private.h: Likewise.
21614 * timezone/scheck.c: Likewise.
21615 * timezone/tzfile.h: Likewise.
21616 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21617 (TZVERSION): Hardcode tzcode version number.
21618 * timezone/zdump.c: Update from tzcode 2012i.
21619 * timezone/zic.c: Likewise.
21620 * timezone/version.h: New file.
21621 * timezone/README: Describe version.h. Update upstream location.
21624 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21625 (mktemp): Enable declaration.
21626 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21627 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21628 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21629 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21631 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21633 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21635 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21637 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21639 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21643 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21644 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21645 for copies of such integer values.
21646 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21647 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21649 2012-11-09 Andreas Jaeger <aj@suse.de>
21651 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21652 definitions and declarations that are provided by
21653 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21655 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21657 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21658 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21659 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21662 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21664 * elf/elf.h: Update comment before AArch64 relocations.
21666 2012-11-07 David S. Miller <davem@davemloft.net>
21668 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21669 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21670 (__start_context): Declare.
21671 (__makecontext_ret): Delete.
21672 (__makecontext): Hook up __start_context instead of
21674 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21675 (sysdep_routines): Add __start_context when in stdlib.
21677 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21679 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21680 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21681 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21683 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21684 (READELF): New variable. Use it instead of hardcoded "readelf".
21686 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21688 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21689 * sysdeps/x86/Makefile: Here.
21690 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21691 * sysdeps/x86/tst-xmmymm.sh: This.
21693 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21695 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21697 [UNIX98] (pthread_barrier_t): Do not expect.
21698 [UNIX98] (pthread_barrierattr_t): Likewise.
21699 [UNIX98] (pthread_spinlock_t): Likewise.
21700 [UNIX98] (pthread_barrier_destroy): Likewise.
21701 [UNIX98] (pthread_barrier_init): Likewise.
21702 [UNIX98] (pthread_barrier_wait): Likewise.
21703 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21704 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21705 [UNIX98] (pthread_barrierattr_init): Likewise.
21706 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21707 [UNIX98] (pthread_getcpuclockid): Likewise.
21708 [UNIX98] (pthread_mutex_timedlock): Likewise.
21709 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21710 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21711 [UNIX98] (pthread_sigmask): Likewise.
21712 [UNIX98] (pthread_spin_destroy): Likewise.
21713 [UNIX98] (pthread_spin_init): Likewise.
21714 [UNIX98] (pthread_spin_lock): Likewise.
21715 [UNIX98] (pthread_spin_trylock): Likewise.
21716 [UNIX98] (pthread_spin_unlock): Likewise.
21717 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21719 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21720 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21721 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21722 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21723 [XPG3 || XPG4] (pthread_key_t): Likewise.
21724 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21725 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21726 [XPG3 || XPG4] (pthread_once_t): Likewise.
21727 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21728 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21729 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21730 [XPG3 || XPG4] (pthread_t): Likewise.
21732 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21734 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21736 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21737 Change function return type to int.
21739 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21740 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21741 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21742 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21743 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21744 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21745 [!POSIX] (posix_madvise): Likewise.
21746 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21748 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21749 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21750 (mode_t): Likewise.
21751 (posix_mem_offset): Likewise.
21752 (posix_typed_mem_get_info): Likewise.
21753 (posix_typed_mem_open): Likewise.
21755 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21756 Change condition to [XOPEN2K8].
21758 * conform/conformtest.pl: Preprocess allow-header data with -x c
21759 instead of from stdin.
21760 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21761 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21762 [C99-based standards] (cerfc): Likewise.
21763 [C99-based standards] (cexp2): Likewise.
21764 [C99-based standards] (cexpm1): Likewise.
21765 [C99-based standards] (clog10): Likewise.
21766 [C99-based standards] (clog1p): Likewise.
21767 [C99-based standards] (clog2): Likewise.
21768 [C99-based standards] (clgamma): Likewise.
21769 [C99-based standards] (ctgamma): Likewise.
21770 [C99-based standards] (cerff): Likewise.
21771 [C99-based standards] (cerfcf): Likewise.
21772 [C99-based standards] (cexp2f): Likewise.
21773 [C99-based standards] (cexpm1f): Likewise.
21774 [C99-based standards] (clog10f): Likewise.
21775 [C99-based standards] (clog1pf): Likewise.
21776 [C99-based standards] (clog2f): Likewise.
21777 [C99-based standards] (clgammaf): Likewise.
21778 [C99-based standards] (ctgammaf): Likewise.
21779 [C99-based standards] (cerfl): Likewise.
21780 [C99-based standards] (cerfcl): Likewise.
21781 [C99-based standards] (cexp2l): Likewise.
21782 [C99-based standards] (cexpm1l): Likewise.
21783 [C99-based standards] (clog10l): Likewise.
21784 [C99-based standards] (clog1pl): Likewise.
21785 [C99-based standards] (clog2l): Likewise.
21786 [C99-based standards] (clgammal): Likewise.
21787 [C99-based standards] (ctgammal): Likewise.
21788 * conform/data/inttypes.h-data [C99-based standards]: Include
21789 stdint.h-data. Remove all expectations for stdint.h contents.
21790 [C99-based standards] (PRI*): Do not allow.
21791 [C99-based standards] (SCN*): Likewise.
21792 [C99-based standards] (*_t): Likewise.
21793 [C99-based-standards] (PRId8): Expect macro.
21794 [C99-based-standards] (PRIi8): Likewise.
21795 [C99-based-standards] (PRIo8): Likewise.
21796 [C99-based-standards] (PRIu8): Likewise.
21797 [C99-based-standards] (PRIx8): Likewise.
21798 [C99-based-standards] (PRIX8): Likewise.
21799 [C99-based-standards] (SCNd8): Likewise.
21800 [C99-based-standards] (SCNi8): Likewise.
21801 [C99-based-standards] (SCNo8): Likewise.
21802 [C99-based-standards] (SCNu8): Likewise.
21803 [C99-based-standards] (SCNx8): Likewise.
21804 [C99-based-standards] (PRIdLEAST8): Likewise.
21805 [C99-based-standards] (PRIiLEAST8): Likewise.
21806 [C99-based-standards] (PRIoLEAST8): Likewise.
21807 [C99-based-standards] (PRIuLEAST8): Likewise.
21808 [C99-based-standards] (PRIxLEAST8): Likewise.
21809 [C99-based-standards] (PRIXLEAST8): Likewise.
21810 [C99-based-standards] (SCNdLEAST8): Likewise.
21811 [C99-based-standards] (SCNiLEAST8): Likewise.
21812 [C99-based-standards] (SCNoLEAST8): Likewise.
21813 [C99-based-standards] (SCNuLEAST8): Likewise.
21814 [C99-based-standards] (SCNxLEAST8): Likewise.
21815 [C99-based-standards] (PRIdFAST8): Likewise.
21816 [C99-based-standards] (PRIiFAST8): Likewise.
21817 [C99-based-standards] (PRIoFAST8): Likewise.
21818 [C99-based-standards] (PRIuFAST8): Likewise.
21819 [C99-based-standards] (PRIxFAST8): Likewise.
21820 [C99-based-standards] (PRIXFAST8): Likewise.
21821 [C99-based-standards] (SCNdFAST8): Likewise.
21822 [C99-based-standards] (SCNiFAST8): Likewise.
21823 [C99-based-standards] (SCNoFAST8): Likewise.
21824 [C99-based-standards] (SCNuFAST8): Likewise.
21825 [C99-based-standards] (SCNxFAST8): Likewise.
21826 [C99-based-standards] (PRId16): Likewise.
21827 [C99-based-standards] (PRIi16): Likewise.
21828 [C99-based-standards] (PRIo16): Likewise.
21829 [C99-based-standards] (PRIu16): Likewise.
21830 [C99-based-standards] (PRIx16): Likewise.
21831 [C99-based-standards] (PRIX16): Likewise.
21832 [C99-based-standards] (SCNd16): Likewise.
21833 [C99-based-standards] (SCNi16): Likewise.
21834 [C99-based-standards] (SCNo16): Likewise.
21835 [C99-based-standards] (SCNu16): Likewise.
21836 [C99-based-standards] (SCNx16): Likewise.
21837 [C99-based-standards] (PRIdLEAST16): Likewise.
21838 [C99-based-standards] (PRIiLEAST16): Likewise.
21839 [C99-based-standards] (PRIoLEAST16): Likewise.
21840 [C99-based-standards] (PRIuLEAST16): Likewise.
21841 [C99-based-standards] (PRIxLEAST16): Likewise.
21842 [C99-based-standards] (PRIXLEAST16): Likewise.
21843 [C99-based-standards] (SCNdLEAST16): Likewise.
21844 [C99-based-standards] (SCNiLEAST16): Likewise.
21845 [C99-based-standards] (SCNoLEAST16): Likewise.
21846 [C99-based-standards] (SCNuLEAST16): Likewise.
21847 [C99-based-standards] (SCNxLEAST16): Likewise.
21848 [C99-based-standards] (PRIdFAST16): Likewise.
21849 [C99-based-standards] (PRIiFAST16): Likewise.
21850 [C99-based-standards] (PRIoFAST16): Likewise.
21851 [C99-based-standards] (PRIuFAST16): Likewise.
21852 [C99-based-standards] (PRIxFAST16): Likewise.
21853 [C99-based-standards] (PRIXFAST16): Likewise.
21854 [C99-based-standards] (SCNdFAST16): Likewise.
21855 [C99-based-standards] (SCNiFAST16): Likewise.
21856 [C99-based-standards] (SCNoFAST16): Likewise.
21857 [C99-based-standards] (SCNuFAST16): Likewise.
21858 [C99-based-standards] (SCNxFAST16): Likewise.
21859 [C99-based-standards] (PRId32): Likewise.
21860 [C99-based-standards] (PRIi32): Likewise.
21861 [C99-based-standards] (PRIo32): Likewise.
21862 [C99-based-standards] (PRIu32): Likewise.
21863 [C99-based-standards] (PRIx32): Likewise.
21864 [C99-based-standards] (PRIX32): Likewise.
21865 [C99-based-standards] (SCNd32): Likewise.
21866 [C99-based-standards] (SCNi32): Likewise.
21867 [C99-based-standards] (SCNo32): Likewise.
21868 [C99-based-standards] (SCNu32): Likewise.
21869 [C99-based-standards] (SCNx32): Likewise.
21870 [C99-based-standards] (PRIdLEAST32): Likewise.
21871 [C99-based-standards] (PRIiLEAST32): Likewise.
21872 [C99-based-standards] (PRIoLEAST32): Likewise.
21873 [C99-based-standards] (PRIuLEAST32): Likewise.
21874 [C99-based-standards] (PRIxLEAST32): Likewise.
21875 [C99-based-standards] (PRIXLEAST32): Likewise.
21876 [C99-based-standards] (SCNdLEAST32): Likewise.
21877 [C99-based-standards] (SCNiLEAST32): Likewise.
21878 [C99-based-standards] (SCNoLEAST32): Likewise.
21879 [C99-based-standards] (SCNuLEAST32): Likewise.
21880 [C99-based-standards] (SCNxLEAST32): Likewise.
21881 [C99-based-standards] (PRIdFAST32): Likewise.
21882 [C99-based-standards] (PRIiFAST32): Likewise.
21883 [C99-based-standards] (PRIoFAST32): Likewise.
21884 [C99-based-standards] (PRIuFAST32): Likewise.
21885 [C99-based-standards] (PRIxFAST32): Likewise.
21886 [C99-based-standards] (PRIXFAST32): Likewise.
21887 [C99-based-standards] (SCNdFAST32): Likewise.
21888 [C99-based-standards] (SCNiFAST32): Likewise.
21889 [C99-based-standards] (SCNoFAST32): Likewise.
21890 [C99-based-standards] (SCNuFAST32): Likewise.
21891 [C99-based-standards] (SCNxFAST32): Likewise.
21892 [C99-based-standards] (PRId64): Likewise.
21893 [C99-based-standards] (PRIi64): Likewise.
21894 [C99-based-standards] (PRIo64): Likewise.
21895 [C99-based-standards] (PRIu64): Likewise.
21896 [C99-based-standards] (PRIx64): Likewise.
21897 [C99-based-standards] (PRIX64): Likewise.
21898 [C99-based-standards] (SCNd64): Likewise.
21899 [C99-based-standards] (SCNi64): Likewise.
21900 [C99-based-standards] (SCNo64): Likewise.
21901 [C99-based-standards] (SCNu64): Likewise.
21902 [C99-based-standards] (SCNx64): Likewise.
21903 [C99-based-standards] (PRIdLEAST64): Likewise.
21904 [C99-based-standards] (PRIiLEAST64): Likewise.
21905 [C99-based-standards] (PRIoLEAST64): Likewise.
21906 [C99-based-standards] (PRIuLEAST64): Likewise.
21907 [C99-based-standards] (PRIxLEAST64): Likewise.
21908 [C99-based-standards] (PRIXLEAST64): Likewise.
21909 [C99-based-standards] (SCNdLEAST64): Likewise.
21910 [C99-based-standards] (SCNiLEAST64): Likewise.
21911 [C99-based-standards] (SCNoLEAST64): Likewise.
21912 [C99-based-standards] (SCNuLEAST64): Likewise.
21913 [C99-based-standards] (SCNxLEAST64): Likewise.
21914 [C99-based-standards] (PRIdFAST64): Likewise.
21915 [C99-based-standards] (PRIiFAST64): Likewise.
21916 [C99-based-standards] (PRIoFAST64): Likewise.
21917 [C99-based-standards] (PRIuFAST64): Likewise.
21918 [C99-based-standards] (PRIxFAST64): Likewise.
21919 [C99-based-standards] (PRIXFAST64): Likewise.
21920 [C99-based-standards] (SCNdFAST64): Likewise.
21921 [C99-based-standards] (SCNiFAST64): Likewise.
21922 [C99-based-standards] (SCNoFAST64): Likewise.
21923 [C99-based-standards] (SCNuFAST64): Likewise.
21924 [C99-based-standards] (SCNxFAST64): Likewise.
21925 [C99-based-standards] (PRIdMAX): Likewise.
21926 [C99-based-standards] (PRIiMAX): Likewise.
21927 [C99-based-standards] (PRIoMAX): Likewise.
21928 [C99-based-standards] (PRIuMAX): Likewise.
21929 [C99-based-standards] (PRIxMAX): Likewise.
21930 [C99-based-standards] (PRIXMAX): Likewise.
21931 [C99-based-standards] (SCNdMAX): Likewise.
21932 [C99-based-standards] (SCNiMAX): Likewise.
21933 [C99-based-standards] (SCNoMAX): Likewise.
21934 [C99-based-standards] (SCNuMAX): Likewise.
21935 [C99-based-standards] (SCNxMAX): Likewise.
21936 [C99-based-standards] (PRIdPTR): Likewise.
21937 [C99-based-standards] (PRIiPTR): Likewise.
21938 [C99-based-standards] (PRIoPTR): Likewise.
21939 [C99-based-standards] (PRIuPTR): Likewise.
21940 [C99-based-standards] (PRIxPTR): Likewise.
21941 [C99-based-standards] (PRIXPTR): Likewise.
21942 [C99-based-standards] (SCNdPTR): Likewise.
21943 [C99-based-standards] (SCNiPTR): Likewise.
21944 [C99-based-standards] (SCNoPTR): Likewise.
21945 [C99-based-standards] (SCNuPTR): Likewise.
21946 [C99-based-standards] (SCNxPTR): Likewise.
21947 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21949 * conform/data/stdint.h-data: Update comments to clarify
21951 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21953 [C99-based standards] (INT8_MAX): Likewise.
21954 [C99-based standards] (INT16_MIN): Likewise.
21955 [C99-based standards] (INT16_MAX): Likewise.
21956 [C99-based standards] (INT32_MIN): Likewise.
21957 [C99-based standards] (INT32_MAX): Likewise.
21958 [C99-based standards] (INT64_MIN): Likewise.
21959 [C99-based standards] (INT64_MAX): Likewise.
21960 [C99-based standards] (UINT8_MAX): Likewise.
21961 [C99-based standards] (UINT16_MAX): Likewise.
21962 [C99-based standards] (UINT32_MAX): Likewise.
21963 [C99-based standards] (UINT64_MAX): Likewise.
21964 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21965 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21966 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21967 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21968 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21969 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21970 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21971 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21972 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21973 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21974 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21975 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21976 [C99-based standards] (INT_FAST8_MIN): Likewise.
21977 [C99-based standards] (INT_FAST8_MAX): Likewise.
21978 [C99-based standards] (INT_FAST16_MIN): Likewise.
21979 [C99-based standards] (INT_FAST16_MAX): Likewise.
21980 [C99-based standards] (INT_FAST32_MIN): Likewise.
21981 [C99-based standards] (INT_FAST32_MAX): Likewise.
21982 [C99-based standards] (INT_FAST64_MIN): Likewise.
21983 [C99-based standards] (INT_FAST64_MAX): Likewise.
21984 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21985 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21986 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21987 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21988 [C99-based standards] (INTPTR_MIN): Likewise.
21989 [C99-based standards] (INTPTR_MAX): Likewise.
21990 [C99-based standards] (UINTPTR_MAX): Likewise.
21991 [C99-based standards] (INTMAX_MIN): Likewise.
21992 [C99-based standards] (INTMAX_MAX): Likewise.
21993 [C99-based standards] (UINTMAX_MAX): Likewise.
21994 [C99-based standards] (PTRDIFF_MIN): Likewise.
21995 [C99-based standards] (PTRDIFF_MAX): Likewise.
21996 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21997 [C99-based standards] (SIZE_MAX): Likewise.
21998 [C99-based standards] (WCHAR_MAX): Likewise.
21999 [C99-based standards] (WINT_MAX): Likewise.
22000 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22001 constraint on value.
22002 [C99-based standards] (WCHAR_MIN): Likewise.
22003 [C99-based standards] (WINT_MIN): Likewise.
22004 [C99-based standards] (*_t): Allow.
22005 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22006 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22007 Include math.h-data and complex.h-data. Remove all expectations
22008 of math.h and complex.h contents.
22009 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22011 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22012 (struct tm): Expect tag.
22013 [C99-based-standards] (wcstof): Expect function.
22014 [C99-based-standards] (wcstold): Likewise.
22015 [C99-based-standards] (wcstoll): Likewise.
22016 [C99-based-standards] (wcstoull): Likewise.
22017 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22018 macro-int-constant. Specify type.
22019 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22020 constraint on value.
22021 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22023 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22025 [ISO C standards]: Do not allow headers.
22026 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22027 wcs[abcdefghijklmnopqrstuvwxyz]*.
22028 [ISO C standards] (*_t): Do not allow.
22029 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22031 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22032 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22034 [ISO C standards]: Do not allow headers.
22035 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22036 is[abcdefghijklmnopqrstuvwxyz]*.
22037 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22038 to[abcdefghijklmnopqrstuvwxyz]*.
22039 [ISO C standards] (*_t): Do not allow.
22040 * conform/data/stdalign.h-data: New file.
22041 * conform/data/stdbool.h-data: Likewise.
22042 * conform/data/stdnoreturn.h-data: Likewise.
22044 2012-11-07 Roland McGrath <roland@hack.frob.com>
22047 * manual/filesys.texi (Directory Entries): Typo fix.
22048 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22050 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22052 * elf/elf.h (EM_AARCH64): New macro.
22053 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22054 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22055 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22056 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22057 (R_AARCH64_TLSDESC): Likewise.
22058 (NT_ARM_TLS): Likewise.
22059 (NT_ARM_HW_BREAK): Likewise.
22060 (NT_ARM_HW_WATCH): Likewise.
22062 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22065 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22066 (__ieee754_powl): Saturate nonzero exponents with absolute value
22067 below 0x1p-79 to +/- 0x1p-79.
22068 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22069 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22070 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22071 nonzero exponents with absolute value below 0x1p-32 to +/-
22073 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22074 (__ieee754_powl): Saturate nonzero exponents with absolute value
22075 below 0x1p-79 to +/- 0x1p-79.
22076 * math/libm-test.inc (pow_test): Add more tests.
22078 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22080 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22081 _dl_s390_cap_flags with kernel. Increase string length.
22082 (_dl_s390_platforms): Add z196 and zEC12.
22084 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22086 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22087 Change XOPEN21K to XOPEN2K.
22089 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22091 * string/memmove.c: Use memcpy when possible.
22093 2012-11-06 Andreas Jaeger <aj@suse.de>
22095 * po/eo.po: Update from translation team.
22097 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22101 exponent and small x and y exponents, scale x or y up. Increase
22102 by 2 the exponent used in scaling up.
22103 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22104 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22105 * math/libm-test.inc (fma_test): Add more tests.
22106 (fma_test_towardzero): Likewise.
22107 (fma_test_downward): Likewise.
22108 (fma_test_upward): Likewise.
22110 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22113 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22117 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22118 namespace for names of struct fields.
22119 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22121 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22122 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22124 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22127 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22129 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22131 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22135 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22138 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22142 definitely overflow as x * y not x * y + z.
22143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22145 * math/libm-test.inc (fma_test): Add more tests.
22146 (fma_test_towardzero): Likewise.
22147 (fma_test_downward): Likewise.
22148 (fma_test_upward): Likewise.
22150 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22154 * include/stub-tag.h: Remove file.
22155 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22157 * manual/maint.texi (Porting): Don't reference it.
22158 * Makerules ($(objpfx)stubs): Likewise.
22159 * dirent/closedir.c: Don't include <stub-tag.h>.
22160 * dirent/dirfd.c: Likewise.
22161 * dirent/fdopendir.c: Likewise.
22162 * dirent/getdents.c: Likewise.
22163 * dirent/getdents64.c: Likewise.
22164 * dirent/opendir.c: Likewise.
22165 * dirent/readdir.c: Likewise.
22166 * dirent/readdir64.c: Likewise.
22167 * dirent/readdir64_r.c: Likewise.
22168 * dirent/readdir_r.c: Likewise.
22169 * dirent/rewinddir.c: Likewise.
22170 * dirent/seekdir.c: Likewise.
22171 * dirent/telldir.c: Likewise.
22172 * gmon/profil.c: Likewise.
22173 * grp/setgroups.c: Likewise.
22174 * inet/if_index.c: Likewise.
22175 * io/access.c: Likewise.
22176 * io/chdir.c: Likewise.
22177 * io/chmod.c: Likewise.
22178 * io/chown.c: Likewise.
22179 * io/close.c: Likewise.
22180 * io/dup.c: Likewise.
22181 * io/dup2.c: Likewise.
22182 * io/dup3.c: Likewise.
22183 * io/euidaccess.c: Likewise.
22184 * io/faccessat.c: Likewise.
22185 * io/fchdir.c: Likewise.
22186 * io/fchmod.c: Likewise.
22187 * io/fchmodat.c: Likewise.
22188 * io/fchown.c: Likewise.
22189 * io/fchownat.c: Likewise.
22190 * io/fcntl.c: Likewise.
22191 * io/flock.c: Likewise.
22192 * io/fstatfs.c: Likewise.
22193 * io/fstatfs64.c: Likewise.
22194 * io/fstatvfs.c: Likewise.
22195 * io/fstatvfs64.c: Likewise.
22196 * io/futimens.c: Likewise.
22197 * io/fxstat.c: Likewise.
22198 * io/fxstat64.c: Likewise.
22199 * io/fxstatat.c: Likewise.
22200 * io/fxstatat64.c: Likewise.
22201 * io/getcwd.c: Likewise.
22202 * io/isatty.c: Likewise.
22203 * io/lchmod.c: Likewise.
22204 * io/lchown.c: Likewise.
22205 * io/link.c: Likewise.
22206 * io/linkat.c: Likewise.
22207 * io/lseek.c: Likewise.
22208 * io/lseek64.c: Likewise.
22209 * io/lxstat64.c: Likewise.
22210 * io/mkdir.c: Likewise.
22211 * io/mkdirat.c: Likewise.
22212 * io/mkfifo.c: Likewise.
22213 * io/mkfifoat.c: Likewise.
22214 * io/open.c: Likewise.
22215 * io/open64.c: Likewise.
22216 * io/openat.c: Likewise.
22217 * io/openat64.c: Likewise.
22218 * io/pipe.c: Likewise.
22219 * io/pipe2.c: Likewise.
22220 * io/poll.c: Likewise.
22221 * io/posix_fadvise.c: Likewise.
22222 * io/posix_fadvise64.c: Likewise.
22223 * io/posix_fallocate.c: Likewise.
22224 * io/posix_fallocate64.c: Likewise.
22225 * io/read.c: Likewise.
22226 * io/readlink.c: Likewise.
22227 * io/readlinkat.c: Likewise.
22228 * io/rmdir.c: Likewise.
22229 * io/sendfile.c: Likewise.
22230 * io/sendfile64.c: Likewise.
22231 * io/statfs.c: Likewise.
22232 * io/statfs64.c: Likewise.
22233 * io/statvfs.c: Likewise.
22234 * io/statvfs64.c: Likewise.
22235 * io/symlink.c: Likewise.
22236 * io/symlinkat.c: Likewise.
22237 * io/ttyname.c: Likewise.
22238 * io/ttyname_r.c: Likewise.
22239 * io/umask.c: Likewise.
22240 * io/unlink.c: Likewise.
22241 * io/unlinkat.c: Likewise.
22242 * io/utime.c: Likewise.
22243 * io/utimensat.c: Likewise.
22244 * io/write.c: Likewise.
22245 * io/xmknod.c: Likewise.
22246 * io/xmknodat.c: Likewise.
22247 * io/xstat.c: Likewise.
22248 * io/xstat64.c: Likewise.
22249 * login/getpt.c: Likewise.
22250 * login/grantpt.c: Likewise.
22251 * login/unlockpt.c: Likewise.
22252 * math/e_acoshl.c: Likewise.
22253 * math/e_acosl.c: Likewise.
22254 * math/e_asinl.c: Likewise.
22255 * math/e_atan2l.c: Likewise.
22256 * math/e_atanhl.c: Likewise.
22257 * math/e_coshl.c: Likewise.
22258 * math/e_expl.c: Likewise.
22259 * math/e_fmodl.c: Likewise.
22260 * math/e_gammal_r.c: Likewise.
22261 * math/e_hypotl.c: Likewise.
22262 * math/e_j0l.c: Likewise.
22263 * math/e_j1l.c: Likewise.
22264 * math/e_jnl.c: Likewise.
22265 * math/e_lgammal_r.c: Likewise.
22266 * math/e_log10l.c: Likewise.
22267 * math/e_log2l.c: Likewise.
22268 * math/e_logl.c: Likewise.
22269 * math/e_powl.c: Likewise.
22270 * math/e_rem_pio2l.c: Likewise.
22271 * math/e_sinhl.c: Likewise.
22272 * math/e_sqrtl.c: Likewise.
22273 * math/fclrexcpt.c: Likewise.
22274 * math/fedisblxcpt.c: Likewise.
22275 * math/feenablxcpt.c: Likewise.
22276 * math/fegetenv.c: Likewise.
22277 * math/fegetexcept.c: Likewise.
22278 * math/fegetround.c: Likewise.
22279 * math/feholdexcpt.c: Likewise.
22280 * math/fesetenv.c: Likewise.
22281 * math/fesetround.c: Likewise.
22282 * math/feupdateenv.c: Likewise.
22283 * math/fgetexcptflg.c: Likewise.
22284 * math/fraiseexcpt.c: Likewise.
22285 * math/fsetexcptflg.c: Likewise.
22286 * math/ftestexcept.c: Likewise.
22287 * math/k_cosl.c: Likewise.
22288 * math/k_rem_pio2l.c: Likewise.
22289 * math/k_sinl.c: Likewise.
22290 * math/k_tanl.c: Likewise.
22291 * math/s_asinhl.c: Likewise.
22292 * math/s_atanl.c: Likewise.
22293 * math/s_cbrtl.c: Likewise.
22294 * math/s_erfl.c: Likewise.
22295 * math/s_expm1l.c: Likewise.
22296 * math/s_log1pl.c: Likewise.
22297 * math/s_tanhl.c: Likewise.
22298 * misc/acct.c: Likewise.
22299 * misc/brk.c: Likewise.
22300 * misc/chflags.c: Likewise.
22301 * misc/chroot.c: Likewise.
22302 * misc/fchflags.c: Likewise.
22303 * misc/fgetxattr.c: Likewise.
22304 * misc/flistxattr.c: Likewise.
22305 * misc/fremovexattr.c: Likewise.
22306 * misc/fsetxattr.c: Likewise.
22307 * misc/fsync.c: Likewise.
22308 * misc/ftruncate.c: Likewise.
22309 * misc/futimes.c: Likewise.
22310 * misc/futimesat.c: Likewise.
22311 * misc/getdomain.c: Likewise.
22312 * misc/getdtsz.c: Likewise.
22313 * misc/gethostid.c: Likewise.
22314 * misc/gethostname.c: Likewise.
22315 * misc/getloadavg.c: Likewise.
22316 * misc/getpagesize.c: Likewise.
22317 * misc/getsysstats.c: Likewise.
22318 * misc/getxattr.c: Likewise.
22319 * misc/gtty.c: Likewise.
22320 * misc/ioctl.c: Likewise.
22321 * misc/lgetxattr.c: Likewise.
22322 * misc/listxattr.c: Likewise.
22323 * misc/llistxattr.c: Likewise.
22324 * misc/lremovexattr.c: Likewise.
22325 * misc/lsetxattr.c: Likewise.
22326 * misc/lutimes.c: Likewise.
22327 * misc/madvise.c: Likewise.
22328 * misc/mincore.c: Likewise.
22329 * misc/mlock.c: Likewise.
22330 * misc/mlockall.c: Likewise.
22331 * misc/mmap.c: Likewise.
22332 * misc/mprotect.c: Likewise.
22333 * misc/msync.c: Likewise.
22334 * misc/munlock.c: Likewise.
22335 * misc/munlockall.c: Likewise.
22336 * misc/munmap.c: Likewise.
22337 * misc/preadv.c: Likewise.
22338 * misc/preadv64.c: Likewise.
22339 * misc/ptrace.c: Likewise.
22340 * misc/pwritev.c: Likewise.
22341 * misc/pwritev64.c: Likewise.
22342 * misc/readv.c: Likewise.
22343 * misc/reboot.c: Likewise.
22344 * misc/remap_file_pages.c: Likewise.
22345 * misc/removexattr.c: Likewise.
22346 * misc/revoke.c: Likewise.
22347 * misc/select.c: Likewise.
22348 * misc/setdomain.c: Likewise.
22349 * misc/setegid.c: Likewise.
22350 * misc/seteuid.c: Likewise.
22351 * misc/sethostid.c: Likewise.
22352 * misc/sethostname.c: Likewise.
22353 * misc/setregid.c: Likewise.
22354 * misc/setreuid.c: Likewise.
22355 * misc/setxattr.c: Likewise.
22356 * misc/sstk.c: Likewise.
22357 * misc/stty.c: Likewise.
22358 * misc/swapoff.c: Likewise.
22359 * misc/swapon.c: Likewise.
22360 * misc/sync.c: Likewise.
22361 * misc/syncfs.c: Likewise.
22362 * misc/syscall.c: Likewise.
22363 * misc/truncate.c: Likewise.
22364 * misc/ualarm.c: Likewise.
22365 * misc/usleep.c: Likewise.
22366 * misc/ustat.c: Likewise.
22367 * misc/utimes.c: Likewise.
22368 * misc/vhangup.c: Likewise.
22369 * misc/writev.c: Likewise.
22370 * posix/_exit.c: Likewise.
22371 * posix/alarm.c: Likewise.
22372 * posix/execve.c: Likewise.
22373 * posix/fexecve.c: Likewise.
22374 * posix/fork.c: Likewise.
22375 * posix/fpathconf.c: Likewise.
22376 * posix/getaddrinfo.c: Likewise.
22377 * posix/getegid.c: Likewise.
22378 * posix/geteuid.c: Likewise.
22379 * posix/getgid.c: Likewise.
22380 * posix/getgroups.c: Likewise.
22381 * posix/getlogin.c: Likewise.
22382 * posix/getlogin_r.c: Likewise.
22383 * posix/getpgid.c: Likewise.
22384 * posix/getpid.c: Likewise.
22385 * posix/getppid.c: Likewise.
22386 * posix/getresgid.c: Likewise.
22387 * posix/getresuid.c: Likewise.
22388 * posix/getsid.c: Likewise.
22389 * posix/getuid.c: Likewise.
22390 * posix/glob64.c: Likewise.
22391 * posix/nanosleep.c: Likewise.
22392 * posix/pathconf.c: Likewise.
22393 * posix/pause.c: Likewise.
22394 * posix/posix_madvise.c: Likewise.
22395 * posix/pread.c: Likewise.
22396 * posix/pread64.c: Likewise.
22397 * posix/pwrite.c: Likewise.
22398 * posix/pwrite64.c: Likewise.
22399 * posix/sched_getaffinity.c: Likewise.
22400 * posix/sched_getp.c: Likewise.
22401 * posix/sched_gets.c: Likewise.
22402 * posix/sched_primax.c: Likewise.
22403 * posix/sched_primin.c: Likewise.
22404 * posix/sched_rr_gi.c: Likewise.
22405 * posix/sched_setaffinity.c: Likewise.
22406 * posix/sched_setp.c: Likewise.
22407 * posix/sched_sets.c: Likewise.
22408 * posix/sched_yield.c: Likewise.
22409 * posix/setgid.c: Likewise.
22410 * posix/setlogin.c: Likewise.
22411 * posix/setpgid.c: Likewise.
22412 * posix/setresgid.c: Likewise.
22413 * posix/setresuid.c: Likewise.
22414 * posix/setsid.c: Likewise.
22415 * posix/setuid.c: Likewise.
22416 * posix/sleep.c: Likewise.
22417 * posix/spawni.c: Likewise.
22418 * posix/sysconf.c: Likewise.
22419 * posix/times.c: Likewise.
22420 * posix/wait.c: Likewise.
22421 * posix/wait3.c: Likewise.
22422 * posix/wait4.c: Likewise.
22423 * posix/waitpid.c: Likewise.
22424 * resolv/gai_sigqueue.c: Likewise.
22425 * resource/getpriority.c: Likewise.
22426 * resource/getrlimit.c: Likewise.
22427 * resource/getrusage.c: Likewise.
22428 * resource/nice.c: Likewise.
22429 * resource/setpriority.c: Likewise.
22430 * resource/setrlimit.c: Likewise.
22431 * resource/ulimit.c: Likewise.
22432 * rt/aio_cancel.c: Likewise.
22433 * rt/aio_fsync.c: Likewise.
22434 * rt/aio_read.c: Likewise.
22435 * rt/aio_sigqueue.c: Likewise.
22436 * rt/aio_suspend.c: Likewise.
22437 * rt/aio_write.c: Likewise.
22438 * rt/clock_getres.c: Likewise.
22439 * rt/clock_gettime.c: Likewise.
22440 * rt/clock_nanosleep.c: Likewise.
22441 * rt/clock_settime.c: Likewise.
22442 * rt/lio_listio.c: Likewise.
22443 * rt/mq_close.c: Likewise.
22444 * rt/mq_getattr.c: Likewise.
22445 * rt/mq_notify.c: Likewise.
22446 * rt/mq_open.c: Likewise.
22447 * rt/mq_receive.c: Likewise.
22448 * rt/mq_send.c: Likewise.
22449 * rt/mq_setattr.c: Likewise.
22450 * rt/mq_timedreceive.c: Likewise.
22451 * rt/mq_timedsend.c: Likewise.
22452 * rt/mq_unlink.c: Likewise.
22453 * rt/shm_open.c: Likewise.
22454 * rt/shm_unlink.c: Likewise.
22455 * rt/timer_create.c: Likewise.
22456 * rt/timer_delete.c: Likewise.
22457 * rt/timer_getoverr.c: Likewise.
22458 * rt/timer_gettime.c: Likewise.
22459 * rt/timer_settime.c: Likewise.
22460 * setjmp/__longjmp.c: Likewise.
22461 * setjmp/setjmp.c: Likewise.
22462 * signal/kill.c: Likewise.
22463 * signal/killpg.c: Likewise.
22464 * signal/raise.c: Likewise.
22465 * signal/sigaction.c: Likewise.
22466 * signal/sigaltstack.c: Likewise.
22467 * signal/sigblock.c: Likewise.
22468 * signal/sigignore.c: Likewise.
22469 * signal/sigintr.c: Likewise.
22470 * signal/signal.c: Likewise.
22471 * signal/sigpause.c: Likewise.
22472 * signal/sigpending.c: Likewise.
22473 * signal/sigqueue.c: Likewise.
22474 * signal/sigreturn.c: Likewise.
22475 * signal/sigset.c: Likewise.
22476 * signal/sigsetmask.c: Likewise.
22477 * signal/sigstack.c: Likewise.
22478 * signal/sigsuspend.c: Likewise.
22479 * signal/sigtimedwait.c: Likewise.
22480 * signal/sigvec.c: Likewise.
22481 * signal/sigwait.c: Likewise.
22482 * signal/sigwaitinfo.c: Likewise.
22483 * signal/sysv_signal.c: Likewise.
22484 * socket/accept.c: Likewise.
22485 * socket/accept4.c: Likewise.
22486 * socket/bind.c: Likewise.
22487 * socket/connect.c: Likewise.
22488 * socket/getpeername.c: Likewise.
22489 * socket/getsockname.c: Likewise.
22490 * socket/getsockopt.c: Likewise.
22491 * socket/isfdtype.c: Likewise.
22492 * socket/listen.c: Likewise.
22493 * socket/recv.c: Likewise.
22494 * socket/recvfrom.c: Likewise.
22495 * socket/recvmsg.c: Likewise.
22496 * socket/send.c: Likewise.
22497 * socket/sendmsg.c: Likewise.
22498 * socket/sendto.c: Likewise.
22499 * socket/setsockopt.c: Likewise.
22500 * socket/shutdown.c: Likewise.
22501 * socket/sockatmark.c: Likewise.
22502 * socket/socket.c: Likewise.
22503 * socket/socketpair.c: Likewise.
22504 * stdio-common/ctermid.c: Likewise.
22505 * stdio-common/cuserid.c: Likewise.
22506 * stdio-common/remove.c: Likewise.
22507 * stdio-common/rename.c: Likewise.
22508 * stdio-common/renameat.c: Likewise.
22509 * stdio-common/tempname.c: Likewise.
22510 * stdlib/getcontext.c: Likewise.
22511 * stdlib/makecontext.c: Likewise.
22512 * stdlib/setcontext.c: Likewise.
22513 * stdlib/swapcontext.c: Likewise.
22514 * stdlib/system.c: Likewise.
22515 * streams/fattach.c: Likewise.
22516 * streams/fdetach.c: Likewise.
22517 * streams/getmsg.c: Likewise.
22518 * streams/getpmsg.c: Likewise.
22519 * streams/putmsg.c: Likewise.
22520 * streams/putpmsg.c: Likewise.
22521 * sysdeps/unix/bsd/getpt.c: Likewise.
22522 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22523 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22524 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22527 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22528 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22529 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22530 * sysvipc/msgctl.c: Likewise.
22531 * sysvipc/msgget.c: Likewise.
22532 * sysvipc/msgrcv.c: Likewise.
22533 * sysvipc/msgsnd.c: Likewise.
22534 * sysvipc/semctl.c: Likewise.
22535 * sysvipc/semget.c: Likewise.
22536 * sysvipc/semop.c: Likewise.
22537 * sysvipc/semtimedop.c: Likewise.
22538 * sysvipc/shmat.c: Likewise.
22539 * sysvipc/shmctl.c: Likewise.
22540 * sysvipc/shmdt.c: Likewise.
22541 * sysvipc/shmget.c: Likewise.
22542 * termios/tcdrain.c: Likewise.
22543 * termios/tcflow.c: Likewise.
22544 * termios/tcflush.c: Likewise.
22545 * termios/tcgetattr.c: Likewise.
22546 * termios/tcgetpgrp.c: Likewise.
22547 * termios/tcsendbrk.c: Likewise.
22548 * termios/tcsetattr.c: Likewise.
22549 * termios/tcsetpgrp.c: Likewise.
22550 * time/adjtime.c: Likewise.
22551 * time/clock.c: Likewise.
22552 * time/getitimer.c: Likewise.
22553 * time/gettimeofday.c: Likewise.
22554 * time/setitimer.c: Likewise.
22555 * time/settimeofday.c: Likewise.
22556 * time/stime.c: Likewise.
22557 * time/time.c: Likewise.
22559 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22561 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22564 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22566 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22568 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22572 FE_TONEAREST before applying Dekker multiplication and Knuth
22573 addition. Clear inexact exceptions and check for exact zero
22574 results afterwards.
22575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22576 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22578 * math/libm-test.inc (fma_test): Add more tests.
22579 (fma_test_towardzero): Likewise.
22580 (fma_test_downward): Likewise.
22581 (fma_test_upward): Likewise.
22582 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22584 (libc_fesetround): New macro.
22585 (libc_fesetroundf): Likewise.
22586 (libc_fesetroundl): Likewise.
22587 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22589 (libc_fesetround_387): Likewise.
22590 (libc_fesetroundf): New macro.
22591 (libc_fesetround): Likewise.
22592 (libc_fesetroundl): Likewise.
22593 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22595 (libc_fesetroundf): New macro.
22596 (libc_fesetround): Likewise.
22597 (libc_fesetroundl): Likewise.
22598 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22599 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22600 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22602 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22603 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22605 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22606 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22608 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22612 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22613 integer constant usable in #if and use that to give value to enum
22615 (FE_DIVBYZERO): Likewise.
22616 (FE_UNDERFLOW): Likewise.
22617 (FE_OVERFLOW): Likewise.
22618 (FE_INVALID): Likewise.
22619 (FE_INVALID_SNAN): Likewise.
22620 (FE_INVALID_ISI): Likewise.
22621 (FE_INVALID_IDI): Likewise.
22622 (FE_INVALID_ZDZ): Likewise.
22623 (FE_INVALID_IMZ): Likewise.
22624 (FE_INVALID_COMPARE): Likewise.
22625 (FE_INVALID_SOFTWARE): Likewise.
22626 (FE_INVALID_SQRT): Likewise.
22627 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22628 (FE_TONEAREST): Likewise.
22629 (FE_TOWARDZERO): Likewise.
22630 (FE_UPWARD): Likewise.
22631 (FE_DOWNWARD): Likewise.
22632 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22633 (FE_DIVBYZERO): Likewise.
22634 (FE_OVERFLOW): Likewise.
22635 (FE_UNDERFLOW): Likewise.
22636 (FE_INEXACT): Likewise.
22637 (FE_TONEAREST): Likewise.
22638 (FE_DOWNWARD): Likewise.
22639 (FE_UPWARD): Likewise.
22640 (FE_TOWARDZERO): Likewise.
22641 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22642 (FE_UNDERFLOW): Likewise.
22643 (FE_OVERFLOW): Likewise.
22644 (FE_DIVBYZERO): Likewise.
22645 (FE_INVALID): Likewise.
22646 (FE_TONEAREST): Likewise.
22647 (FE_TOWARDZERO): Likewise.
22648 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22649 (FE_OVERFLOW): Likewise.
22650 (FE_UNDERFLOW): Likewise.
22651 (FE_DIVBYZERO): Likewise.
22652 (FE_INEXACT): Likewise.
22653 (FE_TONEAREST): Likewise.
22654 (FE_TOWARDZERO): Likewise.
22655 (FE_UPWARD): Likewise.
22656 (FE_DOWNWARD): Likewise.
22657 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22658 (FE_DIVBYZERO): Likewise.
22659 (FE_OVERFLOW): Likewise.
22660 (FE_UNDERFLOW): Likewise.
22661 (FE_INEXACT): Likewise.
22662 (FE_TONEAREST): Likewise.
22663 (FE_DOWNWARD): Likewise.
22664 (FE_UPWARD): Likewise.
22665 (FE_TOWARDZERO): Likewise.
22667 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22669 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22671 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22673 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22674 commands. Quote $PWD.
22675 (blacklist_exports): Don't use remove_newlines. Replace "declare
22677 (remove_newlines): Remove.
22679 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22681 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22682 * stdlib/stdlib.h (atof): Moved to ...
22683 * include/bits/stdlib-float.h: Here. New file.
22684 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22685 * stdlib/bits/stdlib-float.h: New file.
22686 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22688 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22691 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22693 * conform/conformtest.pl (@headers): Add fenv.h.
22694 * conform/data/fenv.h-data: New file.
22695 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22696 include of <math/fenv.h>.
22698 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22699 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22700 && !UNIX98]. Enables tests for XOPEN2K8.
22701 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22702 POSIX2008]: Likewise.
22704 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22705 (struct rusage): Do not expect type or its members.
22708 * math/math.h (FP_NAN): Define macro to integer constant usable in
22709 #if and use that to give value to enum constant.
22710 (FP_INFINITE): Likewise.
22711 (FP_ZERO): Likewise.
22712 (FP_SUBNORMAL): Likewise.
22713 (FP_NORMAL): Likewise.
22715 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22717 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22718 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22721 2012-11-02 Roland McGrath <roland@hack.frob.com>
22723 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22724 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22725 autoconf-time if not.
22726 * configure.in: Remove AC_PREREQ.
22728 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22730 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22731 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22732 of the internal implementation.
22734 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22736 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22737 except include of <misc/sys/syslog.h>.
22739 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22742 function returns with a NULL context exit with zero.
22744 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22746 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22748 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22750 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22751 (run_program_cmd): This.
22752 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22753 (tst_langinfo): New variable. Use it.
22755 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22757 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22758 floating point opcodes.
22760 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22762 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22765 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22767 * sysdeps/mach/hurd/powerpc: Remove directory.
22768 * sysdeps/mach/powerpc: Likewise.
22770 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22772 * scripts/check-local-headers.sh: Ignore c++ headers.
22774 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22776 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22777 __libc_cleanup_region_start argument.
22779 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22784 x * y using scaling, not as x * y + z.
22785 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22786 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22787 * math/libm-test.inc (fma_test): Add more tests.
22788 (fma_test_towardzero): Likewise.
22789 (fma_test_downward): Likewise.
22790 (fma_test_upward): Likewise.
22792 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22794 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22796 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22798 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22801 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22803 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22805 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22812 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22815 Fix the order of the list for glibc 2.17.
22816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22819 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22823 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22826 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22827 for low part of x being zero before using __atanl (y).
22828 * math/libm-test.inc (atan2_test): Add another test.
22830 * manual/install.texi (Configuring and compiling): Document
22831 general use of test-wrapper and test-wrapper-env.
22832 * INSTALL: Regenerated.
22834 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22835 (__fma): Do not extract and scale down low bits on after-rounding
22836 systems when result rounded to normal precision would have normal
22838 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22839 (__fmal): Do not extract and scale down low bits on after-rounding
22840 systems when result rounded to normal precision would have normal
22842 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22843 (__fmal): Do not extract and scale down low bits on after-rounding
22844 systems when result rounded to normal precision would have normal
22846 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22848 (fma_test): Add more tests.
22849 (fma_test_towardzero): Likewise.
22850 (fma_test_downward): Likewise.
22851 (fma_test_upward): Likewise.
22853 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22855 * sysdeps/i386/tininess.h: Renamed to ...
22856 * sysdeps/x86/tininess.h: This.
22857 * sysdeps/x86_64/tininess.h: Removed.
22859 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22861 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22862 input. Use $(build-program-cmd).
22863 ($(objpfx)tst-array1-static.out): Likewise.
22864 ($(objpfx)tst-array2.out): Likewise.
22865 ($(objpfx)tst-array3.out): Likewise.
22866 ($(objpfx)tst-array4.out): Likewise.
22867 ($(objpfx)tst-array5.out): Likewise.
22868 ($(objpfx)tst-array5-static.out): Likewise.
22870 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22872 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22875 * nss/nsswitch.h (nss_interface_function): Provide new
22876 macro for use with NSS functions.
22877 * grp/initgroups.c: Use new macro.
22878 * nss/getXXbyYY.c: Likewise.
22879 * nss/getXXbyYY_r.c: Likewise.
22880 * nss/getXXent.c: Likewise.
22881 * nss/getXXent_r.c: Likewise.
22882 * sysdeps/posix/getaddrinfo.c: Likewise.
22884 2012-10-30 Andreas Jaeger <aj@suse.de>
22886 * po/ru.po: Update Russion translation from translation project.
22888 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22893 result and shift together with sticky bit instead of replicating
22894 round-to-nearest rounding.
22895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22897 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22898 missing underflow exceptions.
22899 (fma_test_towardzero): Add more tests.
22900 (fma_test_downward): Likewise.
22901 (fma_test_upward): Likewise.
22904 * sysdeps/generic/tininess.h: New file.
22905 * sysdeps/i386/tininess.h: Likewise.
22906 * sysdeps/sh/tininess.h: Likewise.
22907 * sysdeps/x86_64/tininess.h: Likewise.
22908 * stdlib/tst-strtod-underflow.c: Likewise.
22909 * stdlib/tst-tininess.c: Likewise.
22910 * stdlib/strtod_l.c: Include <tininess.h>.
22911 (round_and_return): Do not set errno for exact underflow cases.
22912 Force an underflow exception when setting errno for underflow.
22913 Determine underflow based on rounding to normal precision if
22914 TININESS_AFTER_ROUNDING.
22915 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22916 ERANGE for exact underflow cases.
22917 * stdlib/Makefile (tests): Add tst-tininess and
22918 tst-strtod-underflow.
22919 ($(objpfx)tst-tininess): Use $(link-libm).
22920 ($(objpfx)tst-strtod-underflow): Likewise.
22922 2012-10-30 Andreas Jaeger <aj@suse.de>
22925 * elf/Makefile (tests): Remove conditional for have-initfini-array
22926 since this is now always required and the variable does not exist
22928 (tests-static): Likewise.
22929 (modules-names): Likewise.
22931 * po/eo.po: Add Esperanto translation from translation project.
22933 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22934 merged with constructor/destructor.
22935 (init_array): Likewise.
22936 * elf/tst-array2dep.c (fini_array): Likewise.
22937 (init_array): Likewise.
22939 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22941 * manual/message.texi: Delete @cartouche tags.
22943 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22945 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22947 * sysdeps/mach/hurd/fsync.c: Likewise.
22949 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22950 [_POSIX_REALTIME_SIGNALS]: Change condition to
22951 [_POSIX_REALTIME_SIGNALS > 0].
22953 2012-10-27 Andreas Jaeger <aj@suse.de>
22955 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22956 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22958 [__WORDSIZE != 64]: Likewise.
22960 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22962 * iconvdata/tst-table.sh: Remove ${SHELL}.
22963 * iconvdata/tst-tables.sh: Likewise.
22965 2012-10-25 David S. Miller <davem@davemloft.net>
22967 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22968 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22971 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22973 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22974 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22975 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22978 2012-10-25 Roland McGrath <roland@hack.frob.com>
22980 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22981 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22984 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22985 Jim Blandy <jimb@codesourcery.com>
22987 * scripts/cross-test-ssh.sh: New file.
22988 * manual/install.texi (Configuring and compiling): Document use of
22990 * INSTALL: Regenerated.
22992 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22994 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22997 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22999 * Makeconfig (run-program-prefix): Fix comment.
23001 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23002 Jim Blandy <jimb@codesourcery.com>
23004 * Makeconfig (test-wrapper): New variable,
23005 (test-wrapper-env): Likewise.
23006 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23007 (run-built-tests): Define to yes.
23008 (run-program-prefix): Use $(test-wrapper).
23009 (built-program-cmd): Likewise.
23010 * Rules (make-test-out): Use $(test-wrapper-env) and
23011 $(host-built-program-cmd).
23012 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23013 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23015 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23016 $(test-wrapper-env) to tst-rtld-load-self.sh.
23017 ($(objpfx)order2.out): Use $(test-wrapper).
23018 ($(objpfx)tst-initorder.out): Likewise.
23019 ($(objpfx)tst-initorder2.out): Likewise.
23020 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23021 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23022 (test_wrapper_env): New variable. Use it to run ld.so.
23023 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23024 Use it to run ld.so.
23025 (test_wrapper_env): Likewise.
23026 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23027 $(test-wrapper) to run-iconv-test.sh.
23028 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23029 (ICONV): Use $test_wrapper.
23030 * posix/Makefile ($(objpfx)globtest.out): Pass
23031 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23032 globtest.sh, not $(run-program-prefix).
23033 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23034 (test_wrapper): Likewise.
23035 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23036 set together with run_via_rtld_prefix.
23037 (run_program_prefix): Define in terms of test_wrapper and
23038 run_via_rtld_prefix.
23040 2012-10-24 Roland McGrath <roland@hack.frob.com>
23042 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23043 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23047 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23048 Declare __clock_getres, __clock_gettime, __clock_settime,
23049 __clock_nanosleep, and __clock_getcpuclockid.
23050 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23051 Remove librt_hidden_def (clock_gettime).
23052 * sysdeps/unix/clock_gettime.c: Likewise.
23053 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23054 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23055 * rt/clock_getres.c: Define __clock_getres as an alias.
23056 * sysdeps/posix/clock_getres.c: Likewise.
23057 * rt/clock_settime.c: Define __clock_settime as an alias.
23058 * sysdeps/unix/clock_settime.c: Likewise.
23059 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23060 * sysdeps/unix/clock_nanosleep.c: Likewise.
23061 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23062 * rt/clock-compat.c: New file.
23063 * rt/Makefile (librt-routines): Add clock-compat and move
23064 $(clock-routines) to ...
23065 (routines): ... here, new variable.
23066 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23067 Don't add get_clockfreq here.
23068 * rt/Versions (libc: GLIBC_2.17): New version set.
23069 Add clock_* symbols here.
23070 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23071 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23072 (GLIBC_2.17): Add clock_* symbols.
23073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23075 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23084 * NEWS: Mention the move.
23086 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23087 Use __open, __read, __close rather than their public counterparts.
23088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23089 (__get_clockfreq_via_cpuinfo): Likewise.
23090 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23091 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23093 * config.h.in (HAVE_IFUNC): New #undef.
23094 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23096 * configure: Regenerated.
23098 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23100 * configure.in: Move READELF check to start of file.
23101 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23102 libc_cv_asm_gnu_indirect_function in the process.
23103 * configure: Regenerated.
23105 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23107 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23108 send the output to /dev/null.
23109 (libc_cv_cc_with_libunwind): Likewise.
23110 (libc_cv_as_noexecstack): Likewise.
23111 * configure: Regenerate.
23113 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23115 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23117 * posix/globtest.sh (TMPDIR): Do not set.
23118 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23119 (testout): Likewise.
23121 2012-10-24 Andreas Jaeger <aj@suse.de>
23123 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23124 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23125 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23126 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23127 posix_fadvise64, posix_fallocate64.
23129 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23130 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23131 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23133 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23135 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23138 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23139 <bits/fcntl-linux.h>.
23140 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23143 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23144 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23145 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23146 [__WORDSIZE != 64]: Likewise.
23148 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23150 * Makeconfig (run-built-tests): New variable.
23151 * Rules [$(cross-compiling) = yes]: Change condition to
23152 [$(run-built-tests) = no].
23153 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23154 to [$(run-built-tests) = yes].
23155 * elf/Makefile [$(cross-compiling) = no]: Likewise
23156 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23157 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23158 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23159 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23160 * io/Makefile [$(cross-compiling) = no]: Likewise.
23161 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23162 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23163 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23164 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23165 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23166 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23167 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23168 * string/Makefile [$(cross-compiling) = no]: Likewise.
23170 * posix/Makefile ($(objpfx)globtest.out): Pass
23171 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23172 $(rtld-installed-name).
23173 * posix/globtest.sh (elf_objpfx): Remove variable.
23174 (rtld_installed_name): Likewise.
23175 (library_path): Likewise.
23176 (run_program_prefix): New variable. Use for running globtest
23179 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23180 Joseph Myers <joseph@codesourcery.com>
23182 * Makeconfig (host-built-program-cmd): New variable.
23183 * elf/Makefile (tst-stackguard1-ARGS): Use
23184 $(host-built-program-cmd).
23185 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23186 (tst-spawn-ARGS): Likewise.
23187 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23189 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23190 Jim Blandy <jimb@codesourcery.com>
23192 * Makeconfig (run-via-rtld-prefix): New variable.
23193 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23194 (built-program-cmd): Likewise.
23196 2012-10-22 Andreas Jaeger <aj@suse.de>
23198 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23199 __O_RSYNC if it exists, otherwise to O_SYNC.
23201 2012-10-22 Jim Blandy <jimb@codesourcery.com>
23202 Joseph Myers <joseph@codesourcery.com>
23204 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23206 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23208 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23211 2012-10-22 Andreas Jaeger <aj@suse.de>
23213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23218 bits/fcntl-linux.h.
23220 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23221 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23223 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23228 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23229 Joseph Myers <joseph@codesourcery.com>
23231 * config.make.in (NM): New variable.
23233 2012-10-21 Andreas Jaeger <aj@suse.de>
23235 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23236 definitions and declarations that are provided by
23237 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23239 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23242 * elf/Makefile (tests-static): Add tst-leaks1-static.
23243 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23244 ($(objpfx)tst-leaks1-static): New rule.
23245 ($(objpfx)tst-leaks1-static-mem): Likewise.
23246 (tst-leaks1-static-ENV): New macro.
23247 * elf/dl-open.c (dl_open_worker): Check the main application
23248 only if SHARED is defined.
23249 * elf/tst-leaks1-static.c: New file.
23251 2012-10-20 Andreas Jaeger <aj@suse.de>
23253 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23254 generic values for Linux.
23255 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23256 and declarations that are provided by <bits/fcntl-linux.h> and
23257 include <bits/fcntl-linux.h>.
23258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23261 2012-10-20 Roland McGrath <roland@hack.frob.com>
23263 * io/fcntl.h: Move include of <bits/types.h> to the top and
23264 include it unconditionally.
23266 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23268 * wcsmbs/Makefile (tests-ifunc): New variable.
23269 (tests): Add $(tests-ifunc).
23270 * wcsmbs/test-wcschr-ifunc.c: New file.
23271 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23272 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23273 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23274 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23275 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23277 * string/Makefile (tests-ifunc): New variable.
23278 (tests): Add $(tests-ifunc).
23279 * string/test-memccpy.c (TEST_NAME): New macro.
23280 * string/test-memchr.c (TEST_NAME): Likewise.
23281 * string/test-memcmp.c (TEST_NAME): Likewise.
23282 * string/test-memcpy.c (TEST_NAME): Likewise.
23283 * string/test-memmem.c (TEST_NAME): Likewise.
23284 * string/test-memmove.c (TEST_NAME): Likewise.
23285 * string/test-memset.c (TEST_NAME): Likewise.
23286 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23287 * string/test-stpcpy.c (TEST_NAME): Likewise.
23288 * string/test-stpncpy.c (TEST_NAME): Likewise.
23289 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23290 * string/test-strcasestr.c (TEST_NAME): Likewise.
23291 * string/test-strcat.c (TEST_NAME): Likewise.
23292 * string/test-strchr.c (TEST_NAME): Likewise.
23293 * string/test-strcmp.c(TEST_NAME): Likewise.
23294 * string/test-strcpy.c (TEST_NAME): Likewise.
23295 * string/test-strcspn.c (TEST_NAME): Likewise.
23296 * string/test-strlen.c (TEST_NAME): Likewise.
23297 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23298 * string/test-strncmp.c (TEST_NAME): Likewise.
23299 * string/test-strncpy.c (TEST_NAME): Likewise.
23300 * string/test-strnlen.c (TEST_NAME): Likewise.
23301 * string/test-strpbrk.c (TEST_NAME): Likewise.
23302 * string/test-strrchr.c (TEST_NAME): Likewise.
23303 * string/test-strspn.c (TEST_NAME): Likewise.
23304 * string/test-strstr.c (TEST_NAME): Likewise.
23305 * string/test-bcopy-ifunc.c: New file.
23306 * string/test-bzero-ifunc.c: Likewise.
23307 * string/test-memccpy-ifunc.c: Likewise.
23308 * string/test-memchr-ifunc.c: Likewise.
23309 * string/test-memcmp-ifunc.c: Likewise.
23310 * string/test-memcpy-ifunc.c: Likewise.
23311 * string/test-memmem-ifunc.c: Likewise.
23312 * string/test-memmove-ifunc.c: Likewise.
23313 * string/test-mempcpy-ifunc.c: Likewise.
23314 * string/test-memset-ifunc.c: Likewise.
23315 * string/test-rawmemchr-ifunc.c: Likewise.
23316 * string/test-stpcpy-ifunc.c: Likewise.
23317 * string/test-stpncpy-ifunc.c: Likewise.
23318 * string/test-strcasecmp-ifunc.c: Likewise.
23319 * string/test-strcasestr-ifunc.c: Likewise.
23320 * string/test-strcat-ifunc.c: Likewise.
23321 * string/test-strchr-ifunc.c: Likewise.
23322 * string/test-strchrnul-ifunc.c: Likewise.
23323 * string/test-strcmp-ifunc.c: Likewise.
23324 * string/test-strcpy-ifunc.c: Likewise.
23325 * string/test-strcspn-ifunc.c: Likewise.
23326 * string/test-strlen-ifunc.c: Likewise.
23327 * string/test-strncasecmp-ifunc.c: Likewise.
23328 * string/test-strncat-ifunc.c: Likewise.
23329 * string/test-strncmp-ifunc.c: Likewise.
23330 * string/test-strncpy-ifunc.c: Likewise.
23331 * string/test-strnlen-ifunc.c: Likewise.
23332 * string/test-strpbrk-ifunc.c: Likewise.
23333 * string/test-strrchr-ifunc.c: Likewise.
23334 * string/test-strspn-ifunc.c: Likewise.
23335 * string/test-strstr-ifunc.c: Likewise.
23337 * debug/Makefile (tests-ifunc): New variable.
23338 (tests): Add $(tests-ifunc).
23339 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23340 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23341 * debug/test-stpcpy_chk-ifunc.c: New file.
23342 * debug/test-strcpy_chk-ifunc.c: Likewise.
23344 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23347 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23348 header is not read in.
23350 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23352 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23353 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23354 directly. Pass built executable to script as
23355 $(built-program-cmd).
23356 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23357 $testprogram without using LD_LIBRARY_PATH and $ldso.
23359 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23360 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23361 $(rtld-installed-name).
23362 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23363 (rtld_installed_name): Likewise.
23364 (library_path): Likewise.
23365 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23366 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23367 $(run-program-prefix) to tst-tables.sh.
23368 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23369 it to run tst-table-from and tst-table-to.
23370 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23371 Pass it to tst-table.sh.
23372 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23373 $(run-program-prefix) to tst-gettext.sh.
23374 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23376 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23378 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23379 to run tst-gettext.
23380 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23381 to run tst-gettext2.
23382 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23383 to run tst-translit.
23384 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23385 $(run-program-prefix) to tst-mtrace.sh.
23386 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23388 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23389 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23390 $(rtld-installed-name).
23391 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23392 (rtld_installed_name): Likewise.
23393 (run_program_prefix): New variable. Use it to run wordexp-test.
23395 * Makeconfig (ARCH): Remove all definitions.
23396 (machine): Likewise.
23397 [ARCH]: Remove conditional code.
23398 [!objdir]: Give error.
23399 [!objdir] (objpfx): Remove.
23400 [!objdir] (common-objpfx): Likewise.
23401 [!objdir] (common-objdir): Likewise.
23402 * configure.in (config_makefile): Remove. Hardcode Makefile in
23403 AC_CONFIG_FILES call.
23404 * configure: Regenerated.
23407 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23409 (testout): Likewise.
23411 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23412 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23413 $(rtld-installed-name).
23414 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23415 (rtld_installed_name): Likwise.
23416 (runit): Remove function.
23417 (run_getconf): New variable, Use it for running getconf binary.
23419 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23422 * string/test-memmem.c (check_result): New function.
23423 (do_one_test): Use it.
23424 (check1): New function.
23425 (test_main): Use it.
23427 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23429 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23431 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23433 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23434 (_G_LSEEK64): Likewise.
23435 (_G_MMAP64): Likewise.
23436 (_G_FSTAT64): Likewise.
23437 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23438 (_G_LSEEK64): Likewise.
23439 (_G_MMAP64): Likewise.
23440 (_G_FSTAT64): Likewise.
23441 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23442 unconditional. Call __mmap64 directly.
23443 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23444 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23445 __lseek64 directly.
23446 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23447 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23449 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23450 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23451 __lseek64 directly.
23452 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23453 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23454 __lseek64 directly.
23455 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23456 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23457 __lseek64 directly.
23458 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23459 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23460 __fxstat64 directly.
23461 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23462 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23464 (freopen64) [!_G_OPEN64]: Remove conditional code.
23465 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23467 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23468 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23470 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23471 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23473 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23474 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23476 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23477 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23479 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23480 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23482 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23483 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23485 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23487 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23490 * manual/memory.texi (Malloc Tunable Parameters): Add note
23491 about free list pointers overwriting some perturb bytes.
23492 Wording suggested by Roland McGrath.
23494 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23496 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23497 (lgamma_test): Likewise.
23498 (tgamma_test): Likewise.
23500 2012-10-16 Florian Weimer <fweimer@redhat.com>
23503 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23504 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23506 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23508 * NEWS: Mention BZ #14716.
23509 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23510 when removing AVAILABLE1_USES_J macro.
23512 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23514 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23515 (__bswap_64): __uint64_t for unsigned 64-bit int.
23517 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23519 * include/string.h (memmem): Declare libc hidden alias.
23520 * string/memmem.c (memmem): Define libc hidden alias.
23521 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23522 __read, __close instead of open, read, close.
23524 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23527 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23529 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23530 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23531 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23533 (__rawmemchr_sse2): Likewise.
23534 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23535 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23536 (__strchr_sse2): Likewise.
23537 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23538 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23539 (__strcasecmp_sse2): Likewise.
23540 (__strncasecmp_sse2): Likewise.
23541 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23542 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23543 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23544 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23545 (__strrchr_sse2): Likewise.
23546 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23548 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23549 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23550 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23551 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23552 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23553 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23554 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23555 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23556 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23557 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23558 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23559 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23560 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23561 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23562 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23563 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23564 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23565 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23566 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23567 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23568 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23569 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23570 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23571 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23572 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23573 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23574 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23575 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23576 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23577 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23579 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23581 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23582 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23583 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23584 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23586 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23588 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23589 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23590 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23591 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23593 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23594 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23595 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23596 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23597 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23598 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23599 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23600 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23601 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23602 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23603 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23604 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23605 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23606 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23607 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23608 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23609 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23610 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23611 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23612 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23613 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23614 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23615 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23616 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23617 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23618 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23619 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23620 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23621 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23622 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23623 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23624 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23625 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23626 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23627 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23628 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23629 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23630 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23631 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23632 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23633 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23635 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23636 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23637 * include/ifunc-impl-list.h: New file.
23638 * misc/ifunc-impl-list.c: Likewise.
23639 * misc/Makefile (routines): Add ifunc-impl-list.
23640 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23641 * string/test-string.h: Include <ifunc-impl-list.h>.
23642 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23643 TEST_NAME]: New variables.
23644 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23646 (test_init): Call __libc_ifunc_impl_list to initialize
23647 func_list if TEST_IFUNC and TEST_NAME are defined.
23649 * string/Makefile (strop-tests): Add bcopy and bzero.
23650 * string/test-bcopy.c: New file.
23651 * string/test-bzero.c: Likewise.
23652 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23654 * string/test-memset.c: Support bzero test if TEST_BZERO is
23656 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23658 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23660 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23663 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23665 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23666 * configure: Regenerated.
23668 * Makeconfig (+link-static-before-libc): Don't include
23669 $(link-static-libc).
23671 * libio/libio.h (_IO_pos_t): Remove.
23673 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23675 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23678 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23680 * crypt/crypt-entry.c: Include fips-private.h.
23681 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23682 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23683 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23684 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23686 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23688 * crypt/crypt-private.h: Include stdbool.h.
23689 (_ufc_setup_salt_r): Return bool.
23690 * crypt/crypt-entry.c: Include errno.h.
23691 (__crypt_r): Return NULL with EINVAL for bad salt.
23692 * crypt/crypt_util.c (bad_for_salt): New.
23693 (_ufc_setup_salt_r): Check that salt is long enough and within
23694 the specified alphabet.
23695 * crypt/badsalttest.c: New file.
23696 * crypt/Makefile (tests): Add it.
23697 ($(objpfx)badsalttest): New.
23699 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23701 * NEWS: Add entry for BZ #14602.
23703 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23705 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23707 * math/libm-test.inc: Update comment listing what functions and
23709 (isgreater_test): New function.
23710 (isgreaterequal_test): Likewise.
23711 (isless_test): Likewise.
23712 (islessequal_test): Likewise.
23713 (islessgreater_test): Likewise.
23714 (isunordered_test): Likewise.
23715 (main): Call the new functions.
23717 2012-10-09 Roland McGrath <roland@hack.frob.com>
23719 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23720 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23721 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23722 * sysdeps/i386/configure: Regenerated.
23723 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23724 * sysdeps/mach/configure: Regenerated.
23725 * sysdeps/mach/hurd/configure: Regenerated.
23726 * sysdeps/powerpc/configure: Regenerated.
23727 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23728 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23729 * sysdeps/s390/s390-32/configure: Regenerated.
23730 * sysdeps/s390/s390-64/configure: Regenerated.
23731 * sysdeps/sh/configure: Regenerated.
23732 * sysdeps/sparc/configure: Regenerated.
23733 * sysdeps/unix/sysv/linux/configure: Regenerated.
23734 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23735 * sysdeps/x86_64/configure: Regenerated.
23737 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23738 defined. Don't check if MAP is NULL.
23740 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23742 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23743 (_G_stat64): Likewise.
23744 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23745 (_G_stat64): Likewise.
23746 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23747 instead of struct _G_stat64.
23748 * libio/fileops.c (mmap_remap_check): Likewise.
23749 (decide_maybe_mmap): Likewise.
23750 (_IO_new_file_seekoff): Likewise.
23751 (_IO_file_stat): Likewise.
23752 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23754 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23755 instead of struct _G_stat64.
23756 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23758 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23761 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23763 (CHECK_EOL): New macro.
23764 (two_way_short_needle): Check beginning of haystack for EOL. Use
23766 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23767 Replace with CHECK_EOL.
23768 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23769 Replace with CHECK_EOL.
23771 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23773 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23775 * math/libm-test.inc: Update comment listing what functions and
23777 (finite_test): New function.
23778 (isinf_test): Likewise.
23779 (isnan_test): Likewise.
23780 (fpclassify_test): Test subnormal input.
23781 (isfinite_test): Likewise.
23782 (isnormal_test): Likewise.
23783 (main): Call the new functions.
23785 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23788 * Makerules (%.dynsym): Force C locale when running
23789 $(OBJDUMP) --dynamic-syms.
23791 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23793 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23796 2012-10-06 David S. Miller <davem@davemloft.net>
23798 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23799 upper 32-bits of the length value in %o2 since we use branch-on-register
23800 tests which consider the entire 64-bit register.
23802 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23804 * string/test-strstr.c (check2): Add a test for page boundary.
23806 2012-10-05 David S. Miller <davem@davemloft.net>
23808 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23809 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23811 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23813 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23814 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23815 and bzero when HWCAP_SPARC_CRYPTO is present.
23817 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23820 * string/test-strstr.c (check2): New function.
23821 (test_main): Call check2.
23823 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23825 * string/bug-strcasestr1.c (do_test): Moved to ...
23826 * string/test-strcasestr.c (check1): Here. New function.
23827 (do_one_test): Break out result checking code into ...
23828 (check_result): This. New function.
23829 (do_one_test): Call check_result.
23830 (test_main): Call check1.
23831 * string/bug-strchr1.c (do_test): Moved to ...
23832 * string/test-strchr.c (check1): Here. New function.
23833 (do_one_test): Break out result checking code into ...
23834 (check_result): This. New function.
23835 (do_one_test): Call check_result.
23836 (test_main): Call check1.
23837 * string/bug-strstr1.c (main): Moved to ...
23838 * string/test-strstr.c (check1): Here. New function.
23839 (do_one_test): Break out result checking code into ...
23840 (check_result): This. New function.
23841 (do_one_test): Call check_result.
23842 (test_main): Call check1.
23843 * string/bug-strcasestr1.c: Removed.
23844 * string/bug-strchr1.c: Likewise.
23845 * string/bug-strstr1.c: Likewise.
23847 * elf/Makefile (dl-routines): Add hwcaps.
23848 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23849 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23850 (_dl_important_hwcaps): Moved to ...
23851 * elf/dl-hwcaps.c: Here. New file.
23852 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23855 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23856 if IS_IN_rtld isn't defined.
23858 * elf/dl-support.c (_dl_sysinfo_map): New.
23859 Include "get-dynamic-info.h" and "setup-vdso.h".
23860 (_dl_non_dynamic_init): Call setup_vdso.
23861 * elf/dynamic-link.h: Don't include <assert.h>.
23862 (elf_get_dynamic_info): Moved to ...
23863 * elf/get-dynamic-info.h: Here. New file.
23864 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23865 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23866 * elf/setup-vdso.h: Here. New file.
23867 * elf/rtld.c: Include "setup-vdso.h".
23868 (dl_main): Call setup_vdso.
23870 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23872 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23873 creal in comment listing functions tested. List finite, isinf,
23874 isnan, isless, islessequal, isgreater, isgreaterequal,
23875 islessgreater, isunordered, lgamma_r and pow10 as functions and
23876 macros not tested. Mention which functions not tested are aliases
23877 for other functions. Fix typo. Note that signs of NaNs are not
23880 * scripts/config.guess: Update from config.git.
23881 * scripts/config.sub: Likewise.
23883 2012-10-04 Roland McGrath <roland@hack.frob.com>
23885 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23886 * misc/madvise.c (madvise): Renamed to __madvise.
23887 Make madvise a weak alias.
23888 * include/sys/mman.h: Declare __madvise.
23889 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23890 * sysdeps/unix/syscalls.list
23891 (madvise): Make __madvise the strong name, and madvise a weak alias.
23892 * sysdeps/unix/sysv/linux/syscalls.list
23893 (madvise, mmap): Remove redundant entries.
23894 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23895 * malloc/malloc.c (mtrim): Likewise.
23896 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23898 2012-10-03 Roland McGrath <roland@hack.frob.com>
23900 * sysdeps/mach/hurd/dl-cache.c: File removed.
23901 * config.h.in (USE_LDCONFIG): New #undef.
23902 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23903 * configure: Regenerated.
23904 * elf/Makefile (dl-routines): Add dl-cache only under
23905 [$(use-ldconfig) = yes].
23906 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23907 cache on [USE_LDCONFIG].
23908 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23910 * elf/rtld.c (dl_main): Likewise.
23912 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23914 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23915 _SC_LEVEL4_CACHE_LINESIZE.
23917 2012-10-03 Roland McGrath <roland@hack.frob.com>
23919 * sysdeps/unix/bsd/confstr.h: File removed.
23921 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23923 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23926 2012-10-02 Roland McGrath <roland@hack.frob.com>
23928 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23929 Make 'mapoff' field ElfW(Off) rather than off_t.
23931 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23933 * nscd/Makefile: Remove nscd-cflags and all its users.
23934 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23935 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23938 * malloc.c (malloc_printerr): Clarify error message.
23940 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23944 Set bit_FMA_Usable if FMA is supported.
23945 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23947 (bit_FMA4_Usable): Updated.
23948 (index_FMA_Usable): New macro.
23949 (CPUID_FMA): Likewise
23950 (HAS_FMA): Defined with bit_FMA_Usable.
23952 2012-10-01 Roland McGrath <roland@hack.frob.com>
23954 * bits/types.h (__swblk_t): Type removed.
23955 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23956 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23958 (__SWBLK_T_TYPE): Likewise.
23959 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23960 (__SWBLK_T_TYPE): Likewise.
23961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23962 (__SWBLK_T_TYPE): Likewise.
23963 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23964 (__SWBLK_T_TYPE): Likewise.
23966 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23967 Honza Horak <hhorak@redhat.com>
23969 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23970 (xdr_mapname): Use YPMAXMAP as maxsize.
23971 (xdr_peername): Use YPMAXPEER as maxsize.
23972 (xdr_keydat): Use YPAXRECORD as maxsize.
23973 (xdr_valdat): Use YPMAXRECORD as maxsize.
23975 2012-10-01 Roland McGrath <roland@hack.frob.com>
23977 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23979 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23980 * csu/init-first.c: ... here.
23981 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23982 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23983 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23984 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23985 * sysdeps/i386/init-first.c: File removed.
23986 * sysdeps/sh/init-first.c: File removed.
23988 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23992 if x * y might underflow to zero and z is zero.
23993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23994 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23995 * math/libm-test.inc (min_subnorm_value): New variable.
23996 (fma_test): Add more tests.
23997 (fma_test_towardzero): Likewise.
23998 (fma_test_downward): Likewise
23999 (fma_test_upward): Likewise.
24000 (initialize): Set min_subnorm_value.
24002 2012-09-29 Joseph Myers <joseph@codesourcery.com>
24005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24007 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24008 mode for addition resulting in exact zero.
24009 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24010 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24012 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24013 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24014 * math/libm-test.inc (fma_test): Add more tests.
24015 (fma_test_towardzero): New function.
24016 (fma_test_downward): Likewise.
24017 (fma_test_upward): Likewise.
24018 (main): Call the new functions.
24020 2012-09-28 David S. Miller <davem@davemloft.net>
24022 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24024 2012-09-28 Roland McGrath <roland@hack.frob.com>
24026 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24027 instead of SIGALRM.
24029 * sysdeps/gnu/_G_config.h: Moved to ...
24030 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24031 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24032 * sysdeps/generic/_G_config.h: ... here.
24034 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24036 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24038 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24039 Conditionalize target on [libnss_test1.so-version].
24041 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24043 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24044 (elfobjdir): Move out of conditionals.
24046 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24047 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24048 (__nss_lookup_function): Conditionalize label remove_from_tree on
24049 [!DO_STATIC_NSS || SHARED], matching its only use.
24051 2012-09-28 David S. Miller <davem@davemloft.net>
24053 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24054 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24056 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24058 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24059 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24060 when HWCAP_SPARC_CRYPTO is present.
24062 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24064 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24066 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24069 * stdio-common/vfprintf.c (process_string_arg): Revert
24072 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24074 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24076 * stdio-common/tst-sprintf.c: Include <locale.h>
24077 (main): Test sprintf's handling of incomplete multibyte
24080 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24082 * elf/dl-runtime.c (VERSYMIDX): Removed.
24083 * elf/dl-version.c (VERSYMIDX): Likewise.
24084 * elf/do-rel.h (VERSYMIDX): Likewise.
24085 (VALIDX): Likewise.
24086 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24087 * elf/rtld.c (VALIDX): Likewise.
24088 (ADDRIDX): Likewise.
24089 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24090 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24091 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24092 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24093 (VALIDX): Likewise.
24094 (ADDRIDX): Likewise.
24096 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24098 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24100 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24103 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24105 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24106 addresses are in the same scope as 192.0.2/24.
24107 * posix/gai.conf: Document new scope table defaults.
24109 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24112 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24113 for ftell. Compute offsets from write pointers instead.
24114 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24116 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24119 * libio/Makefile (tests): New test case tst-fseek.
24120 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24121 combination works in wide mode.
24122 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24123 state when the external buffer state changes.
24125 2012-09-27 David S. Miller <davem@davemloft.net>
24128 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24129 pass reloc->r_addend in as the 'high' argument to
24130 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24134 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24136 * rt/tst-aio2.c: Include <pthread.h>.
24137 * rt/tst-aio3.c: Likewise.
24139 2012-09-27 Steve Ellcey <sellcey@mips.com>
24141 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24143 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24145 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24146 contents on [SHARED].
24148 2012-09-26 Marek Polacek <polacek@redhat.com>
24152 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24153 for C++ and GCC <4.3 as well as for non GCC compilers.
24155 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24159 2012-09-25 Roland McGrath <roland@hack.frob.com>
24161 * Makefile.in (all, install): Declare with .PHONY.
24162 Reported by Michael Hope <michael.hope@linaro.org>.
24164 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24166 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24167 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24169 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24171 (sydep_routines): Add the new and the internal functions.
24172 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24173 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24175 (GLIBC_2.17): Add the new function.
24176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24177 (GLIBC_2.17): Likewise.
24178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24179 (GLIBC_2.17): Likewise.
24180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24181 (GLIBC_2.17): Likewise.
24182 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24184 2012-09-25 Alan Modra <amodra@gmail.com>
24186 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24187 Add release barrier before setting once_control to say
24188 initialisation is done. Add hints on lwarx. Use macro in
24190 (clear_once_control): Add release barrier.
24192 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24195 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24197 * math/s_clog10.c (__clog10): Likewise.
24198 * math/s_clog10f.c (__clog10f): Likewise.
24199 * math/s_clog10l.c (__clog10l): Likewise.
24200 * math/s_clogf.c (__clogf): Likewise.
24201 * math/s_clogl.c (__clogl): Likewise.
24202 * math/Makefile (libm-calls): Add x2y2m1.
24203 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24204 (__x2y2m1): Likewise.
24205 (__x2y2m1l): Likewise.
24206 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24207 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24208 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24209 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24210 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24211 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24212 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24213 * sysdeps/i386/fpu/libm-test-ulps: Update.
24214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24217 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24218 int as type of variable DEPTH.
24219 (glob): Use size_t instead of int as type of variables NEWCOUNT
24222 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24224 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24225 Add s_sincosf-sse2.
24226 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24227 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24228 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24229 macros for using routine as __sincosf_ia32.
24230 Use macro for function declaration and weak_alias.
24231 * sysdeps/i386/fpu/libm-test-ulps: Update.
24233 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24236 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24237 subnormal argument.
24238 * math/s_cexpf.c (__cexpf): Likewise.
24239 * math/s_csinf.c (__csinf): Likewise.
24240 * math/s_csinhf.c (__csinhf): Likewise.
24241 * math/s_ctanf.c (__ctanf): Likewise.
24242 * math/s_ctanhf.c (__ctanhf): Likewise.
24243 * math/s_ccosh.c (__ccoshf): Likewise.
24244 * math/s_cexp.c (__cexpl): Likewise.
24245 * math/s_csin.c (__csin): Likewise.
24246 * math/s_csinh.c (__csinh): Likewise.
24247 * math/s_ctan.c (__ctan): Likewise.
24248 * math/s_ctanh.c (ctanh): Likewise.
24249 * math/s_ccoshl.c (__ccoshl): Likewise.
24250 * math/s_cexpl.c (__cexpl): Likewise.
24251 * math/s_csinl.c (__csinl): Likewise.
24252 * math/s_csinhl.c (__csinhl): Likewise.
24253 * math/s_ctanl.c (__ctanl): Likewise.
24254 * math/s_ctanhl.c (__ctanhl): Likewise.
24256 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24258 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24259 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24260 (_IO_off_t): Define to __off_t, not _G_off_t.
24261 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24262 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24263 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24264 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24265 type of __dummy and __dummy2 fields.
24266 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24267 (_G_ssize_t): Likewise.
24268 (_G_off_t): Likewise.
24269 (_G_pid_t): Likewise.
24270 (_G_uid_t): Likewise.
24271 (_G_wchar_t): Likewise.
24272 (_G_wint_t): Likewise.
24273 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24274 (_G_ssize_t): Likewise.
24275 (_G_off_t): Likewise.
24276 (_G_pid_t): Likewise.
24277 (_G_uid_t): Likewise.
24278 (_G_wchar_t): Likewise.
24279 (_G_wint_t): Likewise.
24280 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24281 (_G_ssize_t): Likewise.
24282 (_G_off_t): Likewise.
24283 (_G_pid_t): Likewise.
24284 (_G_uid_t): Likewise.
24285 (_G_wchar_t): Likewise.
24286 (_G_wint_t): Likewise.
24288 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24290 * malloc/arena.c: Include malloc-sysdep.h.
24291 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24292 is sufficient to shrink the heap or an unmap is needed.
24293 * sysdeps/generic/malloc-sysdep.h: New file. Define
24294 new function check_may_shrink_heap.
24295 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24296 new function check_may_shrink_heap.
24298 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24300 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24303 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24305 * catgets/test-gencat.sh: Add "set -e".
24306 * elf/tst-pathopt.sh: Likewise.
24307 * grp/tst_fgetgrent.sh: Likewise.
24308 * iconvdata/run-iconv-test.sh: Likewise.
24309 * intl/tst-gettext.sh: Likewise.
24310 * intl/tst-gettext2.sh: Likewise.
24311 * intl/tst-gettext4.sh: Likewise.
24312 * intl/tst-gettext6.sh: Likewise.
24313 * intl/tst-translit.sh: Likewise.
24314 * io/ftwtest-sh: Likewise.
24315 * libio/test-freopen.sh: Likewise.
24316 * malloc/tst-mtrace.sh: Likewise.
24317 * posix/globtest.sh: Likewise.
24318 * posix/tst-getconf.sh: Likewise.
24319 * posix/wordexp-tst.sh: Likewise.
24320 * stdio-common/tst-printf.sh: Likewise.
24321 * stdio-common/tst-unbputc.sh: Likewise.
24322 * stdlib/tst-fmtmsg.sh: Likewise.
24323 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24324 * catgets/Makefile: Do not specify -e option when running
24325 testsuite shell scripts.
24326 * elf/Makefile: Likewise.
24327 * grp/Makefile: Likewise.
24328 * iconvdata/Makefile: Likewise.
24329 * intl/Makefile: Likewise.
24330 * io/Makefile: Likewise.
24331 * libio/Makefile: Likewise.
24332 * malloc/Makefile: Likewise.
24333 * posix/Makefile: Likewise.
24334 * stdio-common/Makefile: Likewise.
24335 * stdlib/Makefile: Likewise.
24336 * sysdeps/x86_64/Makefile: Likewise.
24338 * io/ftwtest-sh: Add copyright header.
24339 * posix/globtest.sh: Likewise.
24340 * posix/tst-getconf.sh: Likewise.
24341 * posix/wordexp-tst.sh: Likewise.
24342 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24344 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24347 * Makeconfig (+link): Defined as $(+link-static) if
24348 $(build-shared) isn't yes.
24349 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24351 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24353 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24356 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24357 new chunk size with MALLOC_ALIGN_MASK.
24359 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24362 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24364 (__printf_fphex): Determine rounding using get_rounding_mode and
24366 * stdio-common/tst-printf-round.c (struct hex_test): New
24368 (hex_tests): New variable.
24369 (test_hex_in_one_mode): New function.
24370 (do_test): Also run tests for hex float output.
24372 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24374 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24375 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24376 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24377 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24378 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24379 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24380 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24381 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24383 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24385 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24386 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24387 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24388 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24390 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24393 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24395 * elf/tst-rtld-load-self.sh: New test.
24396 * elf/Makefile: Run it.
24398 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24400 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24401 (tst-writev-ENV): Remove.
24402 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24404 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24406 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24408 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24410 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24412 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24414 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24415 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24416 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24419 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24422 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24423 * config.make.in (have-cpp-asm-debuginfo): Removed.
24424 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24425 * configure: Regenerated.
24427 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24430 * stdio-common/printf_fp.c: Include <stdbool.h> and
24432 (___printf_fp): Determine rounding using get_rounding_mode and
24434 * stdio-common/tst-printf-round.c: New file.
24435 * stdio-common/Makefile (tests): Add tst-printf-round.
24436 (link-libm): New variable.
24437 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24439 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24442 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24443 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24445 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24448 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24450 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24451 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24452 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24453 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24455 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24458 * include/rounding-mode.h: New file.
24459 * sysdeps/generic/get-rounding-mode.h: Likewise.
24460 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24461 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24462 (MAX_VALUE): New macro.
24463 (MIN_VALUE): Likewise.
24464 (overflow_value): New function.
24465 (underflow_value): Likewise.
24466 (round_and_return): Use overflow_value and underflow_value to
24467 determine return values in overflow and underflow cases. Use
24468 round_away to determine rounding depending on rounding mode.
24469 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24470 determine return values in overflow and underflow cases.
24471 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24472 (struct test_results): New structure.
24473 (struct test): Use struct test_results to store expected results
24474 for all rounding modes.
24475 (TEST): Include expected results for all rounding modes.
24476 (test_in_one_mode): New function.
24477 (do_test): Use test_in_one_mode to compute and check results.
24478 Check results for all rounding modes.
24479 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24482 2012-12-09 Allan McRae <allan@archlinux.org>
24484 * sysdeps/i386/fpu/libm-test-ulps: Update
24486 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24488 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24489 (_G_int32_t): Likewise.
24490 (_G_uint16_t): Likewise.
24491 (_G_uint32_t): Likewise.
24492 (_G_HAVE_BOOL): Likewise.
24493 (_G_HAVE_ATEXIT): Likewise.
24494 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24495 (_G_HAVE_IO_FILE_OPEN): Likewise.
24496 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24497 (_G_int32_t): Likewise.
24498 (_G_uint16_t): Likewise.
24499 (_G_uint32_t): Likewise.
24500 (_G_HAVE_BOOL): Likewise.
24501 (_G_HAVE_ATEXIT): Likewise.
24502 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24503 (_G_HAVE_IO_FILE_OPEN): Likewise.
24504 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24505 (_G_int32_t): Likewise.
24506 (_G_uint16_t): Likewise.
24507 (_G_uint32_t): Likewise.
24508 (_G_HAVE_BOOL): Likewise.
24509 (_G_HAVE_ATEXIT): Likewise.
24510 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24511 (_G_HAVE_IO_FILE_OPEN): Likewise.
24513 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24515 * csu/libc-tls.c: Update copyright years.
24517 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24519 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24520 [!_G_USING_THUNKS]: Remove conditional code.
24521 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24522 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24524 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24525 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24526 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24527 (_G_VTABLE_LABEL_PREFIX): Likewise.
24528 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24529 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24530 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24531 (_G_VTABLE_LABEL_PREFIX): Likewise.
24532 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24533 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24534 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24535 (_G_VTABLE_LABEL_PREFIX): Likewise.
24536 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24538 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24540 * libio/Makefile: Include ../Makeconfig before tests.
24541 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24542 only if $(build-shared) is yes.
24544 * iconv/gconv_db.c: Update copyright years.
24546 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24548 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24549 unwind info if defined PIC. Fix special cases description.
24550 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24552 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24554 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24556 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24558 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24560 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24563 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24564 (LDLIBS-tst-chk4): This.
24565 (LDFLAGS-tst-chk5): Renamed to ...
24566 (LDLIBS-tst-chk5): This.
24567 (LDFLAGS-tst-chk6): Renamed to ...
24568 (LDLIBS-tst-chk6): This.
24569 (LDFLAGS-tst-lfschk4): Renamed to ...
24570 (LDLIBS-tst-lfschk4): This.
24571 (LDFLAGS-tst-lfschk5): Renamed to ...
24572 (LDLIBS-tst-lfschk5): This.
24573 (LDFLAGS-tst-lfschk6): Renamed to ...
24574 (LDLIBS-tst-lfschk6): This.
24576 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24577 on $(common-objpfx)soversions.mk.
24579 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24582 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24585 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24587 * malloc/arena.c (arena_get_retry): New function that gets
24588 another arena for the caller to try its request on.
24589 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24590 current arena cannot fulfill the request.
24591 (__libc_memalign): Likewise.
24592 (__libc_memalign): Likewise.
24593 (__libc_pvalloc): Likewise.
24594 (__libc_calloc): Likewise.
24596 2012-09-05 John Tobey <john.tobey@gmail.com>
24599 * manual/arith.texi (Operations on Complex): Fix description
24600 of carg branch cut.
24602 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24605 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24609 * manual/memory.texi (Memory): Make order of menu items match
24612 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24614 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24615 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24616 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24618 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24620 * csu/libc-tls.c (static_dtv): Renamed to ...
24621 (_dl_static_dtv): This. Make it global.
24622 (_dl_initial_dtv): Removed.
24623 (__libc_setup_tls): Updated.
24624 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24625 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24628 2012-09-06 Petr Machata <pmachata@redhat.com>
24630 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24631 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24632 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24633 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24635 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24638 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24639 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24642 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24645 * Makeconfig (link-static-before-libc): Replace $(+prector)
24647 (link-static-after-libc): Replace $(+postctor) with
24649 (link-bounded): Replace $(+prector)/$(+postctor) with
24650 $(+prectorT)/$(+postctorT).
24651 (+prectorT): New macro.
24652 (+postctorT): Likewise.
24654 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24656 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24657 (round_str): Handle values above the maximum for IBM long double
24659 * stdlib/tst-strtod-round.c (tests): Regenerated.
24661 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24663 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24665 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24666 zarch_nohighgprs around the zarch optimized routines.
24667 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24668 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24669 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24672 2012-09-05 David S. Miller <davem@davemloft.net>
24674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24676 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24677 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24678 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24679 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24682 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24684 * malloc/arena.c: Fold copyright years.
24685 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24687 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24689 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24691 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24693 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24695 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24697 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24698 change internal state upon failure.
24700 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24702 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24703 * malloc/memusage.c (mmap): Likewise.
24704 (mmap64, mremap): Likewise. Adjust name in comment.
24706 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24708 * libio/fileops.c: Fix typos in comments.
24709 * libio/oldfileops.c: Likewise.
24710 * libio/wfileops.c: Likewise.
24712 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24715 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24716 (tst-malloc-usable-ENV): Set environment for test case.
24717 * malloc/hooks.c (malloc_check_get_size): New function to get
24719 * malloc/malloc.c (musable): Use malloc_check_get_size.
24720 * malloc/tst-malloc-usable.c: New test case.
24722 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24724 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24726 2012-09-05 Allan McRae <allan@archlinux.org>
24729 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24730 determine header location.
24731 * configure: Regenerated.
24733 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24735 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24737 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24738 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24740 (test): Regenerate.
24742 2012-09-04 David S. Miller <davem@davemloft.net>
24744 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24745 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24746 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24748 2012-09-04 Florian Weimer <fweimer@redhat.com>
24750 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24753 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24755 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24758 * libio/iogetdelim.c: Include <limits.h>.
24759 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24760 + len + 1 would overflow.
24762 2012-09-03 Andreas Jaeger <aj@suse.de>
24764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24765 * sysdeps/i386/fpu/libm-test-ulps: Update.
24767 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24769 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24770 Add s_sinf-sse2, s_conf-sse2.
24772 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24773 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24774 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24775 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24777 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24778 for using routine as __sinf_ia32.
24779 Use macro for function declaration and weak_alias.
24780 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24781 for using routine as __cosf_ia32.
24782 Use macro for function declaration and weak_alias.
24784 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24785 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24787 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24788 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24791 * math/libm-test.inc (cos_test): Add more test cases.
24792 (sin_test): Likewise.
24793 (sincos_test): Likewise.
24795 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24797 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24798 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24800 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24802 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24805 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24806 first element of the GOT.
24807 (elf_machine_load_address): Return the difference between
24808 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24810 2012-09-01 Allan McRae <allan@archlinux.org>
24813 * configure.in (AWK): Require gawk version 3.0 or later.
24814 * configure: Regenerated.
24816 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24818 * sysdeps/unix/sysv/linux/kernel-features.h
24819 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24820 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24821 [__NR_clock_getres]: Make code unconditional.
24822 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24823 (clock_getcpuclockid): Remove code left unreachable by removal of
24825 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24826 code unconditional.
24827 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24828 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24829 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24830 Make code unconditional.
24831 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24832 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24833 * sysdeps/unix/sysv/linux/clock_settime.c
24834 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24836 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24837 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24839 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24842 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24843 scripts/test-installation.pl.
24845 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24846 and $ld_so_version if it is set.
24848 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24851 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24852 failure if reading from procfs failed.
24853 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24855 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24857 * sysdeps/unix/sysv/linux/kernel-features.h
24858 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24859 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24860 Remove conditional code.
24861 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24862 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24863 Remove conditional code.
24864 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24865 * sysdeps/unix/sysv/linux/i386/fxstat.c
24866 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24867 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24868 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24869 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24870 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24871 * sysdeps/unix/sysv/linux/i386/lxstat.c
24872 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24873 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24874 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24875 Remove conditional code.
24876 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24877 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24878 Remove conditional code.
24879 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24880 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24881 <kernel-features.h>.
24882 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24884 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24885 Remove conditional code.
24886 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24887 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24888 Remove conditional.
24890 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24893 * NEWS: Add fixed bug number.
24895 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24898 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24899 underflowing exponent in case of negative sign.
24900 * stdlib/tst-strtod-round-data: Add more tests.
24901 * stdlib/tst-strtod-round.c (tests): Regenerated.
24904 * stdlib/strtod_l.c (NDIG): Remove.
24905 (HEXNDIG): Likewise.
24906 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24907 smallest representable value.
24908 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24909 lie within an exact representation of 1/2 ulp of the result.
24910 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24912 (TENS_P9_IDX): Define unconditionally.
24913 (TENS_P9_SIZE): Likewise.
24914 (TENS_P10_IDX): Likewise.
24915 (TENS_P10_SIZE): Likewise.
24916 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24917 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24918 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24919 entries for 10^2^13 and 10^2^14.
24920 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24921 (TENS_P13_IDX): Define.
24922 (TENS_P13_SIZE): Likewise.
24923 (TENS_P14_IDX): Likewise.
24924 (TENS_P14_SIZE): Likewise.
24925 (_fpioconst_pow10): Change array size to
24926 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24928 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24929 1024]: Add entries for 10^2^13 and 10^2^14.
24930 [LAST_POW10 > _LAST_POW10]: Remove #error.
24931 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24932 (_fpioconst_pow10): Change array size to
24933 FPIOCONST_POW10_ARRAY_SIZE.
24934 * stdlib/gen-fpioconst.c: New file.
24935 * stdlib/gen-tst-strtod-round.c: Likewise.
24936 * stdlib/tst-strtod-round-data: Likewise.
24937 * stdlib/tst-strtod-round.c: Likewise.
24938 * stdlib/Makefile (tests): Add tst-strtod-round.
24941 * stdlib/strtod_l.c: Include <stdint.h>.
24942 (NDEBUG): Do not define.
24943 (round_and_return): Change EXPONENT parameter to type intmax_t.
24944 Rearrange calculations to avoid internal overflow possibilities.
24945 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24946 Rearrange calculations to avoid internal overflow possibilities.
24947 Assert that number fits inside MPNSIZE limbs.
24948 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24949 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24950 calculations and add assertions to avoid internal overflow
24951 possibilities. Add casts to avoid signed/unsigned operations.
24952 * stdlib/tst-strtod-overflow.c: New file.
24953 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24955 2012-08-25 Marek Polacek <polacek@redhat.com>
24957 * time/time.h: Fix some typos in comments.
24959 2012-08-23 Roland McGrath <roland@hack.frob.com>
24961 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24962 * posix/tst-rfc3484-2.c: Likewise.
24963 * posix/tst-rfc3484-3.c: Likewise.
24965 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24967 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24968 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24970 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24972 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24973 #include of fxstatat64.c.
24975 2012-08-22 Roland McGrath <roland@hack.frob.com>
24977 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24978 * shadow/getspent_r.c: Likewise.
24979 * shadow/getspnam.c: Likewise.
24980 * shadow/getspnam_r.c: Likewise.
24981 * gshadow/getsgent.c: Likewise.
24982 * gshadow/getsgent_r.c: Likewise.
24983 * gshadow/getsgnam.c: Likewise.
24984 * gshadow/getsgnam_r.c: Likewise.
24985 * inet/getnetbyad.c: Likewise.
24986 * inet/getnetbyad_r.c: Likewise.
24987 * inet/getnetbynm.c: Likewise.
24988 * inet/getnetbynm_r.c: Likewise.
24989 * inet/getnetent.c: Likewise.
24990 * inet/getnetent_r.c: Likewise.
24991 * inet/getproto.c: Likewise.
24992 * inet/getproto_r.c: Likewise.
24993 * inet/getprtent.c: Likewise.
24994 * inet/getprtent_r.c: Likewise.
24995 * inet/getprtname.c: Likewise.
24996 * inet/getprtname_r.c: Likewise.
24997 * inet/getrpcbyname.c: Likewise.
24998 * inet/getrpcbyname_r.c: Likewise.
24999 * inet/getrpcbynumber.c: Likewise.
25000 * inet/getrpcbynumber_r.c: Likewise.
25001 * inet/getrpcent.c: Likewise.
25002 * inet/getrpcent_r.c: Likewise.
25003 * inet/getaliasent.c: Likewise.
25004 * inet/getaliasent_r.c: Likewise.
25005 * inet/getaliasname.c: Likewise.
25006 * inet/getaliasname_r.c: Likewise.
25007 * nscd/getgrgid_r.c: Likewise.
25008 * nscd/getgrnam_r.c: Likewise.
25009 * nscd/gethstbyad_r.c: Likewise.
25010 * nscd/gethstbynm3_r.c: Likewise.
25011 * nscd/getpwnam_r.c: Likewise.
25012 * nscd/getpwuid_r.c: Likewise.
25013 * nscd/getsrvbynm_r.c: Likewise.
25014 * nscd/getsrvbypt_r.c: Likewise.
25015 * nscd/gai.c: Likewise.
25017 * configure.in (build_nscd): New substituted variable, set
25018 by --disable-build-nscd and defaults to $use_nscd.
25019 * configure: Regenerated.
25020 * config.make.in (build-nscd): New substituted variable.
25021 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25022 Change conditional to require [$(build-nscd) = yes] as well.
25023 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25026 * configure.in (use_nscd): New substituted variable, set by
25027 --disable-nscd. If enabled, define USE_NSCD.
25028 * configure: Regenerated.
25029 * config.h.in: Add USE_NSCD.
25030 * config.make.in (use-nscd): New substituted variable.
25031 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25032 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25033 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25034 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25035 (CFLAGS-getgrnam_r.c): Likewise.
25036 (CFLAGS-initgroups.c): Likewise.
25037 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25038 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25040 * inet/getnetgrent_r.c
25041 (nscd_setnetgrent): New function, broken out of ...
25042 (setnetgrent): ... here. Call it.
25043 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25044 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25045 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25046 * nscd/Makefile (routines, aux): Move definitions after include of
25047 Makeconfig. Conditionalize on [$(use-nscd) != no].
25048 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25049 Conditionalize on [USE_NSCD].
25050 (is_nscd, nscd_init_cb): Likewise.
25051 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25052 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25053 * nss/nss_db/db-init.c: Likewise.
25054 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25056 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25057 (make_request): Use it.
25058 (cache_valid_p): New function.
25059 (__check_pf): Use it.
25060 * NEWS: Add item for --disable-nscd.
25062 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25064 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25065 to support sed >= 4.2.1-20-ga9bf076.
25066 * configure: Regenerated.
25068 2012-08-22 Roland McGrath <roland@hack.frob.com>
25070 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25071 Conditionalize whole body on [IREL].
25073 2012-08-22 Jeff Law <law@redhat.com>
25076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25077 if the family is PF_UNSPEC.
25079 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25081 * Makerules (lib-version): Rename from V.
25082 (install-lib-nosubdir): Change V to lib-version.
25084 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25087 * powerpc32/power6/wcschr.c: New file.
25088 * powerpc32/power6/wcscpy.c: New file.
25089 * powerpc32/power6/wcsrchr.c: New file.
25090 * powerpc64/power6/wcschr.c: New file.
25091 * powerpc64/power6/wcscpy.c: New file.
25092 * powerpc64/power6/wcsrchr.c: New file.
25094 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25096 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25097 (two_way_short_needle): Use it.
25098 * string/strstr.c (AVAILABLE1_USES_J): Define.
25099 * string/strcasestr.c: Likewise.
25101 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25103 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25106 * NEWS: Add an entry.
25107 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25108 define their defaults.
25109 (two_way_short_needle): Detect end-of-string on-the-fly.
25110 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25111 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25112 * string/bug-strcasestr1.c: New test.
25113 * string/Makefile: Run it.
25115 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25118 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25119 the first character.
25121 2012-08-21 Roland McGrath <roland@hack.frob.com>
25123 * csu/elf-init.c (__libc_csu_irel): Function removed.
25124 * csu/libc-start.c (apply_irel): New function.
25125 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25127 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25129 * sysdeps/unix/sysv/linux/kernel-features.h
25130 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25131 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25132 <kernel-features.h>.
25133 [__NR_fadvise64_64]: Make code unconditional.
25134 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25135 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25136 !__NR_fadvise64_64)]: Likewise.
25137 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25138 !__NR_fadvise64_64))]: Likewise.
25139 [__NR_fadvise64]: Make code unconditional.
25140 [!__NR_fadvise64]: Remove conditional code.
25141 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25142 <kernel-features.h>.
25143 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25145 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25148 not include <kernel-features.h>.
25149 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25151 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25153 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25154 include <kernel-features.h>.
25155 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25157 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25160 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25162 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25163 slight instruction rearrangements per scrollpipe analysis.
25164 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25166 2012-08-20 Roland McGrath <roland@hack.frob.com>
25168 * manual/syslog.texi (syslog; vsyslog, closelog):
25169 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25170 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25172 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25173 DSOCAPS to match condition on defining it.
25175 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25177 * sysdeps/unix/sysv/linux/kernel-features.h
25178 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25180 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25181 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25183 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25184 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25186 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25187 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25189 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25190 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25192 * sysdeps/unix/sysv/linux/kernel-features.h
25193 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25194 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25196 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25197 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25198 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25199 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25200 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25201 Make code unconditional.
25202 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25203 (__mmap64) [!__NR_mmap2]: Likewise.
25204 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25205 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25206 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25207 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25208 [__NR_mmap2]: Make code unconditional.
25209 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25210 (__mmap64) [!__NR_mmap2]: Likewise.
25212 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25214 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25216 2012-08-18 Andreas Jaeger <aj@suse.de>
25218 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25220 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25222 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25223 * include/unistd.h (__have_sock_cloexec): Likewise.
25224 (__have_pipe2): Likewise.
25225 (__have_dup3): Likewise.
25227 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25230 * include/unistd.h (__have_pipe2): Change define into an extern int.
25231 (__have_dup3): Likewise.
25232 * socket/have_sock_cloexec.c: Include fcntl.h.
25233 (__have_pipe2): New variable.
25234 (__have_dup3): Likewise.
25236 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25238 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25240 2012-08-17 Marek Polacek <polacek@redhat.com>
25242 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25243 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25245 2012-08-17 Roland McGrath <roland@hack.frob.com>
25247 * configure.in: Add AC_SUBST for sysheaders.
25248 * configure: Regenerated.
25249 * config.make.in (sysheaders): New substituted variable.
25251 * sysdeps/unix/mkfifo.c: Moved ...
25252 * sysdeps/posix/mkfifo.c: ... here.
25253 * sysdeps/unix/mkfifoat.c: Moved ...
25254 * sysdeps/posix/mkfifoat.c: ... here.
25256 * sysdeps/unix/utime.c: Moved ...
25257 * sysdeps/posix/utime.c: ... here.
25259 * sysdeps/unix/time.c: Moved ...
25260 * sysdeps/posix/time.c: ... here.
25261 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25262 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25264 * sysdeps/unix/nice.c: Moved ...
25265 * sysdeps/posix/nice.c: ... here.
25267 * sysdeps/unix/alarm.c: Moved ...
25268 * sysdeps/posix/alarm.c: ... here.
25270 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25272 2012-08-17 Jeff Law <law@redhat.com>
25274 * intl/Makefile (codeset_mo): New variable.
25275 ($(codeset_mo)): New target.
25276 (tst-codeset.out): Depend on that. Remove explicit rule.
25277 (tst-gettext3.out, tst-gettext5.out): Likewise.
25278 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25279 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25280 * intl/tst-codeset.sh: Remove.
25281 * intl/tst-gettext3.sh: Likewise.
25282 * intl/tst-gettext5.sh: Likewise.
25284 2012-08-17 Roland McGrath <roland@hack.frob.com>
25286 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25287 * sysdeps/unix/syscalls.list: ... here.
25289 * sysdeps/posix/getaddrinfo.c
25290 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25291 (gaiconf_init, gaiconf_reload): Use them.
25292 [!_STATBUF_ST_NSEC]
25293 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25294 Define using time_t rather than struct timespec.
25296 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25297 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25299 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25301 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25302 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25305 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25306 __libc_cleanup_push argument.
25308 * bits/param.h: New file.
25309 * misc/sys/param.h: New file.
25310 * include/sys/param.h: New file.
25311 * misc/Makefile (headers): Add bits/param.h.
25312 * sysdeps/generic/sys/param.h: File removed.
25313 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25314 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25315 * sysdeps/mach/hurd/bits/param.h: New file.
25316 * sysdeps/mach/hurd/sys/param.h: File removed.
25318 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25321 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25323 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25324 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25327 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25328 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25329 rather than -D_IO_MTSAFE_IO conditionally.
25330 * stdio-common/Makefile (CPPFLAGS): Likewise.
25331 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25332 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25333 Use $(libio-mtsafe).
25334 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25335 of -D_IO_MTSAFE_IO.
25336 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25337 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25338 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25339 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25340 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25341 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25342 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25343 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25344 (CFLAGS-fread_u_chk.c): Likewise.
25345 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25346 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25347 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25348 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25349 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25350 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25351 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25352 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25353 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25355 * libio/Makefile: Test [$(libc-reentrant) = yes]
25356 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25359 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25360 * sysdeps/pthread/configure: File removed.
25361 * sysdeps/pthread/Makeconfig: New file.
25362 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25363 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25365 2012-08-16 Gary Benson <gbenson@redhat.com>
25367 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25368 unmapping the first object in a namespace.
25370 2012-08-16 Roland McGrath <roland@hack.frob.com>
25372 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25373 (__internal_setnetgrent): ... this. Add internal_function to
25374 definition. Add libc_hidden_def.
25375 (setnetgrent): Update caller.
25376 (internal_endnetgrent): Renamed to ...
25377 (__internal_endnetgrent): ... this. Add internal_function to
25378 definition. Add libc_hidden_def.
25379 (endnetgrent): Update caller.
25380 (internal_getnetgrent_r): Renamed to ...
25381 (__internal_getnetgrent_r): ... this. Add internal_function to
25382 definition. Add libc_hidden_def.
25383 (__getnetgrent_r): Update caller.
25384 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25386 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25388 * stdlib/longlong.h: Update from GCC.
25390 2012-08-16 Roland McGrath <roland@hack.frob.com>
25392 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25393 on _QL, which is set by umul_ppmm but never used.
25394 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25395 variables, which are set by GMP macros but never used.
25396 * stdio-common/_itowa.c (_itowa): Likewise.
25397 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25398 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25400 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25402 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25403 struct La_sh_regs is not constant.
25404 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25405 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25406 and struct La_sparc64_regs are not constant.
25408 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25410 * sysdeps/unix/sysv/linux/kernel-features.h
25411 (__ASSUME_POSIX_TIMERS): Remove.
25412 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25413 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25414 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25415 Make code unconditional.
25416 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25417 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25418 Make code unconditional.
25419 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25420 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25421 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25422 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25423 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25424 Make code unconditional.
25425 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25426 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25427 (__libc_missing_posix_timers): Remove.
25429 2012-08-15 Roland McGrath <roland@hack.frob.com>
25431 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25432 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25434 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25436 * elf/dl-sym.c: Include <stdlib.h>.
25438 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25439 constants, which avoids warnings in 32-bit builds.
25441 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25442 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25444 * misc/lseek.c: File moved to ...
25445 * io/lseek.c: ... here.
25447 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25449 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25450 shifting LEN more than 31 bits at once.
25452 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25455 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25456 segmentation fault for a case of two empty input strings.
25457 * string/test-strncasecmp.c (check1): Renamed to...
25458 (bz12205): ...this.
25459 (bz14195): Add new testcase for two empty input strings and N > 0.
25460 (test_main): Call new testcase, adapt for renamed function.
25462 2012-08-15 Andreas Jaeger <aj@suse.de>
25465 * crypt/md5test2.c: New test, based on test supplied by Serge
25466 Belyshev <belyshev@depni.sinp.msu.ru>.
25467 * crypt/Makefile (xtests): Add md5test-giant..
25468 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25470 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25473 * crypt/md5.c (md5_process_block): Don't assume the buffer
25474 length is less than 2**32.
25475 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25476 length is less than 2**64.
25478 2012-08-15 Roland McGrath <roland@hack.frob.com>
25480 * string/str-two-way.h: Include <sys/param.h>.
25481 (MAX): Macro removed.
25483 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25484 Move #define and #undef of memmove to just before and after
25485 including <string.h>.
25487 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25488 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25489 and after including <string.h>. Move declarations of
25490 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25491 to before #include "string/memmove.c".
25493 * include/dirent.h: Declare __getdirentries.
25495 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25496 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25498 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25500 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25501 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25502 * sysdeps/i386/configure: Regenerated.
25503 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25504 STABS_CURRENT_FILE, and STABS_FUN.
25505 (END): Remove call to STABS_FUN_END.
25506 (STABS_CURRENT_FILE1): Delete.
25507 (STABS_CURRENT_FILE): Likewise.
25508 (STABS_FUN): Likewise.
25509 (STABS_FUN_END): Likewise.
25510 (STABS_FUN2): Likewise.
25511 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25512 * sysdeps/x86_64/configure: Regenerated.
25514 2012-08-14 Roland McGrath <roland@hack.frob.com>
25516 * elf/dl-open.c: Include <atomic.h>.
25517 * elf/dl-lookup.c: Likewise.
25519 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25521 * sysdeps/unix/sysv/linux/kernel-features.h
25522 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25523 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25525 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25527 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25528 condition on __ASSUME_CLONE_THREAD_FLAGS.
25530 2012-08-14 Andreas Jaeger <aj@suse.de>
25532 * sysdeps/i386/fpu/libm-test-ulps: Update.
25534 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25536 * include/atomic.h (atomic_exchange_and_add): Split into ...
25537 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25540 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25544 2012-08-13 Jeff Law <law@redhat.com>
25546 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25547 null byte in the output string.
25549 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25551 * sysdeps/unix/sysv/linux/kernel-features.h
25552 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25553 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25554 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25555 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25556 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25557 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25558 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25560 2012-08-09 Jeff Law <law@redhat.com>
25563 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25564 When avoid_arena is set, don't retry in the that arena. Pick the
25565 next one, whatever it might be.
25566 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25567 (arena_lock): Pass in new parameter to arena_get2.
25568 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25570 (__libc_malloc): Unify retrying after main arena failure with
25571 __libc_memalign version.
25572 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25574 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25577 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25578 to __redirect_strstr.
25579 (__strstr_sse42): Use typeof __redirect_strstr.
25580 (__strstr_ia32): Likewise.
25581 (__libc_strstr): New prototype.
25582 (strstr): Renamed to ...
25583 (__libc_strstr): This.
25584 (strstr): New strong alias of __libc_strstr.
25585 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25586 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25589 (__libc_time): New prototype.
25590 (time_ifunc): Replace time with __libc_time.
25591 (time): New strong alias and hidden definition of __libc_time.
25592 (__GI_time): Remove strong alias.
25593 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25594 Include <stddef.h>.
25595 (memmove): Redefined to __redirect_memmove.
25596 (__memmove_sse2): Use typeof __redirect_memmove.
25597 (__memmove_ssse3): Likewise.
25598 (__memmove_ssse3_back): Likewise.
25599 (__libc_memmove): New prototype.
25600 (memmove): Renamed to ...
25601 (__libc_memmove): This.
25602 (memmove): New strong alias of __libc_memmove.
25604 2012-08-08 Mark Salter <msalter@redhat.com>
25607 (R_MN10300_TLS_GD): Define.
25608 (R_MN10300_TLS_LD): Likewise.
25609 (R_MN10300_TLS_LDO): Likewise.
25610 (R_MN10300_TLS_GOTIE): Likewise.
25611 (R_MN10300_TLS_IE): Likewise.
25612 (R_MN10300_TLS_LE): Likewise.
25613 (R_MN10300_TLS_DTPMOD): Likewise.
25614 (R_MN10300_TLS_DTPOFF): Likewise.
25615 (R_MN10300_TLS_TPOFF): Likewise.
25616 (R_MN10300_SYM_DIFF): Likewise.
25617 (R_MN10300_ALIGN): Likewise.
25618 (R_MN10300_NUM): Update.
25620 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25622 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25625 2012-08-08 Roland McGrath <roland@hack.frob.com>
25627 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25629 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25630 sysdeps/unix -> sysdeps/posix move.
25631 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25633 2012-08-07 Allan McRae <allan@archlinux.org>
25636 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25637 (SUNOS_CPP): Likewise.
25638 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25640 (open_input): Call CPP using execvp.
25642 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25644 * sysdeps/unix/sysv/linux/kernel-features.h
25645 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25646 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25647 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25648 (__ASSUME_WAITID_SYSCALL): Likewise.
25649 * sysdeps/unix/sysv/linux/dl-execstack.c
25650 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25651 code unconditional.
25652 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25654 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25655 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25656 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25658 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25660 [__ASSUME_WAITID_SYSCALL]: Likewise.
25661 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25663 2012-08-07 Roland McGrath <roland@hack.frob.com>
25665 * sysdeps/unix/closedir.c: Renamed to ...
25666 * sysdeps/posix/closedir.c: ... here.
25667 * sysdeps/unix/dirfd.c: Renamed to ...
25668 * sysdeps/posix/dirfd.c: ... here.
25669 * sysdeps/unix/dirstream.h: Renamed to ...
25670 * sysdeps/posix/dirstream.h: ... here.
25671 * sysdeps/unix/fdopendir.c: Renamed to ...
25672 * sysdeps/posix/fdopendir.c: ... here.
25673 * sysdeps/unix/opendir.c: Renamed to ...
25674 * sysdeps/posix/opendir.c: ... here.
25675 * sysdeps/unix/readdir.c: Renamed to ...
25676 * sysdeps/posix/readdir.c: ... here.
25677 * sysdeps/unix/readdir_r.c: Renamed to ...
25678 * sysdeps/posix/readdir_r.c: ... here.
25679 * sysdeps/unix/rewinddir.c: Renamed to ...
25680 * sysdeps/posix/rewinddir.c: ... here.
25681 * sysdeps/unix/seekdir.c: Renamed to ...
25682 * sysdeps/posix/seekdir.c: ... here.
25683 * sysdeps/unix/telldir.c: Renamed to ...
25684 * sysdeps/posix/telldir.c: ... here.
25685 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25686 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25687 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25688 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25690 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25691 * bits/fcntl.h: ... here.
25693 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25695 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25696 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25697 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25698 (struct flock): Move l_start, l_len to the beginning.
25699 Use __pid_t for l_pid.
25700 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25701 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25702 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25703 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25704 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25705 [__USE_LARGEFILE64] (struct flock64): New type.
25706 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25708 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25709 * bits/dirent.h: ... here.
25711 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25712 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25714 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25716 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25717 Change from 2.6.0 to 2.6.16.
25718 * sysdeps/unix/sysv/linux/configure: Regenerated.
25719 * sysdeps/unix/sysv/linux/kernel-features.h
25720 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25721 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25723 (__ASSUME_UTIMES): Likewise.
25724 (__ASSUME_CLONE_STOPPED): Remove.
25725 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25726 architectures, not kernel version.
25727 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25728 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25729 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25730 (__ASSUME_WAITID_SYSCALL): Likewise.
25731 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25732 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25733 * README: State 2.6.16 as minimum Linux kernel version. Do not
25734 refer to older versions.
25736 2012-08-06 Roland McGrath <roland@hack.frob.com>
25738 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25739 Define alphasort64 as an alias.
25740 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25741 Define versionsort64 as an alias.
25742 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25743 Define scandir64 as an alias.
25744 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25745 Define scandirat64 as an alias.
25746 * dirent/alphasort64.c (alphasort64):
25747 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25748 * dirent/versionsort64.c: Likewise.
25749 * dirent/scandir64.c: Likewise.
25750 * dirent/scandirat64.c: Likewise.
25751 * sysdeps/wordsize-64/alphasort.c: File removed.
25752 * sysdeps/wordsize-64/alphasort64.c: File removed.
25753 * sysdeps/wordsize-64/scandir.c: File removed.
25754 * sysdeps/wordsize-64/scandir64.c: File removed.
25755 * sysdeps/wordsize-64/scandirat.c: File removed.
25756 * sysdeps/wordsize-64/scandirat64.c: File removed.
25757 * sysdeps/wordsize-64/versionsort.c: File removed.
25758 * sysdeps/wordsize-64/versionsort64.c: File removed.
25759 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25760 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25761 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25762 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25763 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25764 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25765 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25766 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25768 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25769 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25770 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25771 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25772 [defined __arch64__ || defined __sparcv9]
25773 (__INO_T_MATCHES_INO64_T): New macro.
25774 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25775 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25776 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25777 * sysdeps/unix/sysv/linux/bits/dirent.h
25778 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25779 (_DIRENT_MATCHES_DIRENT64): New macro.
25781 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25782 Define lockf64 as an alias.
25783 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25784 Define fseeko64 as an alias.
25785 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25786 Define ftello64 as an alias.
25787 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25788 Define _IO_fgetpos64 and fgetpos64 as aliases.
25789 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25790 Define _IO_fsetpos64 and fsetpos64 as aliases.
25791 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25792 Conditionalize body on this.
25793 * libio/fseeko64.c: Likewise.
25794 * libio/ftello64.c: Likewise.
25795 * libio/iofgetpos64.c: Likewise.
25796 * libio/iofsetpos64.c: Likewise.
25797 * sysdeps/wordsize-64/lockf.c: File removed.
25798 * sysdeps/wordsize-64/lockf64.c: File removed.
25799 * sysdeps/wordsize-64/fseeko.c: File removed.
25800 * sysdeps/wordsize-64/fseeko64.c: File removed.
25801 * sysdeps/wordsize-64/ftello.c: File removed.
25802 * sysdeps/wordsize-64/ftello64.c: File removed.
25803 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25804 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25805 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25806 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25807 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25808 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25809 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25810 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25811 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25812 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25813 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25814 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25815 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25816 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25818 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25819 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25820 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25821 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25822 [defined __arch64__ || defined __sparcv9]
25823 (__OFF_T_MATCHES_OFF64_T): New macro.
25824 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25825 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25826 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25827 (__OFF_T_MATCHES_OFF64_T): New macro.
25829 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25831 * stdlib/secure-getenv.c (__secure_getenv): Replace
25832 GLIBC_2_16 with GLIBC_2_17.
25834 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25836 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25837 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25839 2012-08-03 David S. Miller <davem@davemloft.net>
25841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25843 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25847 (__ASSUME_CORRECT_SI_PID): Likewise.
25848 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25849 (__ASSUME_TMPFS_NAME): Likewise.
25850 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25851 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25852 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25853 (HAVE_AUX_SECURE): Make definition unconditional.
25854 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25855 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25857 2012-08-03 Roland McGrath <roland@hack.frob.com>
25859 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25860 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25861 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25862 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25863 __eloop_threshold instead of SYMLOOP_MAX.
25865 * sysdeps/generic/eloop-threshold.h: New file.
25866 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25868 * elf/chroot_canon.c (chroot_canon): Likewise.
25870 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25873 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25874 Change to 2.6.0 everywhere.
25875 * sysdeps/unix/sysv/linux/configure: Regenerated.
25876 * sysdeps/unix/sysv/linux/kernel-features.h
25877 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25878 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25880 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25881 (__ASSUME_FUTEX_REQUEUE): Remove.
25882 (__ASSUME_STATFS64): Define unconditionally.
25883 (__ASSUME_AT_SECURE): Likewise.
25884 (__ASSUME_CORRECT_SI_PID): Likewise.
25885 (__ASSUME_TGKILL): Define without depending on kernel version for
25887 (__ASSUME_UTIMES): Likewise.
25888 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25890 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25891 (__ASSUME_TMPFS_NAME): Likewise.
25892 * README: Update reference to Linux kernel versions.
25894 2012-08-02 Marek Polacek <polacek@redhat.com>
25897 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25898 libc_cv_asm_type_prefix with %.
25899 * configure: Regenerated.
25900 * include/libc-symbols.h: Remove comment about
25901 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25902 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25903 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25904 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25905 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25906 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25907 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25908 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25909 * elf/tst-unique2mod1.c: Likewise.
25910 * elf/tst-unique1mod2.c: Likewise.
25911 * elf/tst-unique1mod1.c: Likewise.
25912 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25913 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25914 Replace ASM_TYPE_DIRECTIVE with .type.
25915 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25916 * sysdeps/i386/sysdep.h: Likewise.
25917 * sysdeps/x86_64/sysdep.h: Likewise.
25918 * sysdeps/sh/sysdep.h: Likewise.
25919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25920 Do not define ASM_TYPE_DIRECTIVE.
25921 * sysdeps/powerpc/sysdep.h: Likewise.
25922 * sysdeps/powerpc/powerpc32/sysdep.h:
25923 Replace ASM_TYPE_DIRECTIVE with .type.
25924 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25925 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25926 * sysdeps/i386/fpu/e_powf.S: Likewise.
25927 * sysdeps/i386/fpu/e_expl.S: Likewise.
25928 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25929 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25930 * sysdeps/i386/fpu/e_pow.S: Likewise.
25931 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25932 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25933 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25934 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25935 * sysdeps/i386/fpu/e_log2.S: Likewise.
25936 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25937 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25938 * sysdeps/i386/fpu/e_powl.S: Likewise.
25939 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25940 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25941 * sysdeps/i386/fpu/e_logl.S: Likewise.
25942 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25943 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25944 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25945 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25946 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25947 * sysdeps/i386/fpu/e_log.S: Likewise.
25948 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25949 * sysdeps/i386/fpu/e_logf.S: Likewise.
25950 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25951 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25952 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25953 * sysdeps/i386/fpu/e_log10.S: Likewise.
25954 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25955 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25956 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25957 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25958 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25959 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25960 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25961 * sysdeps/i386/i686/strtok.S: Likewise.
25962 * sysdeps/i386/i386-mcount.S: Likewise.
25963 * sysdeps/i386/strtok.S: Likewise.
25964 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25965 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25966 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25967 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25968 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25969 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25970 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25971 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25972 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25973 * sysdeps/x86_64/_mcount.S: Likewise.
25974 * sysdeps/x86_64/strtok.S: Likewise.
25975 * sysdeps/sh/_mcount.S: Likewise.
25977 2012-08-01 Roland McGrath <roland@hack.frob.com>
25979 * libio/iofopen.c: Include <fcntl.h>.
25980 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25981 (_IO_fopen64, fopen64): Define as aliases.
25982 * libio/iofopen64.c: Include <fcntl.h>.
25983 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25984 Conditionalize body on this.
25985 * sysdeps/wordsize-64/iofopen.c: File removed.
25986 * sysdeps/wordsize-64/iofopen64.c: File removed.
25988 2012-08-01 Marek Polacek <polacek@redhat.com>
25990 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25991 Use dlfcn directly instead of a variable.
25992 (binfmt-subdir): Do not define.
25995 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25997 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25998 Remove all definitions.
25999 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26000 <kernel-features.h>.
26001 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26002 (miss_F_GETOWN_EX): Remove all definitions.
26003 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26005 [!__ASSUME_FCNTL64]: Remove conditional code.
26006 [__ASSUME_FCNTL64]: Make code unconditional.
26007 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26008 <kernel-features.h>.
26009 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26010 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26011 (lockf64) [__NR_fcntl64]: Make code unconditional.
26012 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26014 * sysdeps/unix/sysv/linux/kernel-features.h
26015 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26016 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26017 Make code unconditional.
26018 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26019 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26021 [__NR_vfork]: Make code unconditional.
26022 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26023 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26025 [__NR_vfork]: Make code unconditional.
26026 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26027 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26029 2012-08-01 Roland McGrath <roland@hack.frob.com>
26031 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26032 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26034 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26035 Define mkstemp64 as an alias.
26036 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26037 Define mkstemps64 as an alias.
26038 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26039 Define mkostemp64 as an alias.
26040 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26041 Define mkostemps64 as an alias.
26042 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26043 Conditionalize body on this.
26044 * misc/mkostemp64.c: Likewise.
26045 * misc/mkostemps64.c: Likewise.
26046 * misc/mkstemps64.c: Likewise.
26047 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26048 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26049 * sysdeps/wordsize-64/mkostemp.c: File removed.
26050 * sysdeps/wordsize-64/mkstemp.c: File removed.
26051 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26052 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26053 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26054 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26057 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26058 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26059 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26060 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26062 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26063 compat_symbol macros from <shlib-compat.h> rather than the underlying
26064 default_symbol_version and symbol_version macros, so that DEFAULT
26065 lines in shlib-versions are respected.
26066 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26068 2012-08-01 Florian Weimer <fweimer@redhat.com>
26070 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26071 Declare with warn_unused_result.
26072 (setgid, setregid, setegid, setresgid): Likewise.
26073 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26075 * WUR-REPORT: Remove set*id functions.
26077 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26079 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26081 2012-07-31 Roland McGrath <roland@hack.frob.com>
26084 * include/sys/socket.h (__libc_accept, __libc_accept4):
26085 Add attribute_hidden.
26086 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26088 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26090 * inet/getnetgrent_r.c (setup): Likewise.
26092 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26094 2012-07-31 David S. Miller <davem@davemloft.net>
26096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26098 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26101 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26102 value between 1.0 and 2.0 and smaller part has absolute value less
26104 * math/s_clog10.c (__clog10): Likewise.
26105 * math/s_clog10f.c (__clog10f): Likewise.
26106 * math/s_clog10l.c (__clog10l): Likewise.
26107 * math/s_clogf.c (__clogf): Likewise.
26108 * math/s_clogl.c (__clogl): Likewise.
26109 * math/libm-test.inc (clog_test): Add more tests.
26110 (clog10_test): Likewise.
26111 * sysdeps/i386/fpu/libm-test-ulps: Update.
26112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26114 2012-07-31 Florian Weimer <fweimer@redhat.com>
26116 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26117 Exit with zero in case no suitable GID is found, and write a
26118 message to standard error.
26120 2012-07-30 Roland McGrath <roland@hack.frob.com>
26122 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26124 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26125 (MAXPATHLEN): Removed.
26126 (NOGROUP, NODEV): New macros.
26127 (setbit, clrbit, isset, isclr): New macros.
26128 (howmany, roundup, powerof2): New macros.
26129 (DEV_BSIZE): New macro.
26131 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26132 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26134 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26135 definition on [!__NO_LONG_DOUBLE_MATH].
26137 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26138 PTR_MANGLE and PTR_DEMANGLE.
26140 * socket/accept4.c (accept4): Rename to __libc_accept4.
26141 Define accept4 as a weak alias.
26143 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26144 on [_DIRENT_HAVE_D_TYPE].
26145 * io/ftw.c (ftw_dir): Likewise.
26147 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26149 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26151 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26152 Use the BSD numbers rather than the arbitrary ones we had.
26153 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26154 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26155 (SIGXCPU, SIGXFSZ): New macros.
26158 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26159 initializer on [_LIBC_REENTRANT].
26161 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26162 definitions inside [_POSIX_MAPPED_FILES].
26164 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26166 * dirent/opendir.c: Include <fcntl.h>.
26168 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26169 (__libc_getspecific): Likewise.
26170 (__libc_key_create): Likewise.
26172 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26173 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26174 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26175 (tmpfile64): Define as alias.
26176 * sysdeps/wordsize-64/tmpfile.c: File removed.
26177 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26178 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26179 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26181 * stdio-common/vfscanf.c: Include <stdbool.h>.
26182 * nss/makedb.c: Likewise.
26183 * stdio-common/_i18n_number.h: Likewise.
26184 * argp/argp-help.c: Likewise.
26185 * posix/wordexp.c: Likewise.
26186 * sysdeps/posix/spawni.c: Likewise.
26187 * nss/nss_files/files-initgroups.c: Likewise.
26188 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26189 * nss/nss_files/files-initgroups.c: Likewise.
26190 * nss/nss_db/db-netgrp.c: Likewise.
26191 * nss/nss_db/db-initgroups.c: Likewise.
26192 * io/fchmodat.c: Include <sys/stat.h>.
26194 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26195 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26197 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26200 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26201 Add multiple inclusion protection.
26203 2012-07-27 David S. Miller <davem@davemloft.net>
26205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26207 2012-07-27 Gary Benson <gbenson@redhat.com>
26210 * elf/rtld.c: Include <stap-probe.h>.
26211 (dl_main): Added static probes "init_start" and "init_complete".
26212 * elf/dl-load.c: Include <stap-probe.h>.
26213 (lose): Take new parameter "nsid".
26214 Added static probe "map_failed".
26215 (_dl_map_object_from_fd): Pass namespace id to lose.
26216 Added static probe "map_start".
26217 (open_verify): Pass namespace id to lose.
26218 * elf/dl-open.c: Include <stap-probe.h>.
26219 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26220 and "reloc_complete".
26221 * elf/dl-close.c: Include <stap-probe.h>.
26222 (_dl_close_worker): Added static probes "unmap_start" and
26224 * elf/rtld-debugger-interface.txt: New file documenting the above.
26226 2012-07-26 Roland McGrath <roland@hack.frob.com>
26228 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26229 rather than a string variable.
26230 * sunrpc/rpc_main.c (h_output): Likewise.
26231 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26233 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26235 * inet/check_native.c: New file.
26237 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26240 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26241 if larger part has absolute value 1.0.
26242 * math/s_clog10.c (__clog10): Likewise.
26243 * math/s_clog10f.c (__clog10f): Likewise.
26244 * math/s_clog10l.c (__clog10l): Likewise.
26245 * math/s_clogf.c (__clogf): Likewise.
26246 * math/s_clogl.c (__clogl): Likewise.
26247 * math/libm-test.inc (clog_test): Add more tests.
26248 (clog10_test): Likewise.
26249 * sysdeps/i386/fpu/libm-test-ulps: Update.
26250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26252 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26253 (pltexit): Likewise.
26254 (La_regs): Likewise.
26255 (La_retval): Likewise.
26256 (int_retval): Likewise.
26257 Update #error for removed macros to refer only to definitions in
26259 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26261 (pltexit): Likewise.
26262 (La_regs): Likewise.
26263 (La_retval): Likewise.
26264 (int_retval): Likewise.
26265 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26267 (pltexit): Likewise.
26268 (La_regs): Likewise.
26269 (La_retval): Likewise.
26270 (int_retval): Likewise.
26271 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26273 (pltexit): Likewise.
26274 (La_regs): Likewise.
26275 (La_retval): Likewise.
26276 (int_retval): Likewise.
26277 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26279 (pltexit): Likewise.
26280 (La_regs): Likewise.
26281 (La_retval): Likewise.
26282 (int_retval): Likewise.
26283 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26285 (pltexit): Likewise.
26286 (La_regs): Likewise.
26287 (La_retval): Likewise.
26288 (int_retval): Likewise.
26289 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26291 (pltexit): Likewise.
26292 (La_regs): Likewise.
26293 (La_retval): Likewise.
26294 (int_retval): Likewise.
26295 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26296 macro definitions in tst-audit.h.
26297 * sysdeps/i386/tst-audit.h: New file.
26298 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26299 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26300 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26301 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26302 * sysdeps/sh/tst-audit.h: Likewise.
26303 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26304 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26305 * sysdeps/x86_64/tst-audit.h: Likewise.
26307 2012-07-26 Andreas Jaeger <aj@suse.de>
26309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26312 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26313 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26314 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26316 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26317 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26318 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26320 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26323 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26325 (si_call_addr, si_syscall, si_arch): Define new macro.
26326 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26328 (si_call_addr, si_syscall, si_arch): Define new marcro.
26329 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26331 (si_call_addr, si_syscall, si_arch): Define new macro.
26332 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26334 (si_call_addr, si_syscall, si_arch): Define new macro.
26336 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26339 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26340 Change to 2.4.21 where previously 2.4.1.
26341 * sysdeps/unix/sysv/linux/configure: Regenerated.
26342 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26343 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26344 Linux kernel version.
26345 (__ASSUME_STD_AUXV): Remove.
26346 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26348 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26349 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26350 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26351 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26352 (__ASSUME_NETLINK_SUPPORT): Likewise.
26353 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26354 (__no_netlink_support): Remove conditional definition.
26355 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26357 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26358 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26359 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26360 (if_nameindex_ioctl): Remove.
26361 (if_nameindex_netlink): Do not handle __no_netlink_support.
26362 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26364 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26365 Remove conditional code.
26366 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26368 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26370 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26371 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26372 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26374 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26375 [!__ASSUME_STD_AUXV]: Remove conditional code.
26376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26377 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26378 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26380 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26381 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26383 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26385 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26386 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26388 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26390 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26393 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26396 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26397 code unconditional.
26398 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26400 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26402 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26405 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26407 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26410 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26411 code unconditional.
26412 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26414 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26416 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26419 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26420 code unconditional.
26421 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26423 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26425 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26428 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26430 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26431 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26432 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26433 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26434 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26435 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26436 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26437 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26438 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26439 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26440 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26441 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26442 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26443 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26444 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26445 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26446 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26447 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26448 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26449 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26450 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26451 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26452 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26454 2012-07-25 Florian Weimer <fweimer@redhat.com>
26456 * Versions.def: Add GLIBC_2.17.
26457 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26458 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26459 Introduce __libc_secure_getenv.
26460 * stdlib/Versions (2.17): Add secure_getenv
26461 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26462 * stdlib/secure-getenv.c: Rename __secure_getenv to
26463 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26464 symbol __secure_getenv for GLIBC_2.0.
26465 * stdlib/tst-secure-getenv.c: New.
26466 * stdlib/Makefile (tests): Add testcase.
26467 * manual/startup.texi (Environment Access): Document
26469 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26470 __libc_secure_getenv.
26471 * inet/ruserpass.c (ruserpass): Likewise.
26472 * malloc/mtrace.c (mtrace): Likewise.
26473 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26474 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26475 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26476 * sysdeps/posix/tempname.c: Likewise. Evaluate
26477 HAVE_SECURE_GETENV.
26478 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26479 __secure_getenv to __libc_secure_getenv.
26480 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26487 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26493 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26495 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26496 (struct La_i86_retval): Likewise.
26497 (struct La_x86_64_regs): Likewise.
26498 (struct La_x86_64_retval): Likewise.
26499 (struct La_x32_regs): Likewise.
26500 (struct La_x32_retval): Likewise.
26501 (struct La_ppc32_regs): Likewise.
26502 (struct La_ppc32_retval): Likewise.
26503 (struct La_ppc64_regs): Likewise.
26504 (struct La_ppc64_retval): Likewise.
26505 (struct La_sh_regs): Likewise.
26506 (struct La_sh_retval): Likewise.
26507 (struct La_s390_32_regs): Likewise.
26508 (struct La_s390_32_retval): Likewise.
26509 (struct La_s390_64_regs): Likewise.
26510 (struct La_s390_64_retval): Likewise.
26511 (struct La_sparc32_regs): Likewise.
26512 (struct La_sparc32_retval): Likewise.
26513 (struct La_sparc64_regs): Likewise.
26514 (struct La_sparc64_retval): Likewise.
26515 (struct audit_ifaces): Remove architecture-specific pltenter and
26517 * sysdeps/i386/ldsodefs.h: New file.
26518 * sysdeps/powerpc/ldsodefs.h: Likewise.
26519 * sysdeps/s390/ldsodefs.h: Likewise.
26520 * sysdeps/sh/ldsodefs.h: Likewise.
26521 * sysdeps/sparc/ldsodefs.h: Likewise.
26522 * sysdeps/x86_64/ldsodefs.h: Likewise.
26524 2012-07-25 Marek Polacek <polacek@redhat.com>
26527 * math/libm-test.inc (yn_test): Add another test.
26528 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26529 to ERANGE when the result is +-Inf.
26530 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26531 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26532 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26533 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26535 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26537 * conform/data/time.h-data (NULL): Use macro-constant. Require
26539 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26541 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26543 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26545 * configure.in <sysdeps resolving>: Correct printing
26547 * configure: Regenerate.
26549 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26551 * math/w_ilogb.c: Include <limits.h>.
26552 * math/w_ilogbl.c: Likewise.
26554 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26556 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26557 va_copy. Document allowing for unavailable va_copy only as
26558 pre-C99 compatibility.
26559 * manual/string.texi (Copying and Concatenation): Use va_copy
26560 instead of __va_copy in concat example.
26562 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26564 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26565 (__sendto): Use create_address_port. Initialize APORT and deallocate
26568 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26569 with O_NOLINK passed to __file_name_lookup.
26571 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26572 with O_NOLINK passed to __file_name_lookup.
26574 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26575 negative N or less than NGIDS.
26577 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26578 type to string_t. Set ERANGE as errno and return it if NAME is not big
26579 enough. Use memcpy instead of strncpy.
26581 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26583 * elf/Makefile (check-data): Remove.
26584 (localplt.data): New vpath directive.
26585 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26586 instead of $(check-data).
26587 * scripts/data/localplt-generic.data: Move to ...
26588 * sysdeps/generic/localplt.data: ... here.
26589 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26590 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26591 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26594 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26597 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26600 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26603 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26606 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26610 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26612 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26613 PPC32 and PPC64 files.
26614 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26615 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26617 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26619 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26620 __makecontext_ret to ...
26621 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26622 ... here and call exit if uc_link is NULL. New file.
26623 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26624 __makecontext_ret.S.
26625 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26626 __makecontext_ret to ...
26627 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26628 ... here and call exit if uc_link is NULL. New file.
26629 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26630 __makecontext_ret.S.
26632 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26634 * elf/elf.h (R_390_IRELATIVE): New definition.
26635 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26636 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26637 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26638 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26639 (elf_machine_lazy_rel): Likewise.
26640 * sysdeps/s390/dl-irel.h: New file.
26641 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26642 * sysdeps/s390/s390-64/memset.S: New asm code.
26643 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26644 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26645 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26646 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26647 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26648 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26649 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26650 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26651 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26652 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26653 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26654 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26655 * sysdeps/s390/s390-32/memset.S: New asm code.
26656 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26658 2012-07-17 Marek Polacek <polacek@redhat.com>
26661 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26662 * sysdeps/s390/s390-64/configure.in: Likewise.
26663 * sysdeps/sparc/configure.in: Likewise.
26664 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26665 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26666 * sysdeps/i386/configure.in: Likewise.
26667 * sysdeps/x86_64/configure.in: Likewise.
26668 * sysdeps/sh/configure.in: Likewise.
26669 * sysdeps/s390/s390-32/configure: Regenerated.
26670 * sysdeps/s390/s390-64/configure: Likewise.
26671 * sysdeps/x86_64/configure: Likewise.
26672 * sysdeps/sh/configure: Likewise.
26673 * sysdeps/powerpc/powerpc64/configure: Likewise.
26674 * sysdeps/powerpc/powerpc32/configure: Likewise.
26675 * sysdeps/sparc/configure: Likwise.
26676 * sysdeps/i386/configure: Likewise.
26678 * elf/dl-open.c: Comment fixes.
26680 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26682 * Makefile [CXX] (check-data): Remove.
26683 [CXX] (c++-types.data): New vpath directive.
26684 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26685 vpath. Do not allow for C++ type data being missing.
26686 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26687 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26688 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26689 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26690 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26691 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26692 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26695 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26698 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26701 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26704 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26707 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26710 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26713 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26716 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26717 definitions to architecture-specific files.
26718 (TLS_IE): Likewise.
26719 (TLS_LD): Likewise.
26720 (TLS_GD): Likewise.
26721 * sysdeps/i386/tls-macros.h: New file.
26722 * sysdeps/powerpc/tls-macros.h: Likewise.
26723 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26724 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26725 * sysdeps/sh/tls-macros.h: Likewise.
26726 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26727 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26728 * sysdeps/x86_64/tls-macros.h: Likewise.
26730 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26732 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26733 zero value for regular exit case.
26735 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26736 (__start_context): Preserve zero value for regular exit case.
26738 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26739 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26741 * manual/setjmp.texi (setcontext): Clarify normal process
26742 termination when uc_link is the null pointer.
26743 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26746 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26748 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26749 preprocessor. Test for each exception mask separately.
26751 2012-07-16 Andreas Jaeger <aj@suse.de>
26753 * po/ru.po: Update from translation team.
26755 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26757 * conform/data/string.h-data (NULL): Use macro-constant. Require
26759 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26760 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26761 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26762 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26763 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26765 2012-07-13 Andreas Jaeger <aj@suse.de>
26767 * po/fr.po: Update from translation team.
26769 2012-07-12 Marek Polacek <polacek@redhat.com>
26772 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26773 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26776 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26779 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26780 Change to 2.4.1 where previously 2.4.0.
26781 * sysdeps/unix/sysv/linux/configure: Regenerated.
26782 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26783 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26785 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26786 (__ASSUME_AT_CLKTCK): Remove.
26787 (__ASSUME_AT_PAGESIZE): Likewise.
26788 (__ASSUME_AT_XID): Likewise.
26789 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26790 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26791 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26793 (HAVE_AUX_PAGESIZE): Likewise.
26794 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26795 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26796 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26798 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26802 the temporary buffer used to invoke __gethostbyname2_r,
26803 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26804 host_data / struct gaih_addrtuple.
26805 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26806 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26807 header file nss/nsswitch.h.
26808 * nss/nsswitch.h (global scope): Add definition of implementation
26809 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26810 resolv/nss_dns/dns-host.c).
26812 2012-07-11 Andreas Jaeger <aj@suse.de>
26814 * po/fr.po: Update from translation team.
26816 * po/sv.po: Update from translation team
26817 * po/fr.po: Another update from translation team.
26819 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26821 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26822 for subnormals or multiply small sinh result by itself.
26823 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26826 2012-07-11 David S. Miller <davem@davemloft.net>
26828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26830 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26833 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26834 (INTERNAL_MARK): Shift it here.
26836 2012-07-10 Marek Polacek <polacek@redhat.com>
26839 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26840 libc_cv_asm_global_directive with .globl.
26841 * configure: Regenerated.
26842 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26844 * sysdeps/i386/configure: Regenerated.
26845 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26847 * sysdeps/x86_64/configure: Regenerated.
26848 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26849 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26850 * elf/tst-unique2mod2.c: Likewise.
26851 * elf/tst-unique2mod1.c: Likewise.
26852 * elf/tst-unique1mod2.c: Likewise.
26853 * elf/tst-unique1mod1.c: Likewise.
26854 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26855 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26856 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26857 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26858 * sysdeps/mach/sysdep.h: Likewise.
26859 * sysdeps/i386/sysdep.h: Likewise.
26860 * sysdeps/i386/i386-mcount.S: Likewise.
26861 * sysdeps/x86_64/_mcount.S: Likewise.
26862 * sysdeps/x86_64/sysdep.h: Likewise.
26863 * sysdeps/sh/_mcount.S: Likewise.
26864 * sysdeps/sh/sysdep.h: Likewise.
26865 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26866 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26867 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26868 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26869 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26870 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26871 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26872 * locale/localeinfo.h: Likewise.
26873 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26874 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26876 2012-07-09 Roland McGrath <roland@hack.frob.com>
26879 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26881 * manual/message.texi (The Uniforum approach): Likewise.
26882 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26883 (glibc iconv Implementation): Likewise.
26885 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26888 * math/s_clog.c (__clog): Avoid scaling a value down where that
26889 could result in underflow.
26890 * math/s_clog10.c (__clog10): Likewise.
26891 * math/s_clog10f.c (__clog10f): Likewise.
26892 * math/s_clog10l.c (__clog10l): Likewise.
26893 * math/s_clogf.c (__clogf): Likewise.
26894 * math/s_clogl.c (__clogl): Likewise.
26895 * math/libm-test.inc (clog_test): Add more tests.
26896 (clog10_test): Likewise.
26897 * sysdeps/i386/fpu/libm-test-ulps: Update.
26898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26900 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26903 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26904 by 7 not 8 to examine high bit of fractional part.
26907 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26908 for call to __mcount_internal.
26909 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26910 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26911 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26913 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26916 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26917 approximation for values within 0x1p-13f of an odd multiple of
26919 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26920 exception. Add more tests.
26921 * sysdeps/i386/fpu/libm-test-ulps: Update.
26924 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26925 inputs and return -1 for them. Do not check for +Inf in case not
26926 reachable for +Inf.
26927 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26928 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26929 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26930 and return -1 for them. Do not check for +Inf in case not
26931 reachable for +Inf.
26932 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26934 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26935 and return -1 for them. Do not check for +Inf in case not
26936 reachable for +Inf.
26937 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26938 spurious underflow.
26939 * sysdeps/i386/fpu/libm-test-ulps: Update.
26940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26942 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26944 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26946 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26950 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26951 could result in spurious underflow. Scale down values above
26952 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26953 * math/s_csqrtf.c (__csqrtf): Likewise.
26954 * math/s_csqrtl.c (__csqrtl): Likewise.
26955 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26956 spurious underflow.
26957 * sysdeps/i386/fpu/libm-test-ulps: Update.
26958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26960 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26962 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26964 * catgets/xopen-msg.awk: New file.
26965 * catgets/xopen-msg.sed: Removed.
26967 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26969 * intl/po2test.awk: New file.
26970 * intl/po2test.sed: Removed.
26972 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26975 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26976 or multiply small sinh result by itself.
26977 * math/s_ctanf.c (__ctanf): Likewise.
26978 * math/s_ctanh.c (__ctanh): Likewise.
26979 * math/s_ctanhf.c (__ctanhf): Likewise.
26980 * math/s_ctanhl.c (__ctanhl): Likewise.
26981 * math/s_ctanl.c (__ctanl): Likewise.
26982 * math/libm-test.inc (ctan_test_tonearest): New function.
26983 (ctan_test_towardzero): Likewise.
26984 (ctan_test_downward): Likewise.
26985 (ctan_test_upward): Likewise.
26986 (ctanh_test_tonearest): Likewise.
26987 (ctanh_test_towardzero): Likewise.
26988 (ctanh_test_downward): Likewise.
26989 (ctanh_test_upward): Likewise.
26990 (main): Call these new functions.
26991 * sysdeps/i386/fpu/libm-test-ulps: Update.
26992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26994 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26996 * .gitignore: Delete /ports entry.
26998 2012-07-03 Andreas Jaeger <aj@suse.de>
27000 * po/bg.po: Update from translation team.
27001 * po/cs.po: Likewise.
27002 * po/de.po: Likewise.
27003 * po/hr.po: Likewise.
27004 * po/nl.pl: Likewise.
27005 * po/pl.po: Likewise.
27006 * po/vi.po: Likewise.
27008 2012-07-03 Joseph Myers <joseph@codesourcery.com>
27010 * Makeconfig [!+link] (+link-before-libc): New variable.
27011 [!+link] (+link-after-libc): Likewise.
27012 [!+link] (+link-tests): Likewise.
27013 [!+link] (+link): Define in terms of $(+link-before-libc) and
27014 $(+link-after-libc).
27015 [!+link-static] (+link-static-before-libc): New variable.
27016 [!+link-static] (+link-static-after-libc): Likewise.
27017 [!+link-static] (+link-static-tests): Likewise.
27018 [!+link-static] (+link-static): Define in terms of
27019 $(+link-static-before-libc) and $(+link-static-after-libc).
27020 [build-shared] (link-libc-before-gnulib): New variable.
27021 [build-shared] (link-libc-tests): Likewise.
27022 [build-shared] (link-libc): Define in terms of
27023 $(link-libc-before-gnulib).
27024 [!build-shared] (link-libc-tests): New variable.
27025 (link-libc-static-tests): New variable.
27026 [!gnulib] (gnulib-arch): New variable.
27027 [!gnulib] (gnulib-tests): Likewise.
27028 [!gnulib] (static-gnulib-arch): Likewise.
27029 [!gnulib] (static-gnulib-tests): Likewise.
27030 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27031 Define with "=" instead of ":=".
27032 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27033 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27034 * Rules (binaries-all-notests): New variable.
27035 (binaries-all-tests): Likewise.
27036 (binaries-static-notests): Likewise.
27037 (binaries-static-tests): Likewise.
27038 (binaries-all): Define using $(binaries-all-notests) and
27039 $(binaries-all-tests).
27040 (binaries-static): Define using $(binaries-static-notests) and
27041 $(binaries-static-tests).
27042 (binaries-shared-tests): New variable.
27043 (binaries-shared-notests): Likewise.
27044 (binaries-shared): Remove variable.
27045 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27046 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27047 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27048 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27049 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27050 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27051 * elf/Makefile (sln-modules): New variable.
27052 (extra-objs): Add $(sln-modules:=.o).
27053 (ldconfig-modules): Add static-stubs.
27054 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27055 * elf/static-stubs.c: New file.
27058 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27059 by 7 not 8 to examine high bit of fractional part. Use volatile
27060 variables when splitting into final array of floats if
27061 __FLT_EVAL_METHOD__ != 0.
27062 * math/libm-test.inc (cos_test): Add another test.
27063 (sin_test): Likewise.
27064 * sysdeps/i386/fpu/libm-test-ulps: Update.
27067 * math/libm-test.inc (cosh_test): Add more tests.
27069 * version.h (RELEASE): Set to "development".
27070 (VERSION): Set to "2.16.90".
27072 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27074 * NEWS: Update copyright. Remove last-updated date.
27075 Mention math library bug fixes and timezone data changes.
27076 * README: Mention GNU/Hurd, x32, and HPPA support status.
27078 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27080 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27082 2012-06-27 Andreas Jaeger <aj@suse.de>
27084 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27086 2012-06-25 Andreas Jaeger <aj@suse.de>
27088 * sysdeps/s390/fpu/libm-test-ulps: Update.
27090 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27091 Thomas Schwinge <thomas@codesourcery.com>
27093 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27094 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27095 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27098 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27100 * sysdeps/mach/start.c: Remove file.
27101 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27102 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27103 * sysdeps/sh/init-first.c: Likewise.
27105 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27106 registers for frame unwinding purposes, add CFI directives.
27107 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27108 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27109 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27112 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27113 __fortify_fail returning.
27114 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27116 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27117 sysdeps/sh/____longjmp_chk.S.
27118 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27119 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27120 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27121 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27123 * sysdeps/sh/abort-instr.h: New file.
27124 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27125 process in case exit returns.
27127 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27128 initialize the GOT register before use.
27130 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27131 calculation of ARGC > 4.
27133 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27134 meaningful names to some local labels.
27136 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27137 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27139 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27140 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27141 (__arch_compare_and_exchange_val_16_acq): Likewise.
27142 (__arch_compare_and_exchange_val_32_acq): Likewise.
27143 (atomic_exchange_and_add): Fix gUSA sequence.
27144 (atomic_add): Likewise.
27145 (atomic_add_negative): Likewise.
27146 (atomic_add_zero): Likewise.
27147 (atomic_bit_test_set): Likewise.
27149 2012-06-22 Andreas Schwab <schwab@redhat.com>
27152 * include/link.h (struct link_map): Add l_free_initfini.
27153 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27155 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27156 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27157 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27160 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27162 * configure.in: Use AC_LANG_SOURCE.
27163 * configure: Regenerate.
27165 2012-06-22 Roland McGrath <roland@hack.frob.com>
27167 * configure.in (libc_cv_localstatedir): New substituted variable.
27168 * configure: Regenerated.
27169 * config.make.in (localstatedir): New variable, substituted from
27170 libc_cv_localstatedir.
27171 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27172 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27173 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27174 * sysdeps/gnu/configure: Regenerated.
27176 2012-06-21 Jeff Law <law@redhat.com>
27179 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27180 free. Simplify list management for _LIBC case.
27182 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27185 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27186 Clear sign bit of 64-bit integer value before comparing against
27189 * sysdeps/mach/configure: Regenerated.
27191 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27194 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27196 2012-06-21 Jeff Law <law@redhat.com>
27199 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27200 uint16_t for elements in the "seen" array to avoid char overflows.
27201 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27202 * elf/dl-open.c (dl_open_worker): Likewise.
27204 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27206 * scripts/list-sources.sh: Scan PORTS for translations.
27207 * po/libc.pot: Regenerated.
27209 2012-06-21 Andreas Jaeger <aj@suse.de>
27212 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27214 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27215 * bits/byteswap-16.h (__bswap_16): Likewise.
27216 * bits/byteswap.h (__bswap_constant_16): Likewise.
27218 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27221 * sysdeps/i386/fpu_control.h: Removed.
27222 * sysdeps/x86_64/fpu_control.h: Moved to ...
27223 * sysdeps/x86/fpu_control.h: Here.
27225 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27226 (_FPU_SETCW): Likewise.
27228 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27231 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27232 * sysdeps/x86/fpu/bits/mathinline.h: This.
27233 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27237 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27238 functions if __x86_64__ is defined.
27240 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27242 * string/endian.h: Add !__ASSEMBLER__ condition for including
27243 conversion interfaces.
27245 2012-06-15 Joseph Myers <joseph@codesourcery.com>
27248 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27249 of ABS(x) in calculating zero to negative powers other than odd
27251 * math/libm-test.inc (pow_test): Add more tests.
27253 2012-06-15 Andreas Jaeger <aj@suse.de>
27255 * manual/contrib.texi (Contributors): Update entry of Liubov
27256 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27259 2012-06-15 Cyril Hrubis <metan@ucw.cz>
27261 * string/string.h: Add __wur to GNU version of strerror_r.
27263 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27266 * string/Makefile (tests): Add tst-strtok_r.
27267 * string/tst-strtok_r.c: New file.
27268 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27269 RAX_LP/RDX_LP on SAVE_PTR.
27271 2012-06-14 Roland McGrath <roland@hack.frob.com>
27273 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27275 2012-06-14 Joseph Myers <joseph@codesourcery.com>
27277 * libm_test.inc (csqrt_test): Allow more spurious underflow
27279 (j0_test): Likewise.
27280 (j1_test): Likewise.
27281 (y0_test): Likewise.
27282 (y1_test): Likewise.
27284 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27286 * po/Makefile (libc.pot): Use UTF-8 charset.
27288 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27291 Suppress sign-conversion warning from FD_SET.
27292 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27293 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27294 not unsigned long int.
27295 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27297 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27301 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27302 __extern_always_inline instead of __extern_inline.
27303 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27304 (__signbit): Likewise.
27305 (__signbitl): Support C++ namespace.
27306 (lrintf): New inline function.
27308 (llrintf): Likewise.
27309 (llrint): Likewise.
27319 (floorf): Likewise.
27320 (nearbyint): Likewise.
27321 (nearbyintf): Likewise.
27323 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27325 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27326 non-default versions.
27328 2012-06-11 Roland McGrath <roland@hack.frob.com>
27331 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27333 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27335 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27336 (FE_UPWARD, FE_DOWNWARD): Don't define.
27337 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27338 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27340 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27342 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27343 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27345 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27347 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27348 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27349 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27350 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27352 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27355 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27356 * sysdeps/i386/fpu/Implies: New file.
27357 * sysdeps/x86_64/fpu/Implies: Likewise.
27358 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27359 * sysdeps/x86/fpu/bits/fenv.h: This.
27361 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27364 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27367 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27368 character 0xffff that matches the last element of the
27371 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27373 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27376 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27378 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27379 values higher than 25.6283.
27381 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27383 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27384 subnormal exponent extraction and add some __builtin_expect.
27385 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27386 Fix for subnormal mantissa calculation.
27388 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27390 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27391 cpu2 is -1 and errno is not ENOSYS.
27393 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27396 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27397 * sysdeps/x86/bits/string.h: This.
27398 * sysdeps/x86_64/bits/string.h: Removed.
27400 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27401 if not compiling for x86-64, but compiling for >= i486.
27403 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27404 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27406 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27407 New macro from Linux kernel 3.4.0.
27408 (FP_XSTATE_MAGIC2): Likewise.
27409 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27410 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27411 (struct _fpx_sw_bytes): New struct.
27412 (struct _xsave_hdr): Likewise.
27413 (struct _ymmh_state): Likewise.
27414 (struct _xstate): Likewise.
27416 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27417 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27418 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27419 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27420 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27421 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27423 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27424 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27425 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27426 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27427 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27428 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27430 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27433 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27434 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27435 (sysdep_headers): Include sys/platform/ppc.h.
27436 * sysdeps/powerpc/test-gettimebase.c: Test for
27437 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27438 * manual/Makefile (appendices): Include platform.texi.
27439 * manual/contrib.texi (Contributors): Update @node pointers.
27440 * manual/maint.texi (Maintenance): Likewise.
27441 (Platform): New node.
27442 * manual/platform.texi: New file. Document the new features.
27444 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27445 Jakub Jelinek <jakub@redhat.com>
27448 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27449 where __builtin_expect is unavailable.
27451 2012-06-03 David S. Miller <davem@davemloft.net>
27453 * stdlib/longlong.h: Updated from GCC.
27455 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27458 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27459 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27462 (GLIBC_2.16): Likewise.
27464 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27466 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27468 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27471 (default-abi): New variable.
27472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27473 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27475 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27477 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27479 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27482 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27483 definition. Document in comment.
27485 2012-06-01 David S. Miller <davem@davemloft.net>
27487 * stdlib/longlong.h: Updated from GCC.
27489 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27492 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27493 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27494 sys/debugreg.h sys/io.h here.
27495 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27496 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27498 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27499 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27500 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27501 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27502 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27503 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27505 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27506 Define only if __x86_64__ is defined.
27508 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27511 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27512 Use int64_t for variable i.
27513 * math/libm-test.inc (fmod_test): Add more tests.
27515 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27516 z computation is not scheduled after fetestexcept.
27517 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27518 Use math_force_eval instead of asm to ensure calculation scheduled
27519 before exception test.
27520 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27521 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27523 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27526 computation is not scheduled after fetestexcept.
27528 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27531 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27532 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27534 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27536 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27537 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27539 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27542 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27544 (__WCHAR_MIN): Support __WORDSIZE == 64.
27545 (__WCHAR_MAX): Likewise.
27547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27548 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27551 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27552 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27555 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27556 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27558 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27559 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27561 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27562 Defined to 1 if __x86_64__ isn't defined.
27563 (_STAT_VER_LINUX_OLD): New.
27564 (st_atime): Remove duplicate.
27565 (st_mtime): Likewise.
27566 (st_ctime): Likewise.
27568 2012-05-31 David S. Miller <davem@davemloft.net>
27570 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27573 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27575 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27579 * elf/dl-reloc.c: Include <_itoa.h>.
27580 (_dl_reloc_bad_type): Remove use of INTUSE.
27581 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27582 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27583 * stdio-common/psiginfo.c (psiginfo): Likewise.
27584 * stdio-common/psignal.c (psignal): Likewise.
27585 * string/strsignal.c (strsignal): Likewise.
27586 * include/signal.h (_sys_siglist): Declare hidden proto.
27587 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27588 INTVARDEF with libc_hidden_data_def.
27589 * stdio-common/itoa-udigits.c: Likewise.
27590 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27591 (_itoa_lower_digits_internal): Remove declaration.
27592 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27593 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27594 (_sys_sigabbrev_internal): Remove aliases.
27595 (_sys_siglist): Define hidden alias.
27597 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27599 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27602 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27605 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27606 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27608 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27609 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27610 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27611 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27612 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27613 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27615 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27616 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27617 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27619 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27627 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27628 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27629 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27631 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27632 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27633 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27634 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27635 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27636 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27638 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27639 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27641 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27642 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27644 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27645 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27646 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27648 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27649 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27651 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27653 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27654 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27655 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27657 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27659 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27661 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27663 * math/math.h (M_El): Use two more decimal places.
27664 (M_LOG2El): Likewise.
27665 (M_LOG10El): Likewise.
27666 (M_LN2l): Likewise.
27667 (M_LN10l): Likewise.
27669 (M_PI_2l): Likewise.
27670 (M_PI_4l): Likewise.
27671 (M_1_PIl): Likewise.
27672 (M_2_PIl): Likewise.
27673 (M_2_SQRTPIl): Likewise.
27674 (M_SQRT2l): Likewise.
27675 (M_SQRT1_2l): Likewise.
27677 2012-05-31 David S. Miller <davem@davemloft.net>
27679 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27680 values between float registers.
27681 * sysdeps/sparc/sparc64/memset.S: Likewise.
27682 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27684 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27686 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27687 -D_FORTIFY_SOURCE=1.
27688 (CPPFLAGS-tst-longjmp_chk.c): Define.
27689 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27690 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27691 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27692 CFLAGS-tst-wchar-h.c.
27694 2012-05-31 Marek Polacek <polacek@redhat.com>
27697 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27698 __endmntent_internal): Remove declaration.
27699 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27700 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27701 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27703 2012-05-30 David S. Miller <davem@davemloft.net>
27705 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27706 (___Q_simulate_exceptions): Use real FP ops rather than writing
27708 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27711 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27714 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27715 * sysdeps/x86/bits/xtitypes.h: This.
27717 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27718 * sysdeps/x86/bits/wordsize.h: This.
27720 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27721 * sysdeps/x86/bits/huge_vall.h: This.
27723 * sysdeps/i386/bits/select.h: Removed.
27724 * sysdeps/x86_64/bits/select.h: Renamed to ...
27725 * sysdeps/x86/bits/select.h: This.
27727 * sysdeps/i386/bits/setjmp.h: Removed.
27728 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27729 * sysdeps/x86/bits/setjmp.h: This.
27731 * sysdeps/i386/bits/mathdef.h: Removed.
27732 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27733 * sysdeps/x86/bits/mathdef.h: This.
27735 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27738 * include/sys/socket.h (__connect_internal)
27739 (__libc_sa_len_internal): Remove declaration.
27740 (__connect, __libc_sa_len): Declare hidden_proto.
27741 (SA_LEN): Remove use of INTUSE.
27742 * socket/connect.c: Add libc_hidden_def.
27743 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27744 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27745 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27747 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27748 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27749 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27750 of adding _internal alias.
27752 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27755 * sysdeps/i386/bits/link.h: Removed.
27756 * sysdeps/i386/bits/linkmap.h: Likewise.
27757 * sysdeps/x86_64/bits/link.h: Renamed to ...
27758 * sysdeps/x86/bits/link.h: This.
27759 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27760 * sysdeps/x86/bits/linkmap.h: This.
27762 * sysdeps/i386/bits/endian.h: Removed.
27763 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27764 * sysdeps/x86/bits/endian.h: This.
27766 * sysdeps/i386/bits/byteswap.h: Removed.
27767 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27768 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27769 * sysdeps/x86/bits/byteswap.h: This.
27770 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27771 * sysdeps/x86/bits/byteswap-16.h: This.
27772 * sysdeps/i386/Implies: Add x86.
27773 * sysdeps/x86_64/Implies: Likewise.
27775 2012-05-30 David S. Miller <davem@davemloft.net>
27777 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27778 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27779 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27780 (FP_TRAPPING_EXCEPTIONS): Define.
27781 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27782 (FP_TRAPPING_EXCEPTIONS): Define.
27783 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27784 subnormals only when inexact has been signalled or underflow
27785 exceptions are enabled.
27786 (_FP_PACK_CANONICAL): Likewise.
27788 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27791 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27792 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27794 2012-05-30 Richard Henderson <rth@twiddle.net>
27796 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27797 with #ifndef NOT_IN_libc.
27799 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27800 marked to avoid plt entry.
27802 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27805 * Makeconfig (default-abi): New macro.
27806 (abi-includes): Likewise.
27807 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27808 $(abi-$(default-abi)-lib-soname) for soname if defined.
27809 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27811 * Makefile (installed-stubs): Likewise.
27812 * include/stubs-biarch.h: Removed.
27813 * scripts/lib-names.awk: Only handle one library at a time.
27814 * scripts/soversions.awk: Remove WORDSIZE support.
27815 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27817 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27819 (syscall-list-default-condition): Likewise.
27820 (syscall-list-default-condition): Likewise.
27821 (syscall-list-includes): Likewise.
27822 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27823 syscall-list-* with abi-*. Handle undefined abi-variants.
27824 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27825 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27826 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27827 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27828 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27829 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27831 (syscall-list-32-options): Likewise.
27832 (syscall-list-32-condition): Likewise.
27833 (syscall-list-64-options): Likewise.
27834 (syscall-list-64-condition): Likewise.
27835 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27837 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27840 (abi-64-ld-soname): New macro.
27841 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27842 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27845 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27846 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27848 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27850 * sysdeps/unix/sysv/linux/kernel-features.h
27851 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27852 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27853 include <kernel-features.h>.
27854 [!__NR_ftruncate64]: Remove conditional code.
27855 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27856 [__NR_ftruncate64]: Make code unconditional.
27857 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27858 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27859 include <kernel-features.h>.
27860 [!__NR_ftruncate64]: Remove conditional code.
27861 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27862 [__NR_ftruncate64]: Make code unconditional.
27863 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27865 include <kernel-features.h>.
27866 [!__NR_ftruncate64]: Remove conditional code.
27867 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27868 [__NR_ftruncate64]: Make code unconditional.
27869 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27871 include <kernel-features.h>.
27872 [!__NR_ftruncate64]: Remove conditional code.
27873 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27874 [__NR_ftruncate64]: Make code unconditional.
27875 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27877 * configure.in (libc_cv_fpie): Weaken to a compile test using
27878 LIBC_TRY_CC_OPTION.
27879 * configure: Regenerated.
27881 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27896 2012-05-27 David S. Miller <davem@davemloft.net>
27898 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27900 (__Q_simulate_exceptions): Return void. Change to simulate
27901 exceptions by writing into the %fsr.
27902 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27903 (__Qp_handle_exceptions): Likewise.
27905 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27906 __Qp_handle_exceptions.
27907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27908 __Qp_handle_exceptions.
27909 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27910 as unused and give dummy FP_RND_NEAREST initializer.
27911 (FP_INHIBIT_RESULTS): Define.
27912 (___Q_simulate_exceptions): Update declaration.
27913 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27915 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27916 as unused and give dummy FP_RND_NEAREST initializer.
27917 (__Qp_handle_exceptions): Update declaration.
27918 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27921 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27923 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27924 the temporary FPU control word.
27925 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27926 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27927 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27928 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27929 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27930 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27931 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27932 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27933 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27934 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27935 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27937 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27939 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27942 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27944 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27945 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27946 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27947 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27949 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27950 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27953 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27955 * po/h.po: Update from translation team.
27957 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27959 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27961 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27962 handling of denormals.
27963 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27964 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27965 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27966 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27967 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27968 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27969 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27972 2012-05-26 Marek Polacek <polacek@redhat.com>
27975 * math/libm-test.inc (fma_test): Don't always expect underflow
27978 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27981 * elf/tst-execstack.c: Include stackinfo.h.
27982 (do_test): Adjust test case to ensure that pthread_getattr_np
27983 behaviour remains the same after marking stack executable.
27985 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27987 * sysdeps/unix/sysv/linux/kernel-features.h
27988 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27989 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27991 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27992 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27993 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27995 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27996 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27998 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28000 * configure.in: Define the default includes to being none.
28001 * configure: Regenerated.
28003 2012-05-25 Roland McGrath <roland@hack.frob.com>
28005 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28006 * sysdeps/x86_64/setjmp.S: Likewise.
28007 * sysdeps/i386/bsd-setjmp.S: Likewise.
28008 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28009 * sysdeps/i386/setjmp.S: Likewise.
28010 * sysdeps/i386/__longjmp.S: Likewise.
28011 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28012 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28014 * include/stap-probe.h: New file.
28015 * configure.in: Handle --enable-systemtap.
28016 * configure: Regenerated.
28017 * config.h.in (USE_STAP_PROBE): New #undef.
28018 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28019 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28020 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28022 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28025 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28026 to 2.4.0 where earlier.
28027 * sysdeps/unix/sysv/linux/configure: Regenerated.
28028 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28029 <kernel-features.h>.
28030 [__ASSUME_32BITUIDS]: Make code unconditional.
28031 [!__ASSUME_32BITUIDS]: Remove conditional code.
28032 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28033 <kernel-features.h>.
28034 [__ASSUME_32BITUIDS]: Make code unconditional.
28035 [!__ASSUME_32BITUIDS]: Remove conditional code.
28036 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28037 [__ASSUME_32BITUIDS]: Make code unconditional.
28038 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28039 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.c: Do not include
28060 <kernel-features.h>.
28061 [__ASSUME_32BITUIDS]: Make code unconditional.
28062 [!__ASSUME_32BITUIDS]: Remove conditional code.
28063 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28064 <kernel-features.h>.
28065 [__ASSUME_32BITUIDS]: Make code unconditional.
28066 [!__ASSUME_32BITUIDS]: Remove conditional code.
28067 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28068 <kernel-features.h>.
28069 [__ASSUME_32BITUIDS]: Make code unconditional.
28070 [!__ASSUME_32BITUIDS]: Remove conditional code.
28071 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28072 <kernel-features.h>.
28073 [__ASSUME_32BITUIDS]: Make code unconditional.
28074 [!__ASSUME_32BITUIDS]: Remove conditional code.
28075 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28076 <kernel-features.h>.
28077 [__ASSUME_32BITUIDS]: Make code unconditional.
28078 [!__ASSUME_32BITUIDS]: Remove conditional code.
28079 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28080 <kernel-features.h>.
28081 [__NR_setresgid] (__setresgid): Do not declare.
28082 [__ASSUME_32BITUIDS]: Make code unconditional.
28083 [!__ASSUME_32BITUIDS]: Remove conditional code.
28084 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28085 <kernel-features.h>.
28086 [__NR_setresuid] (__setresuid): Do not declare.
28087 [__ASSUME_32BITUIDS]: Make code unconditional.
28088 [!__ASSUME_32BITUIDS]: Remove conditional code.
28089 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/i386/setresgid.c: Do not include
28110 <kernel-features.h>.
28111 [__ASSUME_32BITUIDS]: Make code unconditional.
28112 [!__ASSUME_32BITUIDS]: Remove conditional code.
28113 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28114 <kernel-features.h>.
28115 [__ASSUME_32BITUIDS]: Make code unconditional.
28116 [!__ASSUME_32BITUIDS]: Remove conditional code.
28117 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28118 <kernel-features.h>.
28119 [__ASSUME_32BITUIDS]: Make code unconditional.
28120 [!__ASSUME_32BITUIDS]: Remove conditional code.
28121 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28122 <kernel-features.h>.
28123 [__ASSUME_32BITUIDS]: Make code unconditional.
28124 [!__ASSUME_32BITUIDS]: Remove conditional code.
28125 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28126 <kernel-features.h>.
28127 [__ASSUME_32BITUIDS]: Make code unconditional.
28128 [!__ASSUME_32BITUIDS]: Remove conditional code.
28129 * sysdeps/unix/sysv/linux/kernel-features.h
28130 (__ASSUME_SETRESUID_SYSCALL): Remove.
28131 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28132 (__ASSUME_32BITUIDS): Likewise.
28133 (__ASSUME_LDT_WORKS): Likewise.
28134 (__ASSUME_O_DIRECTORY): Likewise.
28135 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28136 architecture but not kernel version.
28137 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28138 (__ASSUME_MMAP2_SYSCALL): Likewise.
28139 (__ASSUME_STAT64_SYSCALL): Likewise.
28140 (__ASSUME_IPC64): Likewise.
28141 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28142 <kernel-features.h>.
28143 [__ASSUME_32BITUIDS]: Make code unconditional.
28144 [!__ASSUME_32BITUIDS]: Remove conditional code.
28145 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28146 <kernel-features.h>.
28147 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28148 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28149 132096]: Remove conditional code.
28150 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28151 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28152 <kernel-features.h>.
28153 [__ASSUME_32BITUIDS]: Make code unconditional.
28154 [!__ASSUME_32BITUIDS]: Remove conditional code.
28155 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28156 <kernel-features.h>.
28157 [__ASSUME_32BITUIDS]: Make code unconditional.
28158 [!__ASSUME_32BITUIDS]: Remove conditional code.
28159 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28160 <kernel-features.h>.
28161 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28163 (__setresgid): Do not declare.
28164 [__ASSUME_32BITUIDS]: Make code unconditional.
28165 [!__ASSUME_32BITUIDS]: Remove conditional code.
28166 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28167 <kernel-features.h>.
28168 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28170 (__setresuid): Do not declare.
28171 [__ASSUME_32BITUIDS]: Make code unconditional.
28172 [!__ASSUME_32BITUIDS]: Remove conditional code.
28173 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28174 <kernel-features.h>.
28175 [__ASSUME_32BITUIDS]: Make code unconditional.
28176 [!__ASSUME_32BITUIDS]: Remove conditional code.
28177 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28178 <kernel-features.h>.
28179 [__ASSUME_32BITUIDS]: Make code unconditional.
28180 [!__ASSUME_32BITUIDS]: Remove conditional code.
28182 2012-05-25 Richard Henderson <rth@twiddle.net>
28184 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28185 dl_hwcap to ifunc resolver.
28186 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28188 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28189 dl_hwcap to ifunc resolver.
28190 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28192 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28195 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28196 for |x| <= 2**-26, not 2**-57.
28197 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28200 2012-05-24 Jeff Law <law@redhat.com>
28202 * stdio-common/Makefile (tests): Add bug25.
28203 * stdio-common/bug25.c: New test.
28205 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28208 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28209 multiple of MALLOC_ALIGNMENT in size.
28210 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28212 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28214 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28216 (FILENAME_MAX): Use macro-int-constant.
28217 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28218 (_IOFBF): Use macro-int-constant.
28219 (_IOLBF): Likewise.
28220 (_IONBF): Likewise.
28221 (SEEK_CUR): Likewise.
28222 (SEEK_END): Likewise.
28223 (SEEK_SET): Likewise.
28224 (TMP_MAX): Likewise.
28225 (EOF): Use macro-int-constant. Require < 0.
28226 (NULL): Use macro-constant. Require == 0.
28227 (stdin): Require type to be FILE *.
28228 (stdout): Likewise.
28229 (stderr): Likewise.
28230 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28231 macro-int-constant.
28232 (EXIT_SUCCESS): Likewise.
28233 (NULL): Use macro-constant. Require == 0.
28234 (RAND_MAX): Use macro-int-constant.
28235 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28236 [C99-based standards] (strtof): Require function.
28237 [C99-based standards] (strtold): Likewise.
28238 [C99-based standards] (strtoll): Likewise.
28239 [C99-based standards] (strtoull): Likewise.
28240 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28241 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28242 [ISO || ISO99 || ISO11] (math.h): Likewise.
28243 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28244 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28245 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28247 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28250 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28251 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28252 * intl/dgettext.c (DCGETTEXT): Likewise.
28253 * intl/gettext.c (DCGETTEXT): Likewise.
28254 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28255 * posix/regex_internal.h (gettext): Likewise.
28256 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28257 Remove declaration.
28258 * include/argz.h (__argz_count_internal)
28259 (__argz_stringify_internal): Remove declaration.
28260 (__argz_count, __argz_stringify): Declare hidden proto.
28261 * intl/dcgettext.c: Remove use of INTDEF.
28262 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28263 * string/argz-stringify.c: Likewise.
28264 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28265 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28266 Declare hidden proto.
28267 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28268 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28269 Declare hidden proto.
28270 * include/stdio.h (__asprintf_internal): Don't declare.
28271 (__asprintf): Don't define as macro. Declare hidden proto.
28272 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28273 (__fsetlocking): Declare hidden proto.
28274 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28275 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28277 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28278 (_IO_setlinebuf): Remove use of INTUSE.
28279 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28280 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28281 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28282 Remove declaration.
28283 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28284 (_IO_do_flush): Remove use of INTUSE.
28285 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28286 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28287 (_IO_adjust_column, _IO_least_wmarker)
28288 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28289 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28290 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28291 (_IO_default_doallocate, _IO_wdefault_doallocate)
28292 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28293 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28294 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28295 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28296 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28297 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28298 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28299 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28300 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28301 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28302 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28303 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28304 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28306 (_IO_flush_all_internal, _IO_adjust_column_internal)
28307 (_IO_default_uflow_internal, _IO_default_finish_internal)
28308 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28309 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28310 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28311 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28312 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28313 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28314 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28315 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28316 (_IO_file_close_internal, _IO_file_close_it_internal)
28317 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28318 (_IO_file_init_internal, _IO_file_attach_internal)
28319 (_IO_file_fopen_internal, _IO_file_read_internal)
28320 (_IO_file_sync_internal, _IO_file_seek_internal)
28321 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28322 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28323 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28324 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28325 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28326 (_IO_list_all_internal, _IO_link_in_internal)
28327 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28328 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28329 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28330 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28331 (_IO_do_write_internal, _IO_padn_internal)
28332 (_IO_getline_info_internal, _IO_getline_internal)
28333 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28334 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28335 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28336 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28337 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28338 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28339 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28340 with libc_hidden_ver, remove use of INTUSE.
28341 * libio/genops.c: Likewise.
28342 * libio/freopen.c: Likewise.
28343 * libio/freopen64.c: Likewise.
28344 * libio/iofclose.c: Likewise.
28345 * libio/iofdopen.c: Likewise.
28346 * libio/iofflush.c: Likewise.
28347 * libio/iofflush_u.c: Likewise.
28348 * libio/iofgets.c: Likewise.
28349 * libio/iofgets_u.c: Likewise.
28350 * libio/iofopen.c: Likewise.
28351 * libio/iofopncook.c: Likewise.
28352 * libio/iofread.c: Likewise.
28353 * libio/iofread_u.c: Likewise.
28354 * libio/ioftell.c: Likewise.
28355 * libio/iofwrite.c: Likewise.
28356 * libio/iogetline.c: Likewise.
28357 * libio/iogets.c: Likewise.
28358 * libio/iogetwline.c: Likewise.
28359 * libio/iopadn.c: Likewise.
28360 * libio/iopopen.c: Likewise.
28361 * libio/ioseekoff.c: Likewise.
28362 * libio/ioseekpos.c: Likewise.
28363 * libio/iosetbuffer.c: Likewise.
28364 * libio/iosetvbuf.c: Likewise.
28365 * libio/ioungetc.c: Likewise.
28366 * libio/ioungetwc.c: Likewise.
28367 * libio/iovdprintf.c: Likewise.
28368 * libio/iovsprintf.c: Likewise.
28369 * libio/iovsscanf.c: Likewise.
28370 * libio/memstream.c: Likewise.
28371 * libio/obprintf.c: Likewise.
28372 * libio/oldfileops.c: Likewise.
28373 * libio/oldiofclose.c: Likewise.
28374 * libio/oldiofdopen.c: Likewise.
28375 * libio/oldiofopen.c: Likewise.
28376 * libio/oldiopopen.c: Likewise.
28377 * libio/oldstdfiles.c: Likewise.
28378 * libio/putc.c: Likewise.
28379 * libio/setbuf.c: Likewise.
28380 * libio/setlinebuf.c: Likewise.
28381 * libio/stdfiles.c: Likewise.
28382 * libio/strops.c: Likewise.
28383 * libio/vasprintf.c: Likewise.
28384 * libio/vscanf.c: Likewise.
28385 * libio/vsnprintf.c: Likewise.
28386 * libio/vswprintf.c: Likewise.
28387 * libio/wfiledoalloc.c: Likewise.
28388 * libio/wfileops.c: Likewise.
28389 * libio/wgenops.c: Likewise.
28390 * libio/wmemstream.c: Likewise.
28391 * libio/wstrops.c: Likewise.
28392 * libio/__fpurge.c: Likewise.
28393 * libio/__fsetlocking.c: Likewise.
28394 * assert/assert.c: Likewise.
28395 * debug/fgets_chk.c: Likewise.
28396 * debug/fgets_u_chk.c: Likewise.
28397 * debug/fread_chk.c: Likewise.
28398 * debug/fread_u_chk.c: Likewise.
28399 * debug/gets_chk.c: Likewise.
28400 * debug/obprintf_chk.c: Likewise.
28401 * debug/vasprintf_chk.c: Likewise.
28402 * debug/vdprintf_chk.c: Likewise.
28403 * debug/vsnprintf_chk.c: Likewise.
28404 * debug/vsprintf_chk.c: Likewise.
28405 * malloc/mtrace.c: Likewise.
28406 * misc/error.c: Likewise.
28407 * misc/syslog.c: Likewise.
28408 * stdio-common/asprintf.c: Likewise.
28409 * stdio-common/fxprintf.c: Likewise.
28410 * stdio-common/getw.c: Likewise.
28411 * stdio-common/isoc99_fscanf.c: Likewise.
28412 * stdio-common/isoc99_scanf.c: Likewise.
28413 * stdio-common/isoc99_vfscanf.c: Likewise.
28414 * stdio-common/isoc99_vscanf.c: Likewise.
28415 * stdio-common/isoc99_vsscanf.c: Likewise.
28416 * stdio-common/printf-prs.c: Likewise.
28417 * stdio-common/printf_fp.c: Likewise.
28418 * stdio-common/printf_fphex.c: Likewise.
28419 * stdio-common/printf_size.c: Likewise.
28420 * stdio-common/putw.c: Likewise.
28421 * stdio-common/scanf.c: Likewise.
28422 * stdio-common/sprintf.c: Likewise.
28423 * stdio-common/tmpfile.c: Likewise.
28424 * stdio-common/vfprintf.c: Likewise.
28425 * stdio-common/vfscanf.c: Likewise.
28426 * stdlib/strfmon_l.c: Likewise.
28427 * sunrpc/openchild.c: Likewise.
28428 * sunrpc/xdr_stdio.c: Likewise.
28429 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28430 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28432 2012-05-24 Roland McGrath <roland@hack.frob.com>
28434 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28436 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28437 in the third column, to generate for the shared library an IFUNC
28438 that uses _dl_vdso_vsym.
28439 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28440 * Makeconfig (object-suffixes-noshared): New variable.
28442 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28443 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28444 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28445 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28448 * include/sys/time.h (__gettimeofday): Remove macro.
28449 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28450 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28452 (__gettimeofday): Add libc_hidden_def.
28453 (gettimeofday): Add libc_hidden_weak.
28454 * sysdeps/mach/gettimeofday.c: Likewise.
28455 * sysdeps/posix/gettimeofday.c: Likewise.
28456 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28457 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28458 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28459 (__gettimeofday_internal): Remove strong_alias.
28460 (__gettimeofday): Add libc_hidden_def.
28461 (gettimeofday): Add libc_hidden_weak.
28462 * sysdeps/unix/syscalls.list (gettimeofday):
28463 Remove __gettimeofday_internal alias.
28465 2012-05-24 Daniel Jacobowitz <drow@false.org>
28466 H.J. Lu <hongjiu.lu@intel.com>
28469 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28470 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28471 (largebin_index_32_big): New.
28472 (largebin_index): Use it for 16-byte alignment.
28473 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28474 correction with front_misalign.
28476 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28504 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28505 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28507 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28511 * math/libm-test.inc (exp_test): Add test from bug 14036.
28512 (pow_test): Add test from bug 10846.
28514 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28516 (special_function): Do not include flags in test name.
28517 (parse_args): Likewise.
28518 * sysdeps/i386/fpu/libm-test-ulps: Update.
28519 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28520 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28521 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28524 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28526 * math/libm-test.inc ("Philosophy"): Update comment about
28528 (UNDERFLOW_EXCEPTION): New macro.
28529 (UNDERFLOW_EXCEPTION_OK): Likewise.
28530 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28531 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28532 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28533 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28534 (INVALID_EXCEPTION_OK): Update value.
28535 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28536 (OVERFLOW_EXCEPTION_OK): Likewise.
28537 (IGNORE_ZERO_INF_SIGN): Likewise.
28538 (test_exceptions): Handle underflow exceptions.
28539 (acos_test): Update for underflow exception expectations.
28540 (cexp_test): Likewise.
28541 (clog_test): Likewise.
28542 (clog10_test): Likewise.
28543 (csqrt_test): Likewise.
28544 (ctan_test): Likewise.
28545 (ctanh_test): Likewise.
28546 (exp_test): Likewise.
28547 (exp10_test): Likewise.
28548 (exp2_test): Likewise.
28549 (expm1_test): Likewise.
28550 (fma_test): Likewise.
28551 (j0_test): Likewise.
28552 (jn_test): Likewise.
28553 (nexttoward_test): Likewise.
28554 (pow_test): Likewise.
28555 (scalbn_test): Likewise.
28556 (scalbln_test): Likewise.
28557 (tan_test): Likewise.
28558 (y1_test): Likewise.
28559 * sysdeps/i386/fpu/libm-test-ulps: Update.
28560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28562 2012-05-23 David S. Miller <davem@davemloft.net>
28564 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28565 (__libc_sigaction): Remove unused local variables.
28567 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28569 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28571 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28573 mktime: avoid signed integer overflow
28574 * time/mktime.c (__mktime_internal): Do not mishandle the case
28575 where diff == INT_MIN.
28577 mktime: simplify computation of average
28578 * time/mktime.c (ranged_convert): Use new time_t_avg function
28579 instead of rolling our own (probably-slower) code.
28581 mktime: do not assume signed right shift propagates sign bit
28582 * time/mktime.c (isdst_differ): New static function.
28583 (__mktime_internal): No need to normalize tm_isdst now.
28584 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28587 mktime: merge another wrapv change from gnulib
28588 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28589 from some compilers.
28591 mktime: remove incorrect attempt at unusual arithmetics
28592 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28593 The code didn't really work on such machines anyway.
28594 (TYPE_MINIMUM): Assume two's complement.
28595 (twos_complement_arithmetic): Verify that long_int and time_t
28596 are two's complement (or unsigned, in the latter case).
28598 mktime: check signed shifts on long_int and time_t, too
28599 * time/mktime.c (SHR): Check that shifts work as desired
28600 on the types long_int and time_t too, as SHR is used on
28603 mktime: do not assume 'long' is wide enough
28604 * time/mktime.c (verify): Move decl up.
28605 (long_int): New type.
28606 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28607 to remove assumption in the code that 'long' is wide enough to
28608 store year values. This assumption is not true on x32 and on
28609 some non-glibc platforms.
28611 mktime: merge wrapv change from gnulib
28612 * time/mktime.c (WRAPV): New macro.
28613 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28614 (guess_time_tm, __mktime_internal): Do not assume that signed
28615 integer overflow wraps around; modern compilers generate code
28616 where this assumption is no longer valid.
28618 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28620 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28621 Replace "jmp L(pseudo_end)" with "ret".
28622 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28625 2012-05-23 Andreas Jaeger <aj@suse.de>
28627 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28628 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28630 2012-05-23 Andreas Jaeger <aj@suse.de>
28631 Maximilian Attems <max@stro.at>
28633 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28636 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28638 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28639 code so that pseudo_end is just ret and the stack pointer is
28640 correct also for static library in error case.
28642 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28644 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28645 move to syscalls.list.
28646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28651 * manual/install.texi (Running make install): Do not mention Linux
28652 kernel version for which pt_chown is not needed.
28653 (Linux): Do not mention problems with nscd with 2.0 kernels.
28654 * INSTALL: Regenerated.
28656 2012-05-23 Andreas Jaeger <aj@suse.de>
28658 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28659 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28661 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28662 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28663 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28664 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28665 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28666 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28667 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28668 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28669 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28670 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28671 * sysdeps/unix/sysv/linux/bits/in.h
28672 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28674 2012-05-22 Roland McGrath <roland@hack.frob.com>
28676 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28677 (PREPARE_VERSION): Just use assert instead, it will be elided
28678 under [NDEBUG] anyway.
28680 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28682 * sysdeps/unix/sysv/linux/Makefile: Include
28683 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28684 (sysdep_routines): Remove sysctl.
28685 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28686 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28687 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28688 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28689 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28691 2012-05-22 Andreas Jaeger <aj@suse.de>
28693 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28694 that pseudo_end is just ret and the stack pointer is correct also
28695 for static library in error case.
28697 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28700 * nss/nsswitch.c (defconfig_entries): New variable.
28701 (__nss_database_lookup): Don't leak defconfig entries.
28702 (nss_parse_service_list): Don't leak on error paths.
28703 (free_database_entries): New function.
28704 (free_defconfig): New function.
28705 (free_mem): Move common code to free_database_entries.
28707 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28709 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28711 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28713 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28714 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28717 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28718 (INTERNAL_SYSCALL_TYPES): Likewise.
28719 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28720 (LOAD_REGS_TYPES_[1-6]): Likewise.
28721 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28722 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28724 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28726 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28727 copysignl for GLIBC_2_0.
28728 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28729 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28730 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28731 logbl for GLIBC_2_0.
28732 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28733 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28735 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28737 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28738 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28740 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28743 * time/mktime.c: Update copyright years.
28745 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28747 mktime: merge comment-quoting-style change from gnulib
28748 * time/mktime.c: Quote 'like this' in comments.
28749 The GNU coding standards suggest that we no longer quote `like this',
28750 as "`" and "'" are typically rendered asymmetrically nowadays.
28751 The typical gnulib style is to quote 'like this' when quoting
28752 code, and "like this" when quoting English.
28754 * time/mktime.c (compile-command): Add "-I.".
28756 mktime: merge mktime-internal.h change from gnulib
28757 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28759 mktime: merge time_r change from gnulib
28760 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28762 mktime: merge DEBUG change from gnulib
28763 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28764 case system <time.h> has a #define.
28766 mktime: merge <sys/types.h> change from gnulib
28767 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28768 since <time.t> is now guaranteed to define time_t.
28770 mktime: merge HAVE_CONFIG_H change from gnulib
28771 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28773 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28775 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28778 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28780 (struct rusage): Use anonymous union to pad each field to
28783 2012-05-21 David S. Miller <davem@davemloft.net>
28785 * Makefules (o-iterator): Remove .s cases.
28786 (compile-command.s): Delete.
28787 (COMPILE.s): Delete.
28788 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28790 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28792 * configure.in (libc_cv_predef_stack_protector): Only consider
28793 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28794 * configure: Regenerated.
28796 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28799 New macro. Use R*LP on int and pointer.
28800 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28801 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28802 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28803 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28805 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28806 [__WORDSIZE_TIME64_COMPAT32] instead of
28807 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28808 (struct utmp): Likewise.
28809 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28810 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28812 (__WORDSIZE_TIME64_COMPAT32): This.
28813 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28814 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28815 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28816 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28817 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28818 (__WORDSIZE_TIME64_COMPAT32): New macro.
28820 2012-05-21 Andreas Jaeger <aj@suse.de>
28822 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28823 only if [SHARED]. Add prototype for __wcschr_ia32.
28825 2012-05-21 Roland McGrath <roland@hack.frob.com>
28827 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28828 of %rbp unmolested in the jmp_buf while mangling the low bits.
28829 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28830 unmolested high bits of %rbp while demangling the low bits.
28831 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28833 2012-05-21 Andreas Jaeger <aj@suse.de>
28835 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28836 * sunrpc/svc_simple.c: Use it for registerrpc.
28837 * sunrpc/xcrypt.c: Use it for passwd2des.
28839 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28841 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28843 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28844 Don't define if [__SYSCALL_WORDSIZE != 32].
28845 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28848 2012-05-21 Bruno Haible <bruno@clisp.org>
28849 Andreas Jaeger <aj@suse.de>
28851 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28852 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28853 inptr and inend for must_buffer_ch.
28854 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28855 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28856 * stdio-common/Makefile (tests): Remove bug15.
28857 (bug15-ENV): Remove macro.
28858 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28861 2012-05-19 Andreas Jaeger <aj@suse.de>
28862 Roland McGrath <roland@hack.frob.com>
28864 * manual/contrib.texi: Completely rewritten. It contains now an
28865 alphabetical list of contributors and their contributions.
28867 2012-05-21 Richard Henderson <rth@twiddle.net>
28869 * misc/getauxval.c (__getauxval): Use unsigned long int.
28870 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28871 (getauxval): Use unsigned long int.
28873 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28875 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28877 2012-05-21 Roland McGrath <roland@hack.frob.com>
28879 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28880 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28881 __alignof__ (long double).
28883 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28887 2012-05-20 Richard Henderson <rth@twiddle.net>
28889 * misc/getauxval.c: New file.
28890 * misc/sys/auxv.h: New file.
28891 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28892 (routines): Add getauxval.
28893 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28894 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28895 * elf/dl-sysdep.c (_dl_auxv): Remove.
28896 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28897 * elf/dl-support.c (_dl_auxv): New variable.
28898 (_dl_aux_init): Initialize it.
28899 * manual/startup.texi (Auxiliary Vector): New node.
28900 * sysdeps/generic/bits/hwcap.h: New file.
28901 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28902 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28903 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28904 * sysdeps/sparc/sysdep.h: ... here. Include it.
28905 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28906 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28912 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28918 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28922 2012-05-19 David S. Miller <davem@davemloft.net>
28924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28926 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28929 * math/s_ccosh.c: Include <float.h>
28930 (__ccosh): Avoid internal overflow calculating sinh and cosh
28931 values before multiplying by sin and cos values.
28932 * math/s_ccoshf.c: Likewise.
28933 * math/s_ccoshl.c: Likewise.
28934 * math/s_csin.c: Likewise.
28935 * math/s_csinf.c: Likewise.
28936 * math/s_csinl.c: Likewise.
28937 * math/s_csinh.c: Likewise.
28938 * math/s_csinhf.c: Likewise.
28939 * math/s_csinhl.c: Likewise.
28940 * math/libm-test.inc (ccos_test): Add more tests.
28941 (ccosh_test): Likewise.
28942 (csin_test): Likewise.
28943 (csinh_test): Likewise.
28944 * sysdeps/i386/fpu/libm-test-ulps: Update.
28945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28947 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28949 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28950 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28952 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28954 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28956 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28957 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28958 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28959 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28960 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28961 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28962 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28963 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28964 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28965 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28966 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28967 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28968 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28969 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28970 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28971 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28972 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28973 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28974 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28975 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28976 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28977 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28978 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28979 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28980 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28981 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28982 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28983 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28984 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28985 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28986 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28988 2012-05-18 Andreas Jaeger <aj@suse.de>
28990 * csu/.gitignore: Delete.
28992 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28994 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28995 (timex): Use __syscall_slong_t.
28997 2012-05-18 Andreas Jaeger <aj@suse.de>
28998 Carlos O'Donell <carlos_odonell@mentor.com>
29000 * manual/install.texi (Configuring and compiling): Update
29001 description about files modified in the source directory.
29002 * INSTALL: Regenerated.
29004 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29006 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29007 value. Use "or" to set return value to -1.
29008 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29009 negate return value.
29011 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29013 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29014 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29015 failure if the compiler has Graphite support disabled.
29016 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29018 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29019 (CFLAGS-memmove.c): Likewise.
29020 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29023 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29025 * sysdeps/x86_64/x32/_itoa.h: New file.
29027 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29028 getdents system call only if kernel and user dirents have the
29029 same d_ino and d_off.
29031 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29032 LLONG_MAX != LONG_MAX.
29033 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29034 (_fitoa_word): Likewise.
29036 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29038 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29039 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29040 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29042 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29043 include <bits/wordsize.h>. Check __x86_64__ instead of
29045 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29046 if __x86_64__ is defined. Use anonymous union on fpstate.
29048 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29051 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29053 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29054 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29055 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29056 Refer to _rtld_local_ro instead of _rtld_global_ro.
29057 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29059 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29061 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29063 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29064 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29065 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29067 * sysdeps/powerpc/powerpc32/dl-machine.c
29068 (__elf_machine_runtime_setup) [PROF]: Don't reference
29071 2012-05-18 Andreas Jaeger <aj@suse.de>
29073 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29074 function only available for GCCs before 3.4 since GCC 3.4
29075 introduced a builtin.
29077 (llrintf): Likewise.
29078 (llrint): Likewise.
29085 (nearbyint): Likewise.
29086 (nearbyintf): Likewise.
29090 (floorf): Likewise.
29092 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29094 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29095 on both fields and cast pointer to __syscall_ulong_t.
29097 * bits/types.h (__fsword_t): New type.
29098 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29099 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29100 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29101 (__FSWORD_T_TYPE): Likewise.
29102 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29103 (__FSWORD_T_TYPE): Likewise.
29104 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29105 (__FSWORD_T_TYPE): Likewise.
29106 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29107 (__FSWORD_T_TYPE): Likewise.
29108 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29109 __SWORD_TYPE with __fsword_t.
29110 (statfs64): Likewise.
29112 2012-05-17 David S. Miller <davem@davemloft.net>
29114 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29116 2012-05-17 Andreas Jaeger <aj@suse.de>
29118 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29121 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29123 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29125 2012-05-17 Andreas Jaeger <aj@suse.de>
29127 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29130 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29132 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29134 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29136 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29137 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29139 2012-05-17 Andreas Jaeger <aj@suse.de>
29140 Carlos O'Donell <carlos_odonell@mentor.com>
29143 * sysdeps/x86_64/multiarch/init-arch.h
29144 (bit_YMM_Usable): Rename to...
29145 (bit_AVX_Usable): ... this.
29146 (bit_FMA4_Usable): New macro.
29147 (bit_XMM_state): New macro.
29148 (bit_YMM_state): New macro.
29149 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29150 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29151 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29152 (CPUID_OSXSAVE): New macro.
29153 (CPUID_AVX): New macro.
29154 (CPUID_FMA4): New macro.
29155 (index_YMM_Usable): Rename to...
29156 (index_AVX_Usable): ... this.
29157 (HAS_AVX): Use HAS_ARCH_FEATURE.
29158 (HAS_FMA4): Likewise.
29159 (HAS_YMM_USABLE): Remove.
29160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29161 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29163 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29164 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29165 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29166 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29167 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29169 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29171 * math/libm-test.c: Support platforms without multiple rounding modes.
29172 * math/bug-nextafter.c: Support platforms without FP exceptions.
29173 * math/bug-nexttoward.c: Likewise.
29174 * math/test-fenv.c: Likewise.
29175 * math/test-misc.c: Likewise.
29176 * stdlib/bug-getcontext.c: Likewise.
29178 2012-05-17 Andreas Jaeger <aj@suse.de>
29180 * manual/examples/search.c (critter_cmp): Change signature to
29182 * manual/string.texi (Collation Functions): Likewise.
29184 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29186 * bits/types.h: Fold copyright years.
29187 * bits/typesizes.h: Likewise.
29188 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29190 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29191 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29192 * time/time.h: Likewise.
29194 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29197 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29198 in instead of returning them. Return void.
29199 (__libc_mallinfo): Accumulate over all arenas.
29200 (__malloc_stats): Adjust for change in int_mallinfo interface.
29202 2012-05-16 Roland McGrath <roland@hack.frob.com>
29205 * configure.in (NM): Add AC_CHECK_TOOL for it.
29206 (libc_extra_cflags): New substituted variable.
29207 Check for -fstack-protector being used implicitly.
29208 * configure: Regenerated.
29209 * config.make.in (config-extra-cflags): New variable,
29210 gets @libc_extra_cflags@.
29211 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29214 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29215 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29216 * configure: Regenerated.
29217 * config.make.in (CPPUNDEFS): New substituted variable.
29218 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29219 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29220 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29222 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29224 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29225 (mq_attr): Use __syscall_slong_t.
29227 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29229 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29230 Check __x86_64__ instead of __WORDSIZE.
29231 (_STAT_VER_LINUX): Likewise.
29232 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29233 __syscall_ulong_t and __syscall_slong_t.
29234 (stat64): Likewise.
29236 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29238 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29240 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29242 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29244 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29246 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29249 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29250 include <bits/wordsize.h>. Check __x86_64__ instead of
29252 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29254 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29256 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29257 include <bits/wordsize.h>. Check __x86_64__ instead of
29259 (user_regs_struct): Use "__extension__ unsigned long long"
29260 instead of "unsigned long" if __x86_64__ is defined.
29261 (user): Likewise. Pad after pointer field if __ILP32__ is
29264 2012-05-16 Joseph Myers <joseph@codesourcery.com>
29266 * configure.in (makeinfo): Require version 4.5 or later. Allow
29268 * configure: Regenerated.
29269 * manual/install.texi (texinfo): Increase version requirement to
29271 * INSTALL: Regenerated.
29273 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29275 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29277 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29279 * sysdeps/x86_64/x32/ffs.c: New file.
29281 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29283 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29284 defined. Use __syscall_ulong_t.
29285 (shminfo): Use __syscall_ulong_t.
29286 (shm_info): Likewise.
29288 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29291 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29293 (msgqnum_t): Use __syscall_ulong_t.
29294 (msglen_t): Likewise.
29295 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29298 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29299 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29301 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29303 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29304 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29306 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29309 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29310 include <bits/wordsize.h>. Check __x86_64__ instead of
29313 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29314 "unsigned long long int" if __x86_64__ is defined.
29315 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29317 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29318 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29319 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29321 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29323 (GET_PC): Cast to uintptr_t first.
29324 (GET_FRAME): Likewise.
29325 (GET_STACK): Likewise.
29327 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29328 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29329 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29330 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29331 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29332 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29333 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29334 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29335 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29336 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29337 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29338 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29339 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29340 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29341 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29342 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29343 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29344 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29345 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29346 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29347 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29348 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29349 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29350 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29351 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29352 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29353 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29354 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29355 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29357 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29359 * Makerules (+depfiles): Also collect depfiles from .oS in
29361 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29362 .oS, $(libnldbl-routines)).
29364 * Makerules (native-compile-mkdep-flags): Define.
29365 * sunrpc/Makefile (extra-objs): Add $(addprefix
29366 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29367 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29368 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29369 calling $(make-target-directory).
29371 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29373 * bits/types.h (__snseconds_t): Removed.
29374 * time/time.h (struct timespec): Replace __snseconds_t with
29376 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29377 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29379 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29380 (__SNSECONDS_T_TYPE): Likewise.
29381 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29382 (__SNSECONDS_T_TYPE): Likewise.
29383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29384 (__SNSECONDS_T_TYPE): Likewise.
29386 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29388 * sysdeps/mach/hurd/bits/typesizes.h
29389 (__SYSCALL_SLONG_TYPE): New macro.
29390 (__SYSCALL_ULONG_TYPE): Likewise.
29392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29394 * bits/types.h (__syscall_slong_t): New type.
29395 (__syscall_ulong_t): Likewise.
29397 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29398 (__SYSCALL_ULONG_TYPE): Likewise.
29399 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29400 (__SYSCALL_SLONG_TYPE): Likewise.
29401 (__SYSCALL_ULONG_TYPE): Likewise.
29402 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29403 (__SYSCALL_SLONG_TYPE): Likewise.
29404 (__SYSCALL_ULONG_TYPE): Likewise.
29405 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29406 (__SYSCALL_SLONG_TYPE): Likewise.
29407 (__SYSCALL_ULONG_TYPE): Likewise.
29409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29411 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29412 Add sigaltstack-offsets.sym.
29413 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29414 <sigaltstack-offsets.h>.
29415 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29416 longjmp_msg pointer.
29417 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29418 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29420 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29422 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29424 * elf/stackguard-macros.h: Remove file.
29425 * sysdeps/generic/stackguard-macros.h: New file.
29426 * sysdeps/i386/stackguard-macros.h: Likewise.
29427 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29428 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29429 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29430 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29431 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29432 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29433 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29434 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29435 <elf/stackguard-macros.h>.
29438 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29439 __aligned__ in attribute.
29440 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29441 (gregset_t): Likewise.
29443 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29445 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29446 * sysdeps/x86_64/64/Implies-after: Here. New file.
29447 * sysdeps/x86_64/x32/Implies-after: New file.
29449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29451 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29452 and access return value for _dl_profile_fixup. Use R10_LP to
29455 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29457 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29461 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29462 * sysdeps/x86_64/x32/sysdep.h: New file.
29464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29466 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29467 * sysdeps/x86_64/setjmp.S: Likewise.
29469 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29471 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29472 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29473 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29474 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29475 remove unused global constant.
29477 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29479 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29480 include of <not-cancel.h>.
29482 2012-05-15 Roland McGrath <roland@hack.frob.com>
29484 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29486 2012-05-15 Jeff Law <law@redhat.com>
29487 Andreas Jaeger <aj@suse.de>
29490 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29492 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29493 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29494 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29495 code changing __hst_map_handle.map.
29497 2012-05-15 Roland McGrath <roland@hack.frob.com>
29499 * configure.in (sysnames): Look for Implies-before and Implies-after
29501 * configure: Regenerated.
29503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29505 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29506 8-byte data alignment with LP_SIZE alignment.
29508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29510 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29515 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29517 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29519 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29520 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29521 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29523 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29527 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29528 (stackinfo_sub_sp): Likewise.
29530 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29532 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29535 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29537 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29540 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29542 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29547 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29551 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29552 into R11_LP and load __x86_64_shared_cache_size_half into
29555 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29557 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29560 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29564 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29566 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29568 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29569 powerpc32/power7/fpu/s_logb.c via #include.
29570 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29571 powerpc32/power7/fpu/s_logbf.c via #include.
29572 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29573 powerpc32/power7/fpu/s_logbl.c via #include.
29575 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29577 * README.libm: Remove file.
29579 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29581 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29582 count for x32. Use R*_LP and omit operand-size suffix.
29584 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29586 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29587 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29588 * sysdeps/x86_64/x32/shlib-versions: New file.
29590 2012-05-14 Roland McGrath <roland@hack.frob.com>
29592 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29593 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29594 Use _dl_fatal_printf instead.
29596 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29598 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29599 set if not set by the user. Do not allow for being unset.
29600 * sysdeps/unix/sysv/linux/configure: Regenerated.
29602 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29604 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29605 the `q' suffix from lea and replace .quad with ASM_ADDR.
29607 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29609 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29610 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29612 (PTR_DEMANGLE): Likewise.
29614 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29616 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29618 (ASM_ADDR): Likewise.
29619 (RAX_LP): Likewise.
29620 (RBP_LP): Likewise.
29621 (RBX_LP): Likewise.
29622 (RCX_LP): Likewise.
29623 (RDI_LP): Likewise.
29624 (RSI_LP): Likewise.
29625 (RSP_LP): Likewise.
29628 (R10_LP): Likewise.
29629 (R10_LP): Likewise.
29630 (R11_LP): Likewise.
29631 (R12_LP): Likewise.
29632 (R13_LP): Likewise.
29633 (R14_LP): Likewise.
29634 (R15_LP): Likewise.
29636 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29638 * sysdeps/x86_64/x32/dl-machine.h: New file.
29640 2012-05-14 Andreas Jaeger <aj@suse.de>
29642 * manual/Makefile (subdir): Remove export of subdir.
29643 (all): Remove target.
29644 (.PHONY): Remove all from list.
29645 (mkinstalldirs): Remove.
29646 (.PHONY): Remove installdirs from list.
29647 ($(inst_infodir)/libc.info): Use make-target-directory.
29648 (installdirs): Remove.
29649 (subdir_%): Remove.
29650 (glibc-targets): Remove.
29653 ($(objpfx)stubs ../po/manual.pot): Remove.
29654 ($(objpfx)stamp%): Remove.
29655 (make-target-directory): Remove.
29656 (subdir_install): Remove.
29657 (routines): Remove.
29664 * manual/.gitignore: Remove, it's not needed anymore.
29665 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29667 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29669 (texis): Renamed to $(objpfx)texis.
29670 (texis-path): New, contains path to generated files.
29671 (chapters.%): Use texis-path for complete path, add extra argument
29673 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29674 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29675 (summary,texi, stamp-summary): Use complete path of
29676 files. Generate files in build dir.
29677 (dir-add.texi): Build in build dir.
29678 (libm-err.texi,stamp-libm-err): Likewise.
29679 (version.texi, stamp-version): Likewise.
29680 (.%c.texi): Likewise.
29681 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29682 (mostlyclean): Remove target.
29683 (realclean): Remove target.
29684 (generated): Add new variable with contents from mostlyclean and
29685 realclean, remove entries duplicated in common-mostlyclean, add
29686 stamp-libm-err and stamp-version.
29687 (generated-dirs): Add libc directory.
29688 ($(inst_infodir)/libc.info): Install files from build dir.
29690 * manual/install.texi (Configuring and compiling): Adjust since
29691 the info files are not part of the tar ball anymore.
29693 2012-05-14 Andreas Jaeger <aj@suse.de>
29695 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29698 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29701 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29702 to 2.2.0 where earlier.
29703 * sysdeps/unix/sysv/linux/configure: Regenerated.
29704 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29705 Remove conditional code.
29706 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29707 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29708 Remove conditional code.
29709 [!__NR_lchown]: Likewise.
29710 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29711 [__NR_lchown]: Likewise.
29712 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29713 comment referencing __ASSUME_LCHOWN_SYSCALL.
29714 * sysdeps/unix/sysv/linux/i386/sigaction.c
29715 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29716 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29717 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29718 Remove conditional code.
29719 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29720 (__protocol_available): Remove #if 0 code.
29721 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29723 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29724 * sysdeps/unix/sysv/linux/kernel-features.h
29725 (__ASSUME_GETCWD_SYSCALL): Don't define.
29726 (__ASSUME_REALTIME_SIGNALS): Likewise.
29727 (__ASSUME_PREAD_SYSCALL): Likewise.
29728 (__ASSUME_PWRITE_SYSCALL): Likewise.
29729 (__ASSUME_POLL_SYSCALL): Likewise.
29730 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29731 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29733 (__ASSUME_SIOCGIFNAME): Don't define.
29734 (__ASSUME_MSG_NOSIGNAL): Likewise.
29735 (__ASSUME_SENDFILE): Define unconditionally.
29736 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29737 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29739 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29740 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29741 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29742 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29743 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29744 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29745 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29747 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29748 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29750 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29751 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29753 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29754 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29756 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29757 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29759 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29760 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29762 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29763 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29765 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29766 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29768 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29770 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29771 Remove conditional code.
29772 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29773 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29774 Remove conditional code.
29775 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29776 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29777 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29778 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29779 Remove conditional code.
29780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29781 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29782 Remove conditional code.
29783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29784 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29785 Remove conditional code.
29786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29787 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29788 Remove conditional code.
29789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29790 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29791 Remove conditional code.
29792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29793 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29794 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29796 * sysdeps/unix/sysv/linux/sigaction.c
29797 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29798 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29799 * sysdeps/unix/sysv/linux/sigpending.c
29800 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29801 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29802 * sysdeps/unix/sysv/linux/sigprocmask.c
29803 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29804 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29805 * sysdeps/unix/sysv/linux/sigsuspend.c
29806 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29807 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29808 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29809 (__libc_missing_rt_sigs): Remove.
29810 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29811 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29812 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29813 Remove conditional code.
29814 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29815 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29817 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29818 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29819 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29820 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29822 2012-05-14 Andreas Jaeger <aj@suse.de>
29824 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29825 it's not used in glibc.
29826 (__coshm1): Likewise.
29827 (__acosh1p): Likewise.
29830 * manual/string.texi (Copying and Concatenation): Add missing
29831 variable in concat example.
29832 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29834 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29837 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29838 __builtin_clzl with __builtin_clzll.
29840 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29843 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29846 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29848 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29849 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29850 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29851 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29853 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29855 * NEWS: Update ia64 info.
29857 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29859 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29862 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29864 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29865 * sysdeps/unix/syscalls.list (dup3): Likewise.
29866 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29867 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29869 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29871 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29872 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29874 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29876 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29878 (TLS_IE): Use mov/add instead of movq/addq to load thread
29880 (TLS_GD_PREFIX): New.
29883 2012-05-11 David S. Miller <davem@davemloft.net>
29885 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29886 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29887 (_FPU_SETCW): Likewise.
29889 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29891 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29892 is 32-byte aligned.
29894 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29897 * iconvdata/gb18030.c: Update tables.
29898 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29899 characters specially.
29900 (BODY for TO_LOOP): Add encoding of missing ranges.
29902 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29905 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29906 * sysdeps/mach/hurd/dup3.c: Likewise.
29907 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29908 * sysdeps/powerpc/memmove.c:: Likewise.
29910 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29912 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29913 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29915 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29917 * elf/elf.h (R_X86_64_RELATIVE64): New.
29918 (R_X86_64_NUM): Updated.
29919 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29920 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29921 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29922 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29923 tst-quad1pie tst-quad2pie
29924 (modules-names): Add tst-quadmod1 tst-quadmod2.
29925 ($(objpfx)tst-quad1): New dependency.
29926 ($(objpfx)tst-quad2): Likewise.
29927 ($(objpfx)tst-quad1pie): Likewise.
29928 ($(objpfx)tst-quad2pie): Likewise.
29929 * sysdeps/x86_64/tst-quad1.c: New file.
29930 * sysdeps/x86_64/tst-quad1pie.c: New file.
29931 * sysdeps/x86_64/tst-quad2.c: Likewise.
29932 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29933 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29934 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29935 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29936 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29938 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29940 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29941 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29942 * streams/stropts.h (t_scalar_t): Define type.
29944 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29945 (_PATH_PRESERVE): Set to "/var/lib".
29946 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29948 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29951 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29952 if __dir_mkfile succeeded.
29954 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29955 checking for _hurd_dtablesize. Unlock it right after having
29956 finished _hurd_dtable allocation.
29958 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29960 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29961 * sysdeps/mach/hurd/configure: Regenerated.
29962 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29963 special-casing to...
29964 * sysdeps/gnu/configure.in: ... this new file.
29965 * sysdeps/unix/sysv/linux/configure: Regenerated.
29966 * sysdeps/gnu/configure: New generated file.
29968 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29969 for Linux: use nsec instead of usec, as well as:
29970 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29971 members of type struct timespec.
29972 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29974 (struct stat64): Likewise.
29975 (_STATBUF_ST_NSEC): New macro.
29976 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29978 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29979 __strtoul_internal rather than strtoul.
29981 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29983 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29986 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29988 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29989 which preserves existing values.
29990 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29992 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29994 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29995 TIMEOUT values. Return EINVAL for NFDS values either negative or
29996 greater than FD_SETSIZE.
29998 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30000 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30001 allocated, call __vm_protect to finish enabling the existing space, and
30002 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30003 allocate the remainder.
30005 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30007 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30008 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30010 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30012 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30013 sysdeps/mach/hurd/readlink.c.
30015 * posix/tst-sysconf.c (posix_options): Only use
30016 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30017 _POSIX_SYNCHRONIZED_IO when they are defined
30018 * sysdeps/mach/hurd/bits/posix_opt.h:
30019 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30020 (_XOPEN_REALTIME): Undefine macro.
30021 (_XOPEN_REALTIME_THREADS): Undefine macro.
30022 (_XOPEN_SHM): Undefine macro.
30023 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30025 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30027 (_POSIX_ASYNC_IO): Undefine macro.
30028 (_POSIX_PRIORITIZED_IO): Undefine macro.
30029 (_POSIX_SPIN_LOCKS): Define macro to -1.
30031 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30032 SA_NODEFER, SA_RESETHAND.
30033 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30034 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30037 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30039 * elf/Makefile (pldd-modules): Define unconditionally.
30041 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30043 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30045 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30047 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30048 Return ENOENT when name is empty.
30049 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30051 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30053 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30055 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30057 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30059 Fix mlock in all cases except non-readable pages.
30060 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30061 instead of VM_PROT_ALL as parameter to __vm_wire function.
30063 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30064 (__mkdir): When path is `/', just fail with EEXIST.
30065 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30067 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30069 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30070 <sys/uio.h> (for writev).
30071 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30072 and <sys/param.h> (for MIN).
30074 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30076 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30077 REQUESTED_TIME. Properly set the remaining time and return EINTR
30080 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30082 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30083 Depend on against $(link-rpcuserlibs).
30085 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30087 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30088 (__libc_stack_end): Do not use attribute_relro.
30089 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30090 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30091 to libthread-provided value.
30092 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30095 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30098 * bits/libc-lock.h (__libc_once_get): New macro.
30099 * sysdeps/mach/bits/libc-lock.h: Likewise.
30100 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30101 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30102 instead of using implementation details.
30104 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30105 * libio/freopen.c: Likewise.
30106 * libio/freopen64.c: Likewise.
30107 * misc/syslog.c: Likewise.
30108 * nscd/connections.c: Likewise.
30109 * nscd/netgroupcache.c: Likewise.
30110 * sysdeps/posix/getcwd.c: Likewise.
30112 2012-05-10 Roland McGrath <roland@hack.frob.com>
30114 * math/w_ilogbf.c: Add #include <limits.h>.
30116 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30118 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30119 path instead of returning without unlocking.
30121 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30122 immediate-write ioctls.
30123 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30125 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30127 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30128 __builtin_frame_address instead of making assumptions about the
30129 location of the return address relative to DATA. Force early load of
30130 the return address.
30131 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30132 __builtin_frame_address.
30135 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30136 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30137 implement dup3 and do some further code clean-ups.
30138 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30139 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30141 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30143 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30145 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30146 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30147 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30148 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30149 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30152 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30153 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30154 when handler == SIG_ERR, not when handler != SIG_ERR.
30156 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30158 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30159 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30162 accept4 for GNU Hurd.
30163 * include/sys/socket.h (__libc_accept4): New prototype.
30164 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30165 to implement __libc_accept4.
30166 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30168 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30170 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30171 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30172 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30173 signal-defines.sym.
30175 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30177 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30179 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30181 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30182 assertion on O_CLOEXEC flag.
30183 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30184 * hurd/intern-fd.c: Likewise.
30185 * hurd/port2fd.c: Likewise.
30187 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30190 * bits/in.h (IPV6_PKTINFO): Define new macro.
30191 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30193 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30198 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30199 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30200 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30201 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30202 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30203 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30204 * math/libm-test.inc (logb_test) : Additional logb tests.
30206 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30207 Andreas Jaeger <aj@suse.de>
30209 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30210 * configure: Regenerated.
30211 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30212 * config.make.in (link-obsolete-rpc): New substituted variable.
30213 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30214 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30215 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30216 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30217 so that libc.a contains the symbols.
30218 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30219 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30220 * sunrpc/auth_none.c: Likewise.
30221 * sunrpc/auth_unix.c: Likewise.
30222 * sunrpc/authdes_prot.c: Likewise.
30223 * sunrpc/authuxprot.c: Likewise.
30224 * sunrpc/clnt_gen.c: Likewise.
30225 * sunrpc/clnt_perr.c: Likewise.
30226 * sunrpc/clnt_raw.c: Likewise.
30227 * sunrpc/clnt_simp.c: Likewise.
30228 * sunrpc/clnt_tcp.c: Likewise.
30229 * sunrpc/clnt_udp.c: Likewise.
30230 * sunrpc/clnt_unix.c: Likewise.
30231 * sunrpc/des_crypt.c: Likewise.
30232 * sunrpc/des_soft.c: Likewise.
30233 * sunrpc/get_myaddr.c: Likewise.
30234 * sunrpc/key_call.c: Likewise.
30235 * sunrpc/key_prot.c: Likewise.
30236 * sunrpc/netname.c: Likewise.
30237 * sunrpc/pm_getmaps.c: Likewise.
30238 * sunrpc/pm_getport.c: Likewise.
30239 * sunrpc/pmap_clnt.c: Likewise.
30240 * sunrpc/pmap_prot.c: Likewise.
30241 * sunrpc/pmap_prot2.c: Likewise.
30242 * sunrpc/pmap_rmt.c: Likewise.
30243 * sunrpc/publickey.c: Likewise.
30244 * sunrpc/rpc_cmsg.c: Likewise.
30245 * sunrpc/rpc_common.c: Likewise.
30246 * sunrpc/rpc_dtable.c: Likewise.
30247 * sunrpc/rpc_prot.c: Likewise.
30248 * sunrpc/rpc_thread.c: Likewise.
30249 * sunrpc/rtime.c: Likewise.
30250 * sunrpc/svc.c: Likewise.
30251 * sunrpc/svc_auth.c: Likewise.
30252 * sunrpc/svc_raw.c: Likewise.
30253 * sunrpc/svc_run.c: Likewise.
30254 * sunrpc/svc_tcp.c: Likewise.
30255 * sunrpc/svc_udp.c: Likewise.
30256 * sunrpc/svc_unix.c: Likewise.
30257 * sunrpc/svcauth_des.c: Likewise.
30258 * sunrpc/xcrypt.c: Likewise.
30259 * sunrpc/xdr.c: Likewise.
30260 * sunrpc/xdr_array.c: Likewise.
30261 * sunrpc/xdr_float.c: Likewise.
30262 * sunrpc/xdr_intXX_t.c: Likewise.
30263 * sunrpc/xdr_mem.c: Likewise.
30264 * sunrpc/xdr_rec.c: Likewise.
30265 * sunrpc/xdr_ref.c: Likewise.
30266 * sunrpc/xdr_sizeof.c: Likewise.
30267 * sunrpc/xdr_stdio.c: Likewise.
30269 2012-05-10 Roland McGrath <roland@hack.frob.com>
30271 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30272 change. Update copyright years.
30274 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30276 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30278 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30279 Joseph Myers <joseph@codesourcery.com>
30280 Paul Pluzhnikov <ppluzhnikov@google.com>
30283 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30285 [cross-compiling] (extra-libs): Likewise.
30286 [cross-compiling] (extra-libs-others): Likewise.
30287 [cross-compiling] (librpcsvc-routines): Likewise.
30288 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30289 [cross-compiling] (omit-deps): Likewise.
30290 (sunrpc-CPPFLAGS): New variable.
30291 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30292 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30293 (cross-rpcgen-objs): New variable.
30294 (extra-objs): Append $(cross-rpcgen-objs).
30295 ($(cross-rpcgen-objs)): New rule.
30296 ($(objpfx)cross-rpcgen): Likewise.
30297 (rpcgen-cmd): Define to use $(built-program-file). Expand
30299 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30300 ($(objpfx)x%.stmp): Likewise.
30301 * sunrpc/proto.h [IS_IN_build] (_): Define.
30302 [IS_IN_build] (_libc_intl_domainname): Likewise.
30304 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30306 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30307 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30308 and R_X86_64_TPOFF64.
30310 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30312 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30313 sysdeps/unix/sysv/syscalls.list.
30316 * sysdeps/unix/sysv/syscalls.list: Remove file.
30318 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30321 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30322 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30323 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30324 (__LC_IDENTIFICATION): Make these macros useful in #if
30325 expressions, as required by C99.
30327 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30329 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30330 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30333 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30335 * stdlib/longlong.h: Updated from GCC.
30337 2012-05-09 Andreas Jaeger <aj@suse.de>
30339 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30340 default is first entry.
30341 (run_mode): Set type.
30342 (main): Remove informal message about syslog.
30343 (options): Fix typo.
30346 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30349 (llrintf): Likewise.
30350 (llrint): Likewise.
30353 (nearbyint): Likewise.
30354 (nearbyintf): Likewise.
30356 2012-05-09 Andreas Jaeger <aj@suse.de>
30357 Pedro Alves <palves@redhat.com>
30359 * nscd/nscd.c (run_mode): Use enum.
30360 (main): Cleanup coding style issue.
30362 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30363 Andreas Jaeger <aj@suse.de>
30365 * nscd/nscd.c (go_background): Replaced with...
30366 (run_mode): ... this.
30367 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30368 (options): Add -F --foreground.
30369 (main): Implement it.
30370 (parse_opt): Parse it.
30372 2012-05-09 Andreas Jaeger <aj@suse.de>
30375 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30376 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30377 -Wconversion warning.
30378 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30381 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30383 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30385 (LC_ALL): Use macro-int-constant.
30386 (LC_COLLATE): Likewise.
30387 (LC_CTYPE): Likewise.
30388 (LC_MESSAGES): Likewise.
30389 (LC_MONETARY): Likewise.
30390 (LC_NUMERIC): Likewise.
30391 (LC_TIME): Likewise.
30392 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30393 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30394 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30395 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30397 [C99-based standards] (float_t): Expect type.
30398 [C99-based standards] (double_t): Expect type.
30399 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30401 [C99-based standards] (HUGE_VALL): Likewise.
30402 [C99-based standards] (INFINITY): Likewise.
30403 [C99-based standards] (NAN): Likewise.
30404 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30405 [C99-based standards] (FP_NAN): Likewise.
30406 [C99-based standards] (FP_NORMAL): Likewise.
30407 [C99-based standards] (FP_SUBNORMAL): Likewise.
30408 [C99-based standards] (FP_ZERO): Likewise.
30409 [C99-based standards] (FP_FAST_FMA): Use
30410 optional-macro-int-constant. Specify type. Require == 1.
30411 [C99-based standards] (FP_FAST_FMAF): Likewise.
30412 [C99-based standards] (FP_FAST_FMAL): Likewise.
30413 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30414 [C99-based standards] (FP_ILOGBNAN): Likewise.
30415 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30417 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30418 [C99-based standards] (math_errhandling): Specify type.
30419 [ISO99 || ISO11] (signgam): Do not allow.
30420 [non-C99-based standards] (copysignf): Do not allow.
30421 [non-C99-based standards] (exp2f): Likewise.
30422 [non-C99-based standards] (log2f): Likewise.
30423 [non-C99-based standards] (modff): Allow.
30424 [non-C99-based standards] (erff): Do not allow.
30425 [non-C99-based standards] (erfcf): Likewise.
30426 [non-C99-based standards] (gammaf): Likewise.
30427 [non-C99-based standards] (hypotf): Likewise.
30428 [non-C99-based standards] (j0f): Likewise.
30429 [non-C99-based standards] (j1f): Likewise.
30430 [non-C99-based standards] (jnf): Likewise.
30431 [non-C99-based standards] (lgammaf): Likewise.
30432 [non-C99-based standards] (tgammaf): Likewise.
30433 [non-C99-based standards] (y0f): Likewise.
30434 [non-C99-based standards] (y1f): Likewise.
30435 [non-C99-based standards] (ynf): Likewise.
30436 [non-C99-based standards] (isnanf): Likewise.
30437 [non-C99-based standards] (acoshf): Likewise.
30438 [non-C99-based standards] (asinhf): Likewise.
30439 [non-C99-based standards] (atanhf): Likewise.
30440 [non-C99-based standards] (cbrtf): Likewise.
30441 [non-C99-based standards] (expm1f): Likewise.
30442 [non-C99-based standards] (ilogbf): Likewise.
30443 [non-C99-based standards] (log1pf): Likewise.
30444 [non-C99-based standards] (logbf): Likewise.
30445 [non-C99-based standards] (nextafterf): Likewise.
30446 [non-C99-based standards] (remainderf): Likewise.
30447 [non-C99-based standards] (rintf): Likewise.
30448 [non-C99-based standards] (scalbf): Likewise.
30449 [non-C99-based standards] (copysignl): Likewise.
30450 [non-C99-based standards] (exp2l): Likewise.
30451 [non-C99-based standards] (log2l): Likewise.
30452 [non-C99-based standards] (modfl): Allow.
30453 [non-C99-based standards] (erfl): Do not allow.
30454 [non-C99-based standards] (erfcl): Likewise.
30455 [non-C99-based standards] (gammal): Likewise.
30456 [non-C99-based standards] (hypotl): Likewise.
30457 [non-C99-based standards] (j0l): Likewise.
30458 [non-C99-based standards] (j1l): Likewise.
30459 [non-C99-based standards] (jnl): Likewise.
30460 [non-C99-based standards] (lgammal): Likewise.
30461 [non-C99-based standards] (tgammal): Likewise.
30462 [non-C99-based standards] (y0l): Likewise.
30463 [non-C99-based standards] (y1l): Likewise.
30464 [non-C99-based standards] (ynl): Likewise.
30465 [non-C99-based standards] (isnanl): Likewise.
30466 [non-C99-based standards] (acoshl): Likewise.
30467 [non-C99-based standards] (asinhl): Likewise.
30468 [non-C99-based standards] (atanhl): Likewise.
30469 [non-C99-based standards] (cbrtl): Likewise.
30470 [non-C99-based standards] (expm1l): Likewise.
30471 [non-C99-based standards] (ilogbl): Likewise.
30472 [non-C99-based standards] (log1pl): Likewise.
30473 [non-C99-based standards] (logbl): Likewise.
30474 [non-C99-based standards] (nextafterl): Likewise.
30475 [non-C99-based standards] (remainderl): Likewise.
30476 [non-C99-based standards] (rintl): Likewise.
30477 [non-C99-based standards] (scalbl): Likewise.
30478 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30479 [non-C99-based standards] (FP_*): Do not allow.
30480 [C99-based standards] (FP_*): Change to
30481 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30482 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30484 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30485 (SIG_ERR): Likewise.
30486 [X/Open-based standards] (SIG_HOLD): Likewise.
30487 (SIG_IGN): Likewise.
30488 (SIGABRT): Use macro-int-constant. Specify type. Require
30490 (SIGFPE): Likewise.
30491 (SIGILL): Likewise.
30492 (SIGINT): Likewise.
30493 (SIGSEGV): Likewise.
30494 (SIGTER): Likewise.
30495 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30496 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30497 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30498 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30499 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30500 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30501 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30502 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30503 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30504 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30505 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30506 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30507 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30508 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30509 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30510 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30511 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30512 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30513 [X/Open-based standards] (SIGTRAP): Likewise.
30514 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30515 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30516 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30517 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30518 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30521 2012-05-08 Ian Wienand <ianw@vmware.com>
30524 * time/tzset.c (__tzset_parse_tz): Update default rules for
30525 daylight time changes in the Energy Policy Act of 2005.
30527 2012-05-09 Andreas Jaeger <aj@suse.de>
30530 * elf/ldconfig.c (parse_conf): Change string to make clear that
30531 ldconfig only issued a warning if ld.so.conf does not exist.
30533 2012-05-08 David S. Miller <davem@davemloft.net>
30535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30536 movxtod instead of popping the value on the stack.
30538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30540 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30542 * config.h.in: Add HAVE_ARM_PCS_VFP.
30544 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30547 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30548 checking but the checks are disabled for any reason.
30550 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30552 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30553 and ELF64_R_TYPE with ELFW(R_TYPE).
30555 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30557 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30558 (ulimit): Likewise.
30560 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30561 (settimeofday): Likewise.
30563 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30565 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30566 a struct th_u2 inside the union, and move tu_block/tu_code into
30567 a new th_u3 union of tu_block/tu_code inside of that. Move
30568 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30569 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30570 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30571 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30572 (th_stuff): Change to th_u1.tu_stuff.
30574 (th_msg): Change to th_u1.th_u2.tu_data.
30576 2012-05-07 David S. Miller <davem@davemloft.net>
30578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30581 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30582 (SETUP_PIC_REG): Use it.
30583 (SETUP_PIC_REG_LEAF): Use it.
30585 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30589 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30591 (EXPL_FINITE): Likewise.
30592 (FLDLOG): Likewise.
30593 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30594 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30596 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30598 (EXPL_FINITE): Likewise.
30599 (FLDLOG): Likewise.
30600 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30601 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30603 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30604 test of -max_value argument for long double.
30605 * sysdeps/i386/fpu/libm-test-ulps: Update.
30606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30608 2012-05-06 David S. Miller <davem@davemloft.net>
30610 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30611 quad soft-float symbols whose references which are compiler
30613 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30615 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30619 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30621 (EXPL_FINITE): Likewise.
30622 (FLDLOG): Likewise.
30625 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30626 Adjust comments for base varying.
30627 (__expl_finite): Change alias to EXPL_FINITE.
30628 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30630 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30631 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30632 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30633 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30634 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30636 (EXPL_FINITE): Likewise.
30637 (FLDLOG): Likewise.
30640 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30641 Adjust comments for base varying.
30642 (__expl_finite): Change alias to EXPL_FINITE.
30643 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30648 * math/libm-test.inc (check_float_internal): Correct ulp
30649 calculation for subnormal expected results.
30651 2012-05-06 Andreas Jaeger <aj@suse.de>
30653 * Makeconfig (+math-flags): New, set to -frounding-math.
30654 (+cflags): Add +math-flags so that all of glibc gets compiled with
30657 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30659 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30661 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30667 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30668 (__ieee754_expl): Allow for and saturate large arguments.
30669 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30670 (u_threshold): Likewise.
30671 (__exp): Call __ieee754_exp before checking for overflow and
30673 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30674 (u_threshold): Likewise.
30675 (__expf): Call __ieee754_expf before checking for overflow and
30677 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30678 (u_threshold): Likewise.
30679 (__expl): Call __ieee754_expl before checking for overflow and
30681 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30682 (__ieee754_expl): Allow for and saturate large arguments.
30683 * math/libm-test.inc (exp_test): Add another test. Do not allow
30684 missing overflow exception on overflow.
30685 (expm1_test): Do not allow missing overflow exception on overflow.
30687 * sysdeps/i386/fpu/e_expl.c: Move to ...
30688 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30689 rather than using inline asm.
30690 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30691 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30692 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30694 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30697 (signal): Likewise.
30701 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30703 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30704 sysdeps/unix/common/syscalls.list.
30705 (fchmod): Likewise.
30706 (fchown): Likewise.
30707 (ftruncate): Likewise.
30708 (getrusage): Likewise.
30709 (gettimeofday): Likewise.
30710 (setpgid): Likewise.
30711 (setregid): Likewise.
30712 (setreuid): Likewise.
30713 (sigaction): Likewise.
30714 (truncate): Likewise.
30715 (vhangup): Likewise.
30716 * sysdeps/unix/common/syscalls.list: Remove file.
30717 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30718 * sysdeps/unix/sysv/linux/Implies: Likewise.
30720 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30722 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30724 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30728 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30731 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30734 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30737 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30740 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30743 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30746 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30750 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30754 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30757 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30761 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30765 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30767 * sysdeps/unix/common/bits/dirent.h: Remove file.
30768 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30770 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30771 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30772 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30773 * sysdeps/unix/bsd/isatty.c: Likewise.
30774 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30775 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30776 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30778 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30781 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30782 long double comparison inaccuracies.
30783 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30786 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30788 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30789 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30791 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30794 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30795 nonzero digits before rounding a hex value.
30796 * stdlib/tst-strtod.c (tests): Add another test.
30798 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30800 * sysdeps/s390/fpu/libm-test-ulps: Update.
30802 2012-05-03 Andreas Jaeger <aj@suse.de>
30804 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30805 does not get optimized out.
30806 (malloc_opt_barrier): New.
30808 2012-05-03 Andreas Jaeger <aj@suse.de>
30809 Roland McGrath <roland@hack.frob.com>
30811 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30812 intermediate file deletion.
30813 (generated): Add .symlist files.
30815 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30818 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30819 Redirect under this condition.
30820 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30821 [__USE_GNU] (__dprintf_chk): Not under this condition.
30822 [__USE_GNU] (__vdprintf_chk): Likewise.
30823 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30824 under this condition.
30825 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30826 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30827 [__USE_XOPEN2K8] (vdprintf): Likewise.
30828 [__USE_GNU] (__dprintf_chk): Not under this condition.
30829 [__USE_GNU] (__vdprintf_chk): Likewise.
30830 [__USE_GNU] (dprintf): Likewise.
30831 [__USE_GNU] (vdprintf): Likewise.
30833 2012-05-03 Roland McGrath <roland@hack.frob.com>
30835 * elf/Makefile (common-generated): Set this instead of generated for
30836 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30837 $(all-built-dso)-derived lists.
30839 2012-05-03 Andreas Jaeger <aj@suse.de>
30841 * sysdeps/i386/fpu/libm-test-ulps: Update.
30844 * FAQ.in: Likewise.
30845 * scripts/gen-FAQ.pl: Likewise.
30846 * manual/install.texi (Installation): Point to online location of
30848 * Makefile (files-for-dist): Remove FAQ.
30851 2012-05-02 Allan McRae <allan@archlinux.org>
30853 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30854 (LDFLAGS-reldepmod5.so): Likewise.
30855 (LDFLAGS-reldep6mod1.so): Likewise.
30856 (LDFLAGS-reldep6mod4.so): Likewise.
30857 (LDFLAGS-reldep8mod3.so): Likewise.
30858 (LDFLAGS-unload4mod1.so): Likewise.
30859 (LDFLAGS-unload4mod2.so): Likewise.
30860 (LDFLAGS-tst-initorder): Likewise.
30861 (LDFLAGS-tst-initordera2.so): Likewise.
30862 (LDFLAGS-tst-initordera3.so): Likewise.
30863 (LDFLAGS-tst-initordera4.so): Likewise.
30864 (LDFLAGS-tst-initorderb2.so): Likewise.
30865 (LDFLAGS-noload): Likewise.
30866 (LDFLAGS-next): Likewise.
30867 (LDFLAGS-order2mod1.so): Likewise.
30868 (LDFLAGS-order2mod2.so): Likewise.
30869 (LDFLAGS-tst-initorder2): Likewise.
30870 (LDFLAGS-tst-initorder2a.so): Likewise.
30871 (LDFLAGS-tst-initorder2b.so): Likewise.
30872 (LDFLAGS-tst-initorder2c.so): Likewise.
30873 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30875 2012-05-02 David S. Miller <davem@davemloft.net>
30877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30879 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30882 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30884 2012-05-02 Andreas Jaeger <aj@suse.de>
30886 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30887 since we manipulate rounding mode.
30888 (CPPFLAGS-test-idouble.c): Likewise.
30889 (CPPFLAGS-test-ifloat.c): Likewise.
30890 (CFLAGS-test-ldouble.c): Likewise.
30891 (CFLAGS-test-double.c): Likewise.
30892 (CFLAGS-test-float.c): Likewise.
30893 (CFLAGS-test-misc.c): Likewise.
30894 (CFLAGS-test-test-fenv.c): Likewise.
30896 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30900 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30901 comparisons to determine direction to adjust input.
30903 2012-05-01 Roland McGrath <roland@hack.frob.com>
30905 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30906 output to the target.
30908 * scripts/localplt.awk: New file.
30909 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30910 (check-localplt-CFLAGS): Variable removed.
30911 ($(all-built-dso:=.jmprel)): New static pattern rule.
30912 (generated): Add those targets.
30913 (localplt-built-dso): New variable.
30914 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30916 * elf/check-localplt.c: File removed.
30918 * scripts/check-execstack.awk: New file.
30919 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30920 (check-execstack-CFLAGS): Variable removed.
30921 ($(objpfx)check-execstack.h): Target removed.
30922 ($(objpfx)execstack-default): New target.
30923 (generated): Add that instead of check-execstack.h.
30924 ($(all-built-dso:=.phdr)): New static pattern rule.
30925 (generated): Add those targets.
30926 * elf/check-execstack.c: File removed.
30928 * scripts/check-textrel.awk: New file.
30929 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30930 (check-textrel-CFLAGS): Variable removed.
30931 (all-built-dso): Use := to define.o
30932 ($(all-built-dso:=.dyn)): New static pattern rule.
30933 (generated): Add those targets.
30934 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30935 * config.make.in (READELF): New substituted variable.
30936 * elf/check-textrel.c: File removed.
30938 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30940 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30942 * conform/data/ctype.h-data [C99-based standards] (isblank):
30944 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30945 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30946 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30947 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30948 Specify type. Require positive value.
30949 (EILSEQ): Likewise.
30950 (ERANGE): Likewise.
30951 [ISO || POSIX] (EILSEQ): Do not expect.
30952 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30953 Specify type. Require positive value.
30954 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30955 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30956 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30957 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30958 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30959 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30960 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30961 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30962 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30963 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30964 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30965 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30966 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30967 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30968 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30969 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30970 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30971 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30972 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30973 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30974 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30975 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30976 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30977 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30978 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30979 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30980 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30981 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30982 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30983 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30984 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30985 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30986 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30987 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30988 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30989 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30990 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30991 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30992 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30993 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30994 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30995 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30996 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30997 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30998 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30999 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31000 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31001 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31002 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31003 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31004 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31005 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31006 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31007 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31008 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31009 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31010 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31011 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31012 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31013 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31014 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31015 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31016 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31017 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31018 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31019 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31020 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31021 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31022 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31023 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31024 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31025 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31026 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31027 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31028 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31029 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31030 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31032 (FLT_ROUNDS): Expect as macro, not constant.
31033 (FLT_MANT_DIG): Use macro-int-constant.
31034 (DBL_MANT_DIG): Likewise.
31035 (LDBL_MANT_DIG): Likewise.
31036 (FLT_DIG): Likewise.
31037 (DBL_DIG): Likewise.
31038 (LDBL_DIG): Likewise.
31039 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31040 (DBL_MIN_EXP): Likewise.
31041 (LDBL_MIN_EXP): Likewise.
31042 (FLT_MAX_EXP): Use macro-int-constant.
31043 (DBL_MAX_EXP): Likewise.
31044 (LDBL_MAX_EXP): Likewise.
31045 (FLT_MAX_10_EXP): Likewise.
31046 (DBL_MAX_10_EXP): Likewise.
31047 (LDBL_MAX_10_EXP): Likewise.
31048 (FLT_MAX): Use macro-constant.
31049 (DBL_MAX): Likewise.
31050 (LDBL_MAX): Likewise.
31051 (FLT_EPSILON): Use macro-constant. Give upper bound.
31052 (DBL_EPSILON): Likewise.
31053 (LDBL_EPSILON): Likewise.
31054 (FLT_MIN): Likewise.
31055 (DBL_MIN): Likewise.
31056 (LDBL_MIN): Likewise.
31057 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31058 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31059 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31060 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31061 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31062 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31063 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31064 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31065 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31066 [ISO11] (FLT_TRUE_MIN): Likewise.
31067 [ISO11] (LDBL_TRUE_MIN): Likewise.
31068 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31069 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31070 (SCHAR_MIN): Use macro-int-constant. Specify type.
31071 (SCHAR_MAX): Likewise.
31072 (UCHAR_MAX): Likewise.
31073 (CHAR_MIN): Likewise.
31074 (CHAR_MAX): Likewise.
31075 (MB_LEN_MAX): Use macro-int-constant.
31076 (SHRT_MIN): Use macro-int-constant. Specify type.
31077 (SHRT_MAX): Likewise.
31078 (USHRT_MAX): Likewise.
31079 (INT_MAX): Likewise.
31080 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31082 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31084 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31086 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31087 bound negative. Suffix upper bound with "L".
31088 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31090 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31092 [C99-based standards] (LLONG_MAX): Likewise.
31093 [C99-based standards] (ULLONG_MAX): Likewise.
31094 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31096 [ISO11] (max_align_t): Require type.
31097 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31099 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31100 from $CFLAGS, without defining away __attribute__ calls.
31101 (checknamespace): Use $CFLAGS_namespace.
31103 * conform/conformtest.pl (@keywords): Only include C99 keywords
31104 for standards based on C99 or C11.
31106 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31108 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31111 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31112 usability of symbols in #if.
31114 * conform/conformtest.pl: If macro or constant types start
31115 "promoted:", expect the symbol to be of the following type
31116 promoted by the integer promotions.
31118 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31119 in one place. Also handle "macro-constant".
31121 * conform/conformtest.pl: Only accept expected macro values with
31122 "==". Parse all "macro" lines in one place.
31123 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31125 * conform/conformtest.pl: Handle braced types on "constant" lines
31126 instead of handling "typed-constant".
31127 * conform/data/signal.h-data: Use "constant" instead of
31130 * conform/conformtest.pl: Handle "optional-" at start of lines in
31131 one place rather than duplicating several cases. Handle each
31132 format of "macro" line with initial "optional-".
31134 * conform/conformtest.pl: Only accept expected constant or
31135 optional-constant values with "==". Parse all "constant" lines in
31136 one place. Parse all "optional-constant" lines in one place.
31137 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31138 * conform/data/fmtmsg.h-data: Likewise.
31139 * conform/data/netinet/in.h-data: Likewise.
31140 * conform/data/tar.h-data: Likewise.
31141 * conform/data/limits.h-data: Use "==" form on "constant" and
31142 "optional-constant" lines.
31144 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31145 Use -std=c99 for XOPEN2K.
31146 (@knownproblems): Remove.
31147 (newtoken): Don't check %isknown.
31149 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31150 Do not expect macro.
31151 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31152 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31153 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31154 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31155 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31156 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31157 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31158 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31159 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31160 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31161 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31162 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31163 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31164 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31165 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31166 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31167 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31168 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31169 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31170 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31171 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31172 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31173 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31174 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31175 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31176 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31177 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31178 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31179 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31180 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31181 [XPG3] (acosh): Likewise.
31182 [XPG3] (asinh): Likewise.
31183 [XPG3] (atanh): Likewise.
31184 [XPG3] (cbrt): Likewise.
31185 [XPG3] (expm1): Likewise.
31186 [XPG3] (ilogb): Likewise.
31187 [XPG3] (log1p): Likewise.
31188 [XPG3] (logb): Likewise.
31189 [XPG3] (nextafter): Likewise.
31190 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31191 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31192 [XPG3] (remainder): Likewise.
31193 [XPG3] (rint): Likewise.
31194 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31195 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31196 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31197 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31198 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31199 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31200 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31201 [UNIX98 || XOPEN2K] (scalb): Expect.
31202 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31203 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31204 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31205 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31206 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31207 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31208 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31209 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31210 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31211 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31212 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31213 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31214 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31215 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31216 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31217 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31218 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31219 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31220 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31221 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31222 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31223 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31224 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31225 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31226 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31227 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31228 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31229 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31230 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31231 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31232 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31233 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31234 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31235 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31236 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31237 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31238 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31239 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31240 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31241 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31242 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31243 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31244 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31245 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31246 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31247 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31248 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31249 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31250 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31251 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31252 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31253 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31254 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31255 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31256 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31257 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31258 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31259 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31260 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31261 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31262 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31263 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31264 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31265 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31266 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31267 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31268 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31269 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31270 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31271 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31272 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31273 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31274 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31275 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31276 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31277 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31278 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31279 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31280 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31281 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31282 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31283 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31284 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31285 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31286 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31287 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31288 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31289 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31290 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31291 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31292 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31293 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31294 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31295 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31296 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31297 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31298 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31299 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31300 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31301 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31302 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31303 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31304 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31305 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31306 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31307 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31308 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31309 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31310 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31311 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31312 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31313 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31314 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31315 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31316 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31317 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31318 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31319 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31320 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31321 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31322 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31323 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31324 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31325 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31326 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31327 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31328 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31329 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31330 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31331 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31332 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31333 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31334 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31335 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31336 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31337 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31338 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31340 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31341 _XOPEN_SOURCE_EXTENDED for XPG4.
31343 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31345 * Makeconfig (localtime): Remove variable.
31346 (inst_localtime-file): Likewise.
31348 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31369 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31373 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31374 comparisons to determine direction to adjust input.
31375 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31376 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31377 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31379 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31381 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31383 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31384 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31386 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31388 * math/libm-test.inc (nexttoward_test): Add more tests.
31390 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31393 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31394 in version GLIBC_2.1, not GLIBC_2.0.
31395 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31398 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31401 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31403 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31404 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31405 * math/libm-test.inc (acos_test): Add more tests.
31406 (asin_test): Likewise.
31407 * sysdeps/i386/fpu/libm-test-ulps: Update.
31408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31411 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31413 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31414 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31415 * math/libm-test.inc (acos_test_tonearest): New function.
31416 (acos_test_towardzero): Likewise.
31417 (acos_test_downward): Likewise.
31418 (acos_test_upward): Likewise.
31419 (asin_test_tonearest): Likewise.
31420 (asin_test_towardzero): Likewise.
31421 (asin_test_downward): Likewise.
31422 (asin_test_upward): Likewise.
31423 (main): Call the new functions.
31424 * sysdeps/i386/fpu/libm-test-ulps: Update.
31425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31429 * math/e_exp10.c: Include <float.h>.
31430 (__ieee754_exp10): Handle underflow here rather than multiplying
31431 large negative argument by M_LN10.
31432 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31434 * math/e_exp10l.c: Include <float.h>.
31435 (__ieee754_exp10l): Handle underflow here rather than multiplying
31436 large negative argument by M_LN10l.
31437 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31438 spurious overflow exception on underflow.
31440 2012-04-29 Marek Polacek <polacek@redhat.com>
31442 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31443 (__fortify_function): New macro.
31444 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31445 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31446 __extern_always_inline.
31447 * libio/bits/stdio2.h: Likewise.
31448 * libio/bits/stdio.h: Likewise.
31449 * string/string.h: Likewise.
31450 * string/bits/string3.h: Likewise.
31451 * include/stdio.h: Likewise.
31452 * stdlib/bits/stdlib.h: Likewise.
31453 * stdlib/stdlib.h: Likewise.
31454 * rt/bits/mqueue2.h: Likewise.
31455 * rt/mqueue.h: Likewise.
31456 * posix/bits/unistd.h: Likewise.
31457 * posix/unistd.h: Likewise.
31458 * io/bits/poll2.h: Likewise.
31459 * io/bits/fcntl2.h: Likewise.
31460 * io/fcntl.h: Likewise.
31461 * io/sys/poll.h: Likewise.
31462 * misc/bits/syslog.h: Likewise.
31463 * misc/bits/syslog-ldbl.h: Likewise.
31464 * misc/sys/syslog.h: Likewise.
31465 * socket/bits/socket2.h: Likewise.
31466 * socket/sys/socket.h: Likewise.
31467 * debug/tst-chk1.c: Likewise.
31468 * wcsmbs/bits/wchar2.h: Likewise.
31469 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31470 * wcsmbs/wchar.h: Likewise.
31472 2012-04-29 Andreas Jaeger <aj@suse.de>
31474 * Makerules (tests): Remove enable-check-abi protection.
31475 (check-abi-warn): Remove.
31476 (check-abi-%): Remove check-abi-warn usage.
31478 * configure.in: Remove check-abi configure option.
31479 * configure: Regenerated.
31480 * config.make.in (enable-check-abi): Remove.
31482 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31485 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31486 double functions to double *_finite functions.
31489 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31490 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31492 * stdio-common/Makefile (tests): Add tst-sprintf3.
31493 * stdio-common/tst-sprintf3.c: New file.
31495 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31496 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31498 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31500 * conform/conformtest.pl: Remove duplicate typed-constant
31503 2012-04-28 David S. Miller <davem@davemloft.net>
31505 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31506 (check-abi-%): Remove AWK script prerequisite and explicit
31508 (check-abi): Rewrite to just diff the symlist with the abilist.
31509 (config-tls, config-abi-config): Delete, no longer used.
31510 (update-abi-%): Remove AWK script and explicit abilist directory.
31511 (update-abi): Rewrite to simply compare and conditionally copy the
31512 symlist and the sysdep abilist file. Remove update-abi-config
31514 * abilist/ld.abilist: Remove.
31515 * abilist/libBrokenLocale.abilist: Remove.
31516 * abilist/libanl.abilist: Remove.
31517 * abilist/libcrypt.abilist: Remove.
31518 * abilist/libdl.abilist: Remove.
31519 * abilist/librt.abilist: Remove.
31520 * abilist/libthread_db.abilist: Remove.
31521 * abilist/libutil.abilist: Remove.
31522 * scripts/extract-abilist.awk: Remove.
31523 * scripts/merge-abilist.awk: Remove.
31524 * sysdeps/generic/libcidn.abilist: New file.
31525 * sysdeps/generic/libnss_compat.abilist: New file.
31526 * sysdeps/generic/libnss_db.abilist: New file.
31527 * sysdeps/generic/libnss_dns.abilist: New file.
31528 * sysdeps/generic/libnss_files.abilist: New file.
31529 * sysdeps/generic/libnss_hesiod.abilist: New file.
31530 * sysdeps/generic/libnss_nis.abilist: New file.
31531 * sysdeps/generic/libnss_nisplus.abilist: New file.
31532 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31533 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31534 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31536 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31537 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31538 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31539 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31540 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31541 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31542 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31543 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31544 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31546 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31547 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31548 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31549 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31551 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31552 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31553 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31554 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31555 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31556 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31558 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31559 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31560 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31562 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31665 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31666 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31667 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31669 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31670 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31671 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31672 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31673 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31674 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31675 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31676 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31677 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31678 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31730 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31732 * conform/conformtest.pl: Fix typo in handling typed-constant from
31735 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31737 * README: Cut down references to pre-2.6 Linux kernels and
31738 Linuxthreads. Update lists of configurations in libc and ports
31739 and sort alphabetically. Say "or newer" with Linux kernel version
31742 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31744 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31747 * math/libm-test.inc (logb_test_downward): New test to expose
31748 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31751 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31754 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31756 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31757 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31759 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31761 * sysdeps/unix/i386/brk.S: Remove file.
31762 * sysdeps/unix/i386/dl-brk.S: Likewise.
31763 * sysdeps/unix/i386/pipe.S: Likewise.
31764 * sysdeps/unix/i386/sigreturn.S: Likewise.
31765 * sysdeps/unix/i386/syscall.S: Likewise.
31766 * sysdeps/unix/i386/vfork.S: Likewise.
31767 * sysdeps/unix/i386/wait.S: Likewise.
31769 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31770 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31772 * configure.in (arm*-none*): Do not allow without
31773 --enable-hacker-mode.
31774 (netbsd*): Remove case setting base_os.
31775 (386bsd*): Likewise.
31776 (freebsd*): Likewise.
31779 (sunos*): Likewise.
31780 (ultrix*): Likewise.
31781 (newsos*): Likewise.
31782 (dynix*): Likewise.
31788 (minix*): Likewise.
31789 (irix4*): Likewise.
31790 (irix6*): Likewise.
31791 (solaris[2-9]*): Likewise.
31793 * configure: Regenerated.
31795 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31798 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31799 overflow or cancellation in calculating denominator.
31800 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31801 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31802 down expression to avoid unexpected rounding in newer GCCs.
31803 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31805 2012-04-26 David S. Miller <davem@davemloft.net>
31807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31808 long-double compat symbols.
31809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31823 2012-04-25 David S. Miller <davem@davemloft.net>
31825 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31826 HWCAP_* values only after the memory barriers have been defined.
31827 (atomic_full_barrier): Define.
31828 (atomic_read_barrier): Define.
31829 (atomic_write_barrier): Define.
31831 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31833 * shlib-versions: Add libgcc_s version information.
31834 * sysdeps/generic/libgcc_s.h: Remove.
31835 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31837 * sysdeps/gnu/unwind-resume.c: Likewise.
31838 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31840 2012-04-25 David S. Miller <davem@davemloft.net>
31842 * sysdeps/unix/sparc/brk.S: Delete.
31843 * sysdeps/unix/sparc/dl-brk.S: Delete.
31844 * sysdeps/unix/sparc/pipe.S: Delete.
31845 * sysdeps/unix/sparc/sysdep.S: Delete.
31846 * sysdeps/unix/sparc/sysdep.h: Delete.
31847 * sysdeps/unix/sparc/vfork.S: Delete.
31848 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31849 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31850 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31851 (ret_ERRVAL, r0, r1, MOVE): Define.
31852 (JUMPTARGET): Remove.
31853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31854 sysdeps/unix/sparc/sysdep.h
31855 (ENTRY, END): Remove.
31856 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31858 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31860 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31861 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31864 * timezone/README: Update upstream location and email address for
31866 * timezone/zdump.c: Update from tzcode 2012b.
31867 * timezone/zic.c: Likewise.
31869 * configure.in (libc_cv_as_needed): Remove test.
31870 * configure: Regenerated.
31871 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31872 conditional definition.
31873 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31874 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31875 * config.make.in (have-as-needed): Remove variable.
31877 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31878 Paul Pluzhnikov <ppluzhnikov@google.com>
31880 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31883 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31885 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31886 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31887 * sysdeps/sh/strlen.S: Likewise.
31889 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31891 * sysdeps/unix/fork.S: Remove file.
31892 * sysdeps/unix/i386/fork.S: Likewise.
31893 * sysdeps/unix/sparc/fork.S: Likewise.
31895 * sysdeps/unix/system.c: Remove file.
31896 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31898 * sysdeps/unix/getegid.S: Remove file.
31899 * sysdeps/unix/geteuid.S: Likewise.
31901 2012-04-24 Roland McGrath <roland@hack.frob.com>
31903 * scripts/check-localplt.awk: New file.
31904 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31906 * scripts/data/localplt-generic.data: Add a comment.
31908 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31909 NODE when __dir_mkfile failed.
31910 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31911 Reported by Ludovic Courtès <ludo@gnu.org>.
31913 2012-04-24 Andreas Jaeger <aj@suse.de>
31915 * Makerules (common-clean): Also remove gen-as-const-headers
31918 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31920 * Makerules (native-compile): Do not change working directory for
31921 build. Use $(OUTPUT_OPTION) in command.
31922 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31924 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31927 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31928 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31929 * math/libm-test.inc (floor_test): Add more tests.
31930 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31932 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31934 * sysdeps/unix/getdents.c: Remove file.
31935 * sysdeps/unix/sysv/getdents.c: Likewise.
31936 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31938 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31939 sysdeps/unix/mman/syscalls.list.
31941 (mprotect): Likewise.
31943 (munmap): Likewise.
31944 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31945 * sysdeps/unix/mman/syscalls.list: Remove.
31946 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31948 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31949 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31950 * configure: Regenerated.
31951 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31952 $(libgcc_s_suffix).
31953 * config.make.in (libgcc_s_suffix): Remove variable.
31955 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31957 * sysdeps/unix/sysv/gethostname.c: Move to ...
31958 * sysdeps/posix/gethostname.c: ... here.
31960 * sysdeps/unix/execve.S: Remove file.
31962 * sysdeps/unix/_exit.S: Remove file.
31964 2012-04-23 Andreas Jaeger <aj@suse.de>
31967 * manual/Makefile: Remove make dist support, there's no
31968 need for a stand-alone documentation tar ball.
31969 (TEXI2DVI): Define always, it's not in Makeconfig.
31972 (edition): Removed.
31973 (glibc-doc-$(edition).tar): Removed
31977 (ETAGS): Remove, it's in Makeconfig.
31978 (move-if-change): Remove, it's in Makeconfig.
31980 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31983 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31984 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31985 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31986 (strtod_l, strtof_l, strtold_l): Remove __wur.
31987 It is not necessarily an error to ignore strtol's return value.
31988 One can reliably look at the stored endptr to decide whether
31989 the number had valid syntax.
31991 2012-04-21 Andreas Jaeger <aj@suse.de>
31994 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31996 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31998 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31999 * sysdeps/unix/sysv/Versions: Remove file.
32001 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32006 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
32009 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32010 version from __vm86.
32012 2012-04-20 Joseph Myers <joseph@codesourcery.com>
32014 * sysdeps/unix/common/lxstat.c: Remove file.
32015 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32017 * sysdeps/unix/sysv/Makefile: Remove file.
32019 * sysdeps/unix/sysv/direct.h: Remove file.
32021 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32022 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32023 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32024 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32025 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32026 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32027 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32029 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32031 * sysdeps/unix/xmknod.c: Remove file.
32032 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32034 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32036 * sysdeps/unix/sysv/i386/time.S: Remove file.
32038 * sysdeps/unix/fxstat.c: Remove file.
32039 * sysdeps/unix/xstat.c: Likewise.
32040 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32042 * sysdeps/unix/sysv/sigaction.c: Remove file.
32044 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32045 (sysdep_headers): Remove variable.
32046 [termio.h not in sysdep_headers] (generated): Likewise.
32047 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32048 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32049 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32050 * sysdeps/unix/sysv/tcflow.c: Likewise.
32051 * sysdeps/unix/sysv/tcflush.c: Likewise.
32052 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32053 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32054 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32055 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32056 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32058 * sysdeps/unix/siglist.c: Remove file.
32060 * sysdeps/unix/getppid.S: Remove file.
32062 * sysdeps/unix/mkdir.c: Remove file.
32063 * sysdeps/unix/rmdir.c: Likewise.
32065 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32067 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32069 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32070 errlist-compat value.
32072 2012-04-18 David S. Miller <davem@davemloft.net>
32074 * sysdeps/generic/memcopy.h (reg_char): Delete.
32075 * debug/strcat_chk.c: Use char, not reg_char.
32076 * debug/strcpy_chk.c: Likewise.
32077 * debug/strncat_chk.c: Likewise.
32078 * debug/strncpy_chk.c: Likewise.
32079 * string/memchr.c: Likewise.
32080 * string/memrchr.c: Likewise.
32081 * string/rawmemchr.c: Likewise.
32082 * string/strcat.c: Likewise.
32083 * string/strchr.c: Likewise.
32084 * string/strchrnul.c: Likewise.
32085 * string/strcmp.c: Likewise.
32086 * string/strcpy.c: Likewise.
32087 * string/strncat.c: Likewise.
32088 * string/strncmp.c: Likewise.
32089 * string/strncpy.c: Likewise.
32091 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32093 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32094 __builtin_memcopy is called when src and dest ranges are known to not
32097 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32099 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32100 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32101 fwd_align_merge macro call.
32102 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32103 bwd_align_merge macro call.
32104 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32106 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32108 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32109 bwd_align_merge macros.
32110 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32111 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32112 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32114 2012-04-18 David S. Miller <davem@davemloft.net>
32116 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32118 2012-04-18 Andreas Jaeger <aj@suse.de>
32121 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32122 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32123 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32125 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32126 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32127 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32129 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32130 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32131 Adjust for changed ldbl-128 files.
32133 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32134 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32135 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32137 2012-04-17 David S. Miller <davem@davemloft.net>
32139 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32141 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32143 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32144 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32145 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32146 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32147 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32148 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32150 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32153 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32154 * math/libm-test.inc: Add ilogb errno and exception tests.
32155 * math/w_ilogb.c: New file: ilogb wrapper.
32156 * math/w_ilogbf.c: New file: ilogbf wrapper.
32157 * math/w_ilogbl.c: New file: ilogbl wrapper.
32158 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32159 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32160 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32161 exception being thrown with 0.0 as argument.
32162 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32163 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32164 exception being thrown with 0.0 as argument.
32165 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32166 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32167 exception being thrown with 0.0 as argument.
32168 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32169 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32170 exception being thrown with 0.0 as argument.
32171 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32172 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32173 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32174 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32175 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32176 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32177 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32178 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32179 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32181 2012-04-17 Petr Baudis <pasky@ucw.cz>
32183 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32186 2012-04-16 Marek Polacek <polacek@redhat.com>
32188 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32190 2012-04-16 Marek Polacek <polacek@redhat.com>
32192 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32193 operands of fdivp instruction.
32195 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32197 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32198 * elf/tst-auditmod3b.c: Likewise.
32199 * elf/tst-auditmod4b.c: Likewise.
32200 * elf/tst-auditmod5b.c: Likewise.
32201 * elf/tst-auditmod6b.c: Likewise.
32202 * elf/tst-auditmod6c.c: Likewise.
32203 * elf/tst-auditmod7b.c: Likewise.
32204 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32205 * sysdeps/x86_64/preconfigure.in: Likewise.
32206 * sysdeps/x86_64/preconfigure: Regenerated.
32208 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32210 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32213 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
32215 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32216 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32218 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32221 * locale/iso-639.def: Fix gl language name. Spotted by
32224 2012-04-12 Roland McGrath <roland@hack.frob.com>
32227 * libio/libio.h (__io_write_fn): Update comment.
32229 2012-04-12 Petr Baudis <pasky@ucw.cz>
32232 * stdio.texi (Hook Functions): The user provided writer function
32233 is not allowed to return -1.
32235 2012-04-11 David S. Miller <davem@davemloft.net>
32237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32239 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32241 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32242 Add a leading slash to rtkaio.
32244 2012-04-11 Jim Meyering <meyering@redhat.com>
32247 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32248 It is not necessarily an error to ignore fwrite's return
32249 value. One can reliably use ferror to test for errors after
32252 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32254 * bits/types.h (__snseconds_t): New type.
32255 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32257 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32259 (__SNSECONDS_T_TYPE): Likewise.
32260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32261 (__SNSECONDS_T_TYPE): Likewise.
32262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32263 (__SNSECONDS_T_TYPE): Likewise.
32265 2012-04-10 Andreas Jaeger <aj@suse.de>
32268 * manual/time.texi (Processor Time): Return type of times is
32269 elapsed real time since an arbitrary point in the past.
32270 (CPU Time): Move CLK_TCK from here...
32271 (Processor Time): ...to here. Correct description.
32272 * manual/conf.texi (Constants for Sysconf): Correct description of
32275 2012-04-10 David S. Miller <davem@davemloft.net>
32278 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32279 where the is a gap between DT_REL(A) and DT_JMPREL.
32281 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32283 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32284 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32285 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32287 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32289 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32290 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32291 (dl_main): Handle --inhibit-cache.
32292 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32294 * elf/dl-load.c (_dl_map_object): Use it.
32295 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32297 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32300 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32301 (__ieee754_powl): Saturate large exponents rather than testing for
32302 overflow of y*log2(x).
32303 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32304 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32308 * math/s_ctan.c: Include <float.h>.
32309 (__ctan): Avoid internal overflow or cancellation in calculating
32311 * math/s_ctanf.c: Likewise.
32312 * math/s_ctanl.c: Likewise.
32313 * math/s_ctanh.c: Likewise.
32314 * math/s_ctanhf.c: Likewise.
32315 * math/s_ctanhl.c: Likewise.
32316 * math/libm-test.inc (ctan_test): Add more tests.
32317 (ctanh_test): Likewise.
32318 * sysdeps/i386/fpu/libm-test-ulps: Update.
32319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32321 2012-04-09 Andreas Jaeger <aj@suse.de>
32324 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32325 is an optional BSD extension.
32328 * manual/stdio.texi (Opening Streams): Document additional fopen
32331 2012-04-09 Roland McGrath <roland@hack.frob.com>
32333 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32334 %eax without telling the compiler.
32336 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32339 * manual/install.texi: Use sourceware.org.
32341 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32344 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32345 (__ieee754_pow): Generate overflow and underflow using huge*huge
32346 and tiny*tiny rather than just returning constant infinity or zero
32347 for large exponents.
32348 * math/libm-test.inc (pow_test): Require overflow exceptions for
32349 applicable cases of large exponents.
32352 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32353 (__ieee754_pow): Use iterative multiplication algorithm only for
32354 integer exponents with absolute value below 1024. Check for odd
32355 integer exponents when using algorithm for real exponents.
32356 * math/libm-test.inc (pow_test): Add more tests.
32357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32359 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32362 * math/libm-test.inc (exp_test): Do not allow overflow exception
32365 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32368 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32369 instead of __kernel_standard_f.
32371 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32373 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32374 * sysdeps/x86_64/memset_chk.S: Likewise.
32376 2012-04-08 Andreas Jaeger <aj@suse.de>
32379 * manual/startup.texi (Environment Access): Describe return value
32380 for putenv and setenv.
32383 * manual/filesys.texi (Directory Entries): Add description for
32387 * manual/filesys.texi (Directory Entries): Clarify that it's file
32388 system not operating system in the description of DT_UNKNOWN.
32391 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32393 2012-04-08 Stephen Compall <s11@member.fsf.org>
32396 * manual/llio.texi (Opening and Closing Files): Add cross
32397 reference to explain mode argument.
32399 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32401 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32402 * sysdeps/x86_64/memset_chk.S: Likewise.
32404 2012-04-07 David S. Miller <davem@davemloft.net>
32406 * elf/elf.h (R_SPARC_WDISP10): Define.
32407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32409 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32410 R_SPARC_SIZE64 and R_SPARC_H34.
32412 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32414 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32415 conditions and remove no longer applicable assertion.
32417 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32419 * bits/byteswap.h: Include <features.h>.
32420 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32421 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32423 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32425 * bits/byteswap.h (__bswap_16): Removed.
32426 Include <bits/byteswap-16.h> to get __bswap_16.
32427 * sysdeps/i386/bits/byteswap.h: Likewise.
32428 * sysdeps/s390/bits/byteswap.h: Likewise.
32429 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32430 * bits/byteswap-16.h: New file.
32431 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32432 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32433 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32434 * string/Makefile (headers): Add bits/byteswap-16.h.
32436 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32439 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32441 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32442 * nss/tst-nss-static.c: New.
32444 2012-04-06 Robert Millan <rmh@gnu.org>
32447 * manual/llio.texi (File Position Primitive): lseek
32448 refers to WHENCE when it really means OFFSET.
32450 2012-04-06 Andreas Jaeger <aj@suse.de>
32452 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32453 strncmp declarations.
32455 * abilist/libc.abilist: Add __poll and __ppoll.
32457 2012-04-05 David S. Miller <davem@davemloft.net>
32459 * scripts/check-local-headers.sh: Accept a host triplet in the
32460 path matched by the exclude regexp.
32462 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32464 * sysdeps/powerpc/powerpc32/dl-machine.h
32465 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32466 * sysdeps/s390/s390-32/dl-machine.h
32467 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32468 * sysdeps/sparc/sparc32/dl-machine.h
32469 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32470 * sysdeps/sparc/sparc64/dl-machine.h
32471 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32473 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32475 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32476 undefined symbol errors.
32478 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32481 2012-04-05 Michael Matz <matz@suse.de>
32484 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32486 2012-04-05 Andreas Jaeger <aj@suse.de>
32489 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32492 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32494 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32495 which ROUND is no valid rounding mode.
32497 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32499 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32501 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32503 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32505 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32506 an exception using FPU order intentionally.
32508 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32510 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32511 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32512 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32513 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32515 2012-04-05 Simon Josefsson <simon@josefsson.org>
32518 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32519 EINVAL when BUFLEN is too smal.
32521 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32524 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32525 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32527 2012-04-03 Andreas Jaeger <aj@suse.de>
32530 * manual/setjmp.texi (System V contexts): Fix sentence.
32533 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32534 New macro for this case.
32535 [!__GNUC__] (__bswap_64): New inline function for this case.
32536 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32537 * bits/byteswap.h: Likewise.
32538 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32539 ull, guard with __GLIBC_HAVE_LONG_LONG.
32541 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32542 __GLIBC_HAVE_LONG_LONG.
32544 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32545 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32547 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32550 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32551 inptr and inend, rather than using last_ch.
32553 2012-04-02 David S. Miller <davem@davemloft.net>
32555 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32556 * stdio-common/printf-parse.h (read_int): Change return type to
32557 'int', return -1 on INT_MAX overflow.
32558 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32559 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32560 overflows INT_MAX. Check for overflow of in-format-string precision
32561 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32562 SIZE_MAX not INT_MAX for integer overflow test.
32563 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32564 skip the construct in the format string but do not record anything.
32565 * stdio-common/bug22.c: Adjust to test both width/prevision
32566 INT_MAX overflow as well as total length INT_MAX overflow. Check
32567 explicitly for proper errno values.
32569 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32571 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32573 * string/test-strcmp.c [! WIDE]: Likewise.
32574 * time/tst-mktime2.c: Likewise for INT_MAX.
32575 * string/test-string.h: #include <sys/param.h> for MIN.
32577 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32578 * sysdeps/i386/init-first.c (init): Likewise.
32579 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32580 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32581 * sysdeps/sh/init-first.c (init): Likewise.
32583 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32585 * po/ru.po: Update from translation team.
32586 * po/vi.po: Likewise.
32588 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32590 * resolv/nss_dns/dns-host.c: Merge copyright years.
32592 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32594 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32595 Optimize memcpy with prefetch if
32596 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32597 src, dst pointers have unequal 16 byte alignments.
32599 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32602 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32603 from a CNAME entry and return the minimum ttl for the query.
32604 (gaih_getanswer_slice): Likewise.
32606 2012-03-30 Jeff Law <law@redhat.com>
32608 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32610 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32611 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32613 * resolv/nss_dns/dns-host.c: Update copyright year.
32615 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32617 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32618 requests to save a system call. Fix check that all bytes are sent.
32620 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32621 comments for sendmmsg.
32623 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32626 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32627 with only 1 character between 0x0041 and 0x01b0.
32628 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32629 * wcsmbs/tst-mbsnrtowcs.c: New file.
32631 2012-03-29 David S. Miller <davem@davemloft.net>
32633 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32634 small copies by hand.
32636 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32639 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32640 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32643 2012-03-28 David S. Miller <davem@davemloft.net>
32645 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32646 that branches into memcpy.
32647 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32648 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32649 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32650 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32653 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32654 implementation too.
32655 * sysdeps/sparc/mempcpy.S: New file.
32657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32658 the IFUNC routine in the libc case.
32659 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32661 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32662 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32663 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32664 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32665 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32666 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32667 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32668 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32670 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32671 loop to 256 bytes instead of 64 bytes and fix test signedness.
32673 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32674 * sysdeps/sparc/sparc32/Makefile: rather than here...
32675 * sysdeps/sparc/sparc64/Makefile: and here.
32677 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32679 * malloc/mallocbug.c: Avoid warnings about unused variables.
32681 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32684 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32685 in the right place. Discard and retry query if response is
32686 larger than input buffer size.
32688 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32693 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32694 x for large integer exponent.
32695 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32696 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32697 sign of result as needed afterwards.
32698 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32699 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32700 result for underflowing pow the same as for overflow.
32701 (__kernel_standard_l): Handle powl overflow and underflow here
32702 rather than calling __kernel_standard.
32703 * math/libm-test.inc (pow_test): Add more tests.
32718 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32719 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32720 (__kernel_standard_l): New function.
32721 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32723 * math/w_acosl.c (__acosl): Likewise.
32724 * math/w_asinl.c (__asinl): Likewise.
32725 * math/w_atan2l.c (__atan2l): Likewise.
32726 * math/w_atanhl.c (__atanhl): Likewise.
32727 * math/w_coshl.c (__coshl): Likewise.
32728 * math/w_exp10l.c (__exp10l): Likewise.
32729 * math/w_exp2l.c (__exp2l): Likewise.
32730 * math/w_fmodl.c (__fmodl): Likewise.
32731 * math/w_hypotl.c (__hypotl): Likewise.
32732 * math/w_j0l.c (__j0l, __y0l): Likewise.
32733 * math/w_j1l.c (__j1l, __y1l): Likewise.
32734 * math/w_jnl.c (__jnl, __ynl): Likewise.
32735 * math/w_lgammal.c (__lgammal): Likewise.
32736 * math/w_log10l.c (__log10l): Likewise.
32737 * math/w_log2l.c (__log2l): Likewise.
32738 * math/w_logl.c (__logl): Likewise.
32739 * math/w_powl.c (__powl): Likewise.
32740 * math/w_remainderl.c (__remainderl): Likewise.
32741 * math/w_scalbl.c (sysv_scalbl): Likewise.
32742 * math/w_sinhl.c (__sinhl): Likewise.
32743 * math/w_sqrtl.c (__sqrtl): Likewise.
32744 * math/w_tgammal.c (__tgammal): Likewise.
32745 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32746 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32747 * math/libm-test.inc (acos_test): Add more tests.
32748 (acosh_test): Likewise.
32749 (asin_test): Likewise.
32750 (atanh_test): Likewise.
32751 (exp_test): Likewise.
32752 (exp10_test): Likewise.
32753 (exp2_test): Likewise.
32754 (expm1_test): Likewise.
32755 (lgamma_test): Likewise.
32756 (log_test): Likewise.
32757 (log10_test): Likewise.
32758 (log1p_test): Likewise.
32759 (log2_test): Likewise.
32760 (pow_test): Do not allow some spurious overflow exceptions.
32761 (sqrt_test): Add more tests.
32762 (tgamma_test): Likewise.
32763 (y0_test): Likewise.
32764 (y1_test): Likewise.
32765 (yn_test): Likewise.
32767 2012-03-27 Anton Blanchard <anton@samba.org>
32769 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32771 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32772 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32773 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32775 2012-03-27 David S. Miller <davem@davemloft.net>
32777 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32779 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32780 have-as-vis3 check.
32782 2012-03-27 Andreas Jaeger <aj@suse.de>
32784 * sysdeps/x86_64/elf/configure.in: Moved to ...
32785 * sysdeps/x86_64/configure.in: ... here.
32786 * sysdeps/x86_64/elf/start.S: Moved to ...
32787 * sysdeps/x86_64/start.S: ... here.
32788 * sysdeps/x86_64/elf/configure: Delete.
32790 * sysdeps/x86_64/configure.in: Merge contents from
32791 sysdeps/i386/configure.in (without i686 check).
32793 * sysdeps/i386/elf/Versions: Merge into ...
32794 * sysdeps/i386/Versions: ... this.
32795 * sysdeps/i386/elf/Versions: Delete file.
32796 * sysdeps/i386/elf/start.S: Moved to ...
32797 * sysdeps/i386/start.S: ...here.
32798 * sysdeps/i386/elf/configure.in: Merge into...
32799 * sysdeps/i386/configure.in: ...here.
32800 * sysdeps/i386/elf/configure.in: Delete file.
32801 * sysdeps/i386/elf/configure: Delete file.
32803 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32804 * debug/backtracesyms.c: ... here.
32805 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32806 * debug/backtracesymsfd.c: ... here.
32807 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32808 * sysdeps/generic/ifunc-sel.h: ... here.
32810 * sysdeps/unix/i386/start.c: Delete file.
32811 * sysdeps/unix/sparc/start.c: Delete file.
32812 * sysdeps/unix/start.c: Delete file.
32814 * sysdeps/sh/elf/configure.in: Moved to ...
32815 * sysdeps/sh/configure.in: ... here.
32816 * sysdeps/sh/elf/start.S: Moved to ...
32817 * sysdeps/sh/start.S: ... here.
32818 * sysdeps/sh/elf/configure: Delete file.
32820 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32821 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32822 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32823 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32824 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32825 * sysdeps/powerpc/powerpc64/start.S: here.
32826 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32827 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32828 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32829 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32830 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32832 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32833 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32834 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32835 * sysdeps/powerpc/powerpc32/start.S: ... here.
32836 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32837 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32838 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32840 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32841 * sysdeps/powerpc/ifunc-sel.h: ... here.
32842 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32843 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32845 * sysdeps/sparc/elf/configure.in: Moved to ...
32846 * sysdeps/sparc/configure.in: ... here.
32847 * sysdeps/sparc/elf/configure: Delete file.
32848 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32849 * sysdeps/sparc/sparc32/start.S: ... here.
32850 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32851 * sysdeps/sparc/sparc64/start.S: ... here.
32852 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32853 * sysdeps/sparc/sparc32/Makefile: ... this.
32854 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32855 * sysdeps/sparc/sparc64/Makefile: ... this.
32857 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32858 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32859 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32860 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32861 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32862 * sysdeps/s390/s390-32/setjmp.S: ... here.
32863 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32864 * sysdeps/s390/s390-32/configure.in: ... here.
32865 * sysdeps/s390/s390-32/elf/configure: Delete file.
32866 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32867 * sysdeps/s390/s390-32/start.S: ... here.
32869 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32870 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32871 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32872 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32873 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32874 * sysdeps/s390/s390-64/setjmp.S: ... here.
32875 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32876 * sysdeps/s390/s390-64/configure.in: ... here
32877 * sysdeps/s390/s390-64/elf/configure: Delete file.
32878 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32879 * sysdeps/s390/s390-64/start.S: ... here.
32880 * sysdeps/s390/s390-64/elf/configure: Delete.
32882 * configure.in: Remove support for elf directories in sysdeps.
32884 * configure: Regenerated.
32885 * sysdeps/i386/configure: Regenerated.
32886 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32887 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32888 * sysdeps/s390/s390-32/configure: Regenerated.
32889 * sysdeps/s390/s390-64/configure: Regenerated.
32890 * sysdeps/sh/configure: Regenerated.
32891 * sysdeps/sparc/configure: Regenerated.
32892 * sysdeps/x86_64/configure: Regenerated.
32894 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32898 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32899 denormal result into account.
32901 2012-03-25 Roland McGrath <roland@hack.frob.com>
32903 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32904 Reported by Allan McRae <allan@archlinux.org>.
32906 2012-03-23 Jeff Law <law@redhat.com>
32908 * nss/getnssent.c (__nss_getent): Fix typo.
32910 2012-03-23 David S. Miller <davem@davemloft.net>
32912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32914 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32916 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32917 to pad to uint64_t for each field.
32918 (dl_tls_index): Replace unsigned long with uint64_t.
32920 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32921 Paul Pluzhnikov <ppluzhnikov@google.com>
32924 * grp/Makefile (otherlibs): Don't set it.
32925 * inet/Makefile (otherlibs): Likewise.
32926 * login/Makefile (otherlibs): Likewise.
32927 * nscd/Makefile (otherlibs): Likewise.
32928 * posix/Makefile (otherlibs): Likewise.
32929 * pwd/Makefile (otherlibs): Likewise.
32930 * rt/Makefile (otherlibs): Likewise.
32931 * sunrpc/Makefile (otherlibs): Likewise.
32932 * nss/Makefile (otherlibs): Likewise.
32933 Add libnss_files to routines and static-only-routines.
32934 ($(objpfx)getent): Remove rule.
32935 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32936 static-only-routines.
32938 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32941 * math/s_cexp.c: Include <float.h>.
32942 (__cexp): Handle exp result overflowing not necessarily
32943 overflowing both real and imaginary parts of result.
32944 * math/s_cexpf.c: Likewise.
32945 * math/s_cexpl.c: Likewise.
32946 * math/libm-test.inc (cexp_test): Add more tests.
32947 * sysdeps/i386/fpu/libm-test-ulps: Update.
32948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32950 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32952 * include/link.h (ELFW): New macro.
32953 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32954 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32956 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32958 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32961 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32963 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32965 (struct La_x32_retval): Likewise.
32967 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32969 * sysdeps/x86_64/preconfigure.in: New file.
32970 * sysdeps/x86_64/preconfigure: New generated file.
32972 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32975 * math/e_exp2l.c: Include <float.h>.
32976 (__ieee754_exp2l): Handle overflow and underflow cases
32977 separately. Only pass fractional part of argument to
32979 * math/libm-test.inc (exp2_test): Add more tests.
32981 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32982 negating x to take absolute value.
32983 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32985 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32986 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32988 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32989 computing low part if x was negated.
32990 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32992 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32994 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32995 la_x32_gnu_pltexit.
32996 (pltexit): Cast int_retval to ptrdiff_t.
32997 * elf/tst-auditmod3b.c: Likewise.
32998 * elf/tst-auditmod4b.c: Likewise.
32999 * elf/tst-auditmod5b.c: Likewise.
33000 * elf/tst-auditmod6b.c: Likewise.
33001 * elf/tst-auditmod6c.c: Likewise.
33002 * elf/tst-auditmod7b.c: Likewise.
33004 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33005 and x32_gnu_pltexit.
33007 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33008 __ELF_NATIVE_CLASS.
33009 (La_x32_regs): New macro.
33010 (La_x32_retval): Likewise.
33011 (la_x32_gnu_pltenter): New function prototype.
33012 (la_x32_gnu_pltexit): Likewise.
33014 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33016 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33021 * configure.in (libc_cv_cc_nofma): Check for option to disable
33022 generation of FMA instructions.
33023 * configure: Regenerate.
33024 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33025 * sysdeps/ieee754/dbl-64/Makefile: New file.
33026 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33027 Remove brandred-fma4.
33028 (CFLAGS-brandred-fma4.c): Remove.
33029 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33030 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33032 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33035 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33037 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33038 LLONG_MAX != LONG_MAX.
33039 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33040 (_fitoa_word): Likewise.
33041 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33042 LLONG_MAX != LONG_MAX.
33043 * stdio-common/_itowa.h: Include <_itoa.h>.
33044 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33045 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33046 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33047 only if not defined.
33048 (_ITOA_WORD_TYPE): Likewise.
33049 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33050 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33052 2012-03-21 David S. Miller <davem@davemloft.net>
33054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33056 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33058 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33059 of x86_64 when setting libc_cv_slibdir, libdir and
33061 * sysdeps/unix/sysv/linux/configure: Regenerated.
33063 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33065 * manual/lang.texi (Old Varargs): Remove section.
33066 (How Variadic): Update menu.
33067 (va_start): Do not mention varargs.h.
33069 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33070 Joseph Myers <joseph@codesourcery.com>
33072 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33074 * configure: Regenerated.
33076 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33078 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33079 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33082 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33085 * Makefile (files-for-dist): Remove NOTES.
33086 (NOTES): Remove rule.
33087 * README: Don't refer to NOTES.
33088 * manual/creature.texi: Don't include macros.texi.
33089 * manual/intro.texi (creature.texi): Remove comment referring to
33092 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33093 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33094 * configure: Regenerated.
33095 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33096 LIBC_TRY_CC_OPTION.
33097 (libc_cv_as_i686): Likewise.
33098 (libc_cv_cc_avx): Likewise.
33099 (libc_cv_cc_sse2avx): Likewise.
33100 (libc_cv_cc_fma4): Likewise.
33101 (libc_cv_cc_novzeroupper): Likewise.
33102 * sysdeps/i386/configure: Regenerated.
33105 * sysdeps/i386/fpu/s_cexp.S: Remove.
33106 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33107 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33108 * math/libm-test.inc (cexp_test): Add more tests.
33109 * sysdeps/i386/fpu/libm-test-ulps: Update.
33110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33112 2012-03-21 Allan McRae <allan@archlinux.org>
33114 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33116 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33119 * math/w_exp2.c: Do not include <float.h>.
33120 (o_threshold, u_threshold): Remove.
33121 (__exp2): Calculate result before checking finiteness and calling
33123 * math/w_exp2f.c: Likewise.
33124 * math/w_exp2l.c: Likewise.
33125 * math/libm-test.inc (exp2_test): Require overflow exception for
33129 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33130 range of signed 64-bit integers before using fistpll. Remove
33131 checks for whether integers fit in mantissa bits.
33132 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33133 the range of signed 32-bit integers before using fistpl. Remove
33134 checks for whether integers fit in mantissa bits.
33135 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33136 (__ieee754_powl): Test for y outside the range of signed 64-bit
33137 integers before using fistpll. Reduce 64-bit values to 63-bit
33139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33140 divide-by-zero is raised for zero to large negative powers.
33141 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33142 (__ieee754_powl): Test for y outside the range of signed 64-bit
33143 integers before using fistpll. Reduce 64-bit values to 63-bit
33145 * math/libm-test.inc (pow_test): Add more tests.
33147 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33149 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33150 <stdio-common/_itoa.h>.
33151 * debug/segfault.c: Likewise.
33152 * elf/dl-cache.c: Likewise.
33153 * elf/dl-minimal.c: Likewise.
33154 * elf/dl-misc.c: Likewise.
33155 * elf/dl-sysdep.c: Likewise.
33156 * elf/dl-version.c: Likewise.
33157 * elf/rtld.c: Likewise.
33158 * hurd/hurdsock.c: Likewise.
33159 * hurd/lookup-retry.c: Likewise.
33160 * malloc/malloc.c: Likewise.
33161 * malloc/mtrace.c: Likewise.
33162 * nscd/nscd_getgr_r.c: Likewise.
33163 * nscd/nscd_getpw_r.c: Likewise.
33164 * nscd/nscd_getserv_r.c: Likewise.
33165 * posix/getopt_init.c: Likewise.
33166 * posix/wordexp.c: Likewise.
33167 * stdio-common/_itoa.c: Likewise.
33168 * stdio-common/printf_fphex.c: Likewise.
33169 * stdio-common/vfprintf.c: Likewise.
33170 * string/_strerror.c: Likewise.
33171 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33172 * sysdeps/i386/i686/hp-timing.h: Likewise.
33173 * sysdeps/mach/_strerror.c: Likewise.
33174 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33175 * sysdeps/mach/hurd/sethostid.c: Likewise.
33176 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33177 * sysdeps/mach/xpg-strerror.c: Likewise.
33178 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33179 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33180 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33181 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33182 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33183 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33184 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33185 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33186 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33187 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33188 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33189 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33190 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33191 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33192 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33193 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33194 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33195 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33196 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33197 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33198 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33200 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33202 * stdio-common/_itoa.h: Moved to ...
33203 * sysdeps/generic/_itoa.h: Here.
33205 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33207 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33208 instead of "_itoa.h" and "_itowa.h".
33209 * stdio-common/vfprintf.: Likewise.
33211 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33213 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33215 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33216 (__signbit): Likwise.
33217 (llrintf): Likwise.
33220 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33222 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33225 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33227 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33228 OVERFLOW_EXCEPTION_OK.
33229 * math/libm-test.inc ("Philosophy"): Update comment about
33231 (OVERFLOW_EXCEPTION): Define.
33232 (OVERFLOW_EXCEPTION_OK): Likewise.
33233 (INVALID_EXCEPTION_OK): Renumber.
33234 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33235 (IGNORE_ZERO_INF_SIGN): Likewise.
33236 (test_exceptions): Handle FE_OVERFLOW.
33237 (exp10_test): Expect overflow exceptions.
33238 (exp2_test): Likewise.
33239 (expm1_test): Likewise.
33240 (nextafter_test): Likewise.
33241 (pow_test): Likewise.
33242 (scalbn_test): Likewise.
33243 (scalbln_test): Likewise.
33245 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33247 * sysdeps/x86_64/bits/atomic.h
33248 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33250 (atomic_exchange_acq): Likewise.
33251 (__arch_exchange_and_add_body): Likewise.
33252 (__arch_add_body): Likewise.
33253 (atomic_add_negative): Likewise.
33254 (atomic_add_zero): Likewise.
33256 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33258 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33259 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33261 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33263 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33264 Check __x86_64__ instead of __WORDSIZE.
33266 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33268 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33270 2012-03-19 David S. Miller <davem@davemloft.net>
33272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33274 * sysdeps/sparc/fpu/fenv_private.h: New file.
33275 * sysdeps/sparc/fpu/math_private.h: Use it.
33276 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33278 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33279 (libc_feholdexcept_setroundl): Remove.
33280 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33282 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33283 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33285 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33287 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33288 int64_t instead of long int.
33289 (INSERT_WORDS64): Likwise.
33291 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33293 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33294 _Unwind_GetCFA return to _Unwind_Ptr first.
33296 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33299 * math/s_clog.c: Include <float.h>.
33300 (__clog): Scale large or subnormal inputs.
33301 * math/s_clogf.c: Likewise.
33302 * math/s_clogl.c: Likewise.
33303 * math/s_clog10.c: Include <float.h>.
33304 (M_LOG10_2): Define.
33305 (__clog10): Scale large or subnormal inputs.
33306 * math/s_clog10f.c: Likewise.
33307 * math/s_clog10l.c: Likewise.
33308 * math/libm-test.inc (clog_test): Add more tests.
33309 (clog10_test): Likewise.
33310 * sysdeps/i386/fpu/libm-test-ulps: Update.
33311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33314 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33316 * math/libm-test.inc (atan2_test): Add another test.
33318 * Makerules (common-objdir-compile): Remove.
33319 * sysdeps/unix/Makefile (config-generated): Do not add
33320 $(unix-generated) to variable.
33321 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33322 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33324 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33326 [generic bits/local_lim.h] (before-compile): Do not append to
33328 [generic bits/local_lim.h] (common-generated): Likewise.
33329 [generic sys/param.h] (before-compile): Do not append to variable.
33330 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33331 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33332 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33333 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33335 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33336 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33337 [generic sys/param.h] ($(addprefix
33338 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33339 [generic sys/param.h] (common-generated): Do not append to
33341 [generic sys/param.h] (sysdep_headers): Likewise.
33342 [generic bits/errno.h] (before-compile): Do not append to
33344 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33346 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33347 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33348 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33349 [generic bits/errno.h] (common-generated): Do not append to
33351 [generic bits/ioctls.h] (before-compile): Do not append to
33353 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33355 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33356 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33357 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33359 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33360 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33361 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33362 [generic bits/ioctls.h] (common-generated): Do not append to
33364 [generic sys/syscall.h] (syscall.h): Remove variable.
33365 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33367 [generic sys/syscall.h] (before-compile): Do not append to
33369 [generic sys/syscall.h] (common-generated): Likewise.
33370 * sysdeps/unix/errnos-tmpl.c: Remove file.
33371 * sysdeps/unix/errnos.awk: Likewise.
33372 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33373 * sysdeps/unix/ioctls.awk: Likewise.
33374 * sysdeps/unix/mk-local_lim.c: Likewise.
33375 * sysdeps/unix/snarf-ioctls: Likewise.
33377 2012-03-19 Richard Henderson <rth@twiddle.net>
33379 * sysdeps/i386/fpu/fenv_private.h: New file.
33380 * sysdeps/i386/fpu/math_private.h: Use it.
33381 (math_opt_barrier, math_force_eval): Remove.
33382 (libc_feholdexcept_setround_53bit): Remove.
33383 (libc_feupdateenv_53bit): Remove.
33384 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33385 (math_opt_barrier, math_force_eval): Remove.
33386 (libc_feholdexcept): Remove.
33387 (libc_feholdexcept_setround): Remove.
33388 (libc_fetestexcept, libc_fesetenv): Remove.
33389 (libc_feupdateenv_test): Remove.
33390 (libc_feupdateenv, libc_feholdsetround): Remove.
33391 (libc_feresetround): Remove.
33393 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33394 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33396 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33397 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33398 (libc_feupdateenv_testl): New.
33399 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33400 (libc_feupdateenv_testf): New.
33401 (libc_feupdateenv): Use libc_feupdateenv_test.
33402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33403 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33405 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33406 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33407 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33408 (libc_feresetround_noex): New.
33409 (libc_feresetround_noexf): New.
33410 (libc_feresetround_noexl): New.
33411 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33412 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33413 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33414 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33416 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33417 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33419 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33420 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33421 SET_RESTORE_ROUND_NOEX.
33422 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33423 SET_RESTORE_ROUND_NOEXF.
33424 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33425 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33426 (libc_feholdsetroundf): New.
33427 (libc_feresetround, libc_feresetroundf): New.
33429 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33430 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33431 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33433 * sysdeps/generic/math_private.h: Include <fenv.h>.
33434 (default_libc_feholdexcept): New.
33435 (default_libc_feholdexcept_setround): New.
33436 (default_libc_fesetenv, default_libc_feupdateenv): New.
33437 (libc_feholdexcept): Only define if undefined.
33438 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33439 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33440 (libc_feholdexcept_setroundl): Likewise.
33441 (libc_feholdexcept_setround_53bit): Likewise.
33442 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33443 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33444 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33445 (libc_feupdateenv_53bit): Likewise.
33446 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33447 (libc_feholdexcept): Convert from macro to inline function.
33448 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33449 (libc_fesetenv, libc_feupdateenv): Likewise.
33451 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33452 not previously defined.
33453 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33454 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33455 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33456 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33457 * sysdeps/ieee754/flt-32/math_private.h: New file.
33458 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33459 math_private.h below SET_FLOAT_WORD.
33460 (__isnan, __isinf_ns, __finite): Remove.
33461 (__isnanf, __isinf_nsf, __finitef): Remove.
33463 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33467 2012-03-17 David S. Miller <davem@davemloft.net>
33470 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33473 2012-03-16 David S. Miller <davem@davemloft.net>
33475 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33479 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33481 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33482 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33483 sysdep_routines when subdir is sysvipc.
33484 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33485 __getshmlba helper.
33487 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33489 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33491 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33494 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33496 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33497 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33498 (__lround): Renamed to ...
33499 (__llround): This. Replace long int with long long int.
33500 Define lround functions as aliases of llround functions.
33501 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33503 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33505 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33506 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33507 adresses to uintptr_t. Replace "long int" and "unsigned long
33508 int" with "greg_t" on va_arg.
33510 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33512 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33513 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33515 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33516 Move e_machine check before EI_CLASS check. Handle x32
33517 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33518 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33519 SKIP_EM_IA_64 and include
33520 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33522 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33523 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33524 (add_system_dir): New macro.
33526 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33527 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33529 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33540 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33542 * math/w_j0f.c (j0f): Likewise.
33544 * math/w_j0l.c (__j0l): Likewise.
33546 * math/w_j1.c (j1): Likewise.
33548 * math/w_j1f.c (j1f): Likewise.
33550 * math/w_j1l.c (__j1l): Likewise.
33552 * math/w_jn.c (jn): Likewise.
33554 * math/w_jnf.c (jnf): Likewise.
33556 * math/w_jnl.c (__jnl): Likewise.
33558 * math/libm-test.inc (j0_test): Add more tests.
33559 (j1_test): Likewise.
33560 (jn_test): Likewise. Add trailing semicolon to existing test.
33561 (y0_test): Likewise.
33562 (y1_test): Likewise.
33563 * sysdeps/i386/fpu/libm-test-ulps: Update.
33564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33568 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33569 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33570 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33571 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33572 (__tanl): Set errno for infinite argument.
33573 * sysdeps/i386/fpu/mptan.c: Remove.
33574 * sysdeps/i386/fpu/s_tan.S: Likewise.
33575 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33576 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33577 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33578 * math/libm-test.inc (tan_test): Add more tests and enable more
33579 tests for double and long double.
33580 * sysdeps/i386/fpu/libm-test-ulps: Update.
33581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33583 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33585 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33586 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33588 2012-03-16 Roland McGrath <roland@hack.frob.com>
33590 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33591 * configure.in: Use it for both main tree and add-ons.
33592 * configure: Regenerated.
33594 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33596 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33598 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33600 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33604 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33605 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33606 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33607 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33608 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33610 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33612 != 0 for prec == 2.
33613 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33614 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33615 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33616 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33617 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33618 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33619 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33620 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33621 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33622 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33623 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33624 * math/libm-test.inc (cos_test): Add more tests and enable more
33625 tests for long double.
33626 (sin_test): Likewise.
33627 (sincos_test): Likewise.
33628 * sysdeps/i386/fpu/libm-test-ulps: Update.
33629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33631 2012-03-16 David S. Miller <davem@davemloft.net>
33633 * sysdeps/sparc/fpu/math_private.h: New file.
33635 2012-03-15 David S. Miller <davem@davemloft.net>
33637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33651 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33652 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33654 * sysdeps/sparc/sparc-ifunc.h: New file.
33655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33681 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33682 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33693 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33694 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33695 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33696 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33697 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33698 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33700 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33702 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33706 2012-03-15 Andreas Jaeger <aj@suse.de>
33709 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33710 ieee754/flt-32 implementation for sin, cos and sincos.
33711 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33712 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33713 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33714 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33715 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33716 ieee754/flt-32 implementation for tan.
33718 * math/libm-test.inc (cos_test): Enable some large input tests for
33720 (sin_test): Likewise.
33721 (sincos_test): Likewise.
33722 (tan_test): Add tests for large input.
33724 * sysdeps/i386/fpu/libm-test-ulps: Update.
33726 2012-03-15 Andreas Jaeger <aj@suse.de>
33729 * math/libm-test.inc (cos_test): Add more test cases.
33730 (sin_test): Likewise.
33731 (sincos_test): Likewise.
33733 2012-03-15 Andreas Jaeger <aj@suse.de>
33736 * math/libm-test.inc (cos_test): Add a test case for large input
33738 (sin_test): Likewise.
33739 (sincos_test): Likewise.
33741 2012-03-15 Andreas Jaeger <aj@suse.de>
33742 Joseph Myers <joseph@codesourcery.com>
33745 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33746 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33747 * sysdeps/i386/fpu/branred.c: Likewise.
33748 * sysdeps/i386/fpu/dosincos.c: Likewise.
33749 * sysdeps/i386/fpu/mpa.c: Likewise.
33750 * sysdeps/i386/fpu/s_cos.S: Likewise.
33751 * sysdeps/i386/fpu/s_sin.S: Likewise.
33752 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33753 * sysdeps/i386/fpu/sincos32.c: Likewise.
33755 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33757 (libc_feupdateenv_53bit): Define.
33758 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33760 (libc_feupdateenv_53bit): Define.
33762 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33763 53 bit (without extend i386 double precision).
33765 * math/libm-test.inc (sincos_test): Add tests for large input.
33769 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33771 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33775 2012-03-15 David S. Miller <davem@davemloft.net>
33777 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33778 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33779 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33780 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33804 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33805 fmin/fmax sysdep routines.
33806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33808 2012-03-14 David S. Miller <davem@davemloft.net>
33810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33814 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33815 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33816 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33817 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33820 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33821 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33830 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33831 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33832 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33833 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33834 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33835 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33836 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33837 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33838 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33882 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33887 * sysdeps/sparc/configure.in: New file.
33888 * sysdeps/sparc/configure: Generate.
33889 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33890 * configure: Regenerate.
33891 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33892 * config.make.in (have-as-vis3): New.
33893 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33894 available use -Av9d instead of -Av9a.
33895 * sysdeps/sparc/sparc64/Makefile: Likewise.
33896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33905 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33906 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33907 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33908 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33909 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33911 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33912 fzeros/fnegs to load 0x80000000 into a float register instead of
33914 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33916 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33920 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33921 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33922 ($(inst_includedir)/bits/syscall.h): Remove rule.
33923 ($(objpfx)bits/syscall.d): Include instead of
33924 $(objpfx)syscall-list.d.
33925 (generated): Change syscall-list.h and syscall-list.d to
33926 bits/syscall.h and bits/syscall.d.
33928 2012-03-14 Roland McGrath <roland@hack.frob.com>
33931 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33933 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33936 * math/s_csqrt.c: Include <float.h>.
33937 (__csqrt): Scale large or subnormal inputs.
33938 * math/s_csqrtf.c: Likewise.
33939 * math/s_csqrtl.c: Likewise.
33940 * math/libm-test.inc (csqrt_test): Add more tests.
33941 * sysdeps/i386/fpu/libm-test-ulps: Update.
33942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33945 * math/libm-test.inc (hypot_test): Add more tests.
33947 2012-03-13 David S. Miller <davem@davemloft.net>
33950 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33951 double-precision for the calculation instead of scaling.
33953 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33955 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33956 manipulate bits before adding and subtracting TWO52[sx].
33957 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33958 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33960 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33962 2012-03-13 David S. Miller <davem@davemloft.net>
33964 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33965 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33966 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33967 rtld-global-offsets.h
33968 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33970 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33973 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33975 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33976 'err' in the ifdef scope in which it is actually used.
33978 * nss/nss_db/db-init.c: Include string.h
33980 2012-03-12 David S. Miller <davem@davemloft.net>
33982 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33983 masking out of the most significant byte of random value used.
33984 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33985 Fix coding style in previous change.
33987 * sysdeps/unix/sysv/linux/kernel-features.h
33988 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33989 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33991 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33994 2012-03-11 David S. Miller <davem@davemloft.net>
33996 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33997 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33998 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33999 for 'resultvar' otherwise things get truncated on 64-bit.
34001 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34002 Fix masking out of the most significant byte of random value used.
34004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34006 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34010 2012-03-09 David S. Miller <davem@davemloft.net>
34012 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34013 variables with appropriate CPP guards.
34014 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34015 from the frame pointer, not the stack pointer. Correct layout
34016 comments. Fix test on resulting framesize and the management of
34017 the outregs buffer for pltexit. Preserve floating point return
34018 values across _dl_call_pltexit call.
34019 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34020 framesize and the management of the outregs buffer for pltexit.
34021 Preserve floating point return values across _dl_call_pltexit
34023 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34024 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34025 (la_sparc64_gnu_pltexit): New functions.
34026 (print_exit): Fix format string for return register value.
34028 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34030 * sunrpc/Makefile (others): Add rpcgen.
34031 ($(objpfx)rpcgen): Remove special build rule and dependency on
34033 * sunrpc/rpcgen.c: New file.
34035 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34038 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34039 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34040 * sysdeps/i386/crti.S: Likewise.
34041 * sysdeps/i386/crtn.S: Likewise.
34042 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34043 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34044 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34045 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34046 * sysdeps/sh/crti.S: Likewise.
34047 * sysdeps/sh/crtn.S: Likewise.
34048 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34051 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34053 * locale/programs/locfile-kw.gperf: Likewise.
34054 * locale/programs/charmap-kw.h: Regenerated.
34055 * locale/programs/locfile-kw.h: Likewise.
34058 * intl/plural.y: Replace FSF snail mail address with URL.
34059 * intl/plural.c: Regenerated.
34061 2012-03-09 Richard Henderson <rth@twiddle.net>
34063 * include/math_private.h: Remove file.
34064 * math/math_private.h: Move file ...
34065 * sysdeps/generic/math_private.h: ... here.
34067 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34068 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34069 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34071 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34072 and <math_private.h>.
34073 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34074 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34075 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34076 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34077 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34078 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34079 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34080 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34081 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34082 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34083 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34084 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34085 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34086 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34087 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34088 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34089 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34090 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34091 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34092 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34094 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34095 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34096 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34097 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34098 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34099 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34100 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34101 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34102 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34103 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34104 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34105 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34106 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34107 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34108 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34109 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34110 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34111 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34112 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34113 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34114 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34115 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34116 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34117 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34118 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34119 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34120 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34121 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34122 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34123 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34124 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34125 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34126 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34127 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34128 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34129 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34130 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34131 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34132 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34133 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34134 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34136 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34137 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34138 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34139 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34140 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34141 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34142 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34143 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34144 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34145 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34146 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34147 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34148 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34151 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34152 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34153 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34154 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34155 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34156 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34157 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34158 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34159 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34160 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34161 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34162 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34163 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34164 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34165 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34166 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34167 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34168 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34169 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34170 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34171 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34172 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34173 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34174 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34175 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34176 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34177 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34178 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34179 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34180 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34181 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34182 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34183 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34184 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34185 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34186 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34187 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34188 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34189 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34190 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34191 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34192 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34193 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34194 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34195 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34196 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34197 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34198 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34199 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34200 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34201 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34202 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34203 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34204 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34205 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34206 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34207 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34208 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34209 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34210 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34211 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34212 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34213 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34214 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34215 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34216 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34217 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34218 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34219 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34220 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34221 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34222 * sysdeps/ieee754/k_standard.c: Likewise.
34223 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34224 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34225 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34226 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34227 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34228 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34229 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34230 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34231 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34232 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34233 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34234 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34235 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34236 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34237 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34238 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34239 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34240 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34241 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34242 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34243 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34244 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34245 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34246 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34247 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34248 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34249 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34250 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34251 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34252 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34253 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34254 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34255 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34256 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34257 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34258 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34259 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34260 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34261 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34262 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34263 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34264 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34265 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34266 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34267 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34268 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34269 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34270 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34271 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34272 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34273 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34274 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34275 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34276 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34277 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34278 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34279 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34280 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34281 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34282 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34283 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34284 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34285 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34286 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34287 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34289 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34290 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34291 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34292 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34293 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34294 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34295 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34296 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34297 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34298 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34299 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34300 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34301 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34302 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34303 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34304 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34305 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34306 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34307 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34308 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34309 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34310 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34311 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34312 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34313 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34314 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34315 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34316 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34317 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34318 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34319 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34320 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34321 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34322 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34323 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34324 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34325 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34326 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34327 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34328 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34329 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34330 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34331 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34332 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34333 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34334 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34335 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34336 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34337 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34338 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34339 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34340 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34341 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34342 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34343 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34344 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34345 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34346 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34347 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34348 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34349 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34350 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34351 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34352 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34353 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34354 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34355 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34356 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34357 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34358 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34359 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34360 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34361 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34362 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34363 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34364 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34365 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34366 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34367 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34368 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34369 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34370 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34371 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34372 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34373 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34374 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34375 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34376 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34377 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34378 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34379 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34380 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34381 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34382 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34383 * sysdeps/ieee754/s_lib_version.c: Likewise.
34384 * sysdeps/ieee754/s_matherr.c: Likewise.
34385 * sysdeps/ieee754/s_signgam.c: Likewise.
34386 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34387 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34388 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34389 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34390 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34391 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34392 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34393 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34394 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34395 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34396 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34397 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34398 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34399 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34400 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34401 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34402 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34403 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34404 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34405 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34406 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34408 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34410 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34411 * sunrpc/rpc_main.c: Likewise.
34412 * sunrpc/rpc_svcout.c: Likewise.
34414 2012-03-09 David S. Miller <davem@davemloft.net>
34416 * include/math_private.h: New file.
34418 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34420 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34421 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34422 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34423 from <bits/socket_type.h>.
34424 (enum __socket_type): Don't define here.
34425 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34427 bits/socket_type.h.
34430 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34431 checking __USE_GNU.
34433 * Makerules ($(inst_includedir)/%.h): New rule.
34434 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34435 (install-others): Remove variable setting.
34436 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34438 2012-03-08 Richard Henderson <rth@twiddle.net>
34440 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34441 from macro to inline function; merge with the
34442 !__LIBC_INTERNAL_MATH_INLINES version.
34443 (__ieee754_sqrtf): Likewise.
34445 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34446 to inline function.
34447 (__rintf, __floor, __floorf): Likewise.
34449 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34450 macro to inline function.
34451 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34453 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34454 not <math/math_private.h>.
34456 2012-03-08 David S. Miller <davem@davemloft.net>
34458 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34460 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34462 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34464 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34466 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34467 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34469 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34471 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34472 be defined individually, they must be defined as a block. Define
34473 S for printing a string instead of hidint the different by using a
34474 macro for adding the 'l'.
34475 * stdio-common/tst-fphex-wide.c: Adjust.
34477 2012-03-07 Marek Polacek <polacek@redhat.com>
34479 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34481 2012-03-08 Marek Polacek <polacek@redhat.com>
34484 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34485 * stdio-common/tst-fphex.c: Define a few macros to make the
34486 test reusable. Use them.
34487 * stdio-common/tst-fphex-wide.c: New file.
34489 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34492 * manual/macros.texi (gnusystems): New macro.
34493 (nongnusystems): Likewise.
34494 (gnulinuxhurdsystems): Likewise.
34495 (gnuhurdsystems): Likewise..
34496 (gnulinuxsystems): Likewise.
34497 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34498 variants of the GNU system, not "GNU system".
34499 * manual/conf.texi: Likewise.
34500 * manual/errno.texi: Likewise. Update example of errno macro
34502 * manual/filesys.texi: Likewise.
34503 (getumask): Document as specific to GNU/Hurd.
34504 * manual/install.texi: Likewise. Reword some references to
34506 * manual/intro.texi: Likewise.
34507 * manual/io.texi: Likewise.
34508 (File Name Portability): Detail which constraints are inapplicable
34509 to all GNU systems and which are only inapplicable to GNU/Hurd.
34510 * manual/job.texi: Likewise.
34511 * manual/llio.texi: Likewise.
34512 (O_NOCTTY): Document as present on GNU/Linux.
34513 * manual/maint.texi: Likewise.
34514 * manual/memory.texi: Likewise.
34515 * manual/pattern.texi: Likewise.
34516 * manual/pipe.texi: Likewise.
34517 * manual/process.texi: Likewise.
34518 * manual/resource.texi: Likewise.
34519 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34521 * manual/setjmp.texi: Likewise.
34522 * manual/signal.texi: Likewise.
34523 * manual/startup.texi: Likewise.
34524 * manual/stdio.texi: Likewise.
34525 * manual/terminal.texi: Likewise.
34526 (ONLCR): Document as POSIX.
34527 (OXTABS): Document availability on GNU/Linux as XTABS.
34528 (ONOEOT): Document availability separately from other bits.
34529 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34530 * manual/time.texi: Likewise.
34531 * manual/users.texi: Likewise.
34532 * INSTALL: Regenerated.
34533 * sysdeps/gnu/errlist.c: Regenerated.
34535 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34536 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34537 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34539 * configure: Regenerated.
34541 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34543 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34544 default includes instead of AC_HEADER_CHECK.
34545 * sysdeps/i386/configure: Regenerated.
34548 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34549 * math/s_cacoshf.c (__cacoshf): Likewise.
34550 * math/s_cacoshl.c (__cacoshl): Likewise.
34551 * math/s_casinh.c (__casinh): Set signs of result from argument.
34552 * math/s_casinhf.c (__casinhf): Likewise.
34553 * math/s_casinhl.c (__casinhl): Likewise.
34554 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34555 (casinh_test): Add more tests.
34556 * sysdeps/i386/fpu/libm-test-ulps: Update.
34557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34559 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34561 * po/zh_TW.po: Update from translation team.
34563 * login/Makefile (distribute): Remove variable.
34564 * catgets/Makefile: Likewise.
34565 * mach/Makefile: Likewise.
34566 * malloc/Makefile: Likewise.
34567 * misc/Makefile: Likewise.
34568 * iconv/Makefile: Likewise.
34569 * nscd/Makefile: Likewise.
34570 * hurd/Makefile: Likewise.
34571 * manual/Makefile: Likewise.
34572 * locale/Makefile: Likewise.
34573 * intl/Makefile: Likewise.
34574 * conform/Makefile: Likewise.
34575 * nss/Makefile: Likewise.
34576 * time/Makefile: Likewise.
34577 * soft-fp/Makefile: Likewise.
34578 * dirent/Makefile: Likewise.
34579 * gmon/Makefile: Likewise.
34580 * po/Makefile: Likewise.
34581 * rt/Makefile: Likewise.
34582 * socket/Makefile: Likewise.
34583 * math/Makefile: Likewise.
34584 * signal/Makefile: Likewise.
34585 * debug/Makefile: Likewise.
34586 * elf/Makefile: Likewise.
34587 * timezone/Makefile: Likewise.
34588 * stdlib/Makefile: Likewise.
34589 * iconvdata/Makefile: Likewise.
34590 * sunrpc/Makefile: Likewise.
34591 * io/Makefile: Likewise.
34592 * argp/Makefile: Likewise.
34593 * inet/Makefile: Likewise.
34594 * hesiod/Makefile: Likewise.
34595 * grp/Makefile: Likewise.
34596 * csu/Makefile: Likewise.
34597 * wctype/Makefile: Likewise.
34598 * crypt/Makefile: Likewise.
34599 * libio/Makefile: Likewise.
34600 * string/Makefile: Likewise.
34601 * nis/Makefile: Likewise.
34602 * resolv/Makefile: Likewise.
34603 * stdio-common/Makefile: Likewise.
34604 * wcsmbs/Makefile: Likewise.
34605 * dlfcn/Makefile: Likewise.
34606 * posix/Makefile: Likewise.
34609 * timezone/Makefile: Don't install timezone files, just the programs
34612 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34614 * nss/databases.def: Add missing gshadow entry.
34616 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34618 2012-03-06 Marek Polacek <polacek@redhat.com>
34621 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34622 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34623 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34624 * stdio-common/tst-long-dbl-fphex.c: New file.
34626 2012-03-06 David S. Miller <davem@davemloft.net>
34628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34629 (set_obp_int): New function.
34630 (get_obp_int): New function.
34631 (__get_clockfreq_via_dev_openprom): Likewise.
34632 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34633 Avoid unused variable warnings on 'val' and use builtin_expect.
34634 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34636 (INLINE_CLONE_SYSCALL): Likewise.
34638 2012-03-05 David S. Miller <davem@davemloft.net>
34640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34642 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34646 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34647 only for |x| >= 40.
34648 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34650 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34652 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34653 Replace gettimeofday with __vdso_gettimeofday.
34655 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34656 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34657 __vdso_clock_gettime and __vdso_getcpu.
34659 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34660 time with __vdso_time.
34662 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34664 * manual/lang.texi (size_t): Note types to which size_t may be
34665 equivalent with the GNU C Library, but do not describe when
34666 differences between them are significant.
34668 2012-03-05 Andreas Jaeger <aj@suse.de>
34670 * sysdeps/i386/fpu/libm-test-ulps: Update.
34672 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34675 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34676 (__ieee754_pow): Save and restore rounding mode and use
34677 round-to-nearest for main computations.
34678 * math/libm-test.inc (pow_test_tonearest): New function.
34679 (pow_test_towardzero): Likewise.
34680 (pow_test_downward): Likewise.
34681 (pow_test_upward): Likewise.
34682 (main): Call the new functions.
34683 * sysdeps/i386/fpu/libm-test-ulps: Update.
34684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34687 * math/libm-test.inc (cosh_test_tonearest): New function.
34688 (cosh_test_towardzero): Likewise.
34689 (cosh_test_downward): Likewise.
34690 (cosh_test_upward): Likewise.
34691 (sinh_test_tonearest): Likewise.
34692 (sinh_test_towardzero): Likewise.
34693 (sinh_test_downward): Likewise.
34694 (sinh_test_upward): Likewise.
34695 (main): Call the new functions.
34696 * sysdeps/i386/fpu/libm-test-ulps: Update.
34697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34699 2012-03-05 Tom de Vries <tom@codesourcery.com>
34701 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34702 default stack guard is set in last bytes.
34703 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34705 2012-03-05 Kees Cook <keescook@chromium.org>
34707 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34710 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34711 possibly allocate from heap instead of stack.
34712 * stdio-common/bug-vfprintf-nargs.c: New file.
34713 * stdio-common/Makefile (tests): Add nargs overflow test.
34715 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34719 2012-03-03 Marek Polacek <polacek@redhat.com>
34721 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34722 * math/math_private.h: Likewise.
34723 * stdlib/tst-strtod.c: Likewise.
34724 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34725 * sysdeps/x86_64/bits/atomic.h: Likewise.
34727 2012-03-02 David S. Miller <davem@davemloft.net>
34729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34733 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34734 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34735 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34736 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34738 2012-03-02 Roland McGrath <roland@hack.frob.com>
34741 * manual/examples/README: New file, says the example source files
34742 can be used under GPL>=2.
34743 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34744 line containing just "*/".
34745 * manual/examples/add.c: Add copyright header (GPL>=2).
34746 * manual/examples/argp-ex1.c: Likewise.
34747 * manual/examples/argp-ex2.c: Likewise.
34748 * manual/examples/argp-ex3.c: Likewise.
34749 * manual/examples/argp-ex4.c: Likewise.
34750 * manual/examples/atexit.c: Likewise.
34751 * manual/examples/db.c: Likewise.
34752 * manual/examples/dir.c: Likewise.
34753 * manual/examples/dir2.c: Likewise.
34754 * manual/examples/execinfo.c: Likewise.
34755 * manual/examples/filecli.c: Likewise.
34756 * manual/examples/filesrv.c: Likewise.
34757 * manual/examples/fmtmsgexpl.c: Likewise.
34758 * manual/examples/genpass.c: Likewise.
34759 * manual/examples/inetcli.c: Likewise.
34760 * manual/examples/inetsrv.c: Likewise.
34761 * manual/examples/isockad.c: Likewise.
34762 * manual/examples/longopt.c: Likewise.
34763 * manual/examples/memopen.c: Likewise.
34764 * manual/examples/memstrm.c: Likewise.
34765 * manual/examples/mkfsock.c: Likewise.
34766 * manual/examples/mkisock.c: Likewise.
34767 * manual/examples/mygetpass.c: Likewise.
34768 * manual/examples/pipe.c: Likewise.
34769 * manual/examples/popen.c: Likewise.
34770 * manual/examples/rprintf.c: Likewise.
34771 * manual/examples/search.c: Likewise.
34772 * manual/examples/select.c: Likewise.
34773 * manual/examples/setjmp.c: Likewise.
34774 * manual/examples/sigh1.c: Likewise.
34775 * manual/examples/sigusr.c: Likewise.
34776 * manual/examples/stpcpy.c: Likewise.
34777 * manual/examples/strdupa.c: Likewise.
34778 * manual/examples/strftim.c: Likewise.
34779 * manual/examples/strncat.c: Likewise.
34780 * manual/examples/subopt.c: Likewise.
34781 * manual/examples/swapcontext.c: Likewise.
34782 * manual/examples/termios.c: Likewise.
34783 * manual/examples/testopt.c: Likewise.
34784 * manual/examples/testpass.c: Likewise.
34785 * manual/examples/timeval_subtract.c: Likewise.
34788 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34790 * manual/timeval_subtract.c.texi: ... here, new file.
34792 2012-03-02 David S. Miller <davem@davemloft.net>
34794 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34796 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34799 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34800 (__sin): Save and restore rounding mode and use round-to-nearest
34801 for all computations.
34802 (__cos): Save and restore rounding mode and use round-to-nearest
34803 for all computations.
34804 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34806 (tan): Save and restore rounding mode and use round-to-nearest for
34808 * math/libm-test.inc (cos_test_tonearest): New function.
34809 (cos_test_towardzero): Likewise.
34810 (cos_test_downward): Likewise.
34811 (cos_test_upward): Likewise.
34812 (sin_test_tonearest): Likewise.
34813 (sin_test_towardzero): Likewise.
34814 (sin_test_downward): Likewise.
34815 (sin_test_upward): Likewise.
34816 (tan_test_tonearest): Likewise.
34817 (tan_test_towardzero): Likewise.
34818 (tan_test_downward): Likewise.
34819 (tan_test_upward): Likewise.
34820 (main): Call the new functions.
34821 * sysdeps/i386/fpu/libm-test-ulps: Update.
34822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34825 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34826 small n, then large n, before computing and testing k+n.
34827 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34828 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34830 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34832 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34833 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34834 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34835 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34836 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34837 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34838 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34839 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34840 * math/libm-test.inc (scalbn_test): Add more tests.
34841 (scalbln_test): Likewise.
34843 * manual/filesys.texi (mode_t): Describe constraints on size and
34844 signedness, not exact equivalence to a particular type.
34846 (ino64_t): Likewise.
34848 (nlink_t): Likewise.
34849 (blkcnt_t): Likewise.
34850 (blkcnt64_t): Likewise.
34851 * manual/llio.texi (off_t): Likewise.
34854 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34855 (__ieee754_exp): Save and restore rounding mode and use
34856 round-to-nearest for all computations.
34857 * math/libm-test.inc (exp_test_tonearest): New function.
34858 (exp_test_towardzero): Likewise.
34859 (exp_test_downward): Likewise.
34860 (exp_test_upward): Likewise.
34861 (main): Call the new functions.
34862 * sysdeps/i386/fpu/libm-test-ulps: Update.
34863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34865 2012-03-01 Chris Demetriou <cgd@google.com>
34867 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34868 have predictable order.
34870 2012-03-01 David S. Miller <davem@davemloft.net>
34872 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34874 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34875 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34876 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34877 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34879 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34880 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34881 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34883 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34884 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34885 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34886 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34887 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34891 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34892 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34893 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34895 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34896 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34897 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34898 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34899 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34900 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34901 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34902 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34903 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34904 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34905 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34906 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34908 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34909 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34911 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34912 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34913 * sysdeps/sparc/elf/configure: Regenerated.
34915 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34917 * configure.in (AS, LD): Require binutils 2.20 or later.
34918 * configure: Regenerated.
34919 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34920 as required minimum version.
34921 * INSTALL: Regenerated.
34925 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34926 before squaring exponent.
34927 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34928 bottom long double and 27 bits of top long double before squaring
34930 * math/libm-test.inc (erfc_test): Add more tests.
34931 * sysdeps/i386/fpu/libm-test-ulps: Update.
34932 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34935 2012-03-01 Kai Tietz <ktietz@redhat.com>
34937 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34938 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34939 containing bit-fields.
34940 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34941 * soft-fp/single.h (_FP_UNION_S): Likewise.
34942 * soft-fp/double.h (_FP_UNION_D): Likewise.
34944 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34947 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34948 not include ../strcmp.S.
34949 [USE_AS_STRNCASECMP_L]: Likewise.
34950 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34951 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34952 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34953 (__strncasecmp_l_ia32): Define as alias to
34954 __strncasecmp_l_nonascii.
34957 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34958 * sysdeps/i386/fpu/libm-test-ulps: Update.
34959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34961 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34964 2012-02-29 Jeff Law <law@redhat.com>
34966 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34967 out of bounds read.
34969 2012-02-29 Marek Polacek <polacek@redhat.com>
34972 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34973 * elf/Makefile: Add rules to run tst-unused-dep.out.
34975 2012-02-28 David S. Miller <davem@davemloft.net>
34977 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34978 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34979 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34980 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34981 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34982 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34984 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34986 * math/libm-test.inc (llround_test): Move one test from
34987 lround_test. Use TEST_f_L in moved test.
34988 (lround_test): Move misplaced test to llround_test. Add testcase
34991 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34993 * sysdeps/x86_64/fpu/e_expf.S: New file.
34994 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34996 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34999 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35000 of remain_len that may cause incomplete multi-byte character and
35002 * posix/bug-regex33.c: New file.
35003 * posix/Makefile (tests): Add bug-regex33.
35005 2012-02-28 Joseph Myers <joseph@codesourcery.com>
35007 * manual/macros.texi: New file.
35008 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35009 * manual/libc.texinfo: Include macros.texi.
35010 * manual/creatute.texi: Likewise.
35011 * manual/install.texi: Likewise.
35012 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35013 @glibcadj{} in references to the GNU C Library.
35014 * manual/charset.texi: Likewise.
35015 * manual/conf.texi: Likewise.
35016 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35017 when not using those macros.
35018 * manual/creature.texi: Likewise.
35019 * manual/crypt.texi: Likewise.
35020 * manual/errno.texi: Likewise.
35021 * manual/filesys.texi: Likewise.
35022 * manual/header.texi: Likewise.
35023 * manual/install.texi: Likewise.
35024 * manual/intro.texi: Likewise.
35025 * manual/io.texi: Likewise.
35026 * manual/job.texi: Likewise.
35027 * manual/lang.texi: Likewise.
35028 * manual/libc.texiinfo: Likewise.
35029 * manual/llio.texi: Likewise.
35030 * manual/locale.texi: Likewise.
35031 * manual/maint.texi: Likewise.
35032 * manual/math.texi: Likewise.
35033 * manual/memory.texi: Likewise.
35034 * manual/message.texi: Likewise.
35035 * manual/nss.texi: Likewise.
35036 * manual/pattern.texi: Likewise.
35037 * manual/process.texi: Likewise.
35038 * manual/resource.texi: Likewise.
35039 * manual/search.texi: Likewise.
35040 * manual/setjmp.texi: Likewise.
35041 * manual/signal.texi: Likewise.
35042 * manual/socket.texi: Likewise.
35043 * manual/startup.texi: Likewise.
35044 * manual/stdio.texi: Likewise.
35045 * manual/string.texi: Likewise.
35046 * manual/sysinfo.texi: Likewise.
35047 * manual/syslog.texi: Likewise.
35048 * manual/terminal.texi: Likewise.
35049 * manual/time.texi: Likewise.
35050 * manual/users.texi: Likewise.
35051 * INSTALL: Regenerated.
35052 * NOTES: Regenerated.
35053 * sysdeps/gnu/errlist.c: Regenerated.
35055 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35057 * include/dirent.h: Include <dirstream.h> before
35060 2012-02-28 David S. Miller <davem@davemloft.net>
35062 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35063 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35064 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35065 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35067 2012-02-27 David S. Miller <davem@davemloft.net>
35069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35071 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35072 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35075 frame pointer instead of stack pointer relative arg slot.
35076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35077 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35078 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35080 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35083 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35085 2012-02-27 David S. Miller <davem@davemloft.net>
35087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35091 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35092 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35093 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35094 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35096 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35098 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35099 later. Allow versions 5-9.
35100 * configure: Regenerated.
35101 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35102 required minimum version and 4.6 as recommended version. Do not
35103 mention bugs in GCC 2.7 and 2.8.
35104 * INSTALL: Regenerated.
35106 2012-02-27 David S. Miller <davem@davemloft.net>
35108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35112 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35113 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35114 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35115 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35117 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35118 manipulate bits before adding and subtracting TWO112[sx].
35119 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35121 2012-02-27 Roland McGrath <roland@hack.frob.com>
35124 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35125 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35126 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35127 being in POSIX, because they are in 1003.1-2008.
35129 * rt/tst-aio.c: Include <fcntl.h>.
35130 * rt/tst-aio7.c: Likewise.
35131 * rt/tst-aio64.c: Likewise.
35133 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35135 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35137 * manual/install.texi (--with-headers): Describe headers as
35138 interface headers, not private headers.
35139 (Specific advice for GNU/Linux systems): Describe use of headers
35140 from "make headers_install", not private headers from older
35142 * INSTALL: Regenerated.
35143 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35145 * sysdeps/unix/sysv/linux/configure: Regenerated.
35147 * manual/llio.texi (fclean): Remove documentation.
35149 * manual/Makefile (libc-texi-generated): New variable. Include
35151 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35152 $(libc-texi-generated), not duplicated list of files.
35153 (version.texi, stamp-version): New rules.
35154 (realclean): Remove $(libc-texi-generated), not individual files
35155 from that list. Do not remove dir-add.texinfo.
35156 * manual/libc.texinfo: Comment out uses of edition numbers and
35157 references to printed manual. Remove last-updated dates.
35158 (EDITION): Comment out.
35160 (VERSION, UPDATED): Remove.
35161 (version.texi): Include.
35163 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35165 * sysdeps/posix/spawni.c: Include <signal.h>.
35166 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35167 * sysdeps/pthread/aio_fsync.c: Likewise.
35169 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35171 * conform/Makefile (tests): Run only when not cross-compiling and
35172 when fast-check is not defined.
35174 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35175 * conform/data/limits.h-data: Fixes for POSIX2008.
35176 * conform/run-conformtest.sh: Run all tests.
35177 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35179 * include/bits/dlfcn.h: Likewise.
35180 * include/langinfo.h: Likewise.
35181 * include/monetary.h: Likewise.
35182 * include/sys/poll.h: Likewise.
35184 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35186 * posix/spawn.h: Define __need_sigset_t.
35187 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35188 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35189 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35190 to get sigevent_t only.
35191 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35192 only for __USE_GNU.
35193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35194 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35195 process_vm_writev only for __USE_GNU.
35196 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35198 * conform/Makefile: For now ignore errors from run-conformtest.
35199 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35200 POSIX to avoid namespace pollution. Don't prepend headers.
35201 * conform/data/aio.h-data: Fixes for POSIX testing.
35202 * conform/data/fcntl.h-data: Likewise.
35203 * conform/data/glob.h-data: Likewise.
35204 * conform/data/grp.h-data: Likewise.
35205 * conform/data/pthread.h-data: Likewise.
35206 * conform/data/pwd.h-data: Likewise.
35207 * conform/data/signal.h-data: Likewise.
35208 * conform/data/spawn.h-data: Likewise.
35209 * conform/data/stdio.h-data: Likewise.
35210 * conform/data/stdlib.h-data: Likewise.
35211 * conform/data/stropts.h-data: Likewise.
35212 * conform/data/sys/mman.h-data: Likewise.
35213 * conform/data/sys/stat.h-data: Likewise.
35214 * conform/data/sys/types.h-data: Likewise.
35215 * conform/data/sys/wait.h-data: Likewise.
35216 * conform/data/time.h-data: Likewise.
35217 * conform/data/unistd.h-data: Likewise.
35218 * conform/data/utime.h-data: Likewise.
35220 * io/sys/stat.h: fchmod was always in POSIX.
35221 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35222 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35223 * rt/aio.h: Define __need_timespec before including <time.h>.
35224 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35225 struct. Add forward declaration of pthread_attr_t and use it in
35227 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35228 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35229 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35230 always remove CLK_TCK definition.
35232 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35234 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35236 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35238 * conform/run-conformtest.sh: New file.
35239 * conform/Makefile: Run run-conformtest for tests.
35240 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35243 * conform/data/uchar.h-data: New file.
35244 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35245 * conform/data/arpa/inet.h-data: Likewise.
35246 * conform/data/assert.h-data: Likewise.
35247 * conform/data/complex.h-data: Likewise.
35248 * conform/data/cpio.h-data: Likewise.
35249 * conform/data/ctype.h-data: Likewise.
35250 * conform/data/dirent.h-data: Likewise.
35251 * conform/data/dlfcn.h-data: Likewise.
35252 * conform/data/errno.h-data: Likewise.
35253 * conform/data/fcntl.h-data: Likewise.
35254 * conform/data/float.h-data: Likewise.
35255 * conform/data/fmtmsg.h-data: Likewise.
35256 * conform/data/fnmatch.h-data: Likewise.
35257 * conform/data/ftw.h-data: Likewise.
35258 * conform/data/glob.h-data: Likewise.
35259 * conform/data/grp.h-data: Likewise.
35260 * conform/data/iconv.h-data: Likewise.
35261 * conform/data/inttypes.h-data: Likewise.
35262 * conform/data/langinfo.h-data: Likewise.
35263 * conform/data/libgen.h-data: Likewise.
35264 * conform/data/limits.h-data: Likewise.
35265 * conform/data/locale.h-data: Likewise.
35266 * conform/data/math.h-data: Likewise.
35267 * conform/data/monetary.h-data: Likewise.
35268 * conform/data/mqueue.h-data: Likewise.
35269 * conform/data/ndbm.h-data: Likewise.
35270 * conform/data/net/if.h-data: Likewise.
35271 * conform/data/netdb.h-data: Likewise.
35272 * conform/data/netinet/in.h-data: Likewise.
35273 * conform/data/nl_types.h-data: Likewise.
35274 * conform/data/poll.h-data: Likewise.
35275 * conform/data/pthread.h-data: Likewise.
35276 * conform/data/pwd.h-data: Likewise.
35277 * conform/data/regex.h-data: Likewise.
35278 * conform/data/sched.h-data: Likewise.
35279 * conform/data/search.h-data: Likewise.
35280 * conform/data/semaphore.h-data: Likewise.
35281 * conform/data/setjmp.h-data: Likewise.
35282 * conform/data/signal.h-data: Likewise.
35283 * conform/data/spawn.h-data: Likewise.
35284 * conform/data/stdarg.h-data: Likewise.
35285 * conform/data/stdio.h-data: Likewise.
35286 * conform/data/stdlib.h-data: Likewise.
35287 * conform/data/string.h-data: Likewise.
35288 * conform/data/strings.h-data: Likewise.
35289 * conform/data/stropts.h-data: Likewise.
35290 * conform/data/sys/ipc.h-data: Likewise.
35291 * conform/data/sys/mman.h-data: Likewise.
35292 * conform/data/sys/msg.h-data: Likewise.
35293 * conform/data/sys/resource.h-data: Likewise.
35294 * conform/data/sys/select.h-data: Likewise.
35295 * conform/data/sys/sem.h-data: Likewise.
35296 * conform/data/sys/shm.h-data: Likewise.
35297 * conform/data/sys/socket.h-data: Likewise.
35298 * conform/data/sys/stat.h-data: Likewise.
35299 * conform/data/sys/statvfs.h-data: Likewise.
35300 * conform/data/sys/time.h-data: Likewise.
35301 * conform/data/sys/timeb.h-data: Likewise.
35302 * conform/data/sys/times.h-data: Likewise.
35303 * conform/data/sys/types.h-data: Likewise.
35304 * conform/data/sys/uio.h-data: Likewise.
35305 * conform/data/sys/un.h-data: Likewise.
35306 * conform/data/sys/utsname.h-data: Likewise.
35307 * conform/data/sys/wait.h-data: Likewise.
35308 * conform/data/syslog.h-data: Likewise.
35309 * conform/data/tar.h-data: Likewise.
35310 * conform/data/termios.h-data: Likewise.
35311 * conform/data/utime.h-data: Likewise.
35312 * conform/data/utmpx.h-data: Likewise.
35313 * conform/data/varargs.h-data: Likewise.
35314 * conform/data/wchar.h-data: Likewise.
35315 * conform/data/wctype.h-data: Likewise.
35316 * conform/data/wordexp.h-data: Likewise.
35318 * include/stropts.h: New file.
35319 * include/uchar.h: New file.
35320 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35321 * include/assert.h: Likewise.
35322 * include/ctype.h: Likewise.
35323 * include/dirent.h: Likewise.
35324 * include/dlfcn.h: Likewise.
35325 * include/fcntl.h: Likewise.
35326 * include/fnmatch.h: Likewise.
35327 * include/glob.h: Likewise.
35328 * include/grp.h: Likewise.
35329 * include/libio.h: Likewise.
35330 * include/locale.h: Likewise.
35331 * include/math.h: Likewise.
35332 * include/net/if.h: Likewise.
35333 * include/netdb.h: Likewise.
35334 * include/netinet/in.h: Likewise.
35335 * include/pthread.h: Likewise.
35336 * include/pwd.h: Likewise.
35337 * include/regex.h: Likewise.
35338 * include/sched.h: Likewise.
35339 * include/search.h: Likewise.
35340 * include/setjmp.h: Likewise.
35341 * include/signal.h: Likewise.
35342 * include/stdio.h: Likewise.
35343 * include/stdlib.h: Likewise.
35344 * include/string.h: Likewise.
35345 * include/sys/cdefs.h: Likewise.
35346 * include/sys/mman.h: Likewise.
35347 * include/sys/msg.h: Likewise.
35348 * include/sys/resource.h: Likewise.
35349 * include/sys/select.h: Likewise.
35350 * include/sys/socket.h: Likewise.
35351 * include/sys/stat.h: Likewise.
35352 * include/sys/statvfs.h: Likewise.
35353 * include/sys/time.h: Likewise.
35354 * include/sys/times.h: Likewise.
35355 * include/sys/uio.h: Likewise.
35356 * include/sys/utsname.h: Likewise.
35357 * include/sys/wait.h: Likewise.
35358 * include/termios.h: Likewise.
35359 * include/time.h: Likewise.
35360 * include/ulimit.h: Likewise.
35361 * include/unistd.h: Likewise.
35362 * include/utime.h: Likewise.
35363 * include/wchar.h: Likewise.
35364 * include/wctype.h: Likewise.
35365 * include/wordexp.h: Likewise.
35367 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35369 * time/time.h: TIME_UTC must be a macro.
35370 Make timespec_get available for ISO C11 only as well.
35372 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35374 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35375 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35377 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35379 * configure.in: Use -o not -a in test for unsupported multi-arch.
35381 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35383 * manual/texinfo.tex: Update to version 2012-01-19.16.
35385 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35387 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35389 2012-02-24 Roland McGrath <roland@hack.frob.com>
35392 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35393 * manual/fdl-1.3.texi: New file.
35394 * manual/fdl-1.1.texi: File removed.
35397 * manual/libc.texinfo (FDL_VERSION): New @set.
35398 Use it for mention of FDL in cover text.
35399 (Documentation License): Use it in @include file name.
35401 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35402 Roland McGrath <roland@hack.frob.com>
35405 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35406 (not LONG_LONG_MAX and LONG_LONG_MIN.
35407 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35408 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35410 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35412 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35416 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35417 manipulate bits before adding and subtracting TWO23[sx].
35418 * math/libm-test.inc (nearbyint_test): Add more tests.
35420 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35423 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35424 bits before adding and subtracting TWO23[sx].
35425 * math/libm-test.inc (rint_test): Add more tests.
35426 (rint_test_tonearest): Likewise.
35427 (rint_test_towardzero): Likewise.
35428 (rint_test_downward): Likewise.
35429 (rint_test_upward: Likewise.
35431 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35434 * include/stdc-predef.h: New file. Extracted from features.h.
35435 * include/features.h: Include stdc-predef.h.
35436 * Makefile (headers): Add stdc-predef.h.
35437 * CONFORMANCE (Compiler limitations): Update.
35439 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35441 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35443 2012-02-21 David S. Miller <davem@davemloft.net>
35445 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35446 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35448 2012-02-20 David S. Miller <davem@davemloft.net>
35450 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35451 using a normal save/restore sequence, rather than allocating a
35452 dummy stack frame just to store a frame pointer and restore.
35453 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35455 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35457 * manual/install.texi: Fix stray word in line-wrapped comment.
35459 2012-02-20 David S. Miller <davem@davemloft.net>
35461 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35462 both binutils and gcc support GOTDATA.
35464 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35465 "rd %pc" in the PIC register setup sequences.
35467 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35468 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35469 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35470 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35471 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35472 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35473 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35474 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35475 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35476 (SYSCALL_ERROR_HANDLER): Likewise.
35477 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35478 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35479 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35480 (SYSCALL_ERROR_HANDLER): Likewise.
35482 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35483 (HAVE_GCC_GOTDATA): New.
35484 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35485 relocation support in both binutils and gcc.
35486 * sysdeps/sparc/elf/configure: Regenerate.
35488 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35489 * sysdeps/sparc/sparc32/elf/configure: Delete.
35490 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35491 * sysdeps/sparc/sparc64/elf/configure: Delete.
35492 * sysdeps/sparc/elf/configure.in: New file.
35493 * sysdeps/sparc/elf/configure: Generate.
35495 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35496 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35497 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35498 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35499 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35501 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35503 * manual/install.texi: Do not mention specific glibc version
35505 * manual/libc.texinfo (VERSION, UPDATED): Update.
35506 (@copying): Use @copyright{} and range of years.
35508 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35511 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35512 [crti.S not in sysdirs] (generated): Do not append.
35513 [crti.S not in sysdirs] (omit-deps): Likewise.
35514 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35515 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35516 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35517 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35518 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35520 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35521 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35522 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35523 * csu/defs.awk: Remove file.
35524 * sysdeps/generic/initfini.c: Likewise.
35525 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35527 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35530 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35532 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35533 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35534 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35535 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35536 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35537 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35539 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35540 (__EPOLL_PACKED): Define to empty if not defined by
35542 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35546 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35548 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35549 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35550 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35551 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35553 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35557 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35559 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35561 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35562 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35563 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35566 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35568 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35569 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35571 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35573 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35574 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35576 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35578 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35581 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35583 * math/w_acos.c: Use non-signaling floating-point comparisons.
35584 * math/w_acosf.c: Likewise.
35585 * math/w_acosh.c: Likewise.
35586 * math/w_acoshf.c: Likewise.
35587 * math/w_acoshl.c: Likewise.
35588 * math/w_acosl.c: Likewise.
35589 * math/w_asin.c: Likewise.
35590 * math/w_asinf.c: Likewise.
35591 * math/w_asinl.c: Likewise.
35592 * math/w_atanh.c: Likewise.
35593 * math/w_atanhf.c: Likewise.
35594 * math/w_atanhl.c: Likewise.
35595 * math/w_exp2.c: Likewise.
35596 * math/w_exp2f.c: Likewise.
35597 * math/w_exp2l.c: Likewise.
35598 * math/w_j0.c: Likewise.
35599 * math/w_j0f.c: Likewise.
35600 * math/w_j0l.c: Likewise.
35601 * math/w_j1.c: Likewise.
35602 * math/w_j1f.c: Likewise.
35603 * math/w_j1l.c: Likewise.
35604 * math/w_jn.c: Likewise.
35605 * math/w_jnf.c: Likewise.
35606 * math/w_log.c: Likewise.
35607 * math/w_log10.c: Likewise.
35608 * math/w_log10f.c: Likewise.
35609 * math/w_log10l.c: Likewise.
35610 * math/w_log2.c: Likewise.
35611 * math/w_log2f.c: Likewise.
35612 * math/w_log2l.c: Likewise.
35613 * math/w_logf.c: Likewise.
35614 * math/w_logl.c: Likewise.
35615 * math/w_sqrt.c: Likewise.
35616 * math/w_sqrtf.c: Likewise.
35617 * math/w_sqrtl.c: Likewise.
35618 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35619 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35620 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35621 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35622 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35624 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35627 * manual/string.texi (strnlen): Use correct parameter name in
35628 equivalent expression.
35630 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35633 * manual/users.texi (seteuid): Consistently use neweuid for
35636 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35639 * manual/nss.texi (Services in the NSS configuration): Correct
35640 list of services in example configuration file.
35642 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35645 * manual/arith.texi: Remove statements about negative zero
35646 behaving identically to zero.
35648 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35651 * manual/install.texi: Do not document upgrading from libc5.
35653 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35656 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35658 2012-02-18 David S. Miller <davem@davemloft.net>
35660 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35661 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35662 %o7 across the call.
35663 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35665 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35666 SETUP_PIC_REG_LEAF.
35667 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35668 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35669 * sysdeps/sparc/crtn.S: Likewise.
35671 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35673 * aout/Makefile: Remove.
35675 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35678 * manual/examples/argp-ex1.c (main): Format definition in GNU
35680 * manual/examples/argp-ex2.c (main): Likewise.
35681 * manual/examples/argp-ex3.c (main): Likewise.
35682 * manual/examples/argp-ex4.c (main): Likewise.
35683 * manual/examples/longopt.c (main): Use new-style prototype
35685 * manual/examples/strncat.c (main): Specify return type and use
35686 (void) for arguments.
35687 * manual/examples/subopt.c (main): Use char **argv argument.
35689 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35692 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35695 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35698 * manual/string.texi (strchr): Change when strchrnul is
35701 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35704 * manual/locale.texi (setlocale): Document LOCPATH.
35706 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35709 * manual/process.texi (execle): Move @dots{} before last argument.
35711 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35714 * manual/charset.texi (Generic Charset Conversion): Fix typo
35715 (LC_TYPE -> LC_CTYPE).
35717 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35720 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35721 (scalbnf): Likewise.
35722 (scalbnl): Likewise.
35723 (scalbln): Likewise.
35724 (scalblnf): Likewise.
35725 (scalblnl): Likewise.
35726 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35727 (vwarnx): Likewise.
35730 * manual/filesys.texi (telldir): Use braces around return type.
35731 * manual/llio.texi (mmap): Add space after comma.
35732 (mmap64): Likewise.
35733 * manual/math.texi (jn): Use @var{} on parameter names.
35739 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35741 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35743 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35744 (sched_get_priority_max): Likewise.
35745 * manual/signal.texi (sigvec): Add space after comma.
35746 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35748 (if_indextoname): Likewise.
35749 (if_freenameindex): Likewise.
35750 (sendto): Use ',' instead of '.' in prototype.
35751 * manual/startup.texi (syscall): Use @dots{} instead of literal
35753 * manual/stdio.texi (__fpending): Separate initial words of
35754 paragraph from @deftypefun line.
35755 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35757 (vsyslog): Use @var{} on parameter names.
35758 * manual/terminal.texi (stty): Use @var{} on parameter names.
35759 * manual/users.texi (getutmp): Use @var{} on parameter names.
35760 (getutmpx): Likewise.
35762 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35765 * manual/stdio.texi (fopen): Fix typos in description of
35768 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35771 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35772 get clock_id definition.
35774 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35777 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35778 (madvise): Cast every argument to void on its own.
35780 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35783 * manual/startup.texi (Exit Status): Fix typo.
35785 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35788 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35789 * manual/examples/argp-ex2.c: Likewise.
35790 * manual/examples/argp-ex3.c: Likewise.
35792 2012-02-16 Richard Henderson <rth@redhat.com>
35794 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35795 * sysdeps/s390/s390-32/initfini.c: Remove.
35796 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35797 * sysdeps/s390/s390-64/initfini.c: Remove.
35799 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35801 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35802 compiler output for sysdeps/generic/initfini.c.
35803 * sysdeps/sh/elf/initfini.c: Remove file.
35805 2012-02-16 David S. Miller <davem@davemloft.net>
35808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35810 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35811 * sysdeps/sparc/crti.S: New file.
35812 * sysdeps/sparc/crtn.S: New file.
35813 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35814 * sysdeps/sparc/sparc64/Makefile: Likewise.
35816 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35819 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35821 2012-02-15 Roland McGrath <roland@hack.frob.com>
35824 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35826 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35827 (write, read, close): Likewise.
35828 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35830 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35832 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35833 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35834 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35835 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35837 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35841 2012-02-14 Marek Polacek <polacek@redhat.com>
35843 * sysdeps/x86_64/crti.S: New file.
35844 * sysdeps/x86_64/crtn.S: New file.
35845 * sysdeps/x86_64/elf/initfini.c: Remove file.
35847 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35849 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35850 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35851 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35852 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35854 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35858 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35860 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35861 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35862 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35863 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35865 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35869 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35871 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35872 __feraiseexcept instead of feraiseexcept.
35874 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35875 nanosleep invocations.
35876 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35877 strings, and add error checking for a nanosleep invocations.
35879 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35881 Replace FSF snail mail address with URLs, as per GNU coding standards.
35882 Most of the snail mail addresses were wrong anyway, and omitting
35883 them makes the source code easier to maintain. Almost all of the
35884 changes are to license notices and to locale LC_IDENTIFICATION
35885 addresses, except for this one:
35886 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35887 not its snail mail address.
35889 2012-02-09 Richard Henderson <rth@twiddle.net>
35891 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35892 of kernel-features.h.
35894 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35896 2012-02-08 Marek Polacek <polacek@redhat.com>
35898 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35899 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35900 * sysdeps/gnu/_G_config.h: Likewise.
35901 * sysdeps/generic/_G_config.h: Likewise.
35903 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35905 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35909 * sysdeps/powerpc/powerpc32/crti.S: New file.
35910 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35911 * sysdeps/powerpc/powerpc64/crti.S: New file.
35912 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35914 * Makeconfig (have-initfini): Don't set.
35915 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35916 * configure.in (nopic_initfini): Don't substitute.
35917 * config.h.in (HAVE_INITFINI): Don't #undef.
35918 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35919 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35921 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35923 Support crti.S and crtn.S provided directly by architectures.
35924 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35925 [crti.S in sysdirs] (omit-deps): Likewise.
35926 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35927 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35928 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35929 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35930 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35931 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35932 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35933 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35934 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35935 compiler output for sysdeps/generic/initfini.c.
35936 * sysdeps/i386/elf/Makefile: Remove file.
35937 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35939 2012-02-07 Marek Polacek <polacek@redhat.com>
35941 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35942 * sysdeps/gnu/_G_config.h: Likewise.
35943 * sysdeps/mach/hurd/_G_config.h: Likewise.
35945 2012-02-07 Marek Polacek <polacek@redhat.com>
35947 * math/Makefile (tests): Add tst-CMPLX2.
35948 * math/tst-CMPLX2.c: New file.
35950 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35952 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35954 * math/libm-test.inc (jn_test): Add missing L suffix.
35956 2012-02-06 Marek Polacek <polacek@redhat.com>
35958 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35959 * sysdeps/i386/fpu/e_powf.S: Likewise.
35960 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35961 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35962 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35963 * sysdeps/i386/fpu/e_pow.S: Likewise.
35964 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35965 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35966 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35967 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35968 * sysdeps/i386/fpu/e_log2.S: Likewise.
35969 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35970 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35971 * sysdeps/i386/fpu/e_powl.S: Likewise.
35972 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35973 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35974 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35975 * sysdeps/i386/fpu/e_logl.S: Likewise.
35976 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35977 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35978 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35979 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35980 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35981 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35982 * sysdeps/i386/fpu/e_log.S: Likewise.
35983 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35984 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35985 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35986 * sysdeps/i386/fpu/e_logf.S: Likewise.
35987 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35988 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35989 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35990 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35991 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35992 * sysdeps/i386/fpu/e_log10.S: Likewise.
35993 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35994 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35995 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35996 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35997 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35998 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35999 * sysdeps/i386/asm-syntax.h: Likewise.
36000 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36001 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36002 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36003 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36004 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36005 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36006 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36007 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36008 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36009 * sysdeps/powerpc/sysdep.h: Likewise.
36010 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36011 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36013 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36016 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36018 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36020 * sysdeps/i386/sysdep.h: Include <features.h>.
36021 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36024 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36026 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36028 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36031 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36033 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36034 (SETUP_PIC_REG): Use GET_PC_THUNK.
36035 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36038 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36040 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36041 for non-PIC compilation.
36042 (SETUP_PIC_REG): Add .p2align directive.
36043 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36044 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36045 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36046 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36047 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36048 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36049 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36050 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36051 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36052 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36053 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36054 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36055 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36056 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36057 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36058 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36059 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36060 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36061 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36062 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36063 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36064 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36065 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36066 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36067 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36069 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36070 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36071 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36072 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36073 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36074 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36075 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36076 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36077 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36078 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36079 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36080 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36081 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36082 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36083 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36085 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36087 * math/tst-CMPLX.c: Include <stdio.h>.
36089 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36091 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36093 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36094 * sysdeps/sparc/bits/mathdef.h: Likewise.
36096 2012-01-31 Marek Polacek <polacek@redhat.com>
36098 * libio/libio.h: Don't define _PARAMS.
36099 * locale/programs/config.h: Don't define PARAMS.
36100 * stdlib/strtol_l.c: Likewise.
36101 (__strtol_l): Remove PARAMS from the prototype.
36103 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36105 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36106 names. Just use the correct names. Remove unnecessary wrapper
36108 * malloc/arena.c: Likewise.
36109 * malloc/hooks.c: Likewise.
36111 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36112 ARENA_TEST says not to. Simplify test for creation of a new arena.
36113 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36115 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36117 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36119 (update_get_addr): New function.
36120 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36121 GET_ADDR_MODULE parameter.
36123 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36125 * crypt/cert.c: Remove __STDC__ conditionals.
36126 * crypt/crypt-entry.c: Likewise.
36127 * crypt/crypt_util.c: Likewise.
36128 * libio/filedoalloc.c: Likewise.
36129 * libio/fileops.c: Likewise.
36130 * libio/genops.c: Likewise.
36131 * libio/iofclose.c: Likewise.
36132 * libio/iofdopen.c: Likewise.
36133 * libio/iofopen.c: Likewise.
36134 * libio/iofopen64.c: Likewise.
36135 * libio/iogetdelim.c: Likewise.
36136 * libio/iopopen.c: Likewise.
36137 * libio/obprintf.c: Likewise.
36138 * libio/oldfileops.c: Likewise.
36139 * libio/oldiofclose.c: Likewise.
36140 * libio/oldiofdopen.c: Likewise.
36141 * libio/oldiofopen.c: Likewise.
36142 * libio/oldiopopen.c: Likewise.
36143 * libio/wfiledoalloc.c: Likewise.
36144 * libio/wgenops.c: Likewise.
36145 * locale/programs/xmalloc.c: Likewise.
36146 * misc/syslog.c: Likewise.
36147 * stdio-common/xbug.c: Likewise.
36148 * string/memchr.c: Likewise.
36149 * string/memcmp.c: Likewise.
36150 * string/memrchr.c: Likewise.
36151 * string/rawmemchr.c: Likewise.
36152 * sysdeps/posix/getcwd.c: Likewise.
36153 * time/strftime_l.c: Likewise.
36155 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36157 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36158 * config.make.in (config-cflags-sse2avx): Define.
36159 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36162 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36164 * scripts/config.guess: Update from upstream config git repository.
36165 * scripts/config.sub: Likewise.
36167 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36169 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36171 (R_TILEPRO_*, R_TILEGX_*): New macros.
36173 * scripts/firstversions.awk: Fix bug in version range handling.
36175 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36177 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36179 * include/sys/epoll.h: New file.
36180 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36183 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36185 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36186 Avoid unnecessary __WORDSIZE == 64 test.
36187 (fmaxf): Use VEX format if possible.
36192 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36193 * math/math_private.h: Remove libc_fegetround* and
36195 * sysdeps/i386/configure.in: Check for -msse2avx.
36196 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36197 also if SSE2AVX is defined.
36198 Remove libc_fegetround* and libc_fesetround*.
36199 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36200 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36201 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36203 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36204 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36205 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36206 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36207 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36209 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36211 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36213 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36215 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36217 2012-01-27 Ulrich Drepper <drepper@gmail.com>
36220 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36222 * Makeconfig (libm): Define.
36223 * elf/Makefile: Add rules to build and run tst-relsort1.
36224 * elf/tst-relsort1.c: New file.
36225 * elf/tst-relsort1mod1.c: New file.
36226 * elf/tst-relsort1mod2.c: New file.
36228 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36230 * math/s_ldexp.c: Remove __STDC__ conditionals.
36231 * math/s_ldexpf.c: Likewise.
36232 * math/s_ldexpl.c: Likewise.
36233 * math/s_nextafter.c: Likewise.
36234 * math/s_nexttowardf.c: Likewise.
36235 * math/s_significand.c: Likewise.
36236 * math/s_significandf.c: Likewise.
36237 * math/s_significandl.c: Likewise.
36238 * math/w_jnl.c: Likewise.
36239 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36240 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36241 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36242 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36243 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36244 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36245 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36246 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36247 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36248 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36249 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36250 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36251 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36252 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36253 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36254 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36255 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36256 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36258 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36259 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36260 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36261 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36262 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36263 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36264 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36265 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36266 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36267 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36268 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36269 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36270 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36271 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36272 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36273 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36274 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36275 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36276 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36277 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36278 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36279 * sysdeps/ieee754/k_standard.c: Likewise.
36280 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36281 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36282 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36283 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36284 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36285 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36286 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36287 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36288 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36289 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36290 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36291 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36292 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36293 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36294 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36295 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36296 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36297 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36298 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36299 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36300 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36301 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36302 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36303 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36304 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36305 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36306 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36307 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36308 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36309 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36310 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36311 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36312 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36313 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36314 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36315 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36316 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36317 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36318 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36319 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36320 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36322 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36323 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36324 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36325 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36326 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36327 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36328 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36329 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36330 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36331 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36332 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36333 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36334 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36335 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36336 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36337 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36338 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36339 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36340 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36341 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36342 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36343 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36344 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36345 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36346 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36347 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36348 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36349 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36350 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36351 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36352 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36353 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36354 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36355 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36356 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36357 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36358 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36359 * sysdeps/ieee754/s_matherr.c: Likewise.
36360 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36361 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36362 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36363 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36365 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36367 * crypt/md5.h: Remove __STDC__ conditionals.
36368 * libio/libioP.h: Likewise.
36369 * locale/programs/config.h: Likewise.
36370 * sysdeps/generic/sysdep.h: Likewise.
36371 * sysdeps/i386/asm-syntax.h: Likewise.
36372 * sysdeps/s390/asm-syntax.h: Likewise.
36373 * sysdeps/unix/sysdep.h: Likewise.
36374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36377 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36379 * libio/libio.h: Remove __STDC__ conditionals.
36380 * malloc/obstack.h: Likewise.
36381 * math/complex.h: Likewise.
36382 * math/math.h: Likewise.
36383 * sysdeps/generic/_G_config.h: Likewise.
36384 * sysdeps/gnu/_G_config.h: Likewise.
36385 * sysdeps/mach/hurd/_G_config.h: Likewise.
36386 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36387 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36388 * sysdeps/sparc/bits/mathdef.h: Likewise.
36390 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36393 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36394 Clean up HAS_* macros.
36395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36396 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36398 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36400 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36401 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36402 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36403 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36404 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36406 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36408 * elf/tst-unique3.cc (gets): Remove declaration.
36409 * elf/tst-unique3lib.cc (gets): Likewise.
36410 * elf/tst-unique3lib2.cc (gets): Likewise.
36411 * elf/tst-unique4.cc (gets): Likewise.
36413 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36415 * include/stdio.h: Add C++ protection. Add gets declarations and
36417 * debug/tst-chk1.c: Don't declare gets here.
36418 * stdio-common/tst-gets.c: Likewise.
36420 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36422 * posix/glob: Remove directory.
36424 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36426 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36428 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36430 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36431 of the non-standard EPFNOSUPPORT.
36433 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36435 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36436 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36437 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36439 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36441 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36443 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36445 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36447 * nscd/grpcache.c (cache_addgr): Likewise.
36448 * nscd/hstcache.c (cache_addhst): Likewise.
36449 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36450 * nscd/pwdcache.c (cache_addpw): Likewise.
36451 * nscd/servicescache.c (cache_addserv): Likewise.
36453 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36455 * malloc/malloc.c: Various cleanups.
36456 * malloc/hooks.c: Likewise.
36458 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36459 * stdlib/bug-fmtmsg1.c: New file.
36461 * stdlib/fmtmsg.c (init): Add missing unlock.
36462 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36464 2012-01-12 Marek Polacek <polacek@redhat.com>
36466 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36469 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36471 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36472 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36473 macro to ensure uniqueness of label name.
36474 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36475 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36477 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36479 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36481 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36482 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36483 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36484 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36486 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36488 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36490 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36491 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36492 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36494 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36496 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36497 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36498 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36499 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36501 * math/bits/math-finite.h: Add ldexp support.
36503 2012-01-10 Marek Polacek <polacek@redhat.com>
36505 * locale/programs/localedef.h (show_archive_content): Add noreturn
36508 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36510 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36512 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36514 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36516 * io/Makefile (headers): Add bits/poll2.h.
36518 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36521 typo #include statement.
36523 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36525 * include/sys/cdefs.h: Define __attribute_alloc_size.
36526 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36527 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36528 * elf/pldd.c: Likewise.
36529 * iconv/iconv_charmap.c: Likewise.
36530 * iconv/iconvconfig.c: Likewise.
36531 * iconv/strtab.c: Likewise.
36532 * locale/programs/locale.c: Likewise.
36533 * locale/programs/localedef.h: Likewise.
36534 * locale/programs/simple-hash.c: Likewise.
36535 * nscd/nscd.h: Likewise.
36536 * nss/makedb.c: Likewise.
36537 * sysdeps/generic/ldconfig.h: Likewise.
36538 * locale/programs/localedef.c: Remove xmalloc prototype.
36539 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36541 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36543 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36546 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36548 * math/Makefile (tests): Add tst-CMPLX.
36549 * math/tst-CMPLX.c: New file.
36551 * math/complex.h (CMPLXL): Fix typo.
36553 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36554 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36556 * debug/tst-chk1.c: Add poll and ppoll tests.
36557 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36558 * include/sys/poll.h: Add hidden proto for ppoll.
36559 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36560 * sysdeps/mach/hurd/ppoll.c: Likewise.
36561 * io/ppoll.c: Likewise.
36562 * debug/poll_chk.c: New file.
36563 * debug/ppoll_chk.c: New file.
36564 * include/bits/poll2.h: New file.
36565 * io/bits/poll2.h: New file.
36568 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36570 * configure.in: static is always set to yes. Remove.
36571 * config.make.in: Don't set build-static.
36572 * Makeconfig: Remove use of build-static.
36573 * dlfcn/Makefile: Likewise.
36574 * elf/Makefile: Likewise.
36575 * math/Makefile: Likewise.
36576 * misc/Makefile: Likewise.
36577 * nptl/Makefile: Likewise.
36578 * sysdeps/mach/hurd/Makefile: Likewise.
36580 * configure.in: PWD_P is not used anymore.
36581 * config.make.in: Remove PWD_P entry.
36583 * configure.in: Remove last remnants of RANLIB.
36584 No need to check for signed size_t anymore.
36585 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36587 Remove __builtin_expect test because we require at least gcc 3.4.
36588 * aclocal.m4: Likewise.
36590 * wcsmbs/mbrtoc16.c: Implement using towc function.
36591 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36592 * wcsmbs/wcsmbsload.c: Likewise.
36593 * iconv/gconv_simple.c: Likewise.
36594 * iconv/gconv_int.h: Likewise.
36595 * iconv/gconv_builtin.h: Likewise.
36596 * iconv/iconv_prog.c: Remove CHAR16 handling.
36598 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36600 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36602 * configure.in: Remove --with-elf and --enable-bounded options.
36603 Dont set base_machine for ia64. More non-ELF conditions removed.
36604 Remove testing and setting of leading underscore information.
36605 * config.make.in (build-bounded): Set to no.
36606 * config.h.in: Remove NO_UNDERSCORES entry.
36607 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36609 * csu/start.c: Remove !NO_UNDERSCORE code.
36610 * locale/localeinfo.h: Likewise.
36611 * sysdeps/generic/machine-gmon.h: Likewise.
36612 * sysdeps/generic/sysdep.h: Likewise.
36613 * sysdeps/i386/sysdep.h: Likewise.
36614 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36615 * sysdeps/mach/sysdep.h: Likewise.
36616 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36617 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36618 * sysdeps/sh/sysdep.h: Likewise.
36619 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36620 * sysdeps/unix/i386/sysdep.S: Likewise.
36621 * sysdeps/unix/sparc/start.c: Likewise.
36622 * sysdeps/unix/sparc/sysdep.S: Likewise.
36623 * sysdeps/unix/sparc/sysdep.h: Likewise.
36624 * sysdeps/unix/start.c: Likewise.
36625 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36626 * sysdeps/x86_64/sysdep.h: Likewise.
36628 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36631 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36633 * argp/argp-fmtstream.h: Use const instead __const.
36634 * argp/argp.h: Likewise.
36635 * assert/assert.h: Likewise.
36636 * bits/fenv.h: Likewise.
36637 * bits/sched.h: Likewise.
36638 * bits/sigset.h: Likewise.
36639 * bits/sigthread.h: Likewise.
36640 * catgets/nl_types.h: Likewise.
36641 * conform/data/pthread.h-data: Likewise.
36642 * crypt/crypt-private.h: Likewise.
36643 * crypt/crypt.h: Likewise.
36644 * crypt/crypt_util.c: Likewise.
36645 * ctype/ctype.h: Likewise.
36646 * debug/execinfo.h: Likewise.
36647 * debug/mbsnrtowcs_chk.c: Likewise.
36648 * debug/mbsrtowcs_chk.c: Likewise.
36649 * debug/wcsnrtombs_chk.c: Likewise.
36650 * debug/wcsrtombs_chk.c: Likewise.
36651 * debug/wcstombs_chk.c: Likewise.
36652 * dirent/dirent.h: Likewise.
36653 * dlfcn/dlfcn.h: Likewise.
36654 * elf/neededtest4.c: Likewise.
36655 * grp/grp.h: Likewise.
36656 * gshadow/gshadow.h: Likewise.
36657 * iconv/gconv.h: Likewise.
36658 * iconv/gconv_int.h: Likewise.
36659 * iconv/gconv_simple.c: Likewise.
36660 * iconv/iconv.h: Likewise.
36661 * iconv/loop.c: Likewise.
36662 * iconv/skeleton.c: Likewise.
36663 * include/aio.h: Likewise.
36664 * include/aliases.h: Likewise.
36665 * include/argz.h: Likewise.
36666 * include/arpa/inet.h: Likewise.
36667 * include/assert.h: Likewise.
36668 * include/dirent.h: Likewise.
36669 * include/dlfcn.h: Likewise.
36670 * include/execinfo.h: Likewise.
36671 * include/fcntl.h: Likewise.
36672 * include/fenv.h: Likewise.
36673 * include/glob.h: Likewise.
36674 * include/grp.h: Likewise.
36675 * include/libintl.h: Likewise.
36676 * include/mntent.h: Likewise.
36677 * include/netdb.h: Likewise.
36678 * include/pwd.h: Likewise.
36679 * include/rpc/netdb.h: Likewise.
36680 * include/sched.h: Likewise.
36681 * include/search.h: Likewise.
36682 * include/shadow.h: Likewise.
36683 * include/signal.h: Likewise.
36684 * include/stdio.h: Likewise.
36685 * include/stdlib.h: Likewise.
36686 * include/string.h: Likewise.
36687 * include/sys/socket.h: Likewise.
36688 * include/sys/stat.h: Likewise.
36689 * include/sys/statfs.h: Likewise.
36690 * include/sys/statvfs.h: Likewise.
36691 * include/sys/syslog.h: Likewise.
36692 * include/sys/time.h: Likewise.
36693 * include/sys/uio.h: Likewise.
36694 * include/time.h: Likewise.
36695 * include/unistd.h: Likewise.
36696 * include/utmp.h: Likewise.
36697 * include/wchar.h: Likewise.
36698 * include/wctype.h: Likewise.
36699 * inet/aliases.h: Likewise.
36700 * inet/arpa/inet.h: Likewise.
36701 * inet/netinet/ether.h: Likewise.
36702 * inet/netinet/in.h: Likewise.
36703 * intl/libintl.h: Likewise.
36704 * io/bits/fcntl2.h: Likewise.
36705 * io/fcntl.h: Likewise.
36706 * io/ftw.h: Likewise.
36707 * io/sys/poll.h: Likewise.
36708 * io/sys/stat.h: Likewise.
36709 * io/sys/statfs.h: Likewise.
36710 * io/sys/statvfs.h: Likewise.
36711 * io/utime.h: Likewise.
36712 * libio/bits/stdio.h: Likewise.
36713 * libio/bits/stdio2.h: Likewise.
36714 * libio/libio.h: Likewise.
36715 * libio/libioP.h: Likewise.
36716 * libio/stdio.h: Likewise.
36717 * locale/lc-ctype.c: Likewise.
36718 * locale/locale.h: Likewise.
36719 * login/utmp.h: Likewise.
36720 * malloc/arena.c: Likewise.
36721 * malloc/malloc.c: Likewise.
36722 * malloc/malloc.h: Likewise.
36723 * malloc/mcheck.c: Likewise.
36724 * malloc/mtrace.c: Likewise.
36725 * math/bits/mathcalls.h: Likewise.
36726 * math/fenv.h: Likewise.
36727 * math/math_private.h: Likewise.
36728 * misc/bits/error.h: Likewise.
36729 * misc/bits/syslog.h: Likewise.
36730 * misc/err.h: Likewise.
36731 * misc/error.h: Likewise.
36732 * misc/fstab.h: Likewise.
36733 * misc/mntent.h: Likewise.
36734 * misc/regexp.h: Likewise.
36735 * misc/search.h: Likewise.
36736 * misc/sgtty.h: Likewise.
36737 * misc/sys/mman.h: Likewise.
36738 * misc/sys/syslog.h: Likewise.
36739 * misc/sys/uio.h: Likewise.
36740 * misc/sys/xattr.h: Likewise.
36741 * misc/ttyent.h: Likewise.
36742 * nis/rpcsvc/ypclnt.h: Likewise.
36743 * nss/nss.h: Likewise.
36744 * posix/bits/unistd.h: Likewise.
36745 * posix/fnmatch.h: Likewise.
36746 * posix/glob.h: Likewise.
36747 * posix/sched.h: Likewise.
36748 * posix/spawn.h: Likewise.
36749 * posix/sys/wait.h: Likewise.
36750 * posix/unistd.h: Likewise.
36751 * posix/wordexp.h: Likewise.
36752 * pwd/pwd.h: Likewise.
36753 * resolv/netdb.h: Likewise.
36754 * resource/sys/resource.h: Likewise.
36755 * rt/aio.h: Likewise.
36756 * rt/bits/mqueue2.h: Likewise.
36757 * rt/mqueue.h: Likewise.
36758 * shadow/shadow.h: Likewise.
36759 * signal/signal.h: Likewise.
36760 * socket/send.c: Likewise.
36761 * socket/sendto.c: Likewise.
36762 * socket/sys/socket.h: Likewise.
36763 * stdio-common/printf.h: Likewise.
36764 * stdlib/bits/stdlib.h: Likewise.
36765 * stdlib/fmtmsg.h: Likewise.
36766 * stdlib/monetary.h: Likewise.
36767 * stdlib/stdlib.h: Likewise.
36768 * stdlib/ucontext.h: Likewise.
36769 * streams/stropts.h: Likewise.
36770 * string/argz.h: Likewise.
36771 * string/bits/string2.h: Likewise.
36772 * string/string.h: Likewise.
36773 * string/strings.h: Likewise.
36774 * sunrpc/rpc/auth.h: Likewise.
36775 * sunrpc/rpc/auth_des.h: Likewise.
36776 * sunrpc/rpc/clnt.h: Likewise.
36777 * sunrpc/rpc/netdb.h: Likewise.
36778 * sunrpc/rpc/pmap_clnt.h: Likewise.
36779 * sunrpc/rpc/xdr.h: Likewise.
36780 * sysdeps/generic/inttypes.h: Likewise.
36781 * sysdeps/generic/net/if.h: Likewise.
36782 * sysdeps/generic/sys/swap.h: Likewise.
36783 * sysdeps/gnu/net/if.h: Likewise.
36784 * sysdeps/gnu/utmpx.h: Likewise.
36785 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36786 * sysdeps/i386/i486/bits/string.h: Likewise.
36787 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36788 * sysdeps/s390/bits/string.h: Likewise.
36789 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36790 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36791 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36792 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36793 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36794 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36795 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36796 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36797 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36798 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36799 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36800 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36801 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36802 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36803 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36804 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36805 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36806 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36807 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36808 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36809 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36810 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36811 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36812 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36813 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36814 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36815 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36816 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36817 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36818 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36819 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36820 * sysvipc/sys/ipc.h: Likewise.
36821 * sysvipc/sys/msg.h: Likewise.
36822 * sysvipc/sys/sem.h: Likewise.
36823 * sysvipc/sys/shm.h: Likewise.
36824 * termios/termios.h: Likewise.
36825 * time/sys/time.h: Likewise.
36826 * time/time.h: Likewise.
36827 * wcsmbs/bits/wchar2.h: Likewise.
36828 * wcsmbs/uchar.h: Likewise.
36829 * wcsmbs/wchar.h: Likewise.
36830 * wctype/wctype.h: Likewise.
36833 * Makeconfig: Remove all but ELF support including AIX support.
36834 * Makerules: Likewise.
36835 * config.h.in: Likewise.
36836 * config.make.in: Likewise.
36837 * configure: Likewise.
36838 * configure.in: Likewise.
36839 * csu/Makefile: Likewise.
36840 * csu/version.c: Likewise.
36841 * debug/Makefile: Likewise.
36842 * dlfcn/Makefile: Likewise.
36843 * elf/Makefile: Likewise.
36844 * extra-lib.mk: Likewise.
36845 * iconv/Makefile: Likewise.
36846 * include/libc-symbols.h: Likewise.
36847 * include/shlib-compat.h: Likewise.
36848 * resolv/Makefile: Likewise.
36849 * resolv/res_libc.c: Likewise.
36850 * rt/Makefile: Likewise.
36851 * sysdeps/i386/asm-syntax.h: Likewise.
36852 * sysdeps/i386/sysdep.h: Likewise.
36853 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36854 * sysdeps/mach/sysdep.h: Likewise.
36855 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36856 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36857 * sysdeps/s390/asm-syntax.h: Likewise.
36858 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36859 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36860 * sysdeps/sh/sysdep.h: Likewise.
36861 * sysdeps/unix/sparc/sysdep.h: Likewise.
36862 * sysdeps/wordsize-32/divdi3.c: Likewise.
36863 * sysdeps/x86_64/sysdep.h: Likewise.
36865 * argp/Versions: Remove _argp_unlock_xxx.
36868 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36869 * abilist/libBrokenLocale.abilist: Likewise.
36870 * abilist/libanl.abilist: Likewise.
36871 * abilist/libc.abilist: Likewise.
36872 * abilist/libcrypt.abilist: Likewise.
36873 * abilist/libdl.abilist: Likewise.
36874 * abilist/libm.abilist: Likewise.
36875 * abilist/libnsl.abilist: Likewise.
36876 * abilist/libpthread.abilist: Likewise.
36877 * abilist/libresolv.abilist: Likewise.
36878 * abilist/librt.abilist: Likewise.
36879 * abilist/libthread_db.abilist: Likewise.
36880 * abilist/libutil.abilist: Likewise.
36881 * abilist/libnss_db.abilist: New file.
36883 * scripts/abilist.awk: Add support for indirect functions.
36885 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36887 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36889 * shlib-versions: Remove entries for ports architectures.
36891 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36893 * elf/stackguard-macros.h: Remove support for IA-64.
36894 * elf/tst-auditmod1.c: Likewise.
36895 * sysdeps/generic/ldsodefs.h: Likewise.
36897 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36898 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36902 * configure.in: Remove --enable-omitfp support.
36904 * config.make.in: Likewise.
36905 * Makeconfig: Likewise.
36906 * manual/install.texi: Likewise.
36908 In case anyone cares, the IA-64 architecture could move to ports.
36909 * sysdeps/ia64/*: Removed.
36910 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36911 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36914 * configure.in: Remove entries for unsupported architectures.
36917 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36918 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36920 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36921 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36922 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36923 fall back to using wcrtomb.
36924 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36925 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36927 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36928 * wcsmbs/tst-c16c32-1.c: New file.
36930 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36933 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36935 * elf/tst-unique3.cc: Add explicit declaration of gets.
36936 * elf/tst-unique3lib.cc: Likewise.
36937 * elf/tst-unique3lib2.cc: Likewise.
36938 * elf/tst-unique4.cc: Likewise.
36940 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36942 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36945 * assert/assert.h (static_assert): Don't define for C++.
36946 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36947 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36949 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36951 * iconv/loop.c (single loop): Fix assertion in storing of
36954 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36956 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36958 * posix/getconf.c: Update copyright year.
36959 * nss/getent.c: Likewise.
36960 * nss/makedb.c: Likewise.
36961 * iconv/iconvconfig.c: Likewise.
36962 * iconv/iconv_prog.c: Likewise.
36963 * elf/ldconfig.c: Likewise.
36964 * elf/pldd.c: Likewise.
36965 * elf/sotruss.ksh: Likewise.
36966 * catgets/gencat.c: Likewise.
36967 * csu/version.c: Likewise.
36968 * elf/ldd.bash.in: Likewise.
36969 * elf/sprof.c (print_version): Likewise.
36970 * locale/programs/locale.c: Likewise.
36971 * locale/programs/localedef.c: Likewise.
36972 * login/programs/pt_chown.c: Likewise.
36973 * nscd/nscd.c (print_version): Likewise.
36974 * debug/xtrace.sh: Likewise.
36975 * malloc/memusage.sh: Likewise.
36976 * malloc/mtrace.pl: Likewise.
36977 * debug/catchsegv.sh: Likewise.
36979 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36981 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36984 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36987 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36988 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36990 * iconv/gconv_int.h: Likewise.
36991 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36992 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36993 from libc for GLIBC_2.16.
36994 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36995 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36996 * wcsmbs/uchar.h: Really define mbstate_t.
36997 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36998 * wcsmbs/c16rtomb.c: New file.
36999 * wcsmbs/mbrtoc16.c: New file.
37000 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37001 for C/POSIX locale.
37002 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37003 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37005 * wcsmbs/wchar.h: Add missing __restrict.
37007 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37010 * time/Makefile (routines): Add timespec_get.
37011 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37012 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37013 timespec for ISO C11.
37014 * time/timespec_get.c: New file.
37015 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37016 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37019 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37020 * stdlib/stdlib.h: Declare aligned_alloc.
37021 * Versions.def: Add GLIBC_2.16 for libc.
37022 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37025 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37028 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37032 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37035 * assert/assert.h (static_assert): Define.
37037 * version.h: Update for 2.16 development version.
37040 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37043 * version.h (RELEASE): Bump for 2.15 release.
37044 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37046 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37047 Patch by Marek Polacek <mpolacek@redhat.com>.
37049 * bits/byteswap.h: Protect long long constants with __extension__.
37050 * sysdeps/i386/bits/byteswap.h: Likewise.
37051 * sysdeps/ia64/bits/byteswap.h: Likewise.
37052 * sysdeps/s390/bits/byteswap.h: Likewise.
37053 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37055 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37058 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37059 destination buffer.
37060 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37062 2011-12-23 Marek Polacek <polacek@redhat.com>
37064 * elf/dl-addr.c (determine_info): Add inline keyword.
37065 * elf/tst-auditmod4b.c (check_avx): Likewise.
37066 * elf/tst-auditmod6b.c (check_avx): Likewise.
37067 * elf/tst-auditmod6c.c (check_avx): Likewise.
37068 * elf/tst-auditmod7b.c (check_avx): Likewise.
37070 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37072 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37075 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37078 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37079 processing for last bytes.
37081 2011-08-06 Bruno Haible <bruno@clisp.org>
37084 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37085 U+0385, not to U+1FEE.
37088 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37089 entry for U+00A5 U+0301.
37091 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37094 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37095 buffer for the output is too small.
37097 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37101 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37102 SSE flags if possible.
37104 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37107 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37108 processing for last bytes.
37110 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37112 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37113 (syscall-list-default-options, syscall-list-default-condition)
37114 (syscall-list-includes): Define.
37115 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37116 list of ABIs and options and #if conditions for each ABI. Do not
37117 handle common syscalls between ABIs specially.
37118 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37120 (syscall-list-variants, syscall-list-32bit-options)
37121 (syscall-list-32bit-condition, syscall-list-64bit-options)
37122 (syscall-list-64bit-condition): Define.
37123 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37124 (syscall-list-variants, syscall-list-32bit-options)
37125 (syscall-list-32bit-condition, syscall-list-64bit-options)
37126 (syscall-list-64bit-condition): Define.
37127 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37129 (syscall-list-variants, syscall-list-32bit-options)
37130 (syscall-list-32bit-condition, syscall-list-64bit-options)
37131 (syscall-list-64bit-condition): Define.
37132 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37134 (syscall-list-variants, syscall-list-32bit-options)
37135 (syscall-list-32bit-condition, syscall-list-64bit-options)
37136 (syscall-list-64bit-condition): Define.
37138 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37140 * locale/iso-639.def: Add brx entry.
37143 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37144 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37146 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37147 __feraiseexcept_renamed.
37149 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37152 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37153 EPOLLET with unsigned values.
37154 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37155 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37157 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37158 to large cancellation.
37159 * math/s_cacoshf.c: Likewise.
37160 * math/s_cacoshl.c: Likewise.
37162 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37166 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37167 * math/s_cacoshf.c: Likewise.
37168 * math/s_cacoshl.c: Likewise.
37170 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37173 * iconv/gconv.h: Define __GCONV_SWAP.
37174 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37175 * iconvdata/utf-16.c: Likewise.
37176 * iconvdata/utf-32.c: Likewise.
37178 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37181 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37182 numerator after shifting it by one limb.
37184 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37186 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37187 under [__USE_EXTERN_INLINES].
37189 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37192 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37194 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37196 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37197 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37199 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37200 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37201 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37202 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37203 for strncasecmp/strncasecmp_l compilation.
37204 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37205 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37207 2011-12-08 Marek Polacek <mpolacek@redhat.com>
37210 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37213 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37216 * time/tzfile.c (__tzfile_read): Check values from file header.
37218 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37220 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37221 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37222 * powerpc/powerpc32/dl-start.S: Likewise.
37223 * powerpc/powerpc32/elf/start.S: Likewise.
37224 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37225 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37226 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37227 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37228 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37229 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37230 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37231 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37232 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37233 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37234 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37235 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37236 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37237 * powerpc/powerpc32/memset.S: Likewise.
37238 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37239 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37240 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37241 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37242 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37243 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37244 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37245 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37246 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37247 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37248 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37249 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37250 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37252 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37254 * math/libm-test.inc: Added more nearbyint tests.
37255 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37256 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37257 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37258 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37260 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37262 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37265 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37267 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37268 Add wcscpy-ssse3 wcscpy-c.
37269 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37270 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37271 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37272 * sysdeps/x86_64/wcschr.S: New file.
37273 * sysdeps/x86_64/wcsrchr.S: New file.
37274 * string/test-strcmp.c: Remove checking of wcscmp function for
37276 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37277 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37278 wcsrchr-sse2 wcsrchr-c.
37279 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37280 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37281 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37282 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37283 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37284 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37285 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37286 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37287 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37288 * wcsmbc/wcschr.c (WCSCHR): New macro.
37290 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37292 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37293 * wcsmbs/test-wcsrchr.c: New file.
37294 * string/test-strrchr.c: Add wcsrchr support.
37296 * wcsmbs/test-wcscpy.c: New file.
37297 * string/test-strcpy.c: Add wcscpy support.
37300 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37302 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37305 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37308 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37310 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37312 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37313 Minor optimizations.
37315 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37316 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37317 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37319 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37321 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37322 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37323 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37324 for gcc to avoid warnings.
37325 * inet/Makefile (tests): Add tst-checks.
37326 * inet/tst-checks.c: New file.
37328 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37331 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37334 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37335 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37337 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37339 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37341 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37344 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37346 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37348 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37349 conditional on GCC version.
37350 (__arch_compare_and_exchange_val_8_acq)
37351 (__arch_compare_and_exchange_val_16_acq)
37352 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37353 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37354 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37356 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37358 * sysdeps/sh/backtrace.c: New file.
37360 2011-12-02 Andreas Schwab <schwab@redhat.com>
37362 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37365 2011-12-01 Andreas Schwab <schwab@redhat.com>
37367 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37368 falling back to utime.
37370 2011-11-30 Andreas Schwab <schwab@redhat.com>
37372 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37373 expectations for float.
37375 2011-11-29 Andreas Schwab <schwab@redhat.com>
37377 * locale/weight.h (findidx): Add parameter len.
37378 * locale/weightwc.h (findidx): Likewise.
37379 * posix/fnmatch_loop.c (FCT): Adjust caller.
37380 * posix/regcomp.c (build_equiv_class): Likewise.
37381 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37382 * posix/regexec.c (check_node_accept_bytes): Likewise.
37383 * string/strcoll_l.c (STRCOLL): Likewise.
37384 * string/strxfrm_l.c (STRXFRM): Likewise.
37386 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37388 * Makefile.in: Remove CVSOPT handling.
37389 * configure.in: Remove use of AC_REVISION.
37390 * iconvdata/Makefile (distribute): No need to filter out CVS.
37391 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37394 2011-11-16 Andreas Schwab <schwab@redhat.com>
37396 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37397 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37398 [USE_AS_STRNCASECMP_L]: Likewise.
37399 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37400 NO_TLS_DIRECT_SEG_REFS.
37401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37402 Fix argument offsets for non-PIC.
37403 [USE_AS_STRNCASECMP_L]: Likewise.
37404 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37405 NO_TLS_DIRECT_SEG_REFS.
37407 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37409 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37411 * locale/loadlocale.c (_nl_load_locale): Likewise.
37413 2011-11-15 Andreas Schwab <schwab@redhat.com>
37415 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37416 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37417 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37418 (SYSCALL_GETTIME): Set errno on error.
37420 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37421 count references to noai6ai_cached.
37423 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37425 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37427 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37428 FD_CLOEXEC for /proc/self/maps.
37430 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37431 FD_CLOEXEC for /proc/meminfo.
37433 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37436 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37437 FD_CLOEXEC for given file.
37439 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37441 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37442 FD_CLOEXEC for /etc/hosts.
37443 (_gethtent): Likewise.
37445 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37447 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37448 cancellation and set FD_CLOEXEC for /etc/netgroup.
37450 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37451 reading /etc/publickey.
37453 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37454 allow cancellation when reading /etc/group.
37456 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37458 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37460 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37461 when using data file.
37463 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37465 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37466 (write_nis_obj): Use "c" and "e" in fopen.
37468 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37470 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37472 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37474 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37476 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37479 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37481 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37483 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37485 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37486 file parsing and set FD_CLOEXEC.
37488 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37490 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37492 2011-11-14 Andreas Schwab <schwab@redhat.com>
37494 * malloc/arena.c (arena_get2): Don't call reused_arena when
37495 _int_new_arena failed.
37497 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37499 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37500 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37501 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37502 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37503 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37504 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37505 to compile strcasecmp and strncasecmp.
37506 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37507 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37509 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37511 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37513 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37514 locale-defines.sym to gen-as-const-headers.
37515 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37516 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37518 to compile strcasecmp and strncasecmp.
37519 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37520 strcasecmp_l and strncasecmp_l.
37521 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37522 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37523 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37524 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37525 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37526 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37527 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37528 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37529 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37530 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37531 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37533 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37535 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37536 result of SYSDEP_GETTIME_CPU to retval.
37537 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37538 parameter list to macro. Remove trailing semicolon. Adjust users.
37540 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37543 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37545 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37547 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37548 from unused variable.
37550 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37552 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37555 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37558 * sunrpc/rpc_prot.c (rejected): Fix case value.
37560 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37561 unsigned long long int to avoid warnings in shift.
37563 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37565 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37568 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37569 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37570 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37572 * nis/nis_table.c (nis_list): Use variable of correct type for
37573 result of __follow_path call.
37575 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37577 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37578 of math functions ceil, trunc, floor, round, and sqrt, when
37579 avaliable on the platform.
37580 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37582 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37583 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37584 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37586 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37588 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37589 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37591 2011-11-11 Roland McGrath <roland@hack.frob.com>
37593 * include/unistd.h: Fix __readlink return type.
37594 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37596 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37598 * stdlib/ucontext.h: Undo last change for makecontext.
37600 2011-11-11 Andreas Schwab <schwab@redhat.com>
37602 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37604 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37605 * setjmp/setjmp.h: Mark functions as non-leaf.
37606 * setjmp/bits/setjmp2.h: Likewise.
37607 * stdlib/ucontext.h: Likewise.
37609 2011-11-10 Andreas Schwab <schwab@redhat.com>
37611 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37612 (reused_arena): Don't check arena limit.
37613 (arena_get2): Atomically check arena limit.
37615 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37617 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37618 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37620 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37623 2011-11-07 Andreas Schwab <schwab@redhat.com>
37625 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37626 handler when locking.
37628 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37629 Fix size of allocated buffer.
37631 2011-11-04 Andreas Schwab <schwab@redhat.com>
37634 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37635 declarations for long double functions.
37636 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37638 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37640 2011-11-03 Andreas Schwab <schwab@redhat.com>
37642 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37645 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37648 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37650 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37652 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37654 * include/alloca.h (stackinfo_alloca_round): Define.
37655 (extend_alloca): Use it.
37656 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37657 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37660 * scripts/check-local-headers.sh: Ignore libaudit.h.
37662 * nscd/Makefile (extra-objs): Make recursively expanded.
37664 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37666 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37667 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37669 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37670 * posix/tst-rfc3484-2.c: Likewise.
37671 * posix/tst-rfc3484-3.c: Likewise.
37673 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37675 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37677 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37678 process_vm_writev from libc using GLIBC_2.15 version.
37680 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37682 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37684 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37687 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37690 * nss/getent.c (initgroups_keys): Show error message in case no group
37693 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37694 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37695 __bump_nl_timestamp.
37696 * nscd/connections (nscd_init): When host database is served open
37697 netlink socket and request notification about configuration changes.
37698 (main_loop_poll): Track netlink file descriptor and bump timestamp
37699 in case data becomes available.
37700 (main_loop_epoll): Likewise.
37701 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37702 (database_pers_head): Add extra_data fileds.
37703 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37704 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37705 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37707 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37708 in6ai data, call __free_in6ai.
37709 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37710 Add -DHAVE_NETLINK.
37711 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37712 interface information. Reuse previous data if netlink timestamp
37714 (__bump_nl_timestamp): New function.
37715 (__free_in6ai): New function.
37717 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37719 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37720 close_not_cancel_no_status here.
37721 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37723 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37726 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37729 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37730 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37731 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37733 2011-07-03 Andreas Jaeger <aj@suse.de>
37736 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37737 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37738 * math/libm-test.inc (sin_test): Add test case.
37740 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37743 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37744 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37746 * elf/chroot_canon.c (chroot_canon): Cleanups.
37748 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37751 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37752 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37754 * string/test-strchr.c: Make usable for strchrnul testing.
37755 * string/test-strchrnul.c: New file.
37756 * string/Makefile (strop-tests): Add strchrnul.
37758 * po/it.po: Update from translation team.
37759 * po/es.po: Likewise.
37761 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37763 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37764 the three constants needed as parameters. Drop the others.
37765 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37766 __m128i_strloadu_tolower.
37767 Create and initialize variable zero and use it in all the places
37768 where _mm_setzero_si128 was used.
37770 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37771 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37772 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37773 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37775 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37776 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37777 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37778 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37779 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37780 __mpranred, __mptan.
37781 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37782 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37783 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37784 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37785 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37786 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37787 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37788 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37789 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37791 2011-10-28 Andreas Schwab <schwab@redhat.com>
37793 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37794 redefine if SHARED.
37795 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37798 wide char related routines to wcsmbs subdir.
37800 2011-10-27 Andreas Schwab <schwab@redhat.com>
37803 * misc/sys/cdefs.h (__THROWNL): Define.
37804 * posix/unistd.h: Use __THREADNL instead of __THREAD
37805 for memory synchronization functions.
37807 2011-10-26 Roland McGrath <roland@hack.frob.com>
37810 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37812 * manual/stdio.texi (Obstack Streams): Node removed.
37814 2011-10-26 Andreas Schwab <schwab@redhat.com>
37816 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37817 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37818 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37820 * math/math_private.h (math_force_eval): Allow non-addressable
37822 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37824 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37826 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37827 file is not needed.
37829 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37830 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37831 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37832 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37833 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37834 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37835 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37836 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37838 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37839 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37840 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37841 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37842 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37843 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37844 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37845 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37846 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37847 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37848 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37849 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37850 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37851 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37852 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37853 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37854 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37855 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37856 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37858 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37859 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37861 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37862 place. Use VEX encoding when compiling for AVX.
37864 2011-10-25 Andreas Schwab <schwab@redhat.com>
37866 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37867 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37869 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37871 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37873 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37874 useless if() expression.
37875 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37876 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37877 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37878 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37879 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37880 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37881 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37882 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37883 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37884 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37885 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37886 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37887 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37888 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37889 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37890 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37891 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37892 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37893 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37895 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37897 2011-10-25 Andreas Schwab <schwab@redhat.com>
37899 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37901 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37903 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37905 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37906 .text section. Avoid duplicate constants.
37907 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37908 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37909 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37910 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37911 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37914 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37915 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37916 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37917 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37918 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37919 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37920 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37921 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37922 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37923 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37924 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37925 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37926 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37927 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37928 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37929 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37930 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37931 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37932 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37933 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37934 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37935 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37936 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37937 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37938 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37939 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37940 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37941 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37942 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37943 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37944 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37945 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37946 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37947 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37948 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37949 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37950 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37951 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37953 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37955 * sysdeps/x86_64/dla.h: Move to ...
37956 * sysdeps/x86_64/fpu/dla.h: ...here.
37957 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37958 situations. Use __builtin_fma only for gcc 4.6 and up.
37960 * config.make.in: Add have-mfma4 entry.
37961 * configure.in: Substitute libc_cv_cc_fma4.
37962 * math/Makefile (dbl-only-routines): Add sincostab.
37963 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37964 Use __sincostab not sincos.
37965 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37967 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37968 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37969 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37970 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37972 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37973 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37974 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37975 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37977 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37978 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37980 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37981 define aliases when function name is a macro.
37982 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37983 sysdeps/ieee754/dbl-64/sincos.tbl.
37984 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37985 fma4-enabled routines.
37986 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37987 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37988 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37989 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37990 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37991 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37992 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37993 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37994 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37995 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37996 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37997 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37998 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37999 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38000 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38001 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38002 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38003 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38004 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38005 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38006 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38007 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38008 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38009 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38010 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38011 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38012 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38013 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38014 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38015 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38017 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38019 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38020 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38025 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38026 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38028 2011-10-24 Andreas Schwab <schwab@redhat.com>
38030 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38032 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38034 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38036 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38038 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38040 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38041 Remove unused variable magic_bits.
38042 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38044 * string/strnlen.c: Define and use STRNLEN macro.
38045 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38046 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38047 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38048 * wcsmbs/wcslen.c: Define and use WCSLEN.
38049 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38050 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38051 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38052 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38053 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38054 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38055 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38057 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38060 strnlen-sse2-no-bsf.
38061 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38062 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38063 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38064 Add strnlen support.
38065 (USE_AS_STRNLEN): New macro.
38066 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38067 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38068 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38069 * sysdeps/x86_64/wcslen.S: New file.
38071 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38073 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38074 XMM-moves are used for copying on small sizes.
38076 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38078 * wcsmbs/Makefile (strop-tests): Add wcschr.
38079 * wcsmbs/test-wcschr.c: New file.
38080 * string/test-strchr.c: Update.
38081 Add wcschr support.
38084 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38086 * wcsmbs/Makefile (strop-tests): Add wcslen.
38087 * wcsmbs/test-wcslen.c: New file.
38088 * string/test-strlen.c: Update.
38089 Add wcslen support.
38092 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38094 * po/it.po: Update from translation team.
38096 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38098 * sysdeps/x86_64/wcscmp.S: Update.
38099 Fix wrong comparison semantics.
38100 wcscmp shall use signed comparison not unsigned.
38101 Don't use substraction to avoid overflow bug.
38102 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38103 * wcsmbc/wcscmp.c: Likewise.
38104 * string/test-strcmp.c: Likewise.
38105 Add new tests to check cases with negative values.
38107 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38109 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38110 * sysdeps/x86_64/dla.h: ...here. New file.
38111 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38116 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38117 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38118 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38119 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38121 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38123 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38124 __ynl_finite aliases.
38126 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38130 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38132 [DLA_FMA] (EMULV): Use DLA_FMA.
38133 [DLA_FMA] (MUL12): Use EMULV.
38134 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38135 that are not needed.
38136 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38138 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38144 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38146 * math/s_nan.c: Undef __nan.
38147 * math/s_nanf.c: Undef __nanf.
38148 * math/s_nanl.c: Undef __nanl.
38149 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38152 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38154 * math/s_catan.c: Add branch predictions.
38155 * math/s_catanf.c: Likewise.
38156 * math/s_catanh.c: Likewise.
38157 * math/s_catanhf.c: Likewise.
38158 * math/s_catanhl.c: Likewise.
38159 * math/s_catanl.c: Likewise.
38160 * math/s_cexp.c: Likewise.
38161 * math/s_cexpf.c: Likewise.
38162 * math/s_cexpl.c: Likewise.
38163 * math/s_clog.c: Likewise.
38164 * math/s_clog10.c: Likewise.
38165 * math/s_clog10f.c: Likewise.
38166 * math/s_clog10l.c: Likewise.
38167 * math/s_clogf.c: Likewise.
38168 * math/s_clogl.c: Likewise.
38169 * math/s_csqrt.c: Likewise.
38170 * math/s_csqrtf.c: Likewise.
38171 * math/s_csqrtl.c: Likewise.
38172 * math/s_ctanf.c: Likewise.
38173 * math/s_ctanh.c: Likewise.
38174 * math/s_ctanhf.c: Likewise.
38175 * math/s_ctanhl.c: Likewise.
38176 * math/s_ctanl.c: Likewise.
38178 * math/math_private.h: Define __nan, __nanf, __nanl.
38179 * math/s_cacosh.c: Include <math_private.h>.
38180 * math/s_cacoshl.c: Likewise.
38181 * math/s_casinh.c: Likewise.
38182 * math/s_casinhf.c: Likewise.
38183 * math/s_casinhl.c: Likewise.
38184 * math/s_ccos.c: Rely entire on ccosh.
38185 * math/s_ccosf.c: Rely entire on ccoshf.
38186 * math/s_ccosl.c: Rely entirely on ccoshl.
38187 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38188 Remove tests for FE_INVALID.
38189 * math/s_ccoshf.c: Likewise.
38190 * math/s_ccoshl.c: Likewise.
38191 * math/s_csin.c: Likewise.
38192 * math/s_csinf.c: Likewise.
38193 * math/s_csinh.c Likewise.
38194 * math/s_csinhf.c: Likewise.
38195 * math/s_csinhl.c: Likewise.
38196 * math/s_csinl.c: Likewise.
38197 * math/s_ctan.c: Likewise.
38198 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38199 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38200 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38202 2011-10-21 Ulrich Drepper <drepper@gmail.com>
38204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38205 compilation problems.
38207 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38210 2011-10-20 Ulrich Drepper <drepper@gmail.com>
38212 * sysdeps/i386/configure.in: Test for -mfma4 option.
38213 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38214 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38215 COMMON_CPUID_INDEX_80000001.
38216 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38217 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38218 use it if FMA3 is not supported.
38219 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38221 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38222 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38224 2011-10-20 Andreas Schwab <schwab@redhat.com>
38227 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38228 it would create a cycle with a link time dependency.
38230 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38232 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38234 * string/Makefile (strop-tests): Add rawmemchr.
38235 * string/test-rawmemchr.c: New file.
38237 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38238 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38239 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38240 when compiling str{,n}casecmp and when AVX is available. Hook up
38241 new optimized code in initializers.
38243 2011-10-19 Andreas Schwab <schwab@redhat.com>
38245 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38246 __feraiseexcept instead of feraiseexcept.
38248 2011-10-18 Ulrich Drepper <drepper@gmail.com>
38250 * math/math_private.h: Define defaults for libc_fetestexcept and
38252 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38253 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38254 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38255 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38256 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38257 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38258 libc_fetestexcept and libc_feupdateenv.
38260 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38261 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38262 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38263 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38264 libc_feholdexcept_setround.
38266 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38267 Add s_nearbyint-c and s_nearbyintf-c.
38268 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38269 nearbyintf inlines.
38270 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38271 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38272 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38273 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38275 * math/math_private.h: Define defaults for libc_fegetround,
38276 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38277 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38278 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38279 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38280 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38281 standard functions.
38282 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38283 Remove comments and hacks for old compiler versions.
38284 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38285 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38286 libc_feholdexceptl.
38288 2011-10-18 Andreas Schwab <schwab@redhat.com>
38290 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38291 (__feraiseexcept_renamed): Add __NTH.
38292 (feraiseexcept): Add __NTH. Rename local variables to fix
38293 namespace violations.
38295 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38297 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38299 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38301 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38302 recently added interfaces.
38303 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38305 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38306 about macro parameter expansion.
38308 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38309 __NO_MATH_INLINES is defined. Cleanups.
38311 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38312 and __floorf is target has SSE4.1.
38313 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38314 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38315 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38316 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38318 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38320 (floorf): Likewise.
38322 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38324 2011-10-17 Andreas Schwab <schwab@redhat.com>
38326 * misc/sys/cdefs.h: Fix last change.
38328 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38331 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38333 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38335 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38336 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38337 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38338 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38339 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38340 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38341 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38342 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38343 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38344 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38345 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38346 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38347 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38348 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38349 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38350 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38351 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38352 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38353 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38354 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38355 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38356 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38358 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38359 ceil, ceilf, floor, floorf.
38361 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38362 Perform IRELATIVE relocations last.
38364 * elf/do-rel.h: Add another parameter nrelative, replacing the
38365 local variable with the same name. Change name of the function
38366 to end in Rel or Rela (uppercase).
38367 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38368 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38369 elf_dynamic_do_##reloc function.
38371 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38373 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38374 is sufficient, at least on modern CPUs.
38376 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38378 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38379 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38381 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38383 * math/bits/math-finite.h: Add entries for exp.
38384 * math/e_expl.c: Add __*_finite alias.
38385 * sysdeps/i386/fpu/e_exp.S: Likewise.
38386 * sysdeps/i386/fpu/e_expf.S: Likewise.
38387 * sysdeps/i386/fpu/e_expl.c: Likewise.
38388 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38389 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38390 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38391 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38392 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38393 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38394 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38396 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38397 is sufficient, at least on modern CPUs.
38399 * ctype/ctype-info.c (__ctype_init): Define.
38400 * include/ctype.h (__ctype_init): Declare.
38401 (__ctype_b_loc): The variable is always initialized.
38402 (__ctype_toupper_loc): Likewise.
38403 (__ctype_tolower_loc): Likewise.
38404 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38405 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38407 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38409 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38411 * configure.in: Also look in $cxxmachine/include for C++ system
38414 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38416 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38417 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38418 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38419 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38420 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38421 (USE_AS_WMEMCMP): New macro.
38423 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38424 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38425 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38426 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38428 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38429 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38430 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38431 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38432 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38433 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38434 (USE_AS_WMEMCMP): New macro.
38435 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38436 * sysdeps/string/test-memcmp.c: Update.
38437 Fix simple_wmemcmp.
38439 * wcsmbs/wmemcmp.c: Update.
38440 (WMEMCMP): New macro.
38443 2011-10-12 Andreas Jaeger <aj@suse.de>
38446 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38448 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38450 * libio/iofwide.c (do_length): Avoid warning.
38452 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38454 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38456 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38458 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38459 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38460 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38461 * sysdeps/i386/i686/fpu/e_log.S: New file.
38462 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38463 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38465 * ctype/ctype.h: Add support for inlined isXXX functions when
38466 compiling C++ code.
38468 2011-10-14 Andreas Schwab <schwab@redhat.com>
38470 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38472 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38474 2011-10-13 Roland McGrath <roland@hack.frob.com>
38477 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38479 2011-10-13 Andreas Schwab <schwab@redhat.com>
38481 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38482 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38485 * sysdeps/x86_64/memrchr.S: Check for zero size.
38487 * string/stratcliff.c: Add memrchr tests.
38489 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38492 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38493 rawmemchr-sse2 rawmemchr-sse2-bsf.
38494 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38495 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38496 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38497 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38498 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38499 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38500 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38501 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38502 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38503 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38504 * string/memrchr.c (MEMRCHR): New macro.
38506 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38508 Add integration with gcc's -ffinite-math-only and optimize wrapper
38510 * Versions.def: Define GLIBC_2.15 version for libm.
38511 * math/Makefile (headers): Add bits/math-finite.h.
38512 * math/bits/math-finite.h: New file.
38513 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38514 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38515 * math/e_acoshl.c: Add __*_finite alias.
38516 * math/e_acosl.c: Likewise.
38517 * math/e_asinl.c: Likewise.
38518 * math/e_atan2l.c: Likewise.
38519 * math/e_atanhl.c: Likewise.
38520 * math/e_coshl.c: Likewise.
38521 * math/e_exp10.c: Likewise.
38522 * math/e_exp10f.c: Likewise.
38523 * math/e_exp10l.c: Likewise.
38524 * math/e_exp2l.c: Likewise.
38525 * math/e_fmodl.c: Likewise.
38526 * math/e_gammal_r.c: Likewise.
38527 * math/e_hypotl.c: Likewise.
38528 * math/e_j0l.c: Likewise.
38529 * math/e_j1l.c: Likewise.
38530 * math/e_jnl.c: Likewise.
38531 * math/e_lgammal_r.c: Likewise.
38532 * math/e_log10l.c: Likewise.
38533 * math/e_log2l.c: Likewise.
38534 * math/e_logl.c: Likewise.
38535 * math/e_powl.c: Likewise.
38536 * math/e_sinhl.c: Likewise.
38537 * math/e_sqrtl.c: Likewise.
38538 * math/e_scalb.c: Completely rewritten and optimized.
38539 * math/e_scalbf.c: Likewise.
38540 * math/e_scalbl.c: Likewise.
38541 * math/w_acos.c: Likewise.
38542 * math/w_acosf.c: Likewise.
38543 * math/w_acosl.c: Likewise.
38544 * math/w_acosh.c: Likewise.
38545 * math/w_acoshf.c: Likewise.
38546 * math/w_acoshl.c: Likewise.
38547 * math/w_asin.c: Likewise.
38548 * math/w_asinf.c: Likewise.
38549 * math/w_asinl.c: Likewise.
38550 * math/w_atan2.c: Likewise.
38551 * math/w_atan2f.c: Likewise.
38552 * math/w_atan2l.c: Likewise.
38553 * math/w_atanh.c: Likewise.
38554 * math/w_atanhf.c: Likewise.
38555 * math/w_atanhl.c: Likewise.
38556 * math/w_exp10.c: Likewise.
38557 * math/w_exp10f.c: Likewise.
38558 * math/w_exp10l.c: Likewise.
38559 * math/w_fmod.c: Likewise.
38560 * math/w_fmodf.c: Likewise.
38561 * math/w_fmodl.c: Likewise.
38562 * math/w_j0.c: Likewise.
38563 * math/w_j0f.c: Likewise.
38564 * math/w_j0l.c: Likewise.
38565 * math/w_j1.c: Likewise.
38566 * math/w_j1f.c: Likewise.
38567 * math/w_j1l.c: Likewise.
38568 * math/w_jn.c: Likewise.
38569 * math/w_jnf.c: Likewise.
38570 * math/w_log.c: Likewise.
38571 * math/w_logf.c: Likewise.
38572 * math/w_logl.c: Likewise.
38573 * math/w_log10.c: Likewise.
38574 * math/w_log10f.c: Likewise.
38575 * math/w_log10l.c: Likewise.
38576 * math/w_log2.c: Likewise.
38577 * math/w_log2f.c: Likewise.
38578 * math/w_log2l.c: Likewise.
38579 * math/w_pow.c: Likewise.
38580 * math/w_powf.c: Likewise.
38581 * math/w_powl.c: Likewise.
38582 * math/w_remainder.c: Likewise.
38583 * math/w_remainderf.c: Likewise.
38584 * math/w_remainderl.c: Likewise.
38585 * math/w_scalb.c: Likewise.
38586 * math/w_scalbf.c: Likewise.
38587 * math/w_scalbl.c: Likewise.
38588 * math/w_sqrt.c: Likewise.
38589 * math/w_sqrtf.c: Likewise.
38590 * math/w_sqrtl.c: Likewise.
38591 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38592 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38594 * math/math_private.h: Declare __kernel_standard_f.
38595 * math/w_cosh.c: Remove cruft and optimize a bit.
38596 * math/w_coshf.c: Likewise.
38597 * math/w_coshl.c: Likewise.
38598 * math/w_exp2.c: Likewise.
38599 * math/w_exp2f.c: Likewise.
38600 * math/w_exp2l.c: Likewise.
38601 * math/w_hypot.c: Likewise.
38602 * math/w_hypotf.c: Likewise.
38603 * math/w_hypotl.c: Likewise.
38604 * math/w_lgamma.c: Likewise.
38605 * math/w_lgamma_r.c: Likewise.
38606 * math/w_lgammaf.c: Likewise.
38607 * math/w_lgammaf_r.c: Likewise.
38608 * math/w_lgammal.c: Likewise.
38609 * math/w_lgammal_r.c: Likewise.
38610 * math/w_sinh.c: Likewise.
38611 * math/w_sinhf.c: Likewise.
38612 * math/w_sinhl.c: Likewise.
38613 * math/w_tgamma.c: Likewise.
38614 * math/w_tgammaf.c: Likewise.
38615 * math/w_tgammal.c: Likewise.
38616 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38617 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38618 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38619 Minor optimizations. Pretty printing. Remove cruft.
38620 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38621 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38622 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38623 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38624 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38625 * sysdeps/i386/fpu/e_asin.S: Likewise.
38626 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38627 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38628 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38629 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38630 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38631 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38632 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38633 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38634 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38635 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38636 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38637 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38638 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38639 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38640 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38641 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38642 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38643 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38644 * sysdeps/i386/fpu/e_log.S: Likewise.
38645 * sysdeps/i386/fpu/e_log10.S: Likewise.
38646 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38647 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38648 * sysdeps/i386/fpu/e_log2.S: Likewise.
38649 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38650 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38651 * sysdeps/i386/fpu/e_logf.S: Likewise.
38652 * sysdeps/i386/fpu/e_logl.S: Likewise.
38653 * sysdeps/i386/fpu/e_pow.S: Likewise.
38654 * sysdeps/i386/fpu/e_powf.S: Likewise.
38655 * sysdeps/i386/fpu/e_powl.S: Likewise.
38656 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38657 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38658 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38659 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38660 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38661 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38662 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38663 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38664 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38666 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38668 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38669 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38670 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38671 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38672 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38673 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38674 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38675 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38676 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38677 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38678 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38679 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38681 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38682 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38683 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38684 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38685 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38686 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38687 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38688 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38689 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38690 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38691 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38692 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38693 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38694 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38695 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38696 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38697 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38698 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38699 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38700 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38701 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38702 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38703 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38704 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38705 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38706 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38707 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38708 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38709 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38710 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38711 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38712 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38713 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38714 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38715 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38716 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38717 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38718 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38719 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38720 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38721 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38722 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38723 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38724 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38725 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38726 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38728 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38729 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38730 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38731 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38732 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38733 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38734 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38735 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38736 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38737 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38738 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38739 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38741 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38742 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38743 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38744 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38745 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38746 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38747 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38748 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38749 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38750 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38751 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38752 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38753 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38754 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38755 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38756 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38757 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38758 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38759 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38760 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38761 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38762 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38763 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38764 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38765 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38766 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38767 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38768 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38769 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38770 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38771 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38772 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38773 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38774 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38775 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38776 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38777 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38778 (__isnanf): Likewise.
38779 (__isinf_ns): Likewise.
38780 (__isinf_nsf): Likewise.
38781 (__finite): Likewise.
38782 (__finitef): Likewise.
38783 (__ieee754_sqrt): Define as macro.
38784 (__ieee754_sqrtf): Define as macro.
38785 (__ieee754_sqrtl): Define as macro.
38786 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38788 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38789 __FINITE_MATH_ONLY__ consistent.
38790 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38792 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38794 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38797 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38799 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38801 * po/ja.po: Update from translation team.
38803 2011-10-08 Roland McGrath <roland@hack.frob.com>
38805 * locale/programs/locarchive.c (prepare_address_space): New function.
38806 (create_archive, enlarge_archive, open_archive): Use it.
38808 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38809 inside [SHARED], where it is used.
38811 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38813 * nss/getent.c (netgroup_keys): Remove unused variable.
38814 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38816 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38818 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38819 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38820 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38821 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38822 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38823 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38824 * math/Makefile (libm-calls): Add s_isinf_ns.
38825 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38826 * math/multc3.c: Likewise.
38827 * math/s_casin.c: Likewise.
38828 * math/s_casinf.c: Likewise.
38829 * math/s_casinl.c: Likewise.
38830 * math/s_ccos.c: Likewise.
38831 * math/s_ccosf.c: Likewise.
38832 * math/s_ccosl.c: Likewise.
38833 * math/s_ctan.c: Likewise.
38834 * math/s_ctanf.c: Likewise.
38835 * math/s_ctanh.c: Likewise.
38836 * math/s_ctanhf.c: Likewise.
38837 * math/s_ctanhl.c: Likewise.
38838 * math/s_ctanl.c: Likewise.
38839 * math/w_fmod.c: Likewise.
38840 * math/w_fmodf.c: Likewise.
38841 * math/w_fmodl.c: Likewise.
38842 * math/w_remainder.c: Likewise.
38843 * math/w_remainderf.c: Likewise.
38844 * math/w_remainderl.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38846 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38847 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38848 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38849 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38850 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38851 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38852 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38854 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38856 * stdio-common/printf_fphex.c: Likewise.
38857 * stdio-common/printf_size.c: Likewise.
38859 * math/e_exp10.c: Include math_private.h using <...> not "...".
38860 * math/e_exp10f.c: Likewise.
38861 * math/e_exp10l.c: Likewise.
38862 * math/e_exp2l.c: Likewise.
38863 * math/e_j0l.c: Likewise.
38864 * math/e_j1l.c: Likewise.
38865 * math/e_jnl.c: Likewise.
38866 * math/e_lgammal_r.c: Likewise.
38867 * math/e_rem_pio2l.c: Likewise.
38868 * math/e_scalb.c: Likewise.
38869 * math/e_scalbf.c: Likewise.
38870 * math/e_scalbl.c: Likewise.
38871 * math/k_cosl.c: Likewise.
38872 * math/k_sinl.c: Likewise.
38873 * math/k_tanl.c: Likewise.
38874 * math/s_cacoshf.c: Likewise.
38875 * math/s_catan.c: Likewise.
38876 * math/s_catanf.c: Likewise.
38877 * math/s_catanh.c: Likewise.
38878 * math/s_catanhf.c: Likewise.
38879 * math/s_catanhl.c: Likewise.
38880 * math/s_catanl.c: Likewise.
38881 * math/s_ccosh.c: Likewise.
38882 * math/s_ccoshf.c: Likewise.
38883 * math/s_ccoshl.c: Likewise.
38884 * math/s_cexp.c: Likewise.
38885 * math/s_cexpf.c: Likewise.
38886 * math/s_cexpl.c: Likewise.
38887 * math/s_clog.c: Likewise.
38888 * math/s_clog10.c: Likewise.
38889 * math/s_clog10f.c: Likewise.
38890 * math/s_clog10l.c: Likewise.
38891 * math/s_clogf.c: Likewise.
38892 * math/s_clogl.c: Likewise.
38893 * math/s_csin.c: Likewise.
38894 * math/s_csinf.c: Likewise.
38895 * math/s_csinh.c: Likewise.
38896 * math/s_csinhf.c: Likewise.
38897 * math/s_csinhl.c: Likewise.
38898 * math/s_csinl.c: Likewise.
38899 * math/s_csqrt.c: Likewise.
38900 * math/s_csqrtf.c: Likewise.
38901 * math/s_csqrtl.c: Likewise.
38902 * math/s_ctan.c: Likewise.
38903 * math/s_ctanf.c: Likewise.
38904 * math/s_ctanh.c: Likewise.
38905 * math/s_ctanhf.c: Likewise.
38906 * math/s_ctanhl.c: Likewise.
38907 * math/s_ctanl.c: Likewise.
38908 * math/s_ldexp.c: Likewise.
38909 * math/s_ldexpf.c: Likewise.
38910 * math/s_ldexpl.c: Likewise.
38911 * math/s_significand.c: Likewise.
38912 * math/s_significandf.c: Likewise.
38913 * math/s_significandl.c: Likewise.
38914 * math/w_acos.c: Likewise.
38915 * math/w_acosf.c: Likewise.
38916 * math/w_acosh.c: Likewise.
38917 * math/w_acoshf.c: Likewise.
38918 * math/w_acoshl.c: Likewise.
38919 * math/w_acosl.c: Likewise.
38920 * math/w_asin.c: Likewise.
38921 * math/w_asinf.c: Likewise.
38922 * math/w_asinl.c: Likewise.
38923 * math/w_atan2.c: Likewise.
38924 * math/w_atan2f.c: Likewise.
38925 * math/w_atan2l.c: Likewise.
38926 * math/w_atanh.c: Likewise.
38927 * math/w_atanhf.c: Likewise.
38928 * math/w_atanhl.c: Likewise.
38929 * math/w_cosh.c: Likewise.
38930 * math/w_coshf.c: Likewise.
38931 * math/w_coshl.c: Likewise.
38932 * math/w_dremf.c: Likewise.
38933 * math/w_exp10.c: Likewise.
38934 * math/w_exp10f.c: Likewise.
38935 * math/w_exp10l.c: Likewise.
38936 * math/w_exp2.c: Likewise.
38937 * math/w_exp2f.c: Likewise.
38938 * math/w_fmod.c: Likewise.
38939 * math/w_fmodf.c: Likewise.
38940 * math/w_fmodl.c: Likewise.
38941 * math/w_hypot.c: Likewise.
38942 * math/w_hypotf.c: Likewise.
38943 * math/w_hypotl.c: Likewise.
38944 * math/w_j0.c: Likewise.
38945 * math/w_j0f.c: Likewise.
38946 * math/w_j0l.c: Likewise.
38947 * math/w_j1.c: Likewise.
38948 * math/w_j1f.c: Likewise.
38949 * math/w_j1l.c: Likewise.
38950 * math/w_jn.c: Likewise.
38951 * math/w_jnf.c: Likewise.
38952 * math/w_jnl.c: Likewise.
38953 * math/w_lgamma.c: Likewise.
38954 * math/w_lgamma_r.c: Likewise.
38955 * math/w_lgammaf.c: Likewise.
38956 * math/w_lgammaf_r.c: Likewise.
38957 * math/w_lgammal.c: Likewise.
38958 * math/w_lgammal_r.c: Likewise.
38959 * math/w_log.c: Likewise.
38960 * math/w_log10.c: Likewise.
38961 * math/w_log10f.c: Likewise.
38962 * math/w_log10l.c: Likewise.
38963 * math/w_log2.c: Likewise.
38964 * math/w_log2f.c: Likewise.
38965 * math/w_log2l.c: Likewise.
38966 * math/w_logf.c: Likewise.
38967 * math/w_logl.c: Likewise.
38968 * math/w_pow.c: Likewise.
38969 * math/w_powf.c: Likewise.
38970 * math/w_powl.c: Likewise.
38971 * math/w_remainder.c: Likewise.
38972 * math/w_remainderf.c: Likewise.
38973 * math/w_remainderl.c: Likewise.
38974 * math/w_scalb.c: Likewise.
38975 * math/w_scalbf.c: Likewise.
38976 * math/w_scalbl.c: Likewise.
38977 * math/w_sinh.c: Likewise.
38978 * math/w_sinhf.c: Likewise.
38979 * math/w_sinhl.c: Likewise.
38980 * math/w_sqrt.c: Likewise.
38981 * math/w_sqrtf.c: Likewise.
38982 * math/w_sqrtl.c: Likewise.
38983 * math/w_tgamma.c: Likewise.
38984 * math/w_tgammaf.c: Likewise.
38985 * math/w_tgammal.c: Likewise.
38987 * po/ja.po: Update from translation team.
38989 2011-09-29 Andreas Jaeger <aj@suse.de>
38992 * sunrpc/netname.c (netname2host): Fix logic.
38996 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38998 * math/w_remainder.c (__remainder): Likewise.
38999 * math/w_remainderf.c (__remainderf): Likewise.
39000 * math/libm-test.inc (remainder_test): Add test cases.
39002 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39004 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39007 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39009 * string/test-memcmp.c: Avoid unncessary #defines.
39010 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39012 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39014 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39015 Use new sse2 version for core i3 - i7 as it's faster
39016 than sse42 version.
39017 (bit_Prefer_PMINUB_for_stringop): New.
39018 * sysdeps/x86_64/rawmemchr.S: Update.
39019 Replace with faster SSE2 version.
39020 * sysdeps/x86_64/memrchr.S: New file.
39021 * sysdeps/x86_64/memchr.S: Update.
39022 Replace with faster SSE2 version.
39024 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39026 * elf/dl-load.c (lose): Add cast to avoid warning.
39028 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39030 * po/ca.po: Update from translation team.
39032 * inet/getnetgrent_r.c: Hook up nscd.
39033 * nscd/Makefile (routines): Add nscd_netgroup.
39034 (nscd-modules): Add netgroupcache.
39035 (CFLAGS-netgroupcache.c): Define.
39036 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39037 (cache_search): Add const to second parameter.
39038 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39040 (dbs): Add netgrdb entry.
39041 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39042 (verify_persistent_db): Handle netgrdb.
39043 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39044 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39046 (netgroup_response_header): Define.
39047 (innetgroup_response_header): Define.
39048 (datahead): Add netgroup_response_header and innetgroup_response_header
39050 * nscd/nscd.conf: Add entries for netgroup cache.
39051 * nscd/nscd.h (dbtype): Add netgrdb.
39052 (_PATH_NSCD_NETGROUP_DB): Define.
39053 (netgroup_iov_disabled): Declare.
39054 (xmalloc, xcalloc, xrealloc): Move declarations here.
39055 (cache_search): Adjust prototype.
39056 Add netgroup-related prototypes.
39057 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39058 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39059 (__nscd_innetgr): Declare.
39060 * nscd/selinux.c (perms): Use access_vector_t as element type and
39061 add netgroup-related initializers.
39062 * nscd/netgroupcache.c: New file.
39063 * nscd/nscd_netgroup.c: New file.
39064 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39065 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39066 For four parameters use innetgr.
39067 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39068 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39069 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39070 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39072 * nscd/connections.c (register_traced_file): Don't register file
39073 for disabled databases.
39075 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39077 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39079 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39080 from tree and freeing node.
39082 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39084 * nss/nsswitch.c (__nss_database_lookup): Handle
39085 nss_parse_service_list out of memory case.
39087 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39089 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39090 out of memory case.
39092 2011-10-04 Andreas Schwab <schwab@redhat.com>
39094 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39095 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39097 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39098 elf_machine_rela, elf_machine_lazy_rel.
39099 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39100 (ELF_DYNAMIC_DO_REL): Likewise.
39101 (ELF_DYNAMIC_DO_RELA): Likewise.
39102 (ELF_DYNAMIC_RELOCATE): Likewise.
39103 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39104 to ELF_DYNAMIC_DO_REL.
39105 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39106 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39107 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39109 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39110 skip_ifunc, don't call ifunc function if non-zero.
39111 (elf_machine_rela): Likewise.
39112 (elf_machine_lazy_rel): Likewise.
39113 (elf_machine_lazy_rela): Likewise.
39114 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39115 (elf_machine_lazy_rel): Likewise.
39116 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39118 (elf_machine_lazy_rel): Likewise.
39119 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39121 (elf_machine_lazy_rel): Likewise.
39122 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39123 (elf_machine_lazy_rel): Likewise.
39124 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39125 (elf_machine_lazy_rel): Likewise.
39126 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39127 (elf_machine_lazy_rel): Likewise.
39128 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39129 (elf_machine_lazy_rel): Likewise.
39130 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39131 (elf_machine_lazy_rel): Likewise.
39132 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39133 (elf_machine_lazy_rel): Likewise.
39135 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39137 * nss/nss_files/files-init.c (_nss_files_init): Use static
39138 initialization for all the *_traced_file variables.
39140 2011-09-28 Andreas Schwab <schwab@redhat.com>
39142 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39144 2011-09-27 Roland McGrath <roland@hack.frob.com>
39147 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39149 2011-09-27 Andreas Schwab <schwab@redhat.com>
39151 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39152 Reread the line before reparsing it.
39154 2011-09-26 Andreas Schwab <schwab@redhat.com>
39156 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39158 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39159 Maxim Kuvyrkov <maxim@codesourcery.com>
39160 Joseph Myers <joseph@codesourcery.com>
39162 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39163 if needed for __stack_chk_guard.
39165 2011-09-19 Roland McGrath <roland@hack.frob.com>
39167 * sysdeps/posix/spawni.c (script_execute): Always define it.
39168 It will be optimized away if unused.
39169 (maybe_script_execute): New function.
39170 (__spawni): Call it.
39172 * Makerules: Don't include tls.make.
39173 (config-tls): Always set to thread.
39174 * tls.make.c: File removed.
39176 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39178 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39179 * config.make.in (CPPFLAGS-config): New substituted variable.
39181 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39183 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39186 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39187 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39189 2011-09-15 Roland McGrath <roland@hack.frob.com>
39191 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39192 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39193 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39194 (CALL_FAIL): Likewise.
39195 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39196 (CALL_FAIL): Macro removed.
39197 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39199 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39201 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39202 for __FINITE_MATH_ONLY__ == 1.
39204 2011-09-15 Andreas Schwab <schwab@redhat.com>
39206 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39207 __ieee754_sqrt instead of sqrt.
39208 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39209 __ieee754_sqrtf instead of sqrtf.
39210 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39211 __floorf instead of floorf.
39212 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39213 __floorf, __truncf instead of floorf, truncf.
39215 2011-09-14 Ulrich Drepper <drepper@gmail.com>
39217 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39219 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39220 __extern_always_inline.
39221 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39224 2011-09-14 Andreas Schwab <schwab@redhat.com>
39226 * elf/rtld.c (dl_main): Also relocate in dependency order when
39227 doing symbol dependency testing.
39229 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39231 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39232 Always define `refsym'.
39234 2011-09-13 Andreas Schwab <schwab@redhat.com>
39236 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39237 (__FD_ELT): Renamed from __FDELT.
39238 * misc/bits/select2.h (__FD_ELT): Likewise.
39239 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39240 __FD_MASK instead of __FDELT, __FDMASK.
39241 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39243 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39246 * elf/Makefile (gen-ldd): Fix pattern.
39248 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39249 (init_tls): Likewise.
39251 2011-09-12 Ulrich Drepper <drepper@gmail.com>
39253 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39255 2011-09-12 Andreas Schwab <schwab@redhat.com>
39257 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39258 `struct cmsghdr *' instead of `void *'.
39259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39262 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39264 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39266 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39267 ldd_rewrite_script.
39269 2011-09-11 Ulrich Drepper <drepper@gmail.com>
39271 * configure.in: Remove --with-tls option.
39272 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39273 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39274 out in case it is missing.
39275 * sysdeps/ia64/elf/configure.in: Likewise.
39276 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39277 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39278 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39279 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39280 * sysdeps/sh/elf/configure.in: Likewise.
39281 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39282 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39283 * sysdeps/x86_64/elf/configure.in: Likewise.
39284 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39285 * sysdeps/mach/hurd/tls.h: Likewise.
39288 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39291 * configure.in: Fix use of AC_INIT.
39293 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39295 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39297 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39299 * malloc/hooks.c: Likewise.
39302 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39303 variables statically.
39304 (narenas): Initialize.
39305 (list_lock): Initialize.
39306 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39307 initializtion of main_arena and list_lock. Small cleanups.
39308 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39309 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39310 Add initializers to main_arena and mp_.
39311 (malloc_state): Remove pagesize member. Change all users to use
39314 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39315 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39316 is always initialized.
39318 * malloc/malloc.c: Removed unused configurations and dead code.
39319 * malloc/arena.c: Likewise.
39320 * malloc/hooks.c: Likewise.
39321 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39323 * include/tls.h: Removed. USE___THREAD must always be defined.
39324 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39325 * elf/dl-libc.c: Likewise.
39326 * elf/dl-tsd.c: Likewise.
39327 * include/errno.h: Likewise.
39328 * include/netdb.h: Likewise.
39329 * include/resolv.h: Likewise.
39330 * inet/herrno-loc.c: Likewise.
39331 * inet/herrno.c: Likewise.
39332 * malloc/arena.c: Likewise.
39333 * malloc/hooks.c: Likewise.
39334 * malloc/malloc.c: Likewise.
39335 * resolv/res-state.c: Likewise.
39336 * resolv/res_libc.c: Likewise.
39337 * sysdeps/i386/dl-machine.h: Likewise.
39338 * sysdeps/ia64/dl-machine.h: Likewise.
39339 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39340 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39341 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39342 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39343 * sysdeps/sh/dl-machine.h: Likewise.
39344 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39345 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39346 * sysdeps/unix/i386/sysdep.S: Likewise.
39347 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39348 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39349 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39350 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39351 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39352 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39353 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39354 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39355 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39356 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39357 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39358 * sysdeps/x86_64/dl-machine.h: Likewise.
39359 * tls.make.c: Likewise.
39361 * configure.in: Remove --with-__thread option. Make tests for
39362 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39363 tls_model attribute fail if no support is available. Remove
39365 * Makeconfig: Adjust for dropped configure option. All features are
39367 * Makerules: Likewise.
39368 * Versions.def: Likewise.
39369 * argp/argp-fmtstream.c: Likewise.
39370 * argp/argp-fmtstream.h: Likewise.
39371 * argp/argp-help.c: Likewise.
39372 * assert/assert.c: Likewise.
39373 * config.h.in: Likewise.
39374 * config.make.in: Likewise.
39375 * configure: Likewise.
39376 * configure.in: Likewise.
39377 * csu/Versions: Likewise.
39378 * csu/init.c: Likewise.
39379 * elf/tst-audit2.c: Likewise.
39380 * elf/tst-tls10.c: Likewise.
39381 * elf/tst-tls10.h: Likewise.
39382 * elf/tst-tls11.c: Likewise.
39383 * elf/tst-tls12.c: Likewise.
39384 * elf/tst-tls14.c: Likewise.
39385 * elf/tst-tlsmod11.c: Likewise.
39386 * elf/tst-tlsmod12.c: Likewise.
39387 * elf/tst-tlsmod13.c: Likewise.
39388 * elf/tst-tlsmod13a.c: Likewise.
39389 * elf/tst-tlsmod14a.c: Likewise.
39390 * elf/tst-tlsmod15b.c: Likewise.
39391 * elf/tst-tlsmod16a.c: Likewise.
39392 * elf/tst-tlsmod16b.c: Likewise.
39393 * elf/tst-tlsmod7.c: Likewise.
39394 * elf/tst-tlsmod8.c: Likewise.
39395 * elf/tst-tlsmod9.c: Likewise.
39396 * gmon/gmon.c: Likewise.
39397 * grp/fgetgrent_r.c: Likewise.
39398 * grp/putgrent.c: Likewise.
39399 * hurd/fopenport.c: Likewise.
39400 * include/libc-symbols.h: Likewise.
39401 * include/tls.h: Likewise.
39402 * intl/gettextP.h: Likewise.
39403 * intl/loadinfo.h: Likewise.
39404 * locale/global-locale.c: Likewise.
39405 * locale/localeinfo.h: Likewise.
39406 * mach/devstream.c: Likewise.
39407 * malloc/arena.c: Likewise.
39408 * malloc/set-freeres.c: Likewise.
39409 * misc/err.c: Likewise.
39410 * misc/getttyent.c: Likewise.
39411 * misc/mntent_r.c: Likewise.
39412 * posix/getopt.c: Likewise.
39413 * posix/wordexp.c: Likewise.
39414 * pwd/fgetpwent_r.c: Likewise.
39415 * resolv/Versions: Likewise.
39416 * resolv/res_hconf.c: Likewise.
39417 * shadow/fgetspent_r.c: Likewise.
39418 * shadow/putspent.c: Likewise.
39419 * stdio-common/printf_fphex.c: Likewise.
39420 * stdio-common/tmpfile.c: Likewise.
39421 * stdlib/abort.c: Likewise.
39422 * stdlib/fmtmsg.c: Likewise.
39423 * sunrpc/auth_unix.c: Likewise.
39424 * sunrpc/clnt_perr.c: Likewise.
39425 * sunrpc/clnt_tcp.c: Likewise.
39426 * sunrpc/clnt_udp.c: Likewise.
39427 * sunrpc/clnt_unix.c: Likewise.
39428 * sunrpc/openchild.c: Likewise.
39429 * sunrpc/svc_simple.c: Likewise.
39430 * sunrpc/svc_tcp.c: Likewise.
39431 * sunrpc/svc_udp.c: Likewise.
39432 * sunrpc/svc_unix.c: Likewise.
39433 * sunrpc/xdr.c: Likewise.
39434 * sunrpc/xdr_array.c: Likewise.
39435 * sunrpc/xdr_rec.c: Likewise.
39436 * sunrpc/xdr_ref.c: Likewise.
39437 * sunrpc/xdr_stdio.c: Likewise.
39439 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39441 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39443 2011-07-03 Andreas Jaeger <aj@suse.de>
39445 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39446 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39447 regenerate with gen-libm-tests.pl.
39449 2010-05-12 Petr Baudis <pasky@suse.cz>
39452 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39453 around j0() zero points by switching to j1().
39454 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39455 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39456 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39457 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39459 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39461 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39463 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39465 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39466 Patch in part by Pavel Roskin <proski@gnu.org>.
39469 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39471 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39472 Free memory block if necessary.
39475 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39476 be NULL. Don't lock in this case.
39478 2011-09-09 Roland McGrath <roland@hack.frob.com>
39480 * elf/elf.h (ELFOSABI_GNU): New macro.
39481 (ELFOSABI_LINUX): Define to that.
39483 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39485 * string/strncat.c (strncat): Undef the symbol in case it has been
39486 defined in bits/string.h.
39488 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39490 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39492 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39495 2011-08-17 Andreas Jaeger <aj@suse.de>
39497 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39499 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39500 Ian Lance Taylor <iant@google.com>
39502 * math/libm-test.inc (lround_test): New testcase.
39503 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39505 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39507 * Makefile: Remove support for automatic cvs check-ins.
39508 * Makerules: Likewise.
39509 * config.make.in: Likewise.
39510 * configure.in: Likewise.
39511 * intl/Makefile: Likewise.
39512 * locale/Makefile: Likewise.
39513 * po/Makefile: Likewise.
39514 * posix/Makefile: Likewise.
39515 * sysdeps/gnu/Makefile: Likewise.
39516 * sysdeps/mach/hurd/Makefile: Likewise.
39517 * sysdeps/sparc/sparc32/Makefile: Likewise.
39520 * posix/Makefile (bug-regex32-ENV): Define.
39521 Patch by John Stanley <jpsinthemix@verizon.net>.
39523 * misc/Makefile (headers): Add bits/select2.h.
39524 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39525 * misc/bits/select2.h: New file.
39526 * include/bits/select2.h: New file.
39527 * debug/Makefile (routines): Add fdelt_chk.
39528 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39529 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39531 * debug/fdelt_chk.c: New file.
39533 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39534 * wcsmbs/test-wmemcmp.c: Likewise.
39535 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39536 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39538 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39540 * string/Makefile (strop-tests): Add memcmp.
39541 * string/test-wmemcmp.c: New file.
39542 * string/test-memcmp.c: Add wmemcmp support.
39544 2011-09-08 Roland McGrath <roland@hack.frob.com>
39547 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39550 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39551 garbage value in a __mach_port_mod_refs call in the cases of the
39552 task-self and thread-self ports.
39554 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39556 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39558 2011-09-08 Andreas Schwab <schwab@redhat.com>
39560 * elf/dl-load.c (lose): Check for non-null L.
39562 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39564 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39566 * elf/dl-libc.c (dlerror_run): Pass back error code from
39570 * elf/dl-load.c (lose): Free l_origin if it is valid.
39572 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39574 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39575 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39576 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39577 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39578 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39579 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39581 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39583 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39584 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39585 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39586 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39587 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39588 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39589 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39590 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39591 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39592 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39594 2011-08-15 Alan Modra <amodra@gmail.com>
39597 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39598 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39599 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39600 ppc_mcount to static-only-routines.
39601 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39603 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39604 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39606 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39608 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39609 for finite and infinity parameters.
39611 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39613 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39614 and add nop instructions for throughput optimization.
39615 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39617 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39619 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39620 aligned copy for power7 with vector-scalar instructions.
39621 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39623 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39625 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39628 2011-09-07 Andreas Schwab <schwab@redhat.com>
39631 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39634 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39636 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39637 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39638 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39639 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39642 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39644 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39645 Forgot to demangle the pointer.
39647 * sysdeps/i386/sysdep.h: Define atom_text_section.
39648 * sysdeps/x86_64/sysdep.h: Likewise.
39649 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39650 section with atom_text_section.
39651 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39652 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39653 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39654 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39655 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39657 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39658 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39659 already be defined. Change to take two parameters and don't assign
39660 result to variable. Adjust all users.
39661 Define INTERNAL_GETTIME if not already defined.
39662 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39665 HAVE_CLOCK_GETTIME_VSYSCALL.
39666 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39668 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39669 gettimeofday vsyscall, just use time.
39671 2011-09-06 Andreas Schwab <schwab@redhat.com>
39673 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39676 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39678 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39680 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39682 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39683 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39684 syscall if possible.
39686 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39688 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39689 e_ident. Don't pass to find_mapsXX.
39690 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39692 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39695 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39696 * sysdeps/x86_64/multiarch/strchr.S: Update.
39697 Check bit_slow_BSF bit.
39698 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39699 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39700 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39702 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39705 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39707 (tryshell): Define.
39708 (__spawni): Change last parameter to be flag. Test
39709 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39710 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39711 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39712 * posix/spawni.c: Likewise.
39713 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39714 * posix/spawnp.c: Likewise. Change normal version to use
39715 SPAWN_XFLAGS_USE_PATH.
39716 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39717 SPAWN_XFLAGS_TRY_SHELL.
39720 * posix/glob.h: Remove gcc 1.x support.
39723 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39725 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39728 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39730 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39731 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39732 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39733 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39734 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39735 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39737 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39739 * sysdeps/x86_64/wcscmp.S: New file.
39741 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39742 wcscmp-c wcscmp-sse2
39743 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39744 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39745 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39746 * wcsmbs/wcscmp.c: Allow renaming.
39748 2011-09-05 David S. Miller <davem@davemloft.net>
39750 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39751 stack slot, rather than the struct return pointer slot.
39752 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39753 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39755 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39757 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39759 * po/ja.po: Update from translation team.
39762 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39763 kernel in 64-bit binaries.
39765 2011-09-01 David S. Miller <davem@davemloft.net>
39767 * elf/elf.h (HWCAP_SPARC_*): Move to..
39768 * sysdeps/sparc/sysdep.h: this new file and add new values.
39769 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39770 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39771 _DL_HWCAP_COUNT to 24.
39772 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39774 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39775 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39776 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39778 instead of magic constants.
39779 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39781 2011-08-31 David S. Miller <davem@davemloft.net>
39783 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39784 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39785 Reimplement to do errno handling inline.
39786 (SYSCALL_ERROR_HANDLER): New macro.
39787 (__SYSCALL_STRING): Do not do errno handling in asm.
39788 (__CLONE_SYSCALL_STRING): Delete.
39789 (__INTERNAL_SYSCALL_STRING): Delete.
39790 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39791 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39792 (PSEUDO): Reimplement to do errno handling inline.
39793 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39794 (SYSCALL_ERROR_HANDLER): New macro.
39795 (__SYSCALL_STRING): Do not do errno handling in asm.
39796 (__CLONE_SYSCALL_STRING): Delete.
39797 (__INTERNAL_SYSCALL_STRING): Delete.
39798 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39799 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39801 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39802 (inline_syscall*): Add 'err' argument.
39803 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39804 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39805 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39806 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39808 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39809 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39811 2011-08-30 Andreas Schwab <schwab@redhat.com>
39813 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39815 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39817 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39820 2011-08-24 David S. Miller <davem@davemloft.net>
39822 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39824 2011-08-24 Andreas Schwab <schwab@redhat.com>
39826 * elf/Makefile: Add rules to build and run unload8 test.
39827 * elf/unload8.c: New file.
39828 * elf/unload8mod1.c: New file.
39829 * elf/unload8mod1x.c: New file.
39830 * elf/unload8mod2.c: New file.
39831 * elf/unload8mod3.c: New file.
39833 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39836 2011-08-23 David S. Miller <davem@davemloft.net>
39838 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39839 subtract stack bias.
39840 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39841 %sp not %fp in calculations.
39842 (_JMPBUF_UNWINDS_ADJ): Likewise.
39844 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39845 (aio_suspend): Call it to force an exception region around the
39846 AIO_MISC_WAIT() invocation.
39848 2011-08-23 Andreas Schwab <schwab@redhat.com>
39850 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39853 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39855 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39857 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39858 and <dl-machine.h>.
39859 (Elf64_FuncDesc): Remove.
39861 2011-08-22 David S. Miller <davem@davemloft.net>
39863 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39864 sigaltstack check, add missing cfi directives.
39865 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39866 missing cfi directives, and sigaltstack handling.
39868 2011-08-16 Andreas Schwab <schwab@redhat.com>
39871 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39872 object is seen twice.
39873 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39875 * elf/Makefile (distribute): Add tst-initorder2.c.
39876 (tests): Add tst-initorder2.
39877 (modules-names): Add tst-initorder2a tst-initorder2b
39878 tst-initorder2c tst-initorder2d. Add rules to build them.
39879 ($(objpfx)tst-initorder2.out): New rule.
39880 * elf/tst-initorder2.c: New file.
39881 * elf/tst-initorder2.exp: New file.
39883 2011-08-22 Andreas Schwab <schwab@redhat.com>
39885 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39887 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39888 dependencies back to end of function.
39890 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39891 $(elfobjdir)/ld.so.
39893 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39895 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39896 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39897 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39898 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39899 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39900 of __vdso_gettimeofday.
39901 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39902 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39904 (_libc_vdso_platform_setup): Remove initialization of
39905 __vdso_gettimeofday and __vdso_time.
39907 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39909 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39910 and fgetc_unlocked.
39911 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39914 * elf/dl-open.c (add_to_global): Report additions to the global scope
39915 for LD_DEBUG=scopes.
39916 (dl_open_worker): Also print scope of newly loaded dependencies.
39917 (_dl_show_scope): Indicate if there is no scope.
39920 * stdio-common/Makefile (tests): Add bug24.
39921 * stdio-common/bug24.c: New file.
39923 2011-08-19 Andreas Jaeger <aj@suse.de>
39926 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39927 non-existant file when using close-on-exec mode.
39929 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39932 the very first instruction.
39934 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39935 the CFI state in the end.
39936 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39937 inclusion of dl-trampoline.h.
39938 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39940 2011-08-19 Andreas Schwab <schwab@redhat.com>
39942 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39943 expectations for long double.
39945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39946 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39948 2011-08-14 David S. Miller <davem@davemloft.net>
39950 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39951 artificual limit depends upon the system page size.
39953 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39955 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39956 * resolv/Makefile: Define CFLAGS-libresolv.
39958 2011-08-17 Andreas Schwab <schwab@redhat.com>
39960 * nss/makedb.c (compute_tables): Make variables used in nested
39963 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39965 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39966 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39967 if buffer was too small.
39969 * elf/pldd.c (main): Attach to all threads in the process.
39970 Rewrite /proc handling to use *at functions.
39972 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39974 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39975 specifies first scope to show.
39976 (dl_open_worker): Update callers. Move printing scope of new
39977 object to before the relocation.
39978 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39979 * sysdeps/generic/ldsodefs.h: Update declaration.
39981 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39982 string for the scope number.
39984 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39986 * nscd/servicescache.c (cache_addserv): Make sure written is always
39989 2011-08-14 Roland McGrath <roland@hack.frob.com>
39991 * sysdeps/i386/i486/bits/atomic.h
39992 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39993 statement expression, so as to suppress "set but not used" warning.
39994 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39996 * string/strncat.c (STRNCAT): Use prototype definition.
39998 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39999 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40001 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40002 (localedef-modules): Add localedef.
40003 (locale-modules): Add locale.
40005 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40006 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40007 to avoid a warning.
40009 2011-08-14 David S. Miller <davem@davemloft.net>
40011 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40012 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40014 2011-08-13 Ulrich Drepper <drepper@gmail.com>
40016 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40017 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40018 * elf/rtld.c (dl_main): Set l_name of vDSO.
40019 Call _dl_show_scope when DL_DEBUG_SCOPES.
40020 (process_dl_debug): Recognize scopes flag and also set it for all.
40021 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40022 Declare _dl_show_scope.
40024 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40025 (do_dlopen): Pass caller_dlopen to dl_open.
40026 (__libc_dlopen_mode): Initialize caller_dlopen.
40028 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40029 of libc. Make tolower call locale-independent. Optimize a bit by
40030 using isdigit instead of isalnum.
40031 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40033 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40035 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40036 was a dependency or dynamically loaded.
40038 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40040 * intl/l10nflist.c: Allow architecture-specific pop function.
40041 * sysdeps/x86_64/l10nflist.c: New file.
40043 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40046 2011-08-10 Andreas Schwab <schwab@redhat.com>
40048 * include/dirent.h: Add libc_hidden_proto for scandirat and
40049 scandirat64. Don't declare __scandirat64.
40050 * dirent/scandirat.c: Add libc_hidden_def.
40051 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40052 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40054 2011-08-10 David S. Miller <davem@davemloft.net>
40056 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40058 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40059 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40060 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40062 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40064 * Versions.def [libc]: Add GLIBC_2.15.
40065 * dirent/Makefile (routines): Add scandirat and scandirat64.
40066 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40068 * dirent/dirent.h: Declare scandirat and scandirat64.
40069 * dirent/scandirat.c: New file.
40070 * dirent/scandirat64.c: New file.
40071 * sysdeps/wordsize-64/scandirat.c: New file.
40072 * sysdeps/wordsize-64/scandirat64.c: New file.
40073 * dirent/opendir.c: Define opendirat.
40074 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40076 * dirent/scandir64.c: Adjust for scandir.c change.
40077 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40078 __scandirat64, and __scandir_cancel_handler.
40079 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40080 additional parameter and use openat instead of open (outside of ld.so).
40081 Add new __opendir as wrapper around __opendirat.
40082 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40083 here without requiring old scandirat implementation.
40085 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40087 * dirent/scandir.c (cancel_handler): Renamed to
40088 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40089 defined. Adjust users.
40090 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40091 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40093 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40095 * string/test-string.h (IMPL): Use __STRING to expand name and then
40098 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40101 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40103 * string/Makefile: Update.
40104 (strop-tests): Append strncat.
40105 * string/test-wcscmp.c: New file.
40106 New comprehensive test for wcscmp.
40107 * string/test-strcmp.c: Update.
40108 (WIDE): New define.
40110 2011-07-22 Andreas Schwab <schwab@redhat.com>
40112 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40115 2011-07-26 Andreas Schwab <schwab@redhat.com>
40117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40118 encoding to ACE if AI_IDN.
40120 2011-08-01 Jakub Jelinek <jakub@redhat.com>
40122 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40123 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40125 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40127 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40128 Fix overflow bug in strncat.
40129 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40131 * string/test-strncat.c: Update.
40132 Add new tests for checking overflow bugs.
40134 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40137 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40138 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40139 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40140 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40141 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40142 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40143 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40144 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40146 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40147 (USE_AS_STRCAT): Define.
40148 Add strcat and strncat support.
40149 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40151 2011-07-25 Andreas Schwab <schwab@redhat.com>
40153 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40154 __n bigger than INT_MAX+1.
40155 (__strncmp_g): Likewise.
40157 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40159 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40160 * libio/stido.h: Likewise.
40162 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40164 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40167 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40168 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40169 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40170 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40171 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40174 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40177 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40179 (_dl_x86_64_save_sse): Likewise.
40181 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40183 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40185 (_dl_x86_64_save_sse): Likewise.
40187 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40189 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40191 2011-07-21 Andreas Schwab <schwab@redhat.com>
40193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40195 (_dl_x86_64_save_sse): Use correct AVX check.
40197 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40199 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40200 bug in strncpy/strncat.
40201 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40203 2011-07-21 Ulrich Drepper <drepper@gmail.com>
40205 * string/tester.c (test_strcat): Add tests for different alignments
40206 of source and destination.
40207 (test_strncat): Likewise.
40209 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40212 * posix/glob.c (glob): Check passed in values before using them in
40213 expressions to avoid some overflows.
40214 (glob_in_dir): Likewise.
40217 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40218 check for AVX enablement so that we don't crash with old kernels and
40220 * elf/tst-audit4.c: Add same checks here.
40221 * elf/tst-audit6.c: Likewise.
40223 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40225 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40227 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40229 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40231 * po/cs.po: Update from translation team.
40232 * po/bg.po: Likewise.
40234 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40236 * misc/sys/cdefs.h: Add support for const attribute.
40237 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40238 to gnu_dev_{major,minor,makedev} functions.
40240 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40242 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40244 2011-07-20 Andreas Schwab <schwab@redhat.com>
40246 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40249 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40252 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40253 register in order to avoid conflicts with the soft frame pointer
40254 being held in r11 when necessary.
40255 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40256 (INTERNAL_VSYSCALL_NCS): Likewise.
40258 2011-07-14 Marek Polacek <mpolacek@redhat.com>
40260 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40261 * elf/dl-fini.c (_dl_fini): Adjust caller.
40262 * elf/dl-close.c (_dl_close_worker): Likewise.
40263 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40265 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40267 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40268 "aux_cache->nlibs < 0".
40270 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40271 in the reload-count case.
40273 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40276 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40277 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40278 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40279 * sysdeps/x86_64/multiarch/strcat.S: New file.
40280 * sysdeps/x86_64/multiarch/strncat.S: New file.
40281 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40282 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40283 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40284 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40285 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40286 (USE_AS_STRCAT): Define.
40287 Add strcat and strncat support.
40288 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40289 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40290 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40291 * string/strncat.c: Update.
40292 (USE_AS_STRNCAT): Define.
40293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40294 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40296 * sysdeps/x86_64/multiarch/init-arch.h
40297 (bit_Prefer_PMINUB_for_stringop): New.
40298 (index_Prefer_PMINUB_for_stringop): Likewise.
40299 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40300 bit_Prefer_PMINUB_for_stringop.
40302 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40304 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40306 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40307 of casting of buffer.
40308 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40309 buffer32 and buffer64.
40310 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40311 writes instead of casting of buffer.
40312 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40314 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40317 2011-07-19 Andreas Schwab <schwab@redhat.com>
40319 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40321 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40323 * nscd/nscd.c (termination_handler): Don't do anything for a database
40324 if it has not yet been initialized.
40326 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40328 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40330 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40332 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40334 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40336 * po/nl.po: Update from translation team.
40337 * po/sv.po: Likewise.
40339 2011-07-16 Roland McGrath <roland@hack.frob.com>
40341 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40342 now disallowed by GCC.
40344 * configure.in (use-default-link): Default to yes if a test -shared
40345 link meets our qualifications.
40346 * configure: Regenerated.
40348 * config.make.in (output-format): New variable.
40349 * configure.in: Check for ld --print-output-format support.
40350 * configure: Regenerated.
40351 * Makerules ($(common-objpfx)format.lds)
40352 [$(output-format) != unknown]: Just use $(output-format),
40353 instead of the linker-script munging.
40355 2011-07-14 Roland McGrath <roland@hack.frob.com>
40357 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40358 of $(common-objpfx)shlib.lds.
40359 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40361 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40362 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40364 * configure.in (-z relro check): Adjust test code to add a large
40365 writable data section after it.
40366 * configure: Regenerated.
40368 2011-07-11 Roland McGrath <roland@hack.frob.com>
40370 * configure.in (-z relro check): Fix test code to make the variable
40372 * configure: Regenerated.
40374 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40376 * nscd/nscd.h (struct traced_file): Define.
40377 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40378 elements. Add traced_files.
40379 (inotify_fd): Declare.
40380 (register_traced_file): Declare.
40381 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40382 (inotify_fd): Export.
40383 (resolv_conf_descr): Remove.
40384 (nscd_init): Move inotify descriptor creation to main.
40385 Don't register files for notification here.
40386 (register_traced_file): New function.
40387 (invalidate_cache): Don't use reset_res to determine whether to call
40388 res_init, go through the list of registered files.
40389 (main_loop_poll): The inotify descriptors are now stored in the
40390 structures for the traced files.
40391 (main_loop_epoll): Likewise
40392 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40393 to __nss_disable_nscd.
40394 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40395 for a database anymore. Check the records for all the registered
40397 * nss/Makefile (libnss_files-routines): Add files-init.
40398 (libnss_db-routines): Add db-init.
40399 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40400 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40401 * nss/nss_db/db-init.c: New file.
40402 * nss/nss_files/files-init.c: New file.
40403 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40404 __nss_lookup_function.
40405 (__nss_lookup_function): Call nss_load_library.
40406 (nss_load_all_libraries): New function.
40407 (__nss_disable_nscd): Take parameter with callback function for files
40408 to register. Set is_nscd. Load all the DSOs for the NSS modules
40409 used for the cached services.
40410 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40411 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40412 options for features to all the files in nscd.
40414 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40416 2011-07-10 Roland McGrath <roland@hack.frob.com>
40418 * csu/elf-init.c (__libc_csu_init): Comment typo.
40420 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40422 * po/pl.po: Update from translation team.
40423 * po/ja.po: Likewise.
40424 * po/ru.po: Likewise.
40425 * po/ko.po: Likewise.
40426 * po/fr.po: Likewise.
40428 2011-07-09 Roland McGrath <roland@hack.frob.com>
40430 * configure.in (.ctors/.dtors header and trailer check):
40431 Use an empirical test on a built program.
40432 * configure: Regenerated.
40434 * configure.in (-z relro check): Use an empirical test on a built DSO.
40435 Detect, but do not require, on ia64.
40436 * configure: Regenerated.
40438 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40439 Update tests that use readelf to use $READELF instead.
40440 * configure: Regenerated.
40442 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40444 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40445 if the result is not used.
40447 2011-07-05 Andreas Jaeger <aj@suse.de>
40450 * stdlib/tst-strtod.c: Add testcase.
40452 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40454 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40455 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40456 The latter has a higher limit. Take additional parameter to pass to
40458 (__pathconf): Pass file to __statfs_link_max.
40459 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40461 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40465 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40466 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40468 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40469 (__statfs_filesize_max): Likewise.
40470 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40472 2011-07-05 Andreas Jaeger <aj@suse.de>
40474 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40476 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40478 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40480 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40483 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40485 * Makefile (strop-tests): Add strncat.
40486 * string/test-strncat.c: New file.
40488 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40490 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40492 2011-06-21 Andreas Jaeger <aj@suse.de>
40494 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40495 Copy rule from iconvdata/Makefile.
40497 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40500 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40501 but no long options are defined, just return 'W'.
40503 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40506 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40508 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40510 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40512 (innetgr): Likewise.
40514 2011-07-05 Roland McGrath <roland@hack.frob.com>
40516 * config.make.in (install_root): Default to $(DESTDIR).
40518 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40520 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40522 2011-07-02 Roland McGrath <roland@hack.frob.com>
40524 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40526 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40527 containing directory rather than embedding absolute directory names.
40529 * scripts/check-local-headers.sh: Rewritten using awk.
40530 Match by word, not by line. Print error messages for matches.
40531 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40533 * Makerules [shlib-lds-flags empty]:
40534 ($(common-objpfx)libc_pic.opts): New target.
40535 ($(common-objpfx)libc_pic.os.clean): New target.
40536 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40538 * config.make.in (OBJCOPY): New variable.
40539 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40540 * configure: Regenerated.
40542 * config.make.in (use-default-link): New variable.
40543 * configure.in (use_default_link): Grok --with-default-link to set it.
40544 * configure: Regenerated.
40545 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40546 (shlib-lds, shlib-lds-flags): Define to empty.
40548 * Makerules (shlib-lds): New variable.
40549 (shlib-lds-flags): New variable.
40550 (build-shlib, build-moduile, build-module-asneeded): Use it.
40551 ($(common-objpfx)libc.so): Use $(shlib-lds).
40552 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40553 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40555 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40556 DT_FLAGS/DT_FLAGS_1 with zero flags.
40558 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40559 linker script munging.
40561 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40563 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40565 * crypt/sha512.c (sha512_process_block): Perform total addition using
40566 128-bit if possible.
40567 (__sha512_finish_ctx): Likewise.
40568 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40570 * crypt/sha256.c (SWAP64): Define.
40571 (sha256_process_block): Perform total addition using 64-bit if
40573 (__sha256_finish_ctx): Likewise.
40575 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40577 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40578 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40579 * nscd/hstcache.c (cache_addhst): Likewise.
40580 * nscd/grpcache.c (cache_addgr): Likewise.
40581 * nscd/aicache.c (addhstaiX): Likewise
40582 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40584 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40586 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40587 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40588 * nscd/hstcache.c (cache_addhst): Likewise.
40589 * nscd/grpcache.c (cache_addgr): Likewise.
40590 * nscd/aicache.c (addhstaiX): Likewise
40592 2011-07-01 Andreas Schwab <schwab@redhat.com>
40594 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40595 domain only when needed.
40597 2011-06-30 Andreas Schwab <schwab@redhat.com>
40599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40600 is always restored.
40602 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40604 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40605 are re-adding the entry.
40606 * nscd/servicescache.c (cache_addserv): Likewise.
40608 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40610 * sysdeps/generic/dl-irel.h: fix protection against multiple
40612 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40614 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40617 * malloc/memusage.sh: Fix quoting in message.
40618 * debug/xtrace.sh: Likewise.
40620 * configure.in: Remove support for --experimental-malloc option, make
40622 * config.make.in: Likewise.
40623 * malloc/Makefile: Likewise.
40625 2011-06-27 Andreas Schwab <schwab@redhat.com>
40627 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40628 two-byte characters.
40630 2011-06-27 Roland McGrath <roland@hack.frob.com>
40632 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40633 AC_CACHE_CHECK invocation.
40634 * configure: Regenerated.
40636 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40638 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40641 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40642 bit from old_res_options.
40644 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40646 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40647 value type for setfct.
40649 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40652 __gettimeofday instead of gettimeofday.
40654 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40656 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40658 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40660 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40662 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40665 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40668 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40669 strcpy-sse2-unaligned strncpy-sse2-unaligned
40670 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40671 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40672 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40673 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40674 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40675 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40676 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40677 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40678 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40679 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40680 (STRCPY): Support SSE2 and SSSE3 versions.
40682 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40685 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40686 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40687 kernels which artificially limit size of requests.
40689 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40692 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40693 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40694 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40695 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40696 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40697 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40698 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40699 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40700 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40701 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40702 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40703 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40704 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40705 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40707 Enable unaligned load optimization for Intel Core i3, i5 and i7
40709 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40711 (index_Fast_Unaligned_Load): Define.
40712 (HAS_FAST_UNALIGNED_LOAD): Define.
40714 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40716 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40718 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40721 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40722 until it is clear that the information is realy needed.
40723 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40725 2011-06-22 Andreas Schwab <schwab@redhat.com>
40727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40729 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40731 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40732 /sys/devices/system/cpu/online if it is usable.
40734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40735 reading the information from the /proc filesystem to once a second.
40737 2011-06-21 Andreas Jaeger <aj@suse.de>
40739 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40740 NULL after inclusion of kernel headers.
40742 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40744 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40745 calls to internal_setent.
40748 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40749 addresses using gethostbyname4_r ignore IPv4 addresses.
40751 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40752 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40754 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40756 2011-06-20 David S. Miller <davem@davemloft.net>
40758 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40760 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40762 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40763 (elf_irel): Use it.
40764 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40765 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40766 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40767 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40768 * sysdeps/x86_64/dl-irel.h: Likewise.
40770 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40771 * elf/dl-sym.c: Likewise.
40773 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40775 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40776 need to dereference resplen2.
40778 2011-06-14 Andreas Schwab <schwab@redhat.com>
40780 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40782 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40784 * Makeconfig: Define vardbdir and inst_vardbdir.
40785 * nss/Makefile: Add rules to install db-Makefile.
40787 * nss/nss_db/db-XXX.c: Cleanup.
40789 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40790 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40792 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40793 * nss/makedb.c: Implement -g option to specify that value strings
40794 are generated and should not be added to table iterated over for
40796 * nss/nss_db/db-initgroups.c: New file.
40798 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40801 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40802 (internal_getgrouplist): Adjust to name change.
40803 Update use_initgroups_entry if this is not the first call.
40804 * nss/databases.def: Add initgroups entry.
40806 * nss/makedb.c (compute_tables): Check result of multiple hash table
40807 sizes to minimize maximum chain length.
40809 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40811 * Versions.def: Add entry for libnss_db.
40812 * shlib-versions: Likewise.
40813 * nss/Makefile: Add rules to build libnss_db.
40814 * nss/Versions: Add libnss_db information. Organize libnss_files
40816 * nss/db-Makefile: Add gshadow support. Change rules for the new
40817 makedb progra. Some minor improvements to generate smaller files.
40818 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40820 * nss/makedb.c: ...here.
40821 Improve database format to be smaller and require less memory at
40823 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40825 * nss/nss_db/db-netgrp.c: Likewise.
40826 * nss/nss_db/db-open.c: Likewise.
40827 * nss/nss_files/flies-XXX.x: Adjust comments.
40828 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40829 * nss/nss_files/files-grp.c: Likewise.
40830 * nss/nss_files/files-hosts.c: Likewise.
40831 * nss/nss_files/files-network.c: Likewise.
40832 * nss/nss_files/files-proto.c: Likewise.
40833 * nss/nss_files/files-pwd.c: Likewise.
40834 * nss/nss_files/files-rpc.c: Likewise.
40835 * nss/nss_files/files-service.c: Likewise.
40836 * nss/nss_files/files-sgrp.c: Likewise.
40837 * nss/nss_files/files-spwd.c: Likewise.
40838 * nss/nss_db/db-alias.c: Removed.
40839 * nss/nss_db/dummy-db.h: Removed.
40841 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40843 * nss/makedb.c: Rewritten to not use database library.
40844 * nss/Makefile: Update to build new makedb program.
40846 2011-06-14 Andreas Jaeger <aj@suse.de>
40848 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40849 memset declaration.
40851 2011-06-10 Andreas Schwab <schwab@redhat.com>
40853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40856 2011-06-10 Roland McGrath <roland@hack.frob.com>
40858 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40859 * elf/Makefile ($(objpfx)ld.so): Likewise.
40861 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40862 Don't list ld.so twice in dependencies.
40864 * posix/bug-regex31.c: Include <stdlib.h>.
40866 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40868 * nis/nss_compat/compat-spwd.c
40869 (getspent_next_nss_netgr): Remove unused variable.
40870 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40872 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40873 nonmembers" output to use the right array.
40875 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40877 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40879 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40880 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40881 * catgets/gencat.c (read_input_file): Likewise.
40882 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40884 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40885 variable definition inside #if's controlling its use.
40887 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40889 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40891 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40893 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40896 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40898 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40899 * configure: Regenerated.
40901 * Makerules: Revert last change.
40902 * elf/Makefile: Likewise.
40904 2011-06-09 Roland McGrath <roland@hack.frob.com>
40906 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40907 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40908 (reloc-link): Likewise.
40910 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40912 * elf/Makefile: Add rules to build pldd.
40913 * elf/pldd.c: New file.
40914 * elf/pldd-xx.c: New file.
40916 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40918 * version.h: Update for 2.15 development version.
40920 2011-06-07 David S. Miller <davem@davemloft.net>
40922 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40924 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40925 elf_machine_lazy_rel): Likewise.
40926 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40927 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40928 elf_machine_lazy_rel): Likewise.
40929 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40930 dl_hwcap via passed in argument.
40931 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40934 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40936 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40938 2011-06-06 Roland McGrath <roland@hack.frob.com>
40941 * manual/fdl-1.1.texi: New file, verbatim from:
40942 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40943 * manual/lgpl-2.1.texi: New file, verbatim from:
40944 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40945 * manual/Makefile (licenses): New variable, list those new file names.
40947 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40949 * manual/fdl.texi: File removed.
40950 * manual/lesser.texi: File removed.
40951 * manual/libc.texinfo (Copying, Documentation License):
40952 Use new @include file names, put @appendix directive before @include.
40954 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40957 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40958 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40959 (mq_open): Add __NTH.
40961 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40964 Assume Intel Core i3/i5/i7 processor if AVX is available.
40966 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40968 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40971 2011-05-31 Andreas Schwab <schwab@redhat.com>
40973 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40974 memory. Use alloca_account. Fix memory leak when retrying.
40976 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40978 * version.h (RELEASE): Bump for 2.14 release.
40979 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40981 * config.make.in (RANLIB): Remove entry.
40983 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40985 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40986 (libc.pot): Work around missing support for .ksh extension in xgettext.
40989 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40990 if both request failed.
40991 (send_dg): In case of server errors clear resplen or *resplen2.
40994 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40995 when there are multiple maps.
40996 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40997 (_dl_fini): Remove test here.
40999 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41001 2011-05-29 Ulrich Drepper <drepper@gmail.com>
41004 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41005 bit from old_res_options.
41006 (gaih_inet): Likewise.
41009 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41012 * resolv/res_init.c (res_setoptions): Make the code more compact.
41015 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41019 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41021 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41024 * malloc/malloc.h: Declare malloc hook variables as volatile.
41026 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41030 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41031 raise in the comment.
41032 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41033 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41034 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41036 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41039 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41040 grow the buffers more if it already has to be sufficient.
41041 (build_wcs_upper_buffer): Likewise.
41042 * posix/regexec.c (check_matching): Likewise.
41043 (clean_state_log_if_needed): Likewise.
41044 (extend_buffers): Don't enlarge buffers beyond size of the input
41046 Patches mostly by Emil Wojak <emil@wojak.eu>.
41047 * posix/bug-regex32.c: New file.
41048 * posix/Makefile (tests): Add bug-regex32.
41050 * locale/findlocale.c (_nl_find_locale): Return right away if
41051 _nl_explode_name failed.
41052 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41054 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41056 * debug/xtrace.sh: Unify messages.
41057 * malloc/memusage.sh: Likewise.
41060 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41061 time symbol from vDSO. Substitute with vsyscall if not available.
41062 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41065 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41066 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41067 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41068 Add sendmmsg and internal_sendmmsg.
41069 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41070 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41071 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41073 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41074 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41075 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41077 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41080 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41081 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41083 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41087 * iconvdata/Makefile (tests): Add bug-iconv9.
41088 * iconvdata/bug-iconv9.c: New file.
41090 2011-05-27 Andreas Schwab <schwab@redhat.com>
41093 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41095 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41097 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41098 (struct user_regs_struct): Change intcs field back to cs.
41100 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41102 * po/ja.po: Update from translation team.
41104 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41107 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41108 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41110 2011-05-20 Andreas Schwab <schwab@redhat.com>
41112 * stdlib/longlong.h: Update from GCC.
41114 2011-05-23 Andreas Schwab <schwab@redhat.com>
41116 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41118 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41119 Add parameter name.
41120 (__sysconf): Pass it down.
41122 2011-05-22 Ulrich Drepper <drepper@gmail.com>
41125 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41127 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41128 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41129 add in in __libc_use_alloca calls. Adjust callers.
41130 (glob): Use malloc in some situations.
41132 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41133 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41136 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41138 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41139 and CLOCK_BOOTTIME_ALARM.
41142 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41145 * string/_strerror.c (__strerror_r): Print negative errors as signed
41149 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41150 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41151 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41153 * configure.in: Fix typo in redirection and correct removal of test
41154 files in two cases.
41157 * locale/setlocale.c (new_composite_name): Fix test to check for
41158 identical name of all categories.
41161 * libio/filedoalloc.c (local_isatty): New function.
41162 (_IO_file_doallocate): Use local_isatty.
41163 * stdio-common/perror.c (perror): In case a new stream is used
41164 forward the stream error.
41165 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41168 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41173 * include/alloca.h (extend_alloca_account): Define.
41176 * posix/regex.h: Fix comments with documentation of user-accessible
41177 fields after compilation and describe correct free'ing of pattern
41178 after re_compile_pattern.
41179 Patch by Reuben Thomas <rrt@sc3d.org>.
41181 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41183 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41184 and -mno-altivec to prevent the compiler from using Altivec and/or
41185 VSX instructions when the corresponding registers are not available.
41187 2011-05-19 Andreas Schwab <schwab@redhat.com>
41189 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41191 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41193 * libio/freopen.c (freopen): Use __dup2, not dup2.
41194 * libio/freopen64.c (freopen64): Likewise.
41196 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41199 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41200 * math/Makefile (tests): Add test-powl.
41201 (CFLAGS-test-powl.c): Define.
41202 * math/test-powl.c: New file.
41204 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41206 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41208 2011-05-17 Ulrich Drepper <drepper@gmail.com>
41211 * iconvdata/gb18030.c: Update to GB18020-2005.
41213 2011-05-16 Ulrich Drepper <drepper@gmail.com>
41215 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41216 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41217 Patch by Aharon Robbins <arnold@skeeve.com>.
41220 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41224 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41225 through underflows.
41228 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41229 point to strings before performing equality test for error_one_per_line
41233 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41236 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41237 (struct user_fpregs_struct): Avoid __uint*_t types.
41240 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41241 symbol info. Use it instead of calling _dl_addr locally.
41242 (lock_and_info): New function.
41243 (tr_freehook): Call lock_and_info and pass symbol info as additional
41244 parameter to tr_where.
41245 (tr_mallochook): Likewise.
41246 (tr_reallochook): Likewise.
41247 (tr_memalignhook): Likewise.
41249 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41250 used and couldn't be at all thread-safe.
41252 2011-05-15 Ulrich Drepper <drepper@gmail.com>
41254 * libio/freopen.c (freopen): Don't close old file descriptor
41255 before the new one is opened. Instead dup the new file descriptor
41256 to the old one after the new stream is created.
41257 * libio/freopen64.c (freopen64): Likewise.
41258 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41259 * libio/fileops.c (_IO_new_file_close_it): Handle new
41260 _IO_FLAGS2_NOCLOSE flag.
41261 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41262 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41263 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41264 _IO_FLAGS2_NOCLOSE flag.
41265 * include/unistd.h: Add hidden_proto for dup3.
41266 Define __have_dup3.
41267 * io/dup3.c: Define hidden symbol.
41268 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41271 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41272 when an incomplete long option is used.
41273 * posix/tst-getopt_long1.c: New file.
41274 * posix/Makefile (tests): Add tst-getopt_long1.
41277 * scripts/config.guess: Update from autoconf-2.68.
41278 * scripts/config.sub: Likewise.
41281 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41283 (has_cpuclock): ...this. New function.
41284 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41285 macro here based on has_cpuclock code.
41288 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41289 First byte (not low byte) is now always NUL.
41290 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41292 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41293 Use non-cancelable interfaces.
41296 * locale/iso-639.def: Add entry for Sorani.
41299 * include/stdlib.h: Move include protection to the right place.
41300 Define abort_msg_s. Declare __abort_msg with it.
41301 * stdlib/abort.c (__abort_msg): Adjust type.
41302 * assert/assert.c (__assert_fail_base): New function. Majority
41303 of code from __assert_fail. Allocate memory for __abort_msg with
41305 (__assert_fail): Now call __assert_fail_base.
41306 * assert/assert-perr.c: Remove bulk of implementation. Use
41307 __assert_fail_base.
41308 * include/assert.hL Declare __assert_fail_base.
41309 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41311 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41313 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41317 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41318 until all modules are registered in the DTV.
41319 * elf/Makefile: Add rules to build and run tst-tls19.
41320 * elf/tst-tls19.c: New file.
41321 * elf/tst-tls19mod1.c: New file.
41322 * elf/tst-tls19mod2.c: New file.
41323 * elf/tst-tls19mod3.c: New file.
41324 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41327 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41331 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41332 two-byte sequence errors.
41333 * iconvdata/Makefile (tests): Add bug-iconv8.
41334 * iconvdata/bug-iconv8.c: New file.
41337 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41340 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41343 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41344 (dummy_getcfa): New function.
41345 (init): Get _Unwind_GetCFA address, use dummy if not found.
41346 (backtrace_helper): In recursion check, also check whether CFA changes.
41347 (__backtrace): Completely initialize arg.
41349 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41350 storing incomplete byte sequence in state object. Avoid testing for
41351 guaranteed too small input if we know there is enough data available.
41353 2011-05-11 Andreas Schwab <schwab@redhat.com>
41355 * Makeconfig (+link-pie): Indent.
41356 * Rules (binaries-pie): Define if $(have-fpie) and
41358 (binaries-shared): Also filter out $(binaries-pie).
41359 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41360 * nscd/Makefile (others-pie): Add nscd.
41361 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41362 ($(objpfx)nscd): Remove command override.
41363 * login/Makefile (others-pie): Add pt_chown.
41364 ($(objpfx)pt_chown): Remove command override.
41365 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41366 remove command overrides.
41368 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41370 * libio/tst_putwc.c: Fix error messages.
41373 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41374 currently writing and seek to current position when not.
41375 * libio/Makefile (tests): Add bug-fclose1.
41376 * libio/bug-fclose1.c: New file.
41378 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41381 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41382 don't set DF_1_NODELETE here.
41383 (do_lookup_x): When entering new entry test for copy relocation
41384 and if necessary set DF_1_NODELETE flag.
41385 * elf/tst-unique4.cc: New file.
41386 * elf/tst-unique4.h: New file.
41387 * elf/tst-unique4lib.cc: New file.
41388 * elf/Makefile: Add rules to build and run tst-unique4.
41389 Patch by Piotr Bury <pbury@goahead.com>.
41391 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41394 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41397 * misc/mntent_r.c (addmntent): Flush the stream after the output
41400 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41401 (is_trusted_path_normalize): Skip initial colon. Append slash
41402 to empty buffer. Duplicate is_trusted_path code but allow
41403 constructed patch to be prefix.
41404 (is_dst): Allow $ORIGIN followed by /.
41405 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41406 Correct testing of result of is_trusted_path_normalize
41407 (decompose_rpath): Fix warning.
41409 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41412 * grp/initgroups.c (internal_getgrouplist): When we found the service
41413 list through the initgroups entry in nsswitch.conf do not always
41414 continue on a successful lookup. Don't always use the
41415 __nss_group_database value if it is set.
41416 * nss/nsswitch.conf (initgroups): Change action for successful db
41417 lookup to continue for compatibility.
41419 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41422 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41424 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41426 * iconvdata/tst-tables.sh: Likewise.
41427 * iconvdata/cp770.c: New file.
41428 * iconvdata/cp771.c: New file.
41429 * iconvdata/cp772.c: New file.
41430 * iconvdata/cp773.c: New file.
41431 * iconvdata/cp774.c: New file.
41432 * iconvdata/testdata/CP770: New file.
41433 * iconvdata/testdata/CP770..UTF8: New file.
41434 * iconvdata/testdata/CP771: New file.
41435 * iconvdata/testdata/CP771..UTF8: New file.
41436 * iconvdata/testdata/CP772: New file.
41437 * iconvdata/testdata/CP772..UTF8: New file.
41438 * iconvdata/testdata/CP773: New file.
41439 * iconvdata/testdata/CP773..UTF8: New file.
41440 * iconvdata/testdata/CP774: New file.
41441 * iconvdata/testdata/CP774..UTF8: New file.
41443 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41445 * iconvdata/gen-8bit-gap.sh: Likewise.
41446 * iconvdata/gen-8bit.sh: Likewise.
41448 * locale/iso-639.def: Add ary entry.
41451 * locale/C-translit.h.in: Add U20A1 transliteration.
41454 * locale/iso-639.def: Add wae entry.
41455 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41458 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41462 * locale/C-translit.h.in: Add entry for U20B9.
41463 Patch by pravin.d.s@gmail.com.
41465 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41468 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41469 ENAMETOOLONG use generic getcwd.
41470 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41471 in rtld. Use *stat64.
41472 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41473 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41474 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41475 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41476 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41477 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41478 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41479 __fstatat64 macros.
41480 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41481 * dirent/rewinddir.c: Add libc_hidden_def.
41482 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41483 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41485 * include/dirent.h (__alloc_dir): Add flags parameter.
41486 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41487 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41489 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41490 from fdopendir if O_CLOEXEC is already set.
41492 2011-03-15 Alan Modra <amodra@gmail.com>
41494 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41495 l_tls_firstbyte_offset non-zero. Save padding offset in
41496 l_tls_firstbyte_offset for later use.
41497 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41498 freeing static tls block.
41500 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41502 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41503 where #ifdef was intended. The intent is to prevent ARG_MAX from
41504 being defined by the kernel headers.
41506 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41509 * resolv/resolv.h: Define RES_NOTLDQUERY.
41510 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41511 no-tld-query and set RES_NOTLDQUERY.
41512 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41513 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41514 modern BIND to search name as TLD unless forbidden.
41516 2011-05-07 Petr Baudis <pasky@suse.cz>
41517 Ulrich Drepper <drepper@gmail.com>
41520 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41521 (is_trusted_path): ...to here.
41522 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41523 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41524 using is_trusted_path_normalize() in setuid scripts.
41526 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41528 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41529 __BEGIN/__END_DECLS.
41531 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41533 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41534 NSS_STATUS_NOTFOUND if no record was found.
41536 2011-05-05 Andreas Schwab <schwab@redhat.com>
41538 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41539 (headers-not-in-tirpc): Remove rpc/netdb.h
41540 * resolv/netdb.h: Revert last change.
41542 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41544 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41545 circular dependency between libgcc.a and libc.a.
41547 2011-05-05 Andreas Schwab <schwab@redhat.com>
41549 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41550 * nis/Makefile: Don't install rpcsvc/*.
41551 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41552 instead of <rpc/types.h>.
41553 (MAXHOSTNAMELEN): Define.
41555 2011-05-03 Andreas Schwab <schwab@redhat.com>
41557 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41559 2011-04-28 Maciej Babinski <mbabinski@google.com>
41562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41563 gethostbyname4_r when IPv6 results are possible.
41565 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41568 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41569 _PC_PIPE_BUF handling.
41571 2011-04-30 Bruno Haible <bruno@clisp.org>
41574 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41575 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41577 * inet/getnameinfo.c (getnameinfo): Likewise.
41579 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41581 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41582 to groups setting in database lookup.
41583 * nss/nsswitch.conf: Add initgroups entry.
41585 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41588 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41590 Patch by Eric Blake <eblake@redhat.com>.
41592 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41594 * sunrpc/Makefile (need-export-routines): Add svc_run.
41595 (routines): Remove svc_run.
41596 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41597 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41598 * sunrpc/svc_run.c (svc_run): Likewise.
41599 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41601 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41603 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41604 problem in reallocation in last patch.
41606 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41608 * sunrpc/Makefile: Move inclusion of Rules.
41610 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41612 * nss/nss_files/files-initgroups.c: New file.
41613 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41614 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41615 _nss_files_initgroups_dyn.
41617 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41619 * elf/elf.h (R_ARM_IRELATIVE): Define.
41621 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41623 * po/ru.po: Update from translation team.
41625 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41627 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41630 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41633 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41634 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41635 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41636 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41637 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41639 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41641 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41643 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41645 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41647 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41650 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41652 * stdlib/bug-getcontext.c: New file.
41653 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41655 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41657 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41658 instructions into .machine "z9-109".
41659 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41660 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41662 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41664 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41665 between environment variables and auxiliary vector.
41667 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41669 * Makefile: Add rules to build linkobj/libc.so.
41670 * include/libc-symbols.h: Define libc_hidden_nolink.
41671 * include/rpc/auth.h: Mark functions which are to be hidden.
41672 * include/rpc/auth_des.h: Likewise.
41673 * include/rpc/auth_unix.h: Likewise.
41674 * include/rpc/clnt.h: Likewise.
41675 * include/rpc/des_crypt.h: Likewise.
41676 * include/rpc/key_prot.h: Likewise.
41677 * include/rpc/pmap_clnt.h: Likewise.
41678 * include/rpc/pmap_prot.h: Likewise.
41679 * include/rpc/pmap_rmt.h: Likewise.
41680 * include/rpc/rpc_msg.h: Likewise.
41681 * include/rpc/svc.h: Likewise.
41682 * include/rpc/svc_auth.h: Likewise.
41683 * include/rpc/xdr.h: Likewise.
41684 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41685 * nss/Makefile: Likewise.
41686 * sunrpc/Makefile: Don't install headers. Build library with normal
41687 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41688 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41689 for the compat linking library. Remove use of INTDEF/INTUSE.
41690 * sunrpc/auth_none.c: Likewise.
41691 * sunrpc/auth_unix.c: Likewise.
41692 * sunrpc/authdes_prot.c: Likewise.
41693 * sunrpc/authuxprot.c: Likewise.
41694 * sunrpc/clnt_gen.c: Likewise.
41695 * sunrpc/clnt_perr.c: Likewise.
41696 * sunrpc/clnt_raw.c: Likewise.
41697 * sunrpc/clnt_simp.c: Likewise.
41698 * sunrpc/clnt_tcp.c: Likewise.
41699 * sunrpc/clnt_udp.c: Likewise.
41700 * sunrpc/clnt_unix.c: Likewise.
41701 * sunrpc/des_crypt.c: Likewise.
41702 * sunrpc/des_soft.c: Likewise.
41703 * sunrpc/get_myaddr.c: Likewise.
41704 * sunrpc/key_call.c: Likewise.
41705 * sunrpc/key_prot.c: Likewise.
41706 * sunrpc/netname.c: Likewise.
41707 * sunrpc/pm_getmaps.c: Likewise.
41708 * sunrpc/pm_getport.c: Likewise.
41709 * sunrpc/pmap_clnt.c: Likewise.
41710 * sunrpc/pmap_prot.c: Likewise.
41711 * sunrpc/pmap_prot2.c: Likewise.
41712 * sunrpc/pmap_rmt.c: Likewise.
41713 * sunrpc/publickey.c: Likewise.
41714 * sunrpc/rpc_cmsg.c: Likewise.
41715 * sunrpc/rpc_common.c: Likewise.
41716 * sunrpc/rpc_dtable.c: Likewise.
41717 * sunrpc/rpc_prot.c: Likewise.
41718 * sunrpc/rpc_thread.c: Likewise.
41719 * sunrpc/rtime.c: Likewise.
41720 * sunrpc/svc.c: Likewise.
41721 * sunrpc/svc_auth.c: Likewise.
41722 * sunrpc/svc_authux.c: Likewise.
41723 * sunrpc/svc_raw.c: Likewise.
41724 * sunrpc/svc_run.c: Likewise.
41725 * sunrpc/svc_simple.c: Likewise.
41726 * sunrpc/svc_tcp.c: Likewise.
41727 * sunrpc/svc_udp.c: Likewise.
41728 * sunrpc/svc_unix.c: Likewise.
41729 * sunrpc/svcauth_des.c: Likewise.
41730 * sunrpc/xcrypt.c: Likewise.
41731 * sunrpc/xdr.c: Likewise.
41732 * sunrpc/xdr_array.c: Likewise.
41733 * sunrpc/xdr_float.c: Likewise.
41734 * sunrpc/xdr_intXX_t.c: Likewise.
41735 * sunrpc/xdr_mem.c: Likewise.
41736 * sunrpc/xdr_rec.c: Likewise.
41737 * sunrpc/xdr_ref.c: Likewise.
41738 * sunrpc/xdr_sizeof.c: Likewise.
41739 * sunrpc/xdr_stdio.c: Likewise.
41741 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41744 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41745 * sysdeps/ia64/dl-tls.h: Likewise.
41746 * sysdeps/powerpc/dl-tls.h: Likewise.
41747 * sysdeps/s390/dl-tls.h: Likewise.
41748 * sysdeps/sh/dl-tls.h: Likewise.
41749 * sysdeps/sparc/dl-tls.h: Likewise.
41750 * sysdeps/x86_64/dl-tls.h: Likewise.
41751 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41753 2011-03-14 Andreas Schwab <schwab@redhat.com>
41755 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41756 rpath element also skip the following colon.
41757 (expand_dynamic_string_token): Add is_path parameter and pass
41758 down to DL_DST_REQUIRED and _dl_dst_substitute.
41759 (decompose_rpath): Call expand_dynamic_string_token with
41760 non-zero is_path. Ignore empty rpaths.
41761 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41764 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41769 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41772 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41773 Patch by Filipe David Manana <fdmanana@apache.org>.
41775 2011-04-07 Andreas Schwab <schwab@redhat.com>
41777 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41778 Maintain aligned stack.
41779 (CHECK_RSP): Remove unused macro.
41781 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41783 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41784 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41786 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41788 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41790 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41792 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41795 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41796 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41797 * sysdeps/x86_64/memmove.c: New file.
41798 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41799 (memcpy): Renamed to ...
41800 (__new_memcpy): This.
41801 (memcpy): Provide GLIBC_2_14 memcpy.
41802 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41803 (memcpy): Provide GLIBC_2_2_5 memcpy.
41805 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41808 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41810 2011-03-30 Andreas Schwab <schwab@redhat.com>
41812 * misc/syncfs.c: New file.
41813 * misc/Makefile (routines): Add syncfs.
41814 * posix/unistd.h: Declare syncfs.
41815 * sysdeps/unix/syscalls.list: Add syncfs.
41817 2011-04-01 Andreas Schwab <schwab@redhat.com>
41819 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41821 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41822 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41824 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41826 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41827 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41829 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41831 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41832 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41833 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41834 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41835 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41837 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41839 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41840 sync_file_range.c with -fexceptions.
41841 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41842 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41843 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41844 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41845 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41846 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41847 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41848 sync_file_range as cancellation point
41849 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41850 now a wrapper around __call_sync_file_range with cancellation handling.
41851 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41852 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41853 function name to __call_sync_file_range.
41854 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41855 Add call_sync_file_range.
41857 2011-04-01 Andreas Schwab <schwab@redhat.com>
41859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41862 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41864 * iconv/iconv.h: Fix typo in comment.
41865 * io/fcntl.h: Likewise.
41866 * libio/stdio.h: Likewise.
41867 * posix/spawn.h: Likewise.
41868 * posix/unistd.h: Likewise.
41869 * stdlib/stdlib.h: Likewise.
41870 * time/time.h: Likewise.
41871 * wcsmbs/wchar.h: Likewise.
41873 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41874 open_by_handle): Add.
41875 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41876 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41877 Augment a few comments.
41878 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41879 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41880 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41881 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41882 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41883 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41886 * io/fcntl.h (AT_EMPTY_PATH): Define.
41888 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41890 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41891 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41892 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41894 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41895 * Versions.def: Add GLIBC_2.14.
41896 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41899 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41901 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41903 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41905 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41908 * string/test-strncmp.c (do_page_test): New function.
41909 (check2): Likewise.
41910 (test_main): Call check2.
41911 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41913 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41916 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41917 Handle cache information in CPU leaf 4.
41918 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41920 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41923 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41924 character representation.
41925 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41927 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41929 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41930 END(__isnan) to END(__isnanf) to match function entry point/label
41931 EALIGN(__isnanf,...).
41933 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41935 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41937 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41940 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41941 copy from the symbol referenced in the relocation to initialize the
41943 Patch by Piotr Bury <pbury@goahead.com>.
41944 * elf/Makefile: Add rules to build and tst-unique3.
41945 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41946 * elf/tst-unique3.cc: New file.
41947 * elf/tst-unique3.h: New file.
41948 * elf/tst-unique3lib.cc: New file.
41949 * elf/tst-unique3lib2.cc: New file.
41951 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41953 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41955 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41956 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41959 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41961 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41962 to-be-loaded object along a path to loader is ld.so.
41964 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41965 Ulrich Drepper <drepper@gmail.com>
41967 * sysdeps/x86_64/memset.S: After aligning destination, code
41968 branches to different locations depending on the value of
41969 misalignment, when multiarch is enabled. Fix this.
41971 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41973 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41974 Set _x86_64_preferred_memory_instruction for AMD processsors.
41975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41976 Set bit_Prefer_SSE_for_memop for AMD processors.
41978 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41980 * libio/fmemopen.c (fmemopen): Optimize a bit.
41982 2011-03-03 Andreas Schwab <schwab@redhat.com>
41984 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41986 2011-03-03 Roland McGrath <roland@redhat.com>
41988 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41990 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41992 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41993 __bzero_ultra1 instead of __memset_ultra1.
41995 2011-02-23 Andreas Schwab <schwab@redhat.com>
41996 Ulrich Drepper <drepper@gmail.com>
41999 * include/link.h (struct link_map): Add l_orig_initfini.
42000 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42001 returning unsuccessfully.
42002 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42003 close of a file loaded at startup, restore the original l_initfini
42005 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42006 list, store the pointer.
42007 * elf/Makefile ($(objpfx)noload-mem): New rule.
42008 (noload-ENV): Define.
42009 (tests): Add $(objpfx)noload-mem.
42010 * elf/noload.c: Include <memcheck.h>.
42011 (main): Call mtrace. Close all opened handles.
42013 2011-02-17 Andreas Schwab <schwab@redhat.com>
42016 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42017 dependencies are missing.
42019 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42021 Fix __if_freereq crash: Unlike the generic version which uses free,
42023 * sysdeps/mach/hurd/ifreq.h: New file.
42025 2011-01-27 Petr Baudis <pasky@suse.cz>
42026 Ulrich Drepper <drepper@gmail.com>
42029 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42030 to extend_alloca().
42031 * stdio-common/bug23.c: New file.
42032 * stdio-common/Makefile (tests): Add bug23.
42034 2010-09-28 Andreas Schwab <schwab@redhat.com>
42035 Ulrich Drepper <drepper@gmail.com>
42038 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42039 before performing relro protection. At old place add assertion
42040 to make sure nothing changed.
42042 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42043 Glauber de Oliveira Costa <glommer@gmail.com>
42045 * elf/elf.h: Add new ARM TLS relocs.
42047 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42050 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42052 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42054 * sysdeps/wordsize-64/tst-writev.c: New file.
42056 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42058 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42059 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42060 insns in _dl_start to prevent a TOC reference before relocs are
42063 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42066 * Makeconfig: Remove RANLIB definition.
42067 * Makerules: Don't use RANLIB.
42068 * aclocal.m4: Remove ranlib test.
42069 * configure.in: No need to check for ranlib.
42070 * elf/rtld-Rules: Don't use RANLIB.
42072 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42074 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42076 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42077 inclusion protection macro.
42079 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42080 SIGRTMIN and SIGRTMAX and print information in that case only when
42081 SIGRTMIN is defined.
42083 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42085 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42086 arginfo fn returning -1.
42088 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42089 and thousands string is zero terminated.
42091 2011-02-03 Andreas Schwab <schwab@redhat.com>
42093 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42094 sysdeps/unix/sysv/linux/bits/socket.h.
42096 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42098 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42099 (__CPU_COUNT): Remove old macros.
42100 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42101 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42102 (__CPU_ALLOC, __CPU_FREE): Add macros.
42103 (__sched_cpualloc, __sched_cpufree): Add declarations.
42105 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42107 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42108 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42109 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42110 (readdhstai): Return value of addhstaiX call.
42111 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42112 (addgrbyX): Return value returned by cache_addgr.
42113 (readdgrbyname): Return value returned by addgrbyX.
42114 (readdgrbygid): Likewise.
42115 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42116 (addpwbyX): Return value returned by cache_addpw.
42117 (readdpwbyname): Return value returned by addhstbyX.
42118 (readdpwbyuid): Likewise.
42119 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42120 (addservbyX): Return value returned by cache_addserv.
42121 (readdservbyname): Return value returned by addservbyX:
42122 (readdservbyport): Likewise.
42123 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42124 (addhstbyX): Return value returned by cache_addhst.
42125 (readdhstbyname): Return value returned by addhstbyX.
42126 (readdhstbyaddr): Likewise.
42127 (readdhstbynamev6): Likewise.
42128 (readdhstbyaddrv6): Likewise.
42129 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42130 (readdinitgroups): Return value returned by addinitgroupsX.
42131 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42132 (prune_cache): Keep track of timeout value of re-added entries.
42133 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42134 * nscd/nscd.h: Adjust prototypes of readd* functions.
42136 2011-02-04 Roland McGrath <roland@redhat.com>
42138 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42139 (nis_stats): Likewise.
42140 * nis/nis_modify.c (nis_modify): Likewise.
42141 * nis/nis_remove.c (nis_remove): Likewise.
42142 * nis/nis_add.c (nis_add): Likewise.
42144 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42146 * posix/fnmatch_loop.c: Add some consts.
42148 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42150 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42153 * config.make.in (config-cflags-novzeroupper): Define.
42154 * configure.in: Substitute libc_cv_cc_novzeroupper.
42155 * elf/Makefile (AVX-CFLAGS): Define.
42156 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42157 (CFLAGS-tst-auditmod4a.c): Likewise.
42158 (CFLAGS-tst-auditmod4b.c): Likewise.
42159 (CFLAGS-tst-auditmod6b.c): Likewise.
42160 (CFLAGS-tst-auditmod6c.c): Likewise.
42161 (CFLAGS-tst-auditmod7b.c): Likewise.
42162 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42164 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42166 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42167 function to the callback.
42168 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42170 2011-02-02 Andreas Schwab <schwab@redhat.com>
42172 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42175 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42178 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42180 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42182 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42185 * elf/Makefile: Add rules to build and run new test.
42186 * elf/tst-initorder.c: New file.
42187 * elf/tst-initorder.exp: New file.
42188 * elf/tst-initordera1.c: New file.
42189 * elf/tst-initordera2.c: New file.
42190 * elf/tst-initordera3.c: New file.
42191 * elf/tst-initordera4.c: New file.
42192 * elf/tst-initorderb1.c: New file.
42193 * elf/tst-initorderb2.c: New file.
42194 * elf/tst-order-a1.c: New file.
42195 * elf/tst-order-a2.c: New file.
42196 * elf/tst-order-a3.c: New file.
42197 * elf/tst-order-a4.c: New file.
42198 * elf/tst-order-b1.c: New file.
42199 * elf/tst-order-b2.c: New file.
42200 * elf/tst-order-main.c: New file.
42201 New test case by George Gensure <werkt0@gmail.com>.
42203 2010-10-01 Andreas Schwab <schwab@redhat.com>
42205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42206 decoding ACE if AI_CANONIDN.
42208 2011-01-18 Ulrich Drepper <drepper@gmail.com>
42210 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42212 2011-01-17 Ulrich Drepper <drepper@gmail.com>
42214 * version.h (RELEASE): Bump for 2.13 release.
42215 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42217 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42219 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42221 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42222 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42223 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42224 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42225 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42226 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42228 * posix/getconf.c: Update copyright year.
42229 * catgets/gencat.c: Likewise.
42230 * csu/version.c: Likewise.
42231 * debug/catchsegv.sh: Likewise.
42232 * debug/xtrace.sh: Likewise.
42233 * elf/ldconfig.c: Likewise.
42234 * elf/ldd.bash.in: Likewise.
42235 * elf/sprof.c (print_version): Likewise.
42236 * iconv/iconv_prog.c: Likewise.
42237 * iconv/iconvconfig.c: Likewise.
42238 * locale/programs/locale.c: Likewise.
42239 * locale/programs/localedef.c: Likewise.
42240 * malloc/memusage.sh: Likewise.
42241 * malloc/mtrace.pl: Likewise.
42242 * nscd/nscd.c (print_version): Likewise.
42243 * nss/getent.c: Likewise.
42245 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42246 PF_CAIF, and PF_ALG.
42247 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42249 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42251 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42252 (modules-names): Use them.
42253 (ifunc-test-modules, ifunc-pie-tests): Define.
42254 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42255 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42256 (test-extras): Likewise.
42257 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42258 $(compile-command.c).
42259 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42260 (all-built-dso): Define.
42261 (check-textrel.out, check-execstack.out): Depend on it.
42263 * configure.in: Don't override --enable-multi-arch.
42265 2011-01-15 Ulrich Drepper <drepper@gmail.com>
42268 * nscd/hstcache.c (tryagain): Define.
42269 (cache_addhst): Return tryagain not notfound for temporary errors.
42270 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42273 2011-01-14 Ulrich Drepper <drepper@gmail.com>
42276 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42277 to make the syscall.
42278 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42281 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42282 and fall back to matching as normal character if the string ends before
42283 the matching ']' is found. This is what POSIX requires.
42284 * posix/testfnm.c: Adjust test result.
42285 * posix/globtest.sh: Adjust test result. Add new test.
42286 * posix/tst-fnmatch.input: Likewise.
42287 * posix/tst-fnmatch2.c: Add new test.
42289 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42291 * elf/Makefile (check-execstack): Revert last change. Depend on
42293 (check-execstack.h): New target.
42294 (generated): Add check-execstack.h.
42295 * elf/check-execstack.c: Include "check-execstack.h".
42296 (main): Revert last change.
42297 (handle_file): Return zero if GNU_STACK is absent and
42298 DEFAULT_STACK_PERMS doesn't include PF_X.
42300 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42302 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42303 in child fails because the descriptor is already closed.
42304 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42305 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42306 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42309 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42313 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42314 temporary buffer used to handle multi lookups locally.
42315 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42317 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42319 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42322 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42324 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42325 alignment for SSE2.
42327 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42330 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42331 characters. When rounding increased number of integer digits recompute
42333 * stdio-common/tst-grouping.c: New file.
42334 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42336 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42338 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42339 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42341 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42343 * bits/select.h: Likewise.
42345 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42347 * po/ja.po: Update from translation team.
42349 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42352 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42353 implementation just like for lxstat, fxstatat, et al.
42355 2010-12-27 Jim Meyering <meyering@redhat.com>
42358 * posix/regexec.c (build_trtable): Return failure indication upon
42359 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42361 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42364 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42365 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42366 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42367 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42370 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42373 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42374 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42376 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42378 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42379 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42380 script has SORT_BY_INIT_PRIORITY.
42381 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42382 NO_CTORS_DTORS_SECTIONS is defined.
42383 * elf/soinit.c: Likewise.
42384 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42385 NO_CTORS_DTORS_SECTIONS is defined.
42386 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42387 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42388 * sysdeps/sh/init-first.c: Likewise.
42389 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42391 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42393 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42394 always use the slow path.
42396 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42398 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42399 similar rule which adds the sysdep directories to the header search in
42400 order to pick up the correct platform stackinfo.h.
42401 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42402 perform test if it is, otherwise return successfully without testing.
42403 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42404 DEFAULT_STACK_PERMS define in stackinfo.h.
42405 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42406 defined in stackinfo.h.
42407 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42408 DEFAULT_STACK_PERMS defined in stackinfo.h.
42409 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42410 * sysdeps/ia64/stackinfo.h: Likewise.
42411 * sysdeps/s390/stackinfo.h: Likewise.
42412 * sysdeps/sh/stackinfo.h: Likewise.
42413 * sysdeps/sparc/stackinfo.h: Likewise.
42414 * sysdeps/x86_64/stackinfo.h: Likewise.
42415 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42416 PF_X for powerpc64. Retain PF_X for powerpc32.
42418 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42420 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42422 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42423 GETDENTS_64BIT_ALIGNED.
42425 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42427 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42429 2010-12-10 Andreas Schwab <schwab@redhat.com>
42431 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42434 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42435 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42437 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42438 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42440 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42443 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42446 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42448 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42450 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42452 * po/it.po: Update from translation team.
42454 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42456 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42459 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42461 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42463 2010-11-24 Andreas Schwab <schwab@redhat.com>
42465 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42467 (gaih_getanswer_slice): Likewise.
42469 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42473 2010-05-31 Petr Baudis <pasky@suse.cz>
42476 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42477 silently even in the chroot mode.
42479 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42481 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42482 last patch a bit. Pretty printing
42484 2010-05-31 Petr Baudis <pasky@suse.cz>
42487 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42488 initialization of skip_initgroups_dyn.
42490 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42492 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42493 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42495 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42497 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42499 2010-11-11 Andreas Schwab <schwab@redhat.com>
42501 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42502 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42503 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42504 ($(objpfx)tst-fnmatch-mem): New rule.
42505 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42506 * posix/tst-fnmatch.c (main): Call mtrace.
42508 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42511 Support Intel processor model 6 and model 0x2c.
42513 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42515 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42518 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42521 * string/test-strncasecmp.c (check_result): New function.
42522 (do_one_test): Use it.
42523 (check1): New function.
42524 (test_main): Use it.
42525 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42526 Support strcasecmp and strncasecmp.
42528 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42531 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42532 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42534 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42536 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42540 * sysdeps/x86_64/multiarch/bzero.S: New file.
42541 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42542 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42543 * sysdeps/x86_64/multiarch/memset.S: New file.
42544 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42546 Set bit_Prefer_SSE_for_memop for Intel processors.
42547 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42549 (index_Prefer_SSE_for_memop): Define.
42550 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42552 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42554 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42555 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42557 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42560 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42561 (__x86_64_raw_data_cache_size_half): Likewise.
42562 (__x86_64_raw_shared_cache_size): Likewise.
42563 (__x86_64_raw_shared_cache_size_half): Likewise.
42565 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42566 (__x86_64_raw_data_cache_size_half): Likewise.
42567 (__x86_64_raw_shared_cache_size): Likewise.
42568 (__x86_64_raw_shared_cache_size_half): Likewise.
42569 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42570 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42571 and __x86_64_raw_shared_cache_size_half. Round
42572 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42573 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42574 to multiple of 256 bytes.
42576 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42579 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42580 of inacessible symlinks. Verify result of symlink before returning it.
42581 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42582 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42584 2010-10-28 Erich Ritz <erichritz@gmail.com>
42586 * math/math.h (isinf): Fix typo in comment.
42588 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42590 * po/da.po: Update from translation team.
42592 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42594 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42595 is added to the list.
42597 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42598 Ulrich Drepper <drepper@gmail.com>
42600 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42601 the global list here. Move code to...
42602 (_dl_add_to_namespace_list): ...here. New function.
42603 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42604 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42605 * elf/dl-load.c (lose): Don't remove the element from the list.
42606 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42607 (_dl_map_object): Likewise.
42609 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42612 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42613 into all bytes of SSE register.
42614 Patch by Richard Li <richardpku@gmail.com>.
42616 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42619 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42622 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42624 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42625 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42626 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42627 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42632 2010-10-22 Andreas Schwab <schwab@redhat.com>
42634 * include/dlfcn.h (__RTLD_SECURE): Define.
42635 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42636 mode & __RTLD_SECURE instead.
42637 (open_path): Rename preloaded parameter to secure.
42638 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42639 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42640 * elf/dl-deps.c (openaux): Likewise.
42641 * elf/rtld.c (struct map_args): Remove is_preloaded.
42642 (map_doit): Don't use it.
42643 (dl_main): Likewise.
42644 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42645 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42647 2010-09-09 Andreas Schwab <schwab@redhat.com>
42649 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42650 (sysd-rules-targets): Remove duplicates.
42651 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42652 rtld-%.$o dependency.
42654 2010-10-18 Andreas Schwab <schwab@redhat.com>
42656 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42657 _dl_map_object do it.
42659 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42661 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42662 fast fma builtins, define the macros in the C99 standard.
42663 (FP_FAST_FMAF): Likewise.
42664 (FP_FAST_FMAL): Likewise.
42665 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42667 * bits/mathdef.h: Update copyright year.
42668 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42670 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42672 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42673 builtins, define the macros in the C99 standard.
42674 (FP_FAST_FMAF): Likewise.
42675 (FP_FAST_FMAL): Likewise.
42676 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42678 (FP_FAST_FMAF): Likewise.
42680 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42683 * math/libm-test.inc (fma_test): Some new testcases.
42684 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42685 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42686 y and infinite z. Do multiplication by C already in long double.
42687 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42689 y and infinite z. Do bitwise or of inexact bit into u.d.
42690 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42691 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42692 * sysdeps/i386/fpu/s_fma.S: Removed.
42693 * sysdeps/i386/fpu/s_fmal.S: Removed.
42695 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42698 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42699 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42700 computation is not scheduled after fetestexcept. Fix value
42701 of minimum denormal long double.
42703 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42706 * math/libm-test.inc (fma_test): Add some more tests.
42707 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42710 2010-10-15 Andreas Schwab <schwab@redhat.com>
42712 * scripts/data/localplt-s390-linux-gnu.data: New file.
42713 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42715 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42718 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42719 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42721 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42723 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42725 if one of x and y is very large and the other is subnormal.
42726 * sysdeps/s390/fpu/s_fmaf.c: New file.
42727 * sysdeps/s390/fpu/s_fma.c: New file.
42728 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42729 * sysdeps/powerpc/fpu/s_fma.S: New file.
42730 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42731 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42732 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42734 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42737 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42739 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42740 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42741 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42742 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42743 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42744 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42745 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42747 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42750 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42751 * posix/bug-regex31.input: Add test case.
42753 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42755 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42756 * posix/bug-regex31.input: New file.
42759 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42760 (parse_sub_exp): Fix last change, use postorder.
42762 * posix/bug-regex31.c: New file.
42763 * posix/Makefile: Add rules to build and run bug-regex31.
42765 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42768 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42771 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42772 to have entries in sys_siglist.
42775 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42778 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42781 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42782 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42783 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42784 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42785 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42786 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42787 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42788 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42789 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42790 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42791 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42792 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42793 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42794 * math/ftestexcept.c (fetestexcept): Likewise.
42795 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42796 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42797 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42798 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42799 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42800 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42801 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42803 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42806 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42809 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42811 * string/bug-strstr1.c: New file.
42812 * string/Makefile: Add rules to build and run bug-strstr1.
42814 2010-10-05 Eric Blake <eblake@redhat.com>
42817 * string/str-two-way.h (two_way_long_needle): Always clear memory
42818 when skipping input due to the shift table.
42820 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42823 * malloc/mcheck.c: Handle large requests.
42826 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42827 for strncmp and strncasecmp.
42828 * string/stratcliff.c: Add tests for strcmp and strncmp.
42829 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42831 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42833 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42836 2010-09-30 Andreas Jaeger <aj@suse.de>
42838 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42839 (CGROUP_SUPER_MAGIC): Define.
42840 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42841 Handle btrfs and cgroup file systems.
42842 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42845 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42847 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42848 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42850 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42853 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42854 trying to locate the ELF header.
42856 2010-09-27 Andreas Schwab <schwab@redhat.com>
42859 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42860 Mask out sign-bit copies when constructing f_fsid.
42862 2010-09-24 Petr Baudis <pasky@suse.cz>
42864 * debug/stack_chk_fail_local.c: Add missing licence exception.
42865 * debug/warning-nop.c: Likewise.
42867 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42869 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42870 implementing getdents64 using getdents syscall, set d_type if
42871 __ASSUME_GETDENTS32_D_TYPE.
42873 2010-09-16 Andreas Schwab <schwab@redhat.com>
42875 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42876 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42878 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42881 * posix/unistd.h: Undo change of feature selection for ftruncate from
42884 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42886 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42889 2010-09-20 Andreas Schwab <schwab@redhat.com>
42891 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42893 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42895 2010-09-14 Andreas Schwab <schwab@redhat.com>
42897 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42898 variables after CHECK_SP call.
42899 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42901 2010-09-13 Andreas Schwab <schwab@redhat.com>
42902 Ulrich Drepper <drepper@redhat.com>
42904 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42905 re-relocationg ld.so.
42906 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42907 _dl_init_paths call.
42908 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42911 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42913 * resolv/res_init.c (__res_vinit): Count the default server we added.
42915 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42916 Ulrich Drepper <drepper@redhat.com>
42919 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42920 (____longjmp_chk): Use %ebx for saving value across system call.
42923 2010-09-06 Andreas Schwab <schwab@redhat.com>
42925 * manual/Makefile: Don't mix pattern rules with normal rules.
42927 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42929 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42931 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42932 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42933 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42934 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42935 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42938 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42941 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42942 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42944 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42946 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42947 * sysdeps/x86_64/addmul_1.S: Likewise.
42948 * sysdeps/x86_64/lshift.S: Likewise.
42949 * sysdeps/x86_64/mul_1.S: Likewise.
42950 * sysdeps/x86_64/rshift.S: Likewise.
42951 * sysdeps/x86_64/sub_n.S: Likewise.
42952 * sysdeps/x86_64/submul_1.S: Likewise.
42954 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42956 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42957 Define __sched_param instead of SCHED_* and sched_param when
42958 <bits/sched.h> is included with __need_schedparam defined.
42959 * bits/sched.h [__need_schedparam]
42960 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42961 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42962 (__defined_schedparam): Define to 1.
42963 (__sched_param): New structure, identical to sched_param.
42964 (__need_schedparam): Undefine.
42966 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42968 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42969 (epoll_create1): Declare.
42971 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42973 2010-08-31 Andreas Schwab <schwab@redhat.com>
42976 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42977 shifting retval into place.
42979 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42981 * nis/rpcsvc/nis.h: Update copyright notice.
42982 * nis/rpcsvc/nis.x: Likewise.
42983 * nis/rpcsvc/nis_callback.h: Likewise.
42984 * nis/rpcsvc/nis_callback.x: Likewise.
42985 * nis/rpcsvc/nis_object.x: Likewise.
42986 * nis/rpcsvc/nis_tags.h: Likewise.
42987 * nis/rpcsvc/yp.h: Likewise.
42988 * nis/rpcsvc/yp.x: Likewise.
42989 * nis/rpcsvc/ypupd.h: Likewise.
42990 * nis/yp_xdr.c: Likewise.
42991 * nis/ypupdate_xdr.c: Likewise.
42993 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42994 mainly the body of pmap_getport. Add parameters to specify timeouts.
42995 (pmap_getport): Use __libc_rpc_getport.
42996 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42997 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42998 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43000 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43005 2010-08-27 Roland McGrath <roland@redhat.com>
43007 * sysdeps/i386/i686/multiarch/Makefile
43008 (CFLAGS-varshift.c): New variable.
43010 2010-08-27 Ulrich Drepper <drepper@redhat.com>
43012 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43013 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43015 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43017 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43019 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43021 * sysdeps/x86_64/strlen.S: Unroll the loop.
43022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43023 strlen-sse2 strlen-sse2-bsf.
43024 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43025 __strlen_no_bsf if bit_Slow_BSF is set.
43026 (__strlen_sse42): Removed.
43027 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43028 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43030 2010-08-25 Roland McGrath <roland@redhat.com>
43032 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43033 * sysdeps/x86_64/multiarch/varshift.c: New file.
43034 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43035 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43036 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43037 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43039 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43041 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43042 strlen-sse2 strlen-sse2-bsf.
43043 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43044 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43045 (__strlen_sse2): Removed.
43046 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43047 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43049 bit_Slow_BSF for Atom.
43050 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43051 (index_Slow_BSF): Define.
43052 (HAS_SLOW_BSF): Define.
43054 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43057 * resolv/res_init.c (__res_vinit): When no server address at all
43058 is given default to loopback.
43060 2010-08-24 Roland McGrath <roland@redhat.com>
43062 * configure.in: Remove config-name.h generation.
43063 * configure: Regenerated.
43064 * config-name.in: File removed.
43065 * scripts/config-uname.sh: New file.
43066 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43067 ($(objdir)config-name.h): New target.
43069 * sunrpc/rpc_parse.h: Avoid nested comment.
43071 2010-08-24 Richard Henderson <rth@redhat.com>
43072 Ulrich Drepper <drepper@redhat.com>
43073 H.J. Lu <hongjiu.lu@intel.com>
43075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43077 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43078 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43079 _mm_alignr_epi8 with _mm_loadu_si128.
43080 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43081 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43082 (__m128i_shift_right): Removed.
43083 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43084 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43085 * sysdeps/x86_64/multiarch/varshift.h: New file.
43086 * sysdeps/x86_64/multiarch/varshift.S: New file.
43088 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43090 * configure.in: Move assembler checks to before sysdep dir checking.
43092 2010-08-20 Petr Baudis <pasky@suse.cz>
43094 * LICENSES: Sync the sunrpc license.
43096 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43098 * sunrpc/auth_des.c: Update copyright notice once again.
43099 * sunrpc/auth_none.c: Likewise.
43100 * sunrpc/auth_unix.c: Likewise.
43101 * sunrpc/authdes_prot.c: Likewise.
43102 * sunrpc/authuxprot.c: Likewise.
43103 * sunrpc/bindrsvprt.c: Likewise.
43104 * sunrpc/clnt_gen.c: Likewise.
43105 * sunrpc/clnt_perr.c: Likewise.
43106 * sunrpc/clnt_raw.c: Likewise.
43107 * sunrpc/clnt_simp.c: Likewise.
43108 * sunrpc/clnt_tcp.c: Likewise.
43109 * sunrpc/clnt_udp.c: Likewise.
43110 * sunrpc/clnt_unix.c: Likewise.
43111 * sunrpc/des_crypt.c: Likewise.
43112 * sunrpc/des_soft.c: Likewise.
43113 * sunrpc/get_myaddr.c: Likewise.
43114 * sunrpc/getrpcport.c: Likewise.
43115 * sunrpc/key_call.c: Likewise.
43116 * sunrpc/key_prot.c: Likewise.
43117 * sunrpc/openchild.c: Likewise.
43118 * sunrpc/pm_getmaps.c: Likewise.
43119 * sunrpc/pm_getport.c: Likewise.
43120 * sunrpc/pmap_clnt.c: Likewise.
43121 * sunrpc/pmap_prot.c: Likewise.
43122 * sunrpc/pmap_prot2.c: Likewise.
43123 * sunrpc/pmap_rmt.c: Likewise.
43124 * sunrpc/rpc/auth.h: Likewise.
43125 * sunrpc/rpc/auth_unix.h: Likewise.
43126 * sunrpc/rpc/clnt.h: Likewise.
43127 * sunrpc/rpc/des_crypt.h: Likewise.
43128 * sunrpc/rpc/key_prot.h: Likewise.
43129 * sunrpc/rpc/netdb.h: Likewise.
43130 * sunrpc/rpc/pmap_clnt.h: Likewise.
43131 * sunrpc/rpc/pmap_prot.h: Likewise.
43132 * sunrpc/rpc/pmap_rmt.h: Likewise.
43133 * sunrpc/rpc/rpc.h: Likewise.
43134 * sunrpc/rpc/rpc_des.h: Likewise.
43135 * sunrpc/rpc/rpc_msg.h: Likewise.
43136 * sunrpc/rpc/svc.h: Likewise.
43137 * sunrpc/rpc/svc_auth.h: Likewise.
43138 * sunrpc/rpc/types.h: Likewise.
43139 * sunrpc/rpc/xdr.h: Likewise.
43140 * sunrpc/rpc_clntout.c: Likewise.
43141 * sunrpc/rpc_cmsg.c: Likewise.
43142 * sunrpc/rpc_common.c: Likewise.
43143 * sunrpc/rpc_cout.c: Likewise.
43144 * sunrpc/rpc_dtable.c: Likewise.
43145 * sunrpc/rpc_hout.c: Likewise.
43146 * sunrpc/rpc_main.c: Likewise.
43147 * sunrpc/rpc_parse.c: Likewise.
43148 * sunrpc/rpc_parse.h: Likewise.
43149 * sunrpc/rpc_prot.c: Likewise.
43150 * sunrpc/rpc_sample.c: Likewise.
43151 * sunrpc/rpc_scan.c: Likewise.
43152 * sunrpc/rpc_scan.h: Likewise.
43153 * sunrpc/rpc_svcout.c: Likewise.
43154 * sunrpc/rpc_tblout.c: Likewise.
43155 * sunrpc/rpc_util.c: Likewise.
43156 * sunrpc/rpc_util.h: Likewise.
43157 * sunrpc/rpcinfo.c: Likewise.
43158 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43159 * sunrpc/rpcsvc/key_prot.x: Likewise.
43160 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43161 * sunrpc/rpcsvc/mount.x: Likewise.
43162 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43163 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43164 * sunrpc/rpcsvc/rex.x: Likewise.
43165 * sunrpc/rpcsvc/rstat.x: Likewise.
43166 * sunrpc/rpcsvc/rusers.x: Likewise.
43167 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43168 * sunrpc/rpcsvc/spray.x: Likewise.
43169 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43170 * sunrpc/rtime.c: Likewise.
43171 * sunrpc/svc.c: Likewise.
43172 * sunrpc/svc_auth.c: Likewise.
43173 * sunrpc/svc_authux.c: Likewise.
43174 * sunrpc/svc_raw.c: Likewise.
43175 * sunrpc/svc_run.c: Likewise.
43176 * sunrpc/svc_simple.c: Likewise.
43177 * sunrpc/svc_tcp.c: Likewise.
43178 * sunrpc/svc_udp.c: Likewise.
43179 * sunrpc/svc_unix.c: Likewise.
43180 * sunrpc/svcauth_des.c: Likewise.
43181 * sunrpc/xcrypt.c: Likewise.
43182 * sunrpc/xdr.c: Likewise.
43183 * sunrpc/xdr_array.c: Likewise.
43184 * sunrpc/xdr_float.c: Likewise.
43185 * sunrpc/xdr_mem.c: Likewise.
43186 * sunrpc/xdr_rec.c: Likewise.
43187 * sunrpc/xdr_ref.c: Likewise.
43188 * sunrpc/xdr_sizeof.c: Likewise.
43189 * sunrpc/xdr_stdio.c: Likewise.
43191 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43194 2010-08-19 Andreas Schwab <schwab@redhat.com>
43196 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43198 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
43200 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43201 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43202 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43203 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43204 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43205 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43206 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43207 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43208 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43209 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43210 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43211 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43212 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43213 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43215 2010-07-26 Anton Blanchard <anton@samba.org>
43217 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43218 * malloc/arena.c (heap_trim): Likewise.
43220 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43222 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43225 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43227 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43229 * sysdeps/i386/elf/Makefile: New file.
43231 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43233 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43234 from fanotify_init.
43235 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43238 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43240 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43242 * sysdeps/multiarch/strcmp.S: Likewise.
43244 2010-08-14 Ulrich Drepper <drepper@redhat.com>
43246 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43247 strncase_l-nonascii.
43248 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43249 Add strncase_l-ssse3.
43250 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43251 * sysdeps/x86_64/strcmp.S: Likewise.
43252 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43253 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43254 * sysdeps/x86_64/strncase.S: New file.
43255 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43256 * sysdeps/x86_64/strncase_l.S: New file.
43257 * string/Makefile (strop-tests): Add strncasecmp.
43258 * string/test-strncasecmp.c: New file.
43260 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43263 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43264 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43266 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43268 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43270 2010-08-12 Ulrich Drepper <drepper@redhat.com>
43272 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43273 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43274 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43276 2010-05-01 Alan Modra <amodra@gmail.com>
43278 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43279 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43280 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43281 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43282 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43283 tidying. Don't tail-call __sigjmp_save for static lib.
43284 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43286 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43287 (CALL_MCOUNT): Add eh info, and nop after bl.
43288 (TAIL_CALL_SYSCALL_ERROR): New macro.
43289 (PSEUDO_RET): Use it.
43290 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43291 Correct save location of integer regs and cr.
43292 (_dl_profile_resolve): Correct cr save location. Delete nops
43293 after bl when SHARED. Reduce cfi size a little by better
43294 placement of cfi directives.
43295 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43296 make a stack frame. Instead use parm save area as a temp.
43297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43298 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43300 Don't make a stack frame for parent, use parm save area.
43301 Increase child stack frame to 112 bytes. Don't save unused reg,
43302 and adjust reg usage. Set up cfi on error recovery and
43303 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43305 (__makecontext): Add dummy nop after jump to exit.
43306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43307 Use correct parm save area and cr save, reduce stack frame.
43308 Correct cfi for possible PSEUDO_RET frame setup.
43309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43310 Branch to local label emitted by PSEUDO_RET rather than
43313 2010-08-12 Andreas Schwab <schwab@redhat.com>
43316 * locale/programs/locale.c (print_assignment): New function.
43317 (show_locale_vars): Use it.
43319 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43321 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43323 (struct statfs64): Likewise.
43324 (_STATFS_F_FLAGS): Define.
43325 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43326 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43327 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43328 (ST_VALID): Define locally.
43329 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43330 __statvfs_getflags, use the provided value.
43331 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43332 __ASSUME_STATFS_F_FLAGS.
43334 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43336 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43337 Add sys/fanotify.h.
43338 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43339 fanotify_mask for GLIBC_2.13.
43340 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43341 fanotify_init and fanotify_mark.
43342 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43343 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43345 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43347 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43348 prlimit64 for GLIBC_2.13.
43349 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43351 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43354 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43355 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43356 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43357 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43359 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43362 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43363 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43365 * nss/Makefile: Add rules to build and run tst-nss-test1.
43366 * shlib-versions: Add entry for libnss_test1.
43367 * nss/nss_test1.c: New file.
43368 * nss/tst-nss-test1.c: New file.
43370 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43371 (__nss_configure_lookup): Set appropriate entry in
43372 __nss_configure_lookup to true.
43373 * nss/nsswitch.h: Define enum with indeces of databases in
43374 databases and __nss_database_custom arrays. Declare
43375 __nss_database_custom.
43376 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43377 to avoid using nscd when custom rules are installed.
43378 * nss/getXXbyYY_r.c: Likewise.
43379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43381 * nss/nss_files/files-parse.c: Whitespace fixes.
43383 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43386 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43387 * posix/fnmatch_loop.c: Likewise.
43389 2010-07-17 Andi Kleen <ak@linux.intel.com>
43391 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43392 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43393 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43394 * Versions.def [GLIBC_2.13]: Add.
43396 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43398 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43399 Also fail if tpwd after pwuid call is NULL.
43401 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43403 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43404 when converting to ms.
43406 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43408 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43409 EOPNOTSUPP errors with ENOTTY.
43410 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43411 EOPNOTSUPP errors with ENOTTY.
43413 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43415 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43416 Add strcasecmp_l-ssse3.
43417 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43419 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43420 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43421 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43423 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43425 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43427 * string/Makefile (strop-tests): Add strcasecmp.
43428 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43429 strcasecmp_l-nonascii.
43430 (gen-as-const-headers): Add locale-defines.sym.
43431 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43432 * sysdeps/x86_64/strcasecmp.S: New file.
43433 * sysdeps/x86_64/strcasecmp_l.S: New file.
43434 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43435 * sysdeps/x86_64/locale-defines.sym: New file.
43436 * string/test-strcasecmp.c: New file.
43438 * string/test-strcasestr.c: Test both ends of the range of characters.
43439 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43441 2010-07-29 Roland McGrath <roland@redhat.com>
43444 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43446 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43448 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43451 2010-07-27 Andreas Schwab <schwab@redhat.com>
43453 * manual/memory.texi (Malloc Tunable Parameters): Document
43456 2010-07-26 Roland McGrath <roland@redhat.com>
43459 * configure.in (-fgnu89-inline check): Set and substitute
43460 gnu89_inline, not libc_cv_gnu89_inline.
43461 * configure: Regenerated.
43462 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43464 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43466 * string/test-strnlen.c: New file.
43467 * string/Makefile (strop-tests): Add strnlen.
43468 * string/tester.c (test_strnlen): Add a few more test cases.
43469 * string/tst-strlen.c: Better error reporting.
43471 * sysdeps/x86_64/strnlen.S: New file.
43473 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43475 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43476 lower-latency instructions.
43478 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43480 * string/test-strcasestr.c: New file.
43481 * string/test-strstr.c: New file.
43482 * string/Makefile (strop-tests): Add strstr and strcasestr.
43483 * string/str-two-way.h: Don't undefine MAX.
43484 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43486 2010-07-21 Andreas Schwab <schwab@redhat.com>
43488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43489 strcasestr-nonascii.
43490 (CFLAGS-strcasestr-nonascii.c): Define.
43491 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43492 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43493 Remove unused attribute.
43495 2010-07-20 Roland McGrath <roland@redhat.com>
43497 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43498 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43499 ld.so.cache was broken. With it, there is no way to disable dsocaps
43500 like LD_HWCAP_MASK can disable hwcaps.
43502 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43504 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43506 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43508 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43509 call in strcasestr.
43510 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43511 __strcasestr_sse42_nonascii.
43512 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43513 strcasestr-nonascii.c.
43514 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43516 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43518 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43519 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43520 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43521 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43523 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43525 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43528 2010-07-06 Andreas Schwab <schwab@redhat.com>
43531 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43534 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43536 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43537 _PC_PIPE_BUF using F_GETPIPE_SZ.
43539 2010-07-05 Roland McGrath <roland@redhat.com>
43541 * manual/arith.texi (Rounding Functions): Fix rint description
43542 implicit in round description.
43544 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43546 * elf/Makefile: Fix linking for a few tests to make recent linker
43549 2010-06-30 Andreas Schwab <schwab@redhat.com>
43551 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43552 $(common-objpfx)libc_nonshared.a.
43554 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43556 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43557 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43558 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43559 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43560 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43561 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43562 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43563 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43578 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43579 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43580 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43581 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43582 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43583 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43584 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43585 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43586 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43587 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43588 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43589 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43605 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43607 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43608 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43609 * string/memmove.c (memmove): Renamed to ...
43610 (MEMMOVE): ...this. Default to memmove.
43611 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43612 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43615 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43616 mempcpy-ssse3-back memmove-ssse3-back.
43617 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43618 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43619 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43620 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43621 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43622 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43623 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43624 * sysdeps/x86_64/multiarch/memmove.c: New file.
43625 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43626 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43627 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43628 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43629 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43630 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43632 (index_Fast_Copy_Backward): Define.
43633 (HAS_ARCH_FEATURE): Define.
43634 (HAS_FAST_REP_STRING): Define.
43635 (HAS_FAST_COPY_BACKWARD): Define.
43637 2010-06-21 Andreas Schwab <schwab@redhat.com>
43639 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43640 Restore proper fallback handling.
43642 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43645 * posix/group_member.c (__group_member): Correct checking loop.
43647 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43648 OOM in getpwuid_r correctly. Return error number when the caller
43649 should return, otherwise -1.
43650 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43651 call returning > 0 value.
43652 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43654 2010-06-07 Andreas Schwab <schwab@redhat.com>
43656 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43657 libc_nonshared.a from targets in modules-names.
43659 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43661 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43664 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43666 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43667 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43668 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43669 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43671 2010-06-02 Andreas Schwab <schwab@redhat.com>
43673 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43675 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43677 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43680 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43681 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43683 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43684 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43686 2010-06-14 Roland McGrath <roland@redhat.com>
43688 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43690 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43692 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43693 __REDIRECT followed by __THROW.
43694 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43695 * posix/getopt.h (getopt): Likewise.
43697 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43699 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43700 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43701 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43703 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43704 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43706 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43708 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43710 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43714 Properly check family and model.
43716 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43718 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43720 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43722 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43724 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43726 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43729 2010-05-19 Andreas Schwab <schwab@redhat.com>
43731 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43734 2010-05-21 Andreas Schwab <schwab@redhat.com>
43736 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43737 and internal_recvmmsg.
43738 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43739 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43740 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43741 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43743 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43744 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43745 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43747 2010-05-20 Andreas Schwab <schwab@redhat.com>
43749 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43751 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43753 POWER7 optimizations.
43754 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43755 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43757 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43759 * version.h: Update for 2.13 development version.
43761 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43763 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43764 exceptions. Return 0.
43766 2010-05-07 Roland McGrath <roland@redhat.com>
43768 * elf/ldconfig.c (main): Add a const.
43770 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43772 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43773 (args_options): Add no-idn option.
43774 (ahosts_keys_int): Add idn_flags to ai_flags.
43775 (parse_option): Handle 'i' option to clear idn_flags.
43777 * malloc/malloc.c (_int_free): Possible race in the most recently
43778 added check. Only act on the data if no current modification
43781 See ChangeLog.17 for earlier changes.