1 2014-05-13 Andreas Schwab <schwab@suse.de>
3 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5 2014-05-12 Joseph Myers <joseph@codesourcery.com>
7 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8 (__ASSUME_UTIMES): Do not condition on kernel version.
9 (__ASSUME_PSELECT): Define unconditionally.
10 (__ASSUME_PPOLL): Likewise.
11 (__ASSUME_ATFCTS): Likewise.
12 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15 (__ASSUME_UTIMENSAT): Define unconditionally.
16 (__ASSUME_PRIVATE_FUTEX): Likewise.
17 (__ASSUME_FALLOCATE): Likewise.
18 (__ASSUME_O_CLOEXEC): Likewise.
19 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
23 (__ASSUME_IN_NONBLOCK): Likewise.
24 (__ASSUME_PIPE2): Likewise.
25 (__ASSUME_EVENTFD2): Likewise.
26 (__ASSUME_SIGNALFD4): Likewise.
27 (__ASSUME_DUP3): Likewise.
28 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
30 (__ASSUME_AT_RANDOM): Likewise.
31 (__ASSUME_PREADV): Likewise.
32 (__ASSUME_PWRITEV): Likewise.
33 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34 (__ASSUME_F_GETOWN_EX): Define unconditionally.
35 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
38 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39 (__ASSUME_O_CLOEXEC): Define unconditionally.
40 (__ASSUME_PSELECT): Do not undefine conditionally.
41 (__ASSUME_PPOLL): Likewise.
42 (__ASSUME_ATFCTS): Likewise.
43 (__ASSUME_SET_ROBUST_LIST): Likewise.
44 (__ASSUME_UTIMENSAT): Likewise.
45 (__ASSUME_FDATASYNC): Define unconditionally.
46 * sysdeps/unix/sysv/linux/arm/kernel-features.h
47 (__ASSUME_SIGFRAME_V2): Likewise.
48 )__ASSUME_EVENTFD2): Likewise.
49 (__ASSUME_SIGNALFD4): Likewise.
50 (__ASSUME_PSELECT): Do not undefine conditionally.
51 (__ASSUME_PPOLL): Likewise.
52 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53 (__ASSUME_PSELECT): Define unconditionally.
54 (__ASSUME_PPOLL): Likewise.
55 (__ASSUME_O_CLOEXEC): Likewise.
56 (__ASSUME_SOCK_CLOEXEC): Likewise.
57 (__ASSUME_IN_NONBLOCK): Likewise.
58 (__ASSUME_PIPE2): Likewise.
59 (__ASSUME_EVENTFD2): Likewise.
60 (__ASSUME_SIGNALFD4): Likewise.
61 (__ASSUME_DUP3): Likewise.
62 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
63 (__ASSUME_O_CLOEXEC): Likewise.
64 (__ASSUME_SOCK_CLOEXEC): Likewise.
65 (__ASSUME_IN_NONBLOCK): Likewise.
66 (__ASSUME_PIPE2): Likewise.
67 (__ASSUME_EVENTFD2): Likewise.
68 (__ASSUME_SIGNALFD4): Likewise.
69 (__ASSUME_DUP3): Likewise.
70 * sysdeps/unix/sysv/linux/mips/kernel-features.h
71 (__ASSUME_EVENTFD2): Likewise.
72 (__ASSUME_SIGNALFD4): Likewise.
73 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
75 2014-05-12 Andreas Schwab <schwab@suse.de>
78 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
79 (_nss_nis_gethostbyname4_r): Return error if item length is larger
80 than maximum RPC packet size.
81 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
82 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
83 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
84 (_nss_nis_getservbyport_r): Likewise.
86 2014-05-12 Will Newton <will.newton@linaro.org>
88 * malloc/Makefile (tests): Add tst-mallopt.
89 * malloc/tst-mallopt.c: New file.
91 2014-05-09 Roland McGrath <roland@hack.frob.com>
93 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
94 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
96 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
98 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
99 (tst-tlsmod6.so): Likewise.
101 2014-05-09 Roland McGrath <roland@hack.frob.com>
103 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
105 2014-05-09 Joseph Myers <joseph@codesourcery.com>
108 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
110 (__fegetenv): Save SSE state in envp->__eip if supported.
111 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
112 envp->__eip if supported.
113 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
115 (__fesetenv): Always set __eip, __cs_selector, __opcode,
116 __data_offset and __data_selector in environment to 0. Set SSE
118 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
120 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
122 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
124 2014-05-09 Will Newton <will.newton@linaro.org>
126 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
127 and libc_relro_required for ARM.
128 * sysdeps/arm/preconfigure: Regenerate.
130 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
131 Stefan Liebler <stli@linux.vnet.ibm.com>
133 * config.make.in (enable-lock-elision): New Makefile variable.
134 * configure.ac: Likewise.
135 * configure: Regenerate.
136 * sysdeps/s390/configure.ac:
137 Add check for gcc transactions support.
138 * sysdeps/s390/configure: Regenerate.
139 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
140 Build elision files if enabled.
141 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
142 Add lock elision support for s390.
143 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
144 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
145 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
146 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
147 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
148 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
149 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
151 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
153 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
155 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
157 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
158 (__lll_timedlock_elision, __lll_lock_elision)
159 (__lll_unlock_elision, __lll_trylock_elision)
160 (lll_timedlock_elision, lll_lock_elision)
161 (lll_unlock_elision, lll_trylock_elision): Add.
162 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
163 (pthread_mutex_t): Add lock elision support for s390.
165 2014-05-09 Will Newton <will.newton@linaro.org>
167 * sysdeps/arm/armv7/strcmp.S: New file.
168 * NEWS: Mention addition of ARMv7 optimized strcmp.
170 2014-05-08 Roland McGrath <roland@hack.frob.com>
172 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
173 look for %.ac rather than %.in.
175 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
176 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
177 * sysdeps/mach/hurd/configure: Regenerated.
178 * sysdeps/unix/sysv/linux/configure: Regenerated.
180 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
182 2014-05-07 Steve Ellcey <sellcey@mips.com>
185 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
189 2014-05-07 Andreas Schwab <schwab@suse.de>
191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
192 when skipping over non-matching result from nscd.
194 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
197 * nptl/sockperf.c (client): Check socket return value.
200 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
203 2014-05-06 Roland McGrath <roland@hack.frob.com>
205 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
206 * sysdeps/arm/unwind.h: ... here.
208 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
211 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
214 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
216 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
217 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
218 multiarch strncpy for PPC64.
219 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
220 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
222 multiarch optimizations.
223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
224 (__libc_ifunc_impl_list): Likewise.
225 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
226 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
227 multiarch stpncpy for PPC64.
228 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
229 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
231 2014-05-06 Andreas Schwab <schwab@suse.de>
234 * gmon/mcount.c (_MCOUNT_DECL): Use
235 atomic_compare_and_exchange_bool_acq instead of
236 catomic_compare_and_exchange_bool_acq.
238 2014-05-05 Roland McGrath <roland@hack.frob.com>
240 * elf/Makefile (others, install-bin): Remove pldd.
241 (pldd-modules): Variable removed.
242 ($(objpfx)pldd): Target removed.
243 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
244 (others, install-bin): Append pldd here.
245 ($(objpfx)pldd): New target.
247 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
248 to 0, so the first #if test emitted later doesn't see it undefined.
249 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
250 * sysdeps/gnu/errlist.c: Regenerated.
252 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
254 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
255 [libc_hidden_builtin_def]: Define to empty value.
256 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
257 [libc_hidden_builtin_def]: Likewise.
258 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
259 [libc_hidden_builtin_def]: Likewise.
260 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
261 [libc_hidden_builtin_def]: Likewise.
262 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
263 __redirect_memcpy and define ifunc as default hidden symbol.
264 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
265 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
267 2014-05-04 Adam Conrad <adconrad@0c3.net>
269 * locale/iso-4217.def: Reintroduce XDR currency.
271 2014-05-04 Allan McRae <allan@archlinux.org>
273 * po/eo.po: Update Esperanto translation from translation project.
275 2014-05-02 Carlos O'Donell <carlos@redhat.com>
277 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
278 and FEATURE_INDEX_MAX to 1.
279 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
281 2014-05-01 Steve Ellcey <sellcey@mips.com>
283 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
284 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
285 * iconvdata/big5.c (ONE_DIRECTION): Define.
286 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
287 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
288 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
289 * iconvdata/cp932.c (ONE_DIRECTION): Define.
290 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
291 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
292 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
293 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
294 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
295 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
296 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
297 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
298 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
299 * iconvdata/gbk.c (ONE_DIRECTION): Define.
300 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
301 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
302 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
303 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
304 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
305 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
306 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
307 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
308 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
309 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
310 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
311 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
312 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
313 * iconvdata/iso646.c (ONE_DIRECTION): Define.
314 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
315 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
316 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
317 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
318 * iconvdata/johab.c (ONE_DIRECTION): Define.
319 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
320 * iconvdata/sjis.c (ONE_DIRECTION): Define.
321 * iconvdata/t.61.c (ONE_DIRECTION): Define.
322 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
323 * iconvdata/tscii.c (ONE_DIRECTION): Define.
324 * iconvdata/uhc.c (ONE_DIRECTION): Define.
325 * iconvdata/unicode.c (ONE_DIRECTION): Define.
326 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
327 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
328 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
330 2014-05-01 Roland McGrath <roland@hack.frob.com>
332 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
333 (_IO_JUMPS_OFFSET): Define to 0.
335 * nptl/sysdeps/pthread/bits/libc-lock.h
336 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
337 (__libc_lock_define_initialized_recursive): Always define using
338 initializer. Modern compilers treat uninitialized (implicit zero) and
339 explicit zero initializers the same (i.e. put the datum in bss).
341 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
343 * nscd/nscd-client.h: Include <string.h>.
345 2014-05-01 David S. Miller <davem@davemloft.net>
348 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
349 multiple zero bytes exist at the end of a string.
350 Reported by Aurelien Jarno <aurelien@aurel32.net>
352 * string/test-strcmp.c (check): Add explicit test for situations where
353 there are multiple zero bytes after the first.
355 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
358 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
359 when compiling wprintf.
360 * stdio-common/tstdiomisc.c (t3): New function.
363 2014-05-01 Steve Ellcey <sellcey@mips.com>
365 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
366 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
367 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
368 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
370 2014-05-01 Steve Ellcey <sellcey@mips.com>
372 * stdlib/longlong.h: Updated from GCC.
374 2014-05-01 Will Newton <will.newton@linaro.org>
375 Bernard Ogden <bernie.ogden@linaro.org>
377 * NEWS: Update fixed bug list.
380 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
382 2014-04-30 David S. Miller <davem@davemloft.net>
384 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
385 (libc_feholdexcept_setround_sparc_ctx): New function.
386 (libc_fesetenv_sparc_ctx): Likewise.
387 (libc_feupdateenv_sparc_ctx): Likewise.
388 (libc_feholdsetround_sparc_ctx): Likewise.
389 (libc_feholdexcept_setround_ctx): Define.
390 (libc_feholdexcept_setroundf_ctx): Likewise.
391 (libc_feholdexcept_setroundl_ctx): Likewise.
392 (libc_fesetenv_ctx): Likewise.
393 (libc_fesetenvf_ctx): Likewise.
394 (libc_fesetenvl_ctx): Likewise.
395 (libc_feupdateenv_ctx): Likewise.
396 (libc_feupdateenvf_ctx): Likewise.
397 (libc_feupdateenvl_ctx): Likewise.
398 (libc_feresetround_ctx): Likewise.
399 (libc_feresetroundf_ctx): Likewise.
400 (libc_feresetroundl_ctx): Likewise.
401 (libc_feholdsetround_ctx): Likewise.
402 (libc_feholdsetroundf_ctx): Likewise.
403 (libc_feholdsetroundl_ctx): Likewise.
405 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
406 with __USE_GNU instead of XOPEN cpp guards.
408 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
411 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
412 with XOPEN cpp guards.
414 2014-04-30 Julian Brown <julian@codesourcery.com>
417 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
420 2014-04-30 Joseph Myers <joseph@codesourcery.com>
423 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
425 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
426 * sysdeps/unix/sysv/linux/configure: Regenerated.
427 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
428 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
429 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
430 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
431 * README: Update reference to required Linux kernel version.
432 * manual/install.texi (Linux): Update reference to required Linux
433 kernel headers version.
434 * INSTALL: Regenerated.
436 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
438 [POSIX] (limits.h): Likewise.
439 [POSIX] (math.h): Likewise.
440 [POSIX] (sys/wait.h): Likewise.
441 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
443 [POSIX] (stddef.h): Do not allow header inclusion.
445 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
447 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
449 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
451 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
452 Return immediately after lll_futex_wake.
454 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
457 * nscd/nscd-client.h (datahead_init_common): Initialize entire
459 (datahead_init_pos): Call datahead_init_common early.
460 (datahead_init_neg): Likewise.
462 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
463 datahead_init_neg): New functions.
464 * nscd/aicache.c (addhstaiX): Use them.
465 * nscd/grpcache.c (cache_addgr): Likewise.
466 * nscd/hstcache.c (cache_addhst): Likewise.
467 * nscd/initgrcache.c (addinitgroupsX): Likewise.
468 * nscd/netgroupcache.c (do_notfound): Likewise.
469 (addgetnetgrentX): Likewise.
470 (addinnetgrX): Likewise.
471 * nscd/pwdcache.c (cache_addpw): Likewise.
472 * nscd/servicescache.c (cache_addserv): Likewise.
474 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
475 Atsushi Onoe <atsushi@onoe.org>
480 * resolv/res_query.c (__libc_res_nsearch): Return if at least
481 one response is valid.
482 * resolv/res_send.c (send_dg): Check for validity of other
483 response if the current response is a referral.
485 2014-04-29 Steve Ellcey <sellcey@mips.com>
487 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
489 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
492 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
493 Always divide by positive zero when computing -Inf result.
494 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
495 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
497 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
499 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
500 FPSCR if value do not change.
501 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
502 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
503 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
504 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
505 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
506 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
509 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
511 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
512 * sysdeps/unix/sysv/linux/hppa: Move directory from
513 ports/systeps/unix/sysv/linux/hppa.
514 * README: Update listing for hppa-*-linux-gnu.
516 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
519 * manual/stdio.texi (Hook functions): Fix types of stream hook
522 * socket/sys/socket.h: Fix typo in comment.
524 2014-04-28 Wilco <wdijkstr@arm.com>
526 * sysdeps/arm/fenv_private.h: New file.
527 * sysdeps/arm/math_private.h: New file.
528 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
530 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
532 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
534 (La_x86_64_retval): Likewise.
536 2014-04-24 Ian Bolton <ian.bolton@arm.com>
538 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
539 fpsr if value didn't change.
540 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
541 to fpcr if value didn't change.
542 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
543 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
544 fpsr or fpcr if value didn't change.
545 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
546 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
547 fpcr if value didn't change.
548 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
549 to fpsr if value didn't change.
551 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
553 * nptl/tst-sem3.c: Use test-skeleton.c
554 (main): Rename to do_test. Use return instead of
556 * nptl/tst-sem4.c: Use test-skeleton.c
557 (main): Rename to do_test.
559 2014-04-22 David S. Miller <davem@davemloft.net>
561 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
562 (struct sigaction): New struct member __glibc_reserved0, change
563 type of sa_flags to int.
565 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
567 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
568 (COUNT_LEADING_ZEROS_0): Define for AArch64.
570 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
572 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
573 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
575 2014-04-22 Will Newton <will.newton@linaro.org>
576 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
578 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
579 (__longjmp): Add longjmp and longjmp_target SystemTap
581 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
582 (__sigsetjmp): Add setjmp SystemTap probe.
584 2014-04-17 Carlos O'Donell <carlos@redhat.com>
586 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
589 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
591 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
593 * sysdeps/powerpc/fpu/fenv_private.h
594 (libc_feholdexcept_setroundl_ctx): Define to
595 libc_feholdexcept_setround_ppc_ctx.
596 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
597 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
598 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
599 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
601 2014-04-17 Ian Bolton <ian.bolton@arm.com>
603 * sysdeps/aarch64/math-tests.h: New file.
605 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
607 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
610 Check and set bit_AVX2_Usable.
611 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
613 (bit_AVX2): Likewise.
614 (index_AVX2_Usable): Likewise.
615 (CPUID_AVX2): Likewise.
616 (HAS_AVX2): Likewise.
618 2014-04-17 Will Newton <will.newton@linaro.org>
620 * manual/setjmp.texi (System V contexts): Add note that
621 calling setcontext on a context created by a call to a
622 signal handler is undefined. Update text to note that
623 setcontext from a signal handler is possible but not
627 * stdlib/tst-setcontext.c: Include signal.h.
628 (main): Check that the signal stack before and
629 after swapcontext is the same.
631 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
632 Re-implement to restore registers in user code and avoid
633 rt_sigreturn system call.
635 2014-04-17 Wilco <wdijkstr@arm.com>
637 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
638 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
639 * math/test-fenv.c: Skip exception trap tests on targets which only
640 support non-stop mode.
642 2014-04-17 Ian Bolton <ian.bolton@arm.com>
643 Wilco Dijkstra <wilco.dijkstra@arm.com>
645 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
646 (libc_feholdsetround_aarch64_ctx)
647 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
648 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
649 (libc_feresetround_ctx, libc_feresetroundf_ctx)
650 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
651 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
652 (libc_feresetround_noexl_ctx): Define.
654 2014-04-16 Richard Henderson <rth@redhat.com>
656 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
658 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
661 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
662 const from the non-libc, non-ldso copy.
664 * sysdeps/alpha/libm-test-ulps: Regenerate.
666 2014-04-16 Ian Bolton <ian.bolton@arm.com>
667 Wilco Dijkstra <wilco.dijkstra@arm.com>
669 * sysdeps/aarch64/fpu/math_private.h: New file.
671 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
673 * sysdeps/aarch64/libm-test-ulps: Regenerate.
675 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
677 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
678 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
680 Intel MPX bound registers before _dl_profile_fixup.
681 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
682 registers after _dl_profile_fixup. Save and restore bound
683 registers bnd0/bnd1 when calling _dl_call_pltexit.
684 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
685 (LR_BND_OFFSET): Likewise.
686 (LRV_BND0_OFFSET): Likewise.
687 (LRV_BND1_OFFSET): Likewise.
689 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
691 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
693 * sysdeps/mach/hurd/i386/tls.h: ... here.
694 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
695 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
698 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
700 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
702 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
704 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
706 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
709 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
710 * sysdeps/s390/configure: Regenerate.
713 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
714 Set round-to-nearest internally to reduce error accumulation.
716 2014-04-16 Alan Modra <amodra@gmail.com>
720 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
721 * math/libm-test.inc (frexp_test_data): Add tests.
722 * NEWS: Update fixed bug list.
724 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
726 * benchtests/Makefile: Depend on libraries in build directory.
727 (bench-math): Separate out math tests.
728 (bench-pthread): Separate out pthread tests.
729 (bench): Include math and pthread tests.
731 2014-04-14 Carlos O'Donell <carlos@redhat.com>
734 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
735 _dl_debug_initialize.
737 * configure.ac: Remove SELinux header check.
738 * configure: Regenerate.
739 * nscd/selinux.c (perms): Array of const char* to permission names.
740 (nscd_request_avc_has_perm): Call security_deny_unknown to find
741 default policy. Call string_to_security_class and string_to_av_perm to
742 translate strings. Enforce default policy and call avs_has_perm with
743 results of translated strings.
745 2014-04-13 David S. Miller <davem@davemloft.net>
747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
749 2014-04-12 Allan McRae <allan@archlinux.org>
752 * manual/string.texi (Collation Functions): Fix qsort argument
754 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
756 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
758 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
759 Make the test a no-op if there are no exceptions defined.
761 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
763 * elf/Makefile (tests): make tst-dlopen-aout conditional on
764 enable-hardcoded-path-in-tests
766 2014-04-11 Will Newton <will.newton@linaro.org>
768 * benchtests/Makefile (extra-objs): Add json-lib.o.
769 (bench-func): Tidy up JSON output.
770 * benchtests/bench-skeleton.c: Include json-lib.h.
771 (main): Use JSON library functions to do output of
773 * benchtests/bench-timing-type.c (main): Output the
774 timing type simply, leaving formatting to the user.
775 * benchtests/json-lib.c: New file.
776 * benchtests/json-lib.h: Likewise.
778 2014-04-11 Torvald Riegel <triegel@redhat.com>
781 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
782 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
783 memory barriers. Add comments.
784 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
785 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
786 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
787 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
788 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
789 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
791 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
793 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
794 * sysdeps/s390/s390-64/configure.ac: ... this ...
795 * sysdeps/s390/configure.ac: ... to here.
796 * sysdeps/s390/s390-32/configure: Delete file.
797 * sysdeps/s390/s390-64/configure: Delete file.
798 * sysdeps/s390/configure: Regenerate.
800 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
802 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
804 2014-04-11 Will Newton <will.newton@linaro.org>
806 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
807 to zero if it is not defined elsewhere. (mtrim): Test
808 the value of MALLOC_DEBUG with #if rather than #ifdef.
810 2014-04-10 Torvald Riegel <triegel@redhat.com>
812 * benchtests/pthread_once-inputs: New file.
813 * benchtests/pthread_once-source.c: New file.
814 * benchtests/README: Update documentation.
816 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
817 H.J. Lu <hongjiu.lu@intel.com>
819 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
820 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
821 * sysdeps/x86_64/configure: Regenerated.
822 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
824 (REGISTER_SAVE_RAX): Likewise.
825 (REGISTER_SAVE_RCX): Likewise.
826 (REGISTER_SAVE_RDX): Likewise.
827 (REGISTER_SAVE_RSI): Likewise.
828 (REGISTER_SAVE_RDI): Likewise.
829 (REGISTER_SAVE_R8): Likewise.
830 (REGISTER_SAVE_R9): Likewise.
831 (REGISTER_SAVE_BND0): Likewise.
832 (REGISTER_SAVE_BND1): Likewise.
833 (REGISTER_SAVE_BND2): Likewise.
834 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
835 bound registers when calling _dl_fixup.
837 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
839 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
840 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
842 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
843 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
844 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
845 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
846 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
847 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
848 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
850 2014-04-09 Peter Brett <peter@peter-b.co.uk>
853 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
854 pathconf(_PC_NAME_MAX).
856 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
858 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
860 (__PTHREAD_SPINS): Move definition to ...
861 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
862 (__PTHREAD_SPINS): ... here.
863 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
864 (__PTHREAD_SPIN): Likewise.
865 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
866 (__PTHREAD_SPIN): Likewise.
867 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
868 (__PTHREAD_SPIN): Likewise.
869 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
870 (__PTHREAD_SPIN): Likewise.
871 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
872 (__PTHREAD_SPIN): Likewise.
873 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
874 (__PTHREAD_SPIN): Likewise.
875 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
876 (__PTHREAD_SPIN): Likewise.
877 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
878 (__PTHREAD_SPIN): Likewise.
879 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
880 (__PTHREAD_SPIN): Likewise.
881 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
882 (__PTHREAD_SPIN): Likewise.
883 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
884 (__PTHREAD_SPIN): Likewise.
885 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
886 (__PTHREAD_SPIN): Likewise.
888 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
889 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
890 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
891 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
893 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
894 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
895 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
896 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
898 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
899 strlen symbol for non multi-arch builds.
900 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
901 missing hidden_def and weak_alias.
903 2014-04-08 Carlos O'Donell <carlos@redhat.com>
905 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
907 2014-04-07 Will Newton <will.newton@linaro.org>
909 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
910 and contents. [!_LIBC] Remove #ifndef and contents.
911 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
912 * string/memccpy.c (__memccpy): Use ANSI prototype.
913 * string/memfrob.c (memfrob): Likewise.
914 * string/strcoll.c (STRCOLL): Likewise.
915 * string/strlen.c (strlen): Likewise.
916 * string/strtok.c (STRTOK): Likewise.
917 * string/strcat.c: Remove unused #include of memcopy.h.
918 (strcat): Use ANSI prototype.
919 * string/strchr.c: Remove unused #include of memcopy.h.
920 (strchr): Use ANSI prototype.
921 * string/strcmp.c: Remove unused #include of memcopy.h.
922 (strcmp): Use ANSI prototype.
923 * string/strcpy.c: Remove unused #include of memcopy.h.
924 (strcpy): Use ANSI prototype.
926 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
928 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
929 * config.make.in (config-extra-cppflags): Set it from
931 * configure.ac (libc_extra_cflags): Make it accumulate over
933 (libc_extra_cppflags): New flag.
934 * configure. Regenerate.
935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
936 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
937 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
941 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
942 result for FE_DOWNWARD rounding mode.
943 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
947 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
949 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
950 in function argument name.
952 2014-04-03 David Svoboda <svoboda@cert.org>
955 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
958 2014-04-03 Roland McGrath <roland@hack.frob.com>
960 * elf/dl-unmap-segments.h: New file.
961 * sysdeps/generic/ldsodefs.h
962 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
963 * elf/dl-close.c: Include <dl-unmap-segments.h>.
964 * elf/dl-fptr.c: Likewise.
965 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
966 * sysdeps/aarch64/tlsdesc.c: Likewise.
967 * sysdeps/arm/tlsdesc.c: Likewise.
968 * sysdeps/i386/tlsdesc.c: Likewise.
969 * sysdeps/tile/dl-runtime.c: Likewise.
970 * sysdeps/x86_64/tlsdesc.c: Likewise.
971 * elf/dl-load.h: New file.
972 * elf/dl-load.c: Include it.
973 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
974 Macros moved to dl-load.h.
975 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
976 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
977 Use _dl_unmap_segments in place of __munmap.
978 Break out segment-mapping loop into ...
979 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
981 2014-04-03 Will Newton <will.newton@linaro.org>
983 * elf/dl-lookup.c (do_lookup_x): Remove comment
984 referring to nested function and move variable
985 declarations down to before first use.
987 2014-04-02 Joseph Myers <joseph@codesourcery.com>
991 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
993 * math/s_catanf.c (__catanf): Likewise.
994 * math/s_catanh.c (__catanh): Likewise.
995 * math/s_catanhf.c (__catanhf): Likewise.
996 * math/s_catanhl.c (__catanhl): Likewise.
997 * math/s_catanl.c (__catanl): Likewise.
998 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
999 by positive zero when computing -Inf result.
1000 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1001 (catanh_test): Likewise.
1002 * sysdeps/i386/fpu/libm-test-ulps: Update.
1003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1006 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1007 instead of using underflowing value in computing result.
1008 * math/s_clog10.c (__clog10): Likewise.
1009 * math/s_clog10f.c (__clog10f): Likewise.
1010 * math/s_clog10l.c (__clog10l): Likewise.
1011 * math/s_clogf.c (__clogf): Likewise.
1012 * math/s_clogl.c (__clogl): Likewise.
1013 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1014 (clog10_test): Likewise.
1015 * sysdeps/i386/fpu/libm-test-ulps: Update.
1016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1018 2014-04-02 Alan Modra <amodra@gmail.com>
1021 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1022 output when value is near a power of two. Use int64_t for lx and
1023 remove casts. Use decimal rather than hex exponent constants.
1024 Don't use long double multiplication when double will suffice.
1025 * math/libm-test.inc (nextafter_test_data): Add tests.
1026 * NEWS: Add 16739 and 16786 to bug list.
1028 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1030 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1032 2014-04-01 Will Newton <will.newton@linaro.org>
1034 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1035 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1037 2014-04-01 Florian Weimer <fweimer@redhat.com>
1040 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1041 * nptl/tst-setuid2.c: New file.
1042 * nptl/Makefile (xtests): Add tst-setuid2.
1044 2014-04-01 Alan Modra <amodra@gmail.com>
1047 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1049 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1053 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1054 set errno as appropriate.
1055 * math/w_scalbf.c (__scalbf): Likewise.
1056 * math/w_scalbl.c (__scalbl): Likewise.
1057 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1058 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1059 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1063 * math/w_atan2.c: Include <errno.h>.
1064 (__atan2): Set errno for result underflowing to zero.
1065 * math/w_atan2f.c: Include <errno.h>.
1066 (__atan2f): Set errno for result underflowing to zero.
1067 * math/w_atan2l.c: Include <errno.h>.
1068 (__atan2l): Set errno for result underflowing to zero.
1069 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1071 * math/auto-libm-test-out: Regenerated.
1073 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1075 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1076 Encode instruction correctly in little endian.
1077 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1079 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1081 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1083 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1086 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1089 * sysdeps/unix/sysv/linux/kernel-features.h
1090 [__sparc__ && !__arch64__ && !__sparc_v9__]
1091 (__ASSUME_SET_ROBUST_LIST): Do not define.
1092 [__sparc__ && !__arch64__ && !__sparc_v9__]
1093 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1094 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1096 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1097 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1098 (__ASSUME_REQUEUE_PI): Likewise.
1099 (__ASSUME_SET_ROBUST_LIST): Likewise.
1100 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1101 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1103 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1104 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1106 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1108 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1110 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1111 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1113 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1114 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1118 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1119 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1120 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1122 2014-03-31 Will Newton <will.newton@linaro.org>
1124 * benchtests/Makefile (bench): Add ffs and ffsll to list
1126 * benchtests/ffs-inputs: New file.
1127 * benchtests/ffsll-inputs: Likewise.
1129 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1132 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1133 too large before casting to int.
1134 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1135 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1136 * math/libm-test.inc (scalb_test_data): Add more tests.
1138 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1140 * benchtests/Makefile (DETAILED_OPT): New make option.
1141 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1143 * benchtests/bench-skeleton.c: Include stdbool.h.
1144 (main): Store and print timings per input.
1145 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1146 member to each argument value.
1147 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1148 (_print_arg_data): Initialize per-input timing to 0.
1150 * benchtests/Makefile (timing-type): New binary.
1151 (bench-clean): Also remove bench-timing-type.
1152 (bench): New target for timing-type.
1153 (bench-func): Print output in JSON format.
1154 * benchtests/bench-skeleton.c (main): Print output in JSON
1156 * benchtests/bench-timing-type.c: New file.
1157 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1158 (TIMING_PRINT_STATS): Remove.
1159 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1162 * benchtests/bench-modf.c: Remove.
1163 * benchtests/modf-inputs: New inputs file.
1165 2014-03-28 Joseph Myers <joseph@codesourcery.com>
1168 * math/s_clog10.c (M_PI_LOG10E): New macro.
1169 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1170 imaginary parts are 0.
1171 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1172 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1173 imaginary parts are 0.
1174 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1175 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1176 imaginary parts are 0.
1177 * math/libm-test.inc (clog10_test_data): Update expected results
1178 for when real and imaginary parts are 0.
1180 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1182 * elf/dl-load.c: Finish conversion of __builtin_expect into
1185 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1188 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1189 1+x for argument with exponent below -67.
1190 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1192 * math/auto-libm-test-in: Add more tests of exp.
1193 * math/auto-libm-test-out: Regenerated.
1195 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1198 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1199 (nscd_getnetgrent): Use it.
1202 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1205 2014-03-27 Andi Kleen <ak@linux.intel.com>
1207 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1208 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1209 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1210 (lll_robust_unlock): Remove out of line section. Use cfi
1212 (LLL_STUB_UNWIND_INFO*): Remove.
1213 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1214 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1215 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1216 (lll_robust_unlock): Remove out of line section. Use cfi
1218 (LLL_STUB_UNWIND_INFO*): Remove.
1220 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1223 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1226 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1228 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1230 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1233 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1235 * math/test-fenv-preserve.c: New file.
1236 * math/Makefile (tests): Add test-fenv-preserve.
1238 2014-03-26 Will Newton <will.newton@linaro.org>
1240 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1242 2014-03-25 Roland McGrath <roland@hack.frob.com>
1244 * scripts/versionlist.awk: Partition the version sets and emit all
1245 GLIBC_* (sorted) before all others (sorted).
1247 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1249 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1250 GLIBC_2.2.5 version.
1252 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1254 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1257 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1262 2014-03-25 Andreas Schwab <schwab@suse.de>
1264 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1265 label to be used after in6ailist is initialized.
1267 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1269 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1270 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1272 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1276 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1278 (fp_formats): Update initializers.
1279 (init_fp_formats): Initialize new field.
1280 (output_for_one_input_case): Allow underflow for results up to
1282 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1283 * math/auto-libm-test-in: Don't mark some underflows from asin and
1285 * math/auto-libm-test-out: Regenerated.
1286 * sysdeps/i386/fpu/libm-test-ulps: Update.
1287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1289 2014-03-25 Andreas Schwab <schwab@suse.de>
1291 * libio/Makefile (tst-ftell-partial-wide-ENV)
1292 (tst-ftell-active-handler-ENV): Define.
1294 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1296 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1298 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1300 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1302 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1304 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1305 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1306 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1308 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1311 * elf/dl-load.c (open_verify): Add mode parameter.
1312 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1313 (open_path): Change from boolean 'secure' to complete flag 'mode'
1314 (_dl_map_object): Adjust.
1315 * elf/Makefile (tests): Add tst-dlopen-aout.
1316 * elf/tst-dlopen-aout.c: New test.
1318 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1321 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1322 (struct stat): Rename member pad0 to __glibc_reserved0.
1325 * sysdeps/s390/s390-32/bits/wordsize.h
1326 (__WORDSIZE32_SIZE_ULONG): New define.
1327 * sysdeps/s390/s390-64/bits/wordsize.h
1328 (__WORDSIZE32_SIZE_ULONG): Likewise.
1329 * sysdeps/generic/stdint.h (SIZE_MAX):
1330 Define as UL if __WORDSIZE32_SIZE_ULONG.
1333 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1334 (__glibc_reserved0): New variable.
1335 (sa_flags): Change type to int.
1337 * posix/Makefile (before-compile): Use += before-compile instead
1340 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1341 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1343 2014-03-20 Andreas Schwab <schwab@suse.de>
1346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1347 non-matching result from nscd.
1349 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1351 * scripts/bench.py: Moved to ...
1352 * benchtests/scripts/bench.py: ... here.
1353 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1355 2014-03-24 Andreas Schwab <schwab@suse.de>
1358 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1359 alloca_account and account alloca use for struct in6ailist.
1361 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1364 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1365 rounding mode to recompute results that overflow to infinity or
1367 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1369 * math/auto-libm-test-out: Regenerated.
1370 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1371 (ccosh_test): Likewise.
1372 (csin_test_data): Use plus_oflow.
1373 (csin_test): Use ALL_RM_TEST.
1374 (csinh_test_data): Use plus_oflow.
1375 (csinh_test): Use ALL_RM_TEST.
1376 * sysdeps/i386/fpu/libm-test-ulps: Update.
1377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1379 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1381 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1382 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1383 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1386 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1388 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1389 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1390 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1391 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1393 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1394 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1396 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1397 * sysdeps/i386/fpu/libm-test-ulps: Update.
1398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1400 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1402 * scripts/bench.pl: Remove file.
1403 * scripts/bench.py: New benchmark script.
1404 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1405 * benchtests/README: Mention python dependency.
1406 * scripts/pylintrc: New file.
1407 * scripts/pylint: New file.
1409 * bits/mathdef.h: Use #ifdef instead of #if.
1410 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1411 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1412 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1413 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1414 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1415 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1417 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1418 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1420 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1422 and strpbrk-ppc64 objects.
1423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1424 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1425 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1426 multiarch strpbrk for POWER7.
1427 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1428 multiarch strpbrk for PPC64.
1429 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1431 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1434 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1436 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1437 (atan_test): Likewise.
1438 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1439 (atanh_test): Use ALL_RM_TEST.
1440 (atan2_test_data): Likewise.
1441 (cabs_test): Likewise.
1442 (cacosh_test): Likewise.
1443 (carg_test): Likewise.
1444 (casin_test): Likewise.
1445 (casinh_test): Likewise.
1446 (cbrt_test): Likewise.
1447 (csqrt_test): Likewise.
1448 (erf_test): Likewise.
1449 (erfc_test): Likewise.
1450 (pow10_test): Likewise.
1451 (exp2_test): Likewise.
1452 (hypot_test): Likewise.
1453 (j0_test): Likewise.
1454 (j1_test): Likewise.
1455 (lgamma_test): Likewise.
1456 (gamma_test): Likewise.
1457 (sincos_test): Likewise.
1458 (tanh_test): Likewise.
1459 (y0_test): Likewise.
1460 (y1_test): Likewise.
1461 * sysdeps/i386/fpu/libm-test-ulps: Update.
1462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1464 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1466 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1468 and strcspn-ppc64 objects.
1469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1470 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1471 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1472 multiarch strcspn for POWER7.
1473 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1474 multiarch strcspn for PPC64.
1475 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1477 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1480 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1482 * math/gen-libm-test.pl (generate_testfile): Expect only function
1483 name as argument to AUTO_TESTS_* and pass results for all rounding
1484 modes to parse_args.
1485 (parse_auto_input): Separate inputs of automatic tests from
1486 outputs before storing in %auto_tests.
1487 * math/libm-test.inc (acos_test_data): Update call to
1489 (acos_test): Use ALL_RM_TEST.
1490 (acos_tonearest_test_data): Remove.
1491 (acos_test_tonearest): Likewise.
1492 (acos_towardzero_test_data): Likewise.
1493 (acos_test_towardzero): Likewise.
1494 (acos_downward_test_data): Likewise.
1495 (acos_test_downward): Likewise.
1496 (acos_upward_test_data): Likewise.
1497 (acos_test_upward): Likewise.
1498 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1499 (asin_test_data): Likewise.
1500 (asin_test): Use ALL_RM_TEST.
1501 (asin_tonearest_test_data): Remove.
1502 (asin_test_tonearest): Likewise.
1503 (asin_towardzero_test_data): Likewise.
1504 (asin_test_towardzero): Likewise.
1505 (asin_downward_test_data): Likewise.
1506 (asin_test_downward): Likewise.
1507 (asin_upward_test_data): Likewise.
1508 (asin_test_upward): Likewise.
1509 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1510 (atan_test_data): Likewise.
1511 (atanh_test_data): Likewise.
1512 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1513 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1514 (carg_test_data): Likewise.
1515 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1516 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1517 (ccosh_test_data): Likewise.
1518 (cexp_test_data): Likewise.
1519 (clog_test_data): Likewise.
1520 (clog10_test_data): Likewise.
1521 (cos_test_data): Update call to AUTO_TESTS_f_f.
1522 (cos_test): Use ALL_RM_TEST.
1523 (cos_tonearest_test_data): Remove.
1524 (cos_test_tonearest): Likewise.
1525 (cos_towardzero_test_data): Likewise.
1526 (cos_test_towardzero): Likewise.
1527 (cos_downward_test_data): Likewise.
1528 (cos_test_downward): Likewise.
1529 (cos_upward_test_data): Likewise.
1530 (cos_test_upward): Likewise.
1531 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1532 (cosh_test): Use ALL_RM_TEST.
1533 (cosh_tonearest_test_data): Remove.
1534 (cosh_test_tonearest): Likewise.
1535 (cosh_towardzero_test_data): Likewise.
1536 (cosh_test_towardzero): Likewise.
1537 (cosh_downward_test_data): Likewise.
1538 (cosh_test_downward): Likewise.
1539 (cosh_upward_test_data): Likewise.
1540 (cosh_test_upward): Likewise.
1541 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1542 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1543 (ctan_test_data): Likewise.
1544 (ctan_test): Use ALL_RM_TEST.
1545 (ctan_tonearest_test_data): Remove.
1546 (ctan_test_tonearest): Likewise.
1547 (ctan_towardzero_test_data): Likewise.
1548 (ctan_test_towardzero): Likewise.
1549 (ctan_downward_test_data): Likewise.
1550 (ctan_test_downward): Likewise.
1551 (ctan_upward_test_data): Likewise.
1552 (ctan_test_upward): Likewise.
1553 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1554 (ctanh_test): Use ALL_RM_TEST.
1555 (ctanh_tonearest_test_data): Remove.
1556 (ctanh_test_tonearest): Likewise.
1557 (ctanh_towardzero_test_data): Likewise.
1558 (ctanh_test_towardzero): Likewise.
1559 (ctanh_downward_test_data): Likewise.
1560 (ctanh_test_downward): Likewise.
1561 (ctanh_upward_test_data): Likewise.
1562 (ctanh_test_upward): Likewise.
1563 (erf_test_data): Update call to AUTO_TESTS_f_f.
1564 (erfc_test_data): Likewise.
1565 (exp_test_data): Likewise.
1566 (exp_test): Use ALL_RM_TEST.
1567 (exp_tonearest_test_data): Remove.
1568 (exp_test_tonearest): Likewise.
1569 (exp_towardzero_test_data): Likewise.
1570 (exp_test_towardzero): Likewise.
1571 (exp_downward_test_data): Likewise.
1572 (exp_test_downward): Likewise.
1573 (exp_upward_test_data): Likewise.
1574 (exp_test_upward): Likewise.
1575 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1576 (exp10_test): Use ALL_RM_TEST.
1577 (exp10_tonearest_test_data): Remove.
1578 (exp10_test_tonearest): Likewise.
1579 (exp10_towardzero_test_data): Likewise.
1580 (exp10_test_towardzero): Likewise.
1581 (exp10_downward_test_data): Likewise.
1582 (exp10_test_downward): Likewise.
1583 (exp10_upward_test_data): Likewise.
1584 (exp10_test_upward): Likewise.
1585 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1586 (expm1_test_data): Likewise.
1587 (expm1_test): Use ALL_RM_TEST.
1588 (expm1_tonearest_test_data): Remove.
1589 (expm1_test_tonearest): Likewise.
1590 (expm1_towardzero_test_data): Likewise.
1591 (expm1_test_towardzero): Likewise.
1592 (expm1_downward_test_data): Likewise.
1593 (expm1_test_downward): Likewise.
1594 (expm1_upward_test_data): Likewise.
1595 (expm1_test_upward): Likewise.
1596 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1597 (fma_test): Use ALL_RM_TEST.
1598 (fma_towardzero_test_data): Remove.
1599 (fma_test_towardzero): Likewise.
1600 (fma_downward_test_data): Likewise.
1601 (fma_test_downward): Likewise.
1602 (fma_upward_test_data): Likewise.
1603 (fma_test_upward): Likewise.
1604 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1605 (j0_test_data): Update call to AUTO_TESTS_f_f.
1606 (j1_test_data): Likewise.
1607 (jn_test_data): Update call to AUTO_TESTS_if_f.
1608 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1609 (log_test_data): Update call to AUTO_TESTS_f_f.
1610 (log10_test_data): Likewise.
1611 (log1p_test_data): Likewise.
1612 (log2_test_data): Likewise.
1613 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1614 (pow_tonearest_test_data): Likewise.
1615 (sin_test_data): Update call to AUTO_TESTS_f_f.
1616 (sin_test): Use ALL_RM_TEST.
1617 (sin_tonearest_test_data): Remove.
1618 (sin_test_tonearest): Likewise.
1619 (sin_towardzero_test_data): Likewise.
1620 (sin_test_towardzero): Likewise.
1621 (sin_downward_test_data): Likewise.
1622 (sin_test_downward): Likewise.
1623 (sin_upward_test_data): Likewise.
1624 (sin_test_upward): Likewise.
1625 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1626 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1627 (sinh_test): Use ALL_RM_TEST.
1628 (sinh_tonearest_test_data): Remove.
1629 (sinh_test_tonearest): Likewise.
1630 (sinh_towardzero_test_data): Likewise.
1631 (sinh_test_towardzero): Likewise.
1632 (sinh_downward_test_data): Likewise.
1633 (sinh_test_downward): Likewise.
1634 (sinh_upward_test_data): Likewise.
1635 (sinh_test_upward): Likewise.
1636 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1637 (sqrt_test): Use ALL_RM_TEST.
1638 (sqrt_tonearest_test_data): Remove.
1639 (sqrt_test_tonearest): Likewise.
1640 (sqrt_towardzero_test_data): Likewise.
1641 (sqrt_test_towardzero): Likewise.
1642 (sqrt_downward_test_data): Likewise.
1643 (sqrt_test_downward): Likewise.
1644 (sqrt_upward_test_data): Likewise.
1645 (sqrt_test_upward): Likewise.
1646 (tan_test_data): Update call to AUTO_TESTS_f_f.
1647 (tan_test): Use ALL_RM_TEST.
1648 (tan_tonearest_test_data): Remove.
1649 (tan_test_tonearest): Likewise.
1650 (tan_towardzero_test_data): Likewise.
1651 (tan_test_towardzero): Likewise.
1652 (tan_downward_test_data): Likewise.
1653 (tan_test_downward): Likewise.
1654 (tan_upward_test_data): Likewise.
1655 (tan_test_upward): Likewise.
1656 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1657 (tgamma_test_data): Likewise.
1658 (y0_test_data): Likewise.
1659 (y1_test_data): Likewise.
1660 (yn_test_data): Update call to AUTO_TESTS_if_f.
1661 (main): Do not call removed functions.
1663 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1665 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1666 (ldexp_test_data): Remove.
1667 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1669 (scalb_test): Use ALL_RM_TEST.
1671 2014-03-19 Andreas Schwab <schwab@suse.de>
1673 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1675 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1678 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1679 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1680 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1681 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1682 (__ASSUME_PREADV): Undefine.
1683 (__ASSUME_PWRITEV): Likewise.
1685 2014-03-18 Roland McGrath <roland@hack.frob.com>
1687 * bits/mman-linux.h: Add comment about non-Linux use.
1688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1689 bits/mman-linux.h resting place.
1691 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1692 * bits/mman-linux.h: ... here.
1694 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1696 * conform/conformtest.pl: Add standard definition when calling C
1697 preprocessor on data files.
1698 (checknamespace): Remove unused variable.
1700 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1702 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1703 minus_oflow, plus_uflow and minus_uflow in expected results.
1704 * math/libm-test.inc (scalbn_test_data): Add more tests of
1705 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1707 (scalbn_test): Use ALL_RM_TEST.
1708 (scalbln_test_data): Add more tests of negative arguments. Use
1709 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1710 (scalbln_test): Use ALL_RM_TEST.
1712 2014-03-18 Roland McGrath <roland@hack.frob.com>
1714 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1716 2014-03-18 Will Newton <will.newton@linaro.org>
1718 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1721 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1723 * Makerules [!subdir] (check-abi): Exit with error status if a
1726 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1728 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1729 for rint. Include results for all rounding modes.
1730 (nearbyint_test): Use ALL_RM_TEST.
1731 (rint_test_data): Include all tests used for nearbyint.
1733 2014-03-17 Will Newton <will.newton@linaro.org>
1735 * nptl/sysdeps/pthread/pthread.h: Revert previous
1738 * sysdeps/generic/ldsodefs.h: Revert previous
1741 * libio/genops.c: Revert previous change.
1742 * libio/libioP.h: Likewise.
1743 * stdio-common/vfprintf.c: Likewise.
1745 * sysdeps/generic/math_private.h: Revert previous
1748 * sysdeps/generic/math_private.h: Check whether
1749 HAVE_RM_CTX is defined with #ifdef rather
1752 * argp/argp-fmtstream.h: Check whether
1753 __STRICT_ANSI__ is defined with #ifdef rather
1755 * argp/argp.h: Likewise.
1757 * libio/genops.c: Check whether
1758 _IO_JUMPS_OFFSET is defined with #ifdef rather
1760 * libio/libioP.h: Likewise.
1761 * stdio-common/vfprintf.c: Likewise.
1763 * sysdeps/generic/ldsodefs.h: Check whether
1764 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1767 * nptl/sysdeps/pthread/pthread.h: Check
1768 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1771 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1773 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1775 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1779 * libio/fileops.c (_IO_file_open): Seek to end of file but
1780 don't cache the offset.
1781 (get_file_offset): Remove function.
1782 (do_ftell): Use cached offset when available.
1783 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1784 don't cache the offset.
1785 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1787 (do_one_test): Call it.
1788 (do_ftell_test): Fix up expected old offset for a+ mode.
1789 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1792 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1793 up test status with function return status.
1794 (do_write_test): Likewise.
1795 (do_append_test): Likewise.
1797 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1798 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1801 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1803 * math/gen-libm-test.pl (parse_args): Handle results specified for
1804 each rounding mode separately.
1805 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1806 tests and results from lrint_tonearest_test_data,
1807 lrint_towardzero_test_data, lrint_downward_test_data and
1808 lrint_upward_test_data.
1809 (lrint_test): Use ALL_RM_TEST.
1810 (lrint_tonearest_test_data): Remove.
1811 (lrint_test_tonearest): Likewise.
1812 (lrint_towardzero_test_data): Likewise.
1813 (lrint_test_towardzero): Likewise.
1814 (lrint_downward_test_data): Likewise.
1815 (lrint_test_downward): Likewise.
1816 (lrint_upward_test_data): Likewise.
1817 (lrint_test_upward): Likewise.
1818 (llrint_test_data): Merge in per-rounding-mode tests and results
1819 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1820 llrint_downward_test_data and llrint_upward_test_data.
1821 (llrint_test): Use ALL_RM_TEST.
1822 (llrint_tonearest_test_data): Remove.
1823 (llrint_test_tonearest): Likewise.
1824 (llrint_towardzero_test_data): Likewise.
1825 (llrint_test_towardzero): Likewise.
1826 (llrint_downward_test_data): Likewise.
1827 (llrint_test_downward): Likewise.
1828 (llrint_upward_test_data): Likewise.
1829 (llrint_test_upward): Likewise.
1830 (rint_test_data): Merge in per-rounding-mode tests and results
1831 from rint_tonearest_test_data, rint_towardzero_test_data,
1832 rint_downward_test_data and rint_upward_test_data. Add
1833 per-rounding-mode results for tests not in those arrays.
1834 (rint_test): Use ALL_RM_TEST.
1835 (rint_tonearest_test_data): Remove.
1836 (rint_test_tonearest): Likewise.
1837 (rint_towardzero_test_data): Likewise.
1838 (rint_test_towardzero): Likewise.
1839 (rint_downward_test_data): Likewise.
1840 (rint_test_downward): Likewise.
1841 (rint_upward_test_data): Likewise.
1842 (rint_test_upward): Likewise.
1843 (main): Don't call removed functions.
1845 2014-03-14 Roland McGrath <roland@hack.frob.com>
1847 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1848 "Compiled on ..." crapola. It is anti-useful.
1850 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1852 * scripts/evaluate-test.sh: Handle fourth argument to determine
1853 whether test run should stop on failure.
1854 * Makeconfig (stop-on-test-failure): New variable.
1855 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1856 $(stop-on-test-failure).
1857 * Makefile (tests): Give a summary of results from testing and
1858 exit with failure status if they include an ERROR or FAIL.
1860 * manual/install.texi (Configuring and compiling): Mention
1861 stop-on-test-failure=y.
1862 * INSTALL: Regenerated.
1864 2014-03-14 Roland McGrath <roland@hack.frob.com>
1866 * scripts/versionlist.awk: New file.
1867 * Makerules [$(build-shared) = yes]
1868 (postclean-generated): Add Versions.def, not Versions.def.v and
1870 ($(common-objpfx)Versions.def.v.i): Target removed.
1871 ($(common-objpfx)Versions.def): New target.
1872 ($(common-objpfx)Versions.all): Depend on that rather that
1873 $(common-objpfx)Versions.def.v.
1874 * Versions.def: File removed.
1876 * Makeconfig (+gccwarn): Add -Wundef.
1877 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1878 a dl-sysdep.h breaking its contract.
1879 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1880 * include/stackinfo.h: New file.
1881 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1882 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1883 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1884 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1885 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1886 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1887 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1888 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1889 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1890 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1891 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1892 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1893 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1894 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1895 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1897 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1900 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1902 * math/libm-test.inc (round_test_data): Add more tests.
1905 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1907 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1910 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1912 * math/libm-test.inc (ceil_test_data): Add more tests.
1914 * math/libm-test.inc (trunc_test_data): Add more tests related to
1917 2014-03-14 Roland McGrath <roland@hack.frob.com>
1919 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1920 with #if rather than #ifdef.
1921 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1923 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1925 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1926 first. Disable AVX-512 GCC support if assembler doesn't support
1928 * sysdeps/x86_64/configure: Regenerated.
1930 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1932 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1933 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1934 (__old_pthread_attr_setstack): Likewise.
1935 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1936 [!_STACK_GROWS_DOWN]: Likewise.
1938 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1940 * config.make.in (have-bash2): Delete.
1941 * configure.ac (libc_cv_have_bash2): Delete.
1942 * configure: Regenerate.
1943 * elf/Makefile (common-ldd-rewrite): Rename to ...
1944 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1945 (sh-ldd-rewrite): Delete.
1946 (bash-ldd-rewrite): Delete.
1947 (have-bash2): Delete checks.
1948 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1951 * config.make.in (have-ksh): Delete.
1953 * configure.ac (libc_cv_have_ksh): Delete.
1954 * configure: Regenerate.
1956 * elf/Makefile: Delete $(have-ksh) check.
1957 ($(objpfx)sotruss): Change KSH to BASH.
1958 * elf/sotruss.ksh: Rename to ...
1959 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1960 function style to match POSIX. Drop ksh vim mode setting.
1962 * manual/time.texi (Specifying the Time Zone with TZ): Change
1963 Tuesday to Thursday.
1965 * debug/tst-longjmp_chk2.c: Update header comment.
1966 (stackoverflow_handler): Add comment. Call assert on pass value.
1968 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1970 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1971 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1972 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1973 (La_x86_64_vector): Add zmm.
1974 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1975 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1976 ($(objpfx)tst-audit10): New target.
1977 ($(objpfx)tst-audit10.out): Likewise.
1978 (tst-audit10-ENV): New.
1979 (AVX512-CFLAGS): Likewise.
1980 (CFLAGS-tst-audit10.c): Likewise.
1981 (CFLAGS-tst-auditmod10a.c): Likewise.
1982 (CFLAGS-tst-auditmod10b.c): Likewise.
1983 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1984 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1985 * sysdeps/x86_64/configure: Regenerated.
1986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1987 AVX-512 zmm register support.
1988 (_dl_x86_64_save_sse): Likewise.
1989 (_dl_x86_64_restore_sse): Likewise.
1990 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1991 size vector registers.
1992 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1993 (ZMM_SIZE): Likewise.
1994 * sysdeps/x86_64/tst-audit10.c: New file.
1995 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1996 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1998 2014-03-13 Roland McGrath <roland@hack.frob.com>
2000 * configure.ac (HAVE_EHDR_START): New check.
2001 * configure: Regenerated.
2002 * config.h.in (HAVE_EHDR_START): New #undef.
2003 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2004 assuming the lowest-addressed segment maps the start of the file.
2006 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2008 * INSTALL: Regenerated.
2010 2014-03-13 Will Newton <will.newton@linaro.org>
2012 * manual/setjmp.texi (System V contexts): Improve
2013 clarity and grammar of documentation.
2015 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2018 * elf/Makefile (tests): Add tst-pie2.
2019 (tests-pie): Add tst-pie2.
2020 * elf/tst-pie2.c: New file.
2021 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2023 * elf/rtld.c (map_doit): Load executable as lt_executable.
2024 (dl_main): Likewise.
2026 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2029 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2030 (__ASSUME_PSELECT): Undefine.
2032 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2035 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2036 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2038 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2039 selector for static builds.
2041 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2044 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2047 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2049 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2050 IFUNC selector for static builds.
2052 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2054 * sysdeps/mips/math_private.h [__mips_hard_float]
2055 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2056 libc_feresetround_mips_ctx.
2057 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2058 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2059 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2062 * math/s_nextafter.c (__nextafter): Do not return value from
2063 overflowing computation.
2064 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2065 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2066 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2068 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2070 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2071 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2073 2014-03-11 Roland McGrath <roland@hack.frob.com>
2075 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2076 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2077 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2078 the new mov targetting sp.
2080 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2083 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2084 Define it for static builds as well.
2085 (NO_BZERO_IMPL): Likewise.
2087 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2089 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2090 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2091 multiarch strspn for PPC64.
2092 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2093 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2095 (__libc_ifunc_impl_list): Likewise.
2096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2097 multiarch optimizations
2098 * string/strspn.c (strspn): Using macro to redefine symbol name.
2100 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2101 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2103 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2104 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2105 multiarch strncat for PPC64.
2106 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2107 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2109 (__libc_ifunc_impl_list): Likewise.
2110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2111 multiarch optimizations
2113 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2116 * nscd/nscd.service: Make service type forking.
2118 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2120 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2121 sign in non default rounding modes.
2122 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2124 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2126 * math/libm-test.inc (ALL_RM_TEST): New macro.
2127 (ceil_test): Use ALL_RM_TEST.
2128 (cimag_test): Likewise.
2129 (conj_test): Likewise.
2130 (copysign_test): Likewise.
2131 (cproj_test): Likewise.
2132 (creal_test): Likewise.
2133 (fabs_test): Likewise.
2134 (floor_test): Likewise.
2135 (fmax_test): Likewise.
2136 (fmin_test): Likewise.
2137 (fmod_test): Likewise.
2138 (fpclassify_test): Likewise.
2139 (frexp_test): Likewise.
2140 (ilogb_test): Likewise.
2141 (isfinite_test): Likewise.
2142 (finite_test): Likewise.
2143 (isgreater_test): Likewise.
2144 (isgreaterequal_test): Likewise.
2145 (isinf_test): Likewise.
2146 (isless_test): Likewise.
2147 (islessequal_test): Likewise.
2148 (islessgreater_test): Likewise.
2149 (isnan_test): Likewise.
2150 (isnormal_test): Likewise.
2151 (issignaling_test): Likewise.
2152 (isunordered_test): Likewise.
2153 (logb_test): Likewise.
2154 (logb_downward_test_data): Remove.
2155 (logb_test_downward): Likewise.
2156 (lround_test): Use ALL_RM_TEST.
2157 (llround_test): Likewise.
2158 (modf_test): Likewise.
2159 (nexttoward_test): Likewise.
2160 (remainder_test): Likewise.
2161 (drem_test): Likewise.
2162 (remainder_tonearest_test_data): Likewise.
2163 (remainder_test_tonearest): Likewise.
2164 (drem_test_tonearest): Likewise.
2165 (remainder_towardzero_test_data): Likewise.
2166 (remainder_test_towardzero): Likewise.
2167 (drem_test_towardzero): Likewise.
2168 (remainder_downward_test_data): Likewise.
2169 (remainder_test_downward): Likewise.
2170 (drem_test_downward): Likewise.
2171 (remainder_upward_test_data): Likewise.
2172 (remainder_test_upward): Likewise.
2173 (drem_test_upward): Likewise.
2174 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2175 (round_test): Use ALL_RM_TEST.
2176 (signbit_test): Likewise.
2177 (trunc_test): Likewise.
2178 (significand_test): Likewise.
2179 (main): Don't call removed functions.
2181 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2184 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2186 (ILL_ILLOPN): Likewise.
2187 (ILL_ILLADR): Likewise.
2188 (ILL_ILLTRP): Likewise.
2189 (ILL_PRVOPC): Likewise.
2190 (ILL_PRVREG): Likewise.
2191 (ILL_COPROC): Likewise.
2192 (ILL_BADSTK): Likewise.
2193 (FPE_INTDIV): Likewise.
2194 (FPE_INTOVF): Likewise.
2195 (FPE_FLTDIV): Likewise.
2196 (FPE_FLTOVF): Likewise.
2197 (FPE_FLTUND): Likewise.
2198 (FPE_FLTRES): Likewise.
2199 (FPE_FLTINV): Likewise.
2200 (FPE_FLTSUB): Likewise.
2201 (SEGV_MAPERR): Likewise.
2202 (SEGV_ACCERR): Likewise.
2203 (BUS_ADRALN): Likewise.
2204 (BUS_ADRERR): Likewise.
2205 (BUS_OBJERR): Likewise.
2206 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2207 (TRAP_TRACE): Likewise.
2208 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2210 (CLD_KILLED): Likewise.
2211 (CLD_DUMPED): Likewise.
2212 (CLD_TRAPPED): Likewise.
2213 (CLD_STOPPED): Likewise.
2214 (CLD_CONTINUED): Likewise.
2215 (POLL_IN): Likewise.
2216 (POLL_OUT): Likewise.
2217 (POLL_MSG): Likewise.
2218 (POLL_ERR): Likewise.
2219 (POLL_PRI): Likewise.
2220 (POLL_HUP): Likewise.
2221 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2223 (ILL_ILLOPN): Likewise.
2224 (ILL_ILLADR): Likewise.
2225 (ILL_ILLTRP): Likewise.
2226 (ILL_PRVOPC): Likewise.
2227 (ILL_PRVREG): Likewise.
2228 (ILL_COPROC): Likewise.
2229 (ILL_BADSTK): Likewise.
2230 (FPE_INTDIV): Likewise.
2231 (FPE_INTOVF): Likewise.
2232 (FPE_FLTDIV): Likewise.
2233 (FPE_FLTOVF): Likewise.
2234 (FPE_FLTUND): Likewise.
2235 (FPE_FLTRES): Likewise.
2236 (FPE_FLTINV): Likewise.
2237 (FPE_FLTSUB): Likewise.
2238 (SEGV_MAPERR): Likewise.
2239 (SEGV_ACCERR): Likewise.
2240 (BUS_ADRALN): Likewise.
2241 (BUS_ADRERR): Likewise.
2242 (BUS_OBJERR): Likewise.
2243 (BUS_MCEERR_AR): Likewise.
2244 (BUS_MCEERR_AO): Likewise.
2245 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2246 (TRAP_TRACE): Likewise.
2247 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2249 (CLD_KILLED): Likewise.
2250 (CLD_DUMPED): Likewise.
2251 (CLD_TRAPPED): Likewise.
2252 (CLD_STOPPED): Likewise.
2253 (CLD_CONTINUED): Likewise.
2254 (POLL_IN): Likewise.
2255 (POLL_OUT): Likewise.
2256 (POLL_MSG): Likewise.
2257 (POLL_ERR): Likewise.
2258 (POLL_PRI): Likewise.
2259 (POLL_HUP): Likewise.
2260 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2261 (ILL_ILLOPN): Likewise.
2262 (ILL_ILLADR): Likewise.
2263 (ILL_ILLTRP): Likewise.
2264 (ILL_PRVOPC): Likewise.
2265 (ILL_PRVREG): Likewise.
2266 (ILL_COPROC): Likewise.
2267 (ILL_BADSTK): Likewise.
2268 (FPE_INTDIV): Likewise.
2269 (FPE_INTOVF): Likewise.
2270 (FPE_FLTDIV): Likewise.
2271 (FPE_FLTOVF): Likewise.
2272 (FPE_FLTUND): Likewise.
2273 (FPE_FLTRES): Likewise.
2274 (FPE_FLTINV): Likewise.
2275 (FPE_FLTSUB): Likewise.
2276 (SEGV_MAPERR): Likewise.
2277 (SEGV_ACCERR): Likewise.
2278 (BUS_ADRALN): Likewise.
2279 (BUS_ADRERR): Likewise.
2280 (BUS_OBJERR): Likewise.
2281 (BUS_MCEERR_AR): Likewise.
2282 (BUS_MCEERR_AO): Likewise.
2283 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2284 (TRAP_TRACE): Likewise.
2285 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2287 (CLD_KILLED): Likewise.
2288 (CLD_DUMPED): Likewise.
2289 (CLD_TRAPPED): Likewise.
2290 (CLD_STOPPED): Likewise.
2291 (CLD_CONTINUED): Likewise.
2292 (POLL_IN): Likewise.
2293 (POLL_OUT): Likewise.
2294 (POLL_MSG): Likewise.
2295 (POLL_ERR): Likewise.
2296 (POLL_PRI): Likewise.
2297 (POLL_HUP): Likewise.
2298 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2300 (ILL_ILLOPN): Likewise.
2301 (ILL_ILLADR): Likewise.
2302 (ILL_ILLTRP): Likewise.
2303 (ILL_PRVOPC): Likewise.
2304 (ILL_PRVREG): Likewise.
2305 (ILL_COPROC): Likewise.
2306 (ILL_BADSTK): Likewise.
2307 (ILL_BADIADDR): Likewise.
2308 (ILL_BREAK): Likewise.
2309 (FPE_INTDIV): Likewise.
2310 (FPE_INTOVF): Likewise.
2311 (FPE_FLTDIV): Likewise.
2312 (FPE_FLTOVF): Likewise.
2313 (FPE_FLTUND): Likewise.
2314 (FPE_FLTRES): Likewise.
2315 (FPE_FLTINV): Likewise.
2316 (FPE_FLTSUB): Likewise.
2317 (FPE_DECOVF): Likewise.
2318 (FPE_DECDIV): Likewise.
2319 (FPE_DECERR): Likewise.
2320 (FPE_INVASC): Likewise.
2321 (FPE_INVDEC): Likewise.
2322 (SEGV_MAPERR): Likewise.
2323 (SEGV_ACCERR): Likewise.
2324 (SEGV_PSTKOVF): Likewise.
2325 (BUS_ADRALN): Likewise.
2326 (BUS_ADRERR): Likewise.
2327 (BUS_OBJERR): Likewise.
2328 (BUS_MCEERR_AR): Likewise.
2329 (BUS_MCEERR_AO): Likewise.
2330 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2331 (TRAP_TRACE): Likewise.
2332 (TRAP_BRANCH): Likewise.
2333 (TRAP_HWBKPT): Likewise.
2334 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2336 (CLD_KILLED): Likewise.
2337 (CLD_DUMPED): Likewise.
2338 (CLD_TRAPPED): Likewise.
2339 (CLD_STOPPED): Likewise.
2340 (CLD_CONTINUED): Likewise.
2341 (POLL_IN): Likewise.
2342 (POLL_OUT): Likewise.
2343 (POLL_MSG): Likewise.
2344 (POLL_ERR): Likewise.
2345 (POLL_PRI): Likewise.
2346 (POLL_HUP): Likewise.
2347 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2348 (ILL_ILLOPN): Likewise.
2349 (ILL_ILLADR): Likewise.
2350 (ILL_ILLTRP): Likewise.
2351 (ILL_PRVOPC): Likewise.
2352 (ILL_PRVREG): Likewise.
2353 (ILL_COPROC): Likewise.
2354 (ILL_BADSTK): Likewise.
2355 (FPE_INTDIV): Likewise.
2356 (FPE_INTOVF): Likewise.
2357 (FPE_FLTDIV): Likewise.
2358 (FPE_FLTOVF): Likewise.
2359 (FPE_FLTUND): Likewise.
2360 (FPE_FLTRES): Likewise.
2361 (FPE_FLTINV): Likewise.
2362 (FPE_FLTSUB): Likewise.
2363 (SEGV_MAPERR): Likewise.
2364 (SEGV_ACCERR): Likewise.
2365 (BUS_ADRALN): Likewise.
2366 (BUS_ADRERR): Likewise.
2367 (BUS_OBJERR): Likewise.
2368 (BUS_MCEERR_AR): Likewise.
2369 (BUS_MCEERR_AO): Likewise.
2370 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2371 (TRAP_TRACE): Likewise.
2372 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2374 (CLD_KILLED): Likewise.
2375 (CLD_DUMPED): Likewise.
2376 (CLD_TRAPPED): Likewise.
2377 (CLD_STOPPED): Likewise.
2378 (CLD_CONTINUED): Likewise.
2379 (POLL_IN): Likewise.
2380 (POLL_OUT): Likewise.
2381 (POLL_MSG): Likewise.
2382 (POLL_ERR): Likewise.
2383 (POLL_PRI): Likewise.
2384 (POLL_HUP): Likewise.
2385 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2386 (ILL_ILLOPN): Likewise.
2387 (ILL_ILLADR): Likewise.
2388 (ILL_ILLTRP): Likewise.
2389 (ILL_PRVOPC): Likewise.
2390 (ILL_PRVREG): Likewise.
2391 (ILL_COPROC): Likewise.
2392 (ILL_BADSTK): Likewise.
2393 (FPE_INTDIV): Likewise.
2394 (FPE_INTOVF): Likewise.
2395 (FPE_FLTDIV): Likewise.
2396 (FPE_FLTOVF): Likewise.
2397 (FPE_FLTUND): Likewise.
2398 (FPE_FLTRES): Likewise.
2399 (FPE_FLTINV): Likewise.
2400 (FPE_FLTSUB): Likewise.
2401 (SEGV_MAPERR): Likewise.
2402 (SEGV_ACCERR): Likewise.
2403 (BUS_ADRALN): Likewise.
2404 (BUS_ADRERR): Likewise.
2405 (BUS_OBJERR): Likewise.
2406 (BUS_MCEERR_AR): Likewise.
2407 (BUS_MCEERR_AO): Likewise.
2408 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2409 (TRAP_TRACE): Likewise.
2410 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2412 (CLD_KILLED): Likewise.
2413 (CLD_DUMPED): Likewise.
2414 (CLD_TRAPPED): Likewise.
2415 (CLD_STOPPED): Likewise.
2416 (CLD_CONTINUED): Likewise.
2417 (POLL_IN): Likewise.
2418 (POLL_OUT): Likewise.
2419 (POLL_MSG): Likewise.
2420 (POLL_ERR): Likewise.
2421 (POLL_PRI): Likewise.
2422 (POLL_HUP): Likewise.
2423 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2424 (ILL_ILLOPN): Likewise.
2425 (ILL_ILLADR): Likewise.
2426 (ILL_ILLTRP): Likewise.
2427 (ILL_PRVOPC): Likewise.
2428 (ILL_PRVREG): Likewise.
2429 (ILL_COPROC): Likewise.
2430 (ILL_BADSTK): Likewise.
2431 (FPE_INTDIV): Likewise.
2432 (FPE_INTOVF): Likewise.
2433 (FPE_FLTDIV): Likewise.
2434 (FPE_FLTOVF): Likewise.
2435 (FPE_FLTUND): Likewise.
2436 (FPE_FLTRES): Likewise.
2437 (FPE_FLTINV): Likewise.
2438 (FPE_FLTSUB): Likewise.
2439 (SEGV_MAPERR): Likewise.
2440 (SEGV_ACCERR): Likewise.
2441 (BUS_ADRALN): Likewise.
2442 (BUS_ADRERR): Likewise.
2443 (BUS_OBJERR): Likewise.
2444 (BUS_MCEERR_AR): Likewise.
2445 (BUS_MCEERR_AO): Likewise.
2446 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2447 (TRAP_TRACE): Likewise.
2448 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2450 (CLD_KILLED): Likewise.
2451 (CLD_DUMPED): Likewise.
2452 (CLD_TRAPPED): Likewise.
2453 (CLD_STOPPED): Likewise.
2454 (CLD_CONTINUED): Likewise.
2455 (POLL_IN): Likewise.
2456 (POLL_OUT): Likewise.
2457 (POLL_MSG): Likewise.
2458 (POLL_ERR): Likewise.
2459 (POLL_PRI): Likewise.
2460 (POLL_HUP): Likewise.
2461 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2462 (ILL_ILLOPN): Likewise.
2463 (ILL_ILLADR): Likewise.
2464 (ILL_ILLTRP): Likewise.
2465 (ILL_PRVOPC): Likewise.
2466 (ILL_PRVREG): Likewise.
2467 (ILL_COPROC): Likewise.
2468 (ILL_BADSTK): Likewise.
2469 (ILL_DBLFLT): Likewise.
2470 (ILL_HARDWALL): Likewise.
2471 (FPE_INTDIV): Likewise.
2472 (FPE_INTOVF): Likewise.
2473 (FPE_FLTDIV): Likewise.
2474 (FPE_FLTOVF): Likewise.
2475 (FPE_FLTUND): Likewise.
2476 (FPE_FLTRES): Likewise.
2477 (FPE_FLTINV): Likewise.
2478 (FPE_FLTSUB): Likewise.
2479 (SEGV_MAPERR): Likewise.
2480 (SEGV_ACCERR): Likewise.
2481 (BUS_ADRALN): Likewise.
2482 (BUS_ADRERR): Likewise.
2483 (BUS_OBJERR): Likewise.
2484 (BUS_MCEERR_AR): Likewise.
2485 (BUS_MCEERR_AO): Likewise.
2486 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2487 (TRAP_TRACE): Likewise.
2488 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2490 (CLD_KILLED): Likewise.
2491 (CLD_DUMPED): Likewise.
2492 (CLD_TRAPPED): Likewise.
2493 (CLD_STOPPED): Likewise.
2494 (CLD_CONTINUED): Likewise.
2495 (POLL_IN): Likewise.
2496 (POLL_OUT): Likewise.
2497 (POLL_MSG): Likewise.
2498 (POLL_ERR): Likewise.
2499 (POLL_PRI): Likewise.
2500 (POLL_HUP): Likewise.
2501 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2502 (ILL_ILLOPN): Likewise.
2503 (ILL_ILLADR): Likewise.
2504 (ILL_ILLTRP): Likewise.
2505 (ILL_PRVOPC): Likewise.
2506 (ILL_PRVREG): Likewise.
2507 (ILL_COPROC): Likewise.
2508 (ILL_BADSTK): Likewise.
2509 (FPE_INTDIV): Likewise.
2510 (FPE_INTOVF): Likewise.
2511 (FPE_FLTDIV): Likewise.
2512 (FPE_FLTOVF): Likewise.
2513 (FPE_FLTUND): Likewise.
2514 (FPE_FLTRES): Likewise.
2515 (FPE_FLTINV): Likewise.
2516 (FPE_FLTSUB): Likewise.
2517 (SEGV_MAPERR): Likewise.
2518 (SEGV_ACCERR): Likewise.
2519 (BUS_ADRALN): Likewise.
2520 (BUS_ADRERR): Likewise.
2521 (BUS_OBJERR): Likewise.
2522 (BUS_MCEERR_AR): Likewise.
2523 (BUS_MCEERR_AO): Likewise.
2524 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2525 (TRAP_TRACE): Likewise.
2526 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2528 (CLD_KILLED): Likewise.
2529 (CLD_DUMPED): Likewise.
2530 (CLD_TRAPPED): Likewise.
2531 (CLD_STOPPED): Likewise.
2532 (CLD_CONTINUED): Likewise.
2533 (POLL_IN): Likewise.
2534 (POLL_OUT): Likewise.
2535 (POLL_MSG): Likewise.
2536 (POLL_ERR): Likewise.
2537 (POLL_PRI): Likewise.
2538 (POLL_HUP): Likewise.
2539 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2540 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2543 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2544 before #include of <time.h>.
2545 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2546 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2547 (test-xfail-UNIX98/sched.h/conform): Likewise.
2549 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2551 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2552 error absence of trapping exception support.
2553 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2555 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2557 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2558 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2559 * timezone/Makefile (testdata): Move definition above include of
2561 (test-zones): New variable.
2562 (tests-special): Add zone files.
2563 (build-testdata): Use $(evaluate-test).
2565 * elf/Makefile (tests-special): Rename tests to end with .out.
2566 ($(objpfx)noload-mem): Likewise.
2567 ($(objpfx)tst-leaks1-mem): Likewise.
2568 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2569 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2570 $(objpfx)test-iconvconfig.out.
2571 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2572 set -e inside subshell and redirect output to file.
2573 * iconvdata/Makefile (generated): Rename tests to end with .out.
2575 (tests-special): Rename tests to end with .out.
2576 ($(objpfx)mtrace-tst-loading): Likewise.
2577 * intl/Makefile (generated): Likewise.
2578 (tests-special): Likewise.
2579 ($(objpfx)mtrace-tst-gettext): Likewise.
2580 * misc/Makefile (generated): Likewise.
2581 (tests-special): Likewise.
2582 ($(objpfx)tst-error1-mem): Likewise.
2583 * nptl/Makefile (tests-special): Likewise.
2584 ($(objpfx)tst-stack3-mem): Likewise.
2585 (generated): Likewise.
2586 * posix/Makefile (generated): Likewise.
2587 (tests-special): Likewise.
2588 (xtests-special): Likewise.
2589 ($(objpfx)tst-fnmatch-mem): Likewise.
2590 ($(objpfx)bug-regex2-mem): Likewise.
2591 ($(objpfx)bug-regex14-mem): Likewise.
2592 ($(objpfx)bug-regex21-mem): Likewise.
2593 ($(objpfx)bug-regex31-mem): Likewise.
2594 ($(objpfx)tst-vfork3-mem): Likewise.
2595 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2596 ($(objpfx)tst-pcre-mem): Likewise.
2597 ($(objpfx)tst-boost-mem): Likewise.
2598 ($(objpfx)bug-ga2-mem): Likewise.
2599 ($(objpfx)bug-glob2-mem): Likewise.
2600 * resolv/Makefile (generate): Likewise.
2601 (tests-special): Likewise.
2602 (xtests-special): Likewise.
2603 (generated): Likewise.
2604 ($(objpfx)mtrace-tst-leaks): Likewise.
2605 ($(objpfx)mtrace-tst-leaks2): Likewise.
2607 * scripts/merge-test-results.sh: New file.
2608 * Makefile (tests-special-notdir): New variable.
2609 (tests): Run merge-test-results.sh.
2611 * Rules (tests-special-notdir): New variable.
2612 (xtests-special-notdir): Likewise.
2613 (tests): Run merge-test-results.sh
2616 * Makeconfig (test-xfail-name): New variable.
2617 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2618 compute variable name for expected failures.
2619 * conform/Makefile (conformtest-headers-data): New variable.
2620 (conformtest-standards): Likewise.
2621 (conformtest-headers-ISO): Likewise.
2622 (conformtest-headers-ISO99): Likewise.
2623 (conformtest-headers-ISO11): Likewise.
2624 (conformtest-headers-POSIX): Likewise.
2625 (conformtest-headers-XPG3): Likewise.
2626 (conformtest-headers-XPG4): Likewise.
2627 (conformtest-headers-UNIX98): Likewise.
2628 (conformtest-headers-XOPEN2K): Likewise.
2629 (conformtest-headers-POSIX2008): Likewise.
2630 (conformtest-headers-XOPEN2K8): Likewise.
2631 (conformtest-header-list-base): Likewise.
2632 (conformtest-header-list-tests): Likewise.
2633 (conformtest-header-base): Likewise.
2634 (conformtest-header-tests): Likewise.
2635 (tests-special): Add $(conformtest-header-list-tests). If
2636 [$(fast-check) && !$(cross-compiling)], add
2637 $(conformtest-header-tests) instead of
2638 $(objpfx)run-conformtest.out.
2639 (generated): Add $(conformtest-header-list-base). If
2640 [$(fast-check) && !$(cross-compiling)], add
2641 $(conformtest-header-base). Remove previous setting.
2642 ($(conformtest-header-list-tests)): New target.
2643 (test-xfail-run-conformtest): Remove variable.
2644 ($(objpfx)run-conformtest.out): Remove target.
2645 (test-xfail-ISO11/complex.h/conform): New variable.
2646 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2647 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2648 (test-xfail-XPG3/varargs.h/conform): Likewise.
2649 (test-xfail-XPG4/varargs.h/conform): Likewise.
2650 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2651 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2652 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2653 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2654 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2655 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2656 (test-xfail-XPG3/ftw.h/conform): Likewise.
2657 (test-xfail-XPG3/grp.h/conform): Likewise.
2658 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2659 (test-xfail-XPG3/limits.h/conform): Likewise.
2660 (test-xfail-XPG3/pwd.h/conform): Likewise.
2661 (test-xfail-XPG3/search.h/conform): Likewise.
2662 (test-xfail-XPG3/signal.h/conform): Likewise.
2663 (test-xfail-XPG3/stdio.h/conform): Likewise.
2664 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2665 (test-xfail-XPG3/string.h/conform): Likewise.
2666 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2667 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2668 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2669 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2670 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2671 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2672 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2673 (test-xfail-XPG3/termios.h/conform): Likewise.
2674 (test-xfail-XPG3/time.h/conform): Likewise.
2675 (test-xfail-XPG3/unistd.h/conform): Likewise.
2676 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2677 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2678 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2679 (test-xfail-XPG4/netdb.h/conform): Likewise.
2680 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2681 (test-xfail-XPG4/signal.h/conform): Likewise.
2682 (test-xfail-XPG4/stdio.h/conform): Likewise.
2683 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2684 (test-xfail-XPG4/stropts.h/conform): Likewise.
2685 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2686 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2687 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2688 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2689 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2690 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2691 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2692 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2693 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2694 (test-xfail-XPG4/termios.h/conform): Likewise.
2695 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2696 (test-xfail-XPG4/unistd.h/conform): Likewise.
2697 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2698 (test-xfail-POSIX/sched.h/conform): Likewise.
2699 (test-xfail-POSIX/signal.h/conform): Likewise.
2700 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2701 (test-xfail-POSIX/tar.h/conform): Likewise.
2702 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2703 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2704 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2705 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2706 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2707 (test-xfail-UNIX98/sched.h/conform): Likewise.
2708 (test-xfail-UNIX98/signal.h/conform): Likewise.
2709 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2710 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2711 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2712 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2713 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2714 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2715 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2716 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2717 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2718 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2719 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2720 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2721 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2722 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2723 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2724 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2725 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2726 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2727 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2728 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2729 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2730 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2731 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2732 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2733 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2734 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2735 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2736 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2737 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2738 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2739 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2740 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2741 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2742 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2743 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2744 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2745 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2746 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2747 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2748 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2749 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2750 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2751 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2752 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2753 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2754 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2755 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2756 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2757 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2758 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2759 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2760 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2761 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2762 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2763 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2764 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2765 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2766 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2767 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2768 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2769 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2770 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2771 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2772 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2773 (conformtest-cc-flags): Likewise.
2774 ($(conformtest-header-tests): New target.
2775 * conform/check-header-lists.sh: New file.
2776 * conform/run-conformtest.sh: Remove.
2778 * conform/conformtest.pl: Allow ' and \ in values given for
2780 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2782 [POSIX] (sys/types.h): Likewise.
2783 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2785 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2787 * conform/data/signal.h-data (SIGIO): Remove expectation.
2788 [XPG3] (SIGBUS): Do not expect.
2789 [POSIX || XPG3] (SIGPOLL): Likewise.
2790 [POSIX || XPG3] (SIGPROF): Likewise.
2791 [POSIX || XPG3] (SIGSYS): Likewise.
2792 [XPG3] (SIGTRAP): Likewise.
2793 [POSIX || XPG3] (SIGURG): Likewise.
2794 [POSIX || XPG3] (SIGVTALRM): Likewise.
2795 [POSIX || XPG3] (SIGXCPU): Likewise.
2796 [POSIX || XPG3] (SIGXFSZ): Likewise.
2797 [POSIX] (SA_SIGINFO): Expect.
2798 [XPG3] (siginfo_t): Do not expect type or contents.
2799 [POSIX] (si_pid): Do not expect element.
2800 [POSIX] (si_uid): Likewise.
2801 [POSIX] (si_addr): Likewise.
2802 [POSIX] (si_status): Likewise.
2803 [POSIX] (si_band): Likewise.
2804 [XPG4] (si_value): Likewise.
2805 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2806 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2807 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2808 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2809 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2810 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2811 [POSIX || XPG3] (ILL_COPROC): Likewise.
2812 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2813 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2814 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2815 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2816 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2817 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2818 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2819 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2820 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2821 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2822 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2823 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2824 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2825 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2826 [POSIX || XPG3] (CLD_EXITED): Likewise.
2827 [POSIX || XPG3] (CLD_KILLED): Likewise.
2828 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2829 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2830 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2831 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2832 [POSIX || XPG3] (POLL_IN): Likewise.
2833 [POSIX || XPG3] (POLL_OUT): Likewise.
2834 [POSIX || XPG3] (POLL_MSG): Likewise.
2835 [POSIX || XPG3] (POLL_ERR): Likewise.
2836 [POSIX || XPG3] (POLL_PRI): Likewise.
2837 [POSIX || XPG3] (POLL_HUP): Likewise.
2838 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2839 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2840 (SIG*): Do not allow.
2841 [XPG3] (si_*): Likewise.
2842 [XPG3] (SI_*): Likewise.
2843 [XPG3 || XPG4] (sigev_*): Likewise.
2844 [XPG3 || XPG4] (SIGEV_*): Likewise.
2845 [XPG3 || XPG4] (sival_*): Likewise.
2846 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2847 [POSIX || XPG3] (BUS_*): Likewise.
2848 [POSIX || XPG3] (CLD_*): Likewise.
2849 [POSIX || XPG3] (FPE_*): Likewise.
2850 [POSIX || XPG3] (ILL_*): Likewise.
2851 [POSIX || XPG3] (POLL_*): Likewise.
2852 [POSIX || XPG3] (SEGV_*): Likewise.
2853 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2854 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2855 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2856 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2857 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2858 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2859 Specify type and value.
2860 (TVERSLEN): Likewise.
2861 (REGTYPE): Likewise.
2862 (AREGTYPE): Likewise.
2863 (LNKTYPE): Likewise.
2864 (SYMTYPE): Likewise.
2865 (CHRTYPE): Likewise.
2866 (BLKTYPE): Likewise.
2867 (DIRTYPE): Likewise.
2868 (FIFOTYPE): Likewise.
2869 (CONTTYPE): Likewise.
2874 (TUWRITE): Likewise.
2877 (TGWRITE): Likewise.
2880 (TOWRITE): Likewise.
2882 [POSIX] (TSVTX): Expect constant.
2884 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2886 * Makefile (tests): Change dependencies to ....
2887 (tests-special): ... additions to this variable.
2888 (tests): Depend on $(tests-special).
2889 * Makerules (check-abi-list): New variable.
2890 (check-abi): Depend on $(check-abi-list).
2891 [$(subdir) = elf] (tests-special): Add
2892 $(objpfx)check-abi-libc.out.
2893 [$(build-shared) = yes && subdir] (tests-special): Add
2895 [$(build-shared) = yes && subdir] (tests): Do not depend on
2897 * Rules (tests): Depend on $(tests-special).
2898 (xtests): Depend on $(xtests-special).
2899 * catgets/Makefile (tests): Change dependencies to ....
2900 (tests-special): ... additions to this variable.
2901 * conform/Makefile (tests): Change dependencies to ....
2902 (tests-special): ... additions to this variable.
2903 * elf/Makefile (tests): Change dependencies to ....
2904 (tests-special): ... additions to this variable.
2905 * grp/Makefile (tests): Change dependencies to ....
2906 (tests-special): ... additions to this variable.
2907 * iconv/Makefile (xtests): Change dependencies to ....
2908 (xtests-special): ... additions to this variable.
2909 * iconvdata/Makefile (tests): Change dependencies to ....
2910 (tests-special): ... additions to this variable.
2911 * intl/Makefile (tests): Change dependencies to ....
2912 (tests-special): ... additions to this variable. Also add
2913 $(objpfx)tst-gettext.out.
2914 * io/Makefile (tests): Change dependencies to ....
2915 (tests-special): ... additions to this variable.
2916 * libio/Makefile (tests): Change dependencies to ....
2917 (tests-special): ... additions to this variable.
2918 * malloc/Makefile (tests): Change dependencies to ....
2919 (tests-special): ... additions to this variable.
2920 * misc/Makefile (tests): Change dependencies to ....
2921 (tests-special): ... additions to this variable.
2922 * nptl/Makefile (tests): Change dependencies to ....
2923 (tests-special): ... additions to this variable.
2924 * nptl_db/Makefile (tests): Change dependencies to ....
2925 (tests-special): ... additions to this variable.
2926 * posix/Makefile (tests): Change dependencies to ....
2927 (tests-special): ... additions to this variable.
2928 (xtests): Change dependencies to ....
2929 (xtests-special): ... additions to this variable.
2930 * resolv/Makefile (tests): Change dependencies to ....
2931 (tests-special): ... additions to this variable.
2932 (xtests): Change dependencies to ....
2933 (xtests-special): ... additions to this variable.
2934 * stdio-common/Makefile (tests): Change dependencies to ....
2935 (tests-special): ... additions to this variable.
2936 (do-tst-unbputc): Remove target.
2937 (do-tst-printf): Likewise.
2938 * stdlib/Makefile (tests): Change dependencies to ....
2939 (tests-special): ... additions to this variable.
2940 * string/Makefile (tests): Change dependencies to ....
2941 (tests-special): ... additions to this variable.
2942 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2943 (tests-special): ... additions to this variable.
2945 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2947 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2949 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2950 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2952 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2953 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2954 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2955 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2956 * conform/data/libgen.h-data [XPG3]: Likewise.
2957 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2958 * conform/data/ndbm.h-data [XPG3]: Likewise.
2959 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2960 * conform/data/netdb.h-data [XPG3]: Likewise.
2961 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2962 * conform/data/poll.h-data [XPG3]: Likewise.
2963 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2964 * conform/data/strings.h-data [XPG3]: Likewise.
2965 * conform/data/stropts.h-data [XPG3]: Likewise.
2966 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2967 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2968 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2970 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2971 * conform/data/sys/time.h-data [XPG3]: Likewise.
2972 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2973 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2974 * conform/data/sys/un.h-data [XPG3]: Likewise.
2975 * conform/data/syslog.h-data [XPG3]: Likewise.
2976 * conform/data/ucontext.h-data [XPG3]: Likewise.
2977 * conform/data/utmpx.h-data [XPG3]: Likewise.
2978 * conform/data/varargs.h-data [UNIX98]: Enable file.
2980 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2982 * math/libm-test.inc (struct test_f_f_data): Move expected results
2983 into structure for each rounding mode.
2984 (struct test_ff_f_data): Likewise.
2985 (struct test_ff_f_data_nexttoward): Likewise.
2986 (struct test_fi_f_data): Likewise.
2987 (struct test_fl_f_data): Likewise.
2988 (struct test_if_f_data): Likewise.
2989 (struct test_fff_f_data): Likewise.
2990 (struct test_c_f_data): Likewise.
2991 (struct test_f_f1_data): Likewise.
2992 (struct test_fF_f1_data): Likewise.
2993 (struct test_ffI_f1_data): Likewise.
2994 (struct test_c_c_data): Likewise.
2995 (struct test_cc_c_data): Likewise.
2996 (struct test_f_i_data): Likewise.
2997 (struct test_ff_i_data): Likewise.
2998 (struct test_f_l_data): Likewise.
2999 (struct test_f_L_data): Likewise.
3000 (struct test_fFF_11_data): Likewise.
3002 (RM_FE_DOWNWARD): Likewise.
3003 (RM_FE_TONEAREST): Likewise.
3004 (RM_FE_TOWARDZERO): Likewise.
3005 (RM_FE_UPWARD): Likewise.
3006 (RUN_TEST_LOOP_f_f): Update references to expected results.
3007 (RUN_TEST_LOOP_2_f): Likewise.
3008 (RUN_TEST_LOOP_fff_f): Likewise.
3009 (RUN_TEST_LOOP_c_f): Likewise.
3010 (RUN_TEST_LOOP_f_f1): Likewise.
3011 (RUN_TEST_LOOP_fF_f1): Likewise.
3012 (RUN_TEST_LOOP_fI_f1): Likewise.
3013 (RUN_TEST_LOOP_ffI_f1): Likewise.
3014 (RUN_TEST_LOOP_c_c): Likewise.
3015 (RUN_TEST_LOOP_cc_c): Likewise.
3016 (RUN_TEST_LOOP_f_i): Likewise.
3017 (RUN_TEST_LOOP_f_i_tg): Likewise.
3018 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3019 (RUN_TEST_LOOP_f_b): Likewise.
3020 (RUN_TEST_LOOP_f_b_tg): Likewise.
3021 (RUN_TEST_LOOP_f_l): Likewise.
3022 (RUN_TEST_LOOP_f_L): Likewise.
3023 (RUN_TEST_LOOP_fFF_11): Likewise.
3024 * math/gen-libm-test.pl (parse_args): Output four copies of
3025 expected results for each test.
3027 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3028 (__ASSUME_UTIMES): Remove.
3029 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3030 (__ASSUME_UTIMES): Likewise.
3032 * math/gen-auto-libm-tests.c: Update comment on output format.
3033 (output_for_one_input_case): Generate before-rounding and
3034 after-rounding information as conditions on output flags not
3035 floating-point format.
3036 * math/auto-libm-test-out: Regenerated.
3037 * math/gen-libm-test.pl (cond_value): New function.
3038 (or_cond_value): Use cond_value.
3039 (generate_testfile): Handle conditional exceptions.
3041 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3043 * math/libm-test.inc (max_valid_error): New variable.
3044 (init_max_error): Take new argument specifying whether function
3045 results are exactly determined. Set max_valid_error and bound
3046 other variables for errors based on this argument.
3047 (set_max_error): Do not record results above max_valid_error.
3048 (check_float_internal): Only accept errors of up to 0.5ulps if
3049 also at most max_valid_error.
3050 (START): Take new argument EXACT and pass it to init_max_error.
3051 (acos_test): Update call to START.
3052 (acos_test_tonearest): Likewise.
3053 (acos_test_towardzero): Likewise.
3054 (acos_test_downward): Likewise.
3055 (acos_test_upward): Likewise.
3056 (acosh_test): Likewise.
3057 (asin_test): Likewise.
3058 (asin_test_tonearest): Likewise.
3059 (asin_test_towardzero): Likewise.
3060 (asin_test_downward): Likewise.
3061 (asin_test_upward): Likewise.
3062 (asinh_test): Likewise.
3063 (atan_test): Likewise.
3064 (atanh_test): Likewise.
3065 (atan2_test): Likewise.
3066 (cabs_test): Likewise.
3067 (cacos_test): Likewise.
3068 (cacosh_test): Likewise.
3069 (carg_test): Likewise.
3070 (casin_test): Likewise.
3071 (casinh_test): Likewise.
3072 (catan_test): Likewise.
3073 (catanh_test): Likewise.
3074 (cbrt_test): Likewise.
3075 (ccos_test): Likewise.
3076 (ccosh_test): Likewise.
3077 (ceil_test): Likewise.
3078 (cexp_test): Likewise.
3079 (cimag_test): Likewise.
3080 (clog_test): Likewise.
3081 (clog10_test): Likewise.
3082 (conj_test): Likewise.
3083 (copysign_test): Likewise.
3084 (cos_test): Likewise.
3085 (cos_test_tonearest): Likewise.
3086 (cos_test_towardzero): Likewise.
3087 (cos_test_downward): Likewise.
3088 (cos_test_upward): Likewise.
3089 (cosh_test): Likewise.
3090 (cosh_test_tonearest): Likewise.
3091 (cosh_test_towardzero): Likewise.
3092 (cosh_test_downward): Likewise.
3093 (cosh_test_upward): Likewise.
3094 (cpow_test): Likewise.
3095 (cproj_test): Likewise.
3096 (creal_test): Likewise.
3097 (csin_test): Likewise.
3098 (csinh_test): Likewise.
3099 (csqrt_test): Likewise.
3100 (ctan_test): Likewise.
3101 (ctan_test_tonearest): Likewise.
3102 (ctan_test_towardzero): Likewise.
3103 (ctan_test_downward): Likewise.
3104 (ctan_test_upward): Likewise.
3105 (ctanh_test): Likewise.
3106 (ctanh_test_tonearest): Likewise.
3107 (ctanh_test_towardzero): Likewise.
3108 (ctanh_test_downward): Likewise.
3109 (ctanh_test_upward): Likewise.
3110 (erf_test): Likewise.
3111 (erfc_test): Likewise.
3112 (exp_test): Likewise.
3113 (exp_test_tonearest): Likewise.
3114 (exp_test_towardzero): Likewise.
3115 (exp_test_downward): Likewise.
3116 (exp_test_upward): Likewise.
3117 (exp10_test): Likewise.
3118 (exp10_test_tonearest): Likewise.
3119 (exp10_test_towardzero): Likewise.
3120 (exp10_test_downward): Likewise.
3121 (exp10_test_upward): Likewise.
3122 (pow10_test): Likewise.
3123 (exp2_test): Likewise.
3124 (expm1_test): Likewise.
3125 (expm1_test_tonearest): Likewise.
3126 (expm1_test_towardzero): Likewise.
3127 (expm1_test_downward): Likewise.
3128 (expm1_test_upward): Likewise.
3129 (fabs_test): Likewise.
3130 (fdim_test): Likewise.
3131 (floor_test): Likewise.
3132 (fma_test): Likewise.
3133 (fma_test_towardzero): Likewise.
3134 (fma_test_downward): Likewise.
3135 (fma_test_upward): Likewise.
3136 (fmax_test): Likewise.
3137 (fmin_test): Likewise.
3138 (fmod_test): Likewise.
3139 (fpclassify_test): Likewise.
3140 (frexp_test): Likewise.
3141 (hypot_test): Likewise.
3142 (ilogb_test): Likewise.
3143 (isfinite_test): Likewise.
3144 (finite_test): Likewise.
3145 (isgreater_test): Likewise.
3146 (isgreaterequal_test): Likewise.
3147 (isinf_test): Likewise.
3148 (isless_test): Likewise.
3149 (islessequal_test): Likewise.
3150 (islessgreater_test): Likewise.
3151 (isnan_test): Likewise.
3152 (isnormal_test): Likewise.
3153 (issignaling_test): Likewise.
3154 (isunordered_test): Likewise.
3155 (j0_test): Likewise.
3156 (j1_test): Likewise.
3157 (jn_test): Likewise.
3158 (ldexp_test): Likewise.
3159 (lgamma_test): Likewise.
3160 (gamma_test): Likewise.
3161 (lrint_test): Likewise.
3162 (lrint_test_tonearest): Likewise.
3163 (lrint_test_towardzero): Likewise.
3164 (lrint_test_downward): Likewise.
3165 (lrint_test_upward): Likewise.
3166 (llrint_test): Likewise.
3167 (llrint_test_tonearest): Likewise.
3168 (llrint_test_towardzero): Likewise.
3169 (llrint_test_downward): Likewise.
3170 (llrint_test_upward): Likewise.
3171 (log_test): Likewise.
3172 (log10_test): Likewise.
3173 (log1p_test): Likewise.
3174 (log2_test): Likewise.
3175 (logb_test): Likewise.
3176 (logb_test_downward): Likewise.
3177 (lround_test): Likewise.
3178 (llround_test): Likewise.
3179 (modf_test): Likewise.
3180 (nearbyint_test): Likewise.
3181 (nextafter_test): Likewise.
3182 (nexttoward_test): Likewise.
3183 (pow_test): Likewise.
3184 (pow_test_tonearest): Likewise.
3185 (pow_test_towardzero): Likewise.
3186 (pow_test_downward): Likewise.
3187 (pow_test_upward): Likewise.
3188 (remainder_test): Likewise.
3189 (drem_test): Likewise.
3190 (remainder_test_tonearest): Likewise.
3191 (drem_test_tonearest): Likewise.
3192 (remainder_test_towardzero): Likewise.
3193 (drem_test_towardzero): Likewise.
3194 (remainder_test_downward): Likewise.
3195 (drem_test_downward): Likewise.
3196 (remainder_test_upward): Likewise.
3197 (drem_test_upward): Likewise.
3198 (remquo_test): Likewise.
3199 (rint_test): Likewise.
3200 (rint_test_tonearest): Likewise.
3201 (rint_test_towardzero): Likewise.
3202 (rint_test_downward): Likewise.
3203 (rint_test_upward): Likewise.
3204 (round_test): Likewise.
3205 (scalb_test): Likewise.
3206 (scalbn_test): Likewise.
3207 (scalbln_test): Likewise.
3208 (signbit_test): Likewise.
3209 (sin_test): Likewise.
3210 (sin_test_tonearest): Likewise.
3211 (sin_test_towardzero): Likewise.
3212 (sin_test_downward): Likewise.
3213 (sin_test_upward): Likewise.
3214 (sincos_test): Likewise.
3215 (sinh_test): Likewise.
3216 (sinh_test_tonearest): Likewise.
3217 (sinh_test_towardzero): Likewise.
3218 (sinh_test_downward): Likewise.
3219 (sinh_test_upward): Likewise.
3220 (sqrt_test): Likewise.
3221 (sqrt_test_tonearest): Likewise.
3222 (sqrt_test_towardzero): Likewise.
3223 (sqrt_test_downward): Likewise.
3224 (sqrt_test_upward): Likewise.
3225 (tan_test): Likewise.
3226 (tan_test_tonearest): Likewise.
3227 (tan_test_towardzero): Likewise.
3228 (tan_test_downward): Likewise.
3229 (tan_test_upward): Likewise.
3230 (tanh_test): Likewise.
3231 (tgamma_test): Likewise.
3232 (trunc_test): Likewise.
3233 (y0_test): Likewise.
3234 (y1_test): Likewise.
3235 (yn_test): Likewise.
3236 (significand_test): Likewise.
3238 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3239 individual tests in comment.
3240 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3241 (prev_max_error): New variable.
3242 (prev_real_max_error): Likewise.
3243 (prev_imag_max_error): Likewise.
3244 (compare_ulp_data): Don't refer to test names in comment.
3245 (find_test_ulps): Remove function.
3246 (find_function_ulps): Likewise.
3247 (find_complex_function_ulps): Likewise.
3248 (init_max_error): Take function name as argument. Look up ulps
3250 (print_ulps): Remove function.
3251 (print_max_error): Use prev_max_error instead of calling
3253 (print_complex_max_error): Use prev_real_max_error and
3254 prev_imag_max_error instead of calling find_complex_function_ulps.
3255 (check_float_internal): Take max_ulp parameter instead of calling
3256 find_test_ulps. Don't call print_ulps.
3257 (check_float): Update call to check_float_internal.
3258 (check_complex): Update calls to check_float_internal.
3259 (START): Pass argument to init_max_error.
3260 * math/gen-libm-test.pl (%results): Don't include "kind"
3262 (parse_ulps): Don't handle ulps of individual tests.
3263 (print_ulps_file): Likewise.
3264 (output_ulps): Likewise.
3265 * math/README.libm-test: Update.
3266 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3268 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3269 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3270 * sysdeps/arm/libm-test-ulps: Likewise.
3271 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3272 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3273 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3274 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3275 * sysdeps/microblaze/libm-test-ulps: Likewise.
3276 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3277 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3278 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3279 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3280 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3281 * sysdeps/sh/libm-test-ulps: Likewise.
3282 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3283 * sysdeps/tile/libm-test-ulps: Likewise.
3284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3286 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3288 * math/libm-test.inc (print_complex_max_error): Check separately
3289 whether real and imaginary errors are within allowed range and
3290 pass 0 to print_complex_function_ulps instead of value within
3293 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3295 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3297 (get_handles_fopen): Likewise.
3298 (do_write_test): Likewise.
3300 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3302 * libio/fileops.c (do_ftell): Use cached offset when
3304 * libio/iofwide.c (do_ftell_wide): Likewise.
3305 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3307 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3310 * libio/libioP.h (get_file_offset): New function.
3311 * libio/fileops.c (get_file_offset): Likewise.
3312 (do_ftell): Likewise.
3313 (_IO_new_file_seekoff): Split out ftell logic.
3314 * libio/wfileops.c (do_ftell_wide): Likewise.
3315 (_IO_wfile_seekoff): Split out ftell logic.
3316 * libio/tst-ftell-active-handler.c: New test case.
3317 * libio/Makefile (tests): Add it.
3319 2014-03-03 Roland McGrath <roland@hack.frob.com>
3321 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3322 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3324 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3327 * nscd/connections.c (nscd_init): Call do_exit.
3328 (start_threads): Call do_exit and notify_parent.
3329 (begin_drop_privileges): Call do_exit.
3330 (finish_drop_privileges): Likewise.
3331 * nscd/selinux.c (preserve_capabilities): Likewise.
3332 (install_real_capabilities): Likewise.
3333 (nscd_selinux_enabled): Likewise.
3334 (avc_create_thread): Likewise.
3335 (avc_alloc_lock): Likewise.
3336 (nscd_avc_init): Likewise.
3337 * nscd/nscd.c (parent_fd): New static variable.
3338 (main): Create a pipe between parent and child processes.
3339 Skip closing parent_fd.
3340 (monitor_child): New function.
3341 (do_exit): Likewise.
3342 (notify_parent): Likewise.
3343 * nscd/nscd.h (notify_parent): Likewise.
3344 (do_exit): Likewise.
3346 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3348 * malloc/malloc.c (__libc_calloc): Revert last change.
3350 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3354 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3356 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3357 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3359 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3360 (__libc_ifunc_impl_list): Likewise.
3361 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3362 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3363 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3364 * string/strrchr.c: Define STRRCHR.
3366 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3368 * benchtest/bench-strtok.c (simple_strtok): Delete.
3369 (strtok_string): Use as benchmark.
3370 * string/strtok (STRTOK): New macro.
3372 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3374 * manual/threads.texi: Add header and standard comments to all
3377 * elf/dl-lookup.c (check_match): New function.
3378 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3379 (do_lookup_x): Remove nested function check_match. Use non-nested
3380 function check_match.
3382 2014-02-28 Roland McGrath <roland@hack.frob.com>
3384 * csu/Makefile (generated, before-compile): Use += rather than =.
3385 * catgets/Makefile (generated, generated-dirs): Likewise.
3386 * debug/Makefile (generated): Likewise.
3387 * dlfcn/Makefile (generated): Likewise.
3388 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3389 * iconvdata/Makefile (before-compile, generated): Likewise.
3390 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3391 * libio/Makefile (generated): Likewise.
3392 * malloc/Makefile (generated): Likewise.
3393 * manual/Makefile (generated, generated-dirs): Likewise.
3394 * misc/Makefile (generated): Likewise.
3395 * posix/Makefile (generated): Likewise.
3396 * resolv/Makefile (generated): Likewise.
3397 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3398 * timezone/Makefile (generated, generated-dirs): Likewise.
3400 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3402 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3405 power8 implementation.
3406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3407 file: POWER8 llround ifunc implementation.
3408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3409 (__lllround): Add POWER8 implementation.
3410 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3411 POWER8 llround implementation.
3413 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3414 power8 implementation.
3415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3416 file: POWER8 llrint ifunc implementation.
3417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3418 Add POWER8 implementation.
3419 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3420 POWER8 llrint implementation.
3422 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3423 power8 implementation.
3424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3425 file: POWER8 finite ifunc implementation.
3426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3427 Add POWER8 implementation.
3428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3430 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3431 POWER8 finite implementation.
3432 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3434 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3435 power8 implementation.
3436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3437 file: POWER8 isinf ifunc implementation.
3438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3439 POWER8 implementation.
3440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3442 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3443 isinf implementation.
3444 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3446 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3447 (INIT_ARCH): Add hwcap2 initialization.
3448 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3449 power8 implementation.
3450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3451 file: POWER8 isnan ifunc implementation.
3452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3453 POWER8 implementation.
3454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3456 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3457 isnan implementation.
3458 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3460 2014-02-27 Joey Ye <joey.ye@arm.com>
3462 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3463 (_FP_NANFRAC_Q): Set to zero.
3465 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3468 * math/auto-libm-test-in: New test inputs.
3469 * math/auto-libm-test-out: Regenerate.
3470 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3473 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3475 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3477 * scripts/evaluate-test.sh: Take new argument indicating whether
3478 failure is expected.
3479 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3480 indicating whether failure is expected.
3481 * conform/Makefile (test-xfail-run-conformtest): New variable.
3482 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3484 * posix/Makefile (test-xfail-annexc): New variable.
3485 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3487 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3489 * argp/Makefile: Include Makeconfig immediately after defining
3491 * assert/Makefile: Likewise.
3492 * benchtests/Makefile: Likewise.
3493 * catgets/Makefile: Likewise.
3494 * conform/Makefile: Likewise.
3495 * crypt/Makefile: Likewise.
3496 * csu/Makefile: Likewise.
3497 (all): Remove target.
3498 * ctype/Makefile: Include Makeconfig immediately after defining
3500 * debug/Makefile: Likewise.
3501 * dirent/Makefile: Likewise.
3502 * dlfcn/Makefile: Likewise.
3503 * gmon/Makefile: Likewise.
3504 * gnulib/Makefile: Likewise.
3505 * grp/Makefile: Likewise.
3506 * gshadow/Makefile: Likewise.
3507 * hesiod/Makefile: Likewise.
3508 * hurd/Makefile: Likewise.
3509 (all): Remove target.
3510 * iconvdata/Makefile: Include Makeconfig immediately after
3512 * inet/Makefile: Likewise.
3513 * intl/Makefile: Likewise.
3514 * io/Makefile: Likewise.
3515 * libio/Makefile: Likewise.
3516 (all): Remove target.
3517 * locale/Makefile: Include Makeconfig immediately after defining
3519 * login/Makefile: Likewise.
3520 * mach/Makefile: Likewise.
3521 (all): Remove target.
3522 * malloc/Makefile: Include Makeconfig immediately after defining
3524 (all): Remove target.
3525 * manual/Makefile: Include Makeconfig immediately after defining
3527 * math/Makefile: Likewise.
3528 * misc/Makefile: Likewise.
3529 * nis/Makefile: Likewise.
3530 * nss/Makefile: Likewise.
3531 * po/Makefile: Likewise.
3532 (all): Remove target.
3533 * posix/Makefile: Include Makeconfig immediately after defining
3535 * pwd/Makefile: Likewise.
3536 * resolv/Makefile: Likewise.
3537 * resource/Makefile: Likewise.
3538 * rt/Makefile: Likewise.
3539 * setjmp/Makefile: Likewise.
3540 * shadow/Makefile: Likewise.
3541 * signal/Makefile: Likewise.
3542 * socket/Makefile: Likewise.
3543 * soft-fp/Makefile: Likewise.
3544 * stdio-common/Makefile: Likewise.
3545 * stdlib/Makefile: Likewise.
3546 * streams/Makefile: Likewise.
3547 * string/Makefile: Likewise.
3548 * sunrpc/Makefile: Likewise.
3549 (all): Remove target.
3550 * sysvipc/Makefile: Include Makeconfig immediately after defining
3552 * termios/Makefile: Likewise.
3553 * time/Makefile: Likewise.
3554 * timezone/Makefile: Likewise.
3555 (all): Remove target.
3556 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3558 * wctype/Makefile: Likewise.
3560 2014-02-26 Steve Ellcey <sellcey@mips.com>
3562 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3563 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3564 (libc_feholdexcept_setround_mips): Ditto.
3565 (libc_feholdsetround): New.
3566 (libc_feholdsetroundf): New.
3567 (libc_feholdsetroundl): New.
3568 (libc_feupdateenv_test_mips): New.
3569 (libc_feupdateenv_test): New.
3570 (libc_feupdateenv_testf): New.
3571 (libc_feupdateenv_testl): New.
3572 (libc_feresetround): New.
3573 (libc_feresetroundf): New.
3574 (libc_feresetroundl): New.
3575 (libc_fetestexcept_mips): New.
3576 (libc_fetestexcept): New.
3577 (libc_fetestexceptf): New.
3578 (libc_fetestexceptl): New.
3580 (libc_feholdexcept_setround_mips_ctx): New.
3581 (libc_feholdexcept_setround_ctx): New.
3582 (libc_feholdexcept_setroundf_ctx): New.
3583 (libc_feholdexcept_setroundl_ctx): New.
3584 (libc_fesetenv_mips_ctx): New.
3585 (libc_fesetenv_ctx): New.
3586 (libc_fesetenv_ctxf): New.
3587 (libc_fesetenv_ctxl): New.
3588 (libc_feupdateenv_mips_ctx): New.
3589 (libc_feupdateenv_ctx): New.
3590 (libc_feupdateenvf_ctx): New.
3591 (libc_feupdateenvl_ctx): New.
3592 (libc_feholdsetround_mips_ctx): New.
3593 (libc_feholdsetround_ctx): New.
3594 (libc_feholdsetroundf_ctx): New.
3595 (libc_feholdsetroundl_ctx): New.
3596 (libc_feresetround_mips_ctx): New.
3597 (libc_feresetround_ctx): New.
3598 (libc_feresetroundf_ctx): New.
3599 (libc_feresetroundl_ctx): New.
3601 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3603 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3605 * manual/ipc.texi: New file.
3606 * manual/Makefile (chapters): Add ipc.
3607 * manual/job.texi: Add "Inter-Process Communication" to next.
3608 * manual/process.texi: Add "Inter-Process Communication" to prev.
3610 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3614 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3616 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3618 * manual/arith.texi: Fix spaces after sentences.
3619 * manual/charset.texi: Likewise.
3620 * manual/errno.texi: Likewise.
3621 * manual/install.texi: Likewise.
3622 * manual/llio.texi: Likewise.
3623 * manual/locale.texi: Likewise.
3624 * manual/maint.texi: Likewise.
3625 * manual/math.texi: Likewise.
3626 * manual/memory.texi: Likewise.
3627 * manual/message.texi: Likewise.
3628 * manual/probes.texi: Likewise.
3629 * manual/resource.texi: Likewise.
3630 * manual/signal.texi: Likewise.
3631 * manual/socket.texi: Likewise.
3632 * manual/stdio.texi: Likewise.
3633 * manual/string.texi: Likewise.
3634 * manual/time.texi: Likewise.
3635 * manual/users.texi: Likewise.
3637 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3640 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3641 _DEFAULT_SOURCE is defined.
3643 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3644 Carlos O'Donell <carlos@redhat.com>
3647 * elf/dl-tls.c (_dl_count_modids): New function.
3648 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3649 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3650 audit library and increment generation counter.
3651 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3652 * elf/tst-audit9.c: New file.
3653 * elf/tst-auditmod9a.c: New file.
3654 * elf/tst-auditmod9b.c: New file.
3655 * elf/Makefile: Add rules to build and run tst-audit9.
3657 2014-02-25 Florian Weimer <fweimer@redhat.com>
3660 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3662 2014-02-25 Will Newton <will.newton@linaro.org>
3664 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3665 (__longjmp): Restore sp and lr before restoring callee
3666 saved registers. Add longjmp and longjmp_target
3667 SystemTap probe point.
3668 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3669 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3670 Define to zero to match jmpbuf layout.
3671 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3672 (__sigsetjmp): Save sp and lr before saving callee
3673 saved registers. Add setjmp SystemTap probe point.
3675 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3677 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3679 2014-02-24 Andreas Schwab <schwab@suse.de>
3682 * elf/pldd.c (wait_for_ptrace_stop): New function.
3683 (main): Call it after attaching.
3685 2014-02-22 Roland McGrath <roland@hack.frob.com>
3687 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3688 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3689 Versions files is now verboten.
3690 * hurd/Versions (libc: GLIBC_2.0):
3691 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3692 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3693 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3694 * mach/Versions: Likewise.
3696 * csu/Versions: Remove unused %include.
3697 * resolv/Versions: Likewise.
3699 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3701 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3702 ($(objpfx)check-local-headers.out): Likewise.
3703 ($(objpfx)begin-end-check.out): Likewise.
3704 * Makerules (check-abi-%.out): Likewise.
3705 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3706 ($(objpfx)test2.cat): Likewise.
3707 ($(objpfx)de/libc.cat): Likewise.
3708 ($(objpfx)test-gencat.out): Likewise.
3709 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3710 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3711 ($(objpfx)noload-mem): Likewise.
3712 ($(objpfx)tst-pathopt.out): Likewise.
3713 ($(objpfx)tst-rtld-load-self.out): Likewise.
3714 ($(objpfx)tst-array1-cmp.out): Likewise.
3715 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3716 ($(objpfx)tst-array2-cmp.out): Likewise.
3717 ($(objpfx)tst-array3-cmp.out): Likewise.
3718 ($(objpfx)tst-array4-cmp.out): Likewise.
3719 ($(objpfx)tst-array5-cmp.out): Likewise.
3720 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3721 ($(objpfx)check-textrel.out): Likewise.
3722 ($(objpfx)check-execstack.out): Likewise.
3723 ($(objpfx)check-localplt.out): Likewise.
3724 ($(objpfx)order2-cmp.out): Likewise.
3725 ($(objpfx)tst-leaks1-mem): Likewise.
3726 ($(objpfx)tst-leaks1-static-mem): Likewise.
3727 ($(objpfx)tst-initorder-cmp.out): Likewise.
3728 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3729 ($(objpfx)tst-unused-dep.out): Likewise.
3730 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3731 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3732 * iconv/Makefile (test-iconvconfig): Likewise.
3733 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3734 ($(objpfx)iconv-test.out): Likewise.
3735 ($(objpfx)tst-tables.out): Likewise.
3736 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3737 ($(objpfx)tst-gettext.out): Likewise.
3738 ($(objpfx)tst-translit.out): Likewise.
3739 ($(objpfx)tst-gettext2.out): Likewise.
3740 ($(objpfx)tst-gettext4.out): Likewise.
3741 ($(objpfx)tst-gettext6.out): Likewise.
3742 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3743 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3744 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3745 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3746 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3747 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3748 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3749 ($(objpfx)wordexp-tst.out): Likewise.
3750 ($(objpfx)annexc.out): Likewise.
3751 ($(objpfx)tst-fnmatch-mem): Likewise.
3752 ($(objpfx)bug-regex2-mem): Likewise.
3753 ($(objpfx)bug-regex14-mem): Likewise.
3754 ($(objpfx)bug-regex21-mem): Likewise.
3755 ($(objpfx)bug-regex31-mem): Likewise.
3756 ($(objpfx)tst-vfork3-mem): Likewise.
3757 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3758 ($(objpfx)tst-pcre-mem): Likewise.
3759 ($(objpfx)tst-boost-mem): Likewise.
3760 ($(objpfx)tst-getconf.out): Likewise.
3761 ($(objpfx)bug-ga2-mem): Likewise.
3762 ($(objpfx)bug-glob2-mem): Likewise.
3763 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3764 ($(objpfx)mtrace-tst-leaks2): Likewise.
3765 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3766 ($(objpfx)tst-printf.out): Likewise.
3767 ($(objpfx)tst-setvbuf1.out): Likewise.
3768 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3769 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3770 ($(objpfx)tst-fmtmsg.out): Likewise.
3771 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3772 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3774 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3775 * bits/sigaction.h [__USE_MISC]: Likewise.
3776 * bits/waitstatus.h: Update #endif comments.
3777 * ctype/ctype.h: Likewise.
3778 * dirent/dirent.h: Likewise.
3779 [__USE_MISC]: Remove redundant conditionals.
3780 * grp/grp.h: Update #endif comments.
3781 [__USE_GNU]: Remove redundant conditionals.
3782 [__USE_MISC]: Likewise.
3783 * inet/netinet/in.h [__USE_GNU]: Likewise.
3784 * io/sys/stat.h [__USE_MISC]: Likewise.
3785 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3786 * libio/bits/stdio.h: Update #endif comments.
3787 [__USE_MISC]: Remove redundant conditionals.
3788 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3789 * libio/stdio.h: Update #endif comments.
3790 [__USE_MISC]: Remove redundant conditionals.
3791 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3792 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3793 * math/math.h: Update #else and #endif comments.
3794 [__USE_MISC]: Remove redundant conditionals.
3795 * misc/sys/uio.h: Update #endif comments.
3796 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3797 * posix/glob.h [__USE_MISC]: Likewise.
3798 * posix/sys/types.h: Update #endif comments.
3799 [__USE_MISC]: Remove redundant conditionals.
3800 * posix/sys/wait.h: Update #endif comments.
3801 [__USE_MISC]: Remove redundant conditionals.
3802 * posix/unistd.h: Update #endif comments.
3803 [__USE_MISC]: Remove redundant conditionals.
3804 * pwd/pwd.h [__USE_GNU]: Likewise.
3805 [__USE_MISC]: Likewise.
3806 * resolv/netdb.h [__USE_GNU]: Likewise.
3807 * signal/signal.h: Update #endif comments.
3808 [__USE_MISC]: Remove redundant conditionals.
3809 * stdlib/stdlib.h: Update #else and #endif comments.
3810 [__USE_MISC]: Remove redundant conditionals.
3811 [__USE_GNU]: Likewise.
3812 * string/bits/string2.h [__USE_MISC]: Likewise.
3813 * string/string.h: Update #endif comments.
3814 [__USE_MISC]: Remove redundant conditionals.
3815 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3817 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3818 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3819 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3821 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3823 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3825 [__USE_MISC]: Remove redundant conditionals.
3826 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3827 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3828 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3829 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3830 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3832 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3833 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3835 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3836 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3838 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3840 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3841 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3843 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3845 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3846 * sysdeps/x86/bits/string.h: Update #endif comments.
3847 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3849 * time/sys/time.h: Update #endif comments.
3850 * time/time.h: Likewise.
3851 [__USE_MISC]: Remove redundant conditionals.
3853 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3856 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3858 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3860 * Versions.def (librt): Add GLIBC_2.17.
3862 2014-02-21 Adam Conrad <adconrad@0c3.net>
3864 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3865 synonym for _SYS_AUXV_H to allow direct inclusion.
3866 * sysdeps/sparc/bits/hwcap.h: Likewise.
3867 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3868 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3869 * sysdeps/sparc/sysdep.h: Likewise.
3871 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3873 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3875 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3877 * benchtests/bench-strrchr.c: Print length instead of position.
3879 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3882 * sysdeps/unix/sysv/linux/kernel-features.h
3883 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3884 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3885 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3886 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3888 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3889 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3890 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3891 (__ASSUME_SENDMMSG): Define instead of using previous
3892 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3893 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3894 (__ASSUME_SENDMMSG_SYSCALL): Define.
3895 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3896 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3898 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3899 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3901 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3902 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3904 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3905 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3906 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3907 [__ASSUME_SENDMMSG]: Change conditionals to
3908 [__ASSUME_SENDMMSG_SOCKETCALL].
3909 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3910 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3912 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3913 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3915 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3916 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3917 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3918 [!__ASSUME_SENDMMSG]: Change conditional to
3919 [!__ASSUME_SENDMMSG_SOCKETCALL].
3920 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3921 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3925 * sysdeps/unix/sysv/linux/kernel-features.h
3926 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3927 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3928 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3929 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3930 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3931 [__i386__ || __sparc__]
3932 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3933 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3934 (__ASSUME_RECVMMSG): Define instead of using previous
3935 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3936 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3937 (__ASSUME_RECVMMSG_SYSCALL): Define.
3938 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3939 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3941 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3942 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3944 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3945 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3947 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3948 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3949 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3950 [__ASSUME_RECVMMSG]: Change condition to
3951 [__ASSUME_RECVMMSG_SOCKETCALL].
3952 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3953 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3955 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3956 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3957 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3959 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3960 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3961 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3962 [!__ASSUME_RECVMMSG]: Change condition to
3963 [!__ASSUME_RECVMMSG_SOCKETCALL].
3964 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3965 (__ASSUME_RECVMMSG_SYSCALL): Define.
3968 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3969 __powerpc__ || __s390__ || __sh__ || __sparc__]
3970 (__ASSUME_SOCKETCALL): Define.
3971 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3972 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3973 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3974 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3975 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3976 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3977 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3978 (__ASSUME_ACCEPT4): Define instead of using previous
3979 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3980 __powerpc__ || __sparc__ || __s390__)] condition.
3981 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3982 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3983 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3984 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3985 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3986 [!__ASSUME_ACCEPT4]: Change condition to
3987 [!__ASSUME_ACCEPT4_SOCKETCALL].
3988 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3989 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3990 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3991 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3992 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3993 __ASSUME_ACCEPT4_SYSCALL.
3994 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3995 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3996 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3997 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3998 __ASSUME_ACCEPT4_SYSCALL.
3999 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4000 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4001 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4002 [__ASSUME_ACCEPT4]: Change condition to
4003 [__ASSUME_ACCEPT4_SOCKETCALL].
4004 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4005 (__ASSUME_SOCKETCALL): Define.
4006 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4007 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4008 (__ASSUME_SOCKETCALL): Define.
4009 (__ASSUME_ACCEPT4): Remove.
4010 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4012 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4013 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4015 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4016 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4018 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4020 (HWCAP_ARM_LPAE): Likewise.
4021 (HWCAP_ARM_EVTSTRM): Likewise.
4022 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4023 Add vpfd32, lpae and evtstrm.
4024 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4027 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4029 * math/auto-libm-test-in: Add tests of clog10.
4030 * math/auto-libm-test-out: Regenerated.
4031 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4032 * sysdeps/i386/fpu/libm-test-ulps: Update.
4033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4035 2014-02-18 Andreas Schwab <schwab@suse.de>
4038 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4039 Store non-zero if the second buffer was newly allocated.
4040 (send_dg): Likewise.
4041 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4042 to send_vc and send_dg.
4043 (res_nsend): Pass NULL for ansp2_malloced.
4044 * resolv/res_query.c (__libc_res_nquery): Add parameter
4045 answerp2_malloced and pass it down to __libc_res_nsend.
4046 (res_nquery): Pass additional NULL to __libc_res_nquery.
4047 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4048 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4049 second answer buffer if answerp2_malloced was set.
4050 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4051 (__libc_res_nquerydomain): Add parameter
4052 answerp2_malloced and pass it down to __libc_res_nquery.
4053 (res_nquerydomain): Pass additional NULL to
4054 __libc_res_nquerydomain.
4055 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4056 additional NULL to __libc_res_nsend and __libc_res_nquery.
4057 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4058 additional NULL to __libc_res_nsearch.
4059 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4060 parameter of __libc_res_nsearch to check for separately allocated
4062 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4064 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4065 additional NULL to __libc_res_nquery.
4066 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4068 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4069 * include/resolv.h: Update prototypes of __libc_res_nquery,
4070 __libc_res_nsearch, __libc_res_nsend.
4072 2014-02-18 Joseph Myers <joseph@codesourcery.com>
4074 * math/auto-libm-test-in: Add tests of fma.
4075 * math/auto-libm-test-out: Regenerated.
4076 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4077 (fma_towardzero_test_data): Likewise.
4078 (fma_downward_test_data): Likewise.
4079 (fma_upward_test_data): Likewise.
4080 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4082 (rounding_modes): Add values for new field.
4083 (func_calc_method): Add value mpfr_fff_f.
4084 (func_calc_desc): Add mpfr_fff_f union field.
4085 (test_function): Add field exact_args.
4086 (FUNC): Add macro argument EXACT_ARGS.
4087 (FUNC_mpfr_f_f): Update call to FUNC.
4088 (FUNC_mpfr_f_f): Likewise.
4089 (FUNC_mpfr_ff_f): Likewise.
4090 (FUNC_mpfr_if_f): Likewise.
4091 (FUNC_mpc_c_f): Likewise.
4092 (FUNC_mpc_c_c): Likewise.
4093 (test_functions): Add fma. Update calls to FUNC.
4094 (handle_input_arg): Add argument exact_args.
4095 (add_test): Update call to handle_input_arg.
4096 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4097 (output_for_one_input_case): Update call to calc_generic_results.
4098 Recalculate exact zero results in each rounding mode.
4100 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4101 non-negative before setting low bit.
4102 * math/auto-libm-test-in: Mark one asin test possibly having
4104 * math/auto-libm-test-out: Regenerated.
4105 * sysdeps/i386/fpu/libm-test-ulps: Update.
4106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4108 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4110 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4111 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4112 ports/sysdeps/unix/sysv/linux/microblaze.
4113 * README: Add missing listing for microblaze*-*-linux-gnu.
4115 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4117 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4118 * sysdeps/unix/sysv/linux/ia64: Move directory from
4119 ports/sysdeps/unix/sysv/linux/ia64.
4120 * README: Update listing for ia64-*-linux-gnu.
4122 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4123 Joseph Myers <joseph@codesourcery.com>
4125 * Makeconfig (test-name): New variable.
4126 (evaluate-test): Likewise.
4127 * Makerules (do-test-clean): Remove .test-result files.
4128 (common-mostlyclean): Likewise.
4129 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4130 * scripts/evaluate-test.sh: New file.
4132 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4134 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4135 separate $(objpfx)tst-fopenloc-cmp.out and
4136 $(objpfx)tst-fopenloc-mem.out targets.
4137 (tests): Update dependencies.
4138 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4139 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4140 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4141 (tst-rxspencer-no-utf8-ARGS): New variable.
4142 (tst-rxspencer-no-utf8-ENV): Likewise.
4143 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4144 instead of $(objpfx)tst-rxspencer-mem.
4145 ($(objpfx)tst-rxspencer-mem): Change target to
4146 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4147 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4148 * posix/tst-rxspencer-no-utf8.c: New file.
4150 * elf/Makefile ($(objpfx)order.out): Remove rule.
4151 [$(run-built-tests) = yes] (tests): Depend on
4152 $(objpfx)order-cmp.out.
4153 ($(objpfx)order-cmp.out): New rule.
4154 [$(run-built-tests) = yes] (tests): Depend on
4155 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4156 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4157 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4158 $(objpfx)tst-array5-static-cmp.out.
4159 ($(objpfx)tst-array1.out): Remove rule.
4160 ($(objpfx)tst-array1-cmp.out): New rule.
4161 ($(objpfx)tst-array1-static.out): Remove rule.
4162 ($(objpfx)tst-array1-static-cmp.out): New rule.
4163 ($(objpfx)tst-array2.out): Remove rule.
4164 ($(objpfx)tst-array2-cmp.out): New rule.
4165 ($(objpfx)tst-array3.out): Remove rule.
4166 ($(objpfx)tst-array3-cmp.out): New rule.
4167 ($(objpfx)tst-array4.out): Remove rule.
4168 ($(objpfx)tst-array4-cmp.out): New rule.
4169 ($(objpfx)tst-array5.out): Remove rule.
4170 ($(objpfx)tst-array5-cmp.out): New rule.
4171 ($(objpfx)tst-array5-static.out): Remove rule.
4172 ($(objpfx)tst-array5-static-cmp.out): New rule.
4173 [$(run-built-tests) = yes] (tests): Depend on
4174 $(objpfx)order2-cmp.out.
4175 ($(objpfx)order2.out): Remove rule.
4176 ($(objpfx)order2-cmp.out): New rule.
4177 ($(objpfx)tst-initorder.out): Remove rule.
4178 [$(run-built-tests) = yes] (tests): Depend on
4179 $(objpfx)tst-initorder-cmp.out.
4180 ($(objpfx)tst-initorder-cmp.out): New rule.
4181 ($(objpfx)tst-initorder2.out): Remove rule.
4182 [$(run-built-tests) = yes] (tests): Depend on
4183 $(objpfx)tst-initorder2-cmp.out.
4184 ($(objpfx)tst-initorder2-cmp.out): New rule.
4185 [$(run-built-tests) = yes] (tests): Depend on
4186 $(objpfx)tst-unused-dep-cmp.out.
4187 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4188 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4189 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4190 on $(objpfx)tst-setvbuf1-cmp.out.
4191 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4192 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4193 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4194 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4195 ($(objpfx)tst-svc.out): Remove rule.
4196 ($(objpfx)tst-svc-cmp.out): New rule.
4198 2014-02-13 Joseph Myers <joseph@codesourcery.com>
4200 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4201 * ctype/ctype.h [__USE_MISC]: Likewise.
4202 * dirent/dirent.h [__USE_MISC]: Likewise.
4203 * grp/grp.h [__USE_MISC]: Likewise.
4204 * io/fcntl.h [__USE_MISC]: Likewise.
4205 * io/sys/stat.h [__USE_MISC]: Likewise.
4206 * libio/stdio.h [__USE_MISC]: Likewise.
4207 * posix/unistd.h [__USE_MISC]: Likewise.
4208 * pwd/pwd.h [__USE_MISC]: Likewise.
4209 * stdlib.h [__USE_MISC]: Likewise.
4210 * string/bits/string2.h [__USE_MISC]: Likewise.
4211 * string/string.h [__USE_MISC]: Likewise.
4212 * time/time.h [__USE_MISC]: Likewise.
4214 2014-02-13 Andreas Schwab <schwab@suse.de>
4217 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4218 second answer buffer if it was separately allocated.
4220 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4222 * sysdeps/mips/math-tests.h: Include <features.h>.
4223 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4224 (ROUNDING_TESTS_long_double): Do not define.
4225 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4226 (EXCEPTION_TESTS_long_double): Likewise.
4227 * sysdeps/mips/mips64/libm-test-ulps: Update.
4229 * include/features.h (__USE_BSD): Remove macro definitions.
4230 (__USE_SVID): Likewise.
4231 (_BSD_SOURCE): Likewise.
4232 (_SVID_SOURCE): Likewise.
4233 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4234 from definition of _DEFAULT_SOURCE.
4235 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4237 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4238 * bits/mman.h [__USE_BSD]: Likewise.
4239 * bits/termios.h [__USE_BSD]: Likewise.
4240 * bits/waitstatus.h [__USE_BSD]: Likewise.
4241 * ctype/ctype.h [__USE_SVID]: Likewise.
4242 * dirent/dirent.h [__USE_BSD]: Likewise.
4243 * grp/grp.h [__USE_SVID]: Likewise.
4244 [__USE_BSD]: Likewise.
4245 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4246 * io/fcntl.h [__USE_BSD]: Likewise.
4247 * io/ftw.h [__USE_BSD]: Likewise.
4248 * io/sys/stat.h [__USE_BSD]: Likewise.
4249 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4250 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4251 * libio/stdio.h [__USE_SVID]: Likewise.
4252 [__USE_BSD]: Likewise.
4253 * math/math.h [__USE_SVID]: Likewise.
4254 [__USE_BSD]: Likewise.
4255 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4256 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4257 * misc/search.h [__USE_SVID]: Likewise.
4258 * misc/sys/mman.h [__USE_BSD]: Likewise.
4259 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4260 * misc/sys/uio.h [__USE_BSD]: Likewise.
4261 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4262 * posix/glob.h [__USE_BSD]: Likewise.
4263 * posix/regex.h [__USE_BSD]: Likewise.
4264 * posix/sys/types.h [__USE_BSD]: Likewise.
4265 [__USE_SVID]: Likewise.
4266 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4267 * posix/sys/wait.h [__USE_BSD]: Likewise.
4268 [__USE_SVID]: Likewise.
4269 * posix/unistd.h [__USE_BSD]: Likewise.
4270 [__USE_SVID]: Likewise.
4271 * pwd/pwd.h [__USE_SVID]: Likewise.
4272 * resolv/netdb.h [__USE_BSD]: Likewise.
4273 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4274 * signal/signal.h [__USE_BSD]: Likewise.
4275 [__USE_SVID]: Likewise.
4276 * socket/sys/socket.h [__USE_BSD]: Likewise.
4277 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4278 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4279 [__USE_SVID]: Likewise.
4280 * string/bits/string2.h [__USE_BSD]: Likewise.
4281 [__USE_SVID]: Likewise.
4282 * string/bits/string3.h [__USE_BSD]: Likewise.
4283 * string/endian.h [__USE_BSD]: Likewise.
4284 * string/string.h [__USE_SVID]: Likewise.
4285 [__USE_BSD]: Likewise.
4286 * string/strings.h [__USE_BSD]: Likewise.
4287 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4288 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4289 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4290 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4291 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4292 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4294 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4296 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4297 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4299 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4300 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4302 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4304 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4305 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4306 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4308 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4310 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4311 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4312 * termios/termios.h [__USE_BSD]: Likewise.
4313 * time/sys/time.h [__USE_BSD]: Likewise.
4314 * time/time.h [__USE_BSD]: Likewise.
4315 [__USE_SVID]: Likewise.
4317 * Makefile (subdir_targets): Remove subdir_lint.out.
4319 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4320 (do-tst-printf): Likewise.
4321 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4322 $(objpfx)tst-printf.out.
4324 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4326 * Makerules (check-abi-%): Change target to
4327 $(objpfx)check-abi-%.out.
4328 (check-abi target): Update dependencies.
4329 (check-abi-pattern variable): Redirect output of diff to $@.
4330 (check-abi variable): Likewise.
4331 * elf/Makefile (check-abi): Update dependencies.
4333 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4335 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4336 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4338 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4339 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4340 value has largest subnormal exponent.
4341 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4342 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4343 * sysdeps/aarch64/soft-fp/sfp-machine.h
4344 (_FP_TININESS_AFTER_ROUNDING): New macro.
4345 * sysdeps/alpha/soft-fp/sfp-machine.h
4346 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4347 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4349 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4350 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4351 * sysdeps/mips/soft-fp/sfp-machine.h
4352 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4353 * sysdeps/powerpc/soft-fp/sfp-machine.h
4354 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4355 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4357 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4358 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4359 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4360 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4361 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4364 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4367 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4370 2014-02-12 Richard Henderson <rth@redhat.com>
4372 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4373 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4374 * sysdeps/unix/sysv/linux/alpha: Move directory from
4375 ports/sysdeps/unix/sysv/linux/alpha.
4376 * README: Update listing for alpha-*-linux-gnu.
4378 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4380 * include/features.h: Update comment documenting feature test
4382 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4384 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4385 (_SVID_SOURCE): Likewise.
4386 (_DEFAULT_SOURCE): Update description of default features.
4387 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4389 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4390 (S_ISVTX): Likewise.
4391 * manual/math.texi (Mathematical Constants): Likewise.
4392 * manual/signal.texi (Interrupted Primitives): Likewise.
4393 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4394 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4395 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4396 Don't refer to _SVID_SOURCE in warning text.
4398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4400 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4402 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4403 * sysdeps/mips/dl-lookup.c: Remove.
4404 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4406 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4409 * math/auto-libm-test-in: Add testcase for expl.
4410 * math/auto-libm-test-out: Regenerate.
4411 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4412 calculation of unsafe.
4413 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4415 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4417 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4418 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4419 ports/sysdeps/unix/sysv/linux/aarch64.
4420 * README: Update listing for aarch64*-*-linux-gnu.
4422 2014-02-11 Will Newton <will.newton@linaro.org>
4424 * manual/probes.texi (Mathematical Function Probes): Use
4425 "triggered" instead of "hit".
4427 * manual/probes.texi (Internal Probes): Add documentation
4428 of setjmp, longjmp and longjmp_target probes.
4430 * include/stap-probe.h: Add comment about probe argument
4433 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4434 definition. (tr_where, tr_freehook, tr_mallochook,
4435 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4437 2014-02-11 David S. Miller <davem@davemloft.net>
4439 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4440 processing int_tests.
4442 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4444 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4445 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4446 * sysdeps/unix/sysv/linux/mips: Move directory from
4447 ports/sysdeps/unix/sysv/linux/mips.
4448 * README: Update listing for mips-*-linux-gnu and
4451 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4453 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4454 * sysdeps/unix/sysv/linux/m68k: Move directory from
4455 ports/sysdeps/unix/sysv/linux/m68k.
4456 * README: Update listing for m68k-*-linux-gnu.
4458 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4460 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4461 * sysdeps/unix/sysv/linux/generic: Move directory from
4462 ports/sysdeps/unix/sysv/linux/generic.
4463 * sysdeps/unix/sysv/linux/tile: Move directory from
4464 ports/sysdeps/unix/sysv/linux/tile.
4465 * README: Update listing for tile*-*-linux-gnu.
4467 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4469 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4471 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4472 * catgets/open_catalog.c (__open_catalog): Likewise.
4473 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4474 * debug/confstr_chk.c: Likewise.
4475 * debug/fread_chk.c (__fread_chk): Likewise.
4476 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4477 * debug/getgroups_chk.c: Likewise.
4478 * debug/mbsnrtowcs_chk.c: Likewise.
4479 * debug/mbsrtowcs_chk.c: Likewise.
4480 * debug/mbstowcs_chk.c: Likewise.
4481 * debug/memcpy_chk.c: Likewise.
4482 * debug/memmove_chk.c: Likewise.
4483 * debug/mempcpy_chk.c: Likewise.
4484 * debug/memset_chk.c: Likewise.
4485 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4486 * debug/strcat_chk.c (__strcat_chk): Likewise.
4487 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4488 * debug/strncat_chk.c (__strncat_chk): Likewise.
4489 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4490 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4491 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4492 * debug/wcpncpy_chk.c: Likewise.
4493 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4494 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4495 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4496 * debug/wcsncpy_chk.c: Likewise.
4497 * debug/wcsnrtombs_chk.c: Likewise.
4498 * debug/wcsrtombs_chk.c: Likewise.
4499 * debug/wcstombs_chk.c: Likewise.
4500 * debug/wmemcpy_chk.c: Likewise.
4501 * debug/wmemmove_chk.c: Likewise.
4502 * debug/wmempcpy_chk.c: Likewise.
4503 * debug/wmemset_chk.c: Likewise.
4504 * dirent/scandirat.c (SCANDIRAT): Likewise.
4505 * dlfcn/dladdr1.c (dladdr1): Likewise.
4506 * dlfcn/dladdr.c (dladdr): Likewise.
4507 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4508 * dlfcn/dlerror.c (__dlerror): Likewise.
4509 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4510 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4511 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4512 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4513 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4514 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4515 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4516 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4518 * elf/dl-conflict.c: Likewise.
4519 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4520 * elf/dl-dst.h: Likewise.
4521 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4522 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4523 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4524 * elf/dl-init.c (call_init, _dl_init): Likewise.
4525 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4526 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4527 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4529 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4531 * elf/dl-minimal.c (__libc_memalign): Likewise.
4532 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4533 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4534 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4535 * elf/dl-sym.c (do_sym): Likewise.
4536 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4537 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4538 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4539 * elf/dl-writev.h (_dl_writev): Likewise.
4540 * elf/ldconfig.c (search_dir): Likewise.
4541 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4542 (dl_main): Likewise.
4543 * elf/setup-vdso.h (setup_vdso): Likewise.
4544 * grp/compat-initgroups.c (compat_call): Likewise.
4545 * grp/fgetgrent.c (fgetgrent): Likewise.
4546 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4547 * grp/putgrent.c (putgrent): Likewise.
4548 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4550 * hurd/hurdinit.c: Likewise.
4551 * iconvdata/8bit-gap.c (struct): Likewise.
4552 * iconvdata/ansi_x3.110.c : Likewise.
4553 * iconvdata/big5.c : Likewise.
4554 * iconvdata/big5hkscs.c : Likewise.
4555 * iconvdata/cp1255.c: Likewise.
4556 * iconvdata/cp1258.c : Likewise.
4557 * iconvdata/cp932.c : Likewise.
4558 * iconvdata/euc-cn.c: Likewise.
4559 * iconvdata/euc-jisx0213.c : Likewise.
4560 * iconvdata/euc-jp.c: Likewise.
4561 * iconvdata/euc-jp-ms.c : Likewise.
4562 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4563 * iconvdata/gb18030.c : Likewise.
4564 * iconvdata/gbbig5.c (const): Likewise.
4565 * iconvdata/gbgbk.c: Likewise.
4566 * iconvdata/gbk.c : Likewise.
4567 * iconvdata/ibm1364.c : Likewise.
4568 * iconvdata/ibm930.c : Likewise.
4569 * iconvdata/ibm932.c: Likewise.
4570 * iconvdata/ibm933.c : Likewise.
4571 * iconvdata/ibm935.c : Likewise.
4572 * iconvdata/ibm937.c : Likewise.
4573 * iconvdata/ibm939.c : Likewise.
4574 * iconvdata/ibm943.c: Likewise.
4575 * iconvdata/iso_11548-1.c: Likewise.
4576 * iconvdata/iso-2022-cn.c : Likewise.
4577 * iconvdata/iso-2022-cn-ext.c : Likewise.
4578 * iconvdata/iso-2022-jp-3.c: Likewise.
4579 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4580 * iconvdata/iso-2022-kr.c : Likewise.
4581 * iconvdata/iso646.c (gconv_end): Likewise.
4582 * iconvdata/iso_6937-2.c : Likewise.
4583 * iconvdata/iso_6937.c : Likewise.
4584 * iconvdata/iso8859-1.c: Likewise.
4585 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4586 * iconvdata/shift_jisx0213.c : Likewise.
4587 * iconvdata/sjis.c : Likewise.
4588 * iconvdata/t.61.c : Likewise.
4589 * iconvdata/tcvn5712-1.c : Likewise.
4590 * iconvdata/tscii.c: Likewise.
4591 * iconvdata/uhc.c : Likewise.
4592 * iconvdata/unicode.c (gconv_end): Likewise.
4593 * iconvdata/utf-16.c (gconv_end): Likewise.
4594 * iconvdata/utf-32.c (gconv_end): Likewise.
4595 * iconvdata/utf-7.c (base64): Likewise.
4596 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4597 * iconv/gconv_close.c (__gconv_close): Likewise.
4598 * iconv/gconv_open.c (__gconv_open): Likewise.
4599 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4600 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4601 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4602 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4603 (ucs4le_internal_loop_single): Likewise.
4604 * iconv/iconv.c (iconv): Likewise.
4605 * iconv/iconv_close.c: Likewise.
4606 * iconv/loop.c (SINGLE): Likewise.
4607 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4608 * include/atomic.h: Likewise.
4609 * inet/inet6_option.c (option_alloc): Likewise.
4610 * intl/bindtextdom.c (set_binding_values): Likewise.
4611 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4612 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4613 * intl/localealias.c (read_alias_file): Likewise.
4614 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4615 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4616 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4617 * libio/fmemopen.c (fmemopen): Likewise.
4618 * libio/iofgets.c (_IO_fgets): Likewise.
4619 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4620 * libio/iofgetws.c (fgetws): Likewise.
4621 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4622 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4623 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4624 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4625 * locale/findlocale.c (_nl_find_locale): Likewise.
4626 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4627 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4629 * locale/setlocale.c (setlocale): Likewise.
4630 * login/programs/pt_chown.c (main): Likewise.
4631 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4632 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4633 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4634 (mmap, mmap64, mremap, munmap): Likewise.
4635 * math/e_exp2l.c: Likewise.
4636 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4637 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4638 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4639 * math/s_catan.c (__catan): Likewise.
4640 * math/s_catanf.c (__catanf): Likewise.
4641 * math/s_catanh.c (__catanh): Likewise.
4642 * math/s_catanhf.c (__catanhf): Likewise.
4643 * math/s_catanhl.c (__catanhl): Likewise.
4644 * math/s_catanl.c (__catanl): Likewise.
4645 * math/s_ccosh.c (__ccosh): Likewise.
4646 * math/s_ccoshf.c (__ccoshf): Likewise.
4647 * math/s_ccoshl.c (__ccoshl): Likewise.
4648 * math/s_cexp.c (__cexp): Likewise.
4649 * math/s_cexpf.c (__cexpf): Likewise.
4650 * math/s_cexpl.c (__cexpl): Likewise.
4651 * math/s_clog10.c (__clog10): Likewise.
4652 * math/s_clog10f.c (__clog10f): Likewise.
4653 * math/s_clog10l.c (__clog10l): Likewise.
4654 * math/s_clog.c (__clog): Likewise.
4655 * math/s_clogf.c (__clogf): Likewise.
4656 * math/s_clogl.c (__clogl): Likewise.
4657 * math/s_csin.c (__csin): Likewise.
4658 * math/s_csinf.c (__csinf): Likewise.
4659 * math/s_csinh.c (__csinh): Likewise.
4660 * math/s_csinhf.c (__csinhf): Likewise.
4661 * math/s_csinhl.c (__csinhl): Likewise.
4662 * math/s_csinl.c (__csinl): Likewise.
4663 * math/s_csqrt.c (__csqrt): Likewise.
4664 * math/s_csqrtf.c (__csqrtf): Likewise.
4665 * math/s_csqrtl.c (__csqrtl): Likewise.
4666 * math/s_ctan.c (__ctan): Likewise.
4667 * math/s_ctanf.c (__ctanf): Likewise.
4668 * math/s_ctanh.c (__ctanh): Likewise.
4669 * math/s_ctanhf.c (__ctanhf): Likewise.
4670 * math/s_ctanhl.c (__ctanhl): Likewise.
4671 * math/s_ctanl.c (__ctanl): Likewise.
4672 * math/w_pow.c: Likewise.
4673 * math/w_powf.c: Likewise.
4674 * math/w_powl.c: Likewise.
4675 * math/w_scalb.c (sysv_scalb): Likewise.
4676 * math/w_scalbf.c (sysv_scalbf): Likewise.
4677 * math/w_scalbl.c (sysv_scalbl): Likewise.
4678 * misc/error.c (error_tail): Likewise.
4679 * misc/pselect.c (__pselect): Likewise.
4680 * nis/nis_callback.c (__nis_create_callback): Likewise.
4681 * nis/nis_call.c (__nisfind_server): Likewise.
4682 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4683 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4684 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4685 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4686 * nis/nis_lookup.c (nis_lookup): Likewise.
4687 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4688 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4689 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4690 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4691 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4692 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4693 * nis/nss_compat/compat-initgroups.c (add_group)
4694 (internal_getgrent_r): Likewise.
4695 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4696 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4697 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4698 (internal_getspnam_r): Likewise.
4699 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4700 (_nss_nis_getaliasbyname_r): Likewise.
4701 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4702 (_nss_nis_getntohost_r): Likewise.
4703 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4704 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4705 (_nss_nis_getgrgid_r): Likewise.
4706 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4707 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4708 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4709 (_nss_nis_gethostbyname4_r): Likewise.
4710 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4711 (initgroups_netid): Likewise.
4712 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4713 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4714 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4715 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4716 (_nss_nis_getprotobynumber_r): Likewise.
4717 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4718 (_nss_nis_getsecretkey): Likewise.
4719 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4720 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4721 (_nss_nis_getpwuid_r): Likewise.
4722 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4723 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4724 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4725 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4726 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4727 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4728 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4730 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4731 (_nss_nisplus_getntohost_r): Likewise.
4732 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4733 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4734 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4735 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4737 * nis/nss_nisplus/nisplus-initgroups.c
4738 (_nss_nisplus_initgroups_dyn): Likewise.
4739 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4740 (_nss_nisplus_getnetbyaddr_r): Likewise.
4741 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4742 (_nss_nisplus_getprotobynumber_r): Likewise.
4743 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4744 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4745 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4747 * nis/nss_nisplus/nisplus-service.c
4748 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4749 (_nss_nisplus_getservbyport_r): Likewise.
4750 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4751 (_nss_nisplus_getspnam_r): Likewise.
4752 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4754 * nscd/aicache.c (addhstaiX): Likewise.
4755 * nscd/cache.c (cache_search, prune_cache): Likewise.
4756 * nscd/connections.c (register_traced_file, send_ro_fd)
4757 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4758 (main_loop_epoll): Likewise.
4759 * nscd/grpcache.c (addgrbyX): Likewise.
4760 * nscd/hstcache.c (addhstbyX): Likewise.
4761 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4762 * nscd/mem.c (gc, mempool_alloc): Likewise.
4763 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4764 (addinnetgrX): Likewise.
4765 * nscd/nscd-client.h (__nscd_acquire_maplock)
4766 (__nscd_drop_map_ref): Likewise.
4767 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4768 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4769 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4771 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4772 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4773 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4774 (__nscd_get_map_ref): Likewise.
4775 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4776 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4778 * nscd/pwdcache.c (addpwbyX): Likewise.
4779 * nscd/selinux.c (preserve_capabilities): Likewise.
4780 * nscd/servicescache.c (addservbyX): Likewise.
4781 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4782 * posix/fnmatch.c (fnmatch): Likewise.
4783 * posix/getopt.c (_getopt_internal_r): Likewise.
4784 * posix/glob.c (glob, glob_in_dir): Likewise.
4785 * posix/wordexp.c (exec_comm_child): Likewise.
4786 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4787 (getanswer_r, gaih_getanswer_slice): Likewise.
4788 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4789 * resolv/res_init.c: Likewise.
4790 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4791 * resolv/res_query.c (__libc_res_nquery): Likewise.
4792 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4794 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4795 * stdio-common/perror.c (perror): Likewise.
4796 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4797 * stdio-common/tmpnam.c (tmpnam): Likewise.
4798 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4799 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4800 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4802 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4803 * stdlib/putenv.c (putenv): Likewise.
4804 * stdlib/setenv.c (__add_to_environ): Likewise.
4805 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4806 * stdlib/strtol_l.c (INTERNAL): Likewise.
4807 * string/memmem.c (memmem): Likewise.
4808 * string/strerror.c (strerror): Likewise.
4809 * string/strnlen.c (__strnlen): Likewise.
4810 * string/test-memmem.c (simple_memmem): Likewise.
4811 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4812 * sunrpc/pm_getport.c (__get_socket): Likewise.
4813 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4814 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4815 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4816 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4818 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4819 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4820 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4821 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4822 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4823 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4825 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4827 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4828 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4829 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4830 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4831 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4833 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4834 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4835 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4836 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4837 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4838 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4840 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4842 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4844 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4845 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4846 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4847 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4848 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4849 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4850 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4851 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4852 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4853 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4854 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4856 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4857 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4858 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4859 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4861 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4863 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4865 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4867 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4868 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4869 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4871 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4872 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4873 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4874 * sysdeps/posix/sleep.c: Likewise.
4875 * sysdeps/posix/tempname.c: Likewise.
4876 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4877 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4879 * sysdeps/powerpc/powerpc32/dl-machine.h
4880 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4881 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4882 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4883 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4884 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4886 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4887 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4888 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4889 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4890 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4891 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4892 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4893 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4894 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4895 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4896 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4897 (elf_machine_lazy_rel): Likewise.
4898 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4899 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4900 (elf_machine_lazy_rel): Likewise.
4901 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4902 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4903 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4904 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4905 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4906 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4907 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4908 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4910 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4911 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4912 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4913 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4914 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4915 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4916 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4917 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4918 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4919 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4920 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4922 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4923 (__posix_fallocate64_l64): Likewise.
4924 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4925 (posix_fallocate): Likewise.
4926 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4928 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4929 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4930 (getifaddrs_internal): Likewise.
4931 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4932 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4933 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4934 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4935 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4936 (__posix_fallocate64_l64): Likewise.
4937 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4939 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4940 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4941 (__get_clockfreq): Likewise.
4942 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4943 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4944 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4945 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4946 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4947 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4948 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4949 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4951 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4952 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4953 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4954 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4955 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4956 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4957 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4959 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4960 (posix_fallocate): Likewise.
4961 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4962 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4963 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4964 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4965 (elf_machine_rela, elf_machine_rela_relative)
4966 (elf_machine_lazy_rel): Likewise.
4967 * time/asctime.c (asctime_internal): Likewise.
4968 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4969 * time/tzset.c (__tzset_parse_tz): Likewise.
4970 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4971 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4972 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4973 * wcsmbs/wcsmbsload.h: Likewise.
4976 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4978 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4979 (arena_get2): Remove THREAD_STATS conditionals.
4980 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4981 (__malloc_stats, int): Likewise.
4983 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4985 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4986 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4988 * manual/setjmp.texi: Fix typos/grammar errors.
4990 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4991 Only return early when n is <= 0. Delete unused return statement.
4993 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4994 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4995 * debug/tst-longjmp_chk3.c: New file.
4997 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4998 (test_main): Replace code with set_fortify_handler call.
4999 * debug/test-strcpy_chk.c: Likewise.
5000 * debug/tst-chk1.c: Likewise.
5001 * debug/tst-longjmp_chk.c: Likewise.
5002 * test-skeleton.c: Include fcntl.h & paths.h
5003 (set_fortify_handler): Define.
5005 * debug/tst-longjmp_chk.c: Add header comment and include
5007 (do_test): Mark static.
5008 (TEST_FUNCTION): Define.
5010 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5011 (IP_PMTUDISC_INTERFACE): Likewise.
5012 (IP_MULTICAST_IF): Likewise.
5013 (IP_MULTICAST_TTL): Likewise.
5014 (IP_MULTICAST_LOOP): Likewise.
5015 (IP_ADD_MEMBERSHIP): Likewise.
5016 (IP_DROP_MEMBERSHIP): Likewise.
5017 (IP_UNBLOCK_SOURCE): Likewise.
5018 (IP_BLOCK_SOURCE): Likewise.
5019 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5020 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5021 (IP_MSFILTER): Likewise.
5022 (MCAST_JOIN_GROUP): Likewise.
5023 (MCAST_BLOCK_SOURCE): Likewise.
5024 (MCAST_UNBLOCK_SOURCE): Likewise.
5025 (MCAST_LEAVE_GROUP): Likewise.
5026 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5027 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5028 (MCAST_MSFILTER): Likewise.
5029 (IP_MULTICAST_ALL): Likewise.
5030 (IP_UNICAST_IF): Likewise.
5032 * timezone/Makefile: Delete $(have-ksh) check.
5033 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5034 * timezone/tzselect.ksh: Add +x mode bits.
5036 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5037 (ANON_INODE_FS_MAGIC): Likewise.
5038 (BDEVFS_MAGIC): Likewise.
5039 (BINFMTFS_MAGIC): Likewise.
5040 (BTRFS_TEST_MAGIC): Likewise.
5041 (CRAMFS_MAGIC_WEND): Likewise.
5042 (DEBUGFS_MAGIC): Likewise.
5043 (ECRYPTFS_SUPER_MAGIC): Likewise.
5044 (EXT3_SUPER_MAGIC): Likewise.
5045 (EXT4_SUPER_MAGIC): Likewise.
5046 (FUTEXFS_SUPER_MAGIC): Likewise.
5047 (HOSTFS_SUPER_MAGIC): Likewise.
5048 (HUGETLBFS_MAGIC): Likewise.
5049 (MINIX3_SUPER_MAGIC): Likewise.
5050 (MTD_INODE_FS_MAGIC): Likewise.
5051 (NILFS_SUPER_MAGIC): Likewise.
5052 (OPENPROM_SUPER_MAGIC): Likewise.
5053 (PIPEFS_MAGIC): Likewise.
5054 (PSTOREFS_MAGIC): Likewise.
5055 (QNX6_SUPER_MAGIC): Likewise.
5056 (RAMFS_MAGIC): Likewise.
5057 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5058 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5059 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5060 (SECURITYFS_MAGIC): Likewise.
5061 (SELINUX_MAGIC): Likewise.
5062 (SMACK_MAGIC): Likewise.
5063 (SOCKFS_MAGIC): Likewise.
5064 (SQUASHFS_MAGIC): Likewise.
5065 (STACK_END_MAGIC): Likewise.
5066 (TMPFS_MAGIC): Likewise.
5067 (USBDEVICE_SUPER_MAGIC): Likewise.
5068 (V9FS_MAGIC): Likewise.
5069 (XENFS_SUPER_MAGIC): Likewise.
5070 (CRAMFS_MAGIC): Fix typo in comment.
5071 (EXT2_SUPER_MAGIC): Update comment.
5072 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5074 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5076 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5077 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5078 * sysdeps/unix/sysv/linux/arm: Move directory from
5079 ports/sysdeps/unix/sysv/linux/arm.
5080 * README: Update listing for arm-*-linux-gnueabi.
5082 * README: Remove mention of am33.
5084 2014-02-07 Roland McGrath <roland@hack.frob.com>
5086 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5087 than the comma operator, to avoid "rhs of comma has no effect"
5089 (__sigfillset, __sigandset, __sigorset): Likewise.
5090 * include/signal.h (__sigemptyset): Likewise.
5091 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5093 2014-02-07 Allan McRae <allan@archlinux.org>
5095 * version.h (RELEASE): Set to "development".
5096 (VERSION): Set to "2.19.90"
5097 * NEWS: Add 2.20 section.
5099 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5102 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5104 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5106 * manual/contrib.texi: Update entry for Carlos O'Donell,
5107 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5109 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5111 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5113 * sysdeps/unix/sysv/linux/kernel-features.h
5114 [__LINUX_KERNEL_VERSION >= 0x020621]
5115 (__ASSUME_PROC_PID_TASK_COMM): Define.
5117 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5120 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5121 conversion when destination buffer does not have enough space.
5122 * libio/tst-ftell-partial-wide.c: New test case.
5123 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5125 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5126 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5127 Leonard and Allan McRae.
5129 2014-02-04 David S. Miller <davem@davemloft.net>
5131 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5134 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5163 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5165 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5166 * shlib-versions: Likewise.
5168 2014-02-04 Roland McGrath <roland@hack.frob.com>
5169 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5171 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5172 (abilist-pattern): New variable, set to %-le.abilist.
5174 * Makerules (abilist-pattern): New variable.
5175 (vpath): Use $(abilist-pattern) in place of %.abilist.
5176 (check-abi-% pattern rule): Likewise.
5177 (check-abi, update-abi): Likewise.
5179 2014-02-04 Eric Wong <normalperson@yhbt.net>
5181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5183 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5185 * manual/startup.texi: Add next, previous, and top entries for
5186 the `Program Arguments' and `Environment Variables' nodes.
5188 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5190 * manual/macros.texi: Add comments before MTASC-safety macros.
5192 * manual/users.texi: Document MTASC-safety properties.
5194 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5195 (pthread_getspecific, pthread_setspecific): Format with
5196 @deftypefun, and add @safety note.
5197 * manual/signal.texi: Move comments that analyze the above
5198 functions to their home place.
5200 2014-02-03 Allan McRae <allan@archlinux.org>
5202 * po/sl.po: Update Slovenian translation from translation project.
5204 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
5206 * manual/time.texi (timegm): Add missing blank after @c.
5207 Reported by Joseph Myers <joseph@codesourcery.com>.
5209 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
5211 * manual/check-safety.sh: New.
5212 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5214 * manual/terminal.texi: Document MTASC-safety properties.
5216 * manual/filesys.texi: Document MTASC-safety properties.
5218 * manual/errno.texi: Document MTASC-safety properties.
5220 * manual/intro.texi: Document safety identifiers and
5223 * manual/string.texi (wcstok): Fix prototype.
5224 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5226 * manual/time.texi: Document MTASC-safety properties.
5228 * manual/string.texi: Document MTASC-safety properties.
5230 * manual/threads.texi: Document MTASC-safety properties.
5232 * manual/stdio.texi: Document MTASC-safety properties.
5234 * manual/syslog.texi: Document MTASC-safety properties.
5236 * manual/sysinfo.texi: Document MTASC-safety properties.
5238 * manual/startup.texi: Document MTASC-safety properties.
5240 * manual/socket.texi: Document MTASC-safety properties.
5242 * manual/signal.texi: Document MTASC-safety properties.
5244 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5246 * manual/setjmp.texi: Document MTASC-safety properties.
5248 * manual/search.texi: Document MTASC-safety properties.
5250 * manual/resource.texi: Document MTASC-safety properties.
5252 * manual/process.texi: Document MTASC-safety properties.
5254 * manual/platform.texi: Document MTASC-safety properties.
5256 * manual/pipe.texi: Document MTASC-safety properties.
5258 * manual/pattern.texi: Document MTASC-safety properties.
5260 * manual/message.texi: Document MTASC-safety properties.
5263 * manual/memory.texi: Document MTASC-safety properties.
5265 * manual/math.texi: Document MTASC-safety properties.
5267 * manual/locale.texi: Document MTASC-safety properties.
5269 * manual/llio.texi: Document MTASC-safety properties.
5271 * manual/libdl.texi: New.
5273 * manual/lang.texi: Document MTASC-safety properties.
5275 * manual/job.texi: Document MTASC-safety properties.
5277 * manual/getopt.texi: Document MTASC-safety properties.
5279 * manual/ctype.texi: Document MTASC-safety properties.
5281 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5284 * csu/libc-tls.c (static_map): Remove variable.
5285 (__libc_setup_tls): Use main executable's link map for TLS data.
5286 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5287 casing for LM_ID_BASE and GL(dl_nns).
5288 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5289 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5290 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5291 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5292 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5294 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5297 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5299 * manual/debug.texi: Document MTASC-safety properties.
5301 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5304 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5305 of __x86_64__ when disabling x87 inline functions.
5307 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5309 * manual/charset.texi: Document MTASC-safety properties.
5311 * manual/crypt.texi: Document MTASC-safety properties.
5313 * manual/conf.texi: Document MTASC-safety properties.
5315 * manual/arith.texi: Document MTASC-safety properties.
5317 * manual/argp.texi: Document MTASC-safety properties.
5319 * manual/macros.texi: Introduce macros to document multi
5320 thread, asynchronous signal and asynchronous cancellation
5322 * manual/intro.texi: Introduce the properties themselves.
5324 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5326 * sysdeps/sh/sh4/Makefile: New file.
5328 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5330 * math/gen-libm-test.pl ($srcdir): New variable.
5331 ($auto_input): Use it.
5333 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5336 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5337 access beyond array bounds when parsing netgroups file.
5339 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5340 the old buffer before realloc.
5342 2014-01-27 Allan McRae <allan@archlinux.org>
5344 * po/fr.po: Update French translation from translation project.
5346 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5348 * sysdeps/sh/libm-test-ulps: Regenerate.
5350 2014-01-24 David S. Miller <davem@davemloft.net>
5352 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5354 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5356 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5357 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5359 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5362 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5363 string pointers after reallocation.
5365 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5367 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5368 __SH4A__ instead of __SH_FPU_ANY__.
5370 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5372 * sysdeps/sh/fpu_control.h: New file.
5373 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5374 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5375 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5376 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5377 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5378 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5379 * sysdeps/sh/sys/ucontext.h: Remove.
5380 * sysdeps/sh/sys: Remove directory.
5382 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5384 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5385 s390/sys/ucontext.h.
5386 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5387 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5389 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5392 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5394 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5397 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5398 Adjust the vDSO correctly for internal calls.
5399 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5401 2014-01-20 Allan McRae <allan@archlinux.org>
5403 * po/ca.po: Update Catalan translation from translation project.
5405 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5407 * sysdeps/s390/sotruss-lib.c: New file.
5409 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5412 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5413 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5414 local calls issues by not having a PLT stub required for IFUNC calls.
5415 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5417 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5419 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5420 * math/test-fpucw-static.c: Likewise.
5422 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5425 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5427 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5429 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5430 implementation for powerpc.
5432 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5435 * sysdeps/posix/system.c (__libc_system): Do not enable
5436 asynchronous cancellation.
5438 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5441 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5442 handling only for numbers special also in the IEEE case.
5444 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5446 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5448 2014-01-11 Allan McRae <allan@archlinux.org>
5450 * po/bg.po: Update Bulgarian translation from translation project.
5452 * po/de.po: Update German translation from translation project.
5454 2014-01-10 Roland McGrath <roland@hack.frob.com>
5456 * sysdeps/generic/gcc-compat.h: New file.
5458 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5460 * benchtests/asin-inputs: Correct slow inputs.
5461 * benchtests/acos-inputs: Likewise.
5463 2014-01-10 Allan McRae <allan@archlinux.org>
5465 * po:sv.po: Update Swedish translation from translation project.
5467 * po/vi.po: Update Vietnamese translation from translation project.
5469 * po/eo.po: Update Esperanto translation from translation project.
5471 * po/cs.po: Update Czech translation from translation project.
5473 * po/nl.po: Update Dutch translation from translation project.
5475 * po/pl.po: Update Polish translation from translation project.
5477 * po/ru.po: Update Russian translation from translation project.
5479 * po/uk.po: Update Ukrainian translation from translation project.
5481 2014-01-08 Brooks Moses <bmoses@google.com>
5483 * elf/dl-load.c: Fix comment typo.
5485 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5487 * po/header.pot: Rename to...
5488 * po/pot.header: ... this.
5489 * po/Makefile: Use pot.header.
5491 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5492 Maxim Kuvyrkov <maxim@kugelworks.com>
5495 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5496 SRC and DEST against LEN.
5498 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5501 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5503 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5505 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5509 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5512 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5513 for large positive arguments.
5515 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5517 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5519 * math/auto-libm-test-in: Mark various tests with
5520 xfail-rounding:ldbl-128ibm.
5521 * math/auto-libm-test-out: Regenerated.
5524 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5525 Increase overflow threshold.
5527 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5530 * stdio-common/vfprintf.c: Check for integer overflow.
5532 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5534 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5535 the first argument and return value of __tls_get_addr_internal.
5537 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5539 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5540 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5542 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5544 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5545 * sysdeps/s390/rtld-global-offsets.sym: New file.
5546 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5548 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5549 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5550 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5552 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5553 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5559 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5560 halfs of GPRs for high_gprs contexts.
5561 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5562 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5564 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5566 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5568 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5569 for high GPRs (uc_high_gprs) and for future extensions
5571 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5572 for future extensions (__reserved).
5573 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5575 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5576 SC_HIGHGPRS offset definition.
5577 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5578 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5580 * Versions.def: Add GLIBC_2.19 for libpthread.
5581 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5582 siglongjmp for libpthread with GLIBC_2.19 symver.
5583 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5584 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5585 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5586 * sysdeps/s390/__longjmp.c: New file.
5587 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5588 * sysdeps/s390/longjmp.c: New file.
5589 * sysdeps/s390/setjmp.S: New file.
5590 * sysdeps/s390/sigjmp.S: New file.
5591 * sysdeps/s390/v1-longjmp.c: New file.
5592 * sysdeps/s390/v1-setjmp.h: New file.
5593 * sysdeps/s390/v1-sigjmp.c: New file.
5594 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5595 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5597 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5598 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5599 versioned symbols for ____longjmp_chk.
5600 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5610 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5611 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5612 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5613 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5614 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5615 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5616 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5617 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5618 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5619 * sysdeps/s390/rtld-__longjmp.c: New file.
5620 * sysdeps/s390/rtld-setjmp.S: New file.
5622 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5625 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5626 Return -__logl (x) for small positive arguments without evaluating
5629 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5631 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5633 (__ptrace_peeksiginfo_args): ... this.
5634 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5635 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5636 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5638 2014-01-06 Allan McRae <allan@archlinux.org>
5640 * inet/netinet/in.h: Fix typo in comment.
5642 2014-01-05 Andreas Jaeger <aj@suse.de>
5644 * sysdeps/i386/fpu/libm-test-ulps: Update.
5646 2014-01-05 Allan McRae <allan@archlinux.org>
5648 * po/libc.pot: Regenerated.
5650 * malloc/memusagestat.c: Fix gettext call formatting.
5652 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5654 * nscd/nscd.c: Improve usage() output.
5656 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5658 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5659 * sysdeps/unix/sysv/linux/configure: Regenerated.
5660 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5661 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5663 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5666 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5667 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5669 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5671 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5672 extra tokens at end of #undef directive.
5673 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5674 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5675 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5677 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5679 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5681 * math/auto-libm-test-in: Mark various tests with
5682 xfail-rounding:ldbl-128ibm.
5683 * math/auto-libm-test-out: Regenerated.
5685 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5688 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5689 numbers with subnormal high part when calculating exponent.
5692 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5696 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5698 (__ieee754_acoshl): Use __log1pl not __log1p.
5700 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5702 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5703 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5704 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5705 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5706 (reused_arena, arena_get2): Convert to GNU style.
5707 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5708 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5709 (memalign_check, __malloc_set_state): Likewise.
5710 * malloc/mallocbug.c (main): Likewise.
5711 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5712 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5713 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5714 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5715 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5716 (__posix_memalign, malloc_info): Likewise.
5717 * malloc/malloc.h: Likewise.
5718 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5719 (mallochook, memalignhook, reallochook, mabort): Likewise.
5720 * malloc/mcheck.h: Likewise.
5721 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5722 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5723 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5724 * malloc/morecore.c (__default_morecore): Likewise.
5725 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5726 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5727 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5728 (print_and_abort): Likewise.
5729 * malloc/obstack.h: Likewise.
5730 * malloc/set-freeres.c (__libc_freeres): Likewise.
5731 * malloc/tst-mallocstate.c (main): Likewise.
5732 * malloc/tst-mtrace.c (main): Likewise.
5733 * malloc/tst-realloc.c (do_test): Likewise.
5735 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5738 * nscd/netgroupcache.c (do_notfound): New function.
5739 (addgetnetgrentX): Use it.
5742 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5743 NSS_STATUS_NOTFOUND.
5745 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5747 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5750 2014-01-01 Allan McRae <allan@archlinux.org>
5752 * scripts/update-copyrights: Update configure input file suffix.
5754 * NEWS: Update copyright year.
5755 * catgets/gencat.c: Likewise.
5756 * csu/version.c: Likewise.
5757 * debug/catchsegv.sh: Likewise.
5758 * debug/pcprofiledump.c: Likewise.
5759 * debug/xtrace.sh: Likewise.
5760 * elf/ldconfig.c: Likewise.
5761 * elf/ldd.bash.in: Likewise.
5762 * elf/pldd.c: Likewise.
5763 * elf/sotruss.ksh: Likewise.
5764 * elf/sprof.c: Likewise.
5765 * iconv/iconv_prog.c: Likewise.
5766 * iconv/iconvconfig.c: Likewise.
5767 * locale/programs/locale.c: Likewise.
5768 * locale/programs/localedef.c: Likewise.
5769 * login/programs/pt_chown.c: Likewise.
5770 * malloc/memusage.sh: Likewise.
5771 * malloc/memusagestat.c: Likewise.
5772 * malloc/mtrace.pl: Likewise.
5773 * manual/libc.texinfo: Likewise.
5774 * nscd/nscd.c: Likewise.
5775 * nss/getent.c: Likewise.
5776 * nss/makedb.c: Likewise.
5777 * posix/getconf.c: Likewise.
5778 * scripts/test-installation.pl: Likewise.
5780 * All files with FSF copyright notices: Update copyright dates
5781 using scripts/update-copyrights.
5782 * intl/plural.c: Regenerated.
5783 * locale/programs/charmap-kw.h: Likewise.
5784 * locale/programs/locfile-kw.h: Likewise.
5786 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5788 * sysdeps/unix/sysv/linux/configure: Regenerated.
5789 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5790 the linux/fanotify.h header.
5791 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5792 HAVE_LINUX_FANOTIFY_H is defined.
5794 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5796 * benchtests/cos-inputs: New inputs.
5797 * benchtests/sin-inputs: Likewise.
5799 * benchtests/atan-inputs: New inputs. Fix name of multiple
5800 precision fallback inputs.
5802 * benchtests/atanh-inputs: New inputs.
5803 * benchtests/tanh-inputs: Likewise.
5805 * benchtests/acosh-inputs: New inputs.
5806 * benchtests/asinh-inputs: Likewise.
5808 * benchtests/cosh-inputs: New inputs.
5809 * benchtests/sinh-inputs: Likewise.
5811 * benchtests/acos-inputs: Add more inputs.
5812 * benchtests/asin-inputs: Likewise.
5814 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5817 * manual/arith.texi: Fix spelling.
5818 * manual/charset.texi: Likewise.
5819 * manual/errno.texi: Likewise.
5820 * manual/filesys.texi: Likewise.
5821 * manual/lang.texi: Likewise.
5822 * manual/llio.texi: Likewise.
5823 * manual/locale.texi: Likewise.
5824 * manual/message.texi: Likewise.
5825 * manual/resource.texi: Likewise.
5826 * manual/search.texi: Likewise.
5827 * manual/setjmp.texi: Likewise.
5828 * manual/stdio.texi: Likewise.
5829 * manual/string.texi: Likewise.
5830 * manual/sysinfo.texi: Likewise.
5831 * manual/time.texi: Likewise.
5833 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5835 * po/sl.po: New file.
5837 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5839 * .gitignore: Add core/.gdbinit/.gdb_history.
5841 2013-12-27 Allan McRae <allan@archlinux.org>
5844 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5845 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5847 2013-12-24 Brooks Moses <bmoses@google.com>
5849 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5850 all compilers that claim C++98 compliance, not just GCC.
5851 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5854 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5856 * NEWS: Restore accidentally deleted bug-fix entries.
5858 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5859 Ondřej Bílka <neleai@seznam.cz>
5862 * malloc/malloc.c (_int_free): Perform sanity check only if we
5865 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5868 * manual/stdio.texi (String Input Conversions): Clarify that character
5869 classes are not supported.
5871 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5875 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5878 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5879 Calculate results for small negative arguments directly rather
5880 than using reflection formula with special underflow handling.
5882 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5883 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5884 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5885 (fchflags): Likewise.
5887 (setlogin): Likewise.
5888 (sigaltstack): Likewise.
5891 (sigsetmask): Likewise.
5893 (waitpid): Likewise.
5894 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5895 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5897 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5898 * sysdeps/unix/bsd/Makefile: ... here.
5899 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5900 * sysdeps/unix/bsd/Versions: ... here.
5901 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5902 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5903 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5904 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5905 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5906 * sysdeps/unix/bsd/sigblock.c: ... here.
5907 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5908 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5909 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5910 * sysdeps/unix/bsd/sigvec.c: ... here.
5911 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5912 * sysdeps/unix/bsd/tcdrain.c: ... here.
5913 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5914 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5915 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5916 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5917 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5918 * sysdeps/unix/bsd/wait.c: ... here.
5919 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5920 * sysdeps/unix/bsd/wait3.c: ... here.
5921 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5922 * sysdeps/unix/bsd/waitpid.c: ... here.
5924 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5927 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5928 round-to-nearest for [!USE_AS_EXPM1L].
5929 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5930 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5931 more tests of exp and exp10. Expect some exp10 tests to miss
5932 exceptions or fail in directed rounding modes.
5933 * math/auto-libm-test-out: Regenerated.
5934 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5935 (exp10_test_tonearest): New function.
5936 (exp10_towardzero_test_data): New array.
5937 (exp10_test_towardzero): New function.
5938 (exp10_downward_test_data): New array.
5939 (exp10_test_downward): New function.
5940 (exp10_upward_test_data): New array.
5941 (exp10_test_upward): New function.
5942 (main): Call the new functions.
5943 * sysdeps/i386/fpu/libm-test-ulps: Update.
5944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5946 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5948 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5949 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5950 * math/auto-libm-test-out: Regenerated.
5951 * math/libm-test.inc (acosh_test_data): Add more tests.
5952 (atanh_test_data): Likewise.
5953 (ceil_test_data): Likewise.
5954 (copysign_test_data): Likewise.
5955 * sysdeps/i386/fpu/libm-test-ulps: Update.
5956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5958 * timezone/checktab.awk: Update from tzcode 2013i.
5959 * timezone/private.h: Likewise.
5960 * timezone/scheck.c: Likewise.
5961 * timezone/tzfile.h: Likewise.
5962 * timezone/tzselect.ksh: Likewise.
5963 * timezone/zdump.c: Likewise.
5964 * timezone/zic.c: Likewise.
5966 * math/auto-libm-test-in: Add tests of cpow.
5967 * math/auto-libm-test-out: Regenerated.
5968 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5969 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5971 (func_calc_desc): Add mpc_cc_c union field.
5972 (test_functions): Add cpow.
5973 (special_fill_2pi): New function.
5974 (special_real_inputs): Add 2pi.
5975 (calc_generic_results): Handle mpc_cc_c.
5976 * sysdeps/i386/fpu/libm-test-ulps: Update.
5977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5979 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5980 csqrt, ctan and ctanh.
5981 * math/auto-libm-test-out: Regenerated.
5982 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5983 (TEST_COND_x86): Likewise.
5984 (ccos_test_data): Use AUTO_TESTS_c_c.
5985 (ccosh_test_data): Likewise.
5986 (cexp_test_data): Likewise.
5987 (clog_test_data): Likewise.
5988 (csqrt_test_data): Likewise.
5989 (ctan_test_data): Likewise.
5990 (ctan_tonearest_test_data): Likewise.
5991 (ctan_towardzero_test_data): Likewise.
5992 (ctan_downward_test_data): Likewise.
5993 (ctan_upward_test_data): Likewise.
5994 (ctanh_test_data): Likewise.
5995 (ctanh_tonearest_test_data): Likewise.
5996 (ctanh_towardzero_test_data): Likewise.
5997 (ctanh_downward_test_data): Likewise.
5998 (ctanh_upward_test_data): Likewise.
5999 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6001 (func_calc_desc): Add mpc_c_c union field.
6002 (FUNC_mpc_c_c): New macro.
6003 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6004 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6006 (special_fill_min_subnorm_p120): New function.
6007 (special_real_inputs): Add min_subnorm_p120.
6008 (calc_generic_results): Handle mpc_c_c.
6009 * sysdeps/i386/fpu/libm-test-ulps: Update.
6010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6012 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6014 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6015 (do_sin_slow): New functions.
6016 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6017 (cslow2, csloww1, csloww2): Use the new functions.
6019 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6020 Use M to change sign of result instead of X. Assume X is
6022 (csloww1): Likewise.
6026 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6031 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6033 (sloww1): Don't adjust sign of DX.
6034 (csloww1): Likewise.
6035 (sloww2): Use X directly and don't adjust sign of DX.
6036 (csloww2): Likewise.
6038 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6040 * math/auto-libm-test-in: Add tests of cabs and carg.
6041 * math/auto-libm-test-out: Regenerated.
6042 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6043 (carg_test_data): Likewise.
6044 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6046 (func_calc_desc): Add mpc_c_f union field.
6047 (test_functions): Add cabs and carg.
6048 (calc_generic_results): Handle mpc_c_f.
6050 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6051 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6052 as a macro and a compat symbol.
6053 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6054 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6055 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6056 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6057 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6058 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6060 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6062 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6064 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6066 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6068 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6070 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6071 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6074 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6078 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6080 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6081 trailing whitespace removed.
6082 * scripts/config.guess: Update to version 2013-11-29.
6083 * scripts/config.sub: Update to version 2013-10-01.
6085 * math/auto-libm-test-in: Add tests of sincos.
6086 * math/auto-libm-test-out: Regenerated.
6087 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6088 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6090 (func_calc_desc): Add mpfr_f_11 union field.
6091 (test_functions): Add sincos.
6092 (calc_generic_results): Handle mpfr_f_11.
6093 * sysdeps/i386/fpu/libm-test-ulps: Update.
6094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6096 2013-12-19 Andreas Schwab <schwab@suse.de>
6098 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6100 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6101 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6102 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6104 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6106 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6107 * sysdeps/i386/fpu/libm-test-ulps: Update.
6108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6111 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6112 round-to-nearest mode when using frndint.
6113 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6114 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6115 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6117 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6119 * math/auto-libm-test-out: Regenerated.
6120 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6121 (TEST_COND_x86): Likewise.
6122 (expm1_tonearest_test_data): New array.
6123 (expm1_test_tonearest): New function.
6124 (expm1_towardzero_test_data): New array.
6125 (expm1_test_towardzero): New function.
6126 (expm1_downward_test_data): New array.
6127 (expm1_test_downward): New function.
6128 (expm1_upward_test_data): New array.
6129 (expm1_test_upward): New function.
6130 (main): Run the new test functions.
6131 * sysdeps/i386/fpu/libm-test-ulps: Update.
6132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6134 * include/features.h: Update comment documenting feature test
6135 macros. Mention _DEFAULT_SOURCE in comment.
6136 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6137 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6138 _BSD_SOURCE and _SVID_SOURCE.
6139 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6140 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6141 !_SVID_SOURCE]: Likewise.
6142 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6143 (__USE_POSIX_IMPLICITLY): Define.
6144 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6145 (_POSIX_SOURCE): Undefine and redefine.
6146 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6147 (_POSIX_C_SOURCE): Likewise.
6148 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6149 (Feature Test Macros): Update documentation of default features.
6151 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6153 * benchtests/Makefile: Add bench-strtok.
6154 * benchtests/bench-strtok.c: New file: strtok benchtest.
6156 2013-12-19 Allan McRae <allan@archlinux.org>
6158 * manual/install.texi: Suppress menu for plain text output.
6159 * INSTALL: Regenerated.
6161 2013-12-18 Brooks Moses <bmoses@google.com>
6164 * misc/getauxval.c: Include errno.h.
6165 (__getauxval): Set errno to ENOENT if the requested type is not
6167 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6168 don't declare with __attribute_const__.
6169 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6170 * manual/startup.texi: Document that getauxval sets errno.
6172 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6174 * math/auto-libm-test-in: Add tests of jn and yn.
6175 * math/auto-libm-test-out: Regenerated.
6176 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6177 (yn_test_data): Likewise.
6178 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6180 (func_calc_desc): Add mpfr_if_f union field.
6181 (FUNC_mpfr_if_f): New macro.
6182 (test_functions): Add jn and yn.
6183 (calc_generic_results): Assert type of second input for
6184 mpfr_ff_f. Handle mpfr_if_f.
6185 (output_for_one_input_case): Disable all checking for arguments
6186 fitting floating-point types in case of an integer argument.
6187 * sysdeps/i386/fpu/libm-test-ulps: Update.
6188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6191 Don't expect fegetround reference in libm.so.
6193 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6195 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6196 $(config-cflags-nofma).
6198 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6200 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6201 * math/auto-libm-test-out: Regenerated.
6204 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6205 to determine exponent and adjust argument to have exponent of -1.
6206 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6208 * math/auto-libm-test-out: Regenerated.
6209 * sysdeps/i386/fpu/libm-test-ulps: Update.
6210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6212 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
6214 * manual/probes.texi: Remove cases when per-thread arenas are
6217 2013-12-18 Andreas Schwab <schwab@suse.de>
6219 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6220 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6221 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6222 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6223 * sysdeps/i386/i686/multiarch/Makefile: Update.
6224 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6226 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6228 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6229 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6231 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6234 Support TZ transition times < 00:00:00.
6235 This is needed for version-3 tz-format files; it supports time
6236 stamps past 2037 for America/Godthab (the only entry in the tz
6237 database for which this change is relevant).
6238 * manual/time.texi (TZ Variable): Document transition times
6239 from -167:59:59 through -00:00:01.
6240 * time/tzset.c (tz_rule): Time of day is now signed.
6241 (__tzset_parse_tz): Parse negative time of day.
6243 Document TZ transition times >= 25:00:00.
6244 * manual/time.texi (TZ Variable): Document transition times from
6245 25:00:00 through 167:59:59. These are already supported, and this
6246 support will help with version-3 tz-format files.
6248 * manual/time.texi (TZ Variable): Modernize North America example
6249 to reflect current (i.e., 2007-and-later) daylight saving rules.
6251 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6253 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6255 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6256 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6257 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6259 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6260 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6261 * sysdeps/unix/bsd/clock.c: Likewise.
6262 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6263 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6264 * sysdeps/unix/bsd/init-posix.c: Likewise.
6265 * sysdeps/unix/bsd/poll.c: Likewise.
6266 * sysdeps/unix/bsd/ptsname.c: Likewise.
6267 * sysdeps/unix/bsd/seekdir.c: Likewise.
6268 * sysdeps/unix/bsd/setegid.c: Likewise.
6269 * sysdeps/unix/bsd/seteuid.c: Likewise.
6270 * sysdeps/unix/bsd/setgid.c: Likewise.
6271 * sysdeps/unix/bsd/setrgid.c: Likewise.
6272 * sysdeps/unix/bsd/setruid.c: Likewise.
6273 * sysdeps/unix/bsd/setsid.c: Likewise.
6274 * sysdeps/unix/bsd/setuid.c: Likewise.
6275 * sysdeps/unix/bsd/sigaction.c: Likewise.
6276 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6277 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6278 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6279 * sysdeps/unix/bsd/telldir.c: Likewise.
6280 * sysdeps/unix/bsd/times.c: Likewise.
6281 * sysdeps/unix/bsd/usleep.c: Likewise.
6283 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6284 ($(objpfx)libbsd-compat.a): Remove rule.
6286 * include/features.h (__FAVOR_BSD): Do not define.
6287 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6288 features conflicting with POSIX.
6289 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6290 (_BSD_SOURCE): Remove description of not being a subset of other
6291 feature test macros.
6292 * manual/job.texi (getpgrp): Do not document BSD version.
6293 (getpgid): Do not document by reference to BSD getpgrp.
6294 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6295 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6296 * signal/signal.h [__FAVOR_BSD]: Likewise.
6297 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6298 instead of making contents conditional on [__FAVOR_BSD].
6299 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6301 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6305 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6308 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6309 values below 2**-450, not 2**-500.
6310 * math/auto-libm-test-in: Don't allow spurious underflow from
6312 * math/auto-libm-test-out: Regenerated.
6316 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6317 values of ha and hb and sort them after adjusting subnormal
6319 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6321 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6322 values of ea and eb and sort them after adjusting subnormal
6324 * math/auto-libm-test-in: Do not expect some hypot tests of
6325 subnormals to fail. Add more hypot tests.
6326 * math/auto-libm-test-out: Regenerated.
6328 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6331 * sysdeps/sh/s_fma.c: New file.
6332 * sysdeps/sh/s_fmaf.c: New file.
6333 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6335 * sysdeps/sh/Implies: Add sh/soft-fp.
6337 2013-12-16 Roland McGrath <roland@hack.frob.com>
6339 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6340 level of indirection to members `objname', `errstring', `malloced'.
6341 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6342 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6343 it as the __longjmp argument (just pass 1 instead).
6344 (_dl_catch_error): Initialize C with argument pointers and address of
6345 volatile local ERRCODE rather than copying values out of C at return.
6347 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6349 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6350 * math/auto-libm-test-out: Regenerated.
6351 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6352 (hypot_test_data): Likewise.
6353 (pow_test_data): Likewise.
6354 (pow_tonearest_test_data): Likewise.
6355 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6357 (func_calc_desc): Add mpfr_ff_f union field.
6358 (FUNC_mpfr_ff_f): New macro.
6359 (test_functions): Add atan2, hypot and pow.
6360 (special_fill_min): New function.
6361 (special_fill_minus_min): Likewise.
6362 (special_fill_min_subnorm): Likewise.
6363 (special_fill_minus_min_subnorm): Likewise.
6364 (special_real_inputs): Add min, -min, min_subnorm and
6366 (calc_generic_results): Handle mpfr_ff_f.
6367 * sysdeps/i386/fpu/libm-test-ulps: Update.
6368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6370 2013-12-16 Will Newton <will.newton@linaro.org>
6372 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6373 (Aligned Memory Blocks): Add documentation for aligned_alloc
6374 and suggest it as an alternative to posix_memalign.
6375 (Hooks for Malloc): Document __memalign_hook is also called
6376 for aligned_alloc. (Summary of Malloc): Add summary for
6377 aligned alloc. Document __memalign_hook is also called
6380 2013-12-16 Will Newton <will.newton@linaro.org>
6382 * manual/memory.texi (Malloc Examples): Clarify default
6383 alignment documentation. Suggest posix_memalign rather
6384 than memalign or valloc.
6385 (Aligned Memory Blocks): Remove suggestion to use memalign
6386 or valloc. Remove obsolete comment about BSD.
6387 Document memalign errno values and mark the function obsolete.
6388 Document posix_memalign returned error codes. Mark valloc
6389 as obsolete. (Hooks for Malloc): __memalign_hook is also
6390 called for posix_memalign and valloc.
6391 (Summary of Malloc): Add posix_memalign to function summary.
6392 __memalign_hook is also called for posix_memalign and valloc.
6394 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6396 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6400 (sloww): Use mynumber union. Expand ternary operator into
6402 (cslow): use mynumber union.
6404 2013-12-16 Allan McRae <allan@archlinux.org>
6406 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6407 * configure: Regenerated.
6409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6412 * configure.ac: Added --enable-maintainer-mode. Check for
6413 autoconf when enabled.
6414 * configure: Regenerated.
6416 * nscd/nscd.service: New file.
6417 * nscd/nscd.tmpfiles: New file.
6419 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6422 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6423 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6424 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6425 (strstr): Add __strstr_sse2_unaligned ifunc.
6426 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6427 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6428 (strcasestr): Remove __strcasestr_sse42 ifunc.
6429 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6433 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6435 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6436 * sysdeps/sh/bits/fenv.h: ... here.
6437 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6439 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6441 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6444 hypotf multiarch implementations.
6445 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6446 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6447 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6448 multiarch hypot for PPC64.
6449 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6450 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6451 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6452 multiarch hypotf for PPC64.
6454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6455 modff multiarch implementations.
6456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6459 multiarch modf for PPC64.
6460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6463 multiarch modff for PPC64.
6465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6466 and logl multiarch implementations.
6467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6470 multiarch logb for PPC64.
6471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6474 multiarch logb for PPC64.
6475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6478 multiarch logb for PPC64.
6480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6481 isinff multiarch implementation.
6482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6486 multiarch isinf for PPC64.
6487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6490 multiarch isinff for PPC64.
6492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6493 finitef multiarch implementation.
6494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6498 multiarch finite for PPC64.
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6502 multiarch finitef for PPC64.
6504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6505 lrint multiarch implementation.
6506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6510 multiarch llrint for PPC64.
6511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6512 multiarch lrint for PPC64.
6514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6515 copysignf multiarch implementation.
6516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6521 multiarch copysign for PPC64.
6522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6523 multiarch copysignf for PPC64.
6525 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6526 multiarch implementation.
6527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6535 multiarch llround for PPC64.
6536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6537 multiarch trunc for PPC64.
6538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6539 multiarch truncf for PPC64.
6541 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6542 multiarch implementation.
6543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6551 multiarch llround for PPC64.
6552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6553 multiarch round for PPC64.
6554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6555 multiarch roundf for PPC64.
6557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6558 multiarch implementation.
6559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6567 multiarch llround for PPC64.
6568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6569 multiarch floor for PPC64.
6570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6571 multiarch floorf for PPC64.
6573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6574 multiarch implementation.
6575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6583 multiarch llround for PPC64.
6584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6585 multiarch ceil for PPC64.
6586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6587 multiarch ceilf for PPC64.
6589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6590 multiarch implementation.
6591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6598 multiarch llround for PPC64.
6599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6600 multiarch lround for PPC64.
6602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6603 multiarch implementation.
6604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6611 multiarch isnan for PPC64.
6612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6613 multiarch isnanf for PPC64.
6615 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6616 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6617 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6618 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6619 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6622 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6623 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6624 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6628 multiarch implementations.
6629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6630 (__libc_ifunc_impl_list): Likewise.
6631 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6632 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6633 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6634 multiarch stpcpy for PPC64.
6636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6637 multiarch implementations.
6638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6639 (__libc_ifunc_impl_list): Likewise.
6640 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6641 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6642 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6643 multiarch strcpy for PPC64.
6645 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6646 redefine function name.
6647 (_wordcopy_fwd_dest_aligned): Likewise.
6648 (_wordcopy_bwd_aligned): Likewise.
6649 (_wordcopy_bwd_dest_aligned): Likewise.
6650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6651 multiarch implementations.
6652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6653 (__libc_ifunc_impl_list): Likewise.
6654 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6655 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6656 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6657 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6658 multiarch wcscpy for PPC64.
6660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6661 multiarch implementations.
6662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6663 (__libc_ifunc_impl_list): Likewise.
6664 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6665 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6666 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6667 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6668 multiarch wcscpy for PPC64.
6670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6671 multiarch implementations.
6672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6673 (__libc_ifunc_impl_list): Likewise.
6674 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6675 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6676 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6677 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6678 multiarch wcsrchr for PPC64.
6680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6681 multiarch implementations.
6682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6683 (__libc_ifunc_impl_list): Likewise.
6684 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6685 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6686 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6687 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6688 multiarch wcschr for PPC64.
6690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6691 multiarch implementations.
6692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6693 (__libc_ifunc_impl_list): Likewise.
6694 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6695 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6696 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6697 multiarch strchrnul for PPC64.
6699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6702 (__libc_ifunc_impl_list): Likewise.
6703 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6704 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6705 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6706 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6712 (__libc_ifunc_impl_list): Likewise.
6713 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6714 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6715 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6716 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6720 multiarch implementations.
6721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6722 (__libc_ifunc_impl_list): Likewise.
6723 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6724 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6725 strncasecmp for PPC64.
6726 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6727 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6728 multiarch strncasecmp_l for PPC64.
6730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6731 multiarch implementations.
6732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6733 (__libc_ifunc_impl_list): Likewise.
6734 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6735 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6736 multiarch strcasecmp for PPC64.
6737 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6739 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6740 multiarch strcasecmp_l for PPC64.
6742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6745 (__libc_ifunc_impl_list): Likewise.
6746 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6747 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6748 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6754 (__libc_ifunc_impl_list): Likewise.
6755 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6756 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6757 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6763 (__libc_ifunc_impl_list): Likewise.
6764 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6765 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6766 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6767 rawmemrchr for PPC64.
6769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6772 (__libc_ifunc_impl_list): Likewise.
6773 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6774 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6775 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6778 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6781 (__libc_ifunc_impl_list): Likewise.
6782 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6783 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6784 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6790 (__libc_ifunc_impl_list): Likewise.
6791 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6792 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6793 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6796 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6797 avoid cretion of __bzero symbol.
6798 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6800 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6802 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6805 multiarch implementations.
6806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6807 (__libc_ifunc_impl_list): Likewise.
6808 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6809 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6810 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6811 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6813 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6814 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6815 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6816 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6817 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6819 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6821 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6825 (__libc_ifunc_impl_list): Likewise.
6826 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6827 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6828 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6829 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6833 multiarch for POWER/PPC64.
6834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6835 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6836 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6837 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6838 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6839 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6840 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6841 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6842 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6845 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6846 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6847 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6848 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6849 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6850 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6851 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6852 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6853 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6854 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6855 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6856 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6857 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6858 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6859 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6868 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6870 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6872 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6874 * benchtests/Makefile (bench): Add exp2 and log2.
6875 (LDLIBS-bench-exp2): Add -lm.
6876 (LDLIBS-bench-log2): Likewise.
6877 * benchtests/exp2-inputs: New inputs file.
6878 * benchtests/log2-inputs: New inputs file.
6879 * benchtests/log-inputs: Add new inputs.
6880 * benchtests/tan-inputs: Likewise.
6882 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6884 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6886 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6887 (csloww2): ... from here.
6889 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6890 instead of structures.
6891 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6892 (POLYNOMIAL): Likewise.
6893 (TAYLOR_SLOW): Likewise.
6901 (bsloww1): Likewise.
6902 (bsloww2): Likewise.
6905 (csloww1): Likewise.
6906 (csloww2): Likewise.
6908 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6910 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6911 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6912 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6913 * malloc/hooks.c (realloc_check): Likewise.
6915 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6916 * malloc/arena.c: Remove PER_THREAD conditional.
6917 [!PER_THREAD]: Remove code.
6918 (ptmalloc_unlock_all2): Likewise.
6919 (ptmalloc_init): Likewise.
6920 (_int_new_arena): Likewise.
6921 (arena_get2): Likewise.
6922 * malloc/hooks.c (__malloc_get_state): Likewise.
6923 (__malloc_set_state): Likewise.
6924 * malloc/malloc.c: Likewise.
6925 (struct malloc_state): Likewise.
6926 (struct malloc_par): Likewise.
6927 (__libc_realloc): Likewise.
6928 (__libc_mallopt): Likewise.
6930 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6932 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6934 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6936 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6937 macro to a function. Check for zero perturb_byte.
6938 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6940 * malloc/malloc.c: (force_reg): Remove.
6941 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6942 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6943 force_reg by atomic_forced_read.
6944 * malloc/arena.c (ptmalloc_init): Likewise.
6945 * malloc/hooks.c (top_check): Likewise.
6947 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6951 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6955 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6957 * math/auto-libm-test-in: Add tests of lgamma.
6958 * math/auto-libm-test-out: Regenerated.
6959 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6960 (M_LOG_2_SQRT_PIl): Likewise.
6961 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6962 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6964 (func_calc_desc): Add mpfr_f_f1 union field.
6973 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6974 (test_functions): Add lgamma.
6975 (calc_generic_results): Handle mpfr_f_f1.
6976 * sysdeps/i386/fpu/libm-test-ulps: Update.
6977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6979 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6981 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6982 __mpn_add_n for PowerPC64/POWER7.
6983 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6984 __mpn_sub_n for PowerPC64/POWER7.
6986 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6987 __mpn_addmul_1 for PowerPC64.
6988 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6989 __mpn_submul_1 for PowerPC64.
6990 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6992 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6995 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6998 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7000 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7002 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7004 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7005 add multiarch folders.
7006 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7007 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7008 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7009 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7010 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7011 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7012 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7013 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7014 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7015 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7016 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7025 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7031 multiarch __ieee754_hypot for PowerPC32.
7032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7037 multiarch __ieee754_hypotf for PowerPC32.
7039 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7040 long_double_symbol only if __logbl is defined.
7041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7042 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7044 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7045 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7046 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7047 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7048 path for implementation.
7049 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7050 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7052 logb, and logbl multiarch implementations for PowerPC32.
7053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7058 multiarch logb for PowerPC32.
7059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7064 multiarch logbf for PowerPC32.
7065 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7069 multiarch logbl implementation for PowerPC32.
7071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7072 and modff multiarch implementations.
7073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7078 multiarch modf for PowerPC32.
7079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7084 multiarch modff for PowerPC32.
7086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7087 and lrintf multiarch implementations.
7088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7093 multiarch lrint for PowerPC32.
7094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7095 file: multiarch lrintf for PowerPC32.
7097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7098 and lroundf multiarch implementations.
7099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7106 multiarch lround for PowerPC32.
7107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7108 file: multiarch lroundf for PowerPC32.
7110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7111 copysign and copysignf multiarch implementations.
7112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7117 file: multiarch copysign for PowerPC32.
7118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7119 file: multiarch copysignf for PowerPC32.
7121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7122 and truncf multiarch implementations.
7123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7128 multiarch trunc for PowerPC32.
7129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7134 multiarch truncf for PowerPC32.
7136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7137 and roundf multiarch implementations.
7138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7143 multiarch round for PowerPC32.
7144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7149 multiarch roundf for PowerPC32.
7151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7152 and floorf multiarch implementations.
7153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7158 multiarch floor for PowerPC32.
7159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7164 multiarch floorf for PowerPC32.
7166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7167 and ceilf multiarch implementations.
7168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7173 multiarch ceil for PowerPC32.
7174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7179 multiarch ceilf for PowerPC32.
7181 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7183 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7186 and finitef multiarch implementations.
7187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7192 multiarch finite for PowerPC32.
7193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7196 file: multiarch finitef for PowerPC32.
7198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7199 and isinff multiarch implementations.
7200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7205 multiarch isinf for PowerPC32.
7206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7209 multiarch isinff for PowerPC32.
7211 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7212 alias when __isnan is defined.
7213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7214 and isnanf multiarch implementations.
7215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7224 multiarch isnan for PowerPC32.
7225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7230 multiarch isnanf for PowerPC32.
7232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7233 and sqrtf multiarch implementations.
7234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7239 multiarch sqrt for PowerPC32.
7240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7245 multiarch sqrtf for PowerPC32.
7247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7248 and llroundf multiarch implementations.
7249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7256 file: multiarch llround for PowerPC32.
7257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7258 file: multiarch llroundf for PowerPC32.
7260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7261 multiarch PowerPC32 fpu implementations.
7262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7267 multiarch llrint for PowerPC32.
7268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7277 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7279 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7281 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7283 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7284 multiarch wordcopy for PPC32.
7285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7288 (__libc_ifunc_impl_list): Likewise.
7289 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7290 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7291 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7292 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7293 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7294 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7296 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7303 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7304 multiarch wcscpy for PPC32.
7305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7308 (__libc_ifunc_impl_list): Likewise.
7309 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7310 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7311 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7312 sysdeps/powerpc/power6/wcscpy.c.
7314 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7317 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7322 multiarch wcsrchr for PPC32.
7323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7326 (__libc_ifunc_impl_list): Likewise.
7327 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7328 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7329 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7330 sysdeps/powerpc/power6/wcsrchr.c.
7332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7334 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7336 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7337 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7338 multiarch wcschr for PPc32.
7339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7342 (__libc_ifunc_impl_list): Likewise.
7343 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7344 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7345 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7346 sysdeps/powerpc/power6/wcschr.c.
7348 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7349 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7351 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7352 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7353 file: multiarch strchr for PPC32.
7354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7356 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7357 (__libc_ifunc_impl_list): Likewise.
7359 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7361 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7363 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7365 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7366 multiarch strchrnul for PPC32.
7367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7370 (__libc_ifunc_impl_list): Likewise.
7372 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7374 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7375 multiarch strncasecmp for PPC32.
7376 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7378 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7379 multiarch strncasecmp_l for PPC32.
7380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7381 strncasecmp multiarch objects.
7382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7383 (__libc_ifunc_impl_list): Likewise.
7385 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7387 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7388 multiarch strncasecmp for PPC32.
7389 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7391 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7392 multiarch strcasecmp_l for PPC32.
7393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7396 (__libc_ifunc_impl_list): Likewise.
7398 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7400 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7402 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7403 multiarch strncmp for PPC32.
7404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7407 (__libc_ifunc_impl_list): Likewise.
7409 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7410 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7412 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7413 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7417 (__libc_ifunc_impl_list): Likewise.
7419 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7421 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7423 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7427 (__libc_ifunc_impl_list): Likewise.
7429 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7431 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7433 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7434 multiarch rawmemchr for PPC32.
7435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7438 (__libc_ifunc_impl_list): Likewise.
7440 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7442 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7444 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7445 file: memrchr multiarch for PPC32.
7446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7449 (__libc_ifunc_impl_list): Likewise.
7451 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7452 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7454 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7455 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7456 multiarch memchr for PPC32.
7457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7460 (__libc_ifunc_impl_list): Likewise.
7462 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7463 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7465 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7467 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7468 file: multiarch mempcpy for PPC32.
7469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7471 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7472 (__libc_ifunc_impl_list): Likewise.
7474 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7475 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7476 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7477 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7478 multiarch bzero for PPC32.
7479 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7481 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7483 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7484 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7485 file: multiarch memset for PPC32.
7486 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7488 memset multiarch objects.
7489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7490 (__libc_ifunc_impl_list): Likewise.
7492 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7494 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7495 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7497 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7501 (__libc_ifunc_impl_list): Likewise.
7503 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7504 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7505 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7507 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7509 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7511 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7512 multiarch memcpy for PPC32.
7513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7516 (__libc_ifunc_impl_list): Likewise.
7518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7519 support multiarch for POWER/PPC32.
7520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7522 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7524 Implies file to make multiarch folder appers before the fpu and
7525 default folder for power4 configuration.
7527 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7529 * scripts/bench.pl: Append volatile keyword to type.
7531 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7533 * sysdeps/sh/sotruss-lib.c: New file.
7534 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7536 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7540 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7543 * math/w_tgamma.c: Include <errno.h>.
7544 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7545 * math/w_tgammaf.c: Include <errno.h>.
7546 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7547 * math/w_tgammal.c: Include <errno.h>.
7548 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7549 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7550 underflow. Add more tgamma tests.
7551 * math/auto-libm-test-out: Regenerated.
7552 * sysdeps/i386/fpu/libm-test-ulps: Update.
7553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7555 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7556 sin, sinh, tan, tanh, tgamma, y0 and y1.
7557 * math/auto-libm-test-out: Regenerated.
7558 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7559 (TEST_COND_x86): Likewise.
7560 (M_E2l): Remove macro.
7562 (M_2_SQRT_PIl): Likewise.
7563 (M_SQRT_PIl): Likewise.
7564 (M_1_DIV_El): Likewise.
7565 (log_test_data): Use AUTO_TESTS_f_f.
7566 (log10_test_data): Likewise.
7567 (log1p_test_data): Likewise.
7568 (log2_test_data): Likewise.
7569 (sin_test_data): Likewise.
7570 (sin_tonearest_test_data): Likewise.
7571 (sin_towardzero_test_data): Likewise.
7572 (sin_downward_test_data): Likewise.
7573 (sin_upward_test_data): Likewise.
7574 (sinh_test_data): Likewise.
7575 (sinh_tonearest_test_data): Likewise.
7576 (sinh_towardzero_test_data): Likewise.
7577 (sinh_downward_test_data): Likewise.
7578 (sinh_upward_test_data): Likewise.
7579 (tan_test_data): Likewise.
7580 (tan_tonearest_test_data): Likewise.
7581 (tan_towardzero_test_data): Likewise.
7582 (tan_downward_test_data): Likewise.
7583 (tan_upward_test_data): Likewise.
7584 (tanh_test_data): Likewise.
7585 (tgamma_test_data): Likewise.
7586 (y0_test_data): Likewise.
7587 (y1_test_data): Likewise.
7588 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7589 (special_real_inputs): Add pi/4.
7590 * sysdeps/i386/fpu/libm-test-ulps: Update.
7591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7593 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7595 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7596 "longjmp_target" static probes.
7597 (__longjmp): Rename to __longjmp_symbol.
7598 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7599 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7600 on which longjmp to generate.
7601 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7602 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7604 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7605 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7606 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7607 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7608 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7609 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7611 __longjmp_symbol based on which __longjmp to generate.
7612 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7614 (setjmp): Rename to setjmp_symbol.
7615 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7616 (_setjmp): Rename to _setjmp_symbol.
7617 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7618 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7619 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7620 which setjmp to generate.
7621 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7622 "longjmp_target" static probes.
7624 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7626 * benchtests/README: Add note about output arguments.
7627 * benchtests/bench-sincos.c: Remove file.
7628 * benchtests/sincos-inputs: New file.
7629 * scripts/bench.pl: Identify output arguments and define
7630 static variables for them.
7632 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7635 * Makefile (INSTALL): Add install-plain.texi as the primary
7637 * manual/install-plain.texi: New file.
7638 * manual/install.texi: Include node directive only for
7639 non-plaintext output.
7641 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7643 * stdlib/longlong.h: Update from GCC.
7647 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7648 * math/w_j0f.c (y0f): Likewise.
7649 * math/w_j0l.c (__y0l): Likewise.
7650 * math/w_j1.c (y1): Likewise.
7651 * math/w_j1f.c (y1f): Likewise.
7652 * math/w_j1l.c (__y1l): Likewise
7653 * math/w_jn.c (yn): Likewise.
7654 * math/w_jnf.c (ynf): Likewise.
7655 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7656 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7657 value for Bessel function domain errors outside _SVID_ mode.
7658 Adjust sign of return value for yn (negative integer, 0).
7659 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7660 by zero in return for negative x and set sign appropriately for
7662 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7663 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7664 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7665 expectations in error cases.
7666 (y1_test_data): Likewise.
7667 (yn_test_data): Likewise.
7668 * sysdeps/i386/fpu/libm-test-ulps: Update.
7669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7671 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7673 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7674 "64" to "64-v1". Add "64-v2".
7675 (abi-64-options): Rename to ...
7676 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7677 (abi-64-condition): Rename to ...
7678 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7679 (abi-64-ld-soname): Rename to ...
7680 (abi-64-v1-ld-soname): ... this.
7681 (abi-64-v2-options): Define.
7682 (abi-64-v2-condition): Likewise.
7683 (abi-64-v2-ld-soname): Likewise.
7684 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7685 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7690 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7691 Alan Modra <amodra@gmail.com>
7693 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7694 New versions for use with the ELFv2 ABI.
7695 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7696 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7698 (struct La_ppc64v2_retval): Likewise.
7699 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7700 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7701 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7702 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7703 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7704 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7705 Do not save or restore CR.
7706 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7707 (_dl_profile_resolve): Do no save or restore CR. Support extended
7708 return values for ELFv2 ABI. Fix location of FPR return registers.
7709 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7710 updated values for _CALL_ELF == 2.
7711 (La_regs, La_retval, int_retval): Likewise.
7713 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7715 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7716 (FRAME_MIN_SIZE_PARM): Likewise.
7717 (FRAME_BACKCHAIN): Likewise.
7718 (FRAME_CR_SAVE): Likewise.
7719 (FRAME_LR_SAVE): Likewise.
7720 (FRAME_TOC_SAVE): Likewise.
7721 (FRAME_PARM_SAVE): Likewise.
7722 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7723 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7724 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7725 (call_mcount_parm_offset): New macro.
7726 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7727 (PROF): Use symbolic stack frame offsets.
7728 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7730 Redefine in terms of FRAME_MIN_SIZE.
7731 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7732 (_dl_profile_resolve): Likewise. Update comment.
7733 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7734 symbols stack frame offsets.
7735 (__sigsetjmp): Likewise.
7736 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7737 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7738 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7739 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7742 (FRAME_BACKCHAIN): Remove.
7743 (FRAME_CR_SAVE): Likewise.
7744 (FRAME_LR_SAVE): Likewise.
7745 (FRAME_COMPILER_DW): Likewise.
7746 (FRAME_LINKER_DW): Likewise.
7747 (FRAME_TOC_SAVE): Likewise.
7748 (FRAME_PARM_SAVE): Likewise.
7749 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7750 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7751 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7753 (CHECK_SP): Use symbolic stack frame offsets.
7754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7755 zone" instead of caller's parameter save area for temp storage.
7756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7757 Likewise. Also, use symbolic stack frame offsets.
7758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7759 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7760 our own stack frame instead of the caller's.
7761 (__socket): Use symbolic stack frame offsets.
7763 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7764 Alan Modra <amodra@gmail.com>
7766 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7768 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7769 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7770 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7772 (elf_machine_fixup_plt): Call it.
7773 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7775 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7776 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7777 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7778 r2 before calling target.
7780 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7781 Alan Modra <amodra@gmail.com>
7783 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7784 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7785 versions of macros to support ELFv2 ABI.
7786 (LOCALENTRY): New macro.
7787 (ENTRY, EALIGN): Use it.
7788 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7789 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7790 fall through into ENTRY entry point.
7791 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7792 Only define if _CALL_ELF != 2.
7794 (elf_machine_matches_host): Verify ABI version matches.
7795 (RTLD_START): Use LOCALENTRY.
7796 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7797 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7798 (PLT_ENTRY_WORDS): New macro.
7799 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7800 (elf_machine_runtime_setup): Support ELFv2 ABI.
7801 (elf_machine_fixup_plt): Likewise.
7802 (elf_machine_plt_conflict): Likewise.
7803 (resolve_ifunc): Likewise.
7804 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7805 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7808 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7810 (makecontext): Support ELFv2 ABI.
7811 * elf/elf.h (EF_PPC64_ABI): Define.
7813 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7815 * sysdeps/powerpc/powerpc64/sysdep.h
7816 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7817 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7818 (ENTRY) [ASSEMBLER]: ... but instead here ...
7819 (EALIGN) [ASSEMBLER]: ... and here.
7820 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7821 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7822 (ENTRY_2) [!ASSEMBLER]: Use it.
7823 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7824 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7825 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7826 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7827 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7829 Use PPC64_LOAD_FUNCPTR.
7831 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7833 2013-12-04 Alan Modra <amodra@gmail.com>
7835 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7836 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7837 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7838 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7840 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7841 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7842 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7843 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7844 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7845 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7847 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7850 (__makecontext): Fix incorrect CFI when backtracing out of
7851 context created via makecontext.
7852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7853 (__setcontext): Fix incorrect CFI during switch to new context.
7854 (__novec_setcontext): Likewise.
7856 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7859 * time/strptime_l.c (__strptime_internal): Allow modifiers
7861 * time/tst-strptime.c (day_tests): Add testcase.
7863 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7865 * scripts/bench.pl: Skip over blank lines.
7867 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7870 * manual/time.texi (Calendar Time): Clarify what timezone functions
7873 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7877 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7879 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7881 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7882 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7883 * debug/memset_chk.c (__memset_chk): Likewise.
7884 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7885 * debug/strncpy_chk.c: Likewise.
7887 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7891 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7892 (__ieee754_exp): For possibly underflowing results, check size of
7893 result and force underflow exception if required.
7894 * math/auto-libm-test-in: Add more tests of exp.
7895 * math/auto-libm-test-out: Regenerated.
7896 * sysdeps/i386/fpu/libm-test-ulps: Update.
7897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7900 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7901 * math/w_exp2f.c (__exp2f): Likewise.
7902 * math/w_exp2l.c (__exp2l): Likewise.
7903 * math/auto-libm-test-in: Do not allow missing errno on exp2
7905 * math/auto-libm-test-out: Regenerated.
7907 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7910 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7911 handle filename validation.
7912 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7915 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7918 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7919 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7920 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7922 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7923 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7924 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7925 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7926 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7927 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7928 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7929 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7930 Add more erfc tests.
7931 * math/auto-libm-test-out: Regenerated.
7932 * sysdeps/i386/fpu/libm-test-ulps: Update.
7933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7935 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7936 exp2, expm1, j0 and j1.
7937 * math/auto-libm-test-out: Regenerated.
7938 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7939 (erfc_test_data): Likewise.
7940 (exp_test_data): Likewise.
7941 (exp_tonearest_test_data): Likewise.
7942 (exp_towardzero_test_data): Likewise.
7943 (exp_downward_test_data): Likewise.
7944 (exp_upward_test_data): Likewise.
7945 (exp10_test_data): Likewise.
7946 (exp2_test_data): Likewise.
7947 (expm1_test_data): Likewise.
7948 (j0_test_data): Likewise.
7949 (j1_test_data): Likewise.
7950 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7951 (input_flag_type): Add flag_xfail_rounding.
7952 (input_flags): Add xfail-rounding.
7953 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7954 (output_for_one_input_case): Handle flag_xfail_rounding.
7955 * sysdeps/i386/fpu/libm-test-ulps: Update.
7956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7958 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7961 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7964 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7967 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7968 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7969 (STAP_PROBE0): New macro.
7970 (STAP_PROBE1): Likewise.
7971 (STAP_PROBE2): Likewise.
7972 (STAP_PROBE3): Likewise.
7973 (STAP_PROBE4): Likewise.
7975 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7977 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7979 2013-12-02 Steve Ellcey <sellcey@mips.com>
7981 * benchtests/Makefile (bench): Add sqrt.
7982 (LDLIBS-bench-sqrt): New.
7983 * benchtests/sqrt-input: New.
7985 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7987 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7988 (GAIH_EAI): Likewise.
7989 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7990 (gaih_inet): Likewise.
7991 (getaddrinfo): Don't use GAIH_EAI.
7993 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7994 (struct gaih): Remove definition.
7996 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7998 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7999 Use HERRNOP directly.
8001 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8005 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8007 * math/gen-auto-libm-tests.c (test_functions): Add more
8008 single-argument functions.
8009 (special_fill_pi_2): New function.
8010 (special_fill_minus_pi_2): Likewise.
8011 (special_fill_pi_6): Likewise.
8012 (special_fill_minus_pi_6): Likewise.
8013 (special_fill_pi_3): Likewise.
8014 (special_fill_2pi_3): Likewise.
8015 (special_fill_e): Likewise.
8016 (special_fill_1_e): Likewise.
8017 (special_fill_e_minus_1): Likewise.
8018 (special_real_inputs): Add more special inputs.
8019 (output_for_one_input_case): Do not require ERANGE on underflow to
8020 zero if round-to-nearest result does not underflow to zero, unless
8021 exact results required.
8022 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8023 atan, atanh, cbrt, cos and cosh.
8024 * math/auto-libm-test-out: Regenerated.
8025 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8026 (acos_tonearest_test_data): Likewise.
8027 (acos_towardzero_test_data): Likewise.
8028 (acos_downward_test_data): Likewise.
8029 (acos_upward_test_data): Likewise.
8030 (acosh_test_data): Likewise.
8031 (asin_test_data): Likewise.
8032 (asin_tonearest_test_data): Likewise.
8033 (asin_towardzero_test_data): Likewise.
8034 (asin_upward_test_data): Likewise.
8035 (asinh_test_data): Likewise.
8036 (atan_test_data): Likewise.
8037 (atanh_test_data): Likewise.
8038 (cbrt_test_data): Likewise.
8039 (cos_test_data): Likewise.
8040 (cos_tonearest_test_data): Likewise.
8041 (cos_towardzero_test_data): Likewise.
8042 (cos_downward_test_data): Likewise.
8043 (cos_upward_test_data): Likewise.
8044 (cosh_test_data): Likewise.
8045 (cosh_tonearest_test_data): Likewise.
8046 (cosh_towardzero_test_data): Likewise.
8047 (cosh_downward_test_data): Likewise.
8048 (cosh_upward_test_data): Likewise.
8049 * sysdeps/i386/fpu/libm-test-ulps: Update.
8050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8052 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8055 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8056 * math/w_exp10f.c (__exp10f): Likewise.
8057 * math/w_exp10l.c (__exp10l): Likewise.
8058 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8059 errno settings in existing tests.
8062 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8063 precision control set to double precision.
8064 * sysdeps/i386/fpu/w_sqrt.c: New file.
8065 * math/auto-libm-test-in: Add more tests.
8066 * math/auto-libm-test-out: Update.
8068 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8069 (sqrt_test_tonearest): New function.
8070 (sqrt_towardzero_test_data): New variable.
8071 (sqrt_test_towardzero): New function.
8072 (sqrt_downward_test_data): New variable.
8073 (sqrt_test_downward): New function.
8074 (sqrt_upward_test_data): New variable.
8075 (sqrt_test_upward): New function.
8076 (main): Call the new functions.
8078 * math/gen-auto-libm-tests.c: New file.
8079 * math/auto-libm-test-in: Likewise.
8080 * math/auto-libm-test-out: New generated file.
8081 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8083 (%beautify): Add generated representations of zero.
8084 (top level): Set $auto_input and call parse_auto_input.
8085 (beautify): Remove trailing "f" from hex float constants.
8086 (parse_args): Handle XFAIL_TEST.
8087 (convert_condition): New function.
8088 (or_value): Likewise.
8089 (or_cond_value): Likewise.
8090 (generate_testfile): Handle AUTO_TESTS_* lines.
8091 (parse_auto_input): New function.
8092 * math/libm-test.inc (XFAIL_TEST): New macro.
8093 (ERRNO_UNCHANGED): Update value.
8094 (ERRNO_EDOM): Likewise.
8095 (ERRNO_ERANGE): Likewise.
8096 (IGNORE_RESULT): Likewise.
8097 (TEST_COND_flt_32): New macro.
8098 (TEST_COND_dbl_64): Likewise.
8099 (TEST_COND_ldbl_96_intel): Likewise.
8100 (TEST_COND_ldbl_96_m68k): Likewise.
8101 (TEST_COND_ldbl_128): Likewise.
8102 (TEST_COND_ldbl_128ibm): Likewise.
8103 (TEST_COND_long32): Likewise.
8104 (TEST_COND_long64): Likewise.
8105 (TEST_COND_before_rounding): Likewise.
8106 (TEST_COND_after_rounding): Likewise.
8107 (enable_test): Handle XFAIL_TEST flag.
8108 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8109 with finite results.
8110 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8113 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8114 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8117 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8118 __tls_get_addr_internal instead of __tls_get_offset in order to
8119 avoid GOT pointer dependency. Make rtld export
8120 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8121 __tls_get_addr since we are a __tls_get_offset platform.
8122 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8123 GOT pointer being set up before.
8124 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8126 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8128 * manual/math.texi (Errors in Math Functions): Document accuracy
8132 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8133 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8134 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8135 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8136 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8137 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8138 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8139 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8140 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8141 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8142 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8143 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8144 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8145 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8146 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8147 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8149 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8150 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8151 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8152 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8153 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8155 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8157 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8159 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8160 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8161 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8162 atomic-feupdateenv and flt-rounds.
8163 * sysdeps/powerpc/nofpu/Versions (libc): Add
8164 __atomic_feholdexcept, __atomic_feclearexcept,
8165 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8166 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8167 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8168 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8169 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8174 * manual/arith.texi (FP Exceptions): Document that exceptions may
8175 not be raised when matherr is used.
8176 (Math Error Reporting): Document overflow in directed rounding
8177 modes. Document that errno may not be set when finite values are
8178 returned on overflow. Document intent to set errno on underflow
8179 only for underflow to zero.
8182 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8183 round-to-nearest then adjust result for other rounding modes.
8184 * include/fenv.h (fegetround): Use libm_hidden_proto.
8185 * math/fegetround.c (fegetround): Use libm_hidden_def.
8186 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8187 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8188 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8189 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8191 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8192 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8193 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8194 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8196 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8199 * nss/Versions (libnss_files): Add
8200 _nss_files_gethostbyname3_r.
8201 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8203 (HOST_DB_LOOKUP): Remove macro.
8204 (_nss_files_gethostbyname_r): Implement function without the
8205 HOST_DB_LOOKUP macro.
8206 (_nss_files_gethostbyname2_r): Likewise.
8208 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
8210 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8212 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
8214 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8215 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8218 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8220 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8221 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8222 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8223 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8224 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8225 __fe_nomask_env_priv and attribute_hidden.
8226 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8227 (libc_feupdateenv_test_ppc): Likewise.
8228 (libc_feresetround_ppc): Likewise.
8229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8230 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8231 compat_symbol macro.
8232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8233 (__fe_nomask_env): Likewise.
8234 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8236 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8238 * string/Makefile: Remove ifunc tests.
8239 * string/test-string.h: Define TEST_IFUNC.
8240 * string/test-bcopy-ifunc.c: Remove.
8241 * string/test-bzero-ifunc.c: Likewise.
8242 * string/test-memccpy-ifunc.c: Likewise.
8243 * string/test-memchr-ifunc.c: Likewise.
8244 * string/test-memcmp-ifunc.c: Likewise.
8245 * string/test-memcpy-ifunc.c: Likewise.
8246 * string/test-memmem-ifunc.c: Likewise.
8247 * string/test-memmove-ifunc.c: Likewise.
8248 * string/test-mempcpy-ifunc.c: Likewise.
8249 * string/test-memrchr-ifunc.c: Likewise.
8250 * string/test-memset-ifunc.c: Likewise.
8251 * string/test-rawmemchr-ifunc.c: Likewise.
8252 * string/test-stpcpy-ifunc.c: Likewise.
8253 * string/test-stpncpy-ifunc.c: Likewise.
8254 * string/test-strcasecmp-ifunc.c: Likewise.
8255 * string/test-strcasestr-ifunc.c: Likewise.
8256 * string/test-strcat-ifunc.c: Likewise.
8257 * string/test-strchr-ifunc.c: Likewise.
8258 * string/test-strchrnul-ifunc.c: Likewise.
8259 * string/test-strcmp-ifunc.c: Likewise.
8260 * string/test-strcpy-ifunc.c: Likewise.
8261 * string/test-strcspn-ifunc.c: Likewise.
8262 * string/test-strlen-ifunc.c: Likewise.
8263 * string/test-strncasecmp-ifunc.c: Likewise.
8264 * string/test-strncat-ifunc.c: Likewise.
8265 * string/test-strncmp-ifunc.c: Likewise.
8266 * string/test-strncpy-ifunc.c: Likewise.
8267 * string/test-strnlen-ifunc.c: Likewise.
8268 * string/test-strpbrk-ifunc.c: Likewise.
8269 * string/test-strrchr-ifunc.c: Likewise.
8270 * string/test-strspn-ifunc.c: Likewise.
8271 * string/test-strstr-ifunc.c: Likewise.
8273 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8275 * benchtests/Makefile: Remove ifunc tests.
8276 * benchtests/bench-string.h: Define TEST_IFUNC.
8277 * benchtests/bench-bcopy-ifunc.c: Remove.
8278 * benchtests/bench-bzero-ifunc.c: Likewise.
8279 * benchtests/bench-memccpy-ifunc.c: Likewise.
8280 * benchtests/bench-memchr-ifunc.c: Likewise.
8281 * benchtests/bench-memcmp-ifunc.c: Likewise.
8282 * benchtests/bench-memcpy-ifunc.c: Likewise.
8283 * benchtests/bench-memmem-ifunc.c: Likewise.
8284 * benchtests/bench-memmove-ifunc.c: Likewise.
8285 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8286 * benchtests/bench-memrchr-ifunc.c: Likewise.
8287 * benchtests/bench-memset-ifunc.c: Likewise.
8288 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8289 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8290 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8291 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8292 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8293 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8294 * benchtests/bench-strcat-ifunc.c: Likewise.
8295 * benchtests/bench-strchr-ifunc.c: Likewise.
8296 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8297 * benchtests/bench-strcmp-ifunc.c: Likewise.
8298 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8299 * benchtests/bench-strcpy-ifunc.c: Likewise.
8300 * benchtests/bench-strcspn-ifunc.c: Likewise.
8301 * benchtests/bench-strlen-ifunc.c: Likewise.
8302 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8303 * benchtests/bench-strncat-ifunc.c: Likewise.
8304 * benchtests/bench-strncmp-ifunc.c: Likewise.
8305 * benchtests/bench-strncpy-ifunc.c: Likewise.
8306 * benchtests/bench-strnlen-ifunc.c: Likewise.
8307 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8308 * benchtests/bench-strrchr-ifunc.c: Likewise.
8309 * benchtests/bench-strsep-ifunc.c: Likewise.
8310 * benchtests/bench-strspn-ifunc.c: Likewise.
8311 * benchtests/bench-strstr-ifunc.c: Likewise.
8313 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8315 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8317 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8319 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8320 * rt/aio.h: Likewise.
8321 * sysdeps/gnu/bits/utmp.h: Likewise.
8322 * sysdeps/gnu/bits/utmpx.h: Likewise.
8323 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8324 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8325 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8326 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8327 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8328 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8329 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8330 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8331 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8332 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8333 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8334 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8335 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8337 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8338 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8339 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8340 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8341 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8342 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8343 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8344 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8345 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8346 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8347 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8349 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8350 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8351 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8352 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8353 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8354 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8355 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8356 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8357 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8358 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8359 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8360 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8361 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8362 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8363 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8364 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8366 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8369 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8370 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8372 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8374 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8375 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8378 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8380 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8381 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8382 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8383 (__fesetround): Remove define.
8384 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8385 rounding and exceptions handling.
8386 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8387 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8388 (__fe_nomask_env): Likewise.
8389 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8390 __fegetround instead of fegetround.
8391 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8392 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8394 2013-11-21 Roland McGrath <roland@hack.frob.com>
8396 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8399 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8401 2013-11-21 Meador Inge <meadori@codesourcery.com>
8404 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8405 (encrypt_r): Likewise.
8406 * malloc/obstack.h (obstack_free): Likewise.
8407 * posix/unistd.h (encrypt): Likewise.
8409 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8411 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8412 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8413 DL_CALL_DT_FINI() that call the functions directly.
8414 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8415 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8416 * elf/dl-fini.c: Likewise.
8418 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8420 * malloc/hooks.c (memalign_check): Add alignment rounding.
8421 * malloc/malloc.c (_mid_memalign): New function.
8422 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8423 Implement by calling _mid_memalign.
8424 * manual/probes.texi (Memory Allocation Probes): Remove
8425 memory_valloc_retry and memory_pvalloc_retry.
8427 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8429 * locale/programs/locarchive.c (open_archive): Add const
8430 qualifier to ARCHIVEFNAME and copy default fname to
8434 * libio/tst-widetext.input: Rename Oriya to Odia.
8435 * locale/iso-639.def: Likewise.
8437 * manual/probes.texi (Mathematical Function Probes): Add
8438 documentation for sin, cos, asin and acos probes.
8439 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8440 (__sin32): Add slowasin probe.
8441 (__cos32): Add slowacos probe.
8442 (__mpsin): Add slowsin probe.
8443 (__mpcos): Add slowcos probe.
8445 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8448 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8449 thread-local __sim_exceptions_thread and global
8450 __sim_exceptions_global.
8451 (__sim_disabled_exceptions): Change to thread-local
8452 __sim_disabled_exceptions_thread and global
8453 __sim_disabled_exceptions_global.
8454 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8455 and global __sim_round_mode_global.
8456 (__simulate_exceptions): Use thread-local floating-point state and
8457 set global state from it as needed.
8458 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8459 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8460 __sim_round_mode_thread.
8461 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8462 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8463 and global __sim_exceptions_global.
8464 (__sim_disabled_exceptions): Change to thread-local
8465 __sim_disabled_exceptions_thread and global
8466 __sim_disabled_exceptions_global.
8467 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8468 and global __sim_round_mode_global.
8469 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8470 (SIM_SET_GLOBAL): Likewise.
8471 * sysdeps/powerpc/soft-fp/sfp-machine.h
8472 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8473 __sim_round_mode_thread.
8474 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8475 __sim_disabled_exceptions_thread.
8476 (__sim_exceptions): Change to __sim_exceptions_thread.
8477 (__sim_disabled_exceptions): Change to
8478 __sim_disabled_exceptions_thread.
8479 (__sim_round_mode): Change to __sim_round_mode_thread.
8480 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8481 thread-local floating-point state and set global state from it as
8483 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8484 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8485 (__sim_disabled_exceptions): Remove extern declaration.
8486 (feenableexcept): Use thread-local floating-point state and set
8487 global state from it as needed.
8488 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8490 (__sim_disabled_exceptions): Likewise.
8491 (__sim_round_mode): Likewise.
8492 (__fegetenv): Use thread-local floating-point state.
8493 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8494 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8495 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8496 floating-point state and set global state from it as needed.
8497 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8498 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8499 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8501 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8502 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8504 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8505 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8506 Use __sim_round_mode_thread.
8507 * math/test-fenv-tls.c: New file.
8508 * math/Makefile (tests): Add test-fenv-tls.
8509 ($(objpfx)test-fenv-tls): Depend on
8510 $(common-objpfx)nptl/libpthread.so.
8512 2013-11-19 Andreas Schwab <schwab@suse.de>
8514 * locale/programs/locale.c (show_info): Decode wordarray elements.
8515 * locale/categories.def (LC_MONETARY): Add element for
8516 _NL_MONETARY_CRNCYSTR.
8517 * locale/C-monetary.c (conversion_rate): New variable.
8518 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8521 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8523 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8524 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8526 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8528 * elf/Makefile (tst-auxv): New test.
8529 * elf/tst-auxv.c: New
8530 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8532 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8534 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8535 (hidden_proto): Caller changed.
8536 (hidden_tls_proto): New macro.
8537 (libc_hidden_tls_proto): Likewise.
8538 (rtld_hidden_tls_proto): Likewise.
8539 (libm_hidden_tls_proto): Likewise.
8540 (libresolv_hidden_tls_proto): Likewise.
8541 (librt_hidden_tls_proto): Likewise.
8542 (libdl_hidden_tls_proto): Likewise.
8543 (libnss_files_hidden_tls_proto): Likewise.
8544 (libnsl_hidden_tls_proto): Likewise.
8545 (libnss_nisplus_hidden_tls_proto): Likewise.
8546 (libutil_hidden_tls_proto): Likewise.
8548 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8551 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8552 (decompose_rpath): Defer expansion to fillin_rpath.
8553 (_dl_init_paths): Pass linkmap to fillin_rpath.
8555 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8557 * benchtests/Makefile: Add strsep.
8558 * benchtests/bench-strsep.c: New file: strsep benchtest.
8559 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8561 2013-11-18 Andreas Schwab <schwab@suse.de>
8563 * locale/programs/locale.c (show_info) [case byte]: Check for
8564 '\377' instead of '\177'.
8565 * locale/C-monetary.c (not_available): Always use "\377".
8566 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8567 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8568 detect unavailable sign_posn locale elements.
8569 * locale/localeconv.c (__localeconv): For grouping and
8570 mon_grouping handle "\177" and "\377" like no grouping.
8571 (INT_ELEM): New macro. Use it to set all numeric members.
8572 * locale/programs/ld-monetary.c (monetary_read)
8573 <tok_mon_grouping>: Normalize single -1 to the empty string.
8574 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8577 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8580 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8581 when we match (nil).
8582 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8584 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8586 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8587 (NO_TEST_INLINE): Update value.
8588 (ERRNO_UNCHANGED): Likewise.
8589 (ERRNO_EDOM): Likewise.
8590 (ERRNO_ERANGE): Likewise.
8591 (IGNORE_RESULT): Likewise.
8592 (check_float_internal): Check signs of NaN results if
8594 (check_complex): Pass TEST_NAN_SIGN flag through to second
8595 check_float_internal call.
8596 (copysign_test_data): Add tests with quiet NaNs as second
8597 argument. Use TEST_NAN_SIGN.
8598 (fabs_test_data): Add test of negative quiet NaN argument. Use
8600 (signbit_test_data): Add tests of quiet NaN argument.
8601 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8603 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8605 (parse_args): Handle function results specified as IGNORE.
8606 * math/libm-test.inc (IGNORE_RESULT): New macro.
8607 (check_float_internal): Do not check numerical result if flag
8609 (check_complex): Pass through IGNORE_RESULT to second
8610 check_float_internal call.
8611 (check_int): Do not check numerical result if flag IGNORE_RESULT
8613 (check_long): Likewise.
8614 (check_bool): Likewise.
8615 (check_longlong): Likewise.
8616 (lrint_test_data): Add tests of infinite and NaN arguments.
8617 (lrint_tonearest_test_data): Likewise.
8618 (lrint_towardzero_test_data): Likewise.
8619 (lrint_downward_test_data): Likewise.
8620 (lrint_upward_test_data): Likewise.
8621 (llrint_test_data): Likewise.
8622 (llrint_tonearest_test_data): Likewise.
8623 (llrint_towardzero_test_data): Likewise.
8624 (llrint_downward_test_data): Likewise.
8625 (llrint_upward_test_data): Likewise.
8626 (lround_test_data): Likewise.
8627 (llround_test_data): Likewise.
8629 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8630 (ERRNO_UNCHANGED): Update value.
8631 (ERRNO_EDOM): Likewise.
8632 (ERRNO_ERANGE): Likewise.
8633 (NO_TEST_INLINE_FLOAT): New macro.
8634 (NO_TEST_INLINE_DOUBLE): Likewise.
8635 (enable_test): New function.
8636 (RUN_TEST_f_f): Check enable_test before running test.
8637 (RUN_TEST_2_f): Likewise.
8638 (RUN_TEST_fff_f): Likewise.
8639 (RUN_TEST_c_f): Likewise.
8640 (RUN_TEST_f_f1): Likewise.
8641 (RUN_TEST_fF_f1): Likewise.
8642 (RUN_TEST_fI_f1): Likewise.
8643 (RUN_TEST_ffI_f1): Likewise.
8644 (RUN_TEST_c_c): Likewise.
8645 (RUN_TEST_cc_c): Likewise.
8646 (RUN_TEST_f_i): Likewise.
8647 (RUN_TEST_f_i_tg): Likewise.
8648 (RUN_TEST_ff_i_tg): Likewise.
8649 (RUN_TEST_f_b): Likewise.
8650 (RUN_TEST_f_b_tg): Likewise.
8651 (RUN_TEST_f_l): Likewise.
8652 (RUN_TEST_f_L): Likewise.
8653 (RUN_TEST_fFF_11): Likewise.
8654 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8656 (cosh_test_data): Likewise.
8657 (exp_test_data): Likewise.
8658 (expm1_test_data): Likewise.
8659 (hypot_test_data): Likewise.
8660 (pow_test_data): Likewise.
8661 (sinh_test_data): Likewise.
8662 (tanh_test_data): Likewise.
8663 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8666 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8667 tests with quiet NaN input and output.
8668 (acosh_test_data): Likewise.
8669 (asin_test_data): Likewise.
8670 (asinh_test_data): Likewise.
8671 (atan_test_data): Likewise.
8672 (atanh_test_data): Likewise.
8673 (atan2_test_data): Likewise.
8674 (cbrt_test_data): Likewise.
8675 (cos_test_data): Likewise.
8676 (cosh_test_data): Likewise.
8677 (erf_test_data): Likewise.
8678 (erfc_test_data): Likewise.
8679 (exp_test_data): Likewise.
8680 (exp10_test_data): Likewise.
8681 (exp2_test_data): Likewise.
8682 (expm1_test_data): Likewise.
8683 (hypot_test_data): Likewise.
8684 (j0_test_data): Likewise.
8685 (j1_test_data): Likewise.
8686 (jn_test_data): Likewise.
8687 (lgamma_test_data): Likewise.
8688 (log_test_data): Likewise.
8689 (log10_test_data): Likewise.
8690 (log1p_test_data): Likewise.
8691 (log2_test_data): Likewise.
8692 (pow_test_data): Likewise.
8693 (scalb_test_data): Likewise.
8694 (sin_test_data): Likewise.
8695 (sincos_test_data): Likewise.
8696 (sinh_test_data): Likewise.
8697 (tan_test_data): Likewise.
8698 (tanh_test_data): Likewise.
8699 (tgamma_test_data): Likewise.
8700 (y0_test_data): Likewise.
8701 (y1_test_data): Likewise.
8702 (yn_test_data): Likewise.
8705 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8706 argument being NaN and avoid computations with second argument in
8708 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8709 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8710 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8712 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8714 * locale/iso-639.def: Add Chitwani Tharu (the).
8716 2013-11-14 Andreas Schwab <schwab@suse.de>
8718 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8719 word instead of empty string.
8721 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8724 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8726 (__fe_nomask_env): Likewise.
8728 2013-11-13 Steve Ellcey <sellcey@mips.com>
8730 * benchtests/bench-timing.h: Include time.h.
8732 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8735 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8737 * sysdeps/unix/sysv/linux/configure: Regenerated.
8739 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8742 * stdlib/strtod_l.c (round_and_return): Do not consider
8743 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8744 exponent one less than half the least subnormal exponent.
8745 * stdlib/test-strtod-round-data: Add more tests.
8746 * stdlib/tst-strtod-round.c (tests): Regenerated.
8748 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8751 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8752 (__fe_mask_env): Likewise.
8753 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8754 libm_hidden_proto and add function prototype.
8755 (__fe_mask_env): Add function prototype.
8756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8757 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8759 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8761 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8763 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8765 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8766 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8768 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8770 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8771 of htab_find_slot().
8773 2013-11-11 David S. Miller <davem@davemloft.net>
8776 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8777 symbol in the non-vis3 case in static builds.
8778 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8779 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8780 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8781 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8783 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8786 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8789 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8791 * benchtests/Makefile: Add bench-strtod.
8792 * benchtests/bench-strtod.c: New file: strtod benchtest
8794 2013-11-11 Andreas Schwab <schwab@suse.de>
8797 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8798 terminating NUL in key length.
8800 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8802 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8803 Add artificial ODP entry for vDSO symbol for PPC64.
8804 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8805 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8807 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8810 * nss/getent.c (services_keys): Recognize services starting with digit.
8812 2013-11-06 David S. Miller <davem@davemloft.net>
8815 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8816 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8818 2013-11-06 Will Newton <will.newton@linaro.org>
8820 * manual/memory.texi (Malloc Examples): Remove register
8821 keyword from examples.
8823 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8825 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8827 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8830 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8831 depending on [__GCC_IEC_559 > 0].
8832 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8833 depending on [__GCC_IEC_559_COMPLEX > 0].
8835 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8837 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8840 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8842 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8844 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8847 * malloc/malloc (malloc_info): Do not handle first bin as
8850 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8852 * locale/iso-639.def: Add Central Nahuatl (nhn).
8854 2013-11-01 Bruno Haible <bruno@clisp.org>
8857 * manual/math.texi (BSD Random): Specify range upper bound as
8860 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8862 * locale/iso-639.def: Add Meadow Mari (mhr).
8864 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8866 [BZ #14752], [BZ #15763]
8867 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8869 * rt/tst_shm.c: Add test for escaping directory.
8871 2013-10-31 Andreas Schwab <schwab@suse.de>
8874 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8875 followed by 'x' as part of digit sequence.
8876 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8878 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8881 * configure.ac: allow GNU Make 4.0 and greater.
8882 * configure: Regenerated.
8884 2013-10-30 Will Newton <will.newton@linaro.org>
8887 * malloc/hooks.c (memalign_check): Limit alignment to the
8888 maximum representable power of two.
8889 * malloc/malloc.c (__libc_memalign): Likewise.
8890 * malloc/tst-memalign.c (do_test): Add test for very
8891 large alignment values.
8892 * malloc/tst-posix_memalign.c (do_test): Likewise.
8894 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8897 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8898 (munmap_chunk): Likewise.
8899 (mremap_chunk): Likewise.
8901 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8904 * stdlib/div.c (div): Remove obsolete code.
8905 * stdlib/ldiv.c (ldiv): Likewise.
8906 * stdlib/lldiv.c (lldiv): Likewise.
8908 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8911 * nss/nss_files/files-XXX.c (get_contents_ret): New
8913 (get_contents): New function.
8914 (internal_getent): Use it. Expand size of LINEBUFLEN.
8916 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8918 * configure.in: Moved to ...
8919 * configure.ac: ... here. Change reference to configure.in
8921 * sysdeps/arm/preconfigure.ac: ... here.
8922 configure.in to configure.ac.
8923 * sysdeps/gnu/configure.in: Moved to ...
8924 * sysdeps/gnu/configure.ac: ... here.
8925 * sysdeps/i386/configure.in: Moved to ...
8926 * sysdeps/i386/configure.ac: ... here.
8927 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8928 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8929 * sysdeps/mach/configure.in: Moved to ...
8930 * sysdeps/mach/configure.ac: ... here.
8931 * sysdeps/mach/hurd/configure.in: Moved to ...
8932 * sysdeps/mach/hurd/configure.ac: ... here.
8933 * sysdeps/powerpc/configure.in: Moved to ...
8934 * sysdeps/powerpc/configure.ac: ... here.
8935 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8936 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8937 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8938 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8939 * sysdeps/s390/s390-32/configure.in: Moved to ...
8940 * sysdeps/s390/s390-32/configure.ac: ... here.
8941 * sysdeps/s390/s390-64/configure.in: Moved to ...
8942 * sysdeps/s390/s390-64/configure.ac: ... here.
8943 * sysdeps/sh/configure.in: Moved to ...
8944 * sysdeps/sh/configure.ac: ... here.
8945 * sysdeps/sparc/configure.in: Moved to ...
8946 * sysdeps/sparc/configure.ac: ... here.
8947 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8948 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8949 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8950 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8951 * sysdeps/x86_64/configure.in: Moved to ...
8952 * sysdeps/x86_64/configure.ac: ... here.
8953 * sysdeps/x86_64/preconfigure.in: Moved to ...
8954 * sysdeps/x86_64/preconfigure.ac: ... here.
8955 * aclocal.m4: Change reference to configure.in to configure.ac.
8956 * config.h.in: Likewise.
8957 * manual/install.texi: Likewise.
8958 * manual/maint.texi: Likewise.
8959 * Makefile: Likewise.
8960 * malloc/Makefile: Likewise.
8961 * nscd/Makefile: Likewise.
8962 * Makeconfig: Change reference to configure.in and
8963 preconfigure.in to configure.ac and preconfigure.ac
8965 * INSTALL: Regenerated.
8966 * configure: Likewise.
8967 * sysdeps/gnu/configure: Likewise.
8968 * sysdeps/i386/configure: Likewise.
8969 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8970 * sysdeps/mach/configure: Likewise.
8971 * sysdeps/mach/hurd/configure: Likewise.
8972 * sysdeps/powerpc/configure: Likewise.
8973 * sysdeps/powerpc/powerpc32/configure: Likewise.
8974 * sysdeps/powerpc/powerpc64/configure: Likewise.
8975 * sysdeps/s390/s390-32/configure: Likewise.
8976 * sysdeps/s390/s390-64/configure: Likewise.
8977 * sysdeps/sh/configure: Likewise.
8978 * sysdeps/sparc/configure: Likewise.
8979 * sysdeps/unix/sysv/linux/configure: Likewise.
8980 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8981 * sysdeps/x86_64/configure: Likewise.
8982 * sysdeps/x86_64/preconfigure: Likewise.
8984 2013-10-29 Andreas Schwab <schwab@suse.de>
8986 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8988 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8990 * benchtests/pow-inputs: Add new inputs.
8992 * benchtests/exp-inputs: Add new inputs.
8994 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8995 conditional check for return value.
8996 (__cos32): Likewise.
8998 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9000 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9001 to provide a boost for large inputs with word alignment.
9002 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9003 implementation based on optimized PPC64 strcpy.
9004 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9005 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9006 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9007 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9009 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9012 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9014 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9017 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9018 * time/tst-strptime.c (day_tests): Add testcase.
9020 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9023 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9025 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9028 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9029 MAP_FAILED on error.
9031 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9034 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9035 heap for large requests.
9037 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9040 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9041 result if the result has no associated interface.
9042 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9043 interface for all 127.X.Y.Z addresses.
9045 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9047 * locale/iso-639.def: Add Ligurian (lij)
9049 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9052 * sunrpc/rpc_main.c: Document rpcgen -5.
9054 2013-10-19 Michael Stahl <mstahl@redhat.com>
9056 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9058 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9061 * posix/glob.c: Match only directories when trailing slash is present.
9062 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9063 (main): Add testcase.
9065 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9068 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9070 2013-10-18 Carlos O'Donell <carlos@redhat.com>
9072 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9073 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9074 AUTH_DES and cindex for FIPS 140-2.
9075 (DES Encryption): Add cindex FIPS 46-3.
9077 * locale/locarchive.h (struct locarhandle): Add fname.
9078 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9079 if an optional argument was specified to --list-archive,
9081 * locale/programs/locarchive.c (show_archive_content): Take new
9082 argument fname and pass it via ah.fname to open_archive.
9083 * locale/programs/localedef.h: Update decl.
9084 (open_archive): If AH->fname is non-null, open that file
9085 rather than the default file name, and don't ignore ENOENT.
9086 (create_archive): Set AH.fname to NULL.
9087 (delete_locales_from_archive): Likewise.
9088 (add_locales_to_archive): Likewise.
9089 * locale/programs/locfile.c (write_all_categories): Likewise.
9091 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9092 Aldy Hernandez <aldyh@redhat.com>
9094 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9095 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9096 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9097 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9098 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9099 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9100 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9101 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9102 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9103 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9104 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9105 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9106 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9107 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9108 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9110 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9112 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9114 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9116 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9117 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9119 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9120 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9121 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9122 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9124 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9125 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9126 * sysdeps/powerpc/preconfigure: Likewise.
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9129 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9130 Replace contents of file by #include of <fenv_libc.h>.
9131 * sysdeps/powerpc/soft-fp/sfp-machine.h
9132 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9134 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9135 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9136 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9137 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9138 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9139 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9141 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9142 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9143 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9144 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9145 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9147 Allow copysignl PLT reference to be missing.
9149 2013-10-18 Richard Sandiford <richard@codesourcery.com>
9150 Joseph Myers <joseph@codesourcery.com
9153 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9155 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9157 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9159 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9160 * elf/tst-tls1.c: Likewise.
9161 * elf/tst-tls10.h: Likewise.
9162 * elf/tst-tls14.c: Likewise.
9163 * elf/tst-tls2.c: Likewise.
9164 * elf/tst-tls3.c: Likewise.
9165 * elf/tst-tls4.c: Likewise.
9166 * elf/tst-tls5.c: Likewise.
9167 * elf/tst-tls6.c: Likewise.
9168 * elf/tst-tls7.c: Likewise.
9169 * elf/tst-tls8.c: Likewise.
9170 * elf/tst-tls9.c: Likewise.
9171 * elf/tst-tlsmod1.c: Likewise.
9172 * elf/tst-tlsmod13.c: Likewise.
9173 * elf/tst-tlsmod13a.c: Likewise.
9174 * elf/tst-tlsmod14a.c: Likewise.
9175 * elf/tst-tlsmod16a.c: Likewise.
9176 * elf/tst-tlsmod16b.c: Likewise.
9177 * elf/tst-tlsmod2.c: Likewise.
9178 * elf/tst-tlsmod3.c: Likewise.
9179 * elf/tst-tlsmod4.c: Likewise.
9180 * elf/tst-tlsmod5.c: Likewise.
9181 * elf/tst-tlsmod6.c: Likewise.
9183 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9186 * malloc/malloc.c: remove checks for statistics.
9188 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9191 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9192 * inet/tst-network.c: Add testcase.
9194 2013-10-17 Andreas Schwab <schwab@suse.de>
9197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9198 to determine canonical name.
9200 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9202 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9203 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9204 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9205 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9206 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9207 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9208 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9209 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9210 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9211 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9212 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9213 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9214 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9215 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9216 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9217 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9219 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9220 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9221 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9222 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9225 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9226 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9227 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9228 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9229 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9230 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9231 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9232 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9233 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9234 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9235 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9236 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9237 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9238 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9239 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9240 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9241 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9242 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9243 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9244 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9245 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9246 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9247 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9248 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9249 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9250 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9251 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9252 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9253 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9254 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9255 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9256 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9258 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9261 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9264 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9265 make result into a quiet NaN.
9267 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9269 * soft-fp/adddf3.c: Fix horizontal whitespace.
9270 * soft-fp/addsf3.c: Likewise.
9271 * soft-fp/addtf3.c: Likewise.
9272 * soft-fp/divdf3.c: Likewise.
9273 * soft-fp/divsf3.c: Likewise.
9274 * soft-fp/divtf3.c: Likewise.
9275 * soft-fp/double.h: Likewise.
9276 * soft-fp/eqdf2.c: Likewise.
9277 * soft-fp/eqsf2.c: Likewise.
9278 * soft-fp/eqtf2.c: Likewise.
9279 * soft-fp/extenddftf2.c: Likewise.
9280 * soft-fp/extended.h: Likewise.
9281 * soft-fp/extendsfdf2.c: Likewise.
9282 * soft-fp/extendsftf2.c: Likewise.
9283 * soft-fp/extendxftf2.c: Likewise.
9284 * soft-fp/fixdfdi.c: Likewise.
9285 * soft-fp/fixdfsi.c: Likewise.
9286 * soft-fp/fixdfti.c: Likewise.
9287 * soft-fp/fixsfdi.c: Likewise.
9288 * soft-fp/fixsfsi.c: Likewise.
9289 * soft-fp/fixsfti.c: Likewise.
9290 * soft-fp/fixtfdi.c: Likewise.
9291 * soft-fp/fixtfsi.c: Likewise.
9292 * soft-fp/fixtfti.c: Likewise.
9293 * soft-fp/fixunsdfdi.c: Likewise.
9294 * soft-fp/fixunsdfsi.c: Likewise.
9295 * soft-fp/fixunsdfti.c: Likewise.
9296 * soft-fp/fixunssfdi.c: Likewise.
9297 * soft-fp/fixunssfsi.c: Likewise.
9298 * soft-fp/fixunssfti.c: Likewise.
9299 * soft-fp/fixunstfdi.c: Likewise.
9300 * soft-fp/fixunstfsi.c: Likewise.
9301 * soft-fp/fixunstfti.c: Likewise.
9302 * soft-fp/floatdidf.c: Likewise.
9303 * soft-fp/floatdisf.c: Likewise.
9304 * soft-fp/floatditf.c: Likewise.
9305 * soft-fp/floatsidf.c: Likewise.
9306 * soft-fp/floatsisf.c: Likewise.
9307 * soft-fp/floatsitf.c: Likewise.
9308 * soft-fp/floattidf.c: Likewise.
9309 * soft-fp/floattisf.c: Likewise.
9310 * soft-fp/floattitf.c: Likewise.
9311 * soft-fp/floatundidf.c: Likewise.
9312 * soft-fp/floatundisf.c: Likewise.
9313 * soft-fp/floatunditf.c: Likewise.
9314 * soft-fp/floatunsidf.c: Likewise.
9315 * soft-fp/floatunsisf.c: Likewise.
9316 * soft-fp/floatunsitf.c: Likewise.
9317 * soft-fp/floatuntidf.c: Likewise.
9318 * soft-fp/floatuntisf.c: Likewise.
9319 * soft-fp/floatuntitf.c: Likewise.
9320 * soft-fp/fmadf4.c: Likewise.
9321 * soft-fp/fmasf4.c: Likewise.
9322 * soft-fp/fmatf4.c: Likewise.
9323 * soft-fp/gedf2.c: Likewise.
9324 * soft-fp/gesf2.c: Likewise.
9325 * soft-fp/getf2.c: Likewise.
9326 * soft-fp/ledf2.c: Likewise.
9327 * soft-fp/lesf2.c: Likewise.
9328 * soft-fp/letf2.c: Likewise.
9329 * soft-fp/muldf3.c: Likewise.
9330 * soft-fp/mulsf3.c: Likewise.
9331 * soft-fp/multf3.c: Likewise.
9332 * soft-fp/negdf2.c: Likewise.
9333 * soft-fp/negsf2.c: Likewise.
9334 * soft-fp/negtf2.c: Likewise.
9335 * soft-fp/op-1.h: Likewise.
9336 * soft-fp/op-2.h: Likewise.
9337 * soft-fp/op-4.h: Likewise.
9338 * soft-fp/op-8.h: Likewise.
9339 * soft-fp/op-common.h: Likewise.
9340 * soft-fp/quad.h: Likewise.
9341 * soft-fp/single.h: Likewise.
9342 * soft-fp/soft-fp.h: Likewise.
9343 * soft-fp/sqrtdf2.c: Likewise.
9344 * soft-fp/sqrtsf2.c: Likewise.
9345 * soft-fp/sqrttf2.c: Likewise.
9346 * soft-fp/subdf3.c: Likewise.
9347 * soft-fp/subsf3.c: Likewise.
9348 * soft-fp/subtf3.c: Likewise.
9349 * soft-fp/truncdfsf2.c: Likewise.
9350 * soft-fp/trunctfdf2.c: Likewise.
9351 * soft-fp/trunctfsf2.c: Likewise.
9352 * soft-fp/trunctfxf2.c: Likewise.
9353 * soft-fp/unorddf2.c: Likewise.
9354 * soft-fp/unordsf2.c: Likewise.
9355 * soft-fp/unordtf2.c: Likewise.
9357 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9359 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9360 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9362 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9364 * elf/dl-libc.c: Clear initfini list after freeing.
9366 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9368 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9369 * soft-fp/addsf3.c: Likewise.
9370 * soft-fp/addtf3.c: Likewise.
9371 * soft-fp/divdf3.c: Likewise.
9372 * soft-fp/divsf3.c: Likewise.
9373 * soft-fp/divtf3.c: Likewise.
9374 * soft-fp/double.h: Likewise.
9375 * soft-fp/eqdf2.c: Likewise.
9376 * soft-fp/eqsf2.c: Likewise.
9377 * soft-fp/eqtf2.c: Likewise.
9378 * soft-fp/extenddftf2.c: Likewise.
9379 * soft-fp/extended.h: Likewise.
9380 * soft-fp/extendsfdf2.c: Likewise.
9381 * soft-fp/extendsftf2.c: Likewise.
9382 * soft-fp/extendxftf2.c: Likewise.
9383 * soft-fp/fixdfdi.c: Likewise.
9384 * soft-fp/fixdfsi.c: Likewise.
9385 * soft-fp/fixdfti.c: Likewise.
9386 * soft-fp/fixsfdi.c: Likewise.
9387 * soft-fp/fixsfsi.c: Likewise.
9388 * soft-fp/fixsfti.c: Likewise.
9389 * soft-fp/fixtfdi.c: Likewise.
9390 * soft-fp/fixtfsi.c: Likewise.
9391 * soft-fp/fixtfti.c: Likewise.
9392 * soft-fp/fixunsdfdi.c: Likewise.
9393 * soft-fp/fixunsdfsi.c: Likewise.
9394 * soft-fp/fixunsdfti.c: Likewise.
9395 * soft-fp/fixunssfdi.c: Likewise.
9396 * soft-fp/fixunssfsi.c: Likewise.
9397 * soft-fp/fixunssfti.c: Likewise.
9398 * soft-fp/fixunstfdi.c: Likewise.
9399 * soft-fp/fixunstfsi.c: Likewise.
9400 * soft-fp/fixunstfti.c: Likewise.
9401 * soft-fp/floatdidf.c: Likewise.
9402 * soft-fp/floatdisf.c: Likewise.
9403 * soft-fp/floatditf.c: Likewise.
9404 * soft-fp/floatsidf.c: Likewise.
9405 * soft-fp/floatsisf.c: Likewise.
9406 * soft-fp/floatsitf.c: Likewise.
9407 * soft-fp/floattidf.c: Likewise.
9408 * soft-fp/floattisf.c: Likewise.
9409 * soft-fp/floattitf.c: Likewise.
9410 * soft-fp/floatundidf.c: Likewise.
9411 * soft-fp/floatundisf.c: Likewise.
9412 * soft-fp/floatunsidf.c: Likewise.
9413 * soft-fp/floatunsisf.c: Likewise.
9414 * soft-fp/floatuntidf.c: Likewise.
9415 * soft-fp/floatuntisf.c: Likewise.
9416 * soft-fp/floatuntitf.c: Likewise.
9417 * soft-fp/fmadf4.c: Likewise.
9418 * soft-fp/fmasf4.c: Likewise.
9419 * soft-fp/fmatf4.c: Likewise.
9420 * soft-fp/gedf2.c: Likewise.
9421 * soft-fp/gesf2.c: Likewise.
9422 * soft-fp/getf2.c: Likewise.
9423 * soft-fp/ledf2.c: Likewise.
9424 * soft-fp/lesf2.c: Likewise.
9425 * soft-fp/letf2.c: Likewise.
9426 * soft-fp/muldf3.c: Likewise.
9427 * soft-fp/mulsf3.c: Likewise.
9428 * soft-fp/multf3.c: Likewise.
9429 * soft-fp/negdf2.c: Likewise.
9430 * soft-fp/negsf2.c: Likewise.
9431 * soft-fp/negtf2.c: Likewise.
9432 * soft-fp/op-1.h: Likewise.
9433 * soft-fp/op-2.h: Likewise.
9434 * soft-fp/op-4.h: Likewise.
9435 * soft-fp/op-8.h: Likewise.
9436 * soft-fp/op-common.h: Likewise.
9437 * soft-fp/quad.h: Likewise.
9438 * soft-fp/single.h: Likewise.
9439 * soft-fp/soft-fp.h: Likewise.
9440 * soft-fp/sqrtdf2.c: Likewise.
9441 * soft-fp/sqrtsf2.c: Likewise.
9442 * soft-fp/sqrttf2.c: Likewise.
9443 * soft-fp/subdf3.c: Likewise.
9444 * soft-fp/subsf3.c: Likewise.
9445 * soft-fp/subtf3.c: Likewise.
9446 * soft-fp/truncdfsf2.c: Likewise.
9447 * soft-fp/trunctfdf2.c: Likewise.
9448 * soft-fp/trunctfsf2.c: Likewise.
9449 * soft-fp/trunctfxf2.c: Likewise.
9450 * soft-fp/unorddf2.c: Likewise.
9451 * soft-fp/unordsf2.c: Likewise.
9452 * soft-fp/unordtf2.c: Likewise.
9454 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9457 * misc/error.c (error_tail): Fix possible buffer overflow.
9459 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9462 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9465 2013-10-14 P. J. McDermott <pj@pehjota.net>
9468 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9469 testing pipefail option.
9471 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9473 * soft-fp/double.h: Indent preprocessor directives inside #if.
9474 * soft-fp/extended.h: Likewise.
9475 * soft-fp/op-2.h: Likewise.
9476 * soft-fp/op-4.h: Likewise.
9477 * soft-fp/op-common.h: Likewise.
9478 * soft-fp/quad.h: Likewise.
9479 * soft-fp/single.h: Likewise.
9480 * soft-fp/soft-fp.h: Likewise.
9482 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9484 * iconv/iconv_prog.c: Fix typos.
9485 * stdio-common/psiginfo-data.h: Likewise.
9487 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9490 * locale/setlocale.c: Fix typo.
9492 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9495 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9496 signaling NaN arguments.
9497 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9498 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9501 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9503 * soft-fp/gesf2.c (__gesf2): Likewise.
9504 * soft-fp/getf2.c (__getf2): Likewise.
9505 * soft-fp/ledf2.c (__ledf2): Likewise.
9506 * soft-fp/lesf2.c (__lesf2): Likewise.
9507 * soft-fp/letf2.c (__letf2): Likewise.
9509 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9510 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9511 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9512 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9513 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9514 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9515 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9516 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9517 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9518 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9519 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9520 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9521 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9522 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9523 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9524 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9525 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9526 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9527 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9528 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9529 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9530 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9531 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9532 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9533 * soft-fp/floattidf.c (__floattidf): Likewise.
9534 * soft-fp/floattisf.c (__floattisf): Likewise.
9535 * soft-fp/floattitf.c (__floattitf): Likewise.
9536 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9537 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9538 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9539 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9540 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9541 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9542 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9543 * soft-fp/gesf2.c (__gesf2): Likewise.
9544 * soft-fp/getf2.c (__getf2): Likewise.
9545 * soft-fp/ledf2.c (__ledf2): Likewise.
9546 * soft-fp/lesf2.c (__lesf2): Likewise.
9547 * soft-fp/letf2.c (__letf2): Likewise.
9549 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9550 Undefine and redefine.
9551 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9552 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9553 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9554 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9555 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9556 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9557 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9558 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9559 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9560 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9561 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9562 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9563 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9564 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9565 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9568 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9569 without decrementing exponent if mantissa >= that for the
9571 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9572 denominator, not >. Decrement exponent in < case instead of
9573 incrementing in >= case.
9574 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9575 without decrementing exponent if mantissa >= that for the
9578 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9579 computing saturated result for unsigned overflow.
9581 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9582 Jeff Law <law@redhat.com>
9584 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9585 (atan2Mp): Add systemtap probe marker.
9586 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9587 (__ieee754_log): Add systemtap probe marker.
9588 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9589 (atanMp): Add systemtap probe marker.
9590 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9591 (tanMp): Add systemtap probe marker.
9592 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9593 (__slowexp): Add systemtap probe marker.
9594 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9595 (__slowpow): Add systemtap probe marker.
9596 * manual/probes.texi: Document probes.
9598 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9601 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9603 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9605 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9606 written to buffer but not flushed.
9607 * libio/iofwrite_u.c: Likewise.
9608 * libio/iopadn.c: Return bytes returned even if EOF was
9610 * libio/iowpadn.c: Likewise.
9611 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9612 if _IO_padn does not write the whole buffer.
9613 [!COMPILE_WPRINTF] (PAD): Likewise.
9615 2013-10-10 David S. Miller <davem@davemloft.net>
9617 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9620 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9622 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9623 instead of FSF address.
9624 * soft-fp/fixdfti.c: Likewise.
9625 * soft-fp/fixsfti.c: Likewise.
9626 * soft-fp/fixtfti.c: Likewise.
9627 * soft-fp/fixunsdfti.c: Likewise.
9628 * soft-fp/fixunssfti.c: Likewise.
9629 * soft-fp/fixunstfti.c: Likewise.
9630 * soft-fp/floattidf.c: Likewise.
9631 * soft-fp/floattisf.c: Likewise.
9632 * soft-fp/floattitf.c: Likewise.
9633 * soft-fp/floatuntidf.c: Likewise.
9634 * soft-fp/floatuntisf.c: Likewise.
9635 * soft-fp/floatuntitf.c: Likewise.
9636 * soft-fp/trunctfxf2.c: Likewise.
9638 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9639 * soft-fp/fixdfti.c: Likewise.
9640 * soft-fp/fixsfti.c: Likewise.
9641 * soft-fp/fixtfti.c: Likewise.
9642 * soft-fp/fixunsdfti.c: Likewise.
9643 * soft-fp/fixunssfti.c: Likewise.
9644 * soft-fp/fixunstfti.c: Likewise.
9645 * soft-fp/floattidf.c: Likewise.
9646 * soft-fp/floattisf.c: Likewise.
9647 * soft-fp/floattitf.c: Likewise.
9648 * soft-fp/floatuntidf.c: Likewise.
9649 * soft-fp/floatuntisf.c: Likewise.
9650 * soft-fp/floatuntitf.c: Likewise.
9651 * soft-fp/trunctfxf2.c: Likewise.
9653 2013-10-10 David S. Miller <davem@davemloft.net>
9655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9657 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9659 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9660 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9661 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9662 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9663 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9664 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9665 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9667 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9668 for NaNs before doing comparisons on argument.
9669 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9672 2013-10-10 Will Newton <will.newton@linaro.org>
9674 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9675 passed to _int_memalign does not overflow.
9677 2013-10-10 Torvald Riegel <triegel@redhat.com>
9679 * scripts/bench.pl: Add include-sources directive.
9680 * benchtests/README: Update documentation.
9682 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9684 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9685 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9686 instead of FP_INIT_ROUNDMODE.
9687 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9688 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9691 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9692 copy class of input value.
9693 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9694 not handle exceptions.
9695 * soft-fp/negsf2.c (__negsf2): Likewise.
9696 * soft-fp/negtf2.c (__negtf2): Likewise.
9697 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9699 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9701 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9702 semicolon. From Linux kernel.
9704 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9706 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9708 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9711 * manual/socket.texi: Added statement about buffer
9712 for gethostbyname2_r.
9714 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9716 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9717 Use .p2align directive instead, throughout.
9718 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9719 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9720 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9721 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9722 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9723 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9724 * sysdeps/x86_64/strchr.S: Likewise.
9725 * sysdeps/x86_64/strrchr.S: Likewise.
9727 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9729 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9731 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9733 * sysdeps/generic/math_private.h (__mpsin1): Remove
9735 (__mpcos1): Likewise.
9736 (__mpsin): New argument __range_reduce.
9737 (__mpcos): Likewise.
9738 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9739 (slow): Use __mpsin and __mpcos.
9746 (bsloww1): Likewise.
9747 (bsloww2): Likewise.
9750 (csloww1): Likewise.
9751 (csloww2): Likewise.
9752 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9753 range_reduce. Merge in __mpsin1.
9754 (__mpcos): Likewise.
9756 (__mpcos1): Likewise.
9758 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9760 * locale/loadlocale.c (_nl_intern_locale_data): Use
9762 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9763 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9764 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9765 obstack data is appropriately aligned.
9766 (obstack_int32_grow_fast): Likewise.
9767 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9768 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9769 (add_locale_uint32_array): Likewise.
9771 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9773 * benchtests/Makefile: Remove ARGLIST and RET variables.
9774 ($(objpfx)bench-%.c): Pass only function name to the script.
9775 * benchtests/README: Update documentation.
9776 * benchtests/acos-inputs: Add new directives.
9777 * benchtests/acosh-inputs: Likewise.
9778 * benchtests/asin-inputs: Likewise.
9779 * benchtests/asinh-inputs: Likewise.
9780 * benchtests/atan-inputs: Likewise.
9781 * benchtests/atanh-inputs: Likewise.
9782 * benchtests/cos-inputs: Likewise.
9783 * benchtests/cosh-inputs: Likewise.
9784 * benchtests/exp-inputs: Likewise.
9785 * benchtests/log-inputs: Likewise.
9786 * benchtests/pow-inputs: Likewise.
9787 * benchtests/rint-inputs: Likewise.
9788 * benchtests/sin-inputs: Likewise.
9789 * benchtests/sinh-inputs: Likewise.
9790 * benchtests/tan-inputs: Likewise.
9791 * benchtests/tanh-inputs: Likewise.
9792 * scripts/bench.pl: Add support for new directives.
9794 2013-10-07 Alan Modra <amodra@gmail.com>
9796 * README: Fix careless merge.
9798 2013-10-05 Alan Modra <amodra@gmail.com>
9800 * NEWS: Mention powerpc64le support and bugs fixed.
9801 * README: Both big-endian and little-endian powerpc64 supported.
9803 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9805 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9806 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9807 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9808 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9810 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9812 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9815 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9817 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9818 Move -mhard-float appending from
9819 ports/sysdeps/powerpc/powerpc32/Makefile.
9820 [$(with-fp) = yes] (ASFLAGS): Likewise.
9821 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9822 * sysdeps/powerpc/nofpu: Move directory from
9823 ports/sysdeps/powerpc/nofpu.
9824 * sysdeps/powerpc/soft-fp: Move directory from
9825 ports/sysdeps/powerpc/soft-fp.
9826 * sysdeps/powerpc/powerpc32/405: Move directory from
9827 ports/sysdeps/powerpc/powerpc32/405.
9828 * sysdeps/powerpc/powerpc32/440: Move directory from
9829 ports/sysdeps/powerpc/powerpc32/440.
9830 * sysdeps/powerpc/powerpc32/464: Move directory from
9831 ports/sysdeps/powerpc/powerpc32/464.
9832 * sysdeps/powerpc/powerpc32/476: Move directory from
9833 ports/sysdeps/powerpc/powerpc32/476.
9834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9835 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9837 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9839 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9841 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9843 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9844 * README: Update for powerpc-*-linux-gnu software floating point
9847 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9848 case to powerpc/powerpc32*.
9849 * sysdeps/unix/sysv/linux/configure: Regenerated.
9851 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9852 (_FPU_MASK_OM): Define as 0x04.
9853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9861 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9864 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9867 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9868 and setcontext_e500.
9870 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9872 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9874 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9876 * manual/threads.texi (Default Thread Attributes): Fix typo.
9878 2013-10-04 Will Newton <will.newton@linaro.org>
9880 * malloc/Makefile: Add tst-memalign.
9881 * malloc/tst-memalign.c: New file.
9883 * malloc/tst-posix_memalign.c: Add comments.
9884 (do_test): Add comments and call free on all potentially
9885 allocated pointers. Add space after cast.
9887 * malloc/tst-pvalloc.c: Add comments.
9888 (do_test): Add comments and call free on all potentially
9889 allocated pointers. Remove duplicate check for NULL pointer.
9890 Add space after cast.
9892 * malloc/tst-valloc.c: Add comments.
9893 (do_test): Add comments and call free on all potentially
9894 allocated pointers. Remove duplicate check for NULL pointer.
9895 Add space after cast.
9897 2013-10-04 Alan Modra <amodra@gmail.com>
9899 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9900 Use stdint types in rather than __attribute__((mode())).
9901 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9903 2013-10-04 Alan Modra <amodra@gmail.com>
9905 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9906 Correct handling of unaligned relocs for little-endian.
9907 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9909 2013-10-04 Alan Modra <amodra@gmail.com>
9911 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9912 * configure: Regenerate.
9913 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9914 * shlib-versions: Likewise.
9916 2013-10-04 Alan Modra <amodra@gmail.com>
9918 * string/tester.c (test_memrchr): Increment reported test cycle.
9920 2013-10-04 Alan Modra <amodra@gmail.com>
9922 * string/test-memcpy.c (do_one_test): When reporting errors, print
9923 string address and don't overrun end of string.
9925 2013-10-04 Alan Modra <amodra@gmail.com>
9927 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9928 insrdi. Make better use of reg selection to speed exit slightly.
9929 Schedule entry path a little better. Remove useless "are we done"
9930 checks on entry to main loop. Handle wrapping around zero address.
9931 Correct main loop count. Handle single left-over word from main
9932 loop inline rather than by using loop_small. Remove extra word
9933 case in loop_small caused by wrong loop count. Add little-endian
9935 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9936 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9938 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9939 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9940 support. Avoid rlwimi.
9941 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9943 2013-10-04 Alan Modra <amodra@gmail.com>
9945 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9947 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9948 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9949 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9950 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9951 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9952 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9954 2013-10-04 Alan Modra <amodra@gmail.com>
9956 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9957 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9958 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9959 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9960 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9961 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9962 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9963 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9964 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9965 use of regs. Use power7 mtocrf. Tidy function tails.
9967 2013-10-04 Alan Modra <amodra@gmail.com>
9969 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9970 Formatting. Consistently use rXXX register defines or rN defines.
9971 Use early exit labels that avoid restoring unused non-volatile regs.
9972 Make cr field use more consistent with rWORDn compares. Rename
9973 regs used as shift registers for unaligned loop, using rN defines
9974 for short lifetime/multiple use regs.
9975 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9976 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9977 addi 1,1,64 to pop stack frame. Simplify return value code.
9978 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9980 2013-10-04 Alan Modra <amodra@gmail.com>
9982 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9983 support. Correct typos, formatting. Optimize tail. Use insrdi
9985 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9986 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9987 little-endian support. Correct typos.
9988 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9990 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9991 in loop and entry code to keep "and." results.
9992 (strchr): Add little-endian support. Comment. Move cntlzd
9994 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9996 2013-10-04 Alan Modra <amodra@gmail.com>
9998 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9999 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10000 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10001 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10003 2013-10-04 Alan Modra <amodra@gmail.com>
10005 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10006 (rTMP): Define as r11.
10007 (strcmp): Add little-endian support. Optimise tail.
10008 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10009 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10010 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10011 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10012 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10013 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10014 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10016 2013-10-04 Alan Modra <amodra@gmail.com>
10018 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10019 little-endian support. Remove unnecessary "are we done" tests.
10020 Handle "s" wrapping around zero and extremely large "size".
10021 Correct main loop count. Handle single left-over word from main
10022 loop inline rather than by using small_loop. Correct comments.
10023 Delete "zero" tail, use "end_max" instead.
10024 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10026 2013-10-04 Alan Modra <amodra@gmail.com>
10028 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10029 support. Don't branch over align.
10030 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10031 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10032 support. Rearrange tmp reg use to suit. Comment.
10033 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10035 2013-10-04 Alan Modra <amodra@gmail.com>
10037 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10039 2013-10-04 Alan Modra <amodra@gmail.com>
10041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10042 conditional form of branch and link when obtaining pc.
10043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10045 2013-10-04 Alan Modra <amodra@gmail.com>
10047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10052 2013-10-04 Alan Modra <amodra@gmail.com>
10054 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10055 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10056 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10057 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10058 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10059 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10060 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10061 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10062 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10063 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10065 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10066 Alistair Popple <alistair@ozlabs.au.ibm.com>
10067 Alan Modra <amodra@gmail.com>
10070 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10071 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10072 _dl_hwcap access for little-endian.
10073 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10074 destroy vmx regs when saving unaligned.
10075 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10076 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10077 destroy vmx regs when saving unaligned.
10079 2013-10-04 Alan Modra <amodra@gmail.com>
10081 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10082 Don't use a union to pack hi/low value.
10084 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10086 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10088 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10089 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10090 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10091 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10092 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10094 2013-10-04 Alan Modra <amodra@gmail.com>
10096 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10097 constants to usual value for .cst8 section, and remove redundant
10099 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10100 constant for 0x1p52. Load little-endian words of double from
10101 correct stack offsets.
10103 2013-10-04 Alan Modra <amodra@gmail.com>
10105 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10106 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10107 words of double from correct stack offsets.
10108 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10109 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10110 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10111 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10112 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10113 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10114 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10115 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10116 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10117 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10118 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10119 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10120 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10121 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10122 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10123 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10124 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10126 2013-10-04 Alan Modra <amodra@gmail.com>
10128 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10129 64-bit int/double union.
10130 (_FPU_SETCW): Likewise.
10131 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10132 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10134 2013-10-04 Alan Modra <amodra@gmail.com>
10136 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10137 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10139 2013-10-04 Alan Modra <amodra@gmail.com>
10141 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10142 use vector int constants.
10143 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10145 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10147 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10148 array with long long.
10149 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10150 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10151 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10152 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10153 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10154 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10155 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10156 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10157 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10158 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10159 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10160 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10161 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10163 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10165 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10166 (__signbit): Likewise. Correct for little-endian.
10167 (__signbitl): Call __signbit.
10168 (lrint): Correct for little-endian.
10169 (lrintf): Call lrint.
10171 2013-10-04 Alan Modra <amodra@gmail.com>
10173 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10174 union 32-bit int array member with 64-bit int array.
10175 (t515, tm256): Double rather than long double.
10176 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10178 2013-10-04 Alan Modra <amodra@gmail.com>
10180 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10182 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10183 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10184 version of math_ldbl.h.
10186 2013-10-04 Alan Modra <amodra@gmail.com>
10188 [BZ #15734], [BZ #15735]
10189 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10190 all uses of ieee875 long double macros and unions. Simplify test
10191 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10192 ldbl_extract_mantissa value for ix,iy exponents. Properly
10193 normalize after ldbl_extract_mantissa, and don't add hidden bit
10194 already handled. Don't treat low word of ieee854 mantissa like
10195 low word of IBM long double and mask off bit when testing for
10197 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10198 all uses of ieee875 long double macros and unions. Simplify tests
10199 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10200 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10201 two1022, instead use their values. Recognise that tests for large
10202 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10203 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10204 Rewrite all uses of ieee875 long double macros and unions. Simplify
10205 test for 0.0L and nan. Correct negation.
10206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10207 ieee875 long double macros and unions. Correct output for large
10208 magnitude x. Correct absolute value calculation.
10209 (__erfcl): Likewise.
10210 * math/libm-test.inc: Add tests for errors discovered in IBM long
10211 double versions of fmodl, remainderl, erfl and erfcl.
10213 2013-10-04 Alan Modra <amodra@gmail.com>
10215 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10216 all uses of ieee854 long double macros and unions. Simplify tests
10217 for long doubles that are fully specified by the high double.
10218 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10220 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10221 Remove dead code too.
10222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10223 (__ieee754_ynl): Likewise.
10224 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10225 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10226 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10227 Remove dead code too.
10228 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10230 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10231 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10233 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10235 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10236 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10237 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10238 Comment on variable precision.
10239 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10240 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10242 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10243 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10245 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10246 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10248 2013-10-04 Alan Modra <amodra@gmail.com>
10250 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10251 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10252 all uses of ieee854 long double macros and unions.
10253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10260 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10263 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10264 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10266 Simplify sign and nan test too.
10267 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10268 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10272 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10273 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10275 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10276 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10277 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10278 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10279 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10282 2013-10-04 Alan Modra <amodra@gmail.com>
10284 * stdio-common/printf_size.c (__printf_size): Don't use
10285 union ieee854_long_double in fpnum union.
10286 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10287 signbit macro to retrieve sign from long double.
10288 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10289 retrieve sign from long double.
10290 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10291 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10292 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10293 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10294 * math/test-misc.c (main): Don't use union ieee854_long_double.
10296 2013-10-04 Alan Modra <amodra@gmail.com>
10299 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10300 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10301 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10302 calculation. Remove unnecessary test for denormal exponent.
10303 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10304 Correct handling of denormals. Avoid undefined shift behaviour.
10305 Correct normalisation of low mantissa when low double is denormal.
10306 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10307 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10308 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10309 Correct normalisation of low mantissa. Test for overflow of high
10310 mantissa and normalise.
10311 (ldbl_nearbyint): Use more readable constant for two52.
10312 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10313 (__mpn_construct_long_double): Fix test for overflow of high
10314 mantissa and correct normalisation. Avoid undefined shift.
10316 2013-10-04 Alan Modra <amodra@gmail.com>
10318 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10319 (union ibm_extended_long_double): Define as an array of ieee754_double.
10320 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10321 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10322 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10323 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10327 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10332 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10334 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10335 page size instead of calling getpagesize.
10337 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10338 (LOCFILE_ALIGN_MASK): Likewise.
10339 (LOCFILE_ALIGN_UP): Likewise.
10340 (LOCFILE_ALIGNED_P): Likewise.
10341 * locale/programs/ld-collate.c (collate_output): Use the new
10342 macros instead of __alignof__ (int32_t).
10343 * locale/weight.h (findidx): Likewise.
10345 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10348 * manual/string.texi: Fix strncat and wcsncat.
10350 2013-10-03 Brooks Moses <bmoses@google.com>
10353 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10354 * Makerules: ...here, and adjust associated comments.
10356 2013-10-02 Will Newton <will.newton@linaro.org>
10358 * malloc/Makefile: Add tst-pvalloc.
10359 * malloc/tst-pvalloc.c: New file.
10361 2013-10-02 Will Newton <will.newton@linaro.org>
10363 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10364 improve test coverage.
10366 2013-10-02 Will Newton <will.newton@linaro.org>
10368 * malloc/Makefile: Add tst-posix_memalign.
10369 * malloc/tst-posix_memalign.c: New file.
10371 2013-10-01 Eric Blake <eblake@redhat.com>
10373 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10374 Use __THROWNL rather than __THROW on static functions.
10376 2013-09-30 Petr Machata <pmachata@redhat.com>
10378 * elf/elf.h (R_AARCH64_ABS16): New macro.
10379 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10380 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10381 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10382 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10383 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10384 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10385 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10386 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10387 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10388 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10389 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10390 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10391 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10392 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10393 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10394 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10395 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10396 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10397 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10398 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10399 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10400 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10401 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10402 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10403 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10404 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10405 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10406 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10407 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10408 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10409 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10410 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10411 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10412 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10413 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10414 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10415 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10416 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10417 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10418 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10419 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10420 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10421 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10422 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10423 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10424 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10425 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10426 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10427 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10428 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10429 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10430 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10431 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10432 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10433 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10434 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10435 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10436 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10437 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10438 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10439 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10440 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10441 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10442 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10443 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10444 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10445 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10446 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10447 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10448 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10449 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10450 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10451 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10452 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10453 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10454 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10455 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10456 (R_AARCH64_TLSDESC_LDR): Likewise.
10457 (R_AARCH64_TLSDESC_ADD): Likewise.
10458 (R_AARCH64_TLSDESC_CALL): Likewise.
10460 2013-09-30 Andreas Schwab <schwab@suse.de>
10463 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10464 the nss database lookup.
10465 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10468 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10470 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10472 2013-09-28 P. J. McDermott <pj@pehjota.net>
10474 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10475 ${Bash-specific parameter/pattern/string} parameter expansion.
10476 * sysdeps/unix/make-syscalls.sh: Likewise.
10478 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10480 * sysdeps/sh/stackguard-macros.h: New file.
10482 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10486 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10487 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10488 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10489 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10491 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10493 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10494 Fix thread ID register.
10496 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10498 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10499 [POSIX || UNIX98]: Require rather than permitting all symbols from
10501 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10502 element of struct sched_param.
10503 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10504 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10505 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10506 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10509 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10511 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10512 argument calculation.
10514 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10516 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10518 [POSIX] (pthread_attr_t): Do not require type.
10519 [POSIX] (pthread_cond_t): Likewise.
10520 [POSIX] (pthread_condattr_t): Likewise.
10521 [POSIX] (pthread_key_t): Likewise.
10522 [POSIX] (pthread_mutex_t): Likewise.
10523 [POSIX] (pthread_mutexattr_t): Likewise.
10524 [POSIX] (pthread_once_t): Likewise.
10525 [POSIX] (pthread_t): Likewise.
10526 [POSIX-based standards] (pthread_atfork): Expect function.
10528 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10529 Richard Sandiford <richard@codesourcery.com>
10531 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10532 (swap_endianness_p): New extern variable.
10533 (set_big_endian): New inline function.
10534 (maybe_swap_uint32): Likewise.
10535 (maybe_swap_uint32_array): Likewise.
10536 (maybe_swap_uint32_obstack): Likewise.
10537 * locale/programs/locfile.c: Include <stdbool.h>.
10538 (swap_endianness_p): New variable.
10539 (add_locale_uint32): Call maybe_swap_uint32.
10540 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10541 (write_locale_data): Call maybe_swap_uint32_array.
10542 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10544 (obstack_int32_grow_fast): Likewise.
10545 (output_weightwc): Call maybe_swap_uint32_obstack.
10546 (collate_output): Likewise.
10547 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10548 (OPT_LITTLE_ENDIAN): Likewise.
10549 (options): Add --little-endian and --big-endian options.
10550 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10551 * locale/programs/locarchive.c: Include "locfile.h".
10555 (create_archive): Use the new macros to access fields of
10556 structures directly mapped from or written to locale archives.
10557 (oldlocrecentcmp): Likewise.
10558 (enlarge_archive): Likewise.
10559 (insert_name): Likewise.
10560 (add_alias): Likewise.
10561 (add_locale): Likewise.
10562 (delete_locales_from_archive): Likewise.
10563 (show_archive_content): Likewise.
10564 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10567 2013-09-24 Roland McGrath <roland@hack.frob.com>
10569 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10570 http://www.gnu.org/doc/freemanuals.texi.
10571 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10573 2013-09-24 Will Newton <will.newton@linaro.org>
10575 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10578 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10580 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10583 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10585 * manual/threads.texi (POSIX Threads): Fix a typo.
10587 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10590 * string/tst-strcoll-overflow.c: New test case.
10591 * string/Makefile (xtests): Add tst-strcoll-overflow.
10592 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10593 cache if string sizes may cause integer overflow.
10596 * string/strcoll_l.c (coll_seq): New members rule, idx,
10597 save_idx and back_us.
10598 (get_next_seq_nocache): New function.
10599 (do_compare_nocache): New function.
10600 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10603 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10606 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10607 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10608 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10611 * elf/Makefile (tests): Add tst-ptrguard1.
10612 (tests-static): Add tst-ptrguard1-static.
10613 (tst-ptrguard1-ARGS): Define.
10614 (tst-ptrguard1-static-ARGS): Define.
10615 * elf/tst-ptrguard1.c: New file.
10616 * elf/tst-ptrguard1-static.c: New file.
10617 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10618 * sysdeps/i386/stackguard-macros.h: Likewise.
10619 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10620 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10621 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10622 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10623 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10624 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10626 2013-09-23 Hector Marco <hecmargi@upv.es>
10627 Ismael Ripoll <iripoll@disca.upv.es>
10628 Carlos O'Donell <carlos@redhat.com>
10631 * sysdeps/generic/stackguard-macros.h: Define
10632 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10633 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10634 Define __pointer_chk_guard_local.
10635 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10636 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10638 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10641 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10643 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10645 * include/string.h (__ffs): Declare as hidden.
10646 * string/ffs.c (__ffs): Define as hidden.
10647 * sysdeps/i386/ffs.c (__ffs): Likewise.
10648 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10649 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10650 * sysdeps/s390/ffs.c (__ffs): Likewise.
10651 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10653 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10655 * NEWS: Mention malloc probes.
10657 * malloc/arena.c (new_heap): New memory_heap_new probe.
10658 (grow_heap): New memory_heap_more probe.
10659 (shrink_heap): New memory_heap_less probe.
10660 (heap_trim): New memory_heap_free probe.
10661 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10662 (systrim): New memory_sbrk_less probe.
10663 * manual/probes.texi: Document them.
10665 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10666 * manual/probes.texi: Document it.
10668 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10669 (__libc_realloc): Add memory_realloc_retry probe.
10670 (__libc_memalign): Add memory_memalign_retry probe.
10671 (__libc_valloc): Add memory_valloc_retry probe.
10672 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10673 (__libc_calloc): Add memory_calloc_retry probe.
10674 * manual/probes.texi: Document them.
10676 * malloc/arena.c (get_free_list): Add probe
10677 memory_arena_reuse_free_list.
10678 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10679 and memory_arena_reuse.
10680 (arena_get2) [!PER_THREAD]: Likewise.
10681 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10682 memory_arena_reuse_realloc.
10683 * manual/probes.texi: Document them.
10685 * malloc/malloc.c (__libc_free): Add
10686 memory_mallopt_free_dyn_thresholds probe.
10687 (__libc_mallopt): Add multiple memory_mallopt probes.
10688 * manual/probes.texi: Document them.
10690 * malloc/malloc.c: Include stap-probe.h.
10691 (__libc_mallopt): Add memory_mallopt probe.
10692 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10693 * manual/probes.texi: New.
10694 * manual/Makefile (chapters): Add probes.
10695 * manual/threads.texi: Set next node.
10697 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10699 [BZ #15963, #13985]
10700 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10701 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10702 Add `Chinese' to `nan' entry name.
10704 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10706 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10707 (POLYNOMIAL): Likewise.
10708 (TAYLOR_SINCOS): Likewise.
10709 (TAYLOR_SLOW): Likewise.
10710 (__sin): Use TAYLOR_SINCOS.
10712 (slow): Use TAYLOR_SLOW.
10714 (bsloww): Likewise.
10715 (csloww): Likewise.
10717 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10719 * stdlib/strtod_l.c: Fix buffer overrun.
10721 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10723 * benchtests/Makefile (bench): Add sincos.
10724 * benchtests/bench-sincos.c: New file.
10726 * math/libm-test.inc (cos_test_data): New test inputs.
10727 (sin_test_data): Likewise.
10729 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10735 (sloww1): Likewise.
10736 (sloww2): Likewise.
10737 (bsloww1): Likewise.
10738 (bsloww2): Likewise.
10739 (cslow2): Likewise.
10740 (csloww1): Likewise.
10741 (csloww2): Likewise.
10743 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10748 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10752 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10754 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10755 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10756 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10757 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10758 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10759 * elf/cache.c (print_entry): Handle the new cache flags.
10761 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10762 Aldy Hernandez <aldyh@redhat.com>
10764 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10765 Change condition to [_SOFT_FLOAT].
10766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10772 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10773 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10774 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10775 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10776 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10777 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10778 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10780 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10781 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10784 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10786 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10787 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10788 (__longjmp): Use LOAD_GP to load saved GPRs.
10789 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10790 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10791 (__sigsetjmp): Use SAVE_GP to save GPRs.
10793 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10794 Do not append -msoft-float.
10795 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10797 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10799 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10801 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10804 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10805 (_FPU_GETCW): Use initial "__" on variable and field names but not
10806 on macro parameter name.
10807 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10808 parentheses around reference to macro parameter.
10810 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10812 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10814 (ctype_startup): Use uint32_t in cast and sizeof for
10817 2013-09-11 Jia Liu <proljc@gmail.com>
10819 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10821 [__FreeBSD__]: Likewise.
10823 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10826 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10827 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10828 (strchr): Remove __strchr_sse42 ifunc selection.
10829 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10830 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10832 2013-09-11 Will Newton <will.newton@linaro.org>
10834 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10835 parameter to RES. Remove hardcoded 1000 value.
10836 * benchtests/bench-skeleton.c (main): Pass RES parameter
10837 to TIMING_INIT and multiply result by 1000.
10839 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10843 2013-09-11 Andreas Schwab <schwab@suse.de>
10845 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10847 (O_TMPFILE) [__USE_GNU]: Define.
10848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10851 2013-09-11 Will Newton <will.newton@linaro.org>
10854 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10857 2013-09-11 Will Newton <will.newton@linaro.org>
10860 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10863 2013-09-11 Will Newton <will.newton@linaro.org>
10866 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10869 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10871 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10872 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10873 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10874 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10877 2013-09-10 Allan McRae <allan@archlinux.org>
10880 * manual/arith.texi (Parsing of Floats): Clarify
10884 * manual/install.texi (Running make install): Mention
10886 * INSTALL: Regenerated.
10888 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10890 * csu/init-first.c (_init): Remove the !SHARED condition around
10891 FPU control word initialization.
10892 * elf/dl-support.c (_dl_fpu_control): New variable.
10893 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10894 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10895 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10896 * math/test-fpucw-static.c: New file.
10897 * math/test-fpucw-ieee.c: New file.
10898 * math/test-fpucw-ieee-static.c: New file.
10899 * math/Makefile (tests): Add `test-fpucw-ieee' and
10901 (tests-static): New variable.
10902 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10904 [($(build-shared),yes)]
10905 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10907 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10910 2013-09-09 Allan McRae <allan@archlinux.org>
10913 * manual/string.texi (Collation Functions): Fix typo in
10915 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10918 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10921 * libio/memstream.c (open_memstream): Fix memory leak.
10922 * libio/wmemstream.c (open_wmemstream): Likewise.
10925 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10927 2013-09-09 Will Newton <will.newton@linaro.org>
10929 * malloc/Makefile: Add tst-realloc to tests.
10930 * malloc/tst-realloc.c: New file.
10932 2013-09-09 Allan McRae <allan@archlinux.org>
10935 * COPYING: Update from GNU website to fix FSF address.
10936 * COPYING.LIB: Likewise.
10938 2013-09-06 David S. Miller <davem@davemloft.net>
10940 * po/zh_TW.po: Update Chinese (traditional) translation from
10941 translation project.
10943 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10944 Joseph Myers <joseph@codesourcery.com>
10946 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10948 (obstack_chunk_alloc): New macro.
10949 (obstack_chunk_free): Likewise.
10950 (record_offset): New function.
10951 (init_locale_data): Likewise.
10952 (align_locale_data): Likewise.
10953 (add_locale_empty): Likewise.
10954 (add_locale_raw_data): Likewise.
10955 (add_locale_raw_obstack): Likewise.
10956 (add_locale_string): Likewise.
10957 (add_locale_wstring): Likewise.
10958 (add_locale_uint32): Likewise.
10959 (add_locale_uint32_array): Likewise.
10960 (add_locale_char): Likewise.
10961 (start_locale_structure): Likewise.
10962 (end_locale_structure): Likewise.
10963 (start_locale_prelude): Likewise.
10964 (end_locale_prelude): Likewise.
10965 (write_locale_data): Take locale_file structure rather than an
10967 * locale/programs/locfile.h: Include "obstack.h".
10968 (struct locale_file): Change to store locale file contents instead
10970 (init_locale_data): New prototype.
10971 (align_locale_data): Likewise.
10972 (add_locale_empty): Likewise.
10973 (add_locale_raw_data): Likewise.
10974 (add_locale_raw_obstack): Likewise.
10975 (add_locale_string): Likewise.
10976 (add_locale_wstring): Likewise.
10977 (add_locale_uint32): Likewise.
10978 (add_locale_uint32_array): Likewise.
10979 (add_locale_char): Likewise.
10980 (start_locale_structure): Likewise.
10981 (end_locale_structure): Likewise.
10982 (start_locale_prelude): Likewise.
10983 (end_locale_prelude): Likewise.
10984 (write_locale_data): Update prototype.
10985 * locale/programs/3level.h (struct TABLE): Remove result field.
10986 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10987 Use new locale_file interface.
10988 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10989 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10990 * locale/programs/ld-address.c (address_output): Use new
10991 locale_file interface.
10992 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10994 (collate_finish): Don't call collseq_table_finalize.
10995 (collate_output): Use new locale_file interface.
10996 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10998 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10999 (TABLE): Move defines earlier in file.
11000 (ELEMENT): Likewise.
11001 (DEFAULT): Likewise.
11002 (wctrans_table_add): Move macro and inline function earlier in
11004 (struct wctype_table): Move type earlier in file.
11005 (add_locale_wctype_table): New static prototype.
11006 (struct locale_ctype_t): Use logical types instead of struct iovec
11007 pointers for members.
11008 (ctype_output): Use new locale_file interface.
11009 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11010 new locale_file interface.
11011 (allocate_arrays): Update for use of new locale_file interface.
11012 * locale/programs/ld-identification.c (identification_output): Use
11013 new locale_file interface.
11014 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11015 * locale/programs/ld-messages.c (messages_output): Likewise.
11016 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11017 * locale/programs/ld-name.c (name_output): Likewise.
11018 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11019 * locale/programs/ld-paper.c (paper_output): Likewise.
11020 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11021 * locale/programs/ld-time.c (time_output): Likewise.
11023 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11025 * benchtests/Makefile: Add memrchr benchmark.
11026 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11027 benchmark as memrchr.
11028 * benchtests/bench-memrchr-ifunc.c: New file.
11029 * benchtests/bench-memrchr.c: New file.
11031 2013-09-06 Will Newton <will.newton@linaro.org>
11033 * benchtests/Makefile (string-bench): Add memcpy.
11035 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11036 Cong Wang <amwang@redhat.com>
11039 * sysdeps/unix/sysv/linux/bits/in.h
11040 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11041 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11042 before __USE_KERNEL_IPV6_DEFS uses.
11043 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11045 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11046 sockaddr_in6, or ipv6_mreq.
11048 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11050 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11051 memory access for final bytes in some large inputs.
11052 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11054 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11056 * string/test-memrchr.c: New file.
11057 * string/test-memrchr-ifunc.c: New file.
11058 * string/Makefile: Add new memrchr testcase.
11060 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11062 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11063 fanotify_init returns EPERM.
11065 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11067 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11069 (top level): Treat second token from macro or constant entries for
11070 allowed headers as allowed.
11071 * include/complex.h: Condition internal declarations on
11073 * include/fenv.h: Condition include of <stdbool.h> and internal
11074 declarations on [!_ISOMAC].
11076 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11079 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11081 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11083 * configure.in (--enable-versioning): Remove configure option.
11084 (libc_cv_asm_symver_directive): Remove configure test.
11085 (libc_cv_ld_version_script_option): Likewise.
11086 (VERSIONING): Remove variable and AC_SUBST.
11087 (DO_VERSIONING): Remove AC_DEFINE.
11088 * configure: Regenerated.
11089 * config.h.in (DO_VERSIONING): Remove macro.
11090 * Makerules [$(versioning) = yes]: Change conditionals to
11091 [$(build-shared) = yes].
11092 * config.make.in (versioning): Remove variable.
11093 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11094 [$(build-shared) = yes].
11095 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11096 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11097 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11098 [$(build-shared) = yes].
11099 * extra-lib.mk [$(versioning) = yes]: Likewise.
11100 * hurd/Makefile [$(versioning) = yes]: Likewise.
11101 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11103 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11105 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11106 [SHARED && !NO_HIDDEN].
11107 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11109 [SHARED && DO_VERSIONING]: Likewise..
11110 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11111 [$(build-shared) = yes].
11112 * manual/install.texi (--disable-versioning): Remove
11114 * INSTALL: Regenerated.
11115 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11117 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11118 [$(build-shared) = yes].
11119 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11120 * sysdeps/i386/i686/multiarch/strstr-c.c
11121 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11122 [SHARED && !NO_HIDDEN].
11123 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11124 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11125 * sysdeps/powerpc/powerpc32/dl-machine.c
11126 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11127 * sysdeps/powerpc/powerpc32/sysdep.h
11128 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11129 to [SHARED && PIC && !NO_HIDDEN].
11130 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11131 conditional to [SHARED].
11133 2013-09-04 Will Newton <will.newton@linaro.org>
11135 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11136 * benchtests/bench-string.h: Include bench-timing.h instead
11137 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11138 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11139 call to HP_TIMING_DIFF_INIT.
11140 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11141 instead of hp-timing.h macros.
11142 * benchtests/bench-memchr.c: Likewise.
11143 * benchtests/bench-memcmp.c: Likewise.
11144 * benchtests/bench-memcpy.c: Likewise.
11145 * benchtests/bench-memmem.c: Likewise.
11146 * benchtests/bench-memmove.c: Likewise.
11147 * benchtests/bench-memset.c: Likewise.
11148 * benchtests/bench-rawmemchr.c: Likewise.
11149 * benchtests/bench-strcasecmp.c: Likewise.
11150 * benchtests/bench-strcasestr.c: Likewise.
11151 * benchtests/bench-strcat.c: Likewise.
11152 * benchtests/bench-strchr.c: Likewise.
11153 * benchtests/bench-strcmp.c: Likewise.
11154 * benchtests/bench-strcpy.c: Likewise.
11155 * benchtests/bench-strcpy_chk.c: Likewise.
11156 * benchtests/bench-strlen.c: Likewise.
11157 * benchtests/bench-strncasecmp.c: Likewise.
11158 * benchtests/bench-strncat.c: Likewise.
11159 * benchtests/bench-strncmp.c: Likewise.
11160 * benchtests/bench-strncpy.c: Likewise.
11161 * benchtests/bench-strnlen.c: Likewise.
11162 * benchtests/bench-strpbrk.c: Likewise.
11163 * benchtests/bench-strrchr.c: Likewise.
11164 * benchtests/bench-strspn.c: Likewise.
11165 * benchtests/bench-strstr.c: Likewise.
11167 2013-09-04 Will Newton <will.newton@linaro.org>
11169 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11171 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11174 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11175 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11176 * math/libm-test.inc (lgamma_test_data): Add more tests.
11177 * sysdeps/i386/fpu/libm-test-ulps: Update.
11178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11180 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11182 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11186 Add strcmp-sse2-unaligned
11187 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11189 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11191 * Versions.def (libc): Add GLIBC_2.19.
11193 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11195 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11196 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11198 2013-09-02 Joseph Myers <joseph@codesourcery.com>
11201 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11202 intermediate calculations in recurrence.
11203 (__ieee754_ynf): Likewise.
11204 * math/libm-test.inc (jn_test_data): Do not allow spurious
11205 underflow exception. Add more tests.
11206 (yn_test_data): Add more tests.
11207 * sysdeps/i386/fpu/libm-test-ulps: Update.
11208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11210 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
11212 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11214 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11216 * csu/init-first.c: Fix then/than typos.
11217 * locale/programs/ld-collate.c: Likewise.
11218 * locale/programs/linereader.h: Likewise.
11219 * manual/charset.texi: Likewise.
11220 * manual/filesys.texi: Likewise.
11221 * manual/stdio.texi: Likewise.
11222 * manual/string.texi: Likewise.
11223 * stdlib/fmtmsg.c: Likewise.
11224 * sysdeps/i386/stpncpy.S: Likewise.
11225 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11226 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11227 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11228 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11230 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11232 * elf/dl-open.c: Fix typos.
11233 * iconvdata/gbbig5.c: Likewise.
11234 * iconvdata/iso-2022-jp.c: Likewise.
11235 * iconv/gconv_int.h: Likewise.
11236 * iconv/loop.c: Likewise.
11237 * nis/rpcsvc/nis.h: Likewise.
11238 * resolv/ns_name.c: Likewise.
11239 * stdio-common/vfscanf.c: Likewise.
11240 * streams/stropts.h: Likewise.
11241 * sunrpc/rpc_thread.c: Likewise.
11242 * sysdeps/i386/strpbrk.S: Likewise.
11243 * sysdeps/ieee754/k_standard.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11246 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11247 * sysdeps/mach/hurd/profil.c: Likewise.
11248 * sysdeps/s390/dl-procinfo.h: Likewise.
11249 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11250 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11251 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11252 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11253 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11255 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11257 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11260 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11262 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11263 aix specific files.
11264 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11265 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11266 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11267 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11268 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11269 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11270 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11271 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11273 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11274 Roland McGrath <roland@hack.frob.com>
11276 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11277 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11279 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11281 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11282 __executable_start symbol instead of _start.
11284 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11286 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11287 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11289 * sysdeps/gnu/ldsodefs.h: ... this new file.
11291 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11292 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11293 instead of ELFOSABI_LINUX.
11295 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11296 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11297 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11298 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11300 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11301 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11302 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11304 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11305 (ibm_extended_long_double): Add ieee_nan member.
11306 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11307 (do_test): New function.
11309 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11311 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11312 functions, renamed from truncdfsf_test, trunctfsf_test,
11314 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11316 (do_test): Run all these.
11318 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11320 * argp/argp-help.c: Fix typos.
11321 * argp/argp-parse.c: Likewise.
11322 * debug/backtracesyms.c: Likewise.
11323 * elf/elf.h: Likewise.
11324 * malloc/malloc.c: Likewise.
11325 * nis/nis_print.c: Likewise.
11326 * resolv/res_comp.c: Likewise.
11327 * stdlib/stdlib.h: Likewise.
11328 * sunrpc/clnt_tcp.c: Likewise.
11329 * sunrpc/clnt_udp.c: Likewise.
11330 * sunrpc/clnt_unix.c: Likewise.
11331 * sysdeps/unix/bsd/ptsname.c: Likewise.
11332 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11333 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11340 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11342 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11344 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11347 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11350 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11351 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11352 ($(objpfx)bug-dl-leaf): New rule.
11353 ($(objpfx)bug-dl-leaf.so): Likewise.
11354 ($(objpfx)bug-dl-leaf.out): Likewise.
11355 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11356 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11357 * dlfcn/bug-dl-leaf.c: New test.
11358 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11359 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11360 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11361 (dlclose): Likewise.
11362 (dlmopen): Likewise.
11364 2013-08-27 Roland McGrath <roland@hack.frob.com>
11366 * include/netdb.h [!_ISOMAC]:
11367 Don't include <tls.h>.
11368 (h_errno, __libc_h_errno): Move declaration and macros out of
11371 * include/resolv.h [_RESOLV_H_]:
11372 Don't include <tls.h>.
11373 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11374 * resolv/res_libc.c: Don't include <tls.h>.
11375 (_res): Use __attribute__ ((nocommon)) in place of
11376 __attribute__ ((section (".bss"))).
11378 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11379 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11381 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11383 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11384 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11386 * resolv/res_mkquery.c: Include <sys/time.h>.
11388 * inet/ifreq.c: Moved to ...
11389 * sysdeps/unix/ifreq.c: ... here.
11390 * inet/ifreq.c: New file, true stub version.
11392 * socket/sa_len.c: New file.
11393 * socket/Makefile (aux): Add it.
11394 * sysdeps/unix/sysv/linux/Makefile
11395 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11396 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11397 and #include <socket/sa_len.c>.
11398 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11399 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11401 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11402 * bits/socket.h: ... here.
11404 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11405 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11406 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11408 2013-08-27 Andreas Schwab <schwab@suse.de>
11411 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11412 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11413 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11414 * string/test-strcasecmp.c (test_main): Run tests in several
11416 * string/test-strncasecmp.c (test_main): Likewise.
11418 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11419 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11420 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11421 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11422 (__strncasecmp_ssse3) [PIC]: Likewise.
11424 2013-08-26 Roland McGrath <roland@hack.frob.com>
11426 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11428 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11429 instead of explicitly declaring xdecrypt.
11430 * nis/nss_nis/nis-publickey.c: Likewise.
11432 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11435 * nscd/aicache.c: Include res_hconf.h.
11436 (addhstaiX): Initialize res_hconf.
11438 2013-08-26 Andreas Schwab <schwab@suse.de>
11440 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11441 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11443 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11445 * nscd/aicache.c (addhstaiX): Fix indentation.
11447 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11449 * configure.ac: Quote $build_pt_chown test.
11450 * configure: Regenerated.
11452 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11455 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11456 * math/s_cexpf.c (__cexpf): Likewise.
11457 * math/s_cexpl.c (__cexpl): Likewise.
11458 * math/libm-test.inc (cexp_test_data): Correct expected return
11459 value for NaN + i0. Add another test.
11461 2013-08-22 David S. Miller <davem@davemloft.net>
11463 * po/ca.po: Update Catalan translation from translation project.
11464 * po/uk.po: Add Ukrainian translations from translation project.
11466 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11469 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11470 is infinite, not alongside NaN test.
11471 * math/s_fdimf.c (__fdimf): Likewise.
11472 * math/s_fdiml.c (__fdiml): Likewise.
11473 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11474 errno is unchanged.
11476 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11478 * argp/argp-help.c: Fix typos.
11479 * crypt/speeds.c: Likewise.
11480 * csu/check_fds.c: Likewise.
11481 * elf/dl-load.c: Likewise.
11482 * elf/dl-open.c: Likewise.
11483 * elf/reldep3.c: Likewise.
11484 * elf/reldep.c: Likewise.
11485 * elf/sprof.c: Likewise.
11486 * iconv/iconv_charmap.c: Likewise.
11487 * iconv/skeleton.c: Likewise.
11488 * iconv/strtab.c: Likewise.
11489 * io/lockf64.c: Likewise.
11490 * libio/libioP.h: Likewise.
11491 * resolv/gai_notify.c: Likewise.
11492 * resolv/ns_name.c: Likewise.
11493 * resolv/ns_samedomain.c: Likewise.
11494 * resolv/res_send.c: Likewise.
11495 * stdlib/random.c: Likewise.
11496 * sunrpc/rpc/xdr.h: Likewise.
11497 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11498 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11499 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11500 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11501 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11502 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11504 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11505 * sysdeps/mach/hurd/check_fds.c: Likewise.
11506 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11507 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11508 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11509 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11510 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11511 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11512 * sysdeps/pthread/aio_notify.c: Likewise.
11513 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11514 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11515 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11516 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11517 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11519 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11521 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11522 version if bit_Slow_SSE4_2 is set.
11523 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11524 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11526 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11529 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11530 trampoline stack frame information.
11531 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11532 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11533 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11534 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11535 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11536 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11537 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11538 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11540 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11541 interrupting a syscall and set with option SA_SIGINFO.
11543 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11546 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11547 argument is infinite.
11548 * math/s_cprojf.c (__cprojf): Likewise.
11549 * math/s_cprojl.c (__cprojl): Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11551 * math/libm-test.inc (cproj_test_data): Add more tests.
11553 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11555 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11556 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11557 size. Use __ffs to determine corresponding shift.
11559 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11560 Roland McGrath <roland@hack.frob.com>
11562 * Makefile (INSTALL): Remove trailing blank lines from output of
11565 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11567 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11568 Align 32 bit compat elf_greg to 8 bytes.
11570 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11572 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11574 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11576 * string/strcoll_l.c (coll_seq): New structure.
11577 (get_next_seq_cached): New function.
11578 (get_next_seq): New function.
11579 (do_compare): New function.
11580 (STRCOLL): Use GNU style definition. Simplify implementation
11581 by using get_next_seq, get_next_seq_cached and do_compare.
11583 2013-08-16 Florian Weimer <fweimer@redhat.com>
11587 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11589 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11591 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11592 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11593 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11595 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11596 GETDENTS_64BIT_ALIGNED.
11597 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11598 * manual/filesys.texi (Reading/Closing Directory): Document
11599 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11601 * manual/conf.texi (Limits for Files): Add portability note to
11602 NAME_MAX, PATH_MAX.
11603 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11605 2013-08-13 Andreas Schwab <schwab@suse.de>
11608 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11610 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11611 LDBL_MAX_EXP >= 16384]: Add tests for it.
11613 2013-08-12 David S. Miller <davem@davemloft.net>
11615 * version.h (RELEASE): Set to "development".
11616 (VERSION): Set to "2.18.90".
11617 * NEWS: Add 2.19 section.
11619 2013-08-03 David S. Miller <davem@davemloft.net>
11621 * po/ko.po: Update Korean translation from translation project.
11623 2013-08-01 David S. Miller <davem@davemloft.net>
11625 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11626 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11629 2013-07-30 David S. Miller <davem@davemloft.net>
11631 * po/fr.po: Update French translation from translation project.
11633 2013-07-28 David S. Miller <davem@davemloft.net>
11635 * po/cs.po: Update Czech translation from translation project.
11637 * po/sv.po: Update Swedish translation from translation project.
11639 2013-07-27 David S. Miller <davem@davemloft.net>
11641 * po/eo.po: Update Esperanto translation from translation project.
11643 * po/vi.po: Update Vietnamese translation from translation project.
11645 * po/de.po: Update German translation from translation project.
11647 2013-07-26 David S. Miller <davem@davemloft.net>
11649 * po/bg.po: Update Bulgarian translation from translation project.
11651 * po/nl.po: Update Dutch translation from translation project.
11652 * po/pl.po: Update Polish translation from translation project.
11653 * po/ru.po: Update Russian translation from translation project.
11655 2013-07-24 David S. Miller <davem@davemloft.net>
11657 * po/libc.pot: Update.
11659 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11661 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11662 variable page size.
11663 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11664 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11665 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11667 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11669 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11671 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11672 Andreas Schwab <schwab@suse.de>
11673 Roland McGrath <roland@hack.frob.com>
11674 Joseph Myers <joseph@codesourcery.com>
11675 Carlos O'Donell <carlos@redhat.com>
11678 * config.h.in: Define HAVE_PT_CHOWN.
11679 * config.make.in (build-pt-chown): New variable.
11680 * configure.in (--enable-pt_chown): New configure option.
11681 * configure: Regenerate.
11682 * login/Makefile: Include Makeconfig. Build pt_chown only if
11683 build-pt-chown is enabled.
11684 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11685 pt_chown to fix pty ownership.
11686 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11688 * manual/install.texi (Configuring and compiling): Mention
11689 --enable-pt_chown. Add @findex for grantpt.
11690 * INSTALL: Regenerate.
11692 2013-07-20 David S. Miller <davem@davemloft.net>
11694 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11695 difference between 32-bit and 64-bit.
11697 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11700 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11701 Avoid system header dependency with -ffreestanding.
11702 ($(objpfx)bits/syscall%d): Likewise.
11704 2013-07-13 David S. Miller <davem@davemloft.net>
11706 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11707 underflows from atanl/atan2l due to bug 15319.
11708 (casinh_test_data): Likewise.
11710 2013-07-07 David S. Miller <davem@davemloft.net>
11712 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11714 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11716 * sysdeps/i386/fpu/libm-test-ulps: Update.
11717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11719 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11721 * configure.in (--enable-lock-elision): Fix message text.
11722 * INSTALL: Regenerate.
11723 * configure: Regenerate.
11725 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11729 2013-07-03 Andreas Jaeger <aj@suse.de>
11731 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11733 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11734 (ptrace_peeksiginfo_args): Add.
11735 (__ptrace_peeksiginfo_flags): Add.
11736 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11737 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11738 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11740 2013-07-03 Allan McRae <allan@archlinux.org>
11742 * sysdeps/i386/fpu/libm-test-ulps: Update.
11744 2013-07-02 David S. Miller <davem@davemloft.net>
11746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11748 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11752 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11754 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11757 2013-07-02 Andi Kleen <ak@linux.intel.com>
11759 * config.h.in (ENABLE_LOCK_ELISION): Add.
11760 * configure.in (--enable-lock-elision): Add option.
11761 * manual/install.texi: Document --enable lock elision.
11762 * configure: Regenerate
11763 * INSTALL: Regenerate.
11765 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11767 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11768 SSE4.2 strcasecmp for libc.a.
11769 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11771 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11774 * soft-fp/op-common.h (_FP_FMA): New macro.
11775 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11776 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11777 (_FP_MUL_MEAT_1_imm): ... here.
11778 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11779 (_FP_MUL_MEAT_1_wide): ... here.
11780 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11781 (_FP_MUL_MEAT_1_hard): ... here.
11782 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11783 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11784 (_FP_MUL_MEAT_2_wide): ... here.
11785 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11786 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11787 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11788 (_FP_MUL_MEAT_2_gmp): ... here.
11789 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11790 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11791 (_FP_MUL_MEAT_4_wide): ... here.
11792 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11793 (_FP_MUL_MEAT_4_gmp): ... here.
11794 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11795 (_FP_WFRACBITS_DW_S): Likewise.
11796 (_FP_WFRACXBITS_DW_S): Likewise.
11797 (_FP_HIGHBIT_DW_S): Likewise.
11798 (FP_FMA_S): Likewise.
11799 (_FP_FRAC_HIGH_DW_S): Likewise.
11800 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11801 (_FP_WFRACBITS_DW_D): Likewise.
11802 (_FP_WFRACXBITS_DW_D): Likewise.
11803 (_FP_HIGHBIT_DW_D): Likewise.
11804 (FP_FMA_D): Likewise.
11805 (_FP_FRAC_HIGH_DW_D): Likewise.
11806 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11807 (_FP_WFRACBITS_DW_E): Likewise.
11808 (_FP_WFRACXBITS_DW_E): Likewise.
11809 (_FP_HIGHBIT_DW_E): Likewise.
11810 (FP_FMA_E): Likewise.
11811 (_FP_FRAC_HIGH_DW_E): Likewise.
11812 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11813 (_FP_WFRACBITS_DW_Q): Likewise.
11814 (_FP_WFRACXBITS_DW_Q): Likewise.
11815 (_FP_HIGHBIT_DW_Q): Likewise.
11816 (FP_FMA_Q): Likewise.
11817 (_FP_FRAC_HIGH_DW_Q): Likewise.
11818 * soft-fp/fmasf4.c: New file.
11819 * soft-fp/fmadf4.c: Likewise.
11820 * soft-fp/fmatf4.c: Likewise.
11822 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11825 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11827 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11829 (index_Slow_SSE4_2): Likewise.
11830 (index_Prefer_PMINUB_for_stringop): Likewise.
11831 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11832 bit_Slow_SSE4_2 is set.
11833 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11834 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11836 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11838 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11839 rtld_global._dl_hwcap2.
11840 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11842 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11843 POWER8 feature descriptions defined in _dl_hwcap2.
11844 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11845 string handling for POWER8 feature bits.
11846 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11847 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11848 _dl_powerpc_cap_flags.
11849 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11850 * sysdeps/powerpc/rtld-global-offsets.sym
11851 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11852 _dl_hwcap2 in the rtld_global_ro structure.
11854 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11856 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11857 hardware capabilities in support of AT_HWCAP2.
11858 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11859 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11861 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11862 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11863 explicitly the unknown a_type display mechanism is used.
11864 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11865 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11867 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11868 to macro prototype for AT_HWCAP2 support.
11869 * sysdeps/i386/dl-procinfo.h: Likewise.
11870 * sysdeps/s390/dl-procinfo.h: Likewise.
11871 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11872 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11873 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11874 return -1 for unknown a_type display fallback.
11875 * sysdeps/sparc/dl-procinfo.h: Likewise.
11876 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11877 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11879 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11881 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11882 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11884 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11887 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11888 mprotect making __stack_prot writable.
11890 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11891 Joseph Myers <joseph@codesourcery.com>
11893 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11894 as being properly aligned.
11896 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11898 * dlfcn/modstatic5.c: New file.
11899 * dlfcn/tststatic5.c: New file.
11900 * dlfcn/Makefile (tests): Add tststatic5.
11901 (tests-static): Likewise.
11902 (modules-names): Add modstatic5.
11903 (tststatic5-ENV): New variable.
11904 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11907 * elf/dl-support.c (_dl_main_map): New variable.
11908 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11909 (_dl_nns, _dl_load_adds): Set to 1.
11910 (_dl_initial_searchlist): Refer to _dl_main_map.
11911 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11912 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11913 call to _dl_get_origin.
11914 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11916 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11917 * dlfcn/modstatic3.c: New file.
11918 * dlfcn/tststatic3.c: New file.
11919 * dlfcn/tststatic4.c: New file.
11920 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11921 (tests-static): Likewise.
11922 (modules-names): Add modstatic3.
11923 (tststatic3-ENV, tststatic4-ENV): New variables.
11924 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11925 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11927 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11929 * configure.in (CC): Require GCC version 4.4 or later.
11930 * configure: Regenerated.
11931 * manual/install.texi (Tools for Compilation): Update GCC version
11933 * INSTALL: Regenerated.
11935 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11938 * string/test-memcmp.c (check2): New.
11939 (main): Call check2.
11941 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11943 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11946 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11948 (dl_open_worker) [!SHARED]: ... here.
11950 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11952 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11954 2013-06-25 Richard Henderson <rth@redhat.com>
11956 * locale/programs/locarchive.c: Include <libc-internal.h>
11958 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11960 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11961 trailing whitespace removed.
11963 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11966 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11967 * locale/programs/locarchive.c: Include libc-mmap.h.
11968 (prepare_address_space): Take two new outputs (the mmap base and len).
11969 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11971 (create_archive): Declare new mmap base and len values for
11972 prepare_address_space, and store the result in ah.
11973 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11974 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11975 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11976 Declare new mmap base and len values for
11977 prepare_address_space, and store the result in new_ah.
11978 (open_archive): Declare new mmap base and len values for
11979 prepare_address_space, and store the result in ah.
11980 (close_archive): If ah->mmap_base is not NULL, use that and
11981 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11982 * sysdeps/generic/libc-mmap.h: New file.
11984 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11986 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11987 (ALIGN_UP): Likewise.
11988 (PTR_ALIGN_DOWN): Likewise.
11989 (PTR_ALIGN_UP): Likewise.
11991 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11993 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11994 entry mapped to PPC_PLATFORM_POWER8.
11995 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11997 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11998 (_dl_string_platform): Add case for exporting platform position for
12000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12001 search path to sysdeps/powerpc/powerpc32/power8 directory.
12002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12003 search path to sysdeps/powerpc/powerpc64/power8 directory.
12004 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12005 power7 directories.
12006 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12007 power7 directories.
12009 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12011 * INSTALL: Regenerate.
12013 * nscd/connections.c (nscd_init): Fix comment.
12015 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12017 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12020 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12021 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12023 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12025 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12027 (DL_DST_REQ_STATIC): Remove macro.
12029 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12032 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12033 with a shift of 0 bits.
12035 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12037 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12040 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12043 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12045 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12047 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12048 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12049 accepts -fno-tree-loop-distribute-patterns.
12050 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12051 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12053 * string/memset.c (memset): Likewise.
12054 * string/test-memmove.c (simple_memmove): Disable loop transformation
12056 * string/test-memset.c (simple_memset): Likewise.
12057 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12058 * benchtests/bench-memset.c (simple_memset): Likewise.
12059 * configure: Regenerated.
12061 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12063 * math/test-misc.c (main): Ignore fesetround failure when failures
12064 of subsequent rounding tests would be ignored.
12067 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12068 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12069 * math/fegetenv.c (__fegetenv): Return 0.
12070 * math/fegetexcept.c (fegetexcept): Return 0.
12071 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12073 * math/feholdexcpt.c (feholdexcept): Return 0.
12074 * math/fesetenv.c (__fesetenv): Return 0.
12075 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12076 argument FE_TONEAREST.
12077 * math/feupdateenv.c (__feupdateenv): Return 0.
12078 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12080 2013-06-18 Roland McGrath <roland@hack.frob.com>
12082 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12083 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12084 ($(objpfx)rtld-%.os rules): Use them.
12086 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12088 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12091 2013-06-17 Roland McGrath <roland@hack.frob.com>
12093 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12094 length of target pattern, then descending length of dependency pattern.
12095 * configure.in (AWK): Require gawk 3.1.2 or newer.
12096 * manual/install.texi (Tools for Compilation): Say that we do.
12097 * configure: Regenerated.
12099 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12100 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12101 * scripts/sysd-rules.awk: ... this new script.
12102 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12103 than a glob-style pattern.
12105 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12107 * math/test-misc.c (main): Do not treat incorrectly rounded
12108 conversions as failure unless ROUNDING_TESTS passes.
12110 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12113 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12114 restore exception state around main square root computation, then
12115 check for inexactness explicitly.
12117 * math/libm-test.inc (fma_test_data): Add another test.
12119 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12121 * manual/threads.texi (Non-POSIX Extensions): New document
12122 node. Document pthread_getattr_default_np and
12123 pthread_setattr_default_np.
12125 * Versions.def (libpthread): Add GLIBC_2.18.
12126 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12135 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12146 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12149 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12151 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12152 H.J. Lu <hjl.tools@gmail.com>
12155 * sysdeps/x86_64/rtld-memset.c: Remove file.
12156 * sysdeps/x86_64/rtld-memset.S: New file.
12158 2013-06-14 Joseph Myers <joseph@codesourcery.com>
12160 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12161 (test_in_one_mode): Take arguments for whether the rounding mode
12162 is supported for each floating-point type.
12163 (do_test): Pass new arguments to test_in_one_mode using
12166 2013-06-13 Roland McGrath <roland@hack.frob.com>
12168 * posix/tst-waitid.c (do_test): Distinguish different instances of
12169 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12170 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12171 before entering the kernel for waitpid.
12173 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12175 * NEWS: Fix note on clock function precision. Text by Roland
12178 2013-06-13 Roland McGrath <roland@hack.frob.com>
12180 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12181 it into place only when and if the sanity check passes.
12183 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12185 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12186 output for whether conversion result is exact. Take argument
12187 indicating whether type is IBM long double.
12188 (round_for_all): Change need_exact field to ibm_ld.
12189 * stdlib/tst-strtod-round.c (struct exactness): New type.
12190 (struct test): Change bool ld_ok field to struct exactness exact.
12191 (TEST): Update all definitions for change to field.
12192 (tests): Regenerate array contents.
12193 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12194 field value. Check for IBM long double here.
12195 (do_test): Update calls to test_in_one_mode.
12197 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12200 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12201 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12203 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12206 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12207 generated by the compiler on loop optimizations.
12208 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12209 general definitions.
12211 2013-06-12 Joseph Myers <joseph@codesourcery.com>
12213 * math/bug-nextafter.c: Include <math-tests.h>.
12214 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12216 * math/bug-nexttoward.c: Include <math-tests.h>.
12217 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12219 * math/test-misc.c: Include <math-tests.h>.
12220 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12223 2013-06-12 Andreas Jaeger <aj@suse.de>
12225 * po/ia.po: Update Interlingua translation from translation
12228 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12230 * include/fenv.h: Include stdbool.h.
12231 (struct rm_ctx): New structure.
12232 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12234 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12235 (SET_RESTORE_ROUNDF): Likewise.
12236 (SET_RESTORE_ROUNDL): Likewise.
12237 (SET_RESTORE_ROUND_NOEX): Likewise.
12238 (SET_RESTORE_ROUND_NOEXF): Likewise.
12239 (SET_RESTORE_ROUND_NOEXL): Likewise.
12240 (SET_RESTORE_ROUND_53BIT): Likewise.
12241 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12242 (libc_feresetround_noexf_ctx): Likewise.
12243 (libc_feresetround_noexl_ctx): Likewise.
12244 (libc_feholdsetround_53bit_ctx): Likewise.
12245 (libc_feresetround_53bit_ctx): Likewise.
12246 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12247 (libc_feholdexcept_setround_sse_ctx): New function.
12248 (libc_fesetenv_sse_ctx): Likewise.
12249 (libc_feupdateenv_sse_ctx): Likewise.
12250 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12251 (libc_feholdexcept_setround_387_ctx): Likewise.
12252 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12253 (libc_feholdsetround_387_prec_ctx): Likewise.
12254 (libc_feholdsetround_387_ctx): Likewise.
12255 (libc_feholdsetround_387_53bit_ctx): Likewise.
12256 (libc_feholdsetround_sse_ctx): Likewise.
12257 (libc_feresetround_sse_ctx): Likewise.
12258 (libc_feresetround_387_ctx): Likewise.
12259 (libc_feupdateenv_387_ctx): Likewise.
12260 (libc_feholdexcept_setroundf_ctx): Define macro.
12261 (libc_fesetenvf_ctx): Likewise.
12262 (libc_feupdateenvf_ctx): Likewise.
12263 (libc_feholdsetroundf_ctx): Likewise.
12264 (libc_feresetroundf_ctx): Likewise.
12265 (libc_feholdexcept_setround_ctx): Likewise.
12266 (libc_fesetenv_ctx): Likewise.
12267 (libc_feupdateenv_ctx): Likewise.
12268 (libc_feholdsetround_ctx): Likewise.
12269 (libc_feresetround_ctx): Likewise.
12270 (libc_feholdexcept_setroundl_ctx): Likewise.
12271 (libc_feupdateenvl_ctx): Likewise.
12272 (libc_feholdsetroundl_ctx): Likewise.
12273 (libc_feresetroundl_ctx): Likewise.
12274 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12275 (libc_feresetround_53bit_ctx): Likewise.
12277 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12279 * locale/iso-639.def: Convert to UTF-8.
12281 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12283 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12284 (EXCEPTION_TESTS_double): Likewise.
12285 (EXCEPTION_TESTS_long_double): Likewise.
12286 (EXCEPTION_TESTS): Likewise.
12287 * math/libm-test.inc (test_exceptions): Only test exceptions if
12288 EXCEPTION_TESTS (FLOAT).
12290 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12292 * benchtests/Makefile (string-bench): Add strcpy_chk and
12294 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12295 * benchtests/bench-stpcpy_chk.c: New file.
12296 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12297 * benchtests/bench-strcpy_chk.c: New file.
12298 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12300 (do_test): Likewise.
12302 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12304 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12305 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12306 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12307 with tabs where appropriate.
12308 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12310 [PPC_PLATFORM_PPC440]: Likewise.
12311 [PPC_PLATFORM_PPC464]: Likewise.
12312 [PPC_PLATFORM_PPC476]: Likewise.
12313 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12314 ppc464, and ppc476 platform strings merging from ports/
12317 2013-06-11 Andreas Schwab <schwab@suse.de>
12320 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12321 (from_ucs4_idx): Regenerate.
12322 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12323 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12324 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12325 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12326 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12327 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12328 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12329 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12330 from FROM_LOOP and TO_LOOP specific macros.
12331 (BODY): Handle combining characters.
12332 * iconvdata/BIG5HKSCS.irreversible: Update.
12333 * iconvdata/BIG5HKSCS.precomposed: New file.
12334 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12336 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12338 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12340 * include/sys/time.h: Fix indentation and add copyright header.
12342 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12343 (do_test): Likewise.
12344 * string/test-memchr.c (do_one_test): Likewise.
12345 (do_test): Likewise.
12346 * string/test-memcmp.c (do_one_test): Likewise.
12347 (do_test): Likewise.
12348 * string/test-memcpy.c (do_one_test): Likewise.
12349 (do_test): Likewise.
12350 * string/test-memmem.c (do_one_test): Likewise.
12351 (do_test): Likewise.
12352 (do_random_tests): Likewise.
12353 * string/test-memmove.c (do_one_test): Likewise.
12354 (do_test): Likewise.
12355 * string/test-memset.c (do_one_test): Likewise.
12356 (do_test): Likewise.
12357 * string/test-rawmemchr.c (do_one_test): Likewise.
12358 (do_test): Likewise.
12359 * string/test-strcasecmp.c (do_one_test): Likewise.
12360 (do_test): Likewise.
12361 * string/test-strcasestr.c (do_one_test): Likewise.
12362 (do_test): Likewise.
12363 * string/test-strcat.c (do_one_test): Likewise.
12364 (do_test): Likewise.
12365 * string/test-strchr.c (do_one_test): Likewise.
12366 (do_test): Likewise.
12367 * string/test-strcmp.c (do_one_test): Likewise.
12368 (do_test): Likewise.
12369 * string/test-strcpy.c (do_one_test): Likewise.
12370 (do_test): Likewise.
12371 * string/test-string.h: Likewise.
12372 (test_init): Likewise.
12373 * string/test-strlen.c (do_one_test): Likewise.
12374 (do_test): Likewise.
12375 * string/test-strncasecmp.c (do_one_test): Likewise.
12376 (do_test): Likewise.
12377 * string/test-strncat.c (do_one_test): Likewise.
12378 (do_test): Likewise.
12379 * string/test-strncmp.c (do_one_test): Likewise.
12380 (do_test_limit): Likewise.
12381 (do_test): Likewise.
12382 * string/test-strncpy.c (do_one_test): Likewise.
12383 (do_test): Likewise.
12384 * string/test-strnlen.c (do_one_test): Likewise.
12385 (do_test): Likewise.
12386 * string/test-strpbrk.c (do_one_test): Likewise.
12387 (do_test): Likewise.
12388 * string/test-strrchr.c (do_one_test): Likewise.
12389 (do_test): Likewise.
12390 * string/test-strspn.c (do_one_test): Likewise.
12391 (do_test): Likewise.
12392 * string/test-strstr.c (do_one_test): Likewise.
12393 (do_test): Likewise.
12395 * benchtests/Makefile (string-bench): Add string benchmarks.
12396 * benchtests/bench-bcopy-ifunc.c: New file.
12397 * benchtests/bench-bcopy.c: New file.
12398 * benchtests/bench-bzero-ifunc.c: New file.
12399 * benchtests/bench-bzero.c: New file.
12400 * benchtests/bench-memccpy-ifunc.c: New file.
12401 * benchtests/bench-memccpy.c: New file.
12402 * benchtests/bench-memchr-ifunc.c: New file.
12403 * benchtests/bench-memchr.c: New file.
12404 * benchtests/bench-memcmp-ifunc.c: New file.
12405 * benchtests/bench-memcmp.c: New file.
12406 * benchtests/bench-memmem-ifunc.c: New file.
12407 * benchtests/bench-memmem.c: New file.
12408 * benchtests/bench-memmove-ifunc.c: New file.
12409 * benchtests/bench-memmove.c: New file.
12410 * benchtests/bench-mempcpy-ifunc.c: New file.
12411 * benchtests/bench-mempcpy.c: New file.
12412 * benchtests/bench-memset-ifunc.c: New file.
12413 * benchtests/bench-memset.c: New file.
12414 * benchtests/bench-rawmemchr-ifunc.c: New file.
12415 * benchtests/bench-rawmemchr.c: New file.
12416 * benchtests/bench-stpcpy-ifunc.c: New file.
12417 * benchtests/bench-stpcpy.c: New file.
12418 * benchtests/bench-stpncpy-ifunc.c: New file.
12419 * benchtests/bench-stpncpy.c: New file.
12420 * benchtests/bench-strcasecmp-ifunc.c: New file.
12421 * benchtests/bench-strcasecmp.c: New file.
12422 * benchtests/bench-strcasestr-ifunc.c: New file.
12423 * benchtests/bench-strcasestr.c: New file.
12424 * benchtests/bench-strcat-ifunc.c: New file.
12425 * benchtests/bench-strcat.c: New file.
12426 * benchtests/bench-strchr-ifunc.c: New file.
12427 * benchtests/bench-strchr.c: New file.
12428 * benchtests/bench-strchrnul-ifunc.c: New file.
12429 * benchtests/bench-strchrnul.c: New file.
12430 * benchtests/bench-strcmp-ifunc.c: New file.
12431 * benchtests/bench-strcmp.c: New file.
12432 * benchtests/bench-strcpy-ifunc.c: New file.
12433 * benchtests/bench-strcpy.c: New file.
12434 * benchtests/bench-strcspn-ifunc.c: New file.
12435 * benchtests/bench-strcspn.c: New file.
12436 * benchtests/bench-strlen-ifunc.c: New file.
12437 * benchtests/bench-strlen.c: New file.
12438 * benchtests/bench-strncasecmp-ifunc.c: New file.
12439 * benchtests/bench-strncasecmp.c: New file.
12440 * benchtests/bench-strncat-ifunc.c: New file.
12441 * benchtests/bench-strncat.c: New file.
12442 * benchtests/bench-strncmp-ifunc.c: New file.
12443 * benchtests/bench-strncmp.c: New file.
12444 * benchtests/bench-strncpy-ifunc.c: New file.
12445 * benchtests/bench-strncpy.c: New file.
12446 * benchtests/bench-strnlen-ifunc.c: New file.
12447 * benchtests/bench-strnlen.c: New file.
12448 * benchtests/bench-strpbrk-ifunc.c: New file.
12449 * benchtests/bench-strpbrk.c: New file.
12450 * benchtests/bench-strrchr-ifunc.c: New file.
12451 * benchtests/bench-strrchr.c: New file.
12452 * benchtests/bench-strspn-ifunc.c: New file.
12453 * benchtests/bench-strspn.c: New file.
12454 * benchtests/bench-strstr-ifunc.c: New file.
12455 * benchtests/bench-strstr.c: New file.
12457 * benchtests/Makefile: Disable parallel execution of targets.
12458 (string-bench): Add memcpy.
12459 (benchset): New variable to store a list of benchmark sets.
12460 (bench-func): Renamed from bench.
12461 (bench-set): New target.
12462 (bench): Depend on bench-func and bench-set.
12463 * benchtests/README: Add section on benchmark sets.
12464 * benchtests/bench-memcpy-ifunc.c: New file.
12465 * benchtests/bench-memcpy.c: New file.
12466 * benchtests/bench-string.h: New file.
12468 2013-06-11 Andreas Schwab <schwab@suse.de>
12471 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12472 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12473 values in the triple.
12474 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12475 terminator in the group key.
12477 2013-06-11 Andreas Jaeger <aj@suse.de>
12479 * po/zh_TW.po: Update Chinese (traditional) translation from
12480 translation project.
12482 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12484 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12485 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12486 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12487 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12488 (clock_getcpuclockid): Likewise.
12489 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12490 Add weak_alias and libc_hidden_def.
12491 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12492 * rt/clock_gettime.c (clock_gettime): Rename to
12493 __clock_gettime. Add weak_alias and libc_hidden_def.
12494 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12495 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12496 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12497 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12498 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12500 * rt/clock_settime.c (clock_settime): Rename to
12501 __clock_settime. Add weak_alias and libc_hidden_def.
12502 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12504 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12506 * mach/err_boot.sub: Remove trailing whitespace.
12507 * mach/err_ipc.sub: Likewise.
12508 * mach/err_mach.sub: Likewise.
12510 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12511 (ROUNDING_TESTS_double): Likewise.
12512 (ROUNDING_TESTS_long_double): Likewise.
12513 (ROUNDING_TESTS): Likewise.
12514 * math/libm-test.inc: Include <math-tests.h>.
12515 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12516 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12517 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12518 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12520 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12522 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12525 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12527 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12528 otherwise empty TRANS lines.
12529 * sysdeps/gnu/errlist.c: Regenerated.
12531 * catgets/gencat.c (error_print): Use (void) in function
12533 * crypt/crypt_util.c (__init_des): Likewise.
12534 * crypt/speeds.c (Stop): Likewise.
12536 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12537 * inet/ruserpass.c (token): Likewise.
12538 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12539 * intl/localealias.c (extend_alias_table): Likewise.
12540 * intl/plural-exp.c (init_germanic_plural): Likewise.
12541 * libio/fcloseall.c (__fcloseall): Likewise.
12542 * libio/genops.c (_IO_flush_all): Likewise.
12543 (_IO_flush_all_linebuffered): Likewise.
12544 (_IO_cleanup): Likewise.
12545 (_IO_iter_begin): Likewise.
12546 (_IO_iter_end): Likewise.
12547 (_IO_list_lock): Likewise.
12548 (_IO_list_unlock): Likewise.
12549 (_IO_list_resetlock): Likewise.
12550 * libio/getchar.c (getchar): Likewise.
12551 * libio/getchar_u.c (getchar_unlocked): Likewise.
12552 * libio/getwchar.c (getwchar): Likewise.
12553 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12554 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12555 * login/getpt.c (__getpt): Likewise.
12556 * login/tst-utmp.c (main): Likewise.
12557 * malloc/hooks.c (__malloc_check_init): Likewise.
12558 * malloc/malloc.c (__malloc_stats): Likewise.
12559 * malloc/mtrace.c (tr_break): Likewise.
12560 (mtrace): Likewise.
12561 (muntrace): Likewise.
12562 * misc/fstab.c (endfsent): Likewise.
12563 * misc/getclktck.c (__getclktck): Likewise.
12564 * misc/getdtsz.c (__getdtablesize): Likewise.
12565 * misc/gethostid.c (gethostid): Likewise.
12566 * misc/getpagesize.c (__getpagesize): Likewise.
12567 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12568 (__get_nprocs): Likewise.
12569 (__get_phys_pages): Likewise.
12570 (__get_avphys_pages): Likewise.
12571 * misc/getttyent.c (getttyent): Likewise.
12572 (setttyent): Likewise.
12573 (endttyent): Likewise.
12574 * misc/getusershell.c (getusershell): Likewise.
12575 (endusershell): Likewise.
12576 (setusershell): Likewise.
12577 (initshells): Likewise.
12578 * misc/hsearch.c (__hdestroy): Likewise.
12579 * misc/sync.c (sync): Likewise.
12580 * misc/syslog.c (closelog_internal): Likewise.
12581 (closelog): Likewise.
12582 * misc/ttyslot.c (ttyslot): Likewise.
12583 * misc/vhangup.c (vhangup): Likewise.
12584 * posix/fork.c (__fork): Likewise.
12585 * posix/getegid.c (__getegid): Likewise.
12586 * posix/geteuid.c (__geteuid): Likewise.
12587 * posix/getgid.c (__getgid): Likewise.
12588 * posix/getpid.c (__getpid): Likewise.
12589 * posix/getppid.c (__getppid): Likewise.
12590 * posix/getuid.c (__getuid): Likewise.
12591 * posix/pause.c (pause): Likewise.
12592 * posix/setpgrp.c (setpgrp): Likewise.
12593 * posix/setsid.c (__setsid): Likewise.
12594 * posix/test-vfork.c (noop): Likewise.
12595 * resolv/gethnamaddr.c (_endhtent): Likewise.
12596 (_gethtent): Likewise.
12597 (ht_endhostent): Likewise.
12598 (gethostent): Likewise.
12599 (dns_service): Likewise.
12600 * stdlib/drand48.c (drand48): Likewise.
12601 * stdlib/lrand48.c (lrand48): Likewise.
12602 * stdlib/mrand48.c (mrand48): Likewise.
12603 * stdlib/rand.c (rand): Likewise.
12604 * stdlib/random.c (__random): Likewise.
12605 * stdlib/setenv.c (clearenv): Likewise.
12606 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12607 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12608 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12609 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12610 (__get_nprocs): Likewise.
12611 (__get_phys_pages): Likewise.
12612 (__get_avphys_pages): Likewise.
12613 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12614 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12615 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12616 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12617 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12618 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12619 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12620 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12621 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12622 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12623 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12624 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12625 * sysdeps/posix/clock.c (clock): Likewise.
12626 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12627 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12628 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12629 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12630 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12631 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12632 (__get_nprocs_conf): Likewise.
12633 (__get_phys_pages): Likewise.
12634 (__get_avphys_pages): Likewise.
12635 * time/clock.c (clock): Likewise.
12636 * time/tzset.c (__tzname_max): Likewise.
12638 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12640 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12641 (__bswap_32): Do not use "register".
12642 * crypt/crypt.c (_ufc_doit_r): Likewise.
12643 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12644 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12645 * gmon/gmon.c (__monstartup): Likewise.
12646 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12647 * hurd/hurdmalloc.c (more_memory): Likewise.
12648 (malloc): Likewise.
12650 (realloc): Likewise.
12651 (malloc_fork_prepare): Likewise.
12652 (malloc_fork_parent): Likewise.
12653 (malloc_fork_child): Likewise.
12654 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12655 (_svcauth_des): Likewise.
12656 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12657 * inet/inet_net.c (inet_network): Likewise.
12658 * inet/inet_netof.c (inet_netof): Likewise.
12659 * inet/rcmd.c (__validuser2_sa): Likewise.
12660 * io/fts.c (fts_open): Likewise.
12661 (fts_load): Likewise.
12662 (fts_close): Likewise.
12663 (fts_read): Likewise.
12664 (fts_children): Likewise.
12665 (fts_build): Likewise.
12666 (fts_stat): Likewise.
12667 (fts_sort): Likewise.
12668 (fts_alloc): Likewise.
12669 (fts_lfree): Likewise.
12670 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12671 (_IO_file_xsgetn): Likewise.
12672 (_IO_file_xsgetn_mmap): Likewise.
12673 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12674 (_IO_cookie_write): Likewise.
12675 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12676 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12677 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12678 * malloc/obstack.c (_obstack_begin): Likewise.
12679 (_obstack_begin_1): Likewise.
12680 (_obstack_newchunk): Likewise.
12681 (_obstack_allocated_p): Likewise.
12682 (obstack_free): Likewise.
12683 (_obstack_memory_used): Likewise.
12684 * misc/getttyent.c (getttynam): Likewise.
12685 (getttyent): Likewise.
12688 * misc/getusershell.c (initshells): Likewise.
12689 * misc/syslog.c (__vsyslog_chk): Likewise.
12690 * misc/ttyslot.c (ttyslot): Likewise.
12691 * nis/nis_hash.c (__nis_hash): Likewise.
12692 * posix/fnmatch_loop.c (FCT): Likewise.
12693 * posix/getconf.c (print_all): Likewise.
12695 * posix/getopt.c (exchange): Likewise.
12696 * posix/glob.c (globfree): Likewise.
12697 (prefix_array): Likewise.
12698 (__glob_pattern_type): Likewise.
12699 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12700 (NS_GET32): Likewise.
12701 (NS_PUT16): Likewise.
12702 (NS_PUT32): Likewise.
12703 * resolv/gethnamaddr.c (getanswer): Likewise.
12704 (gethostbyname2): Likewise.
12705 (gethostbyaddr): Likewise.
12706 (_gethtent): Likewise.
12707 (_gethtbyname2): Likewise.
12708 (_gethtbyaddr): Likewise.
12709 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12710 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12711 * resolv/res_init.c (__res_vinit): Likewise.
12712 (net_mask): Likewise.
12713 * resolv/res_mkquery.c (outchar): Likewise.
12715 * stdio-common/printf_fp.c (outchar): Likewise.
12717 * stdio-common/printf_fphex.c (outchar): Likewise.
12719 * stdio-common/printf_size.c (outchar): Likewise.
12721 * stdio-common/test_rdwr.c (main): Likewise.
12722 * stdio-common/tfformat.c (matches): Likewise.
12723 * stdio-common/vfprintf.c (outchar): Likewise.
12724 (printf_unknown): Likewise.
12725 (buffered_vfprintf): Likewise.
12726 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12727 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12728 (ReadFile): Likewise.
12729 * stdlib/qsort.c (SWAP): Likewise.
12730 (_quicksort): Likewise.
12731 * stdlib/setenv.c (__add_to_environ): Likewise.
12732 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12733 * stdlib/strtol_l.c (__strtol_l): Likewise.
12734 * stdlib/tst-strtod.c (main): Likewise.
12735 * stdlib/tst-strtol.c (main): Likewise.
12736 * stdlib/tst-strtoll.c (main): Likewise.
12737 * string/bits/string2.h (__strcmp_cc): Likewise.
12738 (__strcmp_cg): Likewise.
12739 (__strcspn_c1): Likewise.
12740 (__strcspn_c2): Likewise.
12741 (__strcspn_c3): Likewise.
12742 (__strspn_c1): Likewise.
12743 (__strspn_c2): Likewise.
12744 (__strspn_c3): Likewise.
12745 (__strsep_1c): Likewise.
12746 (__strsep_2c): Likewise.
12747 (__strsep_3c): Likewise.
12748 * string/memccpy.c (__memccpy): Likewise.
12749 * string/stpcpy.c (__stpcpy): Likewise.
12750 * string/strcmp.c (strcmp): Likewise.
12751 * string/strrchr.c (strrchr): Likewise.
12752 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12754 * sysdeps/mach/hurd/getcwd.c
12755 (_hurd_canonicalize_directory_name_internal): Likewise.
12756 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12757 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12758 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12759 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12760 Likewise, in both definitions.
12761 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12763 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12764 64] (__bswap_64): Likewise.
12765 * time/test_time.c (main): Likewise.
12766 * time/tzfile.c (__tzfile_read): Likewise.
12767 (__tzfile_compute): Likewise.
12768 * time/tzset.c (__tzset_parse_tz): Likewise.
12769 (tzset_internal): Likewise.
12770 (compute_change): Likewise.
12771 * wcsmbs/wcscat.c (__wcscat): Likewise.
12772 * wcsmbs/wcschr.c (wcschr): Likewise.
12773 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12774 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12775 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12776 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12777 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12778 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12779 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12780 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12781 * wcsmbs/wmemset.c (wmemset): Likewise.
12783 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12785 * scripts/config.guess: Update to version 2013-05-16.
12786 * scripts/config.sub: Update to version 2013-04-24.
12787 * scripts/install-sh: Update to version 2011-11-20.07.
12788 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12789 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12791 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12793 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12794 * elf/sln.c: Likewise.
12795 * hurd/hurd/ioctl.h: Likewise.
12796 * hurd/hurdmalloc.c: Likewise.
12797 * hurd/xattr.c: Likewise.
12798 * include/shlib-compat.h: Likewise.
12799 * inet/ruserpass.c: Likewise.
12800 * libio/iofgets_u.c: Likewise.
12801 * libio/iofgetws_u.c: Likewise.
12802 * locale/programs/ld-identification.c: Likewise.
12803 * locale/programs/ld-time.c: Likewise.
12804 * mach/msg-destroy.c: Likewise.
12805 * nss/nss_files/files-netgrp.c: Likewise.
12806 * resolv/res_data.c: Likewise.
12807 * soft-fp/op-1.h: Likewise.
12808 * soft-fp/op-2.h: Likewise.
12809 * soft-fp/op-4.h: Likewise.
12810 * soft-fp/op-common.h: Likewise.
12811 * stdio-common/printf_fphex.c: Likewise.
12812 * stdlib/strtod_l.c: Likewise.
12813 * sunrpc/rpc/clnt.h: Likewise.
12814 * sysdeps/generic/framestate.c: Likewise.
12815 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12816 * sysdeps/i386/bsd-setjmp.S: Likewise.
12817 * sysdeps/i386/__longjmp.S: Likewise.
12818 * sysdeps/i386/setjmp.S: Likewise.
12819 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12820 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12821 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12837 * sysdeps/ieee754/support.c: Likewise.
12838 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12839 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12840 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12841 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12842 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12843 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12844 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12845 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12846 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12847 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12848 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12849 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12850 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12851 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12852 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12853 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12854 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12857 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12859 * posix/transbug.c: Remove executable mode.
12861 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12863 * crypt/speeds.c: Remove trailing whitespace.
12864 * dlfcn/default.c: Likewise.
12865 * elf/ifuncdep2.c: Likewise.
12866 * elf/ifuncmain1.c: Likewise.
12867 * elf/ifuncmain1vis.c: Likewise.
12868 * elf/testobj.h: Likewise.
12869 * elf/tst-stackguard1.c: Likewise.
12870 * gmon/sys/gmon.h: Likewise.
12871 * hurd/hurdmsg.c: Likewise.
12872 * hurd/new-fd.c: Likewise.
12873 * hurd/ports-get.c: Likewise.
12874 * iconvdata/ibm1008_420.c: Likewise.
12875 * inet/tst-getni1.c: Likewise.
12876 * inet/tst-getni2.c: Likewise.
12877 * libio/ioungetc.c: Likewise.
12878 * libio/wfiledoalloc.c: Likewise.
12879 * manual/libm-err-tab.pl: Likewise.
12880 * math/w_dremf.c: Likewise.
12881 * misc/ftruncate.c: Likewise.
12882 * posix/bug-glob2.c: Likewise.
12883 * posix/tst-pcre.c: Likewise.
12884 * posix/wait4.c: Likewise.
12885 * resolv/README: Likewise.
12886 * resolv/res_debug.h: Likewise.
12887 * resolv/tst-inet_ntop.c: Likewise.
12888 * setjmp/bug269-setjmp.c: Likewise.
12889 * soft-fp/extended.h: Likewise.
12890 * soft-fp/op-1.h: Likewise.
12891 * soft-fp/op-2.h: Likewise.
12892 * soft-fp/op-4.h: Likewise.
12893 * soft-fp/op-8.h: Likewise.
12894 * soft-fp/testit.c: Likewise.
12895 * stdio-common/bug16.c: Likewise.
12896 * stdlib/random.c: Likewise.
12897 * sunrpc/rpcsvc/rquota.x: Likewise.
12898 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12899 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12900 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12901 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12902 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12903 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12904 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12905 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12906 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12907 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12908 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12914 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12916 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12917 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12922 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12924 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12925 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12926 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12927 * sysdeps/ieee754/s_lib_version.c: Likewise.
12928 * sysdeps/mach/hurd/check_fds.c: Likewise.
12929 * sysdeps/mach/hurd/getsockname.c: Likewise.
12930 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12931 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12932 * sysdeps/powerpc/bits/link.h: Likewise.
12933 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12934 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12935 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12936 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12937 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12938 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12939 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12940 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12941 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12942 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12943 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12944 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12945 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12946 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12947 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12948 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12949 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12950 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12951 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12952 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12953 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12954 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12955 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12956 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12957 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12958 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12959 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12960 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12961 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12962 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12963 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12964 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12965 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12966 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12967 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12968 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12969 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12970 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12971 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12972 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12973 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12974 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12975 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12976 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12977 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12978 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12979 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12980 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12981 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12982 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12985 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12986 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12987 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12988 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12989 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12990 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12991 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12992 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12993 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12994 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12995 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12996 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12997 * sysdeps/powerpc/sysdep.h: Likewise.
12998 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12999 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13000 * sysdeps/sh/dl-trampoline.S: Likewise.
13001 * sysdeps/sh/memset.S: Likewise.
13002 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13003 * sysdeps/sh/strlen.S: Likewise.
13004 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13005 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13006 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13007 * sysdeps/sparc/sparc32/rem.S: Likewise.
13008 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13009 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13010 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13011 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13012 * sysdeps/sparc/sparc32/urem.S: Likewise.
13013 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13014 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13015 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13016 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13017 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13018 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13019 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13020 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13021 * sysdeps/unix/bsd/times.c: Likewise.
13022 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13023 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13027 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13028 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13029 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13030 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13031 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13032 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13033 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13034 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13035 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13036 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13037 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13038 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13039 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13040 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13041 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13042 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13043 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13044 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13045 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13046 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13047 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13048 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13049 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13050 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13051 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13052 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13053 * sysdeps/x86_64/strcspn.S: Likewise.
13055 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13057 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13058 generated file. Regenerate properly from gen-translit.pl.
13059 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13060 locale/C-translit.h.
13062 2013-06-05 Andreas Schwab <schwab@suse.de>
13065 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13066 week as 6 instead of -1.
13067 * time/tst-strptime.c (day_tests): Add test case.
13069 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13071 * sysdeps/generic/math_private.h
13072 (libc_feholdexcept_setround_53bit): Replace with
13073 libc_feholdsetround_53bit.
13074 (libc_feupdateenv_53bit): Replace with
13075 libc_feresetround_53bit.
13076 (SET_RESTORE_ROUND_53BIT): Adjust.
13078 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13080 * string/test-strchrnul.c: Add copyright header.
13082 * posix/tst-getaddrinfo4.c: Increase test timeout.
13084 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13087 * math/libm-test.inc (MAX_EXP): Remove
13089 (ulp): Use MIN_EXP - MANT_DIG.
13090 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13092 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13094 * po/be.po: Revert last change.
13095 * po/zh_CN.po: Likewise.
13096 * po/header.pot: Likewise.
13098 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13100 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13101 link-libc-deps to empty as target-specific variable.
13102 * Makerules (link-libc-args): New variable.
13103 (libc-for-link): Likewise.
13104 (link-libc-deps): Likewise.
13105 (lib%.so): Depend on $(link-libc-deps). Link with
13107 (build-module): Link with $(link-libc-args).
13108 (build-module-asneeded): Likewise.
13109 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13111 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13112 target-specific variable.
13113 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13114 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13115 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13117 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13119 ($(objpfx)libpcprofile.so): Likewise.
13120 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13122 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13123 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13124 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13126 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13127 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13128 * login/Makefile ($(objpfx)libutil.so): Likewise.
13129 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13130 * math/Makefile ($(objpfx)libm.so): Likewise.
13131 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13132 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13133 variable instead of depending directly on libc.
13134 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13135 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13137 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13139 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13140 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13141 ($(objpfx)libanl.so): Likewise.
13142 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13144 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13146 * sysdeps/i386/fpu/Makefile: Remove file.
13147 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13148 ($(objpfx)libm.so): Remove dependency on ld.so.
13150 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
13153 * nis/yp_xdr.c (XDRMAXNAME): Define.
13154 (XDRMAXRECORD): Define.
13155 (xdr_domainname): Use XDRMAXNAME.
13156 (xdr_mapname): Likewise.
13157 (xdr_peername): Likewise.
13158 (xdr_keydat): Use XDRMAXRECORD.
13159 (xdr_valdat): Likewise.
13161 2013-05-30 Jeff Law <law@redhat.com>
13164 * manual/errno.texi (ESTALE): Update to account for more than
13165 just NFS file systems.
13166 * sysdeps/gnu/errlist.c: Regenerated.
13168 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13171 * elf/Makefile (tests): Add tst-null-argv.
13172 (modules-names): Add tst-null-argv-lib.
13173 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13174 (tst-null-argv-ENV): Set environment for tst-null-argv.
13175 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13176 (RTLD_PROGNAME): New macro.
13177 * elf/tst-null-argv.c: New test case.
13178 * elf/tst-null-argv-lib.c: Library for test case.
13179 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13180 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13181 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13182 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13183 * elf/dl-init.c (call_init): Likewise.
13184 (_dl_init): Likewise.
13185 * elf/dl-load.c (print_search_path): Likewise.
13186 (_dl_map_object): Likewise.
13187 * elf/dl-lookup.c (do_lookup_x): Likewise.
13188 (add_dependency): Likewise.
13189 (_dl_lookup_symbol_x): Likewise.
13190 (_dl_debug_bindings): Likewise.
13191 * elf/dl-open.c (_dl_show_scope): Likewise.
13192 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13193 * elf/dl-version.c (match_symbol): Likewise.
13194 (_dl_check_map_versions): Likewise.
13195 * elf/rtld.c (dl_main): Likewise.
13196 (print_unresolved): Use RTLD_PROGNAME.
13197 (print_missing_version): Likewise.
13198 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13199 (elf_machine_rela): Likewise.
13200 * sysdeps/powerpc/powerpc32/dl-machine.c
13201 (__process_machine_rela): Likewise.
13202 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13204 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13206 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13208 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13209 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13211 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13215 2013-05-28 Carlos O'Donell <carlos@redhat.com>
13217 * po/be.po: Add descriptive title.
13218 * po/zh_CN.po: Likewise.
13219 * po/header.pot: Likewise.
13221 2013-05-28 Mike Frysinger <vapier@gentoo.org>
13223 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13225 (enlarge_archive): Likewise.
13227 2013-05-28 Ben North <ben@redfrontdoor.org>
13229 * manual/arith.texi (frexp): It is the magnitude of the return
13230 value which lies in [0.5, 1), not the return value itself.
13232 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13236 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13238 * stdio-common/bug26.c (main): Correct fscanf template.
13240 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13241 declare _dl_skip_args.
13243 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13246 * manual/platform.texi: Add missing @end deftypefun.
13248 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13251 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13252 bit of mantissa of 2^16382.
13253 * math/libm-test.inc (hypot_test_data): Add more tests.
13255 * math/libm-test.inc: Add drem and pow10 to list of tested
13257 (pow10_test): New function.
13258 (drem_test): Likewise.
13259 (drem_test_tonearest): Likewise.
13260 (drem_test_towardzero): Likewise.
13261 (drem_test_downward): Likewise.
13262 (drem_test_upward): Likewise.
13263 (main): Call the new functions.
13265 * math/libm-test.inc (finite_test_data): Remove.
13266 (finite_test): Run tests from isfinite_test_data.
13267 (gamma_test_data): Remove.
13268 (gamma_test): Run tests from lgamma_test_data.
13269 * sysdeps/i386/fpu/libm-test-ulps: Update.
13270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13272 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13274 * manual/platform.texi: Add PowerPC PPR function set documentation.
13275 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13278 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13280 * math/libm-test.inc (MAX_EXP): Define.
13282 (ulp): New function.
13283 (check_float_internal): Use ULPDIFF.
13284 (cpow_test): Disable failing test.
13285 (check_ulp): Test ulp() implemetnation.
13286 (main): Call check_ulp before starting tests.
13288 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13290 * math/gen-libm-test.pl (generate_testfile): Do not handle
13291 START_DATA and END_DATA.
13292 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13294 (acos_tonearest_test_data): Likewise.
13295 (acos_towardzero_test_data): Likewise.
13296 (acos_downward_test_data): Likewise.
13297 (acos_upward_test_data): Likewise.
13298 (acosh_test_data): Likewise.
13299 (asin_test_data): Likewise.
13300 (asin_tonearest_test_data): Likewise.
13301 (asin_towardzero_test_data): Likewise.
13302 (asin_downward_test_data): Likewise.
13303 (asin_upward_test_data): Likewise.
13304 (asinh_test_data): Likewise.
13305 (atan_test_data): Likewise.
13306 (atanh_test_data): Likewise.
13307 (atan2_test_data): Likewise.
13308 (cabs_test_data): Likewise.
13309 (cacos_test_data): Likewise.
13310 (cacosh_test_data): Likewise.
13311 (carg_test_data): Likewise.
13312 (casin_test_data): Likewise.
13313 (casinh_test_data): Likewise.
13314 (catan_test_data): Likewise.
13315 (catanh_test_data): Likewise.
13316 (cbrt_test_data): Likewise.
13317 (ccos_test_data): Likewise.
13318 (ccosh_test_data): Likewise.
13319 (ceil_test_data): Likewise.
13320 (cexp_test_data): Likewise.
13321 (cimag_test_data): Likewise.
13322 (clog_test_data): Likewise.
13323 (clog10_test_data): Likewise.
13324 (conj_test_data): Likewise.
13325 (copysign_test_data): Likewise.
13326 (cos_test_data): Likewise.
13327 (cos_tonearest_test_data): Likewise.
13328 (cos_towardzero_test_data): Likewise.
13329 (cos_downward_test_data): Likewise.
13330 (cos_upward_test_data): Likewise.
13331 (cosh_test_data): Likewise.
13332 (cosh_tonearest_test_data): Likewise.
13333 (cosh_towardzero_test_data): Likewise.
13334 (cosh_downward_test_data): Likewise.
13335 (cosh_upward_test_data): Likewise.
13336 (cpow_test_data): Likewise.
13337 (cproj_test_data): Likewise.
13338 (creal_test_data): Likewise.
13339 (csin_test_data): Likewise.
13340 (csinh_test_data): Likewise.
13341 (csqrt_test_data): Likewise.
13342 (ctan_test_data): Likewise.
13343 (ctan_tonearest_test_data): Likewise.
13344 (ctan_towardzero_test_data): Likewise.
13345 (ctan_downward_test_data): Likewise.
13346 (ctan_upward_test_data): Likewise.
13347 (ctanh_test_data): Likewise.
13348 (ctanh_tonearest_test_data): Likewise.
13349 (ctanh_towardzero_test_data): Likewise.
13350 (ctanh_downward_test_data): Likewise.
13351 (ctanh_upward_test_data): Likewise.
13352 (erf_test_data): Likewise.
13353 (erfc_test_data): Likewise.
13354 (exp_test_data): Likewise.
13355 (exp_tonearest_test_data): Likewise.
13356 (exp_towardzero_test_data): Likewise.
13357 (exp_downward_test_data): Likewise.
13358 (exp_upward_test_data): Likewise.
13359 (exp10_test_data): Likewise.
13360 (exp2_test_data): Likewise.
13361 (expm1_test_data): Likewise.
13362 (fabs_test_data): Likewise.
13363 (fdim_test_data): Likewise.
13364 (finite_test_data): Likewise.
13365 (floor_test_data): Likewise.
13366 (fma_test_data): Likewise.
13367 (fma_towardzero_test_data): Likewise.
13368 (fma_downward_test_data): Likewise.
13369 (fma_upward_test_data): Likewise.
13370 (fmax_test_data): Likewise.
13371 (fmin_test_data): Likewise.
13372 (fmod_test_data): Likewise.
13373 (fpclassify_test_data): Likewise.
13374 (frexp_test_data): Likewise.
13375 (gamma_test_data): Likewise.
13376 (hypot_test_data): Likewise.
13377 (ilogb_test_data): Likewise.
13378 (isfinite_test_data): Likewise.
13379 (isgreater_test_data): Likewise.
13380 (isgreaterequal_test_data): Likewise.
13381 (isinf_test_data): Likewise.
13382 (isless_test_data): Likewise.
13383 (islessequal_test_data): Likewise.
13384 (islessgreater_test_data): Likewise.
13385 (isnan_test_data): Likewise.
13386 (isnormal_test_data): Likewise.
13387 (issignaling_test_data): Likewise.
13388 (isunordered_test_data): Likewise.
13389 (j0_test_data): Likewise.
13390 (j1_test_data): Likewise.
13391 (jn_test_data): Likewise.
13392 (ldexp_test_data): Likewise.
13393 (lgamma_test_data): Likewise.
13394 (lrint_test_data): Likewise.
13395 (lrint_tonearest_test_data): Likewise.
13396 (lrint_towardzero_test_data): Likewise.
13397 (lrint_downward_test_data): Likewise.
13398 (lrint_upward_test_data): Likewise.
13399 (llrint_test_data): Likewise.
13400 (llrint_tonearest_test_data): Likewise.
13401 (llrint_towardzero_test_data): Likewise.
13402 (llrint_downward_test_data): Likewise.
13403 (llrint_upward_test_data): Likewise.
13404 (log_test_data): Likewise.
13405 (log10_test_data): Likewise.
13406 (log1p_test_data): Likewise.
13407 (log2_test_data): Likewise.
13408 (logb_test_data): Likewise.
13409 (logb_downward_test_data): Likewise.
13410 (lround_test_data): Likewise.
13411 (llround_test_data): Likewise.
13412 (modf_test_data): Likewise.
13413 (nearbyint_test_data): Likewise.
13414 (nextafter_test_data): Likewise.
13415 (nexttoward_test_data): Likewise.
13416 (pow_test_data): Likewise.
13417 (pow_tonearest_test_data): Likewise.
13418 (pow_towardzero_test_data): Likewise.
13419 (pow_downward_test_data): Likewise.
13420 (pow_upward_test_data): Likewise.
13421 (remainder_test_data): Likewise.
13422 (remainder_tonearest_test_data): Likewise.
13423 (remainder_towardzero_test_data): Likewise.
13424 (remainder_downward_test_data): Likewise.
13425 (remainder_upward_test_data): Likewise.
13426 (remquo_test_data): Likewise.
13427 (rint_test_data): Likewise.
13428 (rint_tonearest_test_data): Likewise.
13429 (rint_towardzero_test_data): Likewise.
13430 (rint_downward_test_data): Likewise.
13431 (rint_upward_test_data): Likewise.
13432 (round_test_data): Likewise.
13433 (scalb_test_data): Likewise.
13434 (scalbn_test_data): Likewise.
13435 (scalbln_test_data): Likewise.
13436 (signbit_test_data): Likewise.
13437 (sin_test_data): Likewise.
13438 (sin_tonearest_test_data): Likewise.
13439 (sin_towardzero_test_data): Likewise.
13440 (sin_downward_test_data): Likewise.
13441 (sin_upward_test_data): Likewise.
13442 (sincos_test_data): Likewise.
13443 (sinh_test_data): Likewise.
13444 (sinh_tonearest_test_data): Likewise.
13445 (sinh_towardzero_test_data): Likewise.
13446 (sinh_downward_test_data): Likewise.
13447 (sinh_upward_test_data): Likewise.
13448 (sqrt_test_data): Likewise.
13449 (tan_test_data): Likewise.
13450 (tan_tonearest_test_data): Likewise.
13451 (tan_towardzero_test_data): Likewise.
13452 (tan_downward_test_data): Likewise.
13453 (tan_upward_test_data): Likewise.
13454 (tanh_test_data): Likewise.
13455 (tgamma_test_data): Likewise.
13456 (trunc_test_data): Likewise.
13457 (y0_test_data): Likewise.
13458 (y1_test_data): Likewise.
13459 (yn_test_data): Likewise.
13460 (significand_test_data): Likewise.
13462 * math/gen-libm-test.pl (@functions): Remove variable.
13463 (generate_testfile): Don't handle START and END lines.
13464 * math/libm-test.inc (START): New macro.
13466 (END_COMPLEX): Likewise.
13467 (acos_test): Use END macro without arguments.
13468 (acos_test_tonearest): Likewise.
13469 (acos_test_towardzero): Likewise.
13470 (acos_test_downward): Likewise.
13471 (acos_test_upward): Likewise.
13472 (acosh_test): Likewise.
13473 (asin_test): Likewise.
13474 (asin_test_tonearest): Likewise.
13475 (asin_test_towardzero): Likewise.
13476 (asin_test_downward): Likewise.
13477 (asin_test_upward): Likewise.
13478 (asinh_test): Likewise.
13479 (atan_test): Likewise.
13480 (atanh_test): Likewise.
13481 (atan2_test): Likewise.
13482 (cabs_test): Likewise.
13483 (cacos_test): Use END_COMPLEX macro without arguments.
13484 (cacosh_test): Likewise.
13485 (carg_test): Use END macro without arguments.
13486 (casin_test): Use END_COMPLEX macro without arguments.
13487 (casinh_test): Likewise.
13488 (catan_test): Likewise.
13489 (catanh_test): Likewise.
13490 (cbrt_test): Use END macro without arguments.
13491 (ccos_test): Use END_COMPLEX macro without arguments.
13492 (ccosh_test): Likewise.
13493 (ceil_test): Use END macro without arguments.
13494 (cexp_test): Use END_COMPLEX macro without arguments.
13495 (cimag_test): Use END macro without arguments.
13496 (clog_test): Use END_COMPLEX macro without arguments.
13497 (clog10_test): Likewise.
13498 (conj_test): Likewise.
13499 (copysign_test): Use END macro without arguments.
13500 (cos_test): Likewise.
13501 (cos_test_tonearest): Likewise.
13502 (cos_test_towardzero): Likewise.
13503 (cos_test_downward): Likewise.
13504 (cos_test_upward): Likewise.
13505 (cosh_test): Likewise.
13506 (cosh_test_tonearest): Likewise.
13507 (cosh_test_towardzero): Likewise.
13508 (cosh_test_downward): Likewise.
13509 (cosh_test_upward): Likewise.
13510 (cpow_test): Use END_COMPLEX macro without arguments.
13511 (cproj_test): Likewise.
13512 (creal_test): Use END macro without arguments.
13513 (csin_test): Use END_COMPLEX macro without arguments.
13514 (csinh_test): Likewise.
13515 (csqrt_test): Likewise.
13516 (ctan_test): Likewise.
13517 (ctan_test_tonearest): Likewise.
13518 (ctan_test_towardzero): Likewise.
13519 (ctan_test_downward): Likewise.
13520 (ctan_test_upward): Likewise.
13521 (ctanh_test): Likewise.
13522 (ctanh_test_tonearest): Likewise.
13523 (ctanh_test_towardzero): Likewise.
13524 (ctanh_test_downward): Likewise.
13525 (ctanh_test_upward): Likewise.
13526 (erf_test): Use END macro without arguments.
13527 (erfc_test): Likewise.
13528 (exp_test): Likewise.
13529 (exp_test_tonearest): Likewise.
13530 (exp_test_towardzero): Likewise.
13531 (exp_test_downward): Likewise.
13532 (exp_test_upward): Likewise.
13533 (exp10_test): Likewise.
13534 (exp2_test): Likewise.
13535 (expm1_test): Likewise.
13536 (fabs_test): Likewise.
13537 (fdim_test): Likewise.
13538 (finite_test): Likewise.
13539 (floor_test): Likewise.
13540 (fma_test): Likewise.
13541 (fma_test_towardzero): Likewise.
13542 (fma_test_downward): Likewise.
13543 (fma_test_upward): Likewise.
13544 (fmax_test): Likewise.
13545 (fmin_test): Likewise.
13546 (fmod_test): Likewise.
13547 (fpclassify_test): Likewise.
13548 (frexp_test): Likewise.
13549 (gamma_test): Likewise.
13550 (hypot_test): Likewise.
13551 (ilogb_test): Likewise.
13552 (isfinite_test): Likewise.
13553 (isgreater_test): Likewise.
13554 (isgreaterequal_test): Likewise.
13555 (isinf_test): Likewise.
13556 (isless_test): Likewise.
13557 (islessequal_test): Likewise.
13558 (islessgreater_test): Likewise.
13559 (isnan_test): Likewise.
13560 (isnormal_test): Likewise.
13561 (issignaling_test): Likewise.
13562 (isunordered_test): Likewise.
13563 (j0_test): Likewise.
13564 (j1_test): Likewise.
13565 (jn_test): Likewise.
13566 (ldexp_test): Likewise.
13567 (lgamma_test): Likewise.
13568 (lrint_test): Likewise.
13569 (lrint_test_tonearest): Likewise.
13570 (lrint_test_towardzero): Likewise.
13571 (lrint_test_downward): Likewise.
13572 (lrint_test_upward): Likewise.
13573 (llrint_test): Likewise.
13574 (llrint_test_tonearest): Likewise.
13575 (llrint_test_towardzero): Likewise.
13576 (llrint_test_downward): Likewise.
13577 (llrint_test_upward): Likewise.
13578 (log_test): Likewise.
13579 (log10_test): Likewise.
13580 (log1p_test): Likewise.
13581 (log2_test): Likewise.
13582 (logb_test): Likewise.
13583 (logb_test_downward): Likewise.
13584 (lround_test): Likewise.
13585 (llround_test): Likewise.
13586 (modf_test): Likewise.
13587 (nearbyint_test): Likewise.
13588 (nextafter_test): Likewise.
13589 (nexttoward_test): Likewise.
13590 (pow_test): Likewise.
13591 (pow_test_tonearest): Likewise.
13592 (pow_test_towardzero): Likewise.
13593 (pow_test_downward): Likewise.
13594 (pow_test_upward): Likewise.
13595 (remainder_test): Likewise.
13596 (remainder_test_tonearest): Likewise.
13597 (remainder_test_towardzero): Likewise.
13598 (remainder_test_downward): Likewise.
13599 (remainder_test_upward): Likewise.
13600 (remquo_test): Likewise.
13601 (rint_test): Likewise.
13602 (rint_test_tonearest): Likewise.
13603 (rint_test_towardzero): Likewise.
13604 (rint_test_downward): Likewise.
13605 (rint_test_upward): Likewise.
13606 (round_test): Likewise.
13607 (scalb_test): Likewise.
13608 (scalbn_test): Likewise.
13609 (scalbln_test): Likewise.
13610 (signbit_test): Likewise.
13611 (sin_test): Likewise.
13612 (sin_test_tonearest): Likewise.
13613 (sin_test_towardzero): Likewise.
13614 (sin_test_downward): Likewise.
13615 (sin_test_upward): Likewise.
13616 (sincos_test): Likewise.
13617 (sinh_test): Likewise.
13618 (sinh_test_tonearest): Likewise.
13619 (sinh_test_towardzero): Likewise.
13620 (sinh_test_downward): Likewise.
13621 (sinh_test_upward): Likewise.
13622 (sqrt_test): Likewise.
13623 (tan_test): Likewise.
13624 (tan_test_tonearest): Likewise.
13625 (tan_test_towardzero): Likewise.
13626 (tan_test_downward): Likewise.
13627 (tan_test_upward): Likewise.
13628 (tanh_test): Likewise.
13629 (tgamma_test): Likewise.
13630 (trunc_test): Likewise.
13631 (y0_test): Likewise.
13632 (y1_test): Likewise.
13633 (yn_test): Likewise.
13634 (significand_test): Likewise.
13636 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13639 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13641 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13644 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13645 __ppc_mdoio and __ppc_mdoom.
13646 * manual/platform.texi: Document new functions __ppc_yield,
13647 __ppc_mdoio and __ppc_mdoom.
13649 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13651 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13652 (main): Mention "tls" pseudo-hwcap is legacy.
13653 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13655 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13657 * math/gen-libm-test.pl (parse_args): Output only string of
13658 arguments as text for test name, not full call or descriptions of
13659 tests for extra outputs.
13660 (generate_testfile): Do not pass function name to parse_args.
13661 Generate this_func variable from START.
13662 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13664 (struct test_ff_f_data): Likewise.
13665 (test_ff_f_data_nexttoward): Likewise.
13666 (struct test_fi_f_data): Likewise.
13667 (struct test_fl_f_data): Likewise.
13668 (struct test_if_f_data): Likewise.
13669 (struct test_fff_f_data): Likewise.
13670 (struct test_c_f_data): Likewise.
13671 (struct test_f_f1_data): Likewise. Remove field extra_name.
13672 (struct test_fF_f1_data): Likewise.
13673 (struct test_ffI_f1_data): Likewise.
13674 (struct test_c_c_data): Rename test_name field to arg_str.
13675 (struct test_cc_c_data): Likewise.
13676 (struct test_f_i_data): Likewise.
13677 (struct test_ff_i_data): Likewise.
13678 (struct test_f_l_data): Likewise.
13679 (struct test_f_L_data): Likewise.
13680 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13682 (COMMON_TEST_SETUP): New macro.
13683 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13684 (COMMON_TEST_CLEANUP): Likewise.
13685 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13686 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13688 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13689 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13691 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13692 (RUN_TEST_fff_f): Take argument string. Call new setup and
13694 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13695 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13697 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13698 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13700 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13701 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13703 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13704 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13706 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13707 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13709 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13710 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13712 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13713 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13715 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13716 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13718 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13719 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13721 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13722 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13724 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13725 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13727 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13728 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13730 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13731 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13733 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13734 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13736 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13737 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13739 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13741 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13743 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13744 to _sifields.sigfault.
13745 (si_addr_lsb): Define new macro.
13746 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13747 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13748 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13750 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13753 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13755 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13757 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13758 loading the domain.
13760 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13762 * math/gen-libm-test.pl (parse_args): Do not include expected
13763 result in test name.
13764 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13765 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13766 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13767 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13768 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13771 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13773 * benchtests/Makefile: Sort function entries.
13775 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13776 tanh, asinh, acosh, atanh.
13777 * benchtests/acos-inputs: New file.
13778 * benchtests/acosh-inputs: New file.
13779 * benchtests/asin-inputs: New file.
13780 * benchtests/asinh-inputs: New file.
13781 * benchtests/atanh-inputs: New file.
13782 * benchtests/cosh-inputs: New file.
13783 * benchtests/log-inputs: New file.
13784 * benchtests/sinh-inputs: New file.
13785 * benchtests/tanh-inputs: New file.
13787 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13790 * posix/tst-getaddrinfo4.c: New test.
13791 * posix/Makefile (tests): Add it.
13793 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13796 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13797 when no services were used.
13798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13799 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13801 2013-05-21 Andreas Schwab <schwab@suse.de>
13804 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13805 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13807 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13808 redundant variable declarations and reallocation of buffer when
13809 parsing as IPv6 address. Always set NSS status when called from
13810 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13811 buffer too small. Correct computation of needed size.
13812 * nss/Makefile (tests): Add test-digits-dots.
13813 * nss/test-digits-dots.c: New test.
13815 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13817 * benchtests/Makefile: Remove instructions for adding
13819 * benchtests/README: New file to explain how to execute and
13820 enhance the benchmark tests.
13822 2013-05-21 Andreas Schwab <schwab@suse.de>
13825 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13826 * setjmp/tst-sigsetjmp.c: New test.
13828 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13830 * sysdeps/x86_64/memset.S (memset): New implementation.
13831 (__bzero): Likewise.
13832 (__memset_tail): New function.
13834 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13836 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13837 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13838 __memcpy_sse2_unaligned ifunc selection.
13839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13840 Add memcpy-sse2-unaligned.S.
13841 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13842 Add: __memcpy_sse2_unaligned.
13844 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13847 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13848 math_force_eval before restoring floating-point envrionment.
13849 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13850 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13852 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13854 (__nearbyintl): Use math_force_eval before restoring
13855 floating-point environment.
13856 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13858 * math/gen-libm-test.pl (special_functions): Remove.
13859 (parse_args): Don't handle TEST_extra. Handle functions with no
13861 * math/libm-test.inc (struct test_sincos_data): Replace with
13862 struct test_fFF_11_data.
13863 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13864 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13865 (sincos_test_data): Change element type to struct
13866 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13867 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13868 RUN_TEST_LOOP_sincos.
13869 * math/README.libm-test: Don't mention special handling of
13870 individual functions.
13871 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13872 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13873 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13874 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13875 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13878 * math/gen-libm-test.pl (get_variable): Remove function.
13879 (parse_args): Don't show pointer parameters to call in test
13880 names. Use "extra output N" in test names for extra outputs
13881 rather than naming variables.
13883 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13886 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13887 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13888 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13890 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13892 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13895 * math/gen-libm-test.pl (@tests): Remove variable.
13896 ($count): Likewise.
13897 (new_test): Remove function.
13898 (show_exceptions): New function.
13899 (special_functions): Use show_exceptions instead of new_test.
13900 (parse_args): Likewise.
13901 (generate_testfile): Pass only function name in generated call to
13902 print_max_error or print_complex_max_error.
13903 (get_ulps): Do not handle complex tests specially.
13904 (output_test): Rename to ...
13905 (get_all_ulps_for_test): ... this. Return a string rather than
13906 printing to a file. Require ulps to be present.
13907 (output_ulps): Generate arrays rather than #defines.
13908 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13909 (struct ulp_data): New type.
13910 (BUILD_COMPLEX_ULP): Remove macro.
13911 (compare_ulp_data): New function.
13912 (find_ulps): Likewise.
13913 (find_test_ulps): Likewise.
13914 (find_function_ulps): Likewise.
13915 (find_complex_function_ulps): Likewise.
13916 (print_max_error): Determine allowed ulps using
13917 find_function_ulps.
13918 (print_complex_max_error): Determine allowed ulps using
13919 find_complex_function_ulps.
13920 (check_float_internal): Determine max ulps using find_test_ulps.
13921 (check_float): Do not take max_ulp parameter. Update call to
13922 check_float_internal.
13923 (check_complex): Likewise.
13924 (check_int): Do not take max_ulp parameter.
13925 (check_long): Likewise.
13926 (check_bool): Likewise.
13927 (check_longlong): Likewise.
13928 (struct test_f_f_data): Remove max_ulp field.
13929 (struct test_ff_f_data): Likewise.
13930 (struct test_ff_f_data_nexttoward): Likewise.
13931 (struct test_fi_f_data): Likewise.
13932 (struct test_fl_f_data): Likewise.
13933 (struct test_if_f_data): Likewise.
13934 (struct test_fff_f_data): Likewise.
13935 (struct test_c_f_data): Likewise.
13936 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13937 (struct test_fF_f1_data): Likewise.
13938 (struct test_ffI_f1_data): Likewise.
13939 (struct test_c_c_data): Remove max_ulp field.
13940 (struct test_cc_c_data): Likewise.
13941 (struct test_f_i_data): Likewise.
13942 (struct test_ff_i_data): Likewise.
13943 (struct test_f_l_data): Likewise.
13944 (struct test_f_L_data): Likewise.
13945 (struct test_sincos_data): Likewise.
13946 (RUN_TEST_f_f): Do not handle ulps.
13947 (RUN_TEST_LOOP_f_f): Likewise.
13948 (RUN_TEST_2_f): Likewise.
13949 (RUN_TEST_LOOP_2_f): Likewise.
13950 (RUN_TEST_fff_f): Likewise.
13951 (RUN_TEST_LOOP_fff_f): Likewise.
13952 (RUN_TEST_c_f): Likewise.
13953 (RUN_TEST_LOOP_c_f): Likewise.
13954 (RUN_TEST_f_f1): Likewise.
13955 (RUN_TEST_LOOP_f_f1): Likewise.
13956 (RUN_TEST_fF_f1): Likewise.
13957 (RUN_TEST_LOOP_fF_f1): Likewise.
13958 (RUN_TEST_fI_f1): Likewise.
13959 (RUN_TEST_LOOP_fI_f1): Likewise.
13960 (RUN_TEST_ffI_f1): Likewise.
13961 (RUN_TEST_LOOP_ffI_f1): Likewise.
13962 (RUN_TEST_c_c): Likewise.
13963 (RUN_TEST_LOOP_c_c): Likewise.
13964 (RUN_TEST_cc_c): Likewise.
13965 (RUN_TEST_LOOP_cc_c): Likewise.
13966 (RUN_TEST_f_i): Likewise.
13967 (RUN_TEST_LOOP_f_i): Likewise.
13968 (RUN_TEST_f_i_tg): Likewise.
13969 (RUN_TEST_LOOP_f_i_tg): Likewise.
13970 (RUN_TEST_ff_i_tg): Likewise.
13971 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13972 (RUN_TEST_f_b): Likewise.
13973 (RUN_TEST_LOOP_f_b): Likewise.
13974 (RUN_TEST_f_b_tg): Likewise.
13975 (RUN_TEST_LOOP_f_b_tg): Likewise.
13976 (RUN_TEST_f_l): Likewise.
13977 (RUN_TEST_LOOP_f_l): Likewise.
13978 (RUN_TEST_f_L): Likewise.
13979 (RUN_TEST_LOOP_f_L): Likewise.
13980 (RUN_TEST_sincos): Likewise.
13981 (RUN_TEST_LOOP_sincos): Likewise.
13983 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13987 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13988 main case of finite arguments, set rounding mode to FE_TONEAREST
13989 and discard exceptions.
13990 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13992 (remainder_tonearest_test_data): New variable.
13993 (remainder_test_tonearest): New function.
13994 (remainder_towardzero_test_data): New variable.
13995 (remainder_test_towardzero): New function.
13996 (remainder_downward_test_data): New variable.
13997 (remainder_test_downward): New function.
13998 (remainder_upward_test_data): New variable.
13999 (remainder_test_upward): New function.
14000 (main): Call the new test functions.
14002 * math/libm-test.inc (struct test_f_f1_data): Remove field
14004 (struct test_fF_f1_data): Likewise.
14005 (struct test_ffI_f1_data): Likewise.
14006 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14007 based on value of EXTRA_EXPECTED.
14008 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14009 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14010 EXTRA_VAR based on value of EXTRA_EXPECTED.
14011 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14012 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14013 EXTRA_VAR based on value of EXTRA_EXPECTED.
14014 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14015 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14016 EXTRA_VAR based on value of EXTRA_EXPECTED.
14017 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14018 * math/gen-libm-test.pl (parse_args): Don't output initializers
14019 for extra output values.
14021 * math/libm-test.inc (check_int): Expect result to be exactly
14022 equal to expected value and do not handle ulps.
14023 (check_long): Likewise.
14024 (check_longlong): Likewise.
14026 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14028 (cimag_test_data): Likewise.
14029 (conj_test_data): Likewise.
14030 (copysign_test_data): Likewise.
14031 (cproj_test_data): Likewise.
14032 (creal_test_data): Likewise.
14033 (fabs_test_data): Likewise.
14034 (fdim_test_data): Likewise.
14035 (finite_test_data): Likewise.
14036 (floor_test_data): Likewise.
14037 (fmax_test_data): Likewise.
14038 (fmin_test_data): Likewise.
14039 (fmod_test_data): Likewise.
14040 (fpclassify_test_data): Likewise.
14041 (frexp_test_data): Likewise.
14042 (ilogb_test_data): Likewise.
14043 (isfinite_test_data): Likewise.
14044 (isgreater_test_data): Likewise.
14045 (isgreaterequal_test_data): Likewise.
14046 (isinf_test_data): Likewise.
14047 (isless_test_data): Likewise.
14048 (islessequal_test_data): Likewise.
14049 (islessgreater_test_data): Likewise.
14050 (isnan_test_data): Likewise.
14051 (isnormal_test_data): Likewise.
14052 (issignaling_test_data): Likewise.
14053 (isunordered_test_data): Likewise.
14054 (ldexp_test_data): Likewise.
14055 (lrint_test_data): Likewise.
14056 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14057 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14058 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14059 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14060 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14061 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14063 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14064 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14065 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14066 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14068 (lrint_downward_test_data): Test for "inexact" exceptions.
14069 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14070 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14071 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14073 (lrint_upward_test_data): Test for "inexact" exceptions.
14074 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14076 (llrint_test_data): Test for "inexact" exceptions.
14077 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14078 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14079 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14080 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14081 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14082 (llrint_downward_test_data): Test for "inexact" exceptions.
14083 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14084 (llrint_upward_test_data): Test for "inexact" exceptions.
14085 (logb_test_data): Likewise.
14086 (logb_downward_test_data): Likewise.
14087 (nextafter_test_data): Likewise.
14088 (nexttoward_test_data): Likewise.
14089 (remainder_test_data): Likewise.
14090 (remquo_test_data): Likewise.
14091 (scalbn_test_data): Likewise.
14092 (scalbln_test_data): Likewise.
14093 (signbit_test_data): Likewise.
14094 (sqrt_test_data): Likewise.
14095 (significand_test_data): Likewise.
14097 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14100 * benchtests/bench-modf.c (struct args): Mark arg0 as
14102 * scripts/bench.pl: Mark members of struct args as volatile.
14104 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14107 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14108 negative infinity on POWER6 or lower.
14109 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14111 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14114 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14115 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14116 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14117 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14118 (_FP_SETQNAN): New macro.
14119 (_FP_SETQNAN_SEMIRAW): Likewise.
14120 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14121 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14122 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14123 (FP_EXTEND): Use _FP_FRAC_SNANP.
14124 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14125 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14127 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14129 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14132 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14134 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14135 with DIVIDE_BY_ZERO_EXCEPTION.
14136 (gamma_test_data): Likewise.
14137 (lgamma_test_data): Likewise.
14138 (log_test_data): Likewise.
14139 (log10_test_data): Likewise.
14140 (log2_test_data): Likewise.
14141 (tgamma_test_data): Likewise.
14143 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14144 (acos_test_tonearest): Likewise.
14145 (acos_test_towardzero): Likewise.
14146 (acos_test_downward): Likewise.
14147 (acos_test_upward): Likewise.
14148 (acosh_test): Likewise.
14149 (asin_test): Likewise.
14150 (asin_test_tonearest): Likewise.
14151 (asin_test_towardzero): Likewise.
14152 (asin_test_downward): Likewise.
14153 (asin_test_upward): Likewise.
14154 (asinh_test): Likewise.
14155 (atan_test): Likewise.
14156 (atanh_test): Likewise.
14157 (atan2_test): Likewise.
14158 (cabs_test): Likewise.
14159 (cacos_test): Likewise.
14160 (cacosh_test): Likewise.
14161 (casin_test): Likewise.
14162 (casinh_test): Likewise.
14163 (catan_test): Likewise.
14164 (catanh_test): Likewise.
14165 (cbrt_test): Likewise.
14166 (ccos_test): Likewise.
14167 (ccosh_test): Likewise.
14168 (cexp_test): Likewise.
14169 (clog_test): Likewise.
14170 (clog10_test): Likewise.
14171 (cos_test): Likewise.
14172 (cos_test_tonearest): Likewise.
14173 (cos_test_towardzero): Likewise.
14174 (cos_test_downward): Likewise.
14175 (cos_test_upward): Likewise.
14176 (cosh_test): Likewise.
14177 (cosh_test_tonearest): Likewise.
14178 (cosh_test_towardzero): Likewise.
14179 (cosh_test_downward): Likewise.
14180 (cosh_test_upward): Likewise.
14181 (cpow_test): Likewise.
14182 (csin_test): Likewise.
14183 (csinh_test): Likewise.
14184 (csqrt_test): Likewise.
14185 (ctan_test): Likewise.
14186 (ctan_test_tonearest): Likewise.
14187 (ctan_test_towardzero): Likewise.
14188 (ctan_test_downward): Likewise.
14189 (ctan_test_upward): Likewise.
14190 (ctanh_test): Likewise.
14191 (ctanh_test_tonearest): Likewise.
14192 (ctanh_test_towardzero): Likewise.
14193 (ctanh_test_downward): Likewise.
14194 (ctanh_test_upward): Likewise.
14195 (erf_test): Likewise.
14196 (erfc_test): Likewise.
14197 (exp_test): Likewise.
14198 (exp_test_tonearest): Likewise.
14199 (exp_test_towardzero): Likewise.
14200 (exp_test_downward): Likewise.
14201 (exp_test_upward): Likewise.
14202 (exp10_test): Likewise.
14203 (exp2_test): Likewise.
14204 (expm1_test): Likewise.
14205 (fmod_test): Likewise.
14206 (gamma_test): Likewise.
14207 (hypot_test): Likewise.
14208 (j0_test): Likewise.
14209 (j1_test): Likewise.
14210 (jn_test): Likewise.
14211 (lgamma_test): Likewise.
14212 (log_test): Likewise.
14213 (log10_test): Likewise.
14214 (log1p_test): Likewise.
14215 (log2_test): Likewise.
14216 (logb_test_downward): Likewise.
14217 (pow_test): Likewise.
14218 (pow_test_tonearest): Likewise.
14219 (pow_test_towardzero): Likewise.
14220 (pow_test_downward): Likewise.
14221 (pow_test_upward): Likewise.
14222 (remainder_test): Likewise.
14223 (remquo_test): Likewise.
14224 (sin_test): Likewise.
14225 (sin_test_tonearest): Likewise.
14226 (sin_test_towardzero): Likewise.
14227 (sin_test_downward): Likewise.
14228 (sin_test_upward): Likewise.
14229 (sincos_test): Likewise.
14230 (sinh_test): Likewise.
14231 (sinh_test_tonearest): Likewise.
14232 (sinh_test_towardzero): Likewise.
14233 (sinh_test_downward): Likewise.
14234 (sinh_test_upward): Likewise.
14235 (sqrt_test): Likewise.
14236 (tan_test): Likewise.
14237 (tan_test_tonearest): Likewise.
14238 (tan_test_towardzero): Likewise.
14239 (tan_test_downward): Likewise.
14240 (tan_test_upward): Likewise.
14241 (tanh_test): Likewise.
14242 (tgamma_test): Likewise.
14243 (y0_test): Likewise.
14244 (y1_test): Likewise.
14245 (yn_test): Likewise.
14247 * math/gen-libm-test.pl (adjust_arg): Remove function.
14248 (special_function): Remove argument $in_func. Only handle
14249 generating output for tables of tests, not inside functions.
14250 (parse_args): Likewise.
14251 (generate_testfile): Remove variable $in_func. Update call to
14253 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14254 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14255 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14256 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14257 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14258 (MAX_VALUE_INIT): Rename macro to max_value.
14259 (MIN_VALUE_INIT): Rename macro to min_value.
14260 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14261 (plus_zero): Remove variable.
14262 (minus_zero): Likewise.
14263 (plus_infty): Likewise.
14264 (minus_infty): Likewise.
14265 (qnan_value): Likewise.
14266 (max_value): Likewise.
14267 (min_value): Likewise.
14268 (min_subnorm_value): Likewise.
14270 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14272 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14273 uint64_t or uint32_t usage.
14274 * crypt/sha256-block.c: Likewise.
14275 * crypt/sha256-crypt.c: Likewise.
14276 * crypt/sha256.c: Likewise.
14277 * crypt/sha512-block.c: Likewise.
14278 * crypt/sha512-crypt.c: Likewise.
14279 * crypt/sha512.c: Likewise.
14280 * debug/backtrace-tst.c: Likewise.
14281 * debug/pcprofiledump.c: Likewise.
14282 * elf/cache.c: Likewise.
14283 * elf/dl-cache.c: Likewise.
14284 * elf/dl-misc.c: Likewise.
14285 * elf/dl-profile.c: Likewise.
14286 * elf/dl-support.c: Likewise.
14287 * elf/ldconfig.c: Likewise.
14288 * elf/sprof.c: Likewise.
14289 * iconv/dummy-repertoire.c: Likewise.
14290 * iconv/iconv_charmap.c: Likewise.
14291 * iconv/skeleton.c: Likewise.
14292 * iconvdata/8bit-generic.c: Likewise.
14293 * iconvdata/cp737.h: Likewise.
14294 * iconvdata/cp775.h: Likewise.
14295 * iconvdata/ibm1008.h: Likewise.
14296 * iconvdata/ibm1025.h: Likewise.
14297 * iconvdata/ibm1046.h: Likewise.
14298 * iconvdata/ibm1097.h: Likewise.
14299 * iconvdata/ibm1112.h: Likewise.
14300 * iconvdata/ibm1122.h: Likewise.
14301 * iconvdata/ibm1123.h: Likewise.
14302 * iconvdata/ibm1124.h: Likewise.
14303 * iconvdata/ibm1129.h: Likewise.
14304 * iconvdata/ibm1130.h: Likewise.
14305 * iconvdata/ibm1132.h: Likewise.
14306 * iconvdata/ibm1133.h: Likewise.
14307 * iconvdata/ibm1137.h: Likewise.
14308 * iconvdata/ibm1140.h: Likewise.
14309 * iconvdata/ibm1141.h: Likewise.
14310 * iconvdata/ibm1142.h: Likewise.
14311 * iconvdata/ibm1143.h: Likewise.
14312 * iconvdata/ibm1144.h: Likewise.
14313 * iconvdata/ibm1145.h: Likewise.
14314 * iconvdata/ibm1146.h: Likewise.
14315 * iconvdata/ibm1147.h: Likewise.
14316 * iconvdata/ibm1148.h: Likewise.
14317 * iconvdata/ibm1149.h: Likewise.
14318 * iconvdata/ibm1153.h: Likewise.
14319 * iconvdata/ibm1154.h: Likewise.
14320 * iconvdata/ibm1155.h: Likewise.
14321 * iconvdata/ibm1156.h: Likewise.
14322 * iconvdata/ibm1157.h: Likewise.
14323 * iconvdata/ibm1158.h: Likewise.
14324 * iconvdata/ibm1160.h: Likewise.
14325 * iconvdata/ibm1161.h: Likewise.
14326 * iconvdata/ibm1162.h: Likewise.
14327 * iconvdata/ibm1163.h: Likewise.
14328 * iconvdata/ibm1164.h: Likewise.
14329 * iconvdata/ibm1166.h: Likewise.
14330 * iconvdata/ibm1167.h: Likewise.
14331 * iconvdata/ibm12712.h: Likewise.
14332 * iconvdata/ibm1390.h: Likewise.
14333 * iconvdata/ibm1399.h: Likewise.
14334 * iconvdata/ibm16804.h: Likewise.
14335 * iconvdata/ibm4517.h: Likewise.
14336 * iconvdata/ibm4899.h: Likewise.
14337 * iconvdata/ibm4909.h: Likewise.
14338 * iconvdata/ibm4971.h: Likewise.
14339 * iconvdata/ibm5347.h: Likewise.
14340 * iconvdata/ibm803.h: Likewise.
14341 * iconvdata/ibm856.h: Likewise.
14342 * iconvdata/ibm901.h: Likewise.
14343 * iconvdata/ibm902.h: Likewise.
14344 * iconvdata/ibm9030.h: Likewise.
14345 * iconvdata/ibm9066.h: Likewise.
14346 * iconvdata/ibm921.h: Likewise.
14347 * iconvdata/ibm922.h: Likewise.
14348 * iconvdata/ibm9448.h: Likewise.
14349 * iconvdata/isiri-3342.h: Likewise.
14350 * iconvdata/jis0201.h: Likewise.
14351 * include/link.h: Likewise.
14352 * include/netdb.h: Likewise.
14353 * inet/check_native.c: Likewise.
14354 * inet/check_pf.c: Likewise.
14355 * inet/getipv4sourcefilter.c: Likewise.
14356 * inet/getnameinfo.c: Likewise.
14357 * inet/getsourcefilter.c: Likewise.
14358 * inet/htonl.c: Likewise.
14359 * inet/setipv4sourcefilter.c: Likewise.
14360 * inet/setsourcefilter.c: Likewise.
14361 * inet/test-inet6_opt.c: Likewise.
14362 * inet/tst-network.c: Likewise.
14363 * locale/C-collate.c: Likewise.
14364 * locale/C-ctype.c: Likewise.
14365 * locale/C-time.c: Likewise.
14366 * locale/C-translit.h: Likewise.
14367 * locale/loadarchive.c: Likewise.
14368 * locale/programs/3level.h: Likewise.
14369 * locale/programs/charmap.c: Likewise.
14370 * locale/programs/charmap.h: Likewise.
14371 * locale/programs/ld-address.c: Likewise.
14372 * locale/programs/ld-collate.c: Likewise.
14373 * locale/programs/ld-ctype.c: Likewise.
14374 * locale/programs/ld-identification.c: Likewise.
14375 * locale/programs/ld-measurement.c: Likewise.
14376 * locale/programs/ld-messages.c: Likewise.
14377 * locale/programs/ld-monetary.c: Likewise.
14378 * locale/programs/ld-name.c: Likewise.
14379 * locale/programs/ld-numeric.c: Likewise.
14380 * locale/programs/ld-paper.c: Likewise.
14381 * locale/programs/ld-telephone.c: Likewise.
14382 * locale/programs/ld-time.c: Likewise.
14383 * locale/programs/linereader.c: Likewise.
14384 * locale/programs/locale.c: Likewise.
14385 * locale/programs/locarchive.c: Likewise.
14386 * locale/programs/locfile.h: Likewise.
14387 * locale/programs/repertoire.c: Likewise.
14388 * locale/programs/simple-hash.c: Likewise.
14389 * locale/programs/simple-hash.h: Likewise.
14390 * malloc/memusage.c: Likewise.
14391 * malloc/memusagestat.c: Likewise.
14392 * nis/nis_defaults.c: Likewise.
14393 * nis/nis_hash.c: Likewise.
14394 * nis/nis_print.c: Likewise.
14395 * nis/nis_xdr.c: Likewise.
14396 * nscd/connections.c: Likewise.
14397 * nscd/hstcache.c: Likewise.
14398 * nscd/nscd_gethst_r.c: Likewise.
14399 * nscd/nscd_getserv_r.c: Likewise.
14400 * nscd/nscd_helper.c: Likewise.
14401 * nscd/servicescache.c: Likewise.
14402 * nss/makedb.c: Likewise.
14403 * nss/nss_db/db-XXX.c: Likewise.
14404 * nss/nss_db/db-initgroups.c: Likewise.
14405 * nss/nss_db/db-netgrp.c: Likewise.
14406 * nss/nss_files/files-network.c: Likewise.
14407 * nss/nss_files/files-parse.c: Likewise.
14408 * posix/bug-regex5.c: Likewise.
14409 * posix/fnmatch_loop.c: Likewise.
14410 * posix/regcomp.c: Likewise.
14411 * posix/regexec.c: Likewise.
14412 * posix/tst-rfc3484-2.c: Likewise.
14413 * posix/tst-rfc3484-3.c: Likewise.
14414 * posix/tst-rfc3484.c: Likewise.
14415 * resolv/nss_dns/dns-canon.c: Likewise.
14416 * resolv/nss_dns/dns-network.c: Likewise.
14417 * resolv/res_init.c: Likewise.
14418 * resolv/res_mkquery.c: Likewise.
14419 * resolv/tst-aton.c: Likewise.
14420 * stdlib/cxa_atexit.c: Likewise.
14421 * stdlib/cxa_finalize.c: Likewise.
14422 * stdlib/gen-fpioconst.c: Likewise.
14423 * stdlib/strtol_l.c: Likewise.
14424 * string/tst-endian.c: Likewise.
14425 * sunrpc/auth_des.c: Likewise.
14426 * sunrpc/clnt_udp.c: Likewise.
14427 * sunrpc/rtime.c: Likewise.
14428 * sunrpc/svcauth_des.c: Likewise.
14429 * sunrpc/xdr.c: Likewise.
14430 * sunrpc/xdr_intXX_t.c: Likewise.
14431 * sunrpc/xdr_rec.c: Likewise.
14432 * sysdeps/generic/ldconfig.h: Likewise.
14433 * sysdeps/generic/ldsodefs.h: Likewise.
14434 * sysdeps/generic/memusage.h: Likewise.
14435 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14436 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14437 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14438 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14439 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14440 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14441 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14442 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14443 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14444 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14445 * sysdeps/posix/getaddrinfo.c: Likewise.
14446 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14447 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14448 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14449 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14450 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14451 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14452 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14453 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14454 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14455 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14456 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14457 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14458 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14459 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14460 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14461 * sysdeps/x86_64/dl-tls.h: Likewise.
14462 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14463 * time/alt_digit.c: Likewise.
14464 * time/era.c: Likewise.
14465 * wcsmbs/tst-c16c32-1.c: Likewise.
14467 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14469 * math/libm-test.inc (struct test_sincos_data): New type.
14470 (RUN_TEST_LOOP_sincos): New macro.
14471 (sincos_test_data): New variable.
14472 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14474 2013-05-16 Richard Henderson <rth@redhat.com>
14476 * math/atest-exp2.c (LIMB64): New macro.
14477 (CONSTSZ): New macro.
14478 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14480 (print_mpn_fp): ... to function scope.
14481 (read_mpn_hex): Remove.
14482 (get_log2): Remove.
14483 (exp2_mpn): Use mp_log2.
14484 (main): Use mp_exp1.
14486 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14488 * math/libm-test.inc: Remove comment about not testing "inexact"
14490 (INEXACT_EXCEPTION): New macro.
14491 (NO_INEXACT_EXCEPTION): Likewise.
14492 (INVALID_EXCEPTION_OK): Update value.
14493 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14494 (OVERFLOW_EXCEPTION_OK): Likewise.
14495 (UNDERFLOW_EXCEPTION_OK): Likewise.
14496 (IGNORE_ZERO_INF_SIGN): Likewise.
14497 (ERRNO_UNCHANGED): Likewise.
14498 (ERRNO_EDOM): Likewise.
14499 (ERRNO_ERANGE): Likewise.
14500 (test_exceptions): Handle testing "inexact" exceptions.
14501 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14502 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14503 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14504 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14506 (rint_towardzero_test_data): Likewise.
14507 (rint_downward_test_data): Likewise.
14508 (rint_upward_test_data): Likewise.
14510 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14511 with OVERFLOW_EXCEPTION.
14512 (exp10_test_data): Likewise.
14513 (exp2_test_data): Likewise.
14514 (expm1_test_data): Likewise.
14515 (lgamma_test_data): Likewise.
14516 (pow_test_data): Likewise.
14517 (tgamma_test_data): Likewise.
14518 (yn_test_data): Remove duplicate test of overflow.
14520 * math/libm-test.inc (struct test_cc_c_data): New type.
14521 (RUN_TEST_LOOP_cc_c): New macro.
14522 (cpow_test_data): New variable.
14523 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14525 * math/libm-test.inc (struct test_f_L_data): New type.
14526 (RUN_TEST_LOOP_f_L): New macro.
14527 (llrint_test_data): New variable.
14528 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14529 (llrint_tonearest_test_data): New variable.
14530 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14531 (llrint_towardzero_test_data): New variable.
14532 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14533 (llrint_downward_test_data): New variable.
14534 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14535 (llrint_upward_test_data): New variable.
14536 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14537 (llround_test_data): New variable.
14538 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14540 2013-05-13 Peter Collingbourne <pcc@google.com>
14542 * math/atest-exp2.c (get_log2): Remove const attribute.
14544 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14546 * math/libm-test.inc (struct test_f_l_data): New type.
14547 (RUN_TEST_LOOP_f_l): New macro.
14548 (lrint_test_data): New variable.
14549 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14550 (lrint_tonearest_test_data): New variable.
14551 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14552 (lrint_towardzero_test_data): New variable.
14553 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14554 (lrint_downward_test_data): New variable.
14555 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14556 (lrint_upward_test_data): New variable.
14557 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14558 (lround_test_data): New variable.
14559 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14561 2013-05-15 Peter Collingbourne <pcc@google.com>
14563 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14564 (EXTRACT_WORDS64) Use where appropriate.
14565 (INSERT_WORDS64) Likewise.
14567 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14568 constraints with x constraints.
14569 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14571 * malloc/obstack.c (_obstack_compat): Add initializer.
14573 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14575 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14576 si_trapno and add si_addr_lsb to _sifields.sigfault.
14577 (si_trapno): Remove macro.
14578 (si_addr_lsb): Define new macro.
14579 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14581 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14583 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14584 instead of TEST_f_l.
14585 (llrint_test_tonearest): Likewise.
14586 (llrint_test_towardzero): Likewise.
14587 (llrint_test_downward): Likewise.
14588 (llrint_test_upward): Likewise.
14589 (llround_test): Likewise.
14591 * math/libm-test.inc (struct test_f_i_data): Add comment.
14592 (RUN_TEST_LOOP_f_b): New macro.
14593 (RUN_TEST_LOOP_f_b_tg): Likewise.
14594 (finite_test_data): New variable.
14595 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14596 (isfinite_test_data): New variable.
14597 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14598 (isinf_test_data): New variable.
14599 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14600 (isnan_test_data): New variable.
14601 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14602 (isnormal_test_data): New variable.
14603 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14604 (issignaling_test_data): New variable.
14605 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14606 (signbit_test_data): New variable.
14607 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14609 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14610 with INVALID_EXCEPTION.
14611 (acosh_test_data): Likewise.
14612 (asin_test_data): Likewise.
14613 (atanh_test_data): Likewise.
14614 (fmod_test_data): Likewise.
14615 (log_test_data): Likewise.
14616 (log10_test_data): Likewise.
14617 (log2_test_data): Likewise.
14618 (pow_test_data): Likewise.
14619 (sqrt_test_data): Likewise.
14620 (y0_test_data): Likewise.
14621 (y1_test_data): Likewise.
14622 (yn_test_data): Likewise.
14624 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14627 * math/libm-test.inc (struct test_ff_i_data): New type.
14628 (RUN_TEST_LOOP_ff_i_tg): New macro.
14629 (isgreater_test_data): New variable.
14630 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14631 (isgreaterequal_test_data): New variable.
14632 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14633 (isless_test_data): New variable.
14634 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14635 (islessequal_test_data): New variable.
14636 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14637 (islessgreater_test_data): New variable.
14638 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14639 (isunordered_test_data): New variable.
14640 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14642 2013-05-14 David S. Miller <davem@davemloft.net>
14644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14646 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14648 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14650 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14652 (struct test_f_i_data): Change type of max_ulp to int.
14654 * math/libm-test.inc (test_ffI_f1_data): New type.
14655 (RUN_TEST_LOOP_ffI_f1): New macro.
14656 (remquo_test_data): New variable.
14657 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14659 * setjmp/tst-setjmp-fp.c: New file.
14660 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14661 (link-libm): New variable.
14662 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14664 * math/libm-test.inc (struct test_f_i_data): New type.
14665 (RUN_TEST_LOOP_f_i): New macro.
14666 (RUN_TEST_LOOP_f_i_tg): Likewise.
14667 (fpclassify_test_data): New variable.
14668 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14669 (ilogb_test_data): New variable.
14670 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14672 * math/libm-test.inc (scalbln_test): Correct function name in END
14675 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14676 (RUN_TEST_LOOP_fI_f1): New macro.
14677 (frexp_test_data): New variable.
14678 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14680 * math/libm-test.inc (struct test_fF_f1_data): New type.
14681 (RUN_TEST_LOOP_fF_f1): New macro.
14682 (modf_test_data): New variable.
14683 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14685 * math/libm-test.inc (struct test_f_f1_data): New type.
14686 (RUN_TEST_LOOP_f_f1): New macro.
14687 (gamma_test_data): New variable.
14688 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14689 (lgamma_test_data): New variable.
14690 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14692 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14694 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14695 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14696 (main): Comment "tls" pseudo-hwcap.
14698 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14700 * math/libm-test.inc (struct test_fl_f_data): New type.
14701 (RUN_TEST_LOOP_fl_f): New variable.
14702 (scalbln_test_data): New variable.
14703 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14705 * math/libm-test.inc (struct test_fi_f_data): New type.
14706 (RUN_TEST_LOOP_fi_f): New macro.
14707 (ldexp_test_data): New variable.
14708 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14709 (scalbn_test_data): New variable.
14710 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14712 * math/libm-test.inc (struct test_c_f_data): New type.
14713 (RUN_TEST_LOOP_c_f): New macro.
14714 (cabs_test_data): New variable.
14715 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14716 (carg_test_data): New variable.
14717 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14718 (cimag_test_data): New variable.
14719 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14720 (creal_test_data): New variable.
14721 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14723 * math/libm-test.inc (struct test_if_f_data): New type.
14724 (RUN_TEST_LOOP_if_f): New macro.
14725 (jn_test_data): New variable.
14726 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14727 (yn_test_data): New variable.
14728 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14730 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14732 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14734 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14735 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14737 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14739 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14740 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14741 (bench-deps): Add bench-timing.h.
14742 * benchtests-bench-skeleton.c: Include bench-timing.h.
14743 (main): Use TIMING_* macros instead of clock_gettime.
14744 * benchtests/bench-timing.h: New file.
14747 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14748 Renamed from _LIB_VERSION.
14749 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14751 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14753 * math/libm-test.inc (struct test_fff_f_data): New type.
14754 (RUN_TEST_LOOP_fff_f): New macro.
14755 (fma_test_data): New variable.
14756 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14757 (fma_towardzero_test_data): New variable.
14758 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14759 (fma_downward_test_data): New variable.
14760 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14761 (fma_upward_test_data): New variable.
14762 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14764 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14765 (struct test_c_c_data): New type.
14766 (RUN_TEST_LOOP_c_c): New macro.
14767 (cacos_test_data): New variable.
14768 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14769 (cacosh_test_data): New variable.
14770 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14771 (casin_test_data): New variable.
14772 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14773 (casinh_test_data): New variable.
14774 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14775 (catan_test_data): New variable.
14776 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14777 (catanh_test_data): New variable.
14778 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14779 (ccos_test_data): New variable.
14780 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14781 (ccosh_test_data): New variable.
14782 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14783 (cexp_test_data): New variable.
14784 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14785 (clog_test_data): New variable.
14786 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14787 (clog10_test_data): New variable.
14788 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14789 (conj_test_data): New variable.
14790 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14791 (cproj_test_data): New variable.
14792 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14793 (csin_test_data): New variable.
14794 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14795 (csinh_test_data): New variable.
14796 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14797 (csqrt_test_data): New variable.
14798 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14799 (ctan_test_data): New variable.
14800 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14801 (ctan_tonearest_test_data): New variable.
14802 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14803 (ctan_towardzero_test_data): New variable.
14804 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14805 (ctan_downward_test_data): New variable.
14806 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14807 (ctan_upward_test_data): New variable.
14808 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14809 (ctanh_test_data): New variable.
14810 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14811 (ctanh_tonearest_test_data): New variable.
14812 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14813 (ctanh_towardzero_test_data): New variable.
14814 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14815 (ctanh_downward_test_data): New variable.
14816 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14817 (ctanh_upward_test_data): New variable.
14818 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14819 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14822 * math/libm-test.inc (struct test_ff_f_data): New type.
14823 (struct test_ff_f_data_nexttoward): Likewise.
14824 (RUN_TEST_LOOP_2_f): New macro.
14825 (RUN_TEST_LOOP_ff_f): Likewise.
14826 (atan2_test_data): New variable.
14827 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14828 (copysign_test_data): New variable.
14829 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14830 (fdim_test_data): New variable.
14831 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14832 (fmax_test_data): New variable.
14833 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14834 (fmin_test_data): New variable.
14835 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14836 (fmod_test_data): New variable.
14837 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14838 (hypot_test_data): New variable.
14839 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14840 (nextafter_test_data): New variable.
14841 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14842 (nexttoward_test_data): New variable.
14843 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14844 (pow_test_data): New variable.
14845 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14846 (pow_tonearest_test_data): New variable.
14847 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14848 (pow_towardzero_test_data): New variable.
14849 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14850 (pow_downward_test_data): New variable.
14851 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14852 (pow_upward_test_data): New variable.
14853 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14854 (remainder_test_data): New variable.
14855 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14856 (scalb_test_data): New variable.
14857 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14858 * sysdeps/i386/fpu/libm-test-ulps: Update.
14860 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14862 * math/libm-test.inc (fma_test): Use max_value instead of local
14864 (nextafter_test): Likewise.
14866 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14867 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14868 (acos_downward_test_data): New variable.
14869 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14870 (acos_upward_test_data): New variable.
14871 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14872 (acosh_test_data): New variable.
14873 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14874 (asin_test_data): New variable.
14875 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14876 (asin_tonearest_test_data): New variable.
14877 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14878 (asin_towardzero_test_data): New variable.
14879 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14880 (asin_downward_test_data): New variable.
14881 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14882 (asin_upward_test_data): New variable.
14883 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14884 (asinh_test_data): New variable.
14885 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14886 (atan_test_data): New variable.
14887 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14888 (atanh_test_data): New variable.
14889 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14890 (cbrt_test_data): New variable.
14891 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14892 (ceil_test_data): New variable.
14893 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14894 (cos_test_data): New variable.
14895 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14896 (cos_tonearest_test_data): New variable.
14897 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14898 (cos_towardzero_test_data): New variable.
14899 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14900 (cos_downward_test_data): New variable.
14901 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14902 (cos_upward_test_data): New variable.
14903 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14904 (cosh_test_data): New variable.
14905 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14906 (cosh_tonearest_test_data): New variable.
14907 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14908 (cosh_towardzero_test_data): New variable.
14909 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14910 (cosh_downward_test_data): New variable.
14911 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14912 (cosh_upward_test_data): New variable.
14913 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14914 (erf_test_data): New variable.
14915 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14916 (erfc_test_data): New variable.
14917 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14918 (exp_test_data): New variable.
14919 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14920 (exp_tonearest_test_data): New variable.
14921 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14922 (exp_towardzero_test_data): New variable.
14923 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14924 (exp_downward_test_data): New variable.
14925 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14926 (exp_upward_test_data): New variable.
14927 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14928 (exp10_test_data): New variable.
14929 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14930 (exp2_test_data): New variable.
14931 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14932 (expm1_test_data): New variable.
14933 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14934 (fabs_test_data): New variable.
14935 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14936 (floor_test_data): New variable.
14937 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14938 (j0_test_data): New variable.
14939 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14940 (j1_test_data): New variable.
14941 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14942 (log_test_data): New variable.
14943 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14944 (log10_test_data): New variable.
14945 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14946 (log1p_test_data): New variable.
14947 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14948 (log2_test_data): New variable.
14949 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14950 (logb_test_data): New variable.
14951 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14952 (logb_downward_test_data): New variable.
14953 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14954 (nearbyint_test_data): New variable.
14955 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14956 (rint_test_data): New variable.
14957 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14958 (rint_tonearest_test_data): New variable.
14959 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14960 (rint_towardzero_test_data): New variable.
14961 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14962 (rint_downward_test_data): New variable.
14963 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14964 (rint_upward_test_data): New variable.
14965 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14966 (round_test_data): New variable.
14967 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14968 (sin_test_data): New variable.
14969 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14970 (sin_tonearest_test_data): New variable.
14971 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14972 (sin_towardzero_test_data): New variable.
14973 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14974 (sin_downward_test_data): New variable.
14975 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14976 (sin_upward_test_data): New variable.
14977 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14978 (sinh_test_data): New variable.
14979 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14980 (sinh_tonearest_test_data): New variable.
14981 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14982 (sinh_towardzero_test_data): New variable.
14983 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14984 (sinh_downward_test_data): New variable.
14985 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14986 (sinh_upward_test_data): New variable.
14987 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14988 (sqrt_test_data): New variable.
14989 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14990 (tan_test_data): New variable.
14991 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14992 (tan_tonearest_test_data): New variable.
14993 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14994 (tan_towardzero_test_data): New variable.
14995 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14996 (tan_downward_test_data): New variable.
14997 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14998 (tan_upward_test_data): New variable.
14999 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15000 (tanh_test_data): New variable.
15001 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15002 (tgamma_test_data): New variable.
15003 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15004 (trunc_test_data): New variable.
15005 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15006 (y0_test_data): New variable.
15007 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15008 (y1_test_data): New variable.
15009 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15010 (significand_test_data): New variable.
15011 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15013 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15016 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15018 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15020 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15022 2013-05-10 Andreas Jaeger <aj@suse.de>
15025 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15026 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15028 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15030 * math/gen-libm-test.pl (adjust_arg): New function.
15031 (special_functions): Handle generating output in both functions
15033 (parse_args): Likewise.
15034 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15035 $in_func argument to parse_args.
15036 * math/libm-test.inc (struct test_f_f_data): New type.
15037 (IF_ROUND_INIT_): New macro.
15038 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15039 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15040 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15041 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15042 (ROUND_RESTORE_): Likewise.
15043 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15044 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15045 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15046 (ROUND_RESTORE_FE_UPWARD): Likewise.
15047 (RUN_TEST_LOOP_f_f): New macro.
15048 (acos_test_data): New variable.
15049 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15050 (acos_tonearest_test_data): New variable.
15051 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15053 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15055 * benchtests/bench-skeleton.c (startup): Fix coding style.
15057 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15060 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15061 negative infinity argument.
15062 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15063 negative infinity argument.
15064 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15065 negative infinity argument.
15066 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15069 2013-05-10 Florian Weimer <fweimer@redhat.com>
15071 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15072 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15073 * iconv/iconv_prog.c (main): Likewise.
15074 * locale/programs/charmap-dir.c (charmap_readdir)
15075 (fopen_uncompressed): Likewise.
15076 * locale/programs/locfile.c (siblings_uncached)
15077 (write_locale_data): Use lstat64 instead of lstat.
15078 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15081 2013-05-10 Andreas Jaeger <aj@suse.de>
15084 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15086 Include <locale.h>.
15088 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15090 * elf/dl-close.c (_dl_close_worker): Add comments.
15092 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15095 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15097 (__ieee754_rem_pio2l): Update comments.
15100 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15102 (__ieee754_rem_pio2l): Update comments.
15104 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15105 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15107 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15110 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15111 (M_PI_34_LOG10El): Likewise.
15112 (M_PI2_LOG10El): Likewise.
15113 (M_PI4_LOG10El): Likewise.
15114 (M_PI_LOG10El): Likewise.
15116 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15120 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15122 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15123 (MINUS_ZERO_INIT): Likewise.
15124 (PLUS_INFTY_INIT): Likewise.
15125 (MINUS_INFTY_INIT): Likewise.
15126 (QNAN_VALUE_INIT): Likewise.
15127 (MAX_VALUE_INIT): Likewise.
15128 (MIN_VALUE_INIT): Likewise.
15129 (MIN_SUBNORM_VALUE_INIT): Likewise.
15130 (plus_zero): Initialize with PLUS_ZERO_INIT.
15131 (minus_zero): Initialize with MINUS_ZERO_INIT.
15132 (plus_infty): Initialize with PLUS_INFTY_INIT.
15133 (minus_infty): Initialize with MINUS_INFTY_INIT.
15134 (qnan_value): Initialize with QNAN_VALUE_INIT.
15135 (max_value): Initialize with MAX_VALUE_INIT.
15136 (min_value): Initialize with MIN_VALUE_INIT.
15137 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15139 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15140 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15141 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15142 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15144 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15145 (RUN_TEST_2_f): Likewise.
15146 (RUN_TEST_ff_f): Likewise.
15147 (RUN_TEST_fi_f): Likewise.
15148 (RUN_TEST_fl_f): Likewise.
15149 (RUN_TEST_fff_f): Likewise.
15150 (RUN_TEST_c_f): Likewise.
15151 (RUN_TEST_f_f1): Likewise.
15152 (RUN_TEST_fF_f1): Likewise.
15153 (RUN_TEST_fI_f1): Likewise.
15154 (RUN_TEST_ffI_f1): Likewise.
15155 (RUN_TEST_c_c): Likewise.
15156 (RUN_TEST_cc_c): Likewise.
15157 (RUN_TEST_f_i): Likewise.
15158 (RUN_TEST_f_i_tg): Likewise.
15159 (RUN_TEST_ff_i_tg): Likewise.
15160 (RUN_TEST_f_b): Likewise.
15161 (RUN_TEST_f_b_tg): Likewise.
15162 (RUN_TEST_f_l): Likewise.
15163 (RUN_TEST_f_L): Likewise.
15164 (RUN_TEST_sincos): Likewise.
15165 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15166 whether to show exceptions. Do not include ");\n" in return
15168 (special_functions): Output call to RUN_TEST_sincos instead of
15169 check_float calls. Update calls to new_test.
15170 (parse_args): Output call to single RUN_TEST_* macro instead of
15171 check_* calls and other assignments. Update calls to new_test.
15177 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15178 input to result for tgamma overflow.
15179 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15180 (gamma_coeff): New variable.
15181 (NCOEFF): New macro.
15182 (gamma_positive): New function.
15183 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15184 underflow here. Use gamma_positive instead of exp (lgamma) for
15186 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15187 (gamma_coeff): New variable.
15188 (NCOEFF): New macro.
15189 (gammaf_positive): New function.
15190 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15191 underflow here. Use gamma_positive instead of exp (lgamma) for
15193 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15194 (gamma_coeff): New variable.
15195 (NCOEFF): New macro.
15196 (gammal_positive): New function.
15197 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15198 underflow here. Use gamma_positive instead of exp (lgamma) for
15200 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15201 (gamma_coeff): New variable.
15202 (NCOEFF): New macro.
15203 (gammal_positive): New function.
15204 (__ieee754_gammal_r): Handle positive infinity, overflow and
15205 underflow here. Handle NaN the same as positive infinity. Remove
15206 check x < 0xffffffff for negative integers. Use gamma_positive
15207 instead of exp (lgamma) for other arguments.
15208 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15209 (gamma_coeff): New variable.
15210 (NCOEFF): New macro.
15211 (gammal_positive): New function.
15212 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15213 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15214 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15215 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15216 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15217 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15218 * sysdeps/generic/math_private.h (__gamma_productf): New
15220 (__gamma_product): Likewise.
15221 (__gamma_productl): Likewise.
15222 * math/Makefile (libm-calls): Add gamma_product.
15223 * math/libm-test.inc (tgamma_test): Add more tests.
15224 * sysdeps/i386/fpu/libm-test-ulps: Update.
15225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15227 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15229 * benchtests/bench-skeleton.c (main): Preheat CPU.
15231 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15233 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15235 2013-05-07 Roland McGrath <roland@hack.frob.com>
15237 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15238 and _dl_skip_args_internal.
15240 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15242 * manual/message.texi (Message Translation): Talk about users.
15243 Message to key mapping impacts design.
15245 2013-05-06 Roland McGrath <roland@hack.frob.com>
15247 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15249 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15251 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15252 * sysdeps/wordsize-64/glob64.c: ... here.
15254 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15255 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15258 * debug/getlogin_r_chk.c: Moved to ...
15259 * login/getlogin_r_chk.c: ... here.
15260 * debug/Makefile (routines): Move getlogin_r_chk to ...
15261 * login/Makefile (routines): ... here.
15262 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15263 * login/Versions (libc: GLIBC_2.4): ... here.
15265 * io/poll.c (__poll): Renamed from poll.
15266 Add libc_hidden_def.
15267 (poll): Define as weak alias.
15269 * debug/ptsname_r_chk.c: Moved to ...
15270 * login/ptsname_r_chk.c: ... here.
15271 * debug/Makefile (routines): Move ptsname_r_chk to ...
15272 * login/Makefile (routines): ... here.
15273 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15274 * login/Versions (libc: GLIBC_2.4): ... here.
15276 * posix/getlogin.c: Moved to ...
15277 * login/getlogin.c: ... here.
15278 * posix/getlogin_r.c: Moved to ...
15279 * login/getlogin_r.c: ... here.
15280 * posix/getlogin_r.c: Moved to ...
15281 * login/getlogin_r.c: ... here.
15282 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15283 * login/Makefile (routines): ... here.
15284 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15285 * login/Versions (libc: GLIBC_2.0): ... here.
15287 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15288 (setrlimit): Define as weak alias.
15290 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15291 Call __ names for open, ftruncate, and close.
15292 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15293 (truncate): Define as weak alias.
15295 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15297 * math/gen-libm-test.pl (parse_args): Initialize x before each
15298 test of frexp, modf and remquo.
15300 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15301 test signgam value.
15303 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15307 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15309 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15311 2013-05-06 Roland McGrath <roland@hack.frob.com>
15313 * elf/dl-writev.h: New file.
15314 * elf/dl-misc.c: Include it.
15315 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15316 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15318 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15320 * math/libm-test.inc (noXFails): Remove variable.
15321 (noXPasses): Likewise.
15322 (BUILD_COMPLEX_INT): Remove macro.
15323 (print_screen): Remove xfail argument.
15324 (print_screen_max_error): Likewise.
15325 (update_stats): Likewise.
15326 (print_max_error): Likewise. Update calls to other affected
15328 (print_complex_max_error): Likewise.
15329 (test_single_exception): Update calls to print_screen.
15330 (test_single_errno): Likewise.
15331 (check_float_internal): Remove xfail argument. Update calls to
15332 other affected functions.
15333 (check_float): Likewise.
15334 (check_complex): Likewise.
15335 (check_int): Likewise.
15336 (check_long): Likewise.
15337 (check_bool): Likewise.
15338 (check_longlong): Likewise.
15339 (main): Don't print noXFails and noXPasses.
15340 * math/gen-libm-test.pl (top level): Don't mention expected
15341 failure handling in comment.
15342 (new_test): Don't handle expected failures.
15343 (parse_args): Don't mention expected failure handling in comment.
15344 (generate_testfile): Don't handle expected failures.
15345 (parse_ulps): Likewise.
15346 (print_ulps_file): Likewise.
15347 (get_failure): Remove function.
15348 (output_test): Don't handle expected failures.
15349 * make/README.libm-test: Don't mention expected failure handling.
15351 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15352 (minus_zero): Likewise.
15353 (plus_infty): Likewise.
15354 (minus_infty): Likewise.
15355 (qnan_value): Likewise.
15356 (max_value): Likewise.
15357 (min_value): Likewise.
15358 (min_subnorm_value): Likewise.
15359 (initialize): Do not initialize those variables dynamically.
15361 2013-05-03 Roland McGrath <roland@hack.frob.com>
15363 * io/open.c (__open_2): Moved to ...
15364 * io/open_2.c: ... this new file.
15365 * io/open64.c (__open64_2): Moved to ...
15366 * io/open64_2.c: ... this new file.
15367 * io/openat.c (__openat_2): Moved to ...
15368 * io/openat_2.c: ... this new file.
15369 * io/openat64.c (__openat64_2): Moved to ...
15370 * io/openat64_2.c: ... this new file.
15371 * io/Makefile (routines): Add them.
15372 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15373 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15374 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15375 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15376 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15377 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15378 (__openat64): Add hidden_ver.
15379 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15380 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15382 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15383 Separately conditionalize setting of GLRO(dl_sysinfo) so
15384 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15385 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15387 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15389 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15390 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15392 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15393 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15394 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15395 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15396 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15398 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15400 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15401 test signgam value.
15403 * math/libm-test.inc (hypot_test): Do not use
15404 IGNORE_ZERO_INF_SIGN.
15406 2013-05-03 Andreas Jaeger <aj@suse.de>
15408 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15410 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15411 (PF_MAX): Adjust for VSOCK change.
15413 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15417 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15420 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15421 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15422 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15424 2013-05-02 David S. Miller <davem@davemloft.net>
15426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15428 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15430 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15432 2013-05-01 Roland McGrath <roland@hack.frob.com>
15434 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15436 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15439 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15440 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15441 Use __attribute__ ((__gnu_inline__)).
15442 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15443 Don't use __attribute__ ((__gnu_inline__)).
15445 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15448 * math/s_catan.c (__catan): Handle small real or imaginary part of
15449 input specially to avoid spurious underflow.
15450 * math/s_catanf.c (__catanf): Likewise.
15451 * math/s_catanh.c (__catanh): Likewise.
15452 * math/s_catanhf.c (__catanhf): Likewise.
15453 * math/s_catanhl.c (__catanhl): Likewise.
15454 * math/s_catanl.c (__catanl): Likewise.
15455 * math/libm-test.inc (catan_test): Add more tests.
15456 (catanh_test): Likewise.
15457 * sysdeps/i386/fpu/libm-test-ulps: Update.
15458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15460 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15464 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15467 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15468 accurately for denominator in atan2.
15469 * math/s_catanf.c (__catanf): Likewise.
15470 * math/s_catanh.c (__catanh): Likewise.
15471 * math/s_catanhf.c (__catanhf): Likewise.
15472 * math/s_catanhl.c (__catanhl): Likewise.
15473 * math/s_catanl.c (__catanl): Likewise.
15474 * math/libm-test.inc (catan_test): Add more tests.
15475 (catanh_test): Likewise.
15476 * sysdeps/i386/fpu/libm-test-ulps: Update.
15477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15479 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15481 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15483 * benchtests/Makefile (bench): Remove slow benchmarks.
15484 * benchtests/atan-inputs: Add slow benchmark inputs.
15485 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15486 (BENCH_FUNC): Accept variant offset.
15488 * benchtests/bench-skeleton.c (main): Run benchmark for each
15490 * benchtests/cos-inputs: Add slow benchmark inputs.
15491 * benchtests/exp-inputs: Likewise.
15492 * benchtests/pow-inputs: Likewise.
15493 * benchtests/sin-inputs: Likewise.
15494 * benchtests/slowatan-inputs: Remove.
15495 * benchtests/slowatan.c: Remove.
15496 * benchtests/slowcos-inputs: Remove.
15497 * benchtests/slowcos.c: Remove.
15498 * benchtests/slowexp-inputs: Remove.
15499 * benchtests/slowexp.c: Remove.
15500 * benchtests/slowpow-inputs: Remove.
15501 * benchtests/slowpow.c: Remove.
15502 * benchtests/slowsin-inputs: Remove.
15503 * benchtests/slowsin.c: Remove.
15504 * benchtests/slowtan-inputs: Remove.
15505 * benchtests/slowtan.c: Remove.
15506 * benchtests/tan-inputs: Add slow benchmark inputs.
15507 * scripts/bench.pl: Parse comments and directives.
15509 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15511 ($(objpfx)bench-%.c): Remove *-ITER.
15512 * benchtests/bench-modf.c: Remove definition of ITER.
15513 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15514 (main): Loop for DURATION seconds instead of fixed number of
15516 * scripts/bench.pl: Don't expect iterations in parameters.
15518 2013-04-29 Roland McGrath <roland@hack.frob.com>
15520 * io/fchdir.c (__fchdir): Renamed from fchdir.
15521 (fchdir): Define as weak alias.
15523 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15525 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15526 (ERRNO_EDOM): Likewise.
15527 (ERRNO_ERANGE): Likewise.
15528 (noErrnoTests): New variable.
15529 (init_max_error): Set errno to 0.
15530 (test_single_errno): New function.
15531 (test_errno): Likewise.
15532 (check_float_internal): Call test_errno. Set errno to 0.
15533 (check_complex): Refer to errno tests in comment.
15534 (check_int): Call test_errno. Set errno to 0.
15535 (check_long): Likewise.
15536 (check_bool): Likewise.
15537 (check_longlong): Likewise.
15538 (cos_test): Use ERRNO_* flags for errno tests instead of
15540 (expm1_test): Likewise.
15541 (fmod_test): Likewise.
15542 (ilogb_test): Likewise.
15543 (lgamma_test): Likewise.
15544 (pow_test): Likewise.
15545 (remainder_test): Likewise.
15546 (sin_test): Likewise.
15547 (tan_test): Likewise.
15548 (yn_test): Likewise.
15549 (initialize): Set errno to 0.
15550 (main): Print number of errno tests.
15551 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15553 2013-04-29 Andreas Jaeger <aj@suse.de>
15556 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15560 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15561 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15565 * stdlib/random.c (__initstate): Return NULL if
15569 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15570 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15573 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15577 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15579 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15580 of individual tests.
15581 (casin_test): Likewise.
15582 (casinh_test): Likewise.
15584 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15587 * math/s_catan.c (__catan): Handle arguments with large real or
15588 imaginary part separately without squaring.
15589 * math/s_catanf.c (__catanf): Likewise.
15590 * math/s_catanh.c (__catanh): Likewise.
15591 * math/s_catanhf.c (__catanhf): Likewise.
15592 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15594 (__catanhl): Handle arguments with large real or imaginary part
15595 separately without squaring.
15596 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15598 (__catanl): Handle arguments with large real or imaginary part
15599 separately without squaring.
15600 * math/libm-test.inc (catan_test): Add more tests.
15601 (catanh_test): Likewise.
15602 * sysdeps/i386/fpu/libm-test-ulps: Update.
15603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15605 2013-04-27 Andreas Jaeger <aj@suse.de>
15608 * stdlib/stdlib.h: Update guards for qecvt.
15609 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15612 2013-04-27 Allan McRae <allan@archlinux.org>
15614 * sysdeps/i386/fpu/libm-test-ulps: Update.
15616 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15619 * math/s_catan.c: Include <float.h>.
15620 (__catan): Ensure underflow exception occurs for underflowed
15622 * math/s_catanf.c: Include <float.h>.
15623 (__catanf): Ensure underflow exception occurs for underflowed
15625 * math/s_catanh.c: Include <float.h>.
15626 (__catanh): Ensure underflow exception occurs for underflowed
15628 * math/s_catanhf.c: Include <float.h>.
15629 (__catanhf): Ensure underflow exception occurs for underflowed
15631 * math/s_catanhl.c: Include <float.h>.
15632 (__catanhl): Ensure underflow exception occurs for underflowed
15634 * math/s_catanl.c: Include <float.h>.
15635 (__catanl): Ensure underflow exception occurs for underflowed
15637 * math/libm-test.inc (catan_test): Add more tests.
15638 (catanh_test): Likewise.
15641 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15642 underflowed result.
15643 * math/s_ccoshf.c (__ccoshf): Likewise.
15644 * math/s_ccoshl.c (__ccoshl): Likewise.
15645 * math/s_csin.c (__csin): Likewise.
15646 * math/s_csinf.c (__csinf): Likewise.
15647 * math/s_csinh.c (__csinh): Likewise.
15648 * math/s_csinhf.c (__csinhf): Likewise.
15649 * math/s_csinhl.c (__csinhl): Likewise.
15650 * math/s_csinl.c (__csinl): Likewise.
15651 * math/libm-test.inc (ccos_test): Add more tests.
15652 (ccosh_test): Likewise.
15653 (csin_test): Likewise.
15654 (csinh_test): Likewise.
15656 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15658 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15659 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15660 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15661 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15662 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15663 powerpc/power5+/fpu folders.
15664 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15667 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15671 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15673 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15674 additions to variable.
15675 [$(config-machine) = x86_64] (modules-names): Likewise.
15676 ($(objpfx)tst-audit3): Remove dependency.
15677 ($(objpfx)tst-audit3.out): Likewise.
15678 ($(objpfx)tst-audit4): Likewise.
15679 ($(objpfx)tst-audit4.out): Likewise.
15680 ($(objpfx)tst-audit5): Likewise.
15681 ($(objpfx)tst-audit5.out): Likewise.
15682 ($(objpfx)tst-audit6): Likewise.
15683 ($(objpfx)tst-audit6.out): Likewise.
15684 ($(objpfx)tst-audit7): Likewise.
15685 ($(objpfx)tst-audit7.out): Likewise.
15686 (tst-audit3-ENV): Remove variable.
15687 (tst-audit4-ENV): Likewise.
15688 (tst-audit5-ENV): Likewise.
15689 (tst-audit6-ENV): Likewise.
15690 (tst-audit7-ENV): Likewise.
15691 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15692 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15693 addition to variable.
15694 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15695 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15696 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15697 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15698 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15699 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15700 tst-audit3, tst-audit4 and tst-audit5.
15701 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15702 tst-audit6 and tst-audit7.
15703 [$(subdir) = elf] (modules-names): Add audit modules for those
15705 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15706 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15707 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15708 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15709 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15710 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15711 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15712 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15713 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15714 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15715 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15716 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15717 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15718 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15719 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15720 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15722 [$(subdir) = elf && $(config-cflags-avx) = yes]
15723 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15724 [$(subdir) = elf && $(config-cflags-avx) = yes]
15725 (CFLAGS-tst-auditmod4a.c): Likewise.
15726 [$(subdir) = elf && $(config-cflags-avx) = yes]
15727 (CFLAGS-tst-auditmod4b.c): Likewise.
15728 [$(subdir) = elf && $(config-cflags-avx) = yes]
15729 (CFLAGS-tst-auditmod6b.c): Likewise.
15730 [$(subdir) = elf && $(config-cflags-avx) = yes]
15731 (CFLAGS-tst-auditmod6c.c): Likewise.
15732 [$(subdir) = elf && $(config-cflags-avx) = yes]
15733 (CFLAGS-tst-auditmod7b.c): Likewise.
15734 * elf/tst-audit3.c: Move to ...
15735 * sysdeps/x86_64/tst-audit3.c: ... here.
15736 * elf/tst-audit4.c: Move to ...
15737 * sysdeps/x86_64/tst-audit4.c: ... here.
15738 * elf/tst-audit5.c: Move to ...
15739 * sysdeps/x86_64/tst-audit5.c: ... here.
15740 * elf/tst-audit6.c: Move to ...
15741 * sysdeps/x86_64/tst-audit6.c: ... here.
15742 * elf/tst-audit7.c: Move to ...
15743 * sysdeps/x86_64/tst-audit7.c: ... here.
15744 * elf/tst-auditmod3a.c: Move to ...
15745 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15746 * elf/tst-auditmod3b.c: Move to ...
15747 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15748 * elf/tst-auditmod4a.c: Move to ...
15749 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15750 * elf/tst-auditmod4b.c: Move to ...
15751 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15752 * elf/tst-auditmod5a.c: Move to ...
15753 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15754 * elf/tst-auditmod5b.c: Move to ...
15755 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15756 * elf/tst-auditmod6a.c: Move to ...
15757 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15758 * elf/tst-auditmod6b.c: Move to ...
15759 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15760 * elf/tst-auditmod6c.c: Move to ...
15761 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15762 * elf/tst-auditmod7a.c: Move to ...
15763 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15764 * elf/tst-auditmod7b.c: Move to ...
15765 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15767 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15770 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15771 define unconditionally.
15772 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15773 define unconditionally.
15774 (INT8_C, INT16_C, etc.): Likewise.
15776 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15778 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15779 __ehdr_start with hidden visibility.
15781 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15783 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15785 * math/libm-test.inc (cos_test): Use accurate hex constants.
15786 (sincost_test): Likewise.
15788 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15790 * math/libm-test.inc (catan_test): Add more tests.
15791 (catanh_test): Likewise.
15793 * math/s_catanf.c (__catanf): Use suffixed floating-point
15795 * math/s_catanhf.c (__catanhf): Likewise.
15796 * math/s_catanhl.c (__catanhl): Likewise.
15797 * math/s_catanl.c (__catanl): Likewise.
15800 * math/s_catan.c (__catan): Calculate imaginary part of result
15801 with log1p not log unless computing log of number close to 0.
15802 * math/s_catanf.c (__catanf): Likewise.
15803 * math/s_catanl.c (__catanl): Likewise.
15804 * math/s_catanh.c (__catanh): Calculate real part of result with
15805 log1p not log unless computing log of number close to 0.
15806 * math/s_catanhf.c (__catanhf): Likewise.
15807 * math/s_catanhl.c (__catanhl): Likewise.
15808 * math/libm-test.inc (catan_test): Add more tests.
15809 (catanh_test): Likewise.
15810 * sysdeps/i386/fpu/libm-test-ulps: Update.
15811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15813 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15815 * benchtests/Makefile: Mention files in which fast and slow
15816 paths of math functions are implemented.
15818 2013-04-23 Roland McGrath <roland@hack.frob.com>
15820 * sysdeps/posix/timespec_get.c: New file.
15822 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15824 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15826 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15828 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15829 powerpc/power5/fpu folders.
15830 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15831 * benchtests/Makefile: Add modf testcase.
15832 * benchtests/bench-modf.c: New file: Benchmark test for mo
15834 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15837 * time/Makefile (tests): Add tst-strptime-whitespace.
15838 * time/strptime_l.c (get_number): Use ISSPACE.
15839 (__strptime_internal): Likewise.
15840 * time/tst-strptime-whitespace.c: New test case.
15842 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15844 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15846 (_nss_files_init): Set it here.
15848 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15850 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15851 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15854 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15856 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15858 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15860 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15863 2013-04-21 David S. Miller <davem@davemloft.net>
15865 * po/ru.po: Update Russion translation from translation project.
15867 2013-04-17 Adam Conrad <adconrad@0c3.net>
15869 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15872 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15874 * configure.in: Remove i386 configure warning. Remove i386 case.
15875 * configure: Regenerate.
15876 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15877 Add example to error message.
15878 * sysdeps/i386/configure: Regenerate.
15880 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15882 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15884 * benchtests/cos-inputs: New file.
15885 * benchtests/slowcos-inputs: New file.
15886 * benchtests/slowcos.c: New file.
15887 * benchtests/slowtan-inputs: New file.
15888 * benchtests/slowtan.c: New file.
15889 * benchtests/tan-inputs: New file.
15891 2013-04-16 Roland McGrath <roland@hack.frob.com>
15893 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15896 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15898 * benchtests/Makefile: Include cppflags-iterator.mk to add
15899 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15901 * Makefile.in (bench-clean): New target.
15902 * benchtests/Makefile (bench-clean): Likewise.
15904 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15906 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15908 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15910 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15912 2013-04-15 Andreas Schwab <schwab@suse.de>
15914 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15915 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15916 * nscd/pwdcache.c (cache_addpw): Likewise.
15917 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15920 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15922 * benchtests/Makefile (bench): Write all output to
15923 bench-out.tmp together.
15925 2013-04-15 Andreas Schwab <schwab@suse.de>
15927 * nscd/nscd.c (main): Don't fork again after closing files.
15929 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15931 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15933 * benchtests/Rules (bench-deps): Collect dependencies into a
15934 single variable. Add Makefile to dependencies.
15935 ($(objpfx)bench-%.c): Depend on bench-deps.
15937 2013-04-12 Roland McGrath <roland@hack.frob.com>
15938 Xavier Roche <roche+kml2@exalead.com>
15941 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15942 just that it's a file descriptor.
15943 * manual/llio.texi (Synchronizing AIO Operations): Update description
15944 for EBADF error from aio_fsync.
15946 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15948 * Rules (bench): Move target definition...
15949 * benchtests/Makefile: ... here.
15951 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15953 * math/libm-test.inc (cos_test): Fix PI/2 test.
15954 (sincos_test): Likewise.
15955 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15956 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15958 2013-04-11 Andreas Schwab <schwab@suse.de>
15961 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15962 accept exponent character only when digits were seen.
15963 * stdio-common/Makefile (tests): Add bug26.
15964 * stdio-common/bug26.c: New file.
15967 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15970 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15972 * Makeconfig (rtld-prefix): Define built linker prefix.
15973 * Rules (run-bench): Use it.
15974 * math/Makefile (run-regen-ulps): Likewise.
15976 * Rules (bench): Remove eval.
15978 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15979 Roland McGrath <roland@hack.frob.com>
15980 Ondrej Bilka <neleai@seznam.cz>
15983 * time/getdate.c: Include ctype.h and alloca.h.
15984 (__getdate_r): Trim leading and trailing spaces of input.
15985 * time/tst-getdate.c (tests): Add tests with leading and
15988 2013-04-08 Roland McGrath <roland@hack.frob.com>
15991 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15992 when computing value.
15994 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15996 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15997 Use testrun.sh to run libm tests.
16000 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16002 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16005 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16007 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16009 * Makefile.in (regen-ulps): New target.
16010 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16011 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16012 [ifneq (no,$(PERL)] (regen-ulps): New target.
16013 [ifeq (no,$(PERL)] (regen-ulps): New target.
16014 * math/libm-test.inc (ulps_file_name): Define.
16015 (output_dir): New variable.
16016 (options): Add "output-dir" option.
16017 (parse_opt): Handle 'o' case.
16018 (main): If output_dir is non-NULL use it as a prefix
16020 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16022 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16024 [BZ #10060, #10062]
16025 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16026 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16027 fail configure if __sync_val_compare_and_swap is not inlined.
16028 * sysdeps/i386/configure: Regenerate.
16029 * configure.in: Build for i686 when configured for i386.
16030 * configure: Regenerate.
16031 * README: Remove i386 reference.
16033 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16035 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16036 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16038 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16040 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16041 (lmsnanval): New variables.
16042 (F): Add conversion tests.
16043 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16044 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16046 * stdio-common/tstdiomisc.c (F): Properly collect individual
16049 [BZ #14686, #15336]
16050 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16051 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16052 Instead, use input NaN values or generate a qNaN by arithmetic
16053 operation. Also fix bugs to comply with the standard.
16054 * math/libm-test.inc (remainder_test): Add more tests.
16056 [BZ #15335, #15342]
16057 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16058 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16059 input NaN values or generate a qNaN by arithmetic operation.
16061 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16064 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16067 2013-04-03 Joseph Myers <joseph@codesourcery.com>
16070 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16071 underflowed result.
16072 * math/s_cexpf.c (__cexpf): Likewise.
16073 * math/s_cexpl.c (__cexpl): Likewise.
16074 * math/libm-test.inc (cexp_test): Add more tests.
16076 2013-04-03 Andreas Schwab <schwab@suse.de>
16079 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16080 order arrays from heap if bigger than alloca cutoff.
16082 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16084 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16085 (SNAN_TESTS_double): Refer to GCC PR56831.
16086 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16089 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16091 * Rules (bench): Move bench.out after the run is complete.
16093 * Rules (bench): Echo currently running benchmark.
16095 * benchtests/Makefile (bench): Add atan and slowatan.
16096 * benchtests/atan-inputs: New file.
16097 * benchtests/slowatan-inputs: New file.
16098 * benchtests/slowatan.c: New file.
16100 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16101 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16105 * sysdeps/unix/sysv/linux/kernel-features.h
16106 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16107 __ASSUME_XFS_RESTRICTED_CHOWN.
16108 * sysdeps/unix/sysv/linux/pathconf.c
16109 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16110 Save and restore errno.
16112 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16115 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16116 arguments using __kernel_casinh.
16117 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16118 arguments using __kernel_casinhf.
16119 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16120 arguments using __kernel_casinhl.
16121 * math/libm-test.inc (cacosh_test): Add more tests.
16122 * sysdeps/i386/fpu/libm-test-ulps: Update.
16123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16125 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16127 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16130 * bench/Makefile (bench): Add sin and slowsin.
16131 * benchtests/sin-inputs: New file.
16132 * benchtests/slowsin-inputs: New file.
16133 * benchtests/slowsin.c: New file.
16135 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16136 (bench): Add slowexp and slowpow.
16137 (exp-ITER): Increase iterations.
16138 (pow-ITER): Likewise.
16139 * benchtests/exp-inputs: Change input.
16140 * benchtests/pow-inputs: Likewise.
16141 * benchtests/slowexp-inputs: New file.
16142 * benchtests/slowexp.c: New file.
16143 * benchtests/slowpow-inputs: New file.
16144 * benchtests/slowpow.c: New file.
16146 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16148 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16150 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16151 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16152 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16153 * benchtests/Makefile: Add rint benchtest.
16154 * benchtests/rint-inputs: Input for rint benchtest.
16156 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16158 * Versions.def (libm): Add GLIBC_2.18.
16159 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16160 hidden libm prototypes.
16161 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16162 * math/Makefile (libm-calls): Add s_issignaling.
16163 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16164 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16165 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16167 * math/math.h [__USE_GNU] (issignaling): New macro.
16168 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16169 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16170 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16171 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16172 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16173 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16174 * manual/arith.texi (issignaling): New section.
16175 * manual/libm-err-tab.pl (@all_functions): Update comment.
16176 * math/gen-libm-test.pl (parse_args): Apply special handling for
16178 * math/libm-test.inc (print_float, issignaling_test): New
16180 (check_float_internal): Add issignaling checks.
16181 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16182 default definition.
16183 * sysdeps/powerpc/math-tests.h: New file.
16184 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16186 * math/test-snan.c (TEST_FUNC): Likewise.
16188 2013-03-30 David S. Miller <davem@davemloft.net>
16190 * po/de.po: Update from translation team.
16192 2013-03-30 Joseph Myers <joseph@codesourcery.com>
16195 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16196 imaginary part less than 1.0 and real part less than 0.5
16198 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16199 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16200 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16201 (cacos_test): Add more tests.
16202 (casin_test): Likewise.
16203 (casinh_test): Likewise.
16204 * sysdeps/i386/fpu/libm-test-ulps: Update.
16205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16207 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16209 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16210 ONE with its value.
16212 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16213 (__pow_mp): Replace ONE and MONE with their values.
16214 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16215 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16216 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16217 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16218 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16219 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16221 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16223 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16224 (__pow_mp): Replace ZERO and MZERO with their values.
16225 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16226 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16227 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16228 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16229 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16230 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16233 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16235 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16237 2013-03-28 Roland McGrath <roland@hack.frob.com>
16239 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16240 Declare with __attribute__ ((weak)).
16241 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16242 Call __call_tls_dtors only if it's not NULL.
16244 2013-03-28 Roland McGrath <roland@hack.frob.com>
16246 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16247 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16248 magic __ehdr_start linker symbol if it's defined.
16249 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16250 them up here if it was already done.
16252 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16253 (_dl_aux_init): Use const in cast when setting it.
16254 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16255 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16256 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16258 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16260 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16261 * csu/libc-tls.c: Nor here.
16262 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16264 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16265 (__libc_message): Never call vsyslog.
16267 2013-03-28 Alan Modra <amodra@gmail.com>
16269 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16271 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16274 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16277 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16281 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16284 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16285 Don't add gid passed as argument.
16287 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16289 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16292 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16293 imaginary part between 1.0 and 1.5 and real part less than 0.5
16295 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16296 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16297 * math/libm-test.inc (cacos_test): Add more tests.
16298 (casin_test): Likewise.
16299 (casinh_test): Likewise.
16300 * sysdeps/i386/fpu/libm-test-ulps: Update.
16301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16303 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16305 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16308 (denorm): Likewise.
16309 (__dbl_mp): Likewise.
16310 (add_magnitudes): Likewise.
16311 (sub_magnitudes): Likewise.
16319 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16321 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16322 (__dubcos): Likewise.
16323 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16324 (__ieee754_acos): Likewise.
16325 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16326 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16327 (__exp1): Likewise.
16328 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16329 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16331 (my_log2): Likewise.
16332 (checkint): Likewise.
16333 * sysdeps/ieee754/dbl-64/e_remainder.c
16334 (__ieee754_remainder): Likewise.
16335 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16336 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16337 (bsloww): Likewise.
16338 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16340 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16341 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16342 MANTISSA_STORE_T to store computations on mantissa. Use
16343 macros for rounding and division.
16344 (denorm): Likewise.
16345 (__dbl_mp): Likewise.
16346 (add_magnitudes): Likewise.
16347 (sub_magnitudes): Likewise.
16350 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16351 powers of two in terms of TWOPOW macro.
16352 (mp_no): Make type of mantissa as MANTISSA_T.
16353 [!RADIXI]: Define RADIXI.
16354 [!TWO52]: Define TWO52.
16355 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16357 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16359 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16360 llroundl symbol when building for PPC32.
16362 2013-03-24 Mark H Weaver <mhw@netris.org>
16364 * manual/arith.texi (Normalization Functions): Fix prototypes for
16365 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16367 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16370 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16371 high value to check if expl overflow.
16372 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16373 to check for underflow and overflow.
16374 * math/libm-test.inc: Add exp test.
16376 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16379 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16382 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16384 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16387 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16389 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16390 wrap blocks consisting of several statements.
16392 * sysdeps/generic/math-tests.h: New file.
16393 * sysdeps/i386/fpu/math-tests.h: Likewise.
16394 * math/test-snan.c: Include it.
16395 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16397 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16400 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16401 (__ieee754_j0l): Do not improve calculations using cos of twice
16402 input for inputs above LDBL_MAX / 2.0L.
16403 (__ieee754_y0l): Likewise.
16404 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16405 (__ieee754_j1l): Do not improve calculations using cos of twice
16406 input for inputs above LDBL_MAX / 2.0L.
16407 (__ieee754_y1l): Likewise.
16408 * math/libm-test.inc (j0_test): Add another test.
16409 (j1_test): Likewise.
16410 (y0_test): Likewise.
16411 (y1_test): Likewise.
16412 * sysdeps/i386/fpu/libm-test-ulps: Update.
16414 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16416 * Rules ($(objpfx)bench-%.c): Include code from a C source
16419 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16422 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16423 imaginary part 1.0 and real part less than 0.5 specially.
16424 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16425 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16426 * math/libm-test.inc (cacos_test): Add more tests.
16427 (casin_test): Likewise.
16428 (casinh_test): Likewise.
16429 * sysdeps/i386/fpu/libm-test-ulps: Update.
16430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16432 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16434 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16435 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16437 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16439 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16440 * config.make.in (config-cflags-sse4): Remove variable.
16441 (config-cflags-avx): Likewise.
16442 (config-cflags-sse2avx): Likewise.
16443 (config-cflags-novzeroupper): Likewise.
16444 (config-asflags-i686): Likewise.
16445 (have-mfma4): Likewise.
16446 (have-as-vis3): Likewise.
16448 * configure.in (MIG): Do not AC_SUBST.
16449 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16450 (libc_cv_cc_sse4): Do not AC_SUBST.
16451 (libc_cv_cc_avx): Likewise.
16452 (libc_cv_cc_sse2avx): Likewise.
16453 (libc_cv_cc_novzeroupper): Likewise.
16454 (libc_cv_cc_fma4): Likewise.
16455 (libc_cv_as_i686): Likewise.
16456 (libc_cv_sparc_as_vis3): Likewise.
16457 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16459 (config-asflags-i686): Likewise.
16460 (config-cflags-avx): Likewise.
16461 (config-cflags-sse2avx): Likewise.
16462 (have-mfma4): Likewise.
16463 (config-cflags-novzeroupper): Likewise.
16464 * sysdeps/mach/configure.in (MIG): Likewise.
16465 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16466 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16468 (config-cflags-avx): Likewise.
16469 (config-cflags-sse2avx): Likewise.
16470 (have-mfma4): Likewise.
16471 (config-cflags-novzeroupper): Likewise.
16472 * configure: Regenerated.
16473 * sysdeps/i386/configure: Likewise.
16474 * sysdeps/mach/configure: Likewise.
16475 * sysdeps/sparc/configure: Likewise.
16476 * sysdeps/x86_64/configure: Likewise.
16478 2013-03-20 Roland McGrath <roland@hack.frob.com>
16481 * locale/programs/localedef.c (options): Put N_ translation marker
16482 on argument names, not just descriptions.
16484 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16486 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16488 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16491 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16493 2013-03-19 Roland McGrath <roland@hack.frob.com>
16495 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16496 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16497 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16498 [!BEFORE_ABORT] (before_abort): New function.
16499 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16500 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16501 (writev_for_fatal): New function.
16502 (WRITEV_FOR_FATAL): New macro; call that.
16503 (backtrace_and_maps): New function.
16504 (BEFORE_ABORT): New macro; call that.
16505 (struct str_list): Type removed.
16506 (__libc_message, __libc_fatal): Functions removed.
16507 Include <sysdeps/posix/libc_fatal.c> instead.
16509 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16511 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16513 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16516 2013-03-19 Andreas Schwab <schwab@suse.de>
16518 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16519 * sysdeps/gnu/configure: Regenerate.
16521 * configure.in: Substitute libc_cv_rtlddir.
16522 * configure: Regenerate.
16523 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16524 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16525 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16526 * elf/Makefile (install-others, CFLAGS-interp.c)
16527 (ldso_install, common-ldd-rewrite): Likewise.
16528 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16529 $(inst_slibdir)/$(rtld-installed-name).
16530 * scripts/rellns-sh: Add -p option.
16531 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16534 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16536 * manual/nptl.texi: Renamed to ...
16537 * manual/threads.texi: ... this.
16538 * manual/Makefile (chapters): Update.
16540 2013-03-18 Roland McGrath <roland@hack.frob.com>
16543 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16544 on argument names, not just descriptions.
16545 * malloc/memusagestat.c (options): Likewise.
16546 * nss/getent.c (options): Likewise.
16548 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16551 * iconv/iconv_prog.c (options): Put N_ translation marker
16552 on argument names, not just descriptions.
16553 * iconv/iconvconfig.c (options): Likewise.
16555 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16557 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16558 implementation which is faster on all x86_64 architectures.
16559 Tested on AMD, Intel Nehalem, SNB, IVB.
16560 * sysdeps/x86_64/strnlen.S: Likewise.
16562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16563 Remove all multiarch strlen and strnlen versions.
16564 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16565 Remove strlen and strnlen related parts.
16567 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16568 Inline strlen part.
16569 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16571 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16572 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16573 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16574 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16575 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16576 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16578 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16580 * manual/memory.texi (Malloc Tunable Parameters):
16581 Sort parameters alphabetically. Add comments for missing entries.
16583 2013-03-17 David S. Miller <davem@davemloft.net>
16585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16587 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16590 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16591 for arguments at most half maximum finite value.
16592 * math/libm-test.inc (j0_test): Add more tests.
16593 (j1_test): Likewise.
16594 (y0_test): Likewise.
16595 (y1_test): Likewise.
16596 * sysdeps/i386/fpu/libm-test-ulps: Update.
16597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16600 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16601 1 / x and functions P and Q for arguments above 0x1p256L.
16602 (__ieee754_y0l): Likewise.
16603 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16604 (__ieee754_y1l): Likewise.
16605 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16606 (j1_test): Likewise.
16607 (y0_test): Likewise.
16608 (y1_test): Likewise.
16610 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16612 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16615 2013-03-15 Roland McGrath <roland@hack.frob.com>
16617 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16618 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16619 zero since it's initialized to EXEC_PAGESIZE.
16621 * sysdeps/unix/sysv/linux/ldsodefs.h
16622 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16623 * sysdeps/generic/ldsodefs.h: ... here.
16625 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16627 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16629 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16631 * math/test-snan.c: Renamed from
16632 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16633 * math/Makefile (tests): Add test-snan.
16634 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16637 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16638 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16640 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16641 __builtin_nan family of functions.
16642 * math/libm-test.inc (initialize): Initialize qnan_value with
16643 __builtin_nan family of functions.
16644 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16646 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16648 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16649 storage class. Initialize qNaN_var and sNaN_var with
16650 __builtin_nan and __builtin_nans families of functions,
16653 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16654 (sqrt_test): Remove duplicate test with qNaN input.
16655 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16656 (round_test, signbit_test, significand_test): Note missing +/-Inf
16657 as well as qNaN tests.
16659 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16660 qNaN_var. Fix a few strings, too.
16661 * math/libm-test.inc (nan_value): Rename to qnan_value.
16662 * math/gen-libm-test.pl (%beautify): Adjust to that.
16663 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16664 * math/test-misc.c (main): Likewise.
16665 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16666 to __qnan_bytes, and __qnan_union, respectively.
16667 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16669 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16670 and lqnanval, respectively.
16671 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16672 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16673 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16674 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16676 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16677 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16680 * math/test-misc.c (main): Fix copy'n'pastos.
16681 * misc/tst-efgcvt.c (special): Likewise.
16683 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16684 Remove declarations.
16686 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16688 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16689 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16690 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16691 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16693 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16695 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16696 macro to return vdso values correctly in IFUNC implementations.
16697 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16698 Optimization by using IFUNC.
16700 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16701 Richard Henderson <rth@redhat.com>
16702 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16704 * Makefile.in (bench): New target.
16705 * NEWS: Mention the benchmark framework.
16706 * Rules (bench): Likewise.
16707 (binaries-bench): Generate binaries for functions to
16709 * benchtests/Makefile: New makefile for benchmark tests.
16710 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16712 * benchtests/exp-inputs: New input file for EXP function.
16713 * benchtests/pow-inputs: New input file for POW function.
16714 * scripts/bench.pl: New script to generate source files for
16715 benchmark programs.
16717 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16719 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16720 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16721 computations on mantissa. Use macros for rounding and
16723 (denorm): Likewise.
16724 (__dbl_mp): Likewise.
16725 (add_magnitudes): Likewise.
16726 (sub_magnitudes): Likewise.
16729 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16730 powers of two in terms of TWOPOW macro.
16731 (mp_no): Make type of mantissa as MANTISSA_T.
16732 [!RADIXI]: Define RADIXI.
16733 [!TWO52]: Define TWO52.
16734 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16736 * manual/nptl.texi (cindex): Modify threads to pthreads.
16738 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16740 * sysdeps/x86_64/preconfigure: Regenerated.
16742 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16745 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16747 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16748 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16750 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16751 * math/libm-test.inc (j0_test): Do not allow one spurious
16752 underflow exception.
16753 (y1_test): Likewise.
16755 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16757 * manual/Makefile (chapters): Add nptl.
16758 * manual/debug.texi (Debugging Support): Add link to Threads
16760 * manual/nptl.texi: New file.
16762 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16764 2013-03-14 Petr Baudis <pasky@ucw.cz>
16766 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16767 for non-NULL pointer before the memory validity test. Pointed
16768 out by Holger Brunck <holger.brunck@keymile.com>.
16770 2013-03-13 Andreas Schwab <schwab@suse.de>
16772 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16775 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16777 * timezone/zic.c: Update from tzcode 2013b.
16779 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16781 * manual/install.texi (Configuring and compiling):
16782 Mention i686 and i586.
16783 * INSTALL: Regenerate.
16785 2013-03-12 Roland McGrath <roland@hack.frob.com>
16787 * sysdeps/init_array/elf-init.c: New file.
16789 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16790 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16792 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16793 __gmon_start__ as global, but as static with a .preinit_array pointer.
16794 * sysdeps/init_array/gmon-start.c: New file. Use that.
16795 * sysdeps/init_array/crti.S: New file, empty except for comments.
16796 * sysdeps/init_array/crtn.S: Likewise.
16798 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16800 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16803 Remove Prefer_SSE_for_memop.
16804 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16805 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16806 HAS_PREFER_SSE_FOR_MEMOP.
16807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16809 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16810 Remove bzero, memset ifunc support.
16811 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16812 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16813 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16814 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16816 2013-03-11 Andreas Schwab <schwab@suse.de>
16819 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16822 (GLIBC_2.16): Remove pthread_atfork.
16824 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16826 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16827 (ptestcases.h): Likewise.
16829 2013-03-08 Roland McGrath <roland@hack.frob.com>
16831 * Makeconfig ($(common-objpfx)config.status): Depend on
16832 sysdeps/*/preconfigure{,.in} too.
16834 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16836 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16837 (__free_hook): Use void * instead of __malloc_ptr_t.
16838 (__malloc_hook): Likewise.
16839 (__realloc_hook): Likewise.
16840 (__memalign_hook): Likewise.
16841 (__after_morecore_hook): Likewise.
16842 * malloc/arena.c (save_malloc_hook): Likewise.
16843 (save_free_hook): Likewise.
16844 * malloc/hooks.c (malloc_hook_ini): Likewise.
16845 (realloc_hook_ini): Likewise.
16846 (memalign_hook_ini): Likewise.
16847 * malloc/malloc.c (malloc_hook_ini): Likewise.
16848 (realloc_hook_ini): Likewise.
16849 (memalign_hook_ini): Likewise.
16850 (__free_hook): Likewise.
16851 (__malloc_hook): Likewise.
16852 (__realloc_hook): Likewise.
16853 (__memalign_hook): Likewise.
16854 (__libc_malloc): Likewise.
16855 (__libc_free): Likewise.
16856 (__libc_realloc): Likewise.
16857 (__libc_memalign): Likewise.
16858 (__libc_valloc): Likewise.
16859 (__libc_pvalloc): Likewise.
16860 (__libc_calloc): Likewise.
16861 (__posix_memalign): Likewise.
16862 * malloc/morecore.c (__sbrk): Likewise.
16863 (__default_morecore): Likewise.
16865 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16867 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16868 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16869 __malloc_ptrdiff_t.
16871 * malloc/malloc.h (__malloc_size_t): Remove macro.
16872 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16874 (old_memalign_hook): Likewise.
16875 (old_realloc_hook): Likewise.
16876 (struct hdr): Likewise.
16878 (mallochook): Likewise.
16879 (memalignhook): Likewise.
16880 (reallochook): Likewise.
16881 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16882 (tr_old_realloc_hook): Likewise.
16883 (tr_old_memalign_hook): Likewise.
16884 (tr_mallochook): Likewise.
16885 (tr_reallochook): Likewise.
16886 (tr_memalignhook): Likewise.
16888 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16890 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16891 default_ldbl_pack and using as default implementation.
16892 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16894 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16895 redundant definition.
16896 (ldbl_insert_mantissa): Likewise.
16897 (ldbl_canonicalize): Likewise.
16898 (ldbl_nearbyint): Likewise.
16899 (ldbl_pack): Rename to ldbl_pack_ppc.
16900 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16901 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16902 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16904 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16907 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16908 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16909 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16911 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16912 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16913 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16915 2013-03-07 Andreas Jaeger <aj@suse.de>
16917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16920 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16922 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16923 Include mpa.h and declare __MPEXP.
16924 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16925 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16926 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16927 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16928 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16929 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16930 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16932 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16933 (__slowpow): Use long double EXPL and LOGL functions to
16935 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16936 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16937 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16938 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16939 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16940 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16943 intermediate variable to calculate exponent.
16945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16949 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16950 [!NO__SQR]: Define __sqr.
16951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16952 and NO__SQR. Remove all code except __mul and __sqr. Include
16953 sysdeps/ieee754/dbl-64/mpa.c.
16954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16957 * posix/Makefile (tests): Add tst-pathconf.
16958 * posix/tst-pathconf.c: New test case.
16959 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16961 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16963 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16965 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16967 2013-03-06 Andreas Jaeger <aj@suse.de>
16969 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16970 definition via __MAP_ANONYMOUS.
16972 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16973 it's not part of Linux headers.
16975 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16976 (MAP_HUGE_MASK): Define.
16978 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16980 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16981 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16983 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16984 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16986 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16987 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16989 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16991 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16992 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16993 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16994 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16995 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16996 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16998 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17001 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17002 Handle f2fs and efivarfs.
17004 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17007 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17008 (EFIVARFS_MAGIC): Add.
17009 (F2FS_LINK_MAX): Add.
17011 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17013 * stdio-common/vfprintf.c: Replace __builtin_expect with
17016 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17019 * sysdeps/generic/bp-sym.h: Remove file.
17020 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17021 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17022 <bp-sym.h> and <bp-asm.h>.
17023 (__longjmp): Don't use BP_SYM.
17024 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17026 (memcpy): Don't use BP_SYM.
17027 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17028 <bp-sym.h> and <bp-asm.h>.
17029 (memcpy): Don't use BP_SYM.
17030 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17032 (memcpy): Don't use BP_SYM.
17033 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17035 (memset): Don't use BP_SYM.
17036 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17037 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17038 (__bzero): Don't use BP_SYM.
17039 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17040 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17041 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17042 <bp-sym.h> and <bp-asm.h>.
17043 (memcmp): Don't use BP_SYM. Remove comment about bounded
17045 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17046 <bp-sym.h> and <bp-asm.h>.
17047 (memcpy): Don't use BP_SYM.
17048 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17049 <bp-sym.h> and <bp-asm.h>.
17050 (memset): Don't use BP_SYM.
17051 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17052 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17053 (__bzero): Don't use BP_SYM.
17054 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17055 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17056 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17057 <bp-sym.h> and <bp-asm.h>.
17058 (strncmp): Don't use BP_SYM. Remove comment about bounded
17060 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17061 <bp-sym.h> and <bp-asm.h>.
17062 (memcpy): Don't use BP_SYM.
17063 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17064 <bp-sym.h> and <bp-asm.h>.
17065 (memset): Don't use BP_SYM.
17066 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17067 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17068 (__bzero): Don't use BP_SYM.
17069 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17070 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17071 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17072 <bp-sym.h> and <bp-asm.h>.
17073 (__memchr): Don't use BP_SYM.
17074 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17075 <bp-sym.h> and <bp-asm.h>.
17076 (memcmp): Don't use BP_SYM. Remove comment about bounded
17078 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17079 <bp-sym.h> and <bp-asm.h>.
17080 (memcpy): Don't use BP_SYM.
17081 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17082 <bp-sym.h> and <bp-asm.h>.
17083 (__mempcpy): Don't use BP_SYM.
17084 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17085 <bp-sym.h> and <bp-asm.h>.
17086 (__memrchr): Don't use BP_SYM.
17087 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17088 <bp-sym.h> and <bp-asm.h>.
17089 (memset): Don't use BP_SYM.
17090 (__bzero): Likewise.
17091 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17092 <bp-sym.h> and <bp-asm.h>.
17093 (__rawmemchr): Don't use BP_SYM.
17094 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17095 <bp-sym.h> and <bp-asm.h>.
17096 (__STRCMP): Don't use BP_SYM.
17097 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17098 <bp-sym.h> and <bp-asm.h>.
17099 (strchr): Don't use BP_SYM.
17100 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17101 <bp-sym.h> and <bp-asm.h>.
17102 (__strchrnul): Don't use BP_SYM.
17103 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17104 <bp-sym.h> and <bp-asm.h>.
17105 (strlen): Don't use BP_SYM.
17106 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17107 <bp-sym.h> and <bp-asm.h>.
17108 (strncmp): Don't use BP_SYM. Remove comment about bounded
17110 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17111 <bp-sym.h> and <bp-asm.h>.
17112 (__strnlen): Don't use BP_SYM.
17113 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17114 <bp-sym.h> and <bp-asm.h>.
17115 (__GI__setjmp): Don't use BP_SYM.
17116 (_setjmp): Likewise.
17117 (__sigsetjmp): Likewise.
17118 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17119 (L(start_addresses)): Don't use BP_SYM.
17120 (_start): Likewise.
17121 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17123 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17124 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17125 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17126 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17127 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17129 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17130 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17131 about bounded pointers.
17132 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17133 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17134 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17136 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17137 about bounded pointers. Remove GKM FIXME comments.
17138 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17139 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17141 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17142 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17143 Remove GKM FIXME comments.
17144 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17145 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17146 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17148 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17149 about bounded pointers. Remove GKM FIXME comment.
17150 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17152 (strncmp): Don't use BP_SYM. Remove comment about bounded
17154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17155 <bp-sym.h> and <bp-asm.h>.
17156 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17158 <bp-sym.h> and <bp-asm.h>.
17159 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17162 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17164 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17167 2013-03-05 David S. Miller <davem@davemloft.net>
17169 * po/es.po: Update from translation team.
17171 2013-03-05 Andreas Jaeger <aj@suse.de>
17173 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17174 <bits/mman-linux.h>.
17175 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17177 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17178 <bits/mman-linux.h> to end of file.
17179 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17181 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17182 <bits/mman-linux.h> to end of file.
17183 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17185 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17186 <bits/mman-linux.h> to end of file.
17188 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17189 (MCL_CURRENT, MCL_FUTURE): Define here.
17191 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17194 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17196 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17198 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17200 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17201 fourth parameter needed for rt_sigprocmask syscall.
17202 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17203 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17204 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17205 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17206 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17207 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17209 2013-03-04 Joseph Myers <joseph@codesourcery.com>
17212 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17213 comment about bounded pointers.
17214 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17215 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17217 2013-03-04 Andreas Jaeger <aj@suse.de>
17219 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17220 common definitions.
17222 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17223 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17224 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17225 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17226 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17227 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17229 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17232 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17233 __ieee754_sqrl instead of __sqrl.
17235 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17237 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17238 * sysdeps/powerpc/fpu_control.h: ... here.
17239 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17240 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17241 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17242 * sysdeps/powerpc/bits/mathinline.h: ... here.
17244 2013-03-01 Roland McGrath <roland@hack.frob.com>
17246 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17247 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17248 to just [NEED_DL_SYSINFO_DSO].
17249 * elf/dl-support.c: Likewise.
17250 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17251 * elf/rtld.c (dl_main): Likewise.
17252 * elf/setup-vdso.h (setup_vdso): Likewise.
17253 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17254 * sysdeps/unix/sysv/linux/dl-sysdep.c
17255 (_dl_discover_osversion): Likewise.
17257 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17259 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17260 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17262 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17264 * NEWS: Mention libm performance improvements and non-x86 PI
17267 * csu/libc-start.c (__pthread_initialize_minimal): Change
17268 function arguments.
17269 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17271 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17274 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17275 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17276 <bp-sym.h> and <bp-asm.h>.
17277 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17278 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17280 (memcpy): Don't use BP_SYM.
17281 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17283 (__mpn_add_n): Don't use BP_SYM.
17284 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17285 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17287 (__mpn_addmul_1): Don't use BP_SYM.
17288 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17289 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17291 (_setjmp): Don't use BP_SYM.
17292 (__novmx_setjmp): Likewise.
17293 (__GI__setjmp): Likewise.
17294 (__vmx_setjmp): Likewise.
17295 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17297 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17298 (__bzero): Don't use BP_SYM.
17299 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17300 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17301 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17302 <bp-sym.h> and <bp-asm.h>.
17303 (memcpy): Don't use BP_SYM.
17304 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17305 <bp-sym.h> and <bp-asm.h>.
17306 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17307 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17308 <bp-sym.h> and <bp-asm.h>.
17309 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17310 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17312 (__mpn_lshift): Don't use BP_SYM.
17313 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17314 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17316 (memset): Don't use BP_SYM.
17317 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17318 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17319 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17321 (__mpn_mul_1): Don't use BP_SYM.
17322 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17323 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17324 <bp-sym.h> and <bp-asm.h>.
17325 (memcmp): Don't use BP_SYM.
17326 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17327 <bp-sym.h> and <bp-asm.h>.
17328 (memcpy): Don't use BP_SYM.
17329 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17330 <bp-sym.h> and <bp-asm.h>.
17331 (memset): Don't use BP_SYM.
17332 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17333 <bp-sym.h> and <bp-asm.h>.
17334 (strncmp): Don't use BP_SYM.
17335 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17336 <bp-sym.h> and <bp-asm.h>.
17337 (memcpy): Don't use BP_SYM.
17338 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17339 <bp-sym.h> and <bp-asm.h>.
17340 (memset): Don't use BP_SYM.
17341 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17342 <bp-sym.h> and <bp-asm.h>.
17343 (__memchr): Don't use BP_SYM.
17344 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17345 <bp-sym.h> and <bp-asm.h>.
17346 (memcmp): Don't use BP_SYM.
17347 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17348 <bp-sym.h> and <bp-asm.h>.
17349 (memcpy): Don't use BP_SYM.
17350 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17351 <bp-sym.h> and <bp-asm.h>.
17352 (__mempcpy): Don't use BP_SYM.
17353 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17354 <bp-sym.h> and <bp-asm.h>.
17355 (__memrchr): Don't use BP_SYM.
17356 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17357 <bp-sym.h> and <bp-asm.h>.
17358 (memset): Don't use BP_SYM.
17359 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17360 <bp-sym.h> and <bp-asm.h>.
17361 (__rawmemchr): Don't use BP_SYM.
17362 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17363 <bp-sym.h> and <bp-asm.h>.
17364 (__STRCMP): Don't use BP_SYM.
17365 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17366 <bp-sym.h> and <bp-asm.h>.
17367 (strchr): Don't use BP_SYM.
17368 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17369 <bp-sym.h> and <bp-asm.h>.
17370 (__strchrnul): Don't use BP_SYM.
17371 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17372 <bp-sym.h> and <bp-asm.h>.
17373 (strlen): Don't use BP_SYM.
17374 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17375 <bp-sym.h> and <bp-asm.h>.
17376 (strncmp): Don't use BP_SYM.
17377 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17378 <bp-sym.h> and <bp-asm.h>.
17379 (__strnlen): Don't use BP_SYM.
17380 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17382 (__mpn_rshift): Don't use BP_SYM.
17383 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17384 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17385 <bp-sym.h> and <bp-asm.h>.
17386 (__sigsetjmp): Don't use BP_SYM.
17387 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17388 (L(start_addresses)): Don't use BP_SYM.
17389 (_start): Likewise.
17390 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17392 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17393 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17394 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17395 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17397 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17398 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17399 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17400 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17402 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17404 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17405 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17407 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17409 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17410 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17411 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17413 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17415 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17417 (strncmp): Don't use BP_SYM,
17418 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17420 (__mpn_sub_n): Don't use BP_SYM.
17421 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17422 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17424 (__mpn_submul_1): Don't use BP_SYM.
17425 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17427 <bp-sym.h> and <bp-asm.h>.
17428 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17430 <bp-sym.h> and <bp-asm.h>.
17431 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17434 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17437 Use ZK to minimize writes to Z.
17438 (sub_magnitudes): Simplify code a bit.
17439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17440 Use ZK to minimize writes to Z.
17441 (sub_magnitudes): Simplify code a bit.
17443 2013-02-27 Roland McGrath <roland@hack.frob.com>
17445 * csu/gmon-start.c: Add special exception to license text.
17447 2013-02-27 Richard Henderson <rth@redhat.com>
17449 * scripts/config.guess: Update from config.git.
17450 * scripts/config.sub: Likewise.
17452 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17454 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17456 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17458 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17460 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17462 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17464 2013-02-26 Roland McGrath <roland@hack.frob.com>
17466 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17467 [$(build-shared = yes].
17469 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17471 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17472 (__mul): Reduce iterations for calculating mantissa.
17474 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17476 (__mpranred): Likewise.
17479 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17480 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17482 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17484 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17485 Define __attribute__.
17487 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17489 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17491 * posix/regex_internal.h (__attribute): Remove.
17492 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17493 (re_string_context_at): Likewise.
17494 (bitset_not): Use __attribute__ and mark function as possibly
17496 (bitset_merge): Likewise.
17497 (bitset_mask): Likewise.
17498 (re_string_char_size_at): Likewise.
17499 (re_string_wchar_at): Likewise.
17500 (re_string_elem_size_at): Likewise.
17502 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17504 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17508 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17512 (denorm): Likewise.
17513 (__dbl_mp): Likewise.
17514 (add_magnitudes): Likewise.
17515 (sub_magnitudes): Likewise.
17519 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17522 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17525 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17529 up changes with default code.
17530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17533 2013-02-24 Allan McRae <allan@archlinux.org>
17535 * manual/socket.texi (The Internet Namespace): Order menu items
17536 to match that in the file.
17538 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17539 node listing of the info page menu.
17541 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17544 * sysdeps/i386/bp-asm.h: Remove file.
17545 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17546 (PARMS): Do not use macros from bp-asm.h.
17550 (__mpn_add_n): Do not use BP_SYM
17551 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17553 (PARMS): Do not use macros from bp-asm.h.
17556 (__mpn_addmul_1): Do not use BP_SYM
17557 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17559 (PARMS): Do not use macros from bp-asm.h.
17560 (SIGMSK): Likewise.
17561 (_setjmp): Likewise. Do not use BP_SYM.
17562 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17564 (PARMS): Do not use macros from bp-asm.h.
17565 (SIGMSK): Likewise.
17566 (setjmp): Likewise. Do not use BP_SYM.
17567 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17569 (PARMS): Do not use macros from bp-asm.h.
17570 (__frexp): Do not use BP_SYM.
17572 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17574 (PARMS): Do not use macros from bp-asm.h.
17575 (__frexpf): Do not use BP_SYM.
17576 (frexpf): Likewise.
17577 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17579 (PARMS): Do not use macros from bp-asm.h.
17580 (__frexpl): Do not use BP_SYM.
17581 (frexpl): Likewise.
17582 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17584 (PARMS): Do not use macros from bp-asm.h.
17585 (__remquo): Do not use BP_SYM.
17586 (remquo): Likewise.
17587 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17589 (PARMS): Do not use macros from bp-asm.h.
17590 (__remquof): Do not use BP_SYM.
17591 (remquof): Likewise.
17592 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17594 (PARMS): Do not use macros from bp-asm.h.
17595 (__remquol): Do not use BP_SYM.
17596 (remquol): Likewise.
17597 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17599 (PARMS): Do not use macros from bp-asm.h.
17602 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17603 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17605 (PARMS): Do not use macros from bp-asm.h.
17606 (strlen): Do not use BP_SYM.
17607 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17609 (PARMS): Do not use macros from bp-asm.h.
17613 (__mpn_add_n): Do not use BP_SYM.
17614 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17616 (PARMS): Do not use macros from bp-asm.h.
17619 (__mpn_addmul_1): Do not use BP_SYM.
17620 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17623 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17625 (PARMS): Do not use macros from bp-asm.h.
17628 (__mpn_lshift): Do not use BP_SYM.
17629 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17631 (PARMS): Do not use macros from bp-asm.h.
17635 (memcpy): Likewise. Do not use BP_SYM.
17636 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17637 libc_hidden_def and weak_alias.
17638 (mempcpy): Do not use BP_SYM in weak_alias.
17639 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17641 (PARMS): Do not use macros from bp-asm.h.
17644 [!BZERO_P] (CHR): Likewise.
17645 (memset): Likewise. Do not use BP_SYM.
17646 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17648 (PARMS): Do not use macros from bp-asm.h.
17651 (__mpn_mul_1): Do not use BP_SYM.
17652 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17654 (PARMS): Do not use macros from bp-asm.h.
17657 (__mpn_rshift): Do not use BP_SYM.
17658 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17660 (PARMS): Do not use macros from bp-asm.h.
17663 (strchr): Likewise. Do not use BP_SYM.
17664 (index): Do not use BP_SYM in weak_alias.
17665 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17667 (PARMS): Do not use macros from bp-asm.h.
17670 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17671 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17673 (PARMS): Do not use macros from bp-asm.h.
17674 (strlen): Do not use BP_SYM.
17675 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17677 (PARMS): Do not use macros from bp-asm.h.
17681 (__mpn_sub_n): Do not use BP_SYM.
17682 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17684 (PARMS): Do not use macros from bp-asm.h.
17687 (__mpn_submul_1): Do not use BP_SYM.
17688 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17690 (PARMS): Do not use macros from bp-asm.h.
17694 (__mpn_add_n): Do not use BP_SYM.
17695 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17698 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17700 (PARMS): Do not use macros from bp-asm.h.
17703 (memcmp): Do not use BP_SYM.
17704 (bcmp): Do not use BP_SYM in weak_alias.
17705 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17707 (PARMS): Do not use macros from bp-asm.h.
17711 (memcpy): Likewise. Do not use BP_SYM.
17712 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17714 (PARMS): Do not use macros from bp-asm.h.
17718 (memmove): Likewise. Do not use BP_SYM.
17719 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17721 (PARMS): Do not use macros from bp-asm.h.
17725 (__mempcpy): Likewise. Do not use BP_SYM.
17726 (mempcpy): Do not use BP_SYM in weak_alias.
17727 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17729 (PARMS): Do not use macros from bp-asm.h.
17732 [!BZERO_P] (CHR): Likewise.
17733 (memset): Likewise. Do not use BP_SYM.
17734 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17736 (PARMS): Do not use macros from bp-asm.h.
17738 (strcmp): Do not use BP_SYM.
17739 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17741 (PARMS): Do not use macros from bp-asm.h.
17744 [USE_AS_STRTOK_R] (SAVE): Likewise.
17745 (FUNCTION): Likewise. Do not use BP_SYM.
17746 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17748 (strtok_r): Likewise.
17749 (__GI___strtok_r): Likewise.
17750 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17751 (PARMS): Do not use macros from bp-asm.h.
17754 (__mpn_lshift): Do not use BP_SYM.
17755 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17756 (PARMS): Do not use macros from bp-asm.h.
17759 (__memchr): Do not use BP_SYM.
17760 (memchr): Do not use BP_SYM in weak_alias.
17761 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17762 (PARMS): Do not use macros from bp-asm.h.
17765 (memcmp): Do not use BP_SYM.
17766 (bcmp): Do not use BP_SYM in weak_alias.
17767 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17768 (PARMS): Do not use macros from bp-asm.h.
17771 (__mpn_mul_1): Do not use BP_SYM.
17772 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17774 (PARMS): Do not use macros from bp-asm.h.
17777 (__rawmemchr): Do not use BP_SYM.
17778 (rawmemchr): Do not use BP_SYM in weak_alias.
17779 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17780 (PARMS): Do not use macros from bp-asm.h.
17783 (__mpn_rshift): Do not use BP_SYM.
17784 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17785 (PARMS): Do not use macros from bp-asm.h.
17786 (SIGMSK): Likewise.
17787 (__sigsetjmp): Likewise. Do not use BP_SYM.
17788 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17789 (_start): Do not use BP_SYM.
17790 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17791 (PARMS): Do not use macros from bp-asm.h.
17794 (__stpcpy): Likewise. Do not use BP_SYM.
17795 (stpcpy): Do not use BP_SYM in weak_alias.
17796 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17798 (PARMS): Do not use macros from bp-asm.h.
17802 (__stpncpy): Likewise. Do not use BP_SYM.
17803 (stpncpy): Do not use BP_SYM in weak_alias.
17804 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17805 (PARMS): Do not use macros from bp-asm.h.
17808 (strchr): Likewise. Do not use BP_SYM.
17809 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17811 (PARMS): Do not use macros from bp-asm.h.
17814 (__strchrnul): Likewise. Do not use BP_SYM.
17815 (strchrnul): Do not use BP_SYM in weak_alias.
17816 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17818 (PARMS): Do not use macros from bp-asm.h.
17820 (strcspn): Do not use BP_SYM.
17821 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17823 (PARMS): Do not use macros from bp-asm.h.
17826 (strpbrk): Likewise. Do not use BP_SYM.
17827 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17829 (PARMS): Do not use macros from bp-asm.h.
17832 (strrchr): Likewise. Do not use BP_SYM.
17833 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17834 (PARMS): Do not use macros from bp-asm.h.
17836 (strspn): Do not use BP_SYM.
17837 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17838 (PARMS): Do not use macros from bp-asm.h.
17842 (FUNCTION): Likewise. Do not use BP_SYM.
17843 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17845 (strtok_r): Likewise.
17846 (__GI___strtok_r): Likewise.
17847 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17848 (PARMS): Do not use macros from bp-asm.h.
17852 (__mpn_sub_n): Do not use BP_SYM.
17853 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17855 (PARMS): Do not use macros from bp-asm.h.
17858 (__mpn_submul_1): Do not use BP_SYM.
17859 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17861 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17863 (PARMS): Do not use macros from bp-asm.h.
17868 (__clone): Do not use BP_SYM.
17869 (clone): Do not use BP_SYM in weak_alias.
17870 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17872 (PARMS): Do not use macros from bp-asm.h.
17874 (__mmap64): Do not use BP_SYM.
17875 (mmap64): Do not use BP_SYM in weak_alias.
17876 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17877 <bp-sym.h> and <bp-asm.h>.
17878 (PARMS): Do not use macros from bp-asm.h.
17879 (__posix_fadvise64_l64): Do not use BP_SYM.
17880 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17881 (PARMS): Do not use macros from bp-asm.h.
17883 (semtimedop): Do not use BP_SYM.
17884 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17887 2013-02-21 Allan McRae <allan@archlinux.org>
17889 * manual/message.texi (Charset conversion in gettext):
17890 Move @end statement to beginning of line.
17892 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17899 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17900 (denorm): Likewise.
17901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17904 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17906 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17907 tail-call to the resolved function if pltexit isn't needed.
17909 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17912 or Y being zero as being unlikely.
17913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17916 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17918 * manual/nss.texi (System Databases and Name Service Switch):
17919 Remove frobnicate @pxref.
17921 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17923 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17924 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17926 2013-02-20 Petr Machata <pmachata@redhat.com>
17928 * elf/elf.h (R_ARM_TARGET1): New macro.
17929 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17930 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17931 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17932 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17933 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17934 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17935 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17936 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17937 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17938 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17939 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17940 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17941 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17942 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17943 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17944 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17945 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17946 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17947 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17948 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17949 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17950 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17951 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17952 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17953 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17954 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17955 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17956 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17957 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17958 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17959 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17960 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17961 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17962 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17963 (R_ARM_THM_GOT_BREL12): Likewise.
17964 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17965 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17966 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17967 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17968 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17969 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17970 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17971 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17972 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17974 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17976 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17977 __attribute_used__ to __attribute__ ((unused)).
17979 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17981 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17984 comment formatting.
17985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17987 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17990 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17992 (ENTER): Remove both macro definitions.
17994 (CHECK_BOUNDS_LOW): Likewise.
17995 (CHECK_BOUNDS_HIGH): Likewise.
17996 (CHECK_BOUNDS_BOTH): Likewise.
17997 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17998 (RETURN_BOUNDED_POINTER): Likewise.
17999 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18000 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18001 (POP_ERRNO_LOCATION_RETURN): Likewise.
18002 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18003 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18004 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18006 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18007 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18008 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18009 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18010 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18011 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18012 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18013 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18014 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18015 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18016 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18017 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18018 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18019 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18021 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18022 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18024 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18025 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18026 * sysdeps/i386/i586/memset.S (memset): Likewise.
18027 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18028 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18029 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18031 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18032 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18033 Change uses of L(2) to L(out).
18034 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18035 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18036 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18037 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18038 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18040 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18041 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18043 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18044 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18045 (RETURN): Do not use macro LEAVE.
18046 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18047 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18048 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18049 * sysdeps/i386/i686/memset.S (memset): Likewise.
18050 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18051 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18052 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18053 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18055 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18056 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18057 L(1_2) and L(1_3) into L(1).
18058 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18059 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18060 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18061 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18062 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18063 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18064 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18065 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18066 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18068 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18069 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18070 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18071 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18072 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18073 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18074 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18075 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18076 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18077 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18078 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18079 * sysdeps/i386/strspn.S (strspn): Likewise.
18080 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18082 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18083 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18084 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18085 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18086 L(1_3) into L(1_1).
18087 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18088 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18089 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18091 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18093 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18095 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18098 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18100 * math/atest-exp.c (exp_mpn): Remove ROUND.
18101 * math/atest-exp2.c (exp_mpn): Likewise.
18102 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18104 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18105 * stdlib/tst-tls-atexit-lib.c: Likewise.
18106 * stdlib/tst-tls-atexit.c: Likewise.
18108 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18110 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18111 and __attribute_alloc_size__.
18113 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18115 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18116 __attribute_alloc_size__.
18117 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18118 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18120 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18122 * include/programs/xmalloc.h: New file.
18123 * catgets/gencat.c: Include it.
18124 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18125 * elf/pldd.c: Likewise.
18126 * iconv/iconv_charmap.c: Likewise.
18127 * iconv/iconvconfig.c: Likewise.
18128 * iconv/strtab.c: Likewise.
18129 * locale/programs/locale.c: Likewise.
18130 * locale/programs/localedef.h: Likewise.
18131 * locale/programs/simple-hash.c: Likewise.
18132 * nscd/nscd.h: Likewise.
18133 * nss/makedb.c: Likewise.
18134 * sysdeps/generic/ldconfig.h: Likewise.
18136 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18138 * Versions.def: Add GLIBC_2.18.
18139 * include/link.h (struct link_map): New member l_tls_dtor_count.
18140 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18141 (__call_tls_dtors): Likewise.
18142 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18143 __cxa_thread_atexit_impl.
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18152 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18160 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18161 (tests): Add test case tst-tls-atexit.
18162 (modules-names): Add shared library for tst-tls-atexit.
18163 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18164 (GLIBC_PRIVATE): Add __call_tls_dtors.
18165 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18167 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18168 * stdlib/tst-tls-atexit.c: New test case.
18169 * stdlib/tst-tls-atexit-lib.c: New test case.
18171 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18173 * elf/Versions (ld): Add _dl_find_dso_for_object.
18174 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18175 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18176 (dl_open_worker): Use _dl_find_dso_for_object.
18177 * elf/dl-sym.c (do_sym): Likewise.
18178 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18180 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18182 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18183 Syntactic changes only.
18184 (_dl_runtime_profile): Do a tail-call to the resolved function.
18186 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18189 * sysdeps/x86_64/bp-asm.h: Remove file.
18190 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18191 <bp-sym.h> and <bp-asm.h>.
18192 (__clone): Do not use BP_SYM.
18193 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18194 <bp-sym.h> and <bp-asm.h>.
18195 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18196 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18198 (_setjmp): Do not use BP_SYM.
18199 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18201 (setjmp): Do not use BP_SYM.
18202 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18204 (mempcpy): Do not use BP_SYM in weak_alias.
18205 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18207 (strchr): Do not use BP_SYM.
18208 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18210 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18211 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18212 (_start): Do not use BP_SYM.
18213 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18215 (strcat): Do not use BP_SYM.
18216 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18218 (STRCMP): Do not use BP_SYM.
18219 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18221 (STRCPY): Do not use BP_SYM.
18222 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18224 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18226 (FUNCTION): Do not use BP_SYM.
18227 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18229 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18231 2013-02-17 Andreas Jaeger <aj@suse.de>
18233 * time/Versions: Sort entries.
18234 * string/Versions: Likewise.
18235 * resolv/Versions: Likewise.
18236 * posix/Versions: Likewise.
18237 * iconv/Versions: Likewise.
18238 * elf/Versions: Likewise.
18239 * wcsmbs/Versions: Likewise.
18241 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18243 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18244 loop termination condition.
18246 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18247 variable to calculate EZ.
18250 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18251 the lower precision input.
18253 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18256 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18257 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18258 (run-via-rtld-prefix): Do not handle %-bp tests.
18259 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18260 (all-object-suffixes): Remove .ob.
18261 (bppfx): Remove variable.
18262 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18263 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18264 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18265 [$(build-bounded) = yes] (libtype.ob): Likewise.
18266 * Makerules (elide-routines.ob): Remove variable.
18267 (do-tests-clean): Do not handle *-bp.out.
18268 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18269 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18270 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18271 (tests): Do not include $(tests-bp.out).
18272 (xtests): Do not include $(xtests-bp.out).
18273 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18274 [$(build-bounded) = yes] ($(addprefix
18275 $(objpfx),$(binaries-bounded))): Remove rule.
18276 ($(objpfx)%-bp.out): Remove rule.
18277 * config.make.in (build-bounded): Remove variable.
18278 * crypt/Makefile [$(build-bounded) = yes]
18279 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18280 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18281 append to variable.
18282 [$(build-bounded) = yes] (install-lib): Likewise.
18283 [$(build-bounded) = yes] (generated): Likewise.
18284 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18286 * intl/Makefile [$(build-bounded) = yes]
18287 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18288 * math/Makefile [$(build-bounded) = yes]
18289 ($(tests:%=$(objpfx)%-bp): Likewise.
18290 * misc/Makefile [$(build-bounded) = yes]
18291 ($(objpfx)tst-tsearch-bp): Likewise.
18292 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18293 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18295 * string/Makefile (o-objects.ob): Remove variable.
18296 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18297 (CFLAGS-.ob): Remove variable.
18298 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18299 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18300 both definitions of variable.
18301 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18302 (ASFLAGS-.ob): Remove variable.
18304 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18307 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18308 Remove __BOUNDED_POINTERS__ from condition.
18309 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18310 * string/bits/string2.h [!__NO_STRING_INLINES &&
18311 !__BOUNDED_POINTERS__]: Likewise.
18312 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18314 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18315 Remove conditional code.
18316 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18317 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18318 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18322 * csu/libc-start.c: Do not include <bp-sym.h>.
18323 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18324 * elf/dl-open.c: Do not include <bp-sym.h>.
18325 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18326 * math/fegetenv.c: Do not include <bp-sym.h>.
18327 (fegetenv): Do not use BP_SYM in versioned symbols.
18328 * nptl/sysdeps/pthread/bits/libc-lockP.h
18329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18332 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18334 (__pthread_mutex_destroy): Likewise.
18335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18336 (__pthread_mutex_lock): Likewise.
18337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18338 (__pthread_mutex_trylock): Likewise.
18339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18340 (__pthread_mutex_unlock): Likewise.
18341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18342 (__pthread_mutexattr_init): Likewise.
18343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18344 (__pthread_mutexattr_destroy): Likewise.
18345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18346 (__pthread_mutexattr_settype): Likewise.
18347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18348 (__pthread_rwlock_init): Likewise.
18349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18350 (__pthread_rwlock_destroy): Likewise.
18351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18352 (__pthread_rwlock_rdlock): Likewise.
18353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18354 (__pthread_rwlock_tryrdlock): Likewise.
18355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18356 (__pthread_rwlock_wrlock): Likewise.
18357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18358 (__pthread_rwlock_trywrlock): Likewise.
18359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18360 (__pthread_rwlock_unlock): Likewise.
18361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18362 (__pthread_key_create): Likewise.
18363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18364 (__pthread_setspecific): Likewise.
18365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18366 (__pthread_getspecific): Likewise.
18367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18370 (_pthread_cleanup_push_defer): Likewise.
18371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18372 (_pthread_cleanup_pop_restore): Likewise.
18373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18374 (pthread_setcancelstate): Likewise.
18375 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18377 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18378 (memchr): Do not use BP_SYM in weak_alias.
18379 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18380 (fegetenv): Do not use BP_SYM in versioned symbols.
18381 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18382 (fesetenv): Do not use BP_SYM in versioned symbols.
18383 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18384 (feupdateenv): Do not use BP_SYM in versioned symbols.
18385 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18386 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18387 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18388 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18389 (open64): Do not use BP_SYM in weak_alias.
18390 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18391 (fegetenv): Do not use BP_SYM in versioned symbols.
18392 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18393 (fesetenv): Do not use BP_SYM in versioned symbols.
18394 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18395 (feupdateenv): Do not use BP_SYM in versioned symbols.
18396 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18397 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18398 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18399 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18400 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18401 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18402 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18404 (__libc_start_main): Do not use BP_SYM.
18406 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18409 redundant return line.
18411 (denorm): Likewise.
18412 (dbl_mp): Likewise.
18413 (sub_magnitudes): Likewise.
18419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18421 (denorm): Likewise.
18422 (dbl_mp): Likewise.
18423 (sub_magnitudes): Likewise.
18430 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18432 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18433 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18436 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18437 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18439 of __mul for squares.
18440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18444 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18445 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18447 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18450 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18452 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18453 prototype or function definition. Rename ubp_* variables and
18454 parameters. Remove argv definitions conditional on
18455 [__BOUNDED_POINTERS__].
18456 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18457 * elf/dl-runtime.c (_dl_fixup): Likewise.
18458 * include/set-hooks.h (RUN_HOOK): Likewise.
18459 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18461 * string/strcpy.c (strcpy): Do not use __unbounded.
18462 * sysdeps/generic/frame.h (struct layout): Likewise.
18463 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18464 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18465 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18466 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18467 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18468 (__backtrace): Likewise.
18469 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18471 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18472 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18473 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18475 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18476 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18477 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18478 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18479 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18480 Do not use __unbounded.
18481 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18482 Rename __unboundedrlimits parameter to rlimits in prototype.
18483 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18484 Do not use __unbounded.
18485 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18486 not use __ptrvalue.
18487 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18488 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18489 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18490 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18491 __ptrvalue or __unbounded.
18492 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18493 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18495 (__new_msgctl): Do not use __ptrvalue.
18496 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18498 (__libc_msgrcv): Do not use __ptrvalue.
18499 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18500 startup_info): Do not use __unbounded.
18501 (__libc_start_main): Likewise. Rename ubp_* variables and
18502 parameters. Remove argv definitions conditional on
18503 [__BOUNDED_POINTERS__].
18504 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18506 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18508 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18510 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18512 (__new_shmctl): Do not use __ptrvalue.
18513 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18514 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18516 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18517 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18518 (__libc_sigaction): Likewise.
18519 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18520 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18522 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18524 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18526 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18528 * string/mempcpy.c: Implement by calling memcpy.
18530 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18532 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18534 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18537 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18538 values in the mantissa.
18540 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18541 minimize writes to Z.
18542 (sub_magnitudes): Simplify code a bit.
18544 2013-02-12 Roland McGrath <roland@hack.frob.com>
18546 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18547 from the message. The linker prefixes all warnings with that already.
18549 2013-02-12 Andreas Schwab <schwab@suse.de>
18552 * posix/regexec.c (extend_buffers): Add parameter min_len.
18553 (check_matching): Pass minimum needed length.
18554 (clean_state_log_if_needed): Likewise.
18555 (get_subexp): Likewise.
18556 * posix/Makefile (tests): Add bug-regex34.
18557 (bug-regex34-ENV): Define.
18558 * posix/bug-regex34.c: New file.
18561 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18562 elements compare against the byte sequence of it, not its name.
18563 * posix/Makefile (tests): Add bug-regex35.
18564 (bug-regex35-ENV): Define.
18565 * posix/bug-regex35.c: New file.
18567 2013-02-11 Tom de Vries <tom@codesourcery.com>
18569 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18571 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18572 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18573 (CHECK_EOL): Add undef.
18575 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18577 * bits/stdlib-bsearch.h: New file.
18578 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18579 * stdlib/stdlib.h: Likewise.
18581 2013-02-11 Roland McGrath <roland@hack.frob.com>
18583 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18584 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18586 * manual/search.texi (Array Search Function): Add missing const in
18588 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18589 declaration to use rlim_t.
18590 (Basic Scheduling Functions): Remove erroneous const from
18591 sched_getparam prototype. Remove erroneous * from
18592 sched_get_priority_max and sched_get_priority_min prototypes.
18593 (Resource Usage): Fix summary @comment on vtimes to refer to
18594 sys/vtimes.h rather than vtimes.h.
18595 Add missing *s in vtimes prototype.
18596 (Limits on Resources): Fix ulimit prototype to return long int.
18597 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18598 prototypes to use long int rather than double.
18599 (BSD Random): Fix initstate and setstate to use char *, not void *.
18600 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18601 prototype to make second argument 'struct aiocb64 *const[]'.
18602 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18603 (Status of AIO Operations): Remove erroneous const in aio_return and
18604 aio_return64 prototypes.
18605 (Synchronizing I/O): Fix sync prototype to return void.
18606 * manual/startup.texi (Suboptions): Remove an erroneous const in
18607 getsubopt prototype.
18608 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18609 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18610 use size_t rather than int.
18611 (Scanning All Users): Likewise for getpwent_r.
18612 (Setting Groups): Add missing const to setgroups prototype.
18613 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18614 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18615 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18616 'const void *' rather than 'const char *'.
18617 (Host Address Functions): Likewise for inet_ntop.
18618 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18619 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18620 ssize_t for return value.
18621 (Sending Data): Likewise for send, sendto, sendmsg.
18622 (Socket Option Functions): Add a missing const in setsockopt prototype.
18623 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18624 use wchar_t for the argument.
18625 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18626 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18628 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18629 double/float/long double for second argument.
18630 Fix return types of significand, significandf, significandl.
18631 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18632 argument in fchmod prototype.
18633 (File Owner): Use uid_t and gid_t in fchown prototype.
18634 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18635 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18636 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18637 use 'const struct dirent **' as argument types to CMP function pointer
18639 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18640 (File Times): Fix summary magic @comment for struct utimbuf and utime
18641 to refer to utime.h, not time.h.
18642 * manual/string.texi (Argz Functions): Add missing const in
18643 argz_extract and argz_next prototypes.
18644 (Finding Tokens in a String): Likewise for basename.
18645 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18646 (Copying and Concatenation): Fix typo in wmemmove prototype.
18647 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18648 (Signal Stack): Remove erroneous const in sigstack prototype.
18649 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18651 (Simple Calendar Time): Likewise for stime.
18652 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18654 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18655 say sys/sysctl.h instead.
18656 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18657 and vsyslog prototypes.
18659 2013-02-11 Tom de Vries <tom@codesourcery.com>
18661 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18664 2013-02-11 Roland McGrath <roland@hack.frob.com>
18666 * misc/sys/mman.h: Fix typo in mremap comment.
18668 2013-02-08 Roland McGrath <roland@hack.frob.com>
18670 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18671 the '\0' terminator.
18673 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18676 * debug/segfault.c: Don't include <bp-checks.h>.
18677 * sysdeps/generic/bp-checks.h: Remove file.
18678 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18679 (__GETDENTS): Don't use CHECK_N.
18680 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18681 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18682 (__getgroups): Don't use CHECK_N.
18683 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18684 (setgroups): Don't use CHECK_N.
18685 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18686 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18687 (__libc_msgrcv): Don't use CHECK_N.
18688 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18689 (__libc_msgsnd): Don't use CHECK_N.
18690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18692 (__libc_pread): Don't use CHECK_N.
18693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18694 include <bp-checks.h>.
18695 (__libc_pread64): Don't use CHECK_N.
18696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18697 include <bp-checks.h>.
18698 (__libc_pwrite): Don't use CHECK_N.
18699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18700 include <bp-checks.h>.
18701 (__libc_pwrite64): Don't use CHECK_N.
18702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18704 (__libc_pread): Don't use CHECK_N.
18705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18706 include <bp-checks.h>.
18707 (__libc_pread64): Don't use CHECK_N.
18708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18709 include <bp-checks.h>.
18710 (__libc_pwrite): Don't use CHECK_N.
18711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18712 include <bp-checks.h>.
18713 (__libc_pwrite64): Don't use CHECK_N.
18714 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18715 (do_pread): Don't use CHECK_N.
18716 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18717 (do_pread64): Don't use CHECK_N.
18718 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18719 (do_pwrite): Don't use CHECK_N.
18720 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18721 (do_pwrite64): Don't use CHECK_N.
18722 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18723 (__libc_readv): Don't use CHECK_N.
18724 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18725 (semop): Don't use CHECK_N.
18726 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18728 (semtimedop): Don't use CHECK_N.
18729 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18730 (__libc_pread): Don't use CHECK_N.
18731 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18733 (__libc_pread64): Don't use CHECK_N.
18734 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18736 (__libc_pwrite): Don't use CHECK_N.
18737 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18739 (__libc_pwrite64): Don't use CHECK_N.
18740 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18742 (__libc_msgrcv): Don't use CHECK_N.
18743 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18744 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18745 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18746 (__libc_writev): Don't use CHECK_N.
18748 2013-02-08 Roland McGrath <roland@hack.frob.com>
18750 * string/strcpy.c: Removed unused variable.
18752 * Makeconfig (+sysdep-includes): Define with := rather than =.
18753 Use an existing include/ subdir of each sysdeps dir before it.
18755 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18757 * nscd/connection.c (register_traced_file): Comment function.
18758 [HAVE_INOTIFY] (union __inev): Define.
18759 [HAVE_INOTIFY] (inotify_check_files): New function.
18760 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18761 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18763 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18765 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18767 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18768 loaded if not already and that a failure is permanent.
18770 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18773 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18774 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18776 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18779 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18780 (CHECK_1_NULL_OK): Likewise.
18781 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18782 (__fxstat): Do not use CHECK_1.
18783 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18785 (___fxstat64): Do not use CHECK_1.
18786 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18788 (__fxstatat): Do not use CHECK_1.
18789 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18791 (__fxstatat64): Do not use CHECK_1.
18792 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18794 (__fxstat): Do not use CHECK_1.
18795 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18797 (__fxstatat): Do not use CHECK_1.
18798 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18800 (__getresgid): Do not use CHECK_1.
18801 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18803 (__getresuid): Do not use CHECK_1.
18804 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18806 (__lxstat): Do not use CHECK_1.
18807 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18809 (__old_msgctl): Do not use CHECK_1.
18810 (__new_msgctl): Likewise.
18811 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18813 (__new_setrlimit): Do not use CHECK_1.
18814 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18816 (__old_shmctl): Do not use CHECK_1.
18817 (__new_shmctl): Likewise.
18818 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18820 (__xstat): Do not use CHECK_1.
18821 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18822 (__lxstat): Do not use CHECK_1.
18823 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18825 (___lxstat64): Do not use CHECK_1.
18826 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18827 (__old_msgctl): Do not use CHECK_1.
18828 (__new_msgctl): Likewise.
18829 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18831 (__gettimeofday): Do not use CHECK_1.
18832 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18833 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18834 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18836 (__gettimeofday): Do not use CHECK_1.
18837 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18838 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18839 (__new_shmctl): Do not use CHECK_1.
18840 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18842 (do_sigtimedwait): Do not use CHECK_1.
18843 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18845 (do_sigwaitinfo): Do not use CHECK_1.
18846 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18848 (msgctl): Do not use CHECK_1.
18849 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18851 (shmctl): Do not use CHECK_1.
18852 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18853 (ustat): Do not use CHECK_1.
18854 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18856 (__fxstat): Do not use CHECK_1.
18857 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18859 (__fxstatat): Do not use CHECK_1.
18860 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18862 (__lxstat): Do not use CHECK_1.
18863 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18865 (__xstat): Do not use CHECK_1.
18866 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18867 (__xstat): Do not use CHECK_1.
18868 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18869 (___xstat64): Do not use CHECK_1.
18872 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18874 (CHECK_BOUNDS_HIGH): Likewise.
18875 * string/strcpy.c: Do not include <bp-checks.h>.
18876 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18878 2013-02-07 Roland McGrath <roland@hack.frob.com>
18880 * nscd/nscd-client.h (__nscd_drop_map_ref):
18881 Add __attribute__ ((unused)).
18882 * nis/nss-nisplus.h (niserr2nss): Likewise.
18884 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18885 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18887 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18888 Remove inline keyword.
18889 * include/rounding-mode.h (round_away): Likewise.
18890 * libio/wfileops.c (adjust_wide_data): Likewise.
18891 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18892 (__m128i_strloadu_tolower): Likewise.
18893 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18894 (__m128i_strloadu_tolower): Likewise.
18895 * time/mktime.c (ydhms_diff): Likewise.
18896 * locale/elem-hash.h (elem_hash): Likewise.
18897 * locale/setlocale.c (setdata): Likewise.
18898 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18899 (re_string_wchar_at): Likewise.
18900 (bitset_not, bitset_merge, bitset_mask): Likewise.
18901 [!(__GNUC__ > 3)] (inline): Remove macro.
18902 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18903 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18904 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18905 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18906 * string/memcmp.c (memcmp_bytes): Likewise.
18907 * locale/programs/locarchive.c (compute_hashval): Likewise.
18908 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18909 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18910 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18911 * nss/getent.c (print_rpc, print_protocols): Likewise.
18912 (print_passwd, print_group, print_aliases): Likewise.
18913 * nis/nss-nisplus.h (niserr2nss): Likewise.
18914 * nscd/connections.c (restart_p): Likewise.
18915 Change return type to bool.
18917 2013-02-05 Roland McGrath <roland@hack.frob.com>
18919 * Makeconfig (all-Depend-files): Add existing
18920 $(sorted-subdirs:=/Depend) files.
18921 (all-subdirs): Remove nss.
18922 * sysdeps/unix/inet/Subdirs: Add it here instead.
18923 * hesiod/Depend: New file.
18925 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18926 instead of calling alloca.
18928 * io/lseek.c (__lseek): Rename to __libc_lseek.
18929 Define __lseek as an alias.
18931 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18933 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18935 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18936 else clause and remove check for non-standard endianness.
18938 2013-02-04 David S. Miller <davem@davemloft.net>
18940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18942 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18945 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18946 (__ubp_memchr): Remove prototype.
18947 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18948 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18949 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18950 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18951 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18953 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18954 (__ubp_memchr): Likewise.
18955 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18956 (__ubp_memchr): Likewise.
18957 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18958 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18959 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18960 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18962 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18963 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18964 (__getcwd): Do not use CHECK_STRING.
18965 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18967 (__real_chown): Do not use CHECK_STRING.
18968 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18970 (fchownat): Do not use CHECK_STRING.
18971 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18973 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18975 (__lchown): Do not use CHECK_STRING.
18976 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18977 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18978 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18979 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18981 include <bp-checks.h>.
18982 (truncate64): Do not use CHECK_STRING.
18983 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18985 (__real_chown): Do not use CHECK_STRING.
18986 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18988 (__lchown): Do not use CHECK_STRING.
18989 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18991 (__chown): Do not use CHECK_STRING.
18992 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18994 (truncate64): Do not use CHECK_STRING.
18995 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18997 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18998 (__xmknod): Do not use CHECK_STRING.
18999 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19001 (__xmknodat): Do not use CHECK_STRING.
19002 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19003 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19005 2013-02-04 Andreas Schwab <schwab@suse.de>
19008 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19009 * include/netdb.h: Likewise for h_errno.
19010 * elf/tst-stackguard1.c: Include <tls.h>.
19012 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19014 * elf/link.h (struct link_map): Extend the l_addr comment.
19015 * include/link.h (struct link_map): Likewise.
19017 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19020 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19021 (BOUNDED_1): Remove macro.
19022 * debug/backtrace.c: Don't include <bp-checks.h>.
19023 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19024 (__backtrace): Likewise.
19025 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19027 (__backtrace): Don't use BOUNDED_1.
19028 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19030 (__backtrace): Don't use BOUNDED_1.
19031 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19032 (__backtrace): Don't use BOUNDED_1.
19033 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19034 (shmat): Don't use BOUNDED_N.
19036 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19039 * sysdeps/generic/bp-start.h: Remove file.
19040 * csu/libc-start.c: Don't include <bp-start.h>.
19041 (LIBC_START_MAIN): Set up __environ directly instead of using
19042 INIT_ARGV_and_ENVIRON.
19043 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19047 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19049 (CHECK_FCNTL): Likewise.
19050 (CHECK_N_PAGES): Likewise.
19053 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19055 (CHECK_SIGSET_NULL_OK): Likewise.
19056 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19058 (sigpending): Don't use CHECK_SIGSET.
19059 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19061 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19062 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19064 (do_sigsuspend): Don't use CHECK_SIGSET.
19065 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19067 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19068 (do_sigwait): Don't use CHECK_SIGSET.
19069 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19071 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19072 include <bp-checks.h>.
19073 (sigpending): Don't use CHECK_SIGSET.
19074 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19075 include <bp-checks.h>.
19076 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19077 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19079 (sigpending): Don't use CHECK_SIGSET.
19080 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19082 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19085 * sysdeps/generic/bp-semctl.h: Remove file.
19086 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19087 <bp-checks.h> and <bp-semctl.h>.
19088 (__old_semctl): Don't use CHECK_SEMCTL.
19089 (__new_semctl): Likewise.
19090 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19092 (__old_semctl): Don't use CHECK_SEMCTL.
19093 (__new_semctl): Likewise.
19094 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19095 <bp-checks.h> and <bp-semctl.h>.
19096 (__old_semctl): Don't use CHECK_SEMCTL.
19097 (__new_semctl): Likewise.
19098 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19099 <bp-checks.h> and <bp-semctl.h>.
19100 (semctl): Don't use CHECK_SEMCTL.
19103 * Makerules (elide-bp-thunks): Remove variable.
19104 (elide-routines.oS): Don't use $(elide-bp-thunks).
19105 (elide-routines.os): Likewise.
19106 (elide-routines.o): Likewise.
19107 (elide-routines.op): Likewise.
19108 (elide-routines.og): Likewise.
19109 (objects): Don't use $(bp-thunks).
19110 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19112 (common-generated): Do not add s-proto-bp.d.
19113 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19116 Do not generate makefile rules for bounded-pointer thunks.
19117 * sysdeps/generic/bp-thunks.h: Remove file.
19118 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19119 * sysdeps/unix/s-proto-bp.S: Likewise.
19122 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19123 parts of result separately when argument is not close to line from
19124 -i to i and one part of argument is small.
19125 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19126 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19127 * math/libm-test.inc (cacos_test): Add more tests.
19128 (casin_test): Likewise.
19129 (casinh_test): Likewise.
19130 * sysdeps/i386/fpu/libm-test-ulps: Update.
19131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19133 2013-01-31 David S. Miller <davem@davemloft.net>
19135 * po/de.po: Update from translation team.
19137 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19139 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19141 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19143 * configure.in (_AC_PROG_CC_C89): New definition.
19144 * configure: Regenerate.
19146 * configure.in (AC_PROG_CPP): New definition.
19147 * configure: Regenerate.
19149 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19151 * debug/tst-backtrace.h: New file.
19152 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19153 (ret): Remove variable.
19155 (FAIL): Remove macro.
19156 (NO_INLINE): Likewise.
19157 (fn1): Use match function instead of strstr.
19158 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19159 (ret): Remove variable.
19161 (FAIL): Remove macro.
19162 (NO_INLINE): Likewise.
19163 (fn): Use match function instead of strstr.
19164 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19165 (ret): Remove variable.
19167 (FAIL): Remove macro.
19168 (NO_INLINE): Likewise.
19169 (handle_signal): Use match function instead of strstr.
19170 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19171 (ret): Remove variable.
19173 (FAIL): Remove macro.
19174 (NO_INLINE): Likewise.
19175 (handle_signal): Use match function instead of strstr.
19177 2013-01-23 Roland McGrath <roland@hack.frob.com>
19179 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19181 2013-01-23 David S. Miller <davem@davemloft.net>
19183 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19184 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19185 argument of CAS if possible.
19186 * sysdeps/sparc/sparc64/bits/atomic.h
19187 (__arch_compare_and_exchange_val_32_acq): Likewise.
19188 (__arch_compare_and_exchange_val_64_acq): Likewise.
19190 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19192 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19193 * sysdeps/posix/ulimit.c: ... this.
19194 Include <limits.h>.
19195 * sysdeps/unix/bsd/ulimit.c: Remove file.
19197 2013-01-23 Adam Conrad <adconrad@0c3.net>
19199 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19200 (LDFLAGS-tst-array5): Likewise.
19202 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19205 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19206 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19207 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19208 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19210 2013-01-21 David S. Miller <davem@davemloft.net>
19212 * sysdeps/sparc/backtrace.c: New file.
19213 * sysdeps/sparc/sparc32/backtrace.h: New file.
19214 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19215 * sysdeps/sparc/sparc64/backtrace.h: New file.
19216 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19217 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19220 2013-01-21 Andreas Schwab <schwab@suse.de>
19223 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19226 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19232 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19233 Mark Mitchell <mark@codesourcery.com>
19234 Tom de Vries <tom@codesourcery.com>
19235 Paul Pluzhnikov <ppluzhnikov@google.com>
19237 * debug/tst-backtrace2.c: New file.
19238 * debug/tst-backtrace3.c: Likewise.
19239 * debug/tst-backtrace4.c: Likewise.
19240 * debug/tst-backtrace5.c: Likewise.
19241 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19242 (CFLAGS-tst-backtrace3.c): Likewise.
19243 (CFLAGS-tst-backtrace4.c): Likewise.
19244 (CFLAGS-tst-backtrace5.c): Likewise.
19245 (LDFLAGS-tst-backtrace2): Likewise.
19246 (LDFLAGS-tst-backtrace3): Likewise.
19247 (LDFLAGS-tst-backtrace4): Likewise.
19248 (LDFLAGS-tst-backtrace5): Likewise.
19249 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19250 tst-backtrace4 and tst-backtrace5.
19252 2013-01-18 Anton Blanchard <anton@samba.org>
19253 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19255 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19256 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19257 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19258 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19260 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19261 "+r" and remove output regs list as redundant. Add explicit inline
19262 asm to specify register of return val to work around compiler codegen
19263 bug. Remove (int) cast on return value. Add return type parameter to
19264 use in macro so that this macro does not truncate return value for
19266 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19267 pass to INTERNAL_VSYSCALL_NCS.
19268 (INLINE_VSYSCALL): Add 'long int' as return type to
19269 INTERNAL_VSYSCALL_NCS macro invocation.
19270 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19271 INTERNAL_VSYSCALL_NCS macro invocation.
19272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19274 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19277 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19278 Fix application of SIMD FP exception mask.
19280 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19281 mp_no from a power of two.
19282 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19283 __mpexp_twomm1. Use __pow_mp.
19285 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19288 2013-01-17 David S. Miller <davem@davemloft.net>
19290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19292 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19295 * include/complex.h: Condition contents on [!_COMPLEX_H].
19296 (__kernel_casinhf): New prototype.
19297 (__kernel_casinh): Likewise.
19298 (__kernel_casinhl): Likewise.
19299 * math/Makefile (libm_calls): Add k_casinh.
19300 * math/k_casinh.c: New file.
19301 * math/k_casinhf.c: Likewise.
19302 * math/k_casinhl.c: Likewise.
19303 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19304 finite nonzero arguments.
19305 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19306 finite nonzero arguments.
19307 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19308 finite nonzero arguments.
19309 * math/s_casinh.c: Do not include <float.h>.
19310 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19311 * math/s_casinhf.c: Do not include <float.h>.
19312 (__casinhf): Move code for finite nonzero arguments to
19314 * math/s_casinhl.c: Do not include <float.h>.
19315 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19317 (__casinhl): Move code for finite nonzero arguments to
19319 * math/libm-test.inc (cacos_test): Add more tests.
19320 * sysdeps/i386/fpu/libm-test-ulps: Update.
19321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19323 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19325 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19326 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19327 [!HAVE_MREMAP]: Remove [defined linux] case.
19328 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19330 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19332 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19334 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19336 * elf/elf.h (R_386_SIZE32): New relocation.
19337 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19339 (elf_machine_rela): Likewise.
19340 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19341 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19343 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19345 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19346 (FP_FAST_FMA): Do not define.
19347 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19348 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19349 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19350 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19351 !_SOFT_FLOAT]: Likewise.
19352 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19353 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19355 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19356 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19357 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19358 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19359 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19360 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19363 2013-01-16 Andreas Schwab <schwab@suse.de>
19366 * include/stdlib.h (__mktemp): Add declaration.
19367 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19368 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19370 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19372 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19374 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19375 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19376 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19378 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19379 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19381 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19383 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19384 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19385 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19387 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19388 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19390 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19392 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19394 2013-01-15 David S. Miller <davem@davemloft.net>
19396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19397 trunc{,f} to libm-sysdep_routes.
19398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19408 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19409 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19410 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19411 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19412 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19413 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19416 nearbyint{,f} to libm-sysdep_routes.
19417 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19428 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19430 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19431 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19433 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19434 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19435 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19437 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19438 libc_feholdexcept and libc_fesetenv.
19440 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19442 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19444 2013-01-14 David S. Miller <davem@davemloft.net>
19446 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19447 (SPARC_ASM_VIS2_IFUNC): Likewise.
19448 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19450 use of 'siam' instruction.
19451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19484 routines to libm-sysdep_routines.
19485 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19488 fdim/fdimf to libm-sysdep_routines.
19489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19497 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19498 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19499 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19500 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19502 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19504 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19505 to optimize copies.
19507 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19512 local variable MPTWO.
19513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19516 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19518 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19521 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19523 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19525 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19527 * manual/pattern.texi (glob_t): Document gl_flags.
19528 (glob64_t): Likewise.
19530 2013-01-11 David S. Miller <davem@davemloft.net>
19532 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19533 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19534 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19535 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19536 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19537 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19538 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19539 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19540 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19541 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19542 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19543 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19544 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19546 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19547 sparc V9 rather than using V8 code.
19548 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19549 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19551 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19553 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19556 2013-01-11 Roland McGrath <roland@hack.frob.com>
19558 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19559 not in the main loop.
19560 * configure: Regenerated.
19562 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19564 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19565 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19567 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19568 [!__GLIBC_HAVE_LONG_LONG] case.
19569 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19570 condition to just #else.
19571 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19572 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19573 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19574 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19576 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19577 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19578 #elif condition to just #else.
19579 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19580 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19581 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19582 #elif condition to just #else.
19584 2013-01-11 Steve Ellcey <sellcey@mips.com>
19586 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19587 (EF_MIPS_ARCH_64): Fix value.
19588 (EF_MIPS_ARCH_32R2): New.
19589 (EF_MIPS_ARCH_64R2): New.
19591 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19593 * Makeconfig (+link-pie-before-libc): New.
19594 (+link-pie-after-libc): Likewise.
19595 (+link-pie-tests): Likewise.
19596 (+link-pie): Rewritten.
19597 (link-before-libc): Remove $(config-LDFLAGS).
19598 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19599 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19600 (config-LDFLAGS): Renamed to ...
19601 (rtld-LDFLAGS): This.
19602 (rtld-tests-LDFLAGS): New macro.
19603 (link-libc-rpath-link): Likewise.
19604 (link-libc-tests-rpath-link): Likewise.
19605 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19606 (link-libc): Prepand $(link-libc-rpath-link).
19607 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19608 (test-program-prefix): New macro.
19609 (test-via-rtld-prefix): Likewise.
19610 (test-program-cmd): Likewise.
19611 (host-test-program-cmd): Likewise.
19612 * Makefile ($(common-objpfx)testrun.sh): Replace
19613 $(run-program-prefix) with $(test-program-prefix).
19614 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19616 ($(common-objpfx)shlib.lds): Likewise.
19617 (build-module-helper): Likewise.
19618 ($(common-objpfx)format.lds): Likewise.
19619 * Rules (binaries-pie-tests): New.
19620 (binaries-pie-notests): Likewise.
19621 (binaries-pie): Rewritten.
19622 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19623 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19624 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19625 (make-test-out): Replace $(host-built-program-cmd) with
19626 $(host-test-program-cmd).
19627 * config.make.in (build-hardcoded-path-in-tests): New variable.
19628 * configure.in (--enable-hardcoded-path-in-tests): New configure
19630 (hardcoded_path_in_tests): New AC_SUBST.
19631 * configure: Regenerated.
19632 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19633 $(built-program-cmd) with $(test-program-cmd).
19634 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19635 (test_program_cmd): This.
19636 * elf/Makefile ($(objpfx)order.out): Run test with
19637 $(test-program-prefix).
19638 ($(objpfx)order2.out): Likewise.
19639 ($(objpfx)tst-initorder.out): Likewise.
19640 ($(objpfx)tst-initorder2.out): Likewise.
19641 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19642 $(test-program-cmd).
19643 ($(objpfx)tst-array1-static.out): Likewise.
19644 ($(objpfx)tst-array2.out): Likewise.
19645 ($(objpfx)tst-array3.out): Likewise.
19646 ($(objpfx)tst-array4.out): Likewise.
19647 ($(objpfx)tst-array5.out): Likewise.
19648 ($(objpfx)tst-array5-static.out): Likewise.
19649 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19650 $(test-program-cmd).
19651 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19652 $(run-program-prefix) with $(test-program-prefix).
19653 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19654 (test_program_prefix): This.
19655 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19656 $(run-program-prefix) with $(test-program-prefix).
19657 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19658 (test_program_prefix): This.
19659 * iconvdata/tst-tables.sh: Likewise.
19660 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19661 $(run-program-prefix) with $(test-program-prefix).
19662 ($(objpfx)tst-translit.out): Likewise.
19663 ($(objpfx)tst-gettext2.out): Likewise.
19664 ($(objpfx)tst-gettext4.out): Likewise.
19665 ($(objpfx)tst-gettext6.out): Likewise.
19666 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19667 (test_program_prefix): This.
19668 * intl/tst-gettext2.sh: Likewise.
19669 * intl/tst-gettext4.sh Likewise.
19670 * intl/tst-gettext6.sh: Likewise.
19671 * intl/tst-translit.sh: Likewise.
19672 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19673 with $(test-program-cmd).
19674 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19675 $(run-program-prefix) with $(test-program-prefix).
19676 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19677 (test_program_prefix): This.
19678 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19679 $(run-program-prefix) with $(test-program-prefix).
19680 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19681 (test_program_prefix): This.
19682 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19683 * posix/Makefile ($(objpfx)globtest.out): Replace
19684 $(run-via-rtld-prefix) and $(test-wrapper) with
19685 $(test-program-prefix) and $(test-via-rtld-prefix).
19686 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19687 $(test-program-prefix).
19688 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19689 $(host-test-program-cmd).
19690 (tst-spawn-ARGS): Likewise.
19691 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19692 $(test-program-prefix).
19693 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19694 (test_via_rtld_prefix): This.
19695 (test_wrapper): Renamed to ...
19696 (test_program_prefix): This.
19697 (run_program_prefix): Replaced by test_program_prefix.
19698 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19699 (test_program_prefix): This.
19700 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19701 with $(host-test-program-cmd).
19702 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19703 $(run-program-prefix) with $(test-program-prefix).
19704 ($(objpfx)tst-printf.out): Likewise.
19705 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19706 $(test-program-cmd).
19707 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19708 (test_program_prefix): This.
19709 * stdio-common/tst-unbputc.sh: Likewise.
19710 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19711 $(run-program-prefix) with $(test-program-prefix).
19712 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19713 (test_program_prefix): This.
19714 * string/Makefile ($(objpfx)tst-svc.out): Replace
19715 $(built-program-cmd) with $(test-program-cmd).
19717 2013-01-11 Andreas Jaeger <aj@suse.de>
19720 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19721 value. Sync with Linux 3.7.
19723 2013-01-10 David S. Miller <davem@davemloft.net>
19725 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19726 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19727 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19729 2013-01-10 Roland McGrath <roland@hack.frob.com>
19731 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19733 * configure: Regenerated.
19735 2013-01-10 David S. Miller <davem@davemloft.net>
19737 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19738 sparc V9 rather than using V8 code.
19739 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19740 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19742 2013-01-10 Roland McGrath <roland@hack.frob.com>
19744 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19745 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19746 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19747 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19748 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19749 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19750 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19751 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19752 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19753 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19754 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19755 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19756 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19757 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19758 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19759 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19760 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19761 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19762 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19763 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19764 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19765 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19766 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19767 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19768 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19769 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19770 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19772 2013-01-10 David S. Miller <davem@davemloft.net>
19774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19776 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19778 * posix/Makefile (tests-static): New variable.
19779 (tests): Add $(tests-static).
19780 (tst-exec-static-ARGS): New variable.
19781 (tst-spawn-static-ARGS): Likewise.
19782 * posix/tst-exec-static.c: New file.
19783 * posix/tst-spawn-static.c: Likewise.
19784 * posix/tst-exec.c: Support run directly.
19785 * posix/tst-spawn.c: Likewise.
19787 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19789 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19791 * math/bits/mathcalls.h (llrint): Likewise.
19792 (llround): Likewise.
19793 * stdlib/stdlib.h (struct drand48_data): Likewise.
19794 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19795 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19796 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19798 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19800 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19801 (elf_greg_t): Likewise.
19802 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19803 (__jmp_buf): Likewise.
19804 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19806 (llrint): Likewise, for all definitions.
19807 (llrintl): Likewise.
19809 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19810 Remove [__GNUC__] condition.
19811 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19812 condition to just [__USE_ISOC99].
19813 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19815 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19818 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19819 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19821 (_POSIX_V6_ILP32_OFF32): Likewise.
19822 (_XBS5_ILP32_OFF32): Likewise.
19823 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19824 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19826 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19828 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19831 doubles __mpexp_twomm1. Adjust usage.
19832 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19835 2013-01-10 Andreas Schwab <schwab@suse.de>
19838 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19839 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19841 2013-01-09 David S. Miller <davem@davemloft.net>
19844 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19845 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19846 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19847 (TCP_FASTOPEN): Define.
19848 (tcp_repair_opt): New structure.
19849 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19851 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19852 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19853 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19854 (tcp_cookie_transactions): New structure.
19856 2013-01-09 Anton Blanchard <anton@samba.org>
19858 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19859 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19860 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19861 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19863 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19865 * include/features.h (__USE_ANSI): Remove.
19867 2013-01-09 Roland McGrath <roland@hack.frob.com>
19869 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19871 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19873 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19875 * sysdeps/s390/fpu/libm-test-ulps: Update.
19877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19879 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19883 (denorm): Likewise.
19884 (__mp_dbl): Likewise.
19885 (__dbl_mp): Likewise.
19886 (add_magnitudes): Likewise.
19887 (sub_magnitudes): Likewise.
19893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19897 (denorm): Likewise.
19898 (__mp_dbl): Likewise.
19899 (__dbl_mp): Likewise.
19900 (add_magnitudes): Likewise.
19901 (sub_magnitudes): Likewise.
19907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19911 (denorm): Likewise.
19912 (__mp_dbl): Likewise.
19913 (__dbl_mp): Likewise.
19914 (add_magnitudes): Likewise.
19915 (sub_magnitudes): Likewise.
19922 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19924 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19925 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19926 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19927 2 && __USE_EXTERN_INLINES]: Likewise.
19929 2013-01-08 Andreas Jaeger <aj@suse.de>
19932 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19934 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19935 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19937 2013-01-07 Anton Blanchard <anton@samba.org>
19939 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19940 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19941 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19942 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19943 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19944 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19945 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19946 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19947 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19948 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19949 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19950 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19951 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19952 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19953 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19954 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19955 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19956 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19957 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19958 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19959 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19960 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19961 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19962 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19963 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19964 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19965 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19966 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19967 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19968 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19969 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19971 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19972 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19973 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19974 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19975 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19976 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19977 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19978 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19979 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19980 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19981 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19983 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19985 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19986 (__MALLOC_PMT): Likewise.
19987 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19988 [__GNUC__], only on [_LIBC].
19989 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19990 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19991 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19992 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19993 forward declaration.
19994 (realloc_hook_ini): Likewise.
19995 (memalign_hook_ini): Likewise.
19996 (__libc_memalign): Do not use __MALLOC_PMT in variable
19998 (__libc_valloc): Likewise.
19999 (__libc_pvalloc): Likewise.
20000 (__libc_calloc): Likewise.
20001 (__posix_memalign): Likewise.
20004 * math/s_casinh.c: Include <float.h>.
20005 (__casinh): Do not do computation with squaring and square root
20006 for large arguments.
20007 * math/s_casinhf.c: Include <float.h>.
20008 (__casinhf): Do not do computation with squaring and square root
20009 for large arguments.
20010 * math/s_casinhl.c: Include <float.h>.
20011 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20012 (__casinhl): Do not do computation with squaring and square root
20013 for large arguments.
20014 * math/libm-test.inc (casin_test): Add more tests.
20015 (casinh_test): Likewise.
20016 * sysdeps/i386/fpu/libm-test-ulps: Update.
20017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20019 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20021 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20022 (__x86_64_raw_data_cache_size): Likewise.
20023 (__x86_64_data_cache_size_half): Likewise.
20024 (__x86_64_raw_data_cache_size_half): Likewise.
20025 (__x86_64_shared_cache_size): Likewise.
20026 (__x86_64_raw_shared_cache_size): Likewise.
20027 (__x86_64_shared_cache_size_half): Likewise.
20028 (__x86_64_raw_shared_cache_size_half): Likewise.
20029 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20031 (__x86_data_cache_size): This.
20032 (__x86_64_raw_data_cache_size): Renamed to ...
20033 (__x86_raw_data_cache_size): This.
20034 (__x86_64_data_cache_size_half): Renamed to ...
20035 (__x86_data_cache_size_half): This.
20036 (__x86_64_raw_data_cache_size_half): Renamed to ...
20037 (__x86_raw_data_cache_size_half): This.
20038 (__x86_64_shared_cache_size): Renamed to ...
20039 (__x86_shared_cache_size): This.
20040 (__x86_64_raw_shared_cache_size): Renamed to ...
20041 (__x86_raw_shared_cache_size): This.
20042 (__x86_64_shared_cache_size_half): Renamed to ...
20043 (__x86_shared_cache_size_half): This.
20044 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20045 (__x86_raw_shared_cache_size_half): This.
20046 * sysdeps/x86_64/memcpy.S: Updated.
20047 * sysdeps/x86_64/memset.S: Likewise.
20048 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20049 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20050 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20052 2013-01-04 David S. Miller <davem@davemloft.net>
20054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20056 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20058 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20059 1 to avoid redefinition warning.
20060 (__USE_GNU): Don't define.
20061 (init_signaling_nan): Protoize.
20063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20065 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20067 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20069 (__cpymn): Likewise.
20070 (norm): Remove commented code.
20071 (denorm): Likewise.
20072 (__mp_dbl): Likewise.
20074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20075 (__cpymn): Likewise.
20076 (norm): Remove commented code.
20077 (denorm): Likewise.
20078 (__mp_dbl): Likewise.
20081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20082 mp_no value for 1.0 and 2.0.
20083 (norm): Use RADIXI instead of radixi.d.
20084 (denorm): Likewise.
20085 (__mul): Use 0.0 instead of zero.d.
20086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20087 mp_no value for 1.0 and 2.0.
20088 (norm): Use RADIXI instead of radixi.d.
20089 (denorm): Likewise.
20090 (__mul): Use 0.0 instead of zero.d.
20092 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20095 * math/s_casinh.c (__casinh): Reduce finite argument to first
20096 quadrant then set signs of results at the end.
20097 * math/s_casinhf.c (__casinhf): Likewise.
20098 * math/s_casinhl.c (__casinhl): Likewise.
20099 * math/libm-test.inc (casin_test): Add more tests.
20100 (casinh_test): Likewise.
20101 * sysdeps/i386/fpu/libm-test-ulps: Update.
20102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20104 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20106 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20108 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20110 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20112 (denorm): Likewise.
20113 (__mp_dbl): Likewise.
20116 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20117 and adjust the header comment.
20119 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20120 variable name from declaration.
20122 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20125 Initialize COMMON_CPUID_INDEX_7 element.
20126 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20127 (CPUID_RTM): Likewise.
20128 (HAS_RTM): Likewise.
20129 (COMMON_CPUID_INDEX_7): New enum.
20131 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20134 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20135 size is zero, record memory as freed.
20137 2013-01-03 Andreas Jaeger <aj@suse.de>
20139 * po/ia.po: Add new Interlingua translation.
20141 2012-01-03 Allan McRae <allan@archlinux.org>
20143 * locale/programs/localedef.c: Fix description of '--posix' flag.
20145 2013-01-02 Joseph Myers <joseph@codesourcery.com>
20147 * NEWS: Update dates in second copyright notice.
20148 * README: Update copyright dates in example.
20149 * manual/libc.texinfo: Update copyright dates.
20150 * scripts/test-installation.pl: Update copyright date in --version
20153 * hurd/ctty-input.c: Fix copyright notice formatting.
20154 * hurd/ctty-output.c: Likewise.
20155 * hurd/dtable.c: Likewise.
20156 * hurd/hurd-raise.c: Likewise.
20157 * hurd/hurdprio.c: Likewise.
20158 * hurd/msgportdemux.c: Likewise.
20159 * misc/sys/file.h: Likewise.
20160 * misc/sys/ioctl.h: Likewise.
20161 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20162 * sysdeps/mach/hurd/chdir.c: Likewise.
20163 * sysdeps/mach/hurd/fchdir.c: Likewise.
20164 * sysdeps/mach/hurd/rename.c: Likewise.
20165 * sysdeps/mach/hurd/rmdir.c: Likewise.
20166 * sysdeps/mach/hurd/seekdir.c: Likewise.
20167 * sysdeps/mach/hurd/setsid.c: Likewise.
20168 * sysdeps/posix/wait3.c: Likewise.
20170 * All files with FSF copyright notices: Update copyright dates
20171 using scripts/update-copyrights.
20172 * intl/plural.c: Regenerated.
20173 * locale/programs/charmap-kw.h: Likewise.
20174 * locale/programs/locfile-kw.h: Likewise.
20176 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20178 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20181 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20182 calculation loop and add branch prediction.
20184 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20185 check access beyond bounds of m1np.
20187 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20189 (__inv): Remove local variable MPTWO to use the global
20191 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20192 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20194 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20195 MP3HALFS static const.
20197 2013-01-01 David S. Miller <davem@davemloft.net>
20199 * po/ca.po: Update from translation team.
20201 2013-01-01 Joseph Myers <joseph@codesourcery.com>
20203 * scripts/update-copyrights: New file.
20204 * Makeconfig: Reformat copyright notice.
20205 * ctype/ctype.h: Likewise.
20206 * debug/swprintf_chk.c: Likewise.
20207 * elf/dl-cache.c: Likewise.
20208 * elf/dl-debug.c: Likewise.
20209 * elf/dl-object.c: Likewise.
20210 * grp/initgroups.c: Likewise.
20211 * hurd/Makefile: Likewise.
20212 * hurd/hurd/signal.h: Likewise.
20213 * hurd/hurdfault.c: Likewise.
20214 * hurd/hurdioctl.c: Likewise.
20215 * hurd/hurdlookup.c: Likewise.
20216 * hurd/intr-msg.c: Likewise.
20217 * iconv/gconv_open.c: Likewise.
20218 * libio/swprintf.c: Likewise.
20219 * locale/lc-ctype.c: Likewise.
20220 * locale/nl_langinfo.c: Likewise.
20221 * mach/Machrules: Likewise.
20222 * mach/Makefile: Likewise.
20223 * malloc/obstack.h: Likewise.
20224 * manual/Makefile: Likewise.
20225 * manual/tsort.awk: Likewise.
20226 * misc/bits/stab.def: Likewise.
20227 * nis/nis_print_group_entry.c: Likewise.
20228 * nis/nis_table.c: Likewise.
20229 * nis/nss_compat/compat-pwd.c: Likewise.
20230 * nis/nss_compat/compat-spwd.c: Likewise.
20231 * po/Makefile: Likewise.
20232 * posix/fnmatch.c: Likewise.
20233 * posix/regex.h: Likewise.
20234 * resolv/Makefile: Likewise.
20235 * resolv/nss_dns/dns-network.c: Likewise.
20236 * resolv/res_hconf.c: Likewise.
20237 * scripts/gen-sorted.awk: Likewise.
20238 * soft-fp/soft-fp.h: Likewise.
20239 * stdio-common/printf.h: Likewise.
20240 * stdlib/monetary.h: Likewise.
20241 * stdlib/random.c: Likewise.
20242 * stdlib/random_r.c: Likewise.
20243 * sysdeps/generic/Makefile: Likewise.
20244 * sysdeps/gnu/Makefile: Likewise.
20245 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20246 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20247 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20248 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20249 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20250 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20252 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20253 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20254 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20255 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20256 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20257 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20258 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20259 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20260 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20261 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20262 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20263 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20264 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20265 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20266 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20267 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20268 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20269 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20270 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20271 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20272 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20273 * sysdeps/mach/hurd/errnos.awk: Likewise.
20274 * sysdeps/mach/hurd/fork.c: Likewise.
20275 * sysdeps/mach/hurd/getcwd.c: Likewise.
20276 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20277 * sysdeps/mach/hurd/mmap.c: Likewise.
20278 * sysdeps/mach/hurd/utimes.c: Likewise.
20279 * sysdeps/mach/hurd/xmknod.c: Likewise.
20280 * sysdeps/posix/profil.c: Likewise.
20281 * sysdeps/posix/readdir_r.c: Likewise.
20282 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20283 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20284 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20285 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20287 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20288 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20289 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20291 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20292 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20293 * sysdeps/pthread/lio_listio.c: Likewise.
20294 * sysdeps/sparc/dl-procinfo.h: Likewise.
20295 * sysdeps/unix/i386/sysdep.S: Likewise.
20296 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20297 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20298 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20299 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20301 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20302 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20303 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20304 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20305 * sysdeps/wordsize-32/divdi3.c: Likewise.
20306 * time/sys/time.h: Likewise.
20307 * wcsmbs/Makefile: Likewise.
20309 2013-01-01 David S. Miller <davem@davemloft.net>
20311 * po/fr.po: Update from translation team.
20313 * catgets/gencat.c: Update copyright year.
20314 * csu/version.c: Likewise.
20315 * debug/catchsegv.sh: Likewise.
20316 * debug/pcprofiledump.c: Likewise.
20317 * debug/xtrace.sh: Likewise.
20318 * elf/ldconfig.c: Likewise.
20319 * elf/ldd.bash.in: Likewise.
20320 * elf/pldd.c: Likewise.
20321 * elf/sotruss.ksh: Likewise.
20322 * elf/sprof.c: Likewise.
20323 * iconv/iconv_prog.c: Likewise.
20324 * iconv/iconvconfig.c: Likewise.
20325 * locale/programs/locale.c: Likewise.
20326 * locale/programs/localedef.c: Likewise.
20327 * login/programs/pt_chown.c: Likewise.
20328 * malloc/memusage.sh: Likewise.
20329 * malloc/memusagestat.c: Likewise.
20330 * malloc/mtrace.pl: Likewise.
20331 * nscd/nscd.c: Likewise.
20332 * nss/getent.c: Likewise.
20333 * nss/makedb.c: Likewise.
20334 * posix/getconf.c: Likewise.
20336 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20338 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20341 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20343 * math/bits/mathcalls.h (modf): Use __nonnull.
20345 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20347 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20348 (split): Use macro CN instead of the bare value.
20349 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20351 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20352 instead of the bare value.
20353 (power1): Likewise.
20355 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20357 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20359 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20361 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20363 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20364 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20365 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20366 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20368 2012-12-28 Andreas Jaeger <aj@suse.de>
20370 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20371 values are from Linux 3.7.
20373 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20374 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20376 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20378 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20381 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20383 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20384 variables with preprocessor constants.
20385 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20386 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20387 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20389 2012-12-27 Bruno Haible <bruno@clisp.org>
20392 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20395 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20397 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20398 and use variable directly.
20399 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20401 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20403 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20404 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20406 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20407 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20408 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20409 include directive. Remove local variable MPONE.
20410 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20411 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20412 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20414 2012-12-25 David S. Miller <davem@davemloft.net>
20416 * version.h (RELEASE): Set to "development".
20417 (VERSION): Set to "2.17.90".
20418 * NEWS: Add 2.18 section.
20420 2012-12-21 David S. Miller <davem@davemloft.net>
20422 * po/hr.po: Update from translation team.
20424 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20426 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20428 2012-12-19 Steve Ellcey <sellcey@mips.com>
20430 * NEWS: Mention new memcpy for MIPS.
20432 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20434 * manual/contrib.texi (Contributors): Spelling correction.
20436 2012-12-15 David S. Miller <davem@davemloft.net>
20438 * po/ru.po: Update from translation team.
20440 2012-12-13 David S. Miller <davem@davemloft.net>
20442 * NEWS: Mention IFUNC testsuite enhancements.
20444 * po/pl.po: Update from translation team.
20445 * po/bg.po: Likewise.
20447 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20448 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20450 2012-12-11 David S. Miller <davem@davemloft.net>
20452 * po/sv.po: Update from translation team.
20454 * po/vi.po: Update from translation team.
20456 * po/cs.po: Update from translation team.
20458 * po/de.po: Update from translation team.
20459 * po/eo.po: Likewise.
20460 * po/nl.po: Likewise.
20462 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20465 * manual/argp.texi (Argp Helper Functions): Move node to follow
20466 Argp Parsing State.
20469 * manual/conf.texi (Limits on File System Capacity): Mention if
20470 terminating null is included in the max size.
20472 2012-12-10 Andreas Jaeger <aj@suse.de>
20474 * po/cs.po: Update from translation team.
20476 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20478 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20479 void pointer and cast to uintptr_t.
20480 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20482 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20483 * sysdeps/s390/s390-64/memset.S: Likewise.
20485 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20488 * menual/message.texi (Message Translation): Fix typos.
20489 (Helper programs for gettext): Likewise.
20491 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20494 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20497 2012-12-07 David S. Miller <davem@davemloft.net>
20499 * po/libc.pot: Update.
20501 2012-12-07 Richard Henderson <rth@redhat.com>
20504 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20505 normal/normal case to before the switch.
20506 (_FP_DIV): Likewise.
20508 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20509 Mike Frysinger <vapier@gentoo.org>
20511 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20512 check for __NR_fadvise64_64.
20514 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20516 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20517 0, not just to plain "0" as a statement.
20518 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20521 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20523 * NEWS: Use sourceware.org in Bugzilla URL.
20525 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20528 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20530 * stdio-common/tst-put-error.c (do_test): Add newline to the
20531 padded test to ensure flush.
20533 2012-12-05 Jeff Law <law@redhat.com>
20535 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20537 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20539 * README: Don't refer to ports add-on as distributed separately.
20540 Mention AArch64 in list of systems supported in the ports add-on.
20542 * LICENSES: Add more non-FSF copyright and license notices.
20544 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20547 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20549 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20550 10000 as width of padded output.
20552 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20554 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20556 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20557 variable LX with __attribute__ ((unused)).
20558 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20560 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20561 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20562 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20563 with __attribute__ ((unused)).
20565 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20567 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20569 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20571 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20572 (CFLAGS-nldbl-acos.c): New variable.
20573 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20574 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20575 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20576 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20577 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20578 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20579 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20580 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20581 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20582 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20583 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20584 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20585 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20586 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20587 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20588 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20589 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20590 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20591 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20592 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20593 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20594 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20595 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20596 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20597 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20598 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20599 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20600 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20601 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20602 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20603 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20604 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20605 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20606 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20607 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20608 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20609 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20610 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20611 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20612 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20613 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20614 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20615 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20616 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20617 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20618 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20619 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20620 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20621 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20622 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20623 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20624 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20625 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20626 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20627 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20628 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20629 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20630 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20631 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20632 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20633 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20634 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20635 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20636 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20637 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20638 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20639 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20640 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20641 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20642 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20643 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20644 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20645 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20646 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20647 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20648 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20649 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20650 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20651 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20652 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20653 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20654 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20655 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20656 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20657 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20658 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20659 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20660 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20661 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20662 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20663 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20664 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20665 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20666 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20667 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20668 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20669 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20672 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20675 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20676 whole low double instead of just low 47 bits when splitting values
20679 2012-12-03 Allan McRae <allan@archlinux.org>
20681 * manual/stdio.texi (Predefined Printf Handlers): Remove
20682 @hsep and @vsep usage.
20684 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20686 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20687 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20689 2012-12-03 Jeff Law <law@redhat.com>
20691 * time/sys/time.h (settimeofday): Do not mark TV argument
20694 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20696 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20697 when currently writing and seek to current position when not.
20698 * libio/Makefile (tests): Remove bug-fclose1.
20699 * libio/bug-fclose1.c: Delete.
20701 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20703 * manual/arith.texi (feenableexcept): Fix typo.
20704 (fedisableexcept): Likewise.
20706 2012-11-30 Roland McGrath <roland@hack.frob.com>
20708 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20709 second, differently-typed declaration, rather than a cast.
20711 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20713 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20714 * include/rpc/svc.h: ... here.
20716 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20719 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20720 depending n and resplen2 to catch cases where answer
20723 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20725 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20726 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20728 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20730 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20732 2012-11-29 Roland McGrath <roland@hack.frob.com>
20734 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20736 2012-11-28 Jeff Law <law@redhat.com>
20739 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20740 dataset_temporary. Track alloca usage into alloca_used.
20741 If dataset is large allocate and release it via malloc/free.
20743 2012-06-04 Florian Weimer <fweimer@redhat.com>
20746 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20748 2012-11-28 David S. Miller <davem@davemloft.net>
20750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20752 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20755 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20756 of pi/2 rounded to nearest to 64 bits.
20757 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20758 nearest to 64 bits.
20759 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20762 2012-11-28 Jeff Law <law@redhat.com>
20763 Martin Osvald <mosvald@redhat.com>
20766 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20767 * sunrpc/svc.c: Include time.h.
20768 (__svc_accept_failed): New function.
20769 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20770 any reason other than EINTR, call __svc_accept_failed.
20771 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20772 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20774 2012-11-28 Andreas Schwab <schwab@suse.de>
20776 * scripts/abilist.awk: Also handle indirect functions in .opd
20779 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20782 * sysdeps/x86/fpu/powl_helper.c: New file.
20783 * sysdeps/x86/fpu/Makefile: Likewise.
20784 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20786 (__ieee754_powl): Use __powl_helper for finite arguments except
20787 integer exponents below 8.
20788 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20790 (__ieee754_powl): Use __powl_helper for finite arguments except
20791 integer exponents below 8.
20792 * math/libm-test.inc (pow_test): Add more tests and enable some
20793 previously disabled tests.
20794 * sysdeps/i386/fpu/libm-test-ulps: Update.
20795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20797 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20798 Carlos O'Donell <carlos_odonell@mentor.com>
20800 * nss/makedb.c (is_prime): Assert that input is odd and greater
20801 than 4. Note that fact in a comment too.
20802 (next_prime): Add 4 to input.
20804 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20807 * libio/Makefile (tests): Add test case tst-fwrite-error.
20808 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20809 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20810 * libio/tst-fwrite-error.c: New test case.
20812 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20814 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20815 before casting to void *.
20816 * include/libc-internal.h (__pointer_type): New macro.
20817 (__integer_if_pointer_type_sub): Likewise.
20818 (__integer_if_pointer_type): Likewise.
20819 (cast_to_integer): Likewise.
20820 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20821 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20822 before casting to atomic64_t.
20823 (atomic_exchange_acq): Likewise.
20824 (__arch_exchange_and_add_body): Likewise.
20825 (__arch_add_body): Likewise.
20826 (atomic_add_negative): Likewise.
20827 (atomic_add_zero): Likewise.
20829 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20831 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20832 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20833 (add_fdes): Likewise.
20834 (linear_search_fdes): Likewise.
20835 (binary_search_unencoded_fdes): Likewise.
20837 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20839 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20841 2012-11-24 Adam Conrad <adconrad@0c3.net>
20843 * configure.in: Autodetect C++ header directories.
20844 * configure: Regenerated.
20846 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20848 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20850 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20854 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20856 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20857 LDBL_MANT_DIG == 106]: Disable some tests.
20858 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20860 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20864 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20865 input for small inputs. Return +/- pi/2 for large inputs.
20866 * math/libm-test.inc (atan_test): Add more tests.
20868 * sysdeps/generic/unwind-dw2-fde-glibc.c
20869 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20870 __attribute__ ((unused)).
20873 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20874 x * y if x and y are nonzero and z is zero.
20877 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20878 nonzero exponents with absolute value below 0x1p-117 to +/-
20882 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20883 up arguments below 2**-450, not just those below 2**-500.
20884 * math/libm-test.inc (hypot_test): Add another test.
20887 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20888 Return a+b for ratio over 2**120, not 2**60.
20889 * math/libm-test.inc (hypot_test): Add another test.
20891 * math/libm-test.inc (clog_test): Use
20892 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20893 (clog10_test): Likewise.
20896 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20898 2012-11-22 Andreas Schwab <schwab@suse.de>
20900 * sysdeps/i386/fpu/libm-test-ulps: Update.
20902 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20904 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20905 printf output with newline.
20907 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20910 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20911 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20912 -z nodlopen, -z initfirst and -z execstack support.
20913 * configure: Regenerated.
20915 * elf/elf.h (DF_1_NODIRECT): New macro.
20916 (DF_1_IGNMULDEF): Likewise.
20917 (DF_1_NOKSYMS): Likewise.
20918 (DF_1_NOHDR): Likewise.
20919 (DF_1_EDITED): Likewise.
20920 (DF_1_NORELOC): Likewise.
20921 (DF_1_SYMINTPOSE): Likewise.
20922 (DF_1_GLOBAUDIT): Likewise.
20923 (DF_1_SINGLETON): Likewise.
20924 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20925 DT_1_SUPPORTED_MASK bits.
20926 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20928 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20930 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20932 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20934 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20937 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20938 (sendmmsg): Move declarations...
20939 * socket/sys/socket.h: ... here.
20940 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20941 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20943 * socket/recvmmsg.c: ... this new file.
20944 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20945 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20946 definition of __sendmmsg hidden.
20947 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20948 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20949 Move ENOSYS stub into and include it from...
20950 * socket/sendmmsg.c: ... this new file.
20951 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20952 (sysdep_routines): Move recvmmsg and sendmmsg...
20953 * socket/Makefile (routines): ... here.
20954 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20955 (GLIBC_PRIVATE): Add __sendmmsg.
20956 * include/sys/socket.h (__sendmmsg): Add declarations.
20957 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20960 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20962 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20963 variable I1 with __attribute__ ((unused)).
20964 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20966 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20968 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20969 DUMMY variables with __attribute__ ((unused)).
20971 * bits/byteswap.h: Include <bits/types.h>.
20972 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20974 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20976 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20977 string_t. Do not manually set errno.
20978 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20979 length with __strnlen. Make sure to both set errno and return it on
20982 2012-11-19 David S. Miller <davem@davemloft.net>
20984 With help from Joseph Myers.
20985 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20986 very large arguments properly.
20987 * math/libm-test.inc (atan_test): New tests.
20988 (atan2_test): New tests.
20989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20992 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20995 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20998 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20999 [POSIX] (EADDRNOTAVAIL): Likewise.
21000 [POSIX] (EAFNOSUPPORT): Likewise.
21001 [POSIX] (EALREADY): Likewise.
21002 [POSIX] (ECONNABORTED): Likewise.
21003 [POSIX] (ECONNREFUSED): Likewise.
21004 [POSIX] (ECONNRESET): Likewise.
21005 [POSIX] (EDESTADDRREQ): Likewise.
21006 [POSIX] (EDQUOT): Likewise.
21007 [POSIX] (EHOSTUNREACH): Likewise.
21008 [POSIX] (EIDRM): Likewise.
21009 [POSIX] (EISCONN): Likewise.
21010 [POSIX] (ELOOP): Likewise.
21011 [POSIX] (EMULTIHOP): Likewise.
21012 [POSIX] (ENETDOWN): Likewise.
21013 [POSIX] (ENETUNREACH): Likewise.
21014 [POSIX] (ENOBUFS): Likewise.
21015 [POSIX] (ENODATA): Likewise.
21016 [POSIX] (ENOLINK): Likewise.
21017 [POSIX] (ENOMSG): Likewise.
21018 [POSIX] (ENOPROTOOPT): Likewise.
21019 [POSIX] (ENOSR): Likewise.
21020 [POSIX] (ENOSTR): Likewise.
21021 [POSIX] (ENOTCONN): Likewise.
21022 [POSIX] (ENOTSOCK): Likewise.
21023 [POSIX] (EOPNOTSUPP): Likewise.
21024 [POSIX] (EOVERFLOW): Likewise.
21025 [POSIX] (EPROTO): Likewise.
21026 [POSIX] (EPROTONOSUPPORT): Likewise.
21027 [POSIX] (EPROTOTYPE): Likewise.
21028 [POSIX] (ESTALE): Likewise.
21029 [POSIX] (ETIME): Likewise.
21030 [POSIX] (ETXTBSY): Likewise.
21031 [POSIX] (EWOULDBLOCK): Likewise.
21032 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21033 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21034 [POSIX] (SEEK_CUR): Likewise.
21035 [POSIX] (SEEK_END): Likewise.
21036 [POSIX || UNIX98] (mode_t): Do not require.
21037 [POSIX] (off_t): Likewise.
21038 [POSIX] (pid_t): Likewise.
21039 [POSIX] (sys/stat.h): Do not allow header.
21040 [POSIX] (unistd.h): Likewise.
21041 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21042 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21043 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21044 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21046 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21047 sigevent): Specify elements.
21048 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21050 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21051 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21053 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21054 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21055 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21056 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21057 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21058 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21059 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21060 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21061 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21062 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21063 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21064 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21065 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21066 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21068 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21070 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21072 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21074 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21075 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21076 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21077 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21078 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21079 Specify lower bound on value.
21080 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21081 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21082 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21083 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21084 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21085 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21086 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21087 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21089 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21091 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21092 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21093 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21094 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21095 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21096 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21097 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21098 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21099 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21100 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21101 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21102 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21103 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21104 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21105 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21106 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21108 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21110 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21111 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21112 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21113 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21114 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21115 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21117 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21118 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21119 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21120 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21121 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21122 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21123 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21125 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21126 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21127 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21128 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21129 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21130 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21131 specify as optional.
21132 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21133 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21134 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21135 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21136 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21137 [XPG3] (NL_LANGMAX): Likewise.
21138 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21139 [POSIX || XPG3] (NL_NMAX): Likewise.
21140 [POSIX || XPG3] (NL_SETMAX): Likewise.
21141 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21142 [XPG3] (NZERO): Likewise.
21143 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21144 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21145 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21146 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21147 (REG_ERANGE): Expect.
21148 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21150 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21151 Use (void) in prototype.
21152 [POSIX] (*_t): Allow.
21153 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21154 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21155 (WRDE_BADVAL): Expect.
21157 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21159 [XPG3 || XPG4] (O_RSYNC): Likewise.
21160 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21162 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21163 [XPG3 || XPG4] (sigqueue): Likewise.
21164 [XPG3 || XPG4] (sigtimedwait): Likewise.
21165 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21166 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21167 [XPG3 || XPG4] (vsnprintf): Likewise.
21168 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21170 [XPG3 || XPG4] (blksize_t): Likewise.
21171 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21173 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21174 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21175 [XPG3 || XPG4] (struct itimerspec): Likewise.
21176 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21177 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21178 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21179 [XPG3 || XPG4] (clockid_t): Likewise.
21180 [XPG3 || XPG4] (timer_t): Likewise.
21181 [XPG3 || XPG4] (clock_getres): Likewise.
21182 [XPG3 || XPG4] (clock_gettime): Likewise.
21183 [XPG3 || XPG4] (clock_settime): Likewise.
21184 [XPG3 || XPG4] (nanosleep): Likewise.
21185 [XPG3 || XPG4] (timer_create): Likewise.
21186 [XPG3 || XPG4] (timer_delete): Likewise.
21187 [XPG3 || XPG4] (timer_gettime): Likewise.
21188 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21189 [XPG3 || XPG4] (timer_settime): Likewise.
21190 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21191 [XPG3 || XPG4] (getlogin_r): Likewise.
21192 [XPG3 || XPG4] (pread): Likewise.
21193 [XPG3 || XPG4] (pthread_atfork): Likewise.
21194 [XPG3 || XPG4] (pwrite): Likewise.
21197 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21200 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21202 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21203 finalizing MALLSTREAM.
21205 * sysdeps/mach/hurd/syncfs.c: New file.
21207 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21210 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21211 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21212 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21213 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21214 (_nss_dns_gethostbyname4_r): Likewise.
21215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21216 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21218 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21221 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21223 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21225 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21226 * elf/cache.c (print_entry): Print ",AArch64" for
21229 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21230 * elf/cache.c (print_entry): Print ",hard-float" for
21233 2012-11-18 David S. Miller <davem@davemloft.net>
21235 With help from Joseph Myers.
21236 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21238 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21240 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21241 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21243 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21244 * math/libm-test.inc (y0_test): New tests.
21245 (y1_test): New tests.
21246 * sysdeps/i386/fpu/libm-test-ulps: Update.
21247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21250 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21252 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21254 * configure: Regenerated.
21256 2012-11-17 David S. Miller <davem@davemloft.net>
21259 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21260 nonzero exponents with absolute value below 0x1p-128 to +/-
21263 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21265 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21267 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21269 * posix/getconf-speclist.c: New file.
21270 * posix/posix-envs.def: Likewise.
21271 * posix/confstr.c (START_ENV_GROUP): New macro.
21272 (END_ENV_GROUP): Likewise.
21273 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21274 (KNOWN_PRESENT_ENV_STRING): Likewise.
21275 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21276 (UNKNOWN_ENVIRONMENT): Likewise.
21277 (confstr): Include posix-envs.def instead of handling
21278 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21279 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21280 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21281 (END_ENV_GROUP): Likewise.
21282 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21283 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21284 (UNKNOWN_ENVIRONMENT): Likewise.
21285 (__sysconf): Include posix-envs.def instead of handling associated
21286 cases directly here.
21287 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21288 preprocessing getconf-speclist.c rather than running getconf or
21289 generating empty file.
21291 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21293 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21295 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21298 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21300 2012-11-16 David S. Miller <davem@davemloft.net>
21302 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21303 smaller than LDBL_EPSILON/2.0L, just return xm1.
21305 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21307 * elf/tst-array1.c (init): Set constructor priority to 1000.
21308 (fini): Set destructor priority to 1000.
21309 * elf/tst-array2dep.c: Likewise.
21311 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21314 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21315 (_IO_new_file_xsputn): Also return EOF if none of the input
21316 data was written when overflow failed.
21317 * libio/iopadn.c (_IO_padn): Likewise.
21318 * libio/iowpadn.c (_IO_wpadn): Likewise.
21319 * stdio-common/tst-put-error.c: Add copyright notice.
21320 (do_test): Add case for printing padded string.
21321 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21322 _IO_padn returned error.
21323 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21324 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21327 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21329 * libio/libioP.h: Add comment note that the references to C++
21330 bits are now obsolete.
21332 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21334 * math/libm-test.inc (check_complex): Use asprintf.
21336 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21338 * debug/pcprofiledump.c (print_version): Update copyright year.
21339 * malloc/memusagestat.c (print_version): Likewise.
21341 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21344 * elf/Makefile (tests): Add tst-audit8.
21345 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21346 ($(objpfx)tst-audit8.out): New target.
21347 (tst-audit8-ENV): New variable.
21348 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21349 audit if l_reloc_result is NULL.
21350 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21351 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21352 * elf/tst-audit8.c: New file.
21354 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21356 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21357 * misc/Makefile (CFLAGS-select.c): Define.
21358 * posix/Makefile (CFLAGS-pause.c): Define.
21360 2012-11-13 David S. Miller <davem@davemloft.net>
21362 * crypt/Makefile: Move test targets after toplevel Rules
21363 inclusion. Grab any necessary sysdep routines when linking.
21364 * crypt/md5.c (md5_process_block): Remove define, we will always
21365 name it __md5_process_block.
21366 (md5_finish_ctx): Update md5_process_block call.
21367 (md5_stream): Likewise.
21368 (md5_process_bytes): Likewise.
21369 (md5_process_block): Rename to __md5_process_block and move to ...
21370 * crypt/md5-block.c: ... here.
21371 * crypt/sha256.c (sha256_process_block): Move to ...
21372 * crypt/sha256-block.c: ... here.
21373 * crypt/sha512.c (sha512_process_block): Move to ...
21374 * crypt/sha512-block.c: ... here.
21375 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21377 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21378 * sysdeps/sparc/sparc64/multiarch/Makefile
21379 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21381 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21382 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21384 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21385 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21386 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21387 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21388 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21389 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21390 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21391 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21392 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21394 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21395 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21397 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21399 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21401 * timezone/tzselect.ksh: Update from tzcode git revision
21402 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21403 * timezone/zdump.c: Likewise.
21404 * timezone/zic.c: Likewise.
21405 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21406 in TZVERSION setting, not $(PKGVERSION).
21407 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21408 REPORT_BUGS_TO settings.
21411 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21414 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21416 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21417 detection to immediately after _FP_ROUND().
21418 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21421 2012-11-11 David S. Miller <davem@davemloft.net>
21423 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21425 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21426 __close rather than their public counterparts.
21428 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21430 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21432 [UNIX98] (sem_timedwait): Do not expect.
21433 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21434 [XPG4 || UNIX98] (sockatmark): Do not expect.
21435 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21436 (clock_getcpuclockid): Do not expect.
21437 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21438 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21440 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21441 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21442 [UNIX98] (vwscanf): Likewise.
21443 [UNIX98] (vswscanf): Likewise.
21445 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21447 * timezone/version.h: Remove file.
21448 * timezone/README: Do not refer to version.h.
21449 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21450 $(objpfx)version.h.
21451 ($(objpfx)zdump.o): Likewise.
21452 ($(objpfx)version.h): New target.
21454 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21456 * timezone/README: Don't mention modification to tzselect.ksh.
21457 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21458 work on unmodified tzselect.ksh. Substitute version numbers in
21461 * Makefile (format-me): Remove.
21462 (INSTALL): Adjust indentation. Use commands directly instead of
21463 using $(format-me).
21465 * aclocal.m4 (ACX_PKGVERSION): New macro.
21466 (ACX_BUGURL): Likewise.
21467 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21468 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21469 (REPORT_BUGS_TO): Likewise.
21470 * configure: Regenerated.
21471 * config.h.in (PKGVERSION): New macro.
21472 (REPORT_BUGS_TO): Likewise.
21473 * config.make.in (PKGVERSION): New variable.
21474 (PKGVERSION_TEXI): Likewise.
21475 (REPORT_BUGS_TO): Likewise.
21476 (REPORT_BUGS_TEXI): Likewise.
21477 * Makefile (format-me): Use -I$(common-objpfx)manual.
21478 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21479 ($(common-objpfx)manual/%): New target.
21480 (manual/%): Remove target.
21481 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21482 (print_version): Use PKGVERSION.
21483 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21484 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21485 and REPORT_BUGS_TO.
21486 ($(objpfx)xtrace): Likewise.
21487 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21488 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21489 (print_version): Use PKGVERSION.
21490 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21491 (do_version): Use PKGVERSION.
21492 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21494 (common-ldd-rewrite): Likewise.
21495 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21496 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21497 (print_version): Use PKGVERSION.
21498 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21499 * elf/pldd.c (argp_program_bug_address): Remove variable.
21500 (more_help): New function.
21501 (argp): Use more_help.
21502 (print_version): Use PKGVERSION.
21503 * elf/sln.c (main): Use PKGVERSION.
21504 (usage): Use REPORT_BUGS_TO.
21505 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21506 (top level): Use PKGVERSION.
21507 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21508 (print_version): Use PKGVERSION.
21509 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21510 (print_version): Use PKGVERSION.
21511 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21512 (print_version): Use PKGVERSION.
21513 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21514 (print_version): Use PKGVERSION.
21515 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21516 (print_version): Use PKGVERSION.
21517 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21518 (print_version): Use PKGVERSION.
21519 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21521 ($(objpfx)memusage): Likewise.
21522 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21523 (do_version): Use PKGVERSION.
21524 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21525 (print_version): Use PKGVERSION.
21526 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21527 ($PKGVERSION): New variable.
21528 ($REPORT_BUGS_TO): Likewise.
21529 (usage): Use $REPORT_BUGS_TO.
21530 (top level): Use $PKGVERSION.
21531 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21532 ($(objpfx)pkgvers.texi): New rule.
21533 ($(objpfx)stamp-pkgvers): Likewise.
21534 * manual/install.texi: Include pkgvers.texi.
21535 (--with-pkgversion): Document new configure option.
21536 (--with-bugurl): Likewise.
21537 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21538 than necessarily for this particular distribution. Use
21539 REPORT_BUGS_TO for where to report bugs.
21540 * INSTALL: Regenerated.
21541 * manual/libc.texinfo: Include pkgvers.texi.
21542 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21543 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21544 (print_version): Use PKGVERSION.
21545 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21546 (print_version): Use PKGVERSION.
21547 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21548 (print_version): Use PKGVERSION.
21549 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21550 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21552 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21553 (print_version): Use PKGVERSION.
21554 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21555 (print_version): Use PKGVERSION.
21556 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21559 * timezone/checktab.awk: Update from tzcode 2012i.
21560 * timezone/ialloc.c: Likewise.
21561 * timezone/private.h: Likewise.
21562 * timezone/scheck.c: Likewise.
21563 * timezone/tzfile.h: Likewise.
21564 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21565 (TZVERSION): Hardcode tzcode version number.
21566 * timezone/zdump.c: Update from tzcode 2012i.
21567 * timezone/zic.c: Likewise.
21568 * timezone/version.h: New file.
21569 * timezone/README: Describe version.h. Update upstream location.
21572 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21573 (mktemp): Enable declaration.
21574 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21576 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21577 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21579 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21581 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21583 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21585 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21587 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21591 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21592 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21593 for copies of such integer values.
21594 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21595 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21597 2012-11-09 Andreas Jaeger <aj@suse.de>
21599 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21600 definitions and declarations that are provided by
21601 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21603 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21605 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21606 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21607 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21610 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21612 * elf/elf.h: Update comment before AArch64 relocations.
21614 2012-11-07 David S. Miller <davem@davemloft.net>
21616 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21617 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21618 (__start_context): Declare.
21619 (__makecontext_ret): Delete.
21620 (__makecontext): Hook up __start_context instead of
21622 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21623 (sysdep_routines): Add __start_context when in stdlib.
21625 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21627 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21628 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21629 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21631 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21632 (READELF): New variable. Use it instead of hardcoded "readelf".
21634 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21636 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21637 * sysdeps/x86/Makefile: Here.
21638 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21639 * sysdeps/x86/tst-xmmymm.sh: This.
21641 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21643 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21645 [UNIX98] (pthread_barrier_t): Do not expect.
21646 [UNIX98] (pthread_barrierattr_t): Likewise.
21647 [UNIX98] (pthread_spinlock_t): Likewise.
21648 [UNIX98] (pthread_barrier_destroy): Likewise.
21649 [UNIX98] (pthread_barrier_init): Likewise.
21650 [UNIX98] (pthread_barrier_wait): Likewise.
21651 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21652 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21653 [UNIX98] (pthread_barrierattr_init): Likewise.
21654 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21655 [UNIX98] (pthread_getcpuclockid): Likewise.
21656 [UNIX98] (pthread_mutex_timedlock): Likewise.
21657 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21658 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21659 [UNIX98] (pthread_sigmask): Likewise.
21660 [UNIX98] (pthread_spin_destroy): Likewise.
21661 [UNIX98] (pthread_spin_init): Likewise.
21662 [UNIX98] (pthread_spin_lock): Likewise.
21663 [UNIX98] (pthread_spin_trylock): Likewise.
21664 [UNIX98] (pthread_spin_unlock): Likewise.
21665 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21667 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21668 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21669 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21670 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21671 [XPG3 || XPG4] (pthread_key_t): Likewise.
21672 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21673 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21674 [XPG3 || XPG4] (pthread_once_t): Likewise.
21675 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21676 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21677 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21678 [XPG3 || XPG4] (pthread_t): Likewise.
21680 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21682 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21684 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21685 Change function return type to int.
21687 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21688 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21689 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21690 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21691 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21692 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21693 [!POSIX] (posix_madvise): Likewise.
21694 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21696 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21697 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21698 (mode_t): Likewise.
21699 (posix_mem_offset): Likewise.
21700 (posix_typed_mem_get_info): Likewise.
21701 (posix_typed_mem_open): Likewise.
21703 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21704 Change condition to [XOPEN2K8].
21706 * conform/conformtest.pl: Preprocess allow-header data with -x c
21707 instead of from stdin.
21708 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21709 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21710 [C99-based standards] (cerfc): Likewise.
21711 [C99-based standards] (cexp2): Likewise.
21712 [C99-based standards] (cexpm1): Likewise.
21713 [C99-based standards] (clog10): Likewise.
21714 [C99-based standards] (clog1p): Likewise.
21715 [C99-based standards] (clog2): Likewise.
21716 [C99-based standards] (clgamma): Likewise.
21717 [C99-based standards] (ctgamma): Likewise.
21718 [C99-based standards] (cerff): Likewise.
21719 [C99-based standards] (cerfcf): Likewise.
21720 [C99-based standards] (cexp2f): Likewise.
21721 [C99-based standards] (cexpm1f): Likewise.
21722 [C99-based standards] (clog10f): Likewise.
21723 [C99-based standards] (clog1pf): Likewise.
21724 [C99-based standards] (clog2f): Likewise.
21725 [C99-based standards] (clgammaf): Likewise.
21726 [C99-based standards] (ctgammaf): Likewise.
21727 [C99-based standards] (cerfl): Likewise.
21728 [C99-based standards] (cerfcl): Likewise.
21729 [C99-based standards] (cexp2l): Likewise.
21730 [C99-based standards] (cexpm1l): Likewise.
21731 [C99-based standards] (clog10l): Likewise.
21732 [C99-based standards] (clog1pl): Likewise.
21733 [C99-based standards] (clog2l): Likewise.
21734 [C99-based standards] (clgammal): Likewise.
21735 [C99-based standards] (ctgammal): Likewise.
21736 * conform/data/inttypes.h-data [C99-based standards]: Include
21737 stdint.h-data. Remove all expectations for stdint.h contents.
21738 [C99-based standards] (PRI*): Do not allow.
21739 [C99-based standards] (SCN*): Likewise.
21740 [C99-based standards] (*_t): Likewise.
21741 [C99-based-standards] (PRId8): Expect macro.
21742 [C99-based-standards] (PRIi8): Likewise.
21743 [C99-based-standards] (PRIo8): Likewise.
21744 [C99-based-standards] (PRIu8): Likewise.
21745 [C99-based-standards] (PRIx8): Likewise.
21746 [C99-based-standards] (PRIX8): Likewise.
21747 [C99-based-standards] (SCNd8): Likewise.
21748 [C99-based-standards] (SCNi8): Likewise.
21749 [C99-based-standards] (SCNo8): Likewise.
21750 [C99-based-standards] (SCNu8): Likewise.
21751 [C99-based-standards] (SCNx8): Likewise.
21752 [C99-based-standards] (PRIdLEAST8): Likewise.
21753 [C99-based-standards] (PRIiLEAST8): Likewise.
21754 [C99-based-standards] (PRIoLEAST8): Likewise.
21755 [C99-based-standards] (PRIuLEAST8): Likewise.
21756 [C99-based-standards] (PRIxLEAST8): Likewise.
21757 [C99-based-standards] (PRIXLEAST8): Likewise.
21758 [C99-based-standards] (SCNdLEAST8): Likewise.
21759 [C99-based-standards] (SCNiLEAST8): Likewise.
21760 [C99-based-standards] (SCNoLEAST8): Likewise.
21761 [C99-based-standards] (SCNuLEAST8): Likewise.
21762 [C99-based-standards] (SCNxLEAST8): Likewise.
21763 [C99-based-standards] (PRIdFAST8): Likewise.
21764 [C99-based-standards] (PRIiFAST8): Likewise.
21765 [C99-based-standards] (PRIoFAST8): Likewise.
21766 [C99-based-standards] (PRIuFAST8): Likewise.
21767 [C99-based-standards] (PRIxFAST8): Likewise.
21768 [C99-based-standards] (PRIXFAST8): Likewise.
21769 [C99-based-standards] (SCNdFAST8): Likewise.
21770 [C99-based-standards] (SCNiFAST8): Likewise.
21771 [C99-based-standards] (SCNoFAST8): Likewise.
21772 [C99-based-standards] (SCNuFAST8): Likewise.
21773 [C99-based-standards] (SCNxFAST8): Likewise.
21774 [C99-based-standards] (PRId16): Likewise.
21775 [C99-based-standards] (PRIi16): Likewise.
21776 [C99-based-standards] (PRIo16): Likewise.
21777 [C99-based-standards] (PRIu16): Likewise.
21778 [C99-based-standards] (PRIx16): Likewise.
21779 [C99-based-standards] (PRIX16): Likewise.
21780 [C99-based-standards] (SCNd16): Likewise.
21781 [C99-based-standards] (SCNi16): Likewise.
21782 [C99-based-standards] (SCNo16): Likewise.
21783 [C99-based-standards] (SCNu16): Likewise.
21784 [C99-based-standards] (SCNx16): Likewise.
21785 [C99-based-standards] (PRIdLEAST16): Likewise.
21786 [C99-based-standards] (PRIiLEAST16): Likewise.
21787 [C99-based-standards] (PRIoLEAST16): Likewise.
21788 [C99-based-standards] (PRIuLEAST16): Likewise.
21789 [C99-based-standards] (PRIxLEAST16): Likewise.
21790 [C99-based-standards] (PRIXLEAST16): Likewise.
21791 [C99-based-standards] (SCNdLEAST16): Likewise.
21792 [C99-based-standards] (SCNiLEAST16): Likewise.
21793 [C99-based-standards] (SCNoLEAST16): Likewise.
21794 [C99-based-standards] (SCNuLEAST16): Likewise.
21795 [C99-based-standards] (SCNxLEAST16): Likewise.
21796 [C99-based-standards] (PRIdFAST16): Likewise.
21797 [C99-based-standards] (PRIiFAST16): Likewise.
21798 [C99-based-standards] (PRIoFAST16): Likewise.
21799 [C99-based-standards] (PRIuFAST16): Likewise.
21800 [C99-based-standards] (PRIxFAST16): Likewise.
21801 [C99-based-standards] (PRIXFAST16): Likewise.
21802 [C99-based-standards] (SCNdFAST16): Likewise.
21803 [C99-based-standards] (SCNiFAST16): Likewise.
21804 [C99-based-standards] (SCNoFAST16): Likewise.
21805 [C99-based-standards] (SCNuFAST16): Likewise.
21806 [C99-based-standards] (SCNxFAST16): Likewise.
21807 [C99-based-standards] (PRId32): Likewise.
21808 [C99-based-standards] (PRIi32): Likewise.
21809 [C99-based-standards] (PRIo32): Likewise.
21810 [C99-based-standards] (PRIu32): Likewise.
21811 [C99-based-standards] (PRIx32): Likewise.
21812 [C99-based-standards] (PRIX32): Likewise.
21813 [C99-based-standards] (SCNd32): Likewise.
21814 [C99-based-standards] (SCNi32): Likewise.
21815 [C99-based-standards] (SCNo32): Likewise.
21816 [C99-based-standards] (SCNu32): Likewise.
21817 [C99-based-standards] (SCNx32): Likewise.
21818 [C99-based-standards] (PRIdLEAST32): Likewise.
21819 [C99-based-standards] (PRIiLEAST32): Likewise.
21820 [C99-based-standards] (PRIoLEAST32): Likewise.
21821 [C99-based-standards] (PRIuLEAST32): Likewise.
21822 [C99-based-standards] (PRIxLEAST32): Likewise.
21823 [C99-based-standards] (PRIXLEAST32): Likewise.
21824 [C99-based-standards] (SCNdLEAST32): Likewise.
21825 [C99-based-standards] (SCNiLEAST32): Likewise.
21826 [C99-based-standards] (SCNoLEAST32): Likewise.
21827 [C99-based-standards] (SCNuLEAST32): Likewise.
21828 [C99-based-standards] (SCNxLEAST32): Likewise.
21829 [C99-based-standards] (PRIdFAST32): Likewise.
21830 [C99-based-standards] (PRIiFAST32): Likewise.
21831 [C99-based-standards] (PRIoFAST32): Likewise.
21832 [C99-based-standards] (PRIuFAST32): Likewise.
21833 [C99-based-standards] (PRIxFAST32): Likewise.
21834 [C99-based-standards] (PRIXFAST32): Likewise.
21835 [C99-based-standards] (SCNdFAST32): Likewise.
21836 [C99-based-standards] (SCNiFAST32): Likewise.
21837 [C99-based-standards] (SCNoFAST32): Likewise.
21838 [C99-based-standards] (SCNuFAST32): Likewise.
21839 [C99-based-standards] (SCNxFAST32): Likewise.
21840 [C99-based-standards] (PRId64): Likewise.
21841 [C99-based-standards] (PRIi64): Likewise.
21842 [C99-based-standards] (PRIo64): Likewise.
21843 [C99-based-standards] (PRIu64): Likewise.
21844 [C99-based-standards] (PRIx64): Likewise.
21845 [C99-based-standards] (PRIX64): Likewise.
21846 [C99-based-standards] (SCNd64): Likewise.
21847 [C99-based-standards] (SCNi64): Likewise.
21848 [C99-based-standards] (SCNo64): Likewise.
21849 [C99-based-standards] (SCNu64): Likewise.
21850 [C99-based-standards] (SCNx64): Likewise.
21851 [C99-based-standards] (PRIdLEAST64): Likewise.
21852 [C99-based-standards] (PRIiLEAST64): Likewise.
21853 [C99-based-standards] (PRIoLEAST64): Likewise.
21854 [C99-based-standards] (PRIuLEAST64): Likewise.
21855 [C99-based-standards] (PRIxLEAST64): Likewise.
21856 [C99-based-standards] (PRIXLEAST64): Likewise.
21857 [C99-based-standards] (SCNdLEAST64): Likewise.
21858 [C99-based-standards] (SCNiLEAST64): Likewise.
21859 [C99-based-standards] (SCNoLEAST64): Likewise.
21860 [C99-based-standards] (SCNuLEAST64): Likewise.
21861 [C99-based-standards] (SCNxLEAST64): Likewise.
21862 [C99-based-standards] (PRIdFAST64): Likewise.
21863 [C99-based-standards] (PRIiFAST64): Likewise.
21864 [C99-based-standards] (PRIoFAST64): Likewise.
21865 [C99-based-standards] (PRIuFAST64): Likewise.
21866 [C99-based-standards] (PRIxFAST64): Likewise.
21867 [C99-based-standards] (PRIXFAST64): Likewise.
21868 [C99-based-standards] (SCNdFAST64): Likewise.
21869 [C99-based-standards] (SCNiFAST64): Likewise.
21870 [C99-based-standards] (SCNoFAST64): Likewise.
21871 [C99-based-standards] (SCNuFAST64): Likewise.
21872 [C99-based-standards] (SCNxFAST64): Likewise.
21873 [C99-based-standards] (PRIdMAX): Likewise.
21874 [C99-based-standards] (PRIiMAX): Likewise.
21875 [C99-based-standards] (PRIoMAX): Likewise.
21876 [C99-based-standards] (PRIuMAX): Likewise.
21877 [C99-based-standards] (PRIxMAX): Likewise.
21878 [C99-based-standards] (PRIXMAX): Likewise.
21879 [C99-based-standards] (SCNdMAX): Likewise.
21880 [C99-based-standards] (SCNiMAX): Likewise.
21881 [C99-based-standards] (SCNoMAX): Likewise.
21882 [C99-based-standards] (SCNuMAX): Likewise.
21883 [C99-based-standards] (SCNxMAX): Likewise.
21884 [C99-based-standards] (PRIdPTR): Likewise.
21885 [C99-based-standards] (PRIiPTR): Likewise.
21886 [C99-based-standards] (PRIoPTR): Likewise.
21887 [C99-based-standards] (PRIuPTR): Likewise.
21888 [C99-based-standards] (PRIxPTR): Likewise.
21889 [C99-based-standards] (PRIXPTR): Likewise.
21890 [C99-based-standards] (SCNdPTR): Likewise.
21891 [C99-based-standards] (SCNiPTR): Likewise.
21892 [C99-based-standards] (SCNoPTR): Likewise.
21893 [C99-based-standards] (SCNuPTR): Likewise.
21894 [C99-based-standards] (SCNxPTR): Likewise.
21895 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21897 * conform/data/stdint.h-data: Update comments to clarify
21899 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21901 [C99-based standards] (INT8_MAX): Likewise.
21902 [C99-based standards] (INT16_MIN): Likewise.
21903 [C99-based standards] (INT16_MAX): Likewise.
21904 [C99-based standards] (INT32_MIN): Likewise.
21905 [C99-based standards] (INT32_MAX): Likewise.
21906 [C99-based standards] (INT64_MIN): Likewise.
21907 [C99-based standards] (INT64_MAX): Likewise.
21908 [C99-based standards] (UINT8_MAX): Likewise.
21909 [C99-based standards] (UINT16_MAX): Likewise.
21910 [C99-based standards] (UINT32_MAX): Likewise.
21911 [C99-based standards] (UINT64_MAX): Likewise.
21912 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21913 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21914 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21915 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21916 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21917 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21918 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21919 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21920 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21921 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21922 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21923 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21924 [C99-based standards] (INT_FAST8_MIN): Likewise.
21925 [C99-based standards] (INT_FAST8_MAX): Likewise.
21926 [C99-based standards] (INT_FAST16_MIN): Likewise.
21927 [C99-based standards] (INT_FAST16_MAX): Likewise.
21928 [C99-based standards] (INT_FAST32_MIN): Likewise.
21929 [C99-based standards] (INT_FAST32_MAX): Likewise.
21930 [C99-based standards] (INT_FAST64_MIN): Likewise.
21931 [C99-based standards] (INT_FAST64_MAX): Likewise.
21932 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21933 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21934 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21935 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21936 [C99-based standards] (INTPTR_MIN): Likewise.
21937 [C99-based standards] (INTPTR_MAX): Likewise.
21938 [C99-based standards] (UINTPTR_MAX): Likewise.
21939 [C99-based standards] (INTMAX_MIN): Likewise.
21940 [C99-based standards] (INTMAX_MAX): Likewise.
21941 [C99-based standards] (UINTMAX_MAX): Likewise.
21942 [C99-based standards] (PTRDIFF_MIN): Likewise.
21943 [C99-based standards] (PTRDIFF_MAX): Likewise.
21944 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21945 [C99-based standards] (SIZE_MAX): Likewise.
21946 [C99-based standards] (WCHAR_MAX): Likewise.
21947 [C99-based standards] (WINT_MAX): Likewise.
21948 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21949 constraint on value.
21950 [C99-based standards] (WCHAR_MIN): Likewise.
21951 [C99-based standards] (WINT_MIN): Likewise.
21952 [C99-based standards] (*_t): Allow.
21953 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21954 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21955 Include math.h-data and complex.h-data. Remove all expectations
21956 of math.h and complex.h contents.
21957 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21959 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21960 (struct tm): Expect tag.
21961 [C99-based-standards] (wcstof): Expect function.
21962 [C99-based-standards] (wcstold): Likewise.
21963 [C99-based-standards] (wcstoll): Likewise.
21964 [C99-based-standards] (wcstoull): Likewise.
21965 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21966 macro-int-constant. Specify type.
21967 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21968 constraint on value.
21969 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21971 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21973 [ISO C standards]: Do not allow headers.
21974 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21975 wcs[abcdefghijklmnopqrstuvwxyz]*.
21976 [ISO C standards] (*_t): Do not allow.
21977 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21979 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21980 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21982 [ISO C standards]: Do not allow headers.
21983 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21984 is[abcdefghijklmnopqrstuvwxyz]*.
21985 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21986 to[abcdefghijklmnopqrstuvwxyz]*.
21987 [ISO C standards] (*_t): Do not allow.
21988 * conform/data/stdalign.h-data: New file.
21989 * conform/data/stdbool.h-data: Likewise.
21990 * conform/data/stdnoreturn.h-data: Likewise.
21992 2012-11-07 Roland McGrath <roland@hack.frob.com>
21995 * manual/filesys.texi (Directory Entries): Typo fix.
21996 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21998 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22000 * elf/elf.h (EM_AARCH64): New macro.
22001 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22002 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22003 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22004 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22005 (R_AARCH64_TLSDESC): Likewise.
22006 (NT_ARM_TLS): Likewise.
22007 (NT_ARM_HW_BREAK): Likewise.
22008 (NT_ARM_HW_WATCH): Likewise.
22010 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22013 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22014 (__ieee754_powl): Saturate nonzero exponents with absolute value
22015 below 0x1p-79 to +/- 0x1p-79.
22016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22017 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22018 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22019 nonzero exponents with absolute value below 0x1p-32 to +/-
22021 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22022 (__ieee754_powl): Saturate nonzero exponents with absolute value
22023 below 0x1p-79 to +/- 0x1p-79.
22024 * math/libm-test.inc (pow_test): Add more tests.
22026 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22028 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22029 _dl_s390_cap_flags with kernel. Increase string length.
22030 (_dl_s390_platforms): Add z196 and zEC12.
22032 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22034 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22035 Change XOPEN21K to XOPEN2K.
22037 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22039 * string/memmove.c: Use memcpy when possible.
22041 2012-11-06 Andreas Jaeger <aj@suse.de>
22043 * po/eo.po: Update from translation team.
22045 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22048 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22049 exponent and small x and y exponents, scale x or y up. Increase
22050 by 2 the exponent used in scaling up.
22051 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22052 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22053 * math/libm-test.inc (fma_test): Add more tests.
22054 (fma_test_towardzero): Likewise.
22055 (fma_test_downward): Likewise.
22056 (fma_test_upward): Likewise.
22058 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22061 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22065 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22066 namespace for names of struct fields.
22067 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22069 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22070 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22072 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22075 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22077 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22079 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22083 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22086 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22090 definitely overflow as x * y not x * y + z.
22091 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22092 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22093 * math/libm-test.inc (fma_test): Add more tests.
22094 (fma_test_towardzero): Likewise.
22095 (fma_test_downward): Likewise.
22096 (fma_test_upward): Likewise.
22098 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22102 * include/stub-tag.h: Remove file.
22103 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22105 * manual/maint.texi (Porting): Don't reference it.
22106 * Makerules ($(objpfx)stubs): Likewise.
22107 * dirent/closedir.c: Don't include <stub-tag.h>.
22108 * dirent/dirfd.c: Likewise.
22109 * dirent/fdopendir.c: Likewise.
22110 * dirent/getdents.c: Likewise.
22111 * dirent/getdents64.c: Likewise.
22112 * dirent/opendir.c: Likewise.
22113 * dirent/readdir.c: Likewise.
22114 * dirent/readdir64.c: Likewise.
22115 * dirent/readdir64_r.c: Likewise.
22116 * dirent/readdir_r.c: Likewise.
22117 * dirent/rewinddir.c: Likewise.
22118 * dirent/seekdir.c: Likewise.
22119 * dirent/telldir.c: Likewise.
22120 * gmon/profil.c: Likewise.
22121 * grp/setgroups.c: Likewise.
22122 * inet/if_index.c: Likewise.
22123 * io/access.c: Likewise.
22124 * io/chdir.c: Likewise.
22125 * io/chmod.c: Likewise.
22126 * io/chown.c: Likewise.
22127 * io/close.c: Likewise.
22128 * io/dup.c: Likewise.
22129 * io/dup2.c: Likewise.
22130 * io/dup3.c: Likewise.
22131 * io/euidaccess.c: Likewise.
22132 * io/faccessat.c: Likewise.
22133 * io/fchdir.c: Likewise.
22134 * io/fchmod.c: Likewise.
22135 * io/fchmodat.c: Likewise.
22136 * io/fchown.c: Likewise.
22137 * io/fchownat.c: Likewise.
22138 * io/fcntl.c: Likewise.
22139 * io/flock.c: Likewise.
22140 * io/fstatfs.c: Likewise.
22141 * io/fstatfs64.c: Likewise.
22142 * io/fstatvfs.c: Likewise.
22143 * io/fstatvfs64.c: Likewise.
22144 * io/futimens.c: Likewise.
22145 * io/fxstat.c: Likewise.
22146 * io/fxstat64.c: Likewise.
22147 * io/fxstatat.c: Likewise.
22148 * io/fxstatat64.c: Likewise.
22149 * io/getcwd.c: Likewise.
22150 * io/isatty.c: Likewise.
22151 * io/lchmod.c: Likewise.
22152 * io/lchown.c: Likewise.
22153 * io/link.c: Likewise.
22154 * io/linkat.c: Likewise.
22155 * io/lseek.c: Likewise.
22156 * io/lseek64.c: Likewise.
22157 * io/lxstat64.c: Likewise.
22158 * io/mkdir.c: Likewise.
22159 * io/mkdirat.c: Likewise.
22160 * io/mkfifo.c: Likewise.
22161 * io/mkfifoat.c: Likewise.
22162 * io/open.c: Likewise.
22163 * io/open64.c: Likewise.
22164 * io/openat.c: Likewise.
22165 * io/openat64.c: Likewise.
22166 * io/pipe.c: Likewise.
22167 * io/pipe2.c: Likewise.
22168 * io/poll.c: Likewise.
22169 * io/posix_fadvise.c: Likewise.
22170 * io/posix_fadvise64.c: Likewise.
22171 * io/posix_fallocate.c: Likewise.
22172 * io/posix_fallocate64.c: Likewise.
22173 * io/read.c: Likewise.
22174 * io/readlink.c: Likewise.
22175 * io/readlinkat.c: Likewise.
22176 * io/rmdir.c: Likewise.
22177 * io/sendfile.c: Likewise.
22178 * io/sendfile64.c: Likewise.
22179 * io/statfs.c: Likewise.
22180 * io/statfs64.c: Likewise.
22181 * io/statvfs.c: Likewise.
22182 * io/statvfs64.c: Likewise.
22183 * io/symlink.c: Likewise.
22184 * io/symlinkat.c: Likewise.
22185 * io/ttyname.c: Likewise.
22186 * io/ttyname_r.c: Likewise.
22187 * io/umask.c: Likewise.
22188 * io/unlink.c: Likewise.
22189 * io/unlinkat.c: Likewise.
22190 * io/utime.c: Likewise.
22191 * io/utimensat.c: Likewise.
22192 * io/write.c: Likewise.
22193 * io/xmknod.c: Likewise.
22194 * io/xmknodat.c: Likewise.
22195 * io/xstat.c: Likewise.
22196 * io/xstat64.c: Likewise.
22197 * login/getpt.c: Likewise.
22198 * login/grantpt.c: Likewise.
22199 * login/unlockpt.c: Likewise.
22200 * math/e_acoshl.c: Likewise.
22201 * math/e_acosl.c: Likewise.
22202 * math/e_asinl.c: Likewise.
22203 * math/e_atan2l.c: Likewise.
22204 * math/e_atanhl.c: Likewise.
22205 * math/e_coshl.c: Likewise.
22206 * math/e_expl.c: Likewise.
22207 * math/e_fmodl.c: Likewise.
22208 * math/e_gammal_r.c: Likewise.
22209 * math/e_hypotl.c: Likewise.
22210 * math/e_j0l.c: Likewise.
22211 * math/e_j1l.c: Likewise.
22212 * math/e_jnl.c: Likewise.
22213 * math/e_lgammal_r.c: Likewise.
22214 * math/e_log10l.c: Likewise.
22215 * math/e_log2l.c: Likewise.
22216 * math/e_logl.c: Likewise.
22217 * math/e_powl.c: Likewise.
22218 * math/e_rem_pio2l.c: Likewise.
22219 * math/e_sinhl.c: Likewise.
22220 * math/e_sqrtl.c: Likewise.
22221 * math/fclrexcpt.c: Likewise.
22222 * math/fedisblxcpt.c: Likewise.
22223 * math/feenablxcpt.c: Likewise.
22224 * math/fegetenv.c: Likewise.
22225 * math/fegetexcept.c: Likewise.
22226 * math/fegetround.c: Likewise.
22227 * math/feholdexcpt.c: Likewise.
22228 * math/fesetenv.c: Likewise.
22229 * math/fesetround.c: Likewise.
22230 * math/feupdateenv.c: Likewise.
22231 * math/fgetexcptflg.c: Likewise.
22232 * math/fraiseexcpt.c: Likewise.
22233 * math/fsetexcptflg.c: Likewise.
22234 * math/ftestexcept.c: Likewise.
22235 * math/k_cosl.c: Likewise.
22236 * math/k_rem_pio2l.c: Likewise.
22237 * math/k_sinl.c: Likewise.
22238 * math/k_tanl.c: Likewise.
22239 * math/s_asinhl.c: Likewise.
22240 * math/s_atanl.c: Likewise.
22241 * math/s_cbrtl.c: Likewise.
22242 * math/s_erfl.c: Likewise.
22243 * math/s_expm1l.c: Likewise.
22244 * math/s_log1pl.c: Likewise.
22245 * math/s_tanhl.c: Likewise.
22246 * misc/acct.c: Likewise.
22247 * misc/brk.c: Likewise.
22248 * misc/chflags.c: Likewise.
22249 * misc/chroot.c: Likewise.
22250 * misc/fchflags.c: Likewise.
22251 * misc/fgetxattr.c: Likewise.
22252 * misc/flistxattr.c: Likewise.
22253 * misc/fremovexattr.c: Likewise.
22254 * misc/fsetxattr.c: Likewise.
22255 * misc/fsync.c: Likewise.
22256 * misc/ftruncate.c: Likewise.
22257 * misc/futimes.c: Likewise.
22258 * misc/futimesat.c: Likewise.
22259 * misc/getdomain.c: Likewise.
22260 * misc/getdtsz.c: Likewise.
22261 * misc/gethostid.c: Likewise.
22262 * misc/gethostname.c: Likewise.
22263 * misc/getloadavg.c: Likewise.
22264 * misc/getpagesize.c: Likewise.
22265 * misc/getsysstats.c: Likewise.
22266 * misc/getxattr.c: Likewise.
22267 * misc/gtty.c: Likewise.
22268 * misc/ioctl.c: Likewise.
22269 * misc/lgetxattr.c: Likewise.
22270 * misc/listxattr.c: Likewise.
22271 * misc/llistxattr.c: Likewise.
22272 * misc/lremovexattr.c: Likewise.
22273 * misc/lsetxattr.c: Likewise.
22274 * misc/lutimes.c: Likewise.
22275 * misc/madvise.c: Likewise.
22276 * misc/mincore.c: Likewise.
22277 * misc/mlock.c: Likewise.
22278 * misc/mlockall.c: Likewise.
22279 * misc/mmap.c: Likewise.
22280 * misc/mprotect.c: Likewise.
22281 * misc/msync.c: Likewise.
22282 * misc/munlock.c: Likewise.
22283 * misc/munlockall.c: Likewise.
22284 * misc/munmap.c: Likewise.
22285 * misc/preadv.c: Likewise.
22286 * misc/preadv64.c: Likewise.
22287 * misc/ptrace.c: Likewise.
22288 * misc/pwritev.c: Likewise.
22289 * misc/pwritev64.c: Likewise.
22290 * misc/readv.c: Likewise.
22291 * misc/reboot.c: Likewise.
22292 * misc/remap_file_pages.c: Likewise.
22293 * misc/removexattr.c: Likewise.
22294 * misc/revoke.c: Likewise.
22295 * misc/select.c: Likewise.
22296 * misc/setdomain.c: Likewise.
22297 * misc/setegid.c: Likewise.
22298 * misc/seteuid.c: Likewise.
22299 * misc/sethostid.c: Likewise.
22300 * misc/sethostname.c: Likewise.
22301 * misc/setregid.c: Likewise.
22302 * misc/setreuid.c: Likewise.
22303 * misc/setxattr.c: Likewise.
22304 * misc/sstk.c: Likewise.
22305 * misc/stty.c: Likewise.
22306 * misc/swapoff.c: Likewise.
22307 * misc/swapon.c: Likewise.
22308 * misc/sync.c: Likewise.
22309 * misc/syncfs.c: Likewise.
22310 * misc/syscall.c: Likewise.
22311 * misc/truncate.c: Likewise.
22312 * misc/ualarm.c: Likewise.
22313 * misc/usleep.c: Likewise.
22314 * misc/ustat.c: Likewise.
22315 * misc/utimes.c: Likewise.
22316 * misc/vhangup.c: Likewise.
22317 * misc/writev.c: Likewise.
22318 * posix/_exit.c: Likewise.
22319 * posix/alarm.c: Likewise.
22320 * posix/execve.c: Likewise.
22321 * posix/fexecve.c: Likewise.
22322 * posix/fork.c: Likewise.
22323 * posix/fpathconf.c: Likewise.
22324 * posix/getaddrinfo.c: Likewise.
22325 * posix/getegid.c: Likewise.
22326 * posix/geteuid.c: Likewise.
22327 * posix/getgid.c: Likewise.
22328 * posix/getgroups.c: Likewise.
22329 * posix/getlogin.c: Likewise.
22330 * posix/getlogin_r.c: Likewise.
22331 * posix/getpgid.c: Likewise.
22332 * posix/getpid.c: Likewise.
22333 * posix/getppid.c: Likewise.
22334 * posix/getresgid.c: Likewise.
22335 * posix/getresuid.c: Likewise.
22336 * posix/getsid.c: Likewise.
22337 * posix/getuid.c: Likewise.
22338 * posix/glob64.c: Likewise.
22339 * posix/nanosleep.c: Likewise.
22340 * posix/pathconf.c: Likewise.
22341 * posix/pause.c: Likewise.
22342 * posix/posix_madvise.c: Likewise.
22343 * posix/pread.c: Likewise.
22344 * posix/pread64.c: Likewise.
22345 * posix/pwrite.c: Likewise.
22346 * posix/pwrite64.c: Likewise.
22347 * posix/sched_getaffinity.c: Likewise.
22348 * posix/sched_getp.c: Likewise.
22349 * posix/sched_gets.c: Likewise.
22350 * posix/sched_primax.c: Likewise.
22351 * posix/sched_primin.c: Likewise.
22352 * posix/sched_rr_gi.c: Likewise.
22353 * posix/sched_setaffinity.c: Likewise.
22354 * posix/sched_setp.c: Likewise.
22355 * posix/sched_sets.c: Likewise.
22356 * posix/sched_yield.c: Likewise.
22357 * posix/setgid.c: Likewise.
22358 * posix/setlogin.c: Likewise.
22359 * posix/setpgid.c: Likewise.
22360 * posix/setresgid.c: Likewise.
22361 * posix/setresuid.c: Likewise.
22362 * posix/setsid.c: Likewise.
22363 * posix/setuid.c: Likewise.
22364 * posix/sleep.c: Likewise.
22365 * posix/spawni.c: Likewise.
22366 * posix/sysconf.c: Likewise.
22367 * posix/times.c: Likewise.
22368 * posix/wait.c: Likewise.
22369 * posix/wait3.c: Likewise.
22370 * posix/wait4.c: Likewise.
22371 * posix/waitpid.c: Likewise.
22372 * resolv/gai_sigqueue.c: Likewise.
22373 * resource/getpriority.c: Likewise.
22374 * resource/getrlimit.c: Likewise.
22375 * resource/getrusage.c: Likewise.
22376 * resource/nice.c: Likewise.
22377 * resource/setpriority.c: Likewise.
22378 * resource/setrlimit.c: Likewise.
22379 * resource/ulimit.c: Likewise.
22380 * rt/aio_cancel.c: Likewise.
22381 * rt/aio_fsync.c: Likewise.
22382 * rt/aio_read.c: Likewise.
22383 * rt/aio_sigqueue.c: Likewise.
22384 * rt/aio_suspend.c: Likewise.
22385 * rt/aio_write.c: Likewise.
22386 * rt/clock_getres.c: Likewise.
22387 * rt/clock_gettime.c: Likewise.
22388 * rt/clock_nanosleep.c: Likewise.
22389 * rt/clock_settime.c: Likewise.
22390 * rt/lio_listio.c: Likewise.
22391 * rt/mq_close.c: Likewise.
22392 * rt/mq_getattr.c: Likewise.
22393 * rt/mq_notify.c: Likewise.
22394 * rt/mq_open.c: Likewise.
22395 * rt/mq_receive.c: Likewise.
22396 * rt/mq_send.c: Likewise.
22397 * rt/mq_setattr.c: Likewise.
22398 * rt/mq_timedreceive.c: Likewise.
22399 * rt/mq_timedsend.c: Likewise.
22400 * rt/mq_unlink.c: Likewise.
22401 * rt/shm_open.c: Likewise.
22402 * rt/shm_unlink.c: Likewise.
22403 * rt/timer_create.c: Likewise.
22404 * rt/timer_delete.c: Likewise.
22405 * rt/timer_getoverr.c: Likewise.
22406 * rt/timer_gettime.c: Likewise.
22407 * rt/timer_settime.c: Likewise.
22408 * setjmp/__longjmp.c: Likewise.
22409 * setjmp/setjmp.c: Likewise.
22410 * signal/kill.c: Likewise.
22411 * signal/killpg.c: Likewise.
22412 * signal/raise.c: Likewise.
22413 * signal/sigaction.c: Likewise.
22414 * signal/sigaltstack.c: Likewise.
22415 * signal/sigblock.c: Likewise.
22416 * signal/sigignore.c: Likewise.
22417 * signal/sigintr.c: Likewise.
22418 * signal/signal.c: Likewise.
22419 * signal/sigpause.c: Likewise.
22420 * signal/sigpending.c: Likewise.
22421 * signal/sigqueue.c: Likewise.
22422 * signal/sigreturn.c: Likewise.
22423 * signal/sigset.c: Likewise.
22424 * signal/sigsetmask.c: Likewise.
22425 * signal/sigstack.c: Likewise.
22426 * signal/sigsuspend.c: Likewise.
22427 * signal/sigtimedwait.c: Likewise.
22428 * signal/sigvec.c: Likewise.
22429 * signal/sigwait.c: Likewise.
22430 * signal/sigwaitinfo.c: Likewise.
22431 * signal/sysv_signal.c: Likewise.
22432 * socket/accept.c: Likewise.
22433 * socket/accept4.c: Likewise.
22434 * socket/bind.c: Likewise.
22435 * socket/connect.c: Likewise.
22436 * socket/getpeername.c: Likewise.
22437 * socket/getsockname.c: Likewise.
22438 * socket/getsockopt.c: Likewise.
22439 * socket/isfdtype.c: Likewise.
22440 * socket/listen.c: Likewise.
22441 * socket/recv.c: Likewise.
22442 * socket/recvfrom.c: Likewise.
22443 * socket/recvmsg.c: Likewise.
22444 * socket/send.c: Likewise.
22445 * socket/sendmsg.c: Likewise.
22446 * socket/sendto.c: Likewise.
22447 * socket/setsockopt.c: Likewise.
22448 * socket/shutdown.c: Likewise.
22449 * socket/sockatmark.c: Likewise.
22450 * socket/socket.c: Likewise.
22451 * socket/socketpair.c: Likewise.
22452 * stdio-common/ctermid.c: Likewise.
22453 * stdio-common/cuserid.c: Likewise.
22454 * stdio-common/remove.c: Likewise.
22455 * stdio-common/rename.c: Likewise.
22456 * stdio-common/renameat.c: Likewise.
22457 * stdio-common/tempname.c: Likewise.
22458 * stdlib/getcontext.c: Likewise.
22459 * stdlib/makecontext.c: Likewise.
22460 * stdlib/setcontext.c: Likewise.
22461 * stdlib/swapcontext.c: Likewise.
22462 * stdlib/system.c: Likewise.
22463 * streams/fattach.c: Likewise.
22464 * streams/fdetach.c: Likewise.
22465 * streams/getmsg.c: Likewise.
22466 * streams/getpmsg.c: Likewise.
22467 * streams/putmsg.c: Likewise.
22468 * streams/putpmsg.c: Likewise.
22469 * sysdeps/unix/bsd/getpt.c: Likewise.
22470 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22471 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22472 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22475 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22476 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22477 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22478 * sysvipc/msgctl.c: Likewise.
22479 * sysvipc/msgget.c: Likewise.
22480 * sysvipc/msgrcv.c: Likewise.
22481 * sysvipc/msgsnd.c: Likewise.
22482 * sysvipc/semctl.c: Likewise.
22483 * sysvipc/semget.c: Likewise.
22484 * sysvipc/semop.c: Likewise.
22485 * sysvipc/semtimedop.c: Likewise.
22486 * sysvipc/shmat.c: Likewise.
22487 * sysvipc/shmctl.c: Likewise.
22488 * sysvipc/shmdt.c: Likewise.
22489 * sysvipc/shmget.c: Likewise.
22490 * termios/tcdrain.c: Likewise.
22491 * termios/tcflow.c: Likewise.
22492 * termios/tcflush.c: Likewise.
22493 * termios/tcgetattr.c: Likewise.
22494 * termios/tcgetpgrp.c: Likewise.
22495 * termios/tcsendbrk.c: Likewise.
22496 * termios/tcsetattr.c: Likewise.
22497 * termios/tcsetpgrp.c: Likewise.
22498 * time/adjtime.c: Likewise.
22499 * time/clock.c: Likewise.
22500 * time/getitimer.c: Likewise.
22501 * time/gettimeofday.c: Likewise.
22502 * time/setitimer.c: Likewise.
22503 * time/settimeofday.c: Likewise.
22504 * time/stime.c: Likewise.
22505 * time/time.c: Likewise.
22507 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22509 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22512 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22514 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22516 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22520 FE_TONEAREST before applying Dekker multiplication and Knuth
22521 addition. Clear inexact exceptions and check for exact zero
22522 results afterwards.
22523 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22524 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22525 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22526 * math/libm-test.inc (fma_test): Add more tests.
22527 (fma_test_towardzero): Likewise.
22528 (fma_test_downward): Likewise.
22529 (fma_test_upward): Likewise.
22530 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22532 (libc_fesetround): New macro.
22533 (libc_fesetroundf): Likewise.
22534 (libc_fesetroundl): Likewise.
22535 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22537 (libc_fesetround_387): Likewise.
22538 (libc_fesetroundf): New macro.
22539 (libc_fesetround): Likewise.
22540 (libc_fesetroundl): Likewise.
22541 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22543 (libc_fesetroundf): New macro.
22544 (libc_fesetround): Likewise.
22545 (libc_fesetroundl): Likewise.
22546 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22547 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22548 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22550 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22551 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22553 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22554 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22556 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22560 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22561 integer constant usable in #if and use that to give value to enum
22563 (FE_DIVBYZERO): Likewise.
22564 (FE_UNDERFLOW): Likewise.
22565 (FE_OVERFLOW): Likewise.
22566 (FE_INVALID): Likewise.
22567 (FE_INVALID_SNAN): Likewise.
22568 (FE_INVALID_ISI): Likewise.
22569 (FE_INVALID_IDI): Likewise.
22570 (FE_INVALID_ZDZ): Likewise.
22571 (FE_INVALID_IMZ): Likewise.
22572 (FE_INVALID_COMPARE): Likewise.
22573 (FE_INVALID_SOFTWARE): Likewise.
22574 (FE_INVALID_SQRT): Likewise.
22575 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22576 (FE_TONEAREST): Likewise.
22577 (FE_TOWARDZERO): Likewise.
22578 (FE_UPWARD): Likewise.
22579 (FE_DOWNWARD): Likewise.
22580 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22581 (FE_DIVBYZERO): Likewise.
22582 (FE_OVERFLOW): Likewise.
22583 (FE_UNDERFLOW): Likewise.
22584 (FE_INEXACT): Likewise.
22585 (FE_TONEAREST): Likewise.
22586 (FE_DOWNWARD): Likewise.
22587 (FE_UPWARD): Likewise.
22588 (FE_TOWARDZERO): Likewise.
22589 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22590 (FE_UNDERFLOW): Likewise.
22591 (FE_OVERFLOW): Likewise.
22592 (FE_DIVBYZERO): Likewise.
22593 (FE_INVALID): Likewise.
22594 (FE_TONEAREST): Likewise.
22595 (FE_TOWARDZERO): Likewise.
22596 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22597 (FE_OVERFLOW): Likewise.
22598 (FE_UNDERFLOW): Likewise.
22599 (FE_DIVBYZERO): Likewise.
22600 (FE_INEXACT): Likewise.
22601 (FE_TONEAREST): Likewise.
22602 (FE_TOWARDZERO): Likewise.
22603 (FE_UPWARD): Likewise.
22604 (FE_DOWNWARD): Likewise.
22605 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22606 (FE_DIVBYZERO): Likewise.
22607 (FE_OVERFLOW): Likewise.
22608 (FE_UNDERFLOW): Likewise.
22609 (FE_INEXACT): Likewise.
22610 (FE_TONEAREST): Likewise.
22611 (FE_DOWNWARD): Likewise.
22612 (FE_UPWARD): Likewise.
22613 (FE_TOWARDZERO): Likewise.
22615 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22617 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22619 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22621 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22622 commands. Quote $PWD.
22623 (blacklist_exports): Don't use remove_newlines. Replace "declare
22625 (remove_newlines): Remove.
22627 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22629 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22630 * stdlib/stdlib.h (atof): Moved to ...
22631 * include/bits/stdlib-float.h: Here. New file.
22632 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22633 * stdlib/bits/stdlib-float.h: New file.
22634 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22636 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22639 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22641 * conform/conformtest.pl (@headers): Add fenv.h.
22642 * conform/data/fenv.h-data: New file.
22643 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22644 include of <math/fenv.h>.
22646 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22647 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22648 && !UNIX98]. Enables tests for XOPEN2K8.
22649 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22650 POSIX2008]: Likewise.
22652 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22653 (struct rusage): Do not expect type or its members.
22656 * math/math.h (FP_NAN): Define macro to integer constant usable in
22657 #if and use that to give value to enum constant.
22658 (FP_INFINITE): Likewise.
22659 (FP_ZERO): Likewise.
22660 (FP_SUBNORMAL): Likewise.
22661 (FP_NORMAL): Likewise.
22663 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22665 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22666 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22669 2012-11-02 Roland McGrath <roland@hack.frob.com>
22671 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22672 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22673 autoconf-time if not.
22674 * configure.in: Remove AC_PREREQ.
22676 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22678 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22679 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22680 of the internal implementation.
22682 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22684 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22685 except include of <misc/sys/syslog.h>.
22687 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22690 function returns with a NULL context exit with zero.
22692 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22694 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22696 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22698 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22699 (run_program_cmd): This.
22700 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22701 (tst_langinfo): New variable. Use it.
22703 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22705 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22706 floating point opcodes.
22708 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22710 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22713 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22715 * sysdeps/mach/hurd/powerpc: Remove directory.
22716 * sysdeps/mach/powerpc: Likewise.
22718 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22720 * scripts/check-local-headers.sh: Ignore c++ headers.
22722 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22724 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22725 __libc_cleanup_region_start argument.
22727 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22732 x * y using scaling, not as x * y + z.
22733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22734 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22735 * math/libm-test.inc (fma_test): Add more tests.
22736 (fma_test_towardzero): Likewise.
22737 (fma_test_downward): Likewise.
22738 (fma_test_upward): Likewise.
22740 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22742 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22744 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22746 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22749 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22751 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22753 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22760 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22763 Fix the order of the list for glibc 2.17.
22764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22767 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22771 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22774 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22775 for low part of x being zero before using __atanl (y).
22776 * math/libm-test.inc (atan2_test): Add another test.
22778 * manual/install.texi (Configuring and compiling): Document
22779 general use of test-wrapper and test-wrapper-env.
22780 * INSTALL: Regenerated.
22782 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22783 (__fma): Do not extract and scale down low bits on after-rounding
22784 systems when result rounded to normal precision would have normal
22786 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22787 (__fmal): Do not extract and scale down low bits on after-rounding
22788 systems when result rounded to normal precision would have normal
22790 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22791 (__fmal): Do not extract and scale down low bits on after-rounding
22792 systems when result rounded to normal precision would have normal
22794 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22796 (fma_test): Add more tests.
22797 (fma_test_towardzero): Likewise.
22798 (fma_test_downward): Likewise.
22799 (fma_test_upward): Likewise.
22801 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22803 * sysdeps/i386/tininess.h: Renamed to ...
22804 * sysdeps/x86/tininess.h: This.
22805 * sysdeps/x86_64/tininess.h: Removed.
22807 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22809 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22810 input. Use $(build-program-cmd).
22811 ($(objpfx)tst-array1-static.out): Likewise.
22812 ($(objpfx)tst-array2.out): Likewise.
22813 ($(objpfx)tst-array3.out): Likewise.
22814 ($(objpfx)tst-array4.out): Likewise.
22815 ($(objpfx)tst-array5.out): Likewise.
22816 ($(objpfx)tst-array5-static.out): Likewise.
22818 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22820 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22823 * nss/nsswitch.h (nss_interface_function): Provide new
22824 macro for use with NSS functions.
22825 * grp/initgroups.c: Use new macro.
22826 * nss/getXXbyYY.c: Likewise.
22827 * nss/getXXbyYY_r.c: Likewise.
22828 * nss/getXXent.c: Likewise.
22829 * nss/getXXent_r.c: Likewise.
22830 * sysdeps/posix/getaddrinfo.c: Likewise.
22832 2012-10-30 Andreas Jaeger <aj@suse.de>
22834 * po/ru.po: Update Russion translation from translation project.
22836 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22840 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22841 result and shift together with sticky bit instead of replicating
22842 round-to-nearest rounding.
22843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22844 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22845 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22846 missing underflow exceptions.
22847 (fma_test_towardzero): Add more tests.
22848 (fma_test_downward): Likewise.
22849 (fma_test_upward): Likewise.
22852 * sysdeps/generic/tininess.h: New file.
22853 * sysdeps/i386/tininess.h: Likewise.
22854 * sysdeps/sh/tininess.h: Likewise.
22855 * sysdeps/x86_64/tininess.h: Likewise.
22856 * stdlib/tst-strtod-underflow.c: Likewise.
22857 * stdlib/tst-tininess.c: Likewise.
22858 * stdlib/strtod_l.c: Include <tininess.h>.
22859 (round_and_return): Do not set errno for exact underflow cases.
22860 Force an underflow exception when setting errno for underflow.
22861 Determine underflow based on rounding to normal precision if
22862 TININESS_AFTER_ROUNDING.
22863 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22864 ERANGE for exact underflow cases.
22865 * stdlib/Makefile (tests): Add tst-tininess and
22866 tst-strtod-underflow.
22867 ($(objpfx)tst-tininess): Use $(link-libm).
22868 ($(objpfx)tst-strtod-underflow): Likewise.
22870 2012-10-30 Andreas Jaeger <aj@suse.de>
22873 * elf/Makefile (tests): Remove conditional for have-initfini-array
22874 since this is now always required and the variable does not exist
22876 (tests-static): Likewise.
22877 (modules-names): Likewise.
22879 * po/eo.po: Add Esperanto translation from translation project.
22881 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22882 merged with constructor/destructor.
22883 (init_array): Likewise.
22884 * elf/tst-array2dep.c (fini_array): Likewise.
22885 (init_array): Likewise.
22887 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22889 * manual/message.texi: Delete @cartouche tags.
22891 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22893 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22895 * sysdeps/mach/hurd/fsync.c: Likewise.
22897 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22898 [_POSIX_REALTIME_SIGNALS]: Change condition to
22899 [_POSIX_REALTIME_SIGNALS > 0].
22901 2012-10-27 Andreas Jaeger <aj@suse.de>
22903 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22904 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22906 [__WORDSIZE != 64]: Likewise.
22908 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22910 * iconvdata/tst-table.sh: Remove ${SHELL}.
22911 * iconvdata/tst-tables.sh: Likewise.
22913 2012-10-25 David S. Miller <davem@davemloft.net>
22915 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22916 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22921 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22922 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22923 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22926 2012-10-25 Roland McGrath <roland@hack.frob.com>
22928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22929 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22932 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22933 Jim Blandy <jimb@codesourcery.com>
22935 * scripts/cross-test-ssh.sh: New file.
22936 * manual/install.texi (Configuring and compiling): Document use of
22938 * INSTALL: Regenerated.
22940 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22942 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22945 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22947 * Makeconfig (run-program-prefix): Fix comment.
22949 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22950 Jim Blandy <jimb@codesourcery.com>
22952 * Makeconfig (test-wrapper): New variable,
22953 (test-wrapper-env): Likewise.
22954 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22955 (run-built-tests): Define to yes.
22956 (run-program-prefix): Use $(test-wrapper).
22957 (built-program-cmd): Likewise.
22958 * Rules (make-test-out): Use $(test-wrapper-env) and
22959 $(host-built-program-cmd).
22960 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22961 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22963 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22964 $(test-wrapper-env) to tst-rtld-load-self.sh.
22965 ($(objpfx)order2.out): Use $(test-wrapper).
22966 ($(objpfx)tst-initorder.out): Likewise.
22967 ($(objpfx)tst-initorder2.out): Likewise.
22968 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22969 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22970 (test_wrapper_env): New variable. Use it to run ld.so.
22971 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22972 Use it to run ld.so.
22973 (test_wrapper_env): Likewise.
22974 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22975 $(test-wrapper) to run-iconv-test.sh.
22976 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22977 (ICONV): Use $test_wrapper.
22978 * posix/Makefile ($(objpfx)globtest.out): Pass
22979 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22980 globtest.sh, not $(run-program-prefix).
22981 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22982 (test_wrapper): Likewise.
22983 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22984 set together with run_via_rtld_prefix.
22985 (run_program_prefix): Define in terms of test_wrapper and
22986 run_via_rtld_prefix.
22988 2012-10-24 Roland McGrath <roland@hack.frob.com>
22990 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22991 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22995 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22996 Declare __clock_getres, __clock_gettime, __clock_settime,
22997 __clock_nanosleep, and __clock_getcpuclockid.
22998 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22999 Remove librt_hidden_def (clock_gettime).
23000 * sysdeps/unix/clock_gettime.c: Likewise.
23001 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23002 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23003 * rt/clock_getres.c: Define __clock_getres as an alias.
23004 * sysdeps/posix/clock_getres.c: Likewise.
23005 * rt/clock_settime.c: Define __clock_settime as an alias.
23006 * sysdeps/unix/clock_settime.c: Likewise.
23007 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23008 * sysdeps/unix/clock_nanosleep.c: Likewise.
23009 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23010 * rt/clock-compat.c: New file.
23011 * rt/Makefile (librt-routines): Add clock-compat and move
23012 $(clock-routines) to ...
23013 (routines): ... here, new variable.
23014 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23015 Don't add get_clockfreq here.
23016 * rt/Versions (libc: GLIBC_2.17): New version set.
23017 Add clock_* symbols here.
23018 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23019 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23020 (GLIBC_2.17): Add clock_* symbols.
23021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23023 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23032 * NEWS: Mention the move.
23034 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23035 Use __open, __read, __close rather than their public counterparts.
23036 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23037 (__get_clockfreq_via_cpuinfo): Likewise.
23038 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23039 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23041 * config.h.in (HAVE_IFUNC): New #undef.
23042 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23044 * configure: Regenerated.
23046 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23048 * configure.in: Move READELF check to start of file.
23049 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23050 libc_cv_asm_gnu_indirect_function in the process.
23051 * configure: Regenerated.
23053 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23055 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23056 send the output to /dev/null.
23057 (libc_cv_cc_with_libunwind): Likewise.
23058 (libc_cv_as_noexecstack): Likewise.
23059 * configure: Regenerate.
23061 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23063 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23065 * posix/globtest.sh (TMPDIR): Do not set.
23066 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23067 (testout): Likewise.
23069 2012-10-24 Andreas Jaeger <aj@suse.de>
23071 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23072 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23073 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23074 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23075 posix_fadvise64, posix_fallocate64.
23077 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23078 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23079 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23081 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23083 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23086 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23087 <bits/fcntl-linux.h>.
23088 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23090 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23091 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23092 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23093 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23094 [__WORDSIZE != 64]: Likewise.
23096 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23098 * Makeconfig (run-built-tests): New variable.
23099 * Rules [$(cross-compiling) = yes]: Change condition to
23100 [$(run-built-tests) = no].
23101 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23102 to [$(run-built-tests) = yes].
23103 * elf/Makefile [$(cross-compiling) = no]: Likewise
23104 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23105 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23106 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23107 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23108 * io/Makefile [$(cross-compiling) = no]: Likewise.
23109 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23110 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23111 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23112 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23113 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23114 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23115 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23116 * string/Makefile [$(cross-compiling) = no]: Likewise.
23118 * posix/Makefile ($(objpfx)globtest.out): Pass
23119 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23120 $(rtld-installed-name).
23121 * posix/globtest.sh (elf_objpfx): Remove variable.
23122 (rtld_installed_name): Likewise.
23123 (library_path): Likewise.
23124 (run_program_prefix): New variable. Use for running globtest
23127 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23128 Joseph Myers <joseph@codesourcery.com>
23130 * Makeconfig (host-built-program-cmd): New variable.
23131 * elf/Makefile (tst-stackguard1-ARGS): Use
23132 $(host-built-program-cmd).
23133 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23134 (tst-spawn-ARGS): Likewise.
23135 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23137 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23138 Jim Blandy <jimb@codesourcery.com>
23140 * Makeconfig (run-via-rtld-prefix): New variable.
23141 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23142 (built-program-cmd): Likewise.
23144 2012-10-22 Andreas Jaeger <aj@suse.de>
23146 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23147 __O_RSYNC if it exists, otherwise to O_SYNC.
23149 2012-10-22 Jim Blandy <jimb@codesourcery.com>
23150 Joseph Myers <joseph@codesourcery.com>
23152 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23154 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23156 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23159 2012-10-22 Andreas Jaeger <aj@suse.de>
23161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23166 bits/fcntl-linux.h.
23168 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23169 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23176 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23177 Joseph Myers <joseph@codesourcery.com>
23179 * config.make.in (NM): New variable.
23181 2012-10-21 Andreas Jaeger <aj@suse.de>
23183 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23184 definitions and declarations that are provided by
23185 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23187 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23190 * elf/Makefile (tests-static): Add tst-leaks1-static.
23191 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23192 ($(objpfx)tst-leaks1-static): New rule.
23193 ($(objpfx)tst-leaks1-static-mem): Likewise.
23194 (tst-leaks1-static-ENV): New macro.
23195 * elf/dl-open.c (dl_open_worker): Check the main application
23196 only if SHARED is defined.
23197 * elf/tst-leaks1-static.c: New file.
23199 2012-10-20 Andreas Jaeger <aj@suse.de>
23201 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23202 generic values for Linux.
23203 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23204 and declarations that are provided by <bits/fcntl-linux.h> and
23205 include <bits/fcntl-linux.h>.
23206 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23209 2012-10-20 Roland McGrath <roland@hack.frob.com>
23211 * io/fcntl.h: Move include of <bits/types.h> to the top and
23212 include it unconditionally.
23214 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23216 * wcsmbs/Makefile (tests-ifunc): New variable.
23217 (tests): Add $(tests-ifunc).
23218 * wcsmbs/test-wcschr-ifunc.c: New file.
23219 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23220 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23221 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23222 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23223 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23225 * string/Makefile (tests-ifunc): New variable.
23226 (tests): Add $(tests-ifunc).
23227 * string/test-memccpy.c (TEST_NAME): New macro.
23228 * string/test-memchr.c (TEST_NAME): Likewise.
23229 * string/test-memcmp.c (TEST_NAME): Likewise.
23230 * string/test-memcpy.c (TEST_NAME): Likewise.
23231 * string/test-memmem.c (TEST_NAME): Likewise.
23232 * string/test-memmove.c (TEST_NAME): Likewise.
23233 * string/test-memset.c (TEST_NAME): Likewise.
23234 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23235 * string/test-stpcpy.c (TEST_NAME): Likewise.
23236 * string/test-stpncpy.c (TEST_NAME): Likewise.
23237 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23238 * string/test-strcasestr.c (TEST_NAME): Likewise.
23239 * string/test-strcat.c (TEST_NAME): Likewise.
23240 * string/test-strchr.c (TEST_NAME): Likewise.
23241 * string/test-strcmp.c(TEST_NAME): Likewise.
23242 * string/test-strcpy.c (TEST_NAME): Likewise.
23243 * string/test-strcspn.c (TEST_NAME): Likewise.
23244 * string/test-strlen.c (TEST_NAME): Likewise.
23245 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23246 * string/test-strncmp.c (TEST_NAME): Likewise.
23247 * string/test-strncpy.c (TEST_NAME): Likewise.
23248 * string/test-strnlen.c (TEST_NAME): Likewise.
23249 * string/test-strpbrk.c (TEST_NAME): Likewise.
23250 * string/test-strrchr.c (TEST_NAME): Likewise.
23251 * string/test-strspn.c (TEST_NAME): Likewise.
23252 * string/test-strstr.c (TEST_NAME): Likewise.
23253 * string/test-bcopy-ifunc.c: New file.
23254 * string/test-bzero-ifunc.c: Likewise.
23255 * string/test-memccpy-ifunc.c: Likewise.
23256 * string/test-memchr-ifunc.c: Likewise.
23257 * string/test-memcmp-ifunc.c: Likewise.
23258 * string/test-memcpy-ifunc.c: Likewise.
23259 * string/test-memmem-ifunc.c: Likewise.
23260 * string/test-memmove-ifunc.c: Likewise.
23261 * string/test-mempcpy-ifunc.c: Likewise.
23262 * string/test-memset-ifunc.c: Likewise.
23263 * string/test-rawmemchr-ifunc.c: Likewise.
23264 * string/test-stpcpy-ifunc.c: Likewise.
23265 * string/test-stpncpy-ifunc.c: Likewise.
23266 * string/test-strcasecmp-ifunc.c: Likewise.
23267 * string/test-strcasestr-ifunc.c: Likewise.
23268 * string/test-strcat-ifunc.c: Likewise.
23269 * string/test-strchr-ifunc.c: Likewise.
23270 * string/test-strchrnul-ifunc.c: Likewise.
23271 * string/test-strcmp-ifunc.c: Likewise.
23272 * string/test-strcpy-ifunc.c: Likewise.
23273 * string/test-strcspn-ifunc.c: Likewise.
23274 * string/test-strlen-ifunc.c: Likewise.
23275 * string/test-strncasecmp-ifunc.c: Likewise.
23276 * string/test-strncat-ifunc.c: Likewise.
23277 * string/test-strncmp-ifunc.c: Likewise.
23278 * string/test-strncpy-ifunc.c: Likewise.
23279 * string/test-strnlen-ifunc.c: Likewise.
23280 * string/test-strpbrk-ifunc.c: Likewise.
23281 * string/test-strrchr-ifunc.c: Likewise.
23282 * string/test-strspn-ifunc.c: Likewise.
23283 * string/test-strstr-ifunc.c: Likewise.
23285 * debug/Makefile (tests-ifunc): New variable.
23286 (tests): Add $(tests-ifunc).
23287 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23288 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23289 * debug/test-stpcpy_chk-ifunc.c: New file.
23290 * debug/test-strcpy_chk-ifunc.c: Likewise.
23292 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23295 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23296 header is not read in.
23298 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23300 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23301 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23302 directly. Pass built executable to script as
23303 $(built-program-cmd).
23304 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23305 $testprogram without using LD_LIBRARY_PATH and $ldso.
23307 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23308 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23309 $(rtld-installed-name).
23310 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23311 (rtld_installed_name): Likewise.
23312 (library_path): Likewise.
23313 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23314 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23315 $(run-program-prefix) to tst-tables.sh.
23316 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23317 it to run tst-table-from and tst-table-to.
23318 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23319 Pass it to tst-table.sh.
23320 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23321 $(run-program-prefix) to tst-gettext.sh.
23322 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23324 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23326 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23327 to run tst-gettext.
23328 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23329 to run tst-gettext2.
23330 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23331 to run tst-translit.
23332 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23333 $(run-program-prefix) to tst-mtrace.sh.
23334 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23336 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23337 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23338 $(rtld-installed-name).
23339 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23340 (rtld_installed_name): Likewise.
23341 (run_program_prefix): New variable. Use it to run wordexp-test.
23343 * Makeconfig (ARCH): Remove all definitions.
23344 (machine): Likewise.
23345 [ARCH]: Remove conditional code.
23346 [!objdir]: Give error.
23347 [!objdir] (objpfx): Remove.
23348 [!objdir] (common-objpfx): Likewise.
23349 [!objdir] (common-objdir): Likewise.
23350 * configure.in (config_makefile): Remove. Hardcode Makefile in
23351 AC_CONFIG_FILES call.
23352 * configure: Regenerated.
23355 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23357 (testout): Likewise.
23359 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23360 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23361 $(rtld-installed-name).
23362 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23363 (rtld_installed_name): Likwise.
23364 (runit): Remove function.
23365 (run_getconf): New variable, Use it for running getconf binary.
23367 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23370 * string/test-memmem.c (check_result): New function.
23371 (do_one_test): Use it.
23372 (check1): New function.
23373 (test_main): Use it.
23375 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23377 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23379 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23381 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23382 (_G_LSEEK64): Likewise.
23383 (_G_MMAP64): Likewise.
23384 (_G_FSTAT64): Likewise.
23385 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23386 (_G_LSEEK64): Likewise.
23387 (_G_MMAP64): Likewise.
23388 (_G_FSTAT64): Likewise.
23389 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23390 unconditional. Call __mmap64 directly.
23391 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23392 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23393 __lseek64 directly.
23394 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23395 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23397 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23398 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23399 __lseek64 directly.
23400 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23401 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23402 __lseek64 directly.
23403 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23404 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23405 __lseek64 directly.
23406 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23407 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23408 __fxstat64 directly.
23409 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23410 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23412 (freopen64) [!_G_OPEN64]: Remove conditional code.
23413 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23415 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23416 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23418 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23419 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23421 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23422 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23424 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23425 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23427 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23428 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23430 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23431 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23433 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23435 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23438 * manual/memory.texi (Malloc Tunable Parameters): Add note
23439 about free list pointers overwriting some perturb bytes.
23440 Wording suggested by Roland McGrath.
23442 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23444 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23445 (lgamma_test): Likewise.
23446 (tgamma_test): Likewise.
23448 2012-10-16 Florian Weimer <fweimer@redhat.com>
23451 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23452 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23454 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23456 * NEWS: Mention BZ #14716.
23457 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23458 when removing AVAILABLE1_USES_J macro.
23460 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23462 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23463 (__bswap_64): __uint64_t for unsigned 64-bit int.
23465 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23467 * include/string.h (memmem): Declare libc hidden alias.
23468 * string/memmem.c (memmem): Define libc hidden alias.
23469 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23470 __read, __close instead of open, read, close.
23472 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23474 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23475 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23477 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23478 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23479 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23481 (__rawmemchr_sse2): Likewise.
23482 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23483 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23484 (__strchr_sse2): Likewise.
23485 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23486 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23487 (__strcasecmp_sse2): Likewise.
23488 (__strncasecmp_sse2): Likewise.
23489 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23490 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23491 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23492 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23493 (__strrchr_sse2): Likewise.
23494 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23496 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23497 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23498 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23499 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23500 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23501 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23502 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23503 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23504 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23505 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23506 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23507 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23508 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23509 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23510 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23511 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23512 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23513 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23514 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23515 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23516 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23517 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23518 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23519 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23520 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23521 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23522 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23523 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23524 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23525 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23527 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23529 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23530 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23531 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23532 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23534 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23536 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23537 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23538 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23539 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23541 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23542 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23543 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23544 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23545 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23546 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23547 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23548 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23549 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23550 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23551 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23552 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23553 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23554 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23555 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23556 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23557 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23558 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23559 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23560 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23561 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23562 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23563 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23564 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23565 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23566 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23567 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23568 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23569 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23570 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23571 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23572 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23573 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23574 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23575 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23576 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23577 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23578 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23579 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23580 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23581 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23583 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23584 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23585 * include/ifunc-impl-list.h: New file.
23586 * misc/ifunc-impl-list.c: Likewise.
23587 * misc/Makefile (routines): Add ifunc-impl-list.
23588 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23589 * string/test-string.h: Include <ifunc-impl-list.h>.
23590 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23591 TEST_NAME]: New variables.
23592 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23594 (test_init): Call __libc_ifunc_impl_list to initialize
23595 func_list if TEST_IFUNC and TEST_NAME are defined.
23597 * string/Makefile (strop-tests): Add bcopy and bzero.
23598 * string/test-bcopy.c: New file.
23599 * string/test-bzero.c: Likewise.
23600 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23602 * string/test-memset.c: Support bzero test if TEST_BZERO is
23604 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23606 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23608 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23611 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23613 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23614 * configure: Regenerated.
23616 * Makeconfig (+link-static-before-libc): Don't include
23617 $(link-static-libc).
23619 * libio/libio.h (_IO_pos_t): Remove.
23621 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23623 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23626 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23628 * crypt/crypt-entry.c: Include fips-private.h.
23629 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23630 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23631 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23632 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23634 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23636 * crypt/crypt-private.h: Include stdbool.h.
23637 (_ufc_setup_salt_r): Return bool.
23638 * crypt/crypt-entry.c: Include errno.h.
23639 (__crypt_r): Return NULL with EINVAL for bad salt.
23640 * crypt/crypt_util.c (bad_for_salt): New.
23641 (_ufc_setup_salt_r): Check that salt is long enough and within
23642 the specified alphabet.
23643 * crypt/badsalttest.c: New file.
23644 * crypt/Makefile (tests): Add it.
23645 ($(objpfx)badsalttest): New.
23647 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23649 * NEWS: Add entry for BZ #14602.
23651 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23653 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23655 * math/libm-test.inc: Update comment listing what functions and
23657 (isgreater_test): New function.
23658 (isgreaterequal_test): Likewise.
23659 (isless_test): Likewise.
23660 (islessequal_test): Likewise.
23661 (islessgreater_test): Likewise.
23662 (isunordered_test): Likewise.
23663 (main): Call the new functions.
23665 2012-10-09 Roland McGrath <roland@hack.frob.com>
23667 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23668 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23669 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23670 * sysdeps/i386/configure: Regenerated.
23671 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23672 * sysdeps/mach/configure: Regenerated.
23673 * sysdeps/mach/hurd/configure: Regenerated.
23674 * sysdeps/powerpc/configure: Regenerated.
23675 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23676 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23677 * sysdeps/s390/s390-32/configure: Regenerated.
23678 * sysdeps/s390/s390-64/configure: Regenerated.
23679 * sysdeps/sh/configure: Regenerated.
23680 * sysdeps/sparc/configure: Regenerated.
23681 * sysdeps/unix/sysv/linux/configure: Regenerated.
23682 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23683 * sysdeps/x86_64/configure: Regenerated.
23685 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23686 defined. Don't check if MAP is NULL.
23688 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23690 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23691 (_G_stat64): Likewise.
23692 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23693 (_G_stat64): Likewise.
23694 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23695 instead of struct _G_stat64.
23696 * libio/fileops.c (mmap_remap_check): Likewise.
23697 (decide_maybe_mmap): Likewise.
23698 (_IO_new_file_seekoff): Likewise.
23699 (_IO_file_stat): Likewise.
23700 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23702 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23703 instead of struct _G_stat64.
23704 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23706 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23709 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23711 (CHECK_EOL): New macro.
23712 (two_way_short_needle): Check beginning of haystack for EOL. Use
23714 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23715 Replace with CHECK_EOL.
23716 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23717 Replace with CHECK_EOL.
23719 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23721 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23723 * math/libm-test.inc: Update comment listing what functions and
23725 (finite_test): New function.
23726 (isinf_test): Likewise.
23727 (isnan_test): Likewise.
23728 (fpclassify_test): Test subnormal input.
23729 (isfinite_test): Likewise.
23730 (isnormal_test): Likewise.
23731 (main): Call the new functions.
23733 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23736 * Makerules (%.dynsym): Force C locale when running
23737 $(OBJDUMP) --dynamic-syms.
23739 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23741 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23744 2012-10-06 David S. Miller <davem@davemloft.net>
23746 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23747 upper 32-bits of the length value in %o2 since we use branch-on-register
23748 tests which consider the entire 64-bit register.
23750 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23752 * string/test-strstr.c (check2): Add a test for page boundary.
23754 2012-10-05 David S. Miller <davem@davemloft.net>
23756 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23757 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23759 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23761 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23762 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23763 and bzero when HWCAP_SPARC_CRYPTO is present.
23765 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23768 * string/test-strstr.c (check2): New function.
23769 (test_main): Call check2.
23771 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23773 * string/bug-strcasestr1.c (do_test): Moved to ...
23774 * string/test-strcasestr.c (check1): Here. New function.
23775 (do_one_test): Break out result checking code into ...
23776 (check_result): This. New function.
23777 (do_one_test): Call check_result.
23778 (test_main): Call check1.
23779 * string/bug-strchr1.c (do_test): Moved to ...
23780 * string/test-strchr.c (check1): Here. New function.
23781 (do_one_test): Break out result checking code into ...
23782 (check_result): This. New function.
23783 (do_one_test): Call check_result.
23784 (test_main): Call check1.
23785 * string/bug-strstr1.c (main): Moved to ...
23786 * string/test-strstr.c (check1): Here. New function.
23787 (do_one_test): Break out result checking code into ...
23788 (check_result): This. New function.
23789 (do_one_test): Call check_result.
23790 (test_main): Call check1.
23791 * string/bug-strcasestr1.c: Removed.
23792 * string/bug-strchr1.c: Likewise.
23793 * string/bug-strstr1.c: Likewise.
23795 * elf/Makefile (dl-routines): Add hwcaps.
23796 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23797 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23798 (_dl_important_hwcaps): Moved to ...
23799 * elf/dl-hwcaps.c: Here. New file.
23800 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23803 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23804 if IS_IN_rtld isn't defined.
23806 * elf/dl-support.c (_dl_sysinfo_map): New.
23807 Include "get-dynamic-info.h" and "setup-vdso.h".
23808 (_dl_non_dynamic_init): Call setup_vdso.
23809 * elf/dynamic-link.h: Don't include <assert.h>.
23810 (elf_get_dynamic_info): Moved to ...
23811 * elf/get-dynamic-info.h: Here. New file.
23812 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23813 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23814 * elf/setup-vdso.h: Here. New file.
23815 * elf/rtld.c: Include "setup-vdso.h".
23816 (dl_main): Call setup_vdso.
23818 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23820 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23821 creal in comment listing functions tested. List finite, isinf,
23822 isnan, isless, islessequal, isgreater, isgreaterequal,
23823 islessgreater, isunordered, lgamma_r and pow10 as functions and
23824 macros not tested. Mention which functions not tested are aliases
23825 for other functions. Fix typo. Note that signs of NaNs are not
23828 * scripts/config.guess: Update from config.git.
23829 * scripts/config.sub: Likewise.
23831 2012-10-04 Roland McGrath <roland@hack.frob.com>
23833 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23834 * misc/madvise.c (madvise): Renamed to __madvise.
23835 Make madvise a weak alias.
23836 * include/sys/mman.h: Declare __madvise.
23837 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23838 * sysdeps/unix/syscalls.list
23839 (madvise): Make __madvise the strong name, and madvise a weak alias.
23840 * sysdeps/unix/sysv/linux/syscalls.list
23841 (madvise, mmap): Remove redundant entries.
23842 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23843 * malloc/malloc.c (mtrim): Likewise.
23844 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23846 2012-10-03 Roland McGrath <roland@hack.frob.com>
23848 * sysdeps/mach/hurd/dl-cache.c: File removed.
23849 * config.h.in (USE_LDCONFIG): New #undef.
23850 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23851 * configure: Regenerated.
23852 * elf/Makefile (dl-routines): Add dl-cache only under
23853 [$(use-ldconfig) = yes].
23854 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23855 cache on [USE_LDCONFIG].
23856 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23858 * elf/rtld.c (dl_main): Likewise.
23860 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23862 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23863 _SC_LEVEL4_CACHE_LINESIZE.
23865 2012-10-03 Roland McGrath <roland@hack.frob.com>
23867 * sysdeps/unix/bsd/confstr.h: File removed.
23869 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23871 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23874 2012-10-02 Roland McGrath <roland@hack.frob.com>
23876 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23877 Make 'mapoff' field ElfW(Off) rather than off_t.
23879 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23881 * nscd/Makefile: Remove nscd-cflags and all its users.
23882 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23883 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23886 * malloc.c (malloc_printerr): Clarify error message.
23888 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23892 Set bit_FMA_Usable if FMA is supported.
23893 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23895 (bit_FMA4_Usable): Updated.
23896 (index_FMA_Usable): New macro.
23897 (CPUID_FMA): Likewise
23898 (HAS_FMA): Defined with bit_FMA_Usable.
23900 2012-10-01 Roland McGrath <roland@hack.frob.com>
23902 * bits/types.h (__swblk_t): Type removed.
23903 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23904 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23905 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23906 (__SWBLK_T_TYPE): Likewise.
23907 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23908 (__SWBLK_T_TYPE): Likewise.
23909 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23910 (__SWBLK_T_TYPE): Likewise.
23911 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23912 (__SWBLK_T_TYPE): Likewise.
23914 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23915 Honza Horak <hhorak@redhat.com>
23917 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23918 (xdr_mapname): Use YPMAXMAP as maxsize.
23919 (xdr_peername): Use YPMAXPEER as maxsize.
23920 (xdr_keydat): Use YPAXRECORD as maxsize.
23921 (xdr_valdat): Use YPMAXRECORD as maxsize.
23923 2012-10-01 Roland McGrath <roland@hack.frob.com>
23925 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23927 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23928 * csu/init-first.c: ... here.
23929 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23930 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23931 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23932 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23933 * sysdeps/i386/init-first.c: File removed.
23934 * sysdeps/sh/init-first.c: File removed.
23936 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23940 if x * y might underflow to zero and z is zero.
23941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23942 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23943 * math/libm-test.inc (min_subnorm_value): New variable.
23944 (fma_test): Add more tests.
23945 (fma_test_towardzero): Likewise.
23946 (fma_test_downward): Likewise
23947 (fma_test_upward): Likewise.
23948 (initialize): Set min_subnorm_value.
23950 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23955 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23956 mode for addition resulting in exact zero.
23957 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23958 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23960 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23961 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23962 * math/libm-test.inc (fma_test): Add more tests.
23963 (fma_test_towardzero): New function.
23964 (fma_test_downward): Likewise.
23965 (fma_test_upward): Likewise.
23966 (main): Call the new functions.
23968 2012-09-28 David S. Miller <davem@davemloft.net>
23970 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23972 2012-09-28 Roland McGrath <roland@hack.frob.com>
23974 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23975 instead of SIGALRM.
23977 * sysdeps/gnu/_G_config.h: Moved to ...
23978 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23979 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23980 * sysdeps/generic/_G_config.h: ... here.
23982 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23984 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23986 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23987 Conditionalize target on [libnss_test1.so-version].
23989 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23991 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23992 (elfobjdir): Move out of conditionals.
23994 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23995 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23996 (__nss_lookup_function): Conditionalize label remove_from_tree on
23997 [!DO_STATIC_NSS || SHARED], matching its only use.
23999 2012-09-28 David S. Miller <davem@davemloft.net>
24001 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24002 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24004 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24006 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24007 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24008 when HWCAP_SPARC_CRYPTO is present.
24010 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24012 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24014 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24017 * stdio-common/vfprintf.c (process_string_arg): Revert
24020 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24022 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24024 * stdio-common/tst-sprintf.c: Include <locale.h>
24025 (main): Test sprintf's handling of incomplete multibyte
24028 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24030 * elf/dl-runtime.c (VERSYMIDX): Removed.
24031 * elf/dl-version.c (VERSYMIDX): Likewise.
24032 * elf/do-rel.h (VERSYMIDX): Likewise.
24033 (VALIDX): Likewise.
24034 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24035 * elf/rtld.c (VALIDX): Likewise.
24036 (ADDRIDX): Likewise.
24037 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24038 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24039 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24040 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24041 (VALIDX): Likewise.
24042 (ADDRIDX): Likewise.
24044 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24046 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24048 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24051 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24053 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24054 addresses are in the same scope as 192.0.2/24.
24055 * posix/gai.conf: Document new scope table defaults.
24057 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24060 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24061 for ftell. Compute offsets from write pointers instead.
24062 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24064 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24067 * libio/Makefile (tests): New test case tst-fseek.
24068 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24069 combination works in wide mode.
24070 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24071 state when the external buffer state changes.
24073 2012-09-27 David S. Miller <davem@davemloft.net>
24076 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24077 pass reloc->r_addend in as the 'high' argument to
24078 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24082 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24084 * rt/tst-aio2.c: Include <pthread.h>.
24085 * rt/tst-aio3.c: Likewise.
24087 2012-09-27 Steve Ellcey <sellcey@mips.com>
24089 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24091 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24093 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24094 contents on [SHARED].
24096 2012-09-26 Marek Polacek <polacek@redhat.com>
24100 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24101 for C++ and GCC <4.3 as well as for non GCC compilers.
24103 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24107 2012-09-25 Roland McGrath <roland@hack.frob.com>
24109 * Makefile.in (all, install): Declare with .PHONY.
24110 Reported by Michael Hope <michael.hope@linaro.org>.
24112 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24114 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24115 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24117 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24119 (sydep_routines): Add the new and the internal functions.
24120 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24121 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24123 (GLIBC_2.17): Add the new function.
24124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24125 (GLIBC_2.17): Likewise.
24126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24127 (GLIBC_2.17): Likewise.
24128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24129 (GLIBC_2.17): Likewise.
24130 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24132 2012-09-25 Alan Modra <amodra@gmail.com>
24134 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24135 Add release barrier before setting once_control to say
24136 initialisation is done. Add hints on lwarx. Use macro in
24138 (clear_once_control): Add release barrier.
24140 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24143 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24145 * math/s_clog10.c (__clog10): Likewise.
24146 * math/s_clog10f.c (__clog10f): Likewise.
24147 * math/s_clog10l.c (__clog10l): Likewise.
24148 * math/s_clogf.c (__clogf): Likewise.
24149 * math/s_clogl.c (__clogl): Likewise.
24150 * math/Makefile (libm-calls): Add x2y2m1.
24151 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24152 (__x2y2m1): Likewise.
24153 (__x2y2m1l): Likewise.
24154 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24155 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24156 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24157 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24158 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24159 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24160 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24161 * sysdeps/i386/fpu/libm-test-ulps: Update.
24162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24165 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24166 int as type of variable DEPTH.
24167 (glob): Use size_t instead of int as type of variables NEWCOUNT
24170 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24172 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24173 Add s_sincosf-sse2.
24174 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24175 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24176 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24177 macros for using routine as __sincosf_ia32.
24178 Use macro for function declaration and weak_alias.
24179 * sysdeps/i386/fpu/libm-test-ulps: Update.
24181 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24184 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24185 subnormal argument.
24186 * math/s_cexpf.c (__cexpf): Likewise.
24187 * math/s_csinf.c (__csinf): Likewise.
24188 * math/s_csinhf.c (__csinhf): Likewise.
24189 * math/s_ctanf.c (__ctanf): Likewise.
24190 * math/s_ctanhf.c (__ctanhf): Likewise.
24191 * math/s_ccosh.c (__ccoshf): Likewise.
24192 * math/s_cexp.c (__cexpl): Likewise.
24193 * math/s_csin.c (__csin): Likewise.
24194 * math/s_csinh.c (__csinh): Likewise.
24195 * math/s_ctan.c (__ctan): Likewise.
24196 * math/s_ctanh.c (ctanh): Likewise.
24197 * math/s_ccoshl.c (__ccoshl): Likewise.
24198 * math/s_cexpl.c (__cexpl): Likewise.
24199 * math/s_csinl.c (__csinl): Likewise.
24200 * math/s_csinhl.c (__csinhl): Likewise.
24201 * math/s_ctanl.c (__ctanl): Likewise.
24202 * math/s_ctanhl.c (__ctanhl): Likewise.
24204 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24206 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24207 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24208 (_IO_off_t): Define to __off_t, not _G_off_t.
24209 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24210 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24211 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24212 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24213 type of __dummy and __dummy2 fields.
24214 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24215 (_G_ssize_t): Likewise.
24216 (_G_off_t): Likewise.
24217 (_G_pid_t): Likewise.
24218 (_G_uid_t): Likewise.
24219 (_G_wchar_t): Likewise.
24220 (_G_wint_t): Likewise.
24221 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24222 (_G_ssize_t): Likewise.
24223 (_G_off_t): Likewise.
24224 (_G_pid_t): Likewise.
24225 (_G_uid_t): Likewise.
24226 (_G_wchar_t): Likewise.
24227 (_G_wint_t): Likewise.
24228 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24229 (_G_ssize_t): Likewise.
24230 (_G_off_t): Likewise.
24231 (_G_pid_t): Likewise.
24232 (_G_uid_t): Likewise.
24233 (_G_wchar_t): Likewise.
24234 (_G_wint_t): Likewise.
24236 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24238 * malloc/arena.c: Include malloc-sysdep.h.
24239 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24240 is sufficient to shrink the heap or an unmap is needed.
24241 * sysdeps/generic/malloc-sysdep.h: New file. Define
24242 new function check_may_shrink_heap.
24243 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24244 new function check_may_shrink_heap.
24246 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24248 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24251 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24253 * catgets/test-gencat.sh: Add "set -e".
24254 * elf/tst-pathopt.sh: Likewise.
24255 * grp/tst_fgetgrent.sh: Likewise.
24256 * iconvdata/run-iconv-test.sh: Likewise.
24257 * intl/tst-gettext.sh: Likewise.
24258 * intl/tst-gettext2.sh: Likewise.
24259 * intl/tst-gettext4.sh: Likewise.
24260 * intl/tst-gettext6.sh: Likewise.
24261 * intl/tst-translit.sh: Likewise.
24262 * io/ftwtest-sh: Likewise.
24263 * libio/test-freopen.sh: Likewise.
24264 * malloc/tst-mtrace.sh: Likewise.
24265 * posix/globtest.sh: Likewise.
24266 * posix/tst-getconf.sh: Likewise.
24267 * posix/wordexp-tst.sh: Likewise.
24268 * stdio-common/tst-printf.sh: Likewise.
24269 * stdio-common/tst-unbputc.sh: Likewise.
24270 * stdlib/tst-fmtmsg.sh: Likewise.
24271 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24272 * catgets/Makefile: Do not specify -e option when running
24273 testsuite shell scripts.
24274 * elf/Makefile: Likewise.
24275 * grp/Makefile: Likewise.
24276 * iconvdata/Makefile: Likewise.
24277 * intl/Makefile: Likewise.
24278 * io/Makefile: Likewise.
24279 * libio/Makefile: Likewise.
24280 * malloc/Makefile: Likewise.
24281 * posix/Makefile: Likewise.
24282 * stdio-common/Makefile: Likewise.
24283 * stdlib/Makefile: Likewise.
24284 * sysdeps/x86_64/Makefile: Likewise.
24286 * io/ftwtest-sh: Add copyright header.
24287 * posix/globtest.sh: Likewise.
24288 * posix/tst-getconf.sh: Likewise.
24289 * posix/wordexp-tst.sh: Likewise.
24290 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24292 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24295 * Makeconfig (+link): Defined as $(+link-static) if
24296 $(build-shared) isn't yes.
24297 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24299 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24301 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24304 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24305 new chunk size with MALLOC_ALIGN_MASK.
24307 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24310 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24312 (__printf_fphex): Determine rounding using get_rounding_mode and
24314 * stdio-common/tst-printf-round.c (struct hex_test): New
24316 (hex_tests): New variable.
24317 (test_hex_in_one_mode): New function.
24318 (do_test): Also run tests for hex float output.
24320 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24322 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24323 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24324 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24325 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24326 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24327 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24328 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24329 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24331 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24333 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24334 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24335 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24336 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24338 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24341 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24343 * elf/tst-rtld-load-self.sh: New test.
24344 * elf/Makefile: Run it.
24346 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24348 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24349 (tst-writev-ENV): Remove.
24350 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24352 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24354 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24356 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24358 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24360 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24362 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24363 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24364 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24367 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24370 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24371 * config.make.in (have-cpp-asm-debuginfo): Removed.
24372 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24373 * configure: Regenerated.
24375 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24378 * stdio-common/printf_fp.c: Include <stdbool.h> and
24380 (___printf_fp): Determine rounding using get_rounding_mode and
24382 * stdio-common/tst-printf-round.c: New file.
24383 * stdio-common/Makefile (tests): Add tst-printf-round.
24384 (link-libm): New variable.
24385 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24387 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24390 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24391 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24393 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24396 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24398 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24399 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24400 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24401 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24403 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24406 * include/rounding-mode.h: New file.
24407 * sysdeps/generic/get-rounding-mode.h: Likewise.
24408 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24409 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24410 (MAX_VALUE): New macro.
24411 (MIN_VALUE): Likewise.
24412 (overflow_value): New function.
24413 (underflow_value): Likewise.
24414 (round_and_return): Use overflow_value and underflow_value to
24415 determine return values in overflow and underflow cases. Use
24416 round_away to determine rounding depending on rounding mode.
24417 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24418 determine return values in overflow and underflow cases.
24419 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24420 (struct test_results): New structure.
24421 (struct test): Use struct test_results to store expected results
24422 for all rounding modes.
24423 (TEST): Include expected results for all rounding modes.
24424 (test_in_one_mode): New function.
24425 (do_test): Use test_in_one_mode to compute and check results.
24426 Check results for all rounding modes.
24427 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24430 2012-12-09 Allan McRae <allan@archlinux.org>
24432 * sysdeps/i386/fpu/libm-test-ulps: Update
24434 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24436 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24437 (_G_int32_t): Likewise.
24438 (_G_uint16_t): Likewise.
24439 (_G_uint32_t): Likewise.
24440 (_G_HAVE_BOOL): Likewise.
24441 (_G_HAVE_ATEXIT): Likewise.
24442 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24443 (_G_HAVE_IO_FILE_OPEN): Likewise.
24444 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24445 (_G_int32_t): Likewise.
24446 (_G_uint16_t): Likewise.
24447 (_G_uint32_t): Likewise.
24448 (_G_HAVE_BOOL): Likewise.
24449 (_G_HAVE_ATEXIT): Likewise.
24450 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24451 (_G_HAVE_IO_FILE_OPEN): Likewise.
24452 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24453 (_G_int32_t): Likewise.
24454 (_G_uint16_t): Likewise.
24455 (_G_uint32_t): Likewise.
24456 (_G_HAVE_BOOL): Likewise.
24457 (_G_HAVE_ATEXIT): Likewise.
24458 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24459 (_G_HAVE_IO_FILE_OPEN): Likewise.
24461 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24463 * csu/libc-tls.c: Update copyright years.
24465 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24467 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24468 [!_G_USING_THUNKS]: Remove conditional code.
24469 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24470 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24472 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24473 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24474 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24475 (_G_VTABLE_LABEL_PREFIX): Likewise.
24476 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24477 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24478 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24479 (_G_VTABLE_LABEL_PREFIX): Likewise.
24480 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24481 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24482 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24483 (_G_VTABLE_LABEL_PREFIX): Likewise.
24484 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24486 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24488 * libio/Makefile: Include ../Makeconfig before tests.
24489 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24490 only if $(build-shared) is yes.
24492 * iconv/gconv_db.c: Update copyright years.
24494 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24496 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24497 unwind info if defined PIC. Fix special cases description.
24498 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24500 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24502 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24504 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24506 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24508 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24511 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24512 (LDLIBS-tst-chk4): This.
24513 (LDFLAGS-tst-chk5): Renamed to ...
24514 (LDLIBS-tst-chk5): This.
24515 (LDFLAGS-tst-chk6): Renamed to ...
24516 (LDLIBS-tst-chk6): This.
24517 (LDFLAGS-tst-lfschk4): Renamed to ...
24518 (LDLIBS-tst-lfschk4): This.
24519 (LDFLAGS-tst-lfschk5): Renamed to ...
24520 (LDLIBS-tst-lfschk5): This.
24521 (LDFLAGS-tst-lfschk6): Renamed to ...
24522 (LDLIBS-tst-lfschk6): This.
24524 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24525 on $(common-objpfx)soversions.mk.
24527 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24530 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24533 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24535 * malloc/arena.c (arena_get_retry): New function that gets
24536 another arena for the caller to try its request on.
24537 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24538 current arena cannot fulfill the request.
24539 (__libc_memalign): Likewise.
24540 (__libc_memalign): Likewise.
24541 (__libc_pvalloc): Likewise.
24542 (__libc_calloc): Likewise.
24544 2012-09-05 John Tobey <john.tobey@gmail.com>
24547 * manual/arith.texi (Operations on Complex): Fix description
24548 of carg branch cut.
24550 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24553 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24557 * manual/memory.texi (Memory): Make order of menu items match
24560 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24562 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24563 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24564 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24566 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24568 * csu/libc-tls.c (static_dtv): Renamed to ...
24569 (_dl_static_dtv): This. Make it global.
24570 (_dl_initial_dtv): Removed.
24571 (__libc_setup_tls): Updated.
24572 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24573 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24576 2012-09-06 Petr Machata <pmachata@redhat.com>
24578 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24579 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24580 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24581 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24583 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24586 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24587 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24590 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24593 * Makeconfig (link-static-before-libc): Replace $(+prector)
24595 (link-static-after-libc): Replace $(+postctor) with
24597 (link-bounded): Replace $(+prector)/$(+postctor) with
24598 $(+prectorT)/$(+postctorT).
24599 (+prectorT): New macro.
24600 (+postctorT): Likewise.
24602 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24604 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24605 (round_str): Handle values above the maximum for IBM long double
24607 * stdlib/tst-strtod-round.c (tests): Regenerated.
24609 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24611 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24613 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24614 zarch_nohighgprs around the zarch optimized routines.
24615 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24616 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24617 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24620 2012-09-05 David S. Miller <davem@davemloft.net>
24622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24624 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24625 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24626 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24627 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24630 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24632 * malloc/arena.c: Fold copyright years.
24633 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24635 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24637 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24639 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24641 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24643 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24645 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24646 change internal state upon failure.
24648 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24650 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24651 * malloc/memusage.c (mmap): Likewise.
24652 (mmap64, mremap): Likewise. Adjust name in comment.
24654 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24656 * libio/fileops.c: Fix typos in comments.
24657 * libio/oldfileops.c: Likewise.
24658 * libio/wfileops.c: Likewise.
24660 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24663 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24664 (tst-malloc-usable-ENV): Set environment for test case.
24665 * malloc/hooks.c (malloc_check_get_size): New function to get
24667 * malloc/malloc.c (musable): Use malloc_check_get_size.
24668 * malloc/tst-malloc-usable.c: New test case.
24670 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24672 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24674 2012-09-05 Allan McRae <allan@archlinux.org>
24677 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24678 determine header location.
24679 * configure: Regenerated.
24681 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24683 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24685 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24686 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24688 (test): Regenerate.
24690 2012-09-04 David S. Miller <davem@davemloft.net>
24692 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24693 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24694 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24696 2012-09-04 Florian Weimer <fweimer@redhat.com>
24698 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24701 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24703 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24706 * libio/iogetdelim.c: Include <limits.h>.
24707 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24708 + len + 1 would overflow.
24710 2012-09-03 Andreas Jaeger <aj@suse.de>
24712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24713 * sysdeps/i386/fpu/libm-test-ulps: Update.
24715 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24717 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24718 Add s_sinf-sse2, s_conf-sse2.
24720 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24721 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24722 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24723 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24725 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24726 for using routine as __sinf_ia32.
24727 Use macro for function declaration and weak_alias.
24728 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24729 for using routine as __cosf_ia32.
24730 Use macro for function declaration and weak_alias.
24732 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24733 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24735 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24736 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24739 * math/libm-test.inc (cos_test): Add more test cases.
24740 (sin_test): Likewise.
24741 (sincos_test): Likewise.
24743 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24745 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24746 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24748 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24750 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24753 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24754 first element of the GOT.
24755 (elf_machine_load_address): Return the difference between
24756 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24758 2012-09-01 Allan McRae <allan@archlinux.org>
24761 * configure.in (AWK): Require gawk version 3.0 or later.
24762 * configure: Regenerated.
24764 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24766 * sysdeps/unix/sysv/linux/kernel-features.h
24767 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24768 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24769 [__NR_clock_getres]: Make code unconditional.
24770 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24771 (clock_getcpuclockid): Remove code left unreachable by removal of
24773 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24774 code unconditional.
24775 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24776 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24777 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24778 Make code unconditional.
24779 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24780 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24781 * sysdeps/unix/sysv/linux/clock_settime.c
24782 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24784 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24785 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24787 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24790 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24791 scripts/test-installation.pl.
24793 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24794 and $ld_so_version if it is set.
24796 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24799 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24800 failure if reading from procfs failed.
24801 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24803 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24805 * sysdeps/unix/sysv/linux/kernel-features.h
24806 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24807 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24808 Remove conditional code.
24809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24810 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24811 Remove conditional code.
24812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24813 * sysdeps/unix/sysv/linux/i386/fxstat.c
24814 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24815 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24816 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24817 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24819 * sysdeps/unix/sysv/linux/i386/lxstat.c
24820 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24822 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24823 Remove conditional code.
24824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24825 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24826 Remove conditional code.
24827 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24828 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24829 <kernel-features.h>.
24830 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24832 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24833 Remove conditional code.
24834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24835 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24836 Remove conditional.
24838 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24841 * NEWS: Add fixed bug number.
24843 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24846 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24847 underflowing exponent in case of negative sign.
24848 * stdlib/tst-strtod-round-data: Add more tests.
24849 * stdlib/tst-strtod-round.c (tests): Regenerated.
24852 * stdlib/strtod_l.c (NDIG): Remove.
24853 (HEXNDIG): Likewise.
24854 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24855 smallest representable value.
24856 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24857 lie within an exact representation of 1/2 ulp of the result.
24858 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24860 (TENS_P9_IDX): Define unconditionally.
24861 (TENS_P9_SIZE): Likewise.
24862 (TENS_P10_IDX): Likewise.
24863 (TENS_P10_SIZE): Likewise.
24864 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24865 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24866 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24867 entries for 10^2^13 and 10^2^14.
24868 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24869 (TENS_P13_IDX): Define.
24870 (TENS_P13_SIZE): Likewise.
24871 (TENS_P14_IDX): Likewise.
24872 (TENS_P14_SIZE): Likewise.
24873 (_fpioconst_pow10): Change array size to
24874 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24876 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24877 1024]: Add entries for 10^2^13 and 10^2^14.
24878 [LAST_POW10 > _LAST_POW10]: Remove #error.
24879 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24880 (_fpioconst_pow10): Change array size to
24881 FPIOCONST_POW10_ARRAY_SIZE.
24882 * stdlib/gen-fpioconst.c: New file.
24883 * stdlib/gen-tst-strtod-round.c: Likewise.
24884 * stdlib/tst-strtod-round-data: Likewise.
24885 * stdlib/tst-strtod-round.c: Likewise.
24886 * stdlib/Makefile (tests): Add tst-strtod-round.
24889 * stdlib/strtod_l.c: Include <stdint.h>.
24890 (NDEBUG): Do not define.
24891 (round_and_return): Change EXPONENT parameter to type intmax_t.
24892 Rearrange calculations to avoid internal overflow possibilities.
24893 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24894 Rearrange calculations to avoid internal overflow possibilities.
24895 Assert that number fits inside MPNSIZE limbs.
24896 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24897 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24898 calculations and add assertions to avoid internal overflow
24899 possibilities. Add casts to avoid signed/unsigned operations.
24900 * stdlib/tst-strtod-overflow.c: New file.
24901 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24903 2012-08-25 Marek Polacek <polacek@redhat.com>
24905 * time/time.h: Fix some typos in comments.
24907 2012-08-23 Roland McGrath <roland@hack.frob.com>
24909 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24910 * posix/tst-rfc3484-2.c: Likewise.
24911 * posix/tst-rfc3484-3.c: Likewise.
24913 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24915 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24916 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24918 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24920 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24921 #include of fxstatat64.c.
24923 2012-08-22 Roland McGrath <roland@hack.frob.com>
24925 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24926 * shadow/getspent_r.c: Likewise.
24927 * shadow/getspnam.c: Likewise.
24928 * shadow/getspnam_r.c: Likewise.
24929 * gshadow/getsgent.c: Likewise.
24930 * gshadow/getsgent_r.c: Likewise.
24931 * gshadow/getsgnam.c: Likewise.
24932 * gshadow/getsgnam_r.c: Likewise.
24933 * inet/getnetbyad.c: Likewise.
24934 * inet/getnetbyad_r.c: Likewise.
24935 * inet/getnetbynm.c: Likewise.
24936 * inet/getnetbynm_r.c: Likewise.
24937 * inet/getnetent.c: Likewise.
24938 * inet/getnetent_r.c: Likewise.
24939 * inet/getproto.c: Likewise.
24940 * inet/getproto_r.c: Likewise.
24941 * inet/getprtent.c: Likewise.
24942 * inet/getprtent_r.c: Likewise.
24943 * inet/getprtname.c: Likewise.
24944 * inet/getprtname_r.c: Likewise.
24945 * inet/getrpcbyname.c: Likewise.
24946 * inet/getrpcbyname_r.c: Likewise.
24947 * inet/getrpcbynumber.c: Likewise.
24948 * inet/getrpcbynumber_r.c: Likewise.
24949 * inet/getrpcent.c: Likewise.
24950 * inet/getrpcent_r.c: Likewise.
24951 * inet/getaliasent.c: Likewise.
24952 * inet/getaliasent_r.c: Likewise.
24953 * inet/getaliasname.c: Likewise.
24954 * inet/getaliasname_r.c: Likewise.
24955 * nscd/getgrgid_r.c: Likewise.
24956 * nscd/getgrnam_r.c: Likewise.
24957 * nscd/gethstbyad_r.c: Likewise.
24958 * nscd/gethstbynm3_r.c: Likewise.
24959 * nscd/getpwnam_r.c: Likewise.
24960 * nscd/getpwuid_r.c: Likewise.
24961 * nscd/getsrvbynm_r.c: Likewise.
24962 * nscd/getsrvbypt_r.c: Likewise.
24963 * nscd/gai.c: Likewise.
24965 * configure.in (build_nscd): New substituted variable, set
24966 by --disable-build-nscd and defaults to $use_nscd.
24967 * configure: Regenerated.
24968 * config.make.in (build-nscd): New substituted variable.
24969 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24970 Change conditional to require [$(build-nscd) = yes] as well.
24971 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24974 * configure.in (use_nscd): New substituted variable, set by
24975 --disable-nscd. If enabled, define USE_NSCD.
24976 * configure: Regenerated.
24977 * config.h.in: Add USE_NSCD.
24978 * config.make.in (use-nscd): New substituted variable.
24979 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24980 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24981 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24982 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24983 (CFLAGS-getgrnam_r.c): Likewise.
24984 (CFLAGS-initgroups.c): Likewise.
24985 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24986 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24988 * inet/getnetgrent_r.c
24989 (nscd_setnetgrent): New function, broken out of ...
24990 (setnetgrent): ... here. Call it.
24991 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24992 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24993 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24994 * nscd/Makefile (routines, aux): Move definitions after include of
24995 Makeconfig. Conditionalize on [$(use-nscd) != no].
24996 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24997 Conditionalize on [USE_NSCD].
24998 (is_nscd, nscd_init_cb): Likewise.
24999 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25000 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25001 * nss/nss_db/db-init.c: Likewise.
25002 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25004 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25005 (make_request): Use it.
25006 (cache_valid_p): New function.
25007 (__check_pf): Use it.
25008 * NEWS: Add item for --disable-nscd.
25010 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25012 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25013 to support sed >= 4.2.1-20-ga9bf076.
25014 * configure: Regenerated.
25016 2012-08-22 Roland McGrath <roland@hack.frob.com>
25018 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25019 Conditionalize whole body on [IREL].
25021 2012-08-22 Jeff Law <law@redhat.com>
25024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25025 if the family is PF_UNSPEC.
25027 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25029 * Makerules (lib-version): Rename from V.
25030 (install-lib-nosubdir): Change V to lib-version.
25032 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25035 * powerpc32/power6/wcschr.c: New file.
25036 * powerpc32/power6/wcscpy.c: New file.
25037 * powerpc32/power6/wcsrchr.c: New file.
25038 * powerpc64/power6/wcschr.c: New file.
25039 * powerpc64/power6/wcscpy.c: New file.
25040 * powerpc64/power6/wcsrchr.c: New file.
25042 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25044 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25045 (two_way_short_needle): Use it.
25046 * string/strstr.c (AVAILABLE1_USES_J): Define.
25047 * string/strcasestr.c: Likewise.
25049 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25051 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25054 * NEWS: Add an entry.
25055 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25056 define their defaults.
25057 (two_way_short_needle): Detect end-of-string on-the-fly.
25058 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25059 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25060 * string/bug-strcasestr1.c: New test.
25061 * string/Makefile: Run it.
25063 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25066 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25067 the first character.
25069 2012-08-21 Roland McGrath <roland@hack.frob.com>
25071 * csu/elf-init.c (__libc_csu_irel): Function removed.
25072 * csu/libc-start.c (apply_irel): New function.
25073 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25075 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25077 * sysdeps/unix/sysv/linux/kernel-features.h
25078 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25079 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25080 <kernel-features.h>.
25081 [__NR_fadvise64_64]: Make code unconditional.
25082 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25083 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25084 !__NR_fadvise64_64)]: Likewise.
25085 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25086 !__NR_fadvise64_64))]: Likewise.
25087 [__NR_fadvise64]: Make code unconditional.
25088 [!__NR_fadvise64]: Remove conditional code.
25089 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25090 <kernel-features.h>.
25091 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25093 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25096 not include <kernel-features.h>.
25097 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25099 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25101 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25102 include <kernel-features.h>.
25103 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25105 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25108 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25110 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25111 slight instruction rearrangements per scrollpipe analysis.
25112 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25114 2012-08-20 Roland McGrath <roland@hack.frob.com>
25116 * manual/syslog.texi (syslog; vsyslog, closelog):
25117 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25118 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25120 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25121 DSOCAPS to match condition on defining it.
25123 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25125 * sysdeps/unix/sysv/linux/kernel-features.h
25126 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25128 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25129 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25131 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25132 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25134 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25135 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25137 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25138 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25140 * sysdeps/unix/sysv/linux/kernel-features.h
25141 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25142 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25144 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25145 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25146 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25147 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25148 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25149 Make code unconditional.
25150 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25151 (__mmap64) [!__NR_mmap2]: Likewise.
25152 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25153 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25154 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25155 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25156 [__NR_mmap2]: Make code unconditional.
25157 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25158 (__mmap64) [!__NR_mmap2]: Likewise.
25160 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25162 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25164 2012-08-18 Andreas Jaeger <aj@suse.de>
25166 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25168 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25170 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25171 * include/unistd.h (__have_sock_cloexec): Likewise.
25172 (__have_pipe2): Likewise.
25173 (__have_dup3): Likewise.
25175 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25178 * include/unistd.h (__have_pipe2): Change define into an extern int.
25179 (__have_dup3): Likewise.
25180 * socket/have_sock_cloexec.c: Include fcntl.h.
25181 (__have_pipe2): New variable.
25182 (__have_dup3): Likewise.
25184 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25186 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25188 2012-08-17 Marek Polacek <polacek@redhat.com>
25190 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25191 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25193 2012-08-17 Roland McGrath <roland@hack.frob.com>
25195 * configure.in: Add AC_SUBST for sysheaders.
25196 * configure: Regenerated.
25197 * config.make.in (sysheaders): New substituted variable.
25199 * sysdeps/unix/mkfifo.c: Moved ...
25200 * sysdeps/posix/mkfifo.c: ... here.
25201 * sysdeps/unix/mkfifoat.c: Moved ...
25202 * sysdeps/posix/mkfifoat.c: ... here.
25204 * sysdeps/unix/utime.c: Moved ...
25205 * sysdeps/posix/utime.c: ... here.
25207 * sysdeps/unix/time.c: Moved ...
25208 * sysdeps/posix/time.c: ... here.
25209 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25210 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25212 * sysdeps/unix/nice.c: Moved ...
25213 * sysdeps/posix/nice.c: ... here.
25215 * sysdeps/unix/alarm.c: Moved ...
25216 * sysdeps/posix/alarm.c: ... here.
25218 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25220 2012-08-17 Jeff Law <law@redhat.com>
25222 * intl/Makefile (codeset_mo): New variable.
25223 ($(codeset_mo)): New target.
25224 (tst-codeset.out): Depend on that. Remove explicit rule.
25225 (tst-gettext3.out, tst-gettext5.out): Likewise.
25226 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25227 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25228 * intl/tst-codeset.sh: Remove.
25229 * intl/tst-gettext3.sh: Likewise.
25230 * intl/tst-gettext5.sh: Likewise.
25232 2012-08-17 Roland McGrath <roland@hack.frob.com>
25234 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25235 * sysdeps/unix/syscalls.list: ... here.
25237 * sysdeps/posix/getaddrinfo.c
25238 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25239 (gaiconf_init, gaiconf_reload): Use them.
25240 [!_STATBUF_ST_NSEC]
25241 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25242 Define using time_t rather than struct timespec.
25244 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25245 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25247 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25249 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25250 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25253 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25254 __libc_cleanup_push argument.
25256 * bits/param.h: New file.
25257 * misc/sys/param.h: New file.
25258 * include/sys/param.h: New file.
25259 * misc/Makefile (headers): Add bits/param.h.
25260 * sysdeps/generic/sys/param.h: File removed.
25261 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25262 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25263 * sysdeps/mach/hurd/bits/param.h: New file.
25264 * sysdeps/mach/hurd/sys/param.h: File removed.
25266 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25269 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25271 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25272 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25275 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25276 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25277 rather than -D_IO_MTSAFE_IO conditionally.
25278 * stdio-common/Makefile (CPPFLAGS): Likewise.
25279 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25280 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25281 Use $(libio-mtsafe).
25282 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25283 of -D_IO_MTSAFE_IO.
25284 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25285 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25286 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25287 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25288 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25289 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25290 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25291 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25292 (CFLAGS-fread_u_chk.c): Likewise.
25293 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25294 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25295 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25296 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25297 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25298 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25299 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25300 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25301 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25303 * libio/Makefile: Test [$(libc-reentrant) = yes]
25304 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25307 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25308 * sysdeps/pthread/configure: File removed.
25309 * sysdeps/pthread/Makeconfig: New file.
25310 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25311 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25313 2012-08-16 Gary Benson <gbenson@redhat.com>
25315 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25316 unmapping the first object in a namespace.
25318 2012-08-16 Roland McGrath <roland@hack.frob.com>
25320 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25321 (__internal_setnetgrent): ... this. Add internal_function to
25322 definition. Add libc_hidden_def.
25323 (setnetgrent): Update caller.
25324 (internal_endnetgrent): Renamed to ...
25325 (__internal_endnetgrent): ... this. Add internal_function to
25326 definition. Add libc_hidden_def.
25327 (endnetgrent): Update caller.
25328 (internal_getnetgrent_r): Renamed to ...
25329 (__internal_getnetgrent_r): ... this. Add internal_function to
25330 definition. Add libc_hidden_def.
25331 (__getnetgrent_r): Update caller.
25332 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25334 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25336 * stdlib/longlong.h: Update from GCC.
25338 2012-08-16 Roland McGrath <roland@hack.frob.com>
25340 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25341 on _QL, which is set by umul_ppmm but never used.
25342 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25343 variables, which are set by GMP macros but never used.
25344 * stdio-common/_itowa.c (_itowa): Likewise.
25345 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25346 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25348 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25350 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25351 struct La_sh_regs is not constant.
25352 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25353 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25354 and struct La_sparc64_regs are not constant.
25356 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25358 * sysdeps/unix/sysv/linux/kernel-features.h
25359 (__ASSUME_POSIX_TIMERS): Remove.
25360 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25361 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25362 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25363 Make code unconditional.
25364 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25365 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25366 Make code unconditional.
25367 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25368 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25369 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25370 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25371 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25372 Make code unconditional.
25373 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25374 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25375 (__libc_missing_posix_timers): Remove.
25377 2012-08-15 Roland McGrath <roland@hack.frob.com>
25379 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25380 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25382 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25384 * elf/dl-sym.c: Include <stdlib.h>.
25386 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25387 constants, which avoids warnings in 32-bit builds.
25389 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25390 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25392 * misc/lseek.c: File moved to ...
25393 * io/lseek.c: ... here.
25395 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25397 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25398 shifting LEN more than 31 bits at once.
25400 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25403 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25404 segmentation fault for a case of two empty input strings.
25405 * string/test-strncasecmp.c (check1): Renamed to...
25406 (bz12205): ...this.
25407 (bz14195): Add new testcase for two empty input strings and N > 0.
25408 (test_main): Call new testcase, adapt for renamed function.
25410 2012-08-15 Andreas Jaeger <aj@suse.de>
25413 * crypt/md5test2.c: New test, based on test supplied by Serge
25414 Belyshev <belyshev@depni.sinp.msu.ru>.
25415 * crypt/Makefile (xtests): Add md5test-giant..
25416 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25418 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25421 * crypt/md5.c (md5_process_block): Don't assume the buffer
25422 length is less than 2**32.
25423 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25424 length is less than 2**64.
25426 2012-08-15 Roland McGrath <roland@hack.frob.com>
25428 * string/str-two-way.h: Include <sys/param.h>.
25429 (MAX): Macro removed.
25431 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25432 Move #define and #undef of memmove to just before and after
25433 including <string.h>.
25435 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25436 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25437 and after including <string.h>. Move declarations of
25438 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25439 to before #include "string/memmove.c".
25441 * include/dirent.h: Declare __getdirentries.
25443 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25444 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25446 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25448 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25449 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25450 * sysdeps/i386/configure: Regenerated.
25451 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25452 STABS_CURRENT_FILE, and STABS_FUN.
25453 (END): Remove call to STABS_FUN_END.
25454 (STABS_CURRENT_FILE1): Delete.
25455 (STABS_CURRENT_FILE): Likewise.
25456 (STABS_FUN): Likewise.
25457 (STABS_FUN_END): Likewise.
25458 (STABS_FUN2): Likewise.
25459 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25460 * sysdeps/x86_64/configure: Regenerated.
25462 2012-08-14 Roland McGrath <roland@hack.frob.com>
25464 * elf/dl-open.c: Include <atomic.h>.
25465 * elf/dl-lookup.c: Likewise.
25467 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25469 * sysdeps/unix/sysv/linux/kernel-features.h
25470 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25471 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25473 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25475 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25476 condition on __ASSUME_CLONE_THREAD_FLAGS.
25478 2012-08-14 Andreas Jaeger <aj@suse.de>
25480 * sysdeps/i386/fpu/libm-test-ulps: Update.
25482 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25484 * include/atomic.h (atomic_exchange_and_add): Split into ...
25485 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25488 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25492 2012-08-13 Jeff Law <law@redhat.com>
25494 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25495 null byte in the output string.
25497 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25499 * sysdeps/unix/sysv/linux/kernel-features.h
25500 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25501 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25502 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25503 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25504 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25505 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25506 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25508 2012-08-09 Jeff Law <law@redhat.com>
25511 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25512 When avoid_arena is set, don't retry in the that arena. Pick the
25513 next one, whatever it might be.
25514 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25515 (arena_lock): Pass in new parameter to arena_get2.
25516 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25518 (__libc_malloc): Unify retrying after main arena failure with
25519 __libc_memalign version.
25520 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25522 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25525 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25526 to __redirect_strstr.
25527 (__strstr_sse42): Use typeof __redirect_strstr.
25528 (__strstr_ia32): Likewise.
25529 (__libc_strstr): New prototype.
25530 (strstr): Renamed to ...
25531 (__libc_strstr): This.
25532 (strstr): New strong alias of __libc_strstr.
25533 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25534 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25537 (__libc_time): New prototype.
25538 (time_ifunc): Replace time with __libc_time.
25539 (time): New strong alias and hidden definition of __libc_time.
25540 (__GI_time): Remove strong alias.
25541 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25542 Include <stddef.h>.
25543 (memmove): Redefined to __redirect_memmove.
25544 (__memmove_sse2): Use typeof __redirect_memmove.
25545 (__memmove_ssse3): Likewise.
25546 (__memmove_ssse3_back): Likewise.
25547 (__libc_memmove): New prototype.
25548 (memmove): Renamed to ...
25549 (__libc_memmove): This.
25550 (memmove): New strong alias of __libc_memmove.
25552 2012-08-08 Mark Salter <msalter@redhat.com>
25555 (R_MN10300_TLS_GD): Define.
25556 (R_MN10300_TLS_LD): Likewise.
25557 (R_MN10300_TLS_LDO): Likewise.
25558 (R_MN10300_TLS_GOTIE): Likewise.
25559 (R_MN10300_TLS_IE): Likewise.
25560 (R_MN10300_TLS_LE): Likewise.
25561 (R_MN10300_TLS_DTPMOD): Likewise.
25562 (R_MN10300_TLS_DTPOFF): Likewise.
25563 (R_MN10300_TLS_TPOFF): Likewise.
25564 (R_MN10300_SYM_DIFF): Likewise.
25565 (R_MN10300_ALIGN): Likewise.
25566 (R_MN10300_NUM): Update.
25568 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25570 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25573 2012-08-08 Roland McGrath <roland@hack.frob.com>
25575 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25577 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25578 sysdeps/unix -> sysdeps/posix move.
25579 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25581 2012-08-07 Allan McRae <allan@archlinux.org>
25584 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25585 (SUNOS_CPP): Likewise.
25586 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25588 (open_input): Call CPP using execvp.
25590 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25592 * sysdeps/unix/sysv/linux/kernel-features.h
25593 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25594 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25595 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25596 (__ASSUME_WAITID_SYSCALL): Likewise.
25597 * sysdeps/unix/sysv/linux/dl-execstack.c
25598 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25599 code unconditional.
25600 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25602 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25603 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25604 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25606 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25608 [__ASSUME_WAITID_SYSCALL]: Likewise.
25609 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25611 2012-08-07 Roland McGrath <roland@hack.frob.com>
25613 * sysdeps/unix/closedir.c: Renamed to ...
25614 * sysdeps/posix/closedir.c: ... here.
25615 * sysdeps/unix/dirfd.c: Renamed to ...
25616 * sysdeps/posix/dirfd.c: ... here.
25617 * sysdeps/unix/dirstream.h: Renamed to ...
25618 * sysdeps/posix/dirstream.h: ... here.
25619 * sysdeps/unix/fdopendir.c: Renamed to ...
25620 * sysdeps/posix/fdopendir.c: ... here.
25621 * sysdeps/unix/opendir.c: Renamed to ...
25622 * sysdeps/posix/opendir.c: ... here.
25623 * sysdeps/unix/readdir.c: Renamed to ...
25624 * sysdeps/posix/readdir.c: ... here.
25625 * sysdeps/unix/readdir_r.c: Renamed to ...
25626 * sysdeps/posix/readdir_r.c: ... here.
25627 * sysdeps/unix/rewinddir.c: Renamed to ...
25628 * sysdeps/posix/rewinddir.c: ... here.
25629 * sysdeps/unix/seekdir.c: Renamed to ...
25630 * sysdeps/posix/seekdir.c: ... here.
25631 * sysdeps/unix/telldir.c: Renamed to ...
25632 * sysdeps/posix/telldir.c: ... here.
25633 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25634 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25635 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25636 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25638 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25639 * bits/fcntl.h: ... here.
25641 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25643 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25644 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25645 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25646 (struct flock): Move l_start, l_len to the beginning.
25647 Use __pid_t for l_pid.
25648 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25649 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25650 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25651 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25652 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25653 [__USE_LARGEFILE64] (struct flock64): New type.
25654 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25656 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25657 * bits/dirent.h: ... here.
25659 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25660 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25662 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25664 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25665 Change from 2.6.0 to 2.6.16.
25666 * sysdeps/unix/sysv/linux/configure: Regenerated.
25667 * sysdeps/unix/sysv/linux/kernel-features.h
25668 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25669 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25671 (__ASSUME_UTIMES): Likewise.
25672 (__ASSUME_CLONE_STOPPED): Remove.
25673 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25674 architectures, not kernel version.
25675 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25676 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25677 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25678 (__ASSUME_WAITID_SYSCALL): Likewise.
25679 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25680 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25681 * README: State 2.6.16 as minimum Linux kernel version. Do not
25682 refer to older versions.
25684 2012-08-06 Roland McGrath <roland@hack.frob.com>
25686 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25687 Define alphasort64 as an alias.
25688 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25689 Define versionsort64 as an alias.
25690 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25691 Define scandir64 as an alias.
25692 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25693 Define scandirat64 as an alias.
25694 * dirent/alphasort64.c (alphasort64):
25695 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25696 * dirent/versionsort64.c: Likewise.
25697 * dirent/scandir64.c: Likewise.
25698 * dirent/scandirat64.c: Likewise.
25699 * sysdeps/wordsize-64/alphasort.c: File removed.
25700 * sysdeps/wordsize-64/alphasort64.c: File removed.
25701 * sysdeps/wordsize-64/scandir.c: File removed.
25702 * sysdeps/wordsize-64/scandir64.c: File removed.
25703 * sysdeps/wordsize-64/scandirat.c: File removed.
25704 * sysdeps/wordsize-64/scandirat64.c: File removed.
25705 * sysdeps/wordsize-64/versionsort.c: File removed.
25706 * sysdeps/wordsize-64/versionsort64.c: File removed.
25707 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25708 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25709 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25710 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25711 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25712 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25713 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25714 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25716 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25717 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25718 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25719 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25720 [defined __arch64__ || defined __sparcv9]
25721 (__INO_T_MATCHES_INO64_T): New macro.
25722 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25723 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25724 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25725 * sysdeps/unix/sysv/linux/bits/dirent.h
25726 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25727 (_DIRENT_MATCHES_DIRENT64): New macro.
25729 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25730 Define lockf64 as an alias.
25731 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25732 Define fseeko64 as an alias.
25733 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25734 Define ftello64 as an alias.
25735 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25736 Define _IO_fgetpos64 and fgetpos64 as aliases.
25737 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25738 Define _IO_fsetpos64 and fsetpos64 as aliases.
25739 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25740 Conditionalize body on this.
25741 * libio/fseeko64.c: Likewise.
25742 * libio/ftello64.c: Likewise.
25743 * libio/iofgetpos64.c: Likewise.
25744 * libio/iofsetpos64.c: Likewise.
25745 * sysdeps/wordsize-64/lockf.c: File removed.
25746 * sysdeps/wordsize-64/lockf64.c: File removed.
25747 * sysdeps/wordsize-64/fseeko.c: File removed.
25748 * sysdeps/wordsize-64/fseeko64.c: File removed.
25749 * sysdeps/wordsize-64/ftello.c: File removed.
25750 * sysdeps/wordsize-64/ftello64.c: File removed.
25751 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25752 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25753 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25754 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25755 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25756 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25757 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25758 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25759 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25760 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25761 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25762 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25763 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25764 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25766 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25768 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25770 [defined __arch64__ || defined __sparcv9]
25771 (__OFF_T_MATCHES_OFF64_T): New macro.
25772 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25773 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25774 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25775 (__OFF_T_MATCHES_OFF64_T): New macro.
25777 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25779 * stdlib/secure-getenv.c (__secure_getenv): Replace
25780 GLIBC_2_16 with GLIBC_2_17.
25782 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25784 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25785 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25787 2012-08-03 David S. Miller <davem@davemloft.net>
25789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25791 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25793 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25795 (__ASSUME_CORRECT_SI_PID): Likewise.
25796 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25797 (__ASSUME_TMPFS_NAME): Likewise.
25798 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25799 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25800 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25801 (HAVE_AUX_SECURE): Make definition unconditional.
25802 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25803 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25805 2012-08-03 Roland McGrath <roland@hack.frob.com>
25807 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25808 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25809 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25810 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25811 __eloop_threshold instead of SYMLOOP_MAX.
25813 * sysdeps/generic/eloop-threshold.h: New file.
25814 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25816 * elf/chroot_canon.c (chroot_canon): Likewise.
25818 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25821 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25822 Change to 2.6.0 everywhere.
25823 * sysdeps/unix/sysv/linux/configure: Regenerated.
25824 * sysdeps/unix/sysv/linux/kernel-features.h
25825 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25826 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25828 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25829 (__ASSUME_FUTEX_REQUEUE): Remove.
25830 (__ASSUME_STATFS64): Define unconditionally.
25831 (__ASSUME_AT_SECURE): Likewise.
25832 (__ASSUME_CORRECT_SI_PID): Likewise.
25833 (__ASSUME_TGKILL): Define without depending on kernel version for
25835 (__ASSUME_UTIMES): Likewise.
25836 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25838 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25839 (__ASSUME_TMPFS_NAME): Likewise.
25840 * README: Update reference to Linux kernel versions.
25842 2012-08-02 Marek Polacek <polacek@redhat.com>
25845 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25846 libc_cv_asm_type_prefix with %.
25847 * configure: Regenerated.
25848 * include/libc-symbols.h: Remove comment about
25849 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25850 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25851 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25852 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25853 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25854 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25855 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25856 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25857 * elf/tst-unique2mod1.c: Likewise.
25858 * elf/tst-unique1mod2.c: Likewise.
25859 * elf/tst-unique1mod1.c: Likewise.
25860 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25861 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25862 Replace ASM_TYPE_DIRECTIVE with .type.
25863 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25864 * sysdeps/i386/sysdep.h: Likewise.
25865 * sysdeps/x86_64/sysdep.h: Likewise.
25866 * sysdeps/sh/sysdep.h: Likewise.
25867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25868 Do not define ASM_TYPE_DIRECTIVE.
25869 * sysdeps/powerpc/sysdep.h: Likewise.
25870 * sysdeps/powerpc/powerpc32/sysdep.h:
25871 Replace ASM_TYPE_DIRECTIVE with .type.
25872 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25873 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25874 * sysdeps/i386/fpu/e_powf.S: Likewise.
25875 * sysdeps/i386/fpu/e_expl.S: Likewise.
25876 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25877 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25878 * sysdeps/i386/fpu/e_pow.S: Likewise.
25879 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25880 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25881 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25882 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25883 * sysdeps/i386/fpu/e_log2.S: Likewise.
25884 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25885 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25886 * sysdeps/i386/fpu/e_powl.S: Likewise.
25887 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25888 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25889 * sysdeps/i386/fpu/e_logl.S: Likewise.
25890 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25891 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25892 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25893 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25894 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25895 * sysdeps/i386/fpu/e_log.S: Likewise.
25896 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25897 * sysdeps/i386/fpu/e_logf.S: Likewise.
25898 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25899 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25900 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25901 * sysdeps/i386/fpu/e_log10.S: Likewise.
25902 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25903 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25904 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25905 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25906 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25907 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25908 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25909 * sysdeps/i386/i686/strtok.S: Likewise.
25910 * sysdeps/i386/i386-mcount.S: Likewise.
25911 * sysdeps/i386/strtok.S: Likewise.
25912 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25913 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25914 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25915 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25916 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25917 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25918 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25919 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25920 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25921 * sysdeps/x86_64/_mcount.S: Likewise.
25922 * sysdeps/x86_64/strtok.S: Likewise.
25923 * sysdeps/sh/_mcount.S: Likewise.
25925 2012-08-01 Roland McGrath <roland@hack.frob.com>
25927 * libio/iofopen.c: Include <fcntl.h>.
25928 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25929 (_IO_fopen64, fopen64): Define as aliases.
25930 * libio/iofopen64.c: Include <fcntl.h>.
25931 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25932 Conditionalize body on this.
25933 * sysdeps/wordsize-64/iofopen.c: File removed.
25934 * sysdeps/wordsize-64/iofopen64.c: File removed.
25936 2012-08-01 Marek Polacek <polacek@redhat.com>
25938 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25939 Use dlfcn directly instead of a variable.
25940 (binfmt-subdir): Do not define.
25943 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25945 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25946 Remove all definitions.
25947 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25948 <kernel-features.h>.
25949 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25950 (miss_F_GETOWN_EX): Remove all definitions.
25951 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25953 [!__ASSUME_FCNTL64]: Remove conditional code.
25954 [__ASSUME_FCNTL64]: Make code unconditional.
25955 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25956 <kernel-features.h>.
25957 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25958 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25959 (lockf64) [__NR_fcntl64]: Make code unconditional.
25960 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25962 * sysdeps/unix/sysv/linux/kernel-features.h
25963 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25964 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25965 Make code unconditional.
25966 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25967 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25969 [__NR_vfork]: Make code unconditional.
25970 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25971 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25973 [__NR_vfork]: Make code unconditional.
25974 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25975 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25977 2012-08-01 Roland McGrath <roland@hack.frob.com>
25979 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25980 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25982 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25983 Define mkstemp64 as an alias.
25984 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25985 Define mkstemps64 as an alias.
25986 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25987 Define mkostemp64 as an alias.
25988 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25989 Define mkostemps64 as an alias.
25990 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25991 Conditionalize body on this.
25992 * misc/mkostemp64.c: Likewise.
25993 * misc/mkostemps64.c: Likewise.
25994 * misc/mkstemps64.c: Likewise.
25995 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25996 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25997 * sysdeps/wordsize-64/mkostemp.c: File removed.
25998 * sysdeps/wordsize-64/mkstemp.c: File removed.
25999 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26000 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26001 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26002 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26005 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26006 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26007 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26008 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26010 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26011 compat_symbol macros from <shlib-compat.h> rather than the underlying
26012 default_symbol_version and symbol_version macros, so that DEFAULT
26013 lines in shlib-versions are respected.
26014 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26016 2012-08-01 Florian Weimer <fweimer@redhat.com>
26018 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26019 Declare with warn_unused_result.
26020 (setgid, setregid, setegid, setresgid): Likewise.
26021 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26023 * WUR-REPORT: Remove set*id functions.
26025 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26027 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26029 2012-07-31 Roland McGrath <roland@hack.frob.com>
26032 * include/sys/socket.h (__libc_accept, __libc_accept4):
26033 Add attribute_hidden.
26034 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26036 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26038 * inet/getnetgrent_r.c (setup): Likewise.
26040 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26042 2012-07-31 David S. Miller <davem@davemloft.net>
26044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26046 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26049 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26050 value between 1.0 and 2.0 and smaller part has absolute value less
26052 * math/s_clog10.c (__clog10): Likewise.
26053 * math/s_clog10f.c (__clog10f): Likewise.
26054 * math/s_clog10l.c (__clog10l): Likewise.
26055 * math/s_clogf.c (__clogf): Likewise.
26056 * math/s_clogl.c (__clogl): Likewise.
26057 * math/libm-test.inc (clog_test): Add more tests.
26058 (clog10_test): Likewise.
26059 * sysdeps/i386/fpu/libm-test-ulps: Update.
26060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26062 2012-07-31 Florian Weimer <fweimer@redhat.com>
26064 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26065 Exit with zero in case no suitable GID is found, and write a
26066 message to standard error.
26068 2012-07-30 Roland McGrath <roland@hack.frob.com>
26070 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26072 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26073 (MAXPATHLEN): Removed.
26074 (NOGROUP, NODEV): New macros.
26075 (setbit, clrbit, isset, isclr): New macros.
26076 (howmany, roundup, powerof2): New macros.
26077 (DEV_BSIZE): New macro.
26079 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26080 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26082 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26083 definition on [!__NO_LONG_DOUBLE_MATH].
26085 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26086 PTR_MANGLE and PTR_DEMANGLE.
26088 * socket/accept4.c (accept4): Rename to __libc_accept4.
26089 Define accept4 as a weak alias.
26091 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26092 on [_DIRENT_HAVE_D_TYPE].
26093 * io/ftw.c (ftw_dir): Likewise.
26095 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26097 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26099 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26100 Use the BSD numbers rather than the arbitrary ones we had.
26101 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26102 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26103 (SIGXCPU, SIGXFSZ): New macros.
26106 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26107 initializer on [_LIBC_REENTRANT].
26109 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26110 definitions inside [_POSIX_MAPPED_FILES].
26112 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26114 * dirent/opendir.c: Include <fcntl.h>.
26116 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26117 (__libc_getspecific): Likewise.
26118 (__libc_key_create): Likewise.
26120 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26121 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26122 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26123 (tmpfile64): Define as alias.
26124 * sysdeps/wordsize-64/tmpfile.c: File removed.
26125 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26126 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26127 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26129 * stdio-common/vfscanf.c: Include <stdbool.h>.
26130 * nss/makedb.c: Likewise.
26131 * stdio-common/_i18n_number.h: Likewise.
26132 * argp/argp-help.c: Likewise.
26133 * posix/wordexp.c: Likewise.
26134 * sysdeps/posix/spawni.c: Likewise.
26135 * nss/nss_files/files-initgroups.c: Likewise.
26136 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26137 * nss/nss_files/files-initgroups.c: Likewise.
26138 * nss/nss_db/db-netgrp.c: Likewise.
26139 * nss/nss_db/db-initgroups.c: Likewise.
26140 * io/fchmodat.c: Include <sys/stat.h>.
26142 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26143 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26145 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26148 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26149 Add multiple inclusion protection.
26151 2012-07-27 David S. Miller <davem@davemloft.net>
26153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26155 2012-07-27 Gary Benson <gbenson@redhat.com>
26158 * elf/rtld.c: Include <stap-probe.h>.
26159 (dl_main): Added static probes "init_start" and "init_complete".
26160 * elf/dl-load.c: Include <stap-probe.h>.
26161 (lose): Take new parameter "nsid".
26162 Added static probe "map_failed".
26163 (_dl_map_object_from_fd): Pass namespace id to lose.
26164 Added static probe "map_start".
26165 (open_verify): Pass namespace id to lose.
26166 * elf/dl-open.c: Include <stap-probe.h>.
26167 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26168 and "reloc_complete".
26169 * elf/dl-close.c: Include <stap-probe.h>.
26170 (_dl_close_worker): Added static probes "unmap_start" and
26172 * elf/rtld-debugger-interface.txt: New file documenting the above.
26174 2012-07-26 Roland McGrath <roland@hack.frob.com>
26176 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26177 rather than a string variable.
26178 * sunrpc/rpc_main.c (h_output): Likewise.
26179 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26181 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26183 * inet/check_native.c: New file.
26185 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26188 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26189 if larger part has absolute value 1.0.
26190 * math/s_clog10.c (__clog10): Likewise.
26191 * math/s_clog10f.c (__clog10f): Likewise.
26192 * math/s_clog10l.c (__clog10l): Likewise.
26193 * math/s_clogf.c (__clogf): Likewise.
26194 * math/s_clogl.c (__clogl): Likewise.
26195 * math/libm-test.inc (clog_test): Add more tests.
26196 (clog10_test): Likewise.
26197 * sysdeps/i386/fpu/libm-test-ulps: Update.
26198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26200 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26201 (pltexit): Likewise.
26202 (La_regs): Likewise.
26203 (La_retval): Likewise.
26204 (int_retval): Likewise.
26205 Update #error for removed macros to refer only to definitions in
26207 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26209 (pltexit): Likewise.
26210 (La_regs): Likewise.
26211 (La_retval): Likewise.
26212 (int_retval): Likewise.
26213 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26215 (pltexit): Likewise.
26216 (La_regs): Likewise.
26217 (La_retval): Likewise.
26218 (int_retval): Likewise.
26219 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26221 (pltexit): Likewise.
26222 (La_regs): Likewise.
26223 (La_retval): Likewise.
26224 (int_retval): Likewise.
26225 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26227 (pltexit): Likewise.
26228 (La_regs): Likewise.
26229 (La_retval): Likewise.
26230 (int_retval): Likewise.
26231 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26233 (pltexit): Likewise.
26234 (La_regs): Likewise.
26235 (La_retval): Likewise.
26236 (int_retval): Likewise.
26237 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26239 (pltexit): Likewise.
26240 (La_regs): Likewise.
26241 (La_retval): Likewise.
26242 (int_retval): Likewise.
26243 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26244 macro definitions in tst-audit.h.
26245 * sysdeps/i386/tst-audit.h: New file.
26246 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26247 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26248 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26249 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26250 * sysdeps/sh/tst-audit.h: Likewise.
26251 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26252 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26253 * sysdeps/x86_64/tst-audit.h: Likewise.
26255 2012-07-26 Andreas Jaeger <aj@suse.de>
26257 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26260 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26261 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26262 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26264 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26265 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26266 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26268 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26271 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26273 (si_call_addr, si_syscall, si_arch): Define new macro.
26274 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26276 (si_call_addr, si_syscall, si_arch): Define new marcro.
26277 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26279 (si_call_addr, si_syscall, si_arch): Define new macro.
26280 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26282 (si_call_addr, si_syscall, si_arch): Define new macro.
26284 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26287 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26288 Change to 2.4.21 where previously 2.4.1.
26289 * sysdeps/unix/sysv/linux/configure: Regenerated.
26290 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26291 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26292 Linux kernel version.
26293 (__ASSUME_STD_AUXV): Remove.
26294 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26296 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26297 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26298 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26299 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26300 (__ASSUME_NETLINK_SUPPORT): Likewise.
26301 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26302 (__no_netlink_support): Remove conditional definition.
26303 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26305 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26306 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26307 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26308 (if_nameindex_ioctl): Remove.
26309 (if_nameindex_netlink): Do not handle __no_netlink_support.
26310 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26312 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26313 Remove conditional code.
26314 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26316 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26318 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26319 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26320 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26322 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26323 [!__ASSUME_STD_AUXV]: Remove conditional code.
26324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26325 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26326 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26328 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26329 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26331 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26333 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26334 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26336 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26338 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26341 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26344 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26345 code unconditional.
26346 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26348 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26350 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26353 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26355 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26358 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26359 code unconditional.
26360 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26362 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26364 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26367 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26368 code unconditional.
26369 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26371 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26373 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26376 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26378 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26379 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26380 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26381 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26382 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26383 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26384 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26385 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26386 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26387 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26388 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26389 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26390 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26391 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26392 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26393 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26394 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26395 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26396 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26398 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26399 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26400 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26402 2012-07-25 Florian Weimer <fweimer@redhat.com>
26404 * Versions.def: Add GLIBC_2.17.
26405 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26406 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26407 Introduce __libc_secure_getenv.
26408 * stdlib/Versions (2.17): Add secure_getenv
26409 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26410 * stdlib/secure-getenv.c: Rename __secure_getenv to
26411 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26412 symbol __secure_getenv for GLIBC_2.0.
26413 * stdlib/tst-secure-getenv.c: New.
26414 * stdlib/Makefile (tests): Add testcase.
26415 * manual/startup.texi (Environment Access): Document
26417 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26418 __libc_secure_getenv.
26419 * inet/ruserpass.c (ruserpass): Likewise.
26420 * malloc/mtrace.c (mtrace): Likewise.
26421 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26422 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26423 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26424 * sysdeps/posix/tempname.c: Likewise. Evaluate
26425 HAVE_SECURE_GETENV.
26426 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26427 __secure_getenv to __libc_secure_getenv.
26428 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26435 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26441 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26443 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26444 (struct La_i86_retval): Likewise.
26445 (struct La_x86_64_regs): Likewise.
26446 (struct La_x86_64_retval): Likewise.
26447 (struct La_x32_regs): Likewise.
26448 (struct La_x32_retval): Likewise.
26449 (struct La_ppc32_regs): Likewise.
26450 (struct La_ppc32_retval): Likewise.
26451 (struct La_ppc64_regs): Likewise.
26452 (struct La_ppc64_retval): Likewise.
26453 (struct La_sh_regs): Likewise.
26454 (struct La_sh_retval): Likewise.
26455 (struct La_s390_32_regs): Likewise.
26456 (struct La_s390_32_retval): Likewise.
26457 (struct La_s390_64_regs): Likewise.
26458 (struct La_s390_64_retval): Likewise.
26459 (struct La_sparc32_regs): Likewise.
26460 (struct La_sparc32_retval): Likewise.
26461 (struct La_sparc64_regs): Likewise.
26462 (struct La_sparc64_retval): Likewise.
26463 (struct audit_ifaces): Remove architecture-specific pltenter and
26465 * sysdeps/i386/ldsodefs.h: New file.
26466 * sysdeps/powerpc/ldsodefs.h: Likewise.
26467 * sysdeps/s390/ldsodefs.h: Likewise.
26468 * sysdeps/sh/ldsodefs.h: Likewise.
26469 * sysdeps/sparc/ldsodefs.h: Likewise.
26470 * sysdeps/x86_64/ldsodefs.h: Likewise.
26472 2012-07-25 Marek Polacek <polacek@redhat.com>
26475 * math/libm-test.inc (yn_test): Add another test.
26476 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26477 to ERANGE when the result is +-Inf.
26478 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26479 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26480 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26481 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26483 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26485 * conform/data/time.h-data (NULL): Use macro-constant. Require
26487 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26489 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26491 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26493 * configure.in <sysdeps resolving>: Correct printing
26495 * configure: Regenerate.
26497 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26499 * math/w_ilogb.c: Include <limits.h>.
26500 * math/w_ilogbl.c: Likewise.
26502 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26504 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26505 va_copy. Document allowing for unavailable va_copy only as
26506 pre-C99 compatibility.
26507 * manual/string.texi (Copying and Concatenation): Use va_copy
26508 instead of __va_copy in concat example.
26510 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26512 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26513 (__sendto): Use create_address_port. Initialize APORT and deallocate
26516 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26517 with O_NOLINK passed to __file_name_lookup.
26519 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26520 with O_NOLINK passed to __file_name_lookup.
26522 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26523 negative N or less than NGIDS.
26525 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26526 type to string_t. Set ERANGE as errno and return it if NAME is not big
26527 enough. Use memcpy instead of strncpy.
26529 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26531 * elf/Makefile (check-data): Remove.
26532 (localplt.data): New vpath directive.
26533 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26534 instead of $(check-data).
26535 * scripts/data/localplt-generic.data: Move to ...
26536 * sysdeps/generic/localplt.data: ... here.
26537 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26538 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26539 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26542 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26545 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26548 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26551 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26554 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26558 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26560 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26561 PPC32 and PPC64 files.
26562 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26563 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26565 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26567 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26568 __makecontext_ret to ...
26569 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26570 ... here and call exit if uc_link is NULL. New file.
26571 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26572 __makecontext_ret.S.
26573 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26574 __makecontext_ret to ...
26575 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26576 ... here and call exit if uc_link is NULL. New file.
26577 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26578 __makecontext_ret.S.
26580 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26582 * elf/elf.h (R_390_IRELATIVE): New definition.
26583 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26584 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26585 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26586 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26587 (elf_machine_lazy_rel): Likewise.
26588 * sysdeps/s390/dl-irel.h: New file.
26589 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26590 * sysdeps/s390/s390-64/memset.S: New asm code.
26591 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26592 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26593 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26594 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26595 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26596 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26597 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26598 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26599 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26600 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26601 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26602 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26603 * sysdeps/s390/s390-32/memset.S: New asm code.
26604 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26606 2012-07-17 Marek Polacek <polacek@redhat.com>
26609 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26610 * sysdeps/s390/s390-64/configure.in: Likewise.
26611 * sysdeps/sparc/configure.in: Likewise.
26612 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26613 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26614 * sysdeps/i386/configure.in: Likewise.
26615 * sysdeps/x86_64/configure.in: Likewise.
26616 * sysdeps/sh/configure.in: Likewise.
26617 * sysdeps/s390/s390-32/configure: Regenerated.
26618 * sysdeps/s390/s390-64/configure: Likewise.
26619 * sysdeps/x86_64/configure: Likewise.
26620 * sysdeps/sh/configure: Likewise.
26621 * sysdeps/powerpc/powerpc64/configure: Likewise.
26622 * sysdeps/powerpc/powerpc32/configure: Likewise.
26623 * sysdeps/sparc/configure: Likwise.
26624 * sysdeps/i386/configure: Likewise.
26626 * elf/dl-open.c: Comment fixes.
26628 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26630 * Makefile [CXX] (check-data): Remove.
26631 [CXX] (c++-types.data): New vpath directive.
26632 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26633 vpath. Do not allow for C++ type data being missing.
26634 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26635 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26636 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26637 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26638 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26639 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26640 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26643 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26646 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26649 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26652 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26655 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26658 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26661 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26664 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26665 definitions to architecture-specific files.
26666 (TLS_IE): Likewise.
26667 (TLS_LD): Likewise.
26668 (TLS_GD): Likewise.
26669 * sysdeps/i386/tls-macros.h: New file.
26670 * sysdeps/powerpc/tls-macros.h: Likewise.
26671 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26672 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26673 * sysdeps/sh/tls-macros.h: Likewise.
26674 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26675 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26676 * sysdeps/x86_64/tls-macros.h: Likewise.
26678 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26680 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26681 zero value for regular exit case.
26683 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26684 (__start_context): Preserve zero value for regular exit case.
26686 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26687 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26689 * manual/setjmp.texi (setcontext): Clarify normal process
26690 termination when uc_link is the null pointer.
26691 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26694 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26696 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26697 preprocessor. Test for each exception mask separately.
26699 2012-07-16 Andreas Jaeger <aj@suse.de>
26701 * po/ru.po: Update from translation team.
26703 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26705 * conform/data/string.h-data (NULL): Use macro-constant. Require
26707 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26708 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26709 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26710 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26713 2012-07-13 Andreas Jaeger <aj@suse.de>
26715 * po/fr.po: Update from translation team.
26717 2012-07-12 Marek Polacek <polacek@redhat.com>
26720 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26721 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26724 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26727 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26728 Change to 2.4.1 where previously 2.4.0.
26729 * sysdeps/unix/sysv/linux/configure: Regenerated.
26730 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26731 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26733 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26734 (__ASSUME_AT_CLKTCK): Remove.
26735 (__ASSUME_AT_PAGESIZE): Likewise.
26736 (__ASSUME_AT_XID): Likewise.
26737 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26738 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26739 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26741 (HAVE_AUX_PAGESIZE): Likewise.
26742 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26743 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26744 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26746 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26750 the temporary buffer used to invoke __gethostbyname2_r,
26751 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26752 host_data / struct gaih_addrtuple.
26753 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26754 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26755 header file nss/nsswitch.h.
26756 * nss/nsswitch.h (global scope): Add definition of implementation
26757 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26758 resolv/nss_dns/dns-host.c).
26760 2012-07-11 Andreas Jaeger <aj@suse.de>
26762 * po/fr.po: Update from translation team.
26764 * po/sv.po: Update from translation team
26765 * po/fr.po: Another update from translation team.
26767 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26769 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26770 for subnormals or multiply small sinh result by itself.
26771 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26774 2012-07-11 David S. Miller <davem@davemloft.net>
26776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26778 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26781 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26782 (INTERNAL_MARK): Shift it here.
26784 2012-07-10 Marek Polacek <polacek@redhat.com>
26787 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26788 libc_cv_asm_global_directive with .globl.
26789 * configure: Regenerated.
26790 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26792 * sysdeps/i386/configure: Regenerated.
26793 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26795 * sysdeps/x86_64/configure: Regenerated.
26796 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26797 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26798 * elf/tst-unique2mod2.c: Likewise.
26799 * elf/tst-unique2mod1.c: Likewise.
26800 * elf/tst-unique1mod2.c: Likewise.
26801 * elf/tst-unique1mod1.c: Likewise.
26802 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26803 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26804 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26805 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26806 * sysdeps/mach/sysdep.h: Likewise.
26807 * sysdeps/i386/sysdep.h: Likewise.
26808 * sysdeps/i386/i386-mcount.S: Likewise.
26809 * sysdeps/x86_64/_mcount.S: Likewise.
26810 * sysdeps/x86_64/sysdep.h: Likewise.
26811 * sysdeps/sh/_mcount.S: Likewise.
26812 * sysdeps/sh/sysdep.h: Likewise.
26813 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26814 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26815 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26816 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26817 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26818 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26819 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26820 * locale/localeinfo.h: Likewise.
26821 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26822 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26824 2012-07-09 Roland McGrath <roland@hack.frob.com>
26827 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26829 * manual/message.texi (The Uniforum approach): Likewise.
26830 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26831 (glibc iconv Implementation): Likewise.
26833 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26836 * math/s_clog.c (__clog): Avoid scaling a value down where that
26837 could result in underflow.
26838 * math/s_clog10.c (__clog10): Likewise.
26839 * math/s_clog10f.c (__clog10f): Likewise.
26840 * math/s_clog10l.c (__clog10l): Likewise.
26841 * math/s_clogf.c (__clogf): Likewise.
26842 * math/s_clogl.c (__clogl): Likewise.
26843 * math/libm-test.inc (clog_test): Add more tests.
26844 (clog10_test): Likewise.
26845 * sysdeps/i386/fpu/libm-test-ulps: Update.
26846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26848 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26851 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26852 by 7 not 8 to examine high bit of fractional part.
26855 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26856 for call to __mcount_internal.
26857 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26858 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26859 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26861 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26864 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26865 approximation for values within 0x1p-13f of an odd multiple of
26867 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26868 exception. Add more tests.
26869 * sysdeps/i386/fpu/libm-test-ulps: Update.
26872 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26873 inputs and return -1 for them. Do not check for +Inf in case not
26874 reachable for +Inf.
26875 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26876 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26877 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26878 and return -1 for them. Do not check for +Inf in case not
26879 reachable for +Inf.
26880 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26882 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26883 and return -1 for them. Do not check for +Inf in case not
26884 reachable for +Inf.
26885 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26886 spurious underflow.
26887 * sysdeps/i386/fpu/libm-test-ulps: Update.
26888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26890 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26892 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26894 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26898 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26899 could result in spurious underflow. Scale down values above
26900 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26901 * math/s_csqrtf.c (__csqrtf): Likewise.
26902 * math/s_csqrtl.c (__csqrtl): Likewise.
26903 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26904 spurious underflow.
26905 * sysdeps/i386/fpu/libm-test-ulps: Update.
26906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26908 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26910 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26912 * catgets/xopen-msg.awk: New file.
26913 * catgets/xopen-msg.sed: Removed.
26915 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26917 * intl/po2test.awk: New file.
26918 * intl/po2test.sed: Removed.
26920 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26923 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26924 or multiply small sinh result by itself.
26925 * math/s_ctanf.c (__ctanf): Likewise.
26926 * math/s_ctanh.c (__ctanh): Likewise.
26927 * math/s_ctanhf.c (__ctanhf): Likewise.
26928 * math/s_ctanhl.c (__ctanhl): Likewise.
26929 * math/s_ctanl.c (__ctanl): Likewise.
26930 * math/libm-test.inc (ctan_test_tonearest): New function.
26931 (ctan_test_towardzero): Likewise.
26932 (ctan_test_downward): Likewise.
26933 (ctan_test_upward): Likewise.
26934 (ctanh_test_tonearest): Likewise.
26935 (ctanh_test_towardzero): Likewise.
26936 (ctanh_test_downward): Likewise.
26937 (ctanh_test_upward): Likewise.
26938 (main): Call these new functions.
26939 * sysdeps/i386/fpu/libm-test-ulps: Update.
26940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26942 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26944 * .gitignore: Delete /ports entry.
26946 2012-07-03 Andreas Jaeger <aj@suse.de>
26948 * po/bg.po: Update from translation team.
26949 * po/cs.po: Likewise.
26950 * po/de.po: Likewise.
26951 * po/hr.po: Likewise.
26952 * po/nl.pl: Likewise.
26953 * po/pl.po: Likewise.
26954 * po/vi.po: Likewise.
26956 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26958 * Makeconfig [!+link] (+link-before-libc): New variable.
26959 [!+link] (+link-after-libc): Likewise.
26960 [!+link] (+link-tests): Likewise.
26961 [!+link] (+link): Define in terms of $(+link-before-libc) and
26962 $(+link-after-libc).
26963 [!+link-static] (+link-static-before-libc): New variable.
26964 [!+link-static] (+link-static-after-libc): Likewise.
26965 [!+link-static] (+link-static-tests): Likewise.
26966 [!+link-static] (+link-static): Define in terms of
26967 $(+link-static-before-libc) and $(+link-static-after-libc).
26968 [build-shared] (link-libc-before-gnulib): New variable.
26969 [build-shared] (link-libc-tests): Likewise.
26970 [build-shared] (link-libc): Define in terms of
26971 $(link-libc-before-gnulib).
26972 [!build-shared] (link-libc-tests): New variable.
26973 (link-libc-static-tests): New variable.
26974 [!gnulib] (gnulib-arch): New variable.
26975 [!gnulib] (gnulib-tests): Likewise.
26976 [!gnulib] (static-gnulib-arch): Likewise.
26977 [!gnulib] (static-gnulib-tests): Likewise.
26978 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26979 Define with "=" instead of ":=".
26980 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26981 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26982 * Rules (binaries-all-notests): New variable.
26983 (binaries-all-tests): Likewise.
26984 (binaries-static-notests): Likewise.
26985 (binaries-static-tests): Likewise.
26986 (binaries-all): Define using $(binaries-all-notests) and
26987 $(binaries-all-tests).
26988 (binaries-static): Define using $(binaries-static-notests) and
26989 $(binaries-static-tests).
26990 (binaries-shared-tests): New variable.
26991 (binaries-shared-notests): Likewise.
26992 (binaries-shared): Remove variable.
26993 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26994 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26995 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26996 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26997 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26998 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26999 * elf/Makefile (sln-modules): New variable.
27000 (extra-objs): Add $(sln-modules:=.o).
27001 (ldconfig-modules): Add static-stubs.
27002 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27003 * elf/static-stubs.c: New file.
27006 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27007 by 7 not 8 to examine high bit of fractional part. Use volatile
27008 variables when splitting into final array of floats if
27009 __FLT_EVAL_METHOD__ != 0.
27010 * math/libm-test.inc (cos_test): Add another test.
27011 (sin_test): Likewise.
27012 * sysdeps/i386/fpu/libm-test-ulps: Update.
27015 * math/libm-test.inc (cosh_test): Add more tests.
27017 * version.h (RELEASE): Set to "development".
27018 (VERSION): Set to "2.16.90".
27020 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27022 * NEWS: Update copyright. Remove last-updated date.
27023 Mention math library bug fixes and timezone data changes.
27024 * README: Mention GNU/Hurd, x32, and HPPA support status.
27026 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27028 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27030 2012-06-27 Andreas Jaeger <aj@suse.de>
27032 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27034 2012-06-25 Andreas Jaeger <aj@suse.de>
27036 * sysdeps/s390/fpu/libm-test-ulps: Update.
27038 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27039 Thomas Schwinge <thomas@codesourcery.com>
27041 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27042 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27043 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27046 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27048 * sysdeps/mach/start.c: Remove file.
27049 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27050 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27051 * sysdeps/sh/init-first.c: Likewise.
27053 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27054 registers for frame unwinding purposes, add CFI directives.
27055 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27056 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27057 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27060 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27061 __fortify_fail returning.
27062 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27064 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27065 sysdeps/sh/____longjmp_chk.S.
27066 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27067 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27068 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27069 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27071 * sysdeps/sh/abort-instr.h: New file.
27072 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27073 process in case exit returns.
27075 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27076 initialize the GOT register before use.
27078 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27079 calculation of ARGC > 4.
27081 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27082 meaningful names to some local labels.
27084 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27085 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27087 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27088 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27089 (__arch_compare_and_exchange_val_16_acq): Likewise.
27090 (__arch_compare_and_exchange_val_32_acq): Likewise.
27091 (atomic_exchange_and_add): Fix gUSA sequence.
27092 (atomic_add): Likewise.
27093 (atomic_add_negative): Likewise.
27094 (atomic_add_zero): Likewise.
27095 (atomic_bit_test_set): Likewise.
27097 2012-06-22 Andreas Schwab <schwab@redhat.com>
27100 * include/link.h (struct link_map): Add l_free_initfini.
27101 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27103 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27104 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27105 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27108 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27110 * configure.in: Use AC_LANG_SOURCE.
27111 * configure: Regenerate.
27113 2012-06-22 Roland McGrath <roland@hack.frob.com>
27115 * configure.in (libc_cv_localstatedir): New substituted variable.
27116 * configure: Regenerated.
27117 * config.make.in (localstatedir): New variable, substituted from
27118 libc_cv_localstatedir.
27119 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27120 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27121 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27122 * sysdeps/gnu/configure: Regenerated.
27124 2012-06-21 Jeff Law <law@redhat.com>
27127 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27128 free. Simplify list management for _LIBC case.
27130 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27133 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27134 Clear sign bit of 64-bit integer value before comparing against
27137 * sysdeps/mach/configure: Regenerated.
27139 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27142 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27144 2012-06-21 Jeff Law <law@redhat.com>
27147 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27148 uint16_t for elements in the "seen" array to avoid char overflows.
27149 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27150 * elf/dl-open.c (dl_open_worker): Likewise.
27152 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27154 * scripts/list-sources.sh: Scan PORTS for translations.
27155 * po/libc.pot: Regenerated.
27157 2012-06-21 Andreas Jaeger <aj@suse.de>
27160 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27162 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27163 * bits/byteswap-16.h (__bswap_16): Likewise.
27164 * bits/byteswap.h (__bswap_constant_16): Likewise.
27166 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27169 * sysdeps/i386/fpu_control.h: Removed.
27170 * sysdeps/x86_64/fpu_control.h: Moved to ...
27171 * sysdeps/x86/fpu_control.h: Here.
27173 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27174 (_FPU_SETCW): Likewise.
27176 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27179 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27180 * sysdeps/x86/fpu/bits/mathinline.h: This.
27181 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27185 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27186 functions if __x86_64__ is defined.
27188 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27190 * string/endian.h: Add !__ASSEMBLER__ condition for including
27191 conversion interfaces.
27193 2012-06-15 Joseph Myers <joseph@codesourcery.com>
27196 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27197 of ABS(x) in calculating zero to negative powers other than odd
27199 * math/libm-test.inc (pow_test): Add more tests.
27201 2012-06-15 Andreas Jaeger <aj@suse.de>
27203 * manual/contrib.texi (Contributors): Update entry of Liubov
27204 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27207 2012-06-15 Cyril Hrubis <metan@ucw.cz>
27209 * string/string.h: Add __wur to GNU version of strerror_r.
27211 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27214 * string/Makefile (tests): Add tst-strtok_r.
27215 * string/tst-strtok_r.c: New file.
27216 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27217 RAX_LP/RDX_LP on SAVE_PTR.
27219 2012-06-14 Roland McGrath <roland@hack.frob.com>
27221 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27223 2012-06-14 Joseph Myers <joseph@codesourcery.com>
27225 * libm_test.inc (csqrt_test): Allow more spurious underflow
27227 (j0_test): Likewise.
27228 (j1_test): Likewise.
27229 (y0_test): Likewise.
27230 (y1_test): Likewise.
27232 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27234 * po/Makefile (libc.pot): Use UTF-8 charset.
27236 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27239 Suppress sign-conversion warning from FD_SET.
27240 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27241 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27242 not unsigned long int.
27243 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27245 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27249 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27250 __extern_always_inline instead of __extern_inline.
27251 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27252 (__signbit): Likewise.
27253 (__signbitl): Support C++ namespace.
27254 (lrintf): New inline function.
27256 (llrintf): Likewise.
27257 (llrint): Likewise.
27267 (floorf): Likewise.
27268 (nearbyint): Likewise.
27269 (nearbyintf): Likewise.
27271 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27273 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27274 non-default versions.
27276 2012-06-11 Roland McGrath <roland@hack.frob.com>
27279 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27281 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27283 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27284 (FE_UPWARD, FE_DOWNWARD): Don't define.
27285 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27286 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27288 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27290 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27291 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27293 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27295 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27296 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27297 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27298 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27300 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27303 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27304 * sysdeps/i386/fpu/Implies: New file.
27305 * sysdeps/x86_64/fpu/Implies: Likewise.
27306 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27307 * sysdeps/x86/fpu/bits/fenv.h: This.
27309 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27312 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27315 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27316 character 0xffff that matches the last element of the
27319 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27321 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27324 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27326 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27327 values higher than 25.6283.
27329 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27331 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27332 subnormal exponent extraction and add some __builtin_expect.
27333 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27334 Fix for subnormal mantissa calculation.
27336 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27338 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27339 cpu2 is -1 and errno is not ENOSYS.
27341 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27344 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27345 * sysdeps/x86/bits/string.h: This.
27346 * sysdeps/x86_64/bits/string.h: Removed.
27348 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27349 if not compiling for x86-64, but compiling for >= i486.
27351 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27352 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27354 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27355 New macro from Linux kernel 3.4.0.
27356 (FP_XSTATE_MAGIC2): Likewise.
27357 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27358 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27359 (struct _fpx_sw_bytes): New struct.
27360 (struct _xsave_hdr): Likewise.
27361 (struct _ymmh_state): Likewise.
27362 (struct _xstate): Likewise.
27364 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27365 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27366 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27367 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27368 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27369 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27371 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27372 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27373 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27374 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27375 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27376 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27378 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27381 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27382 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27383 (sysdep_headers): Include sys/platform/ppc.h.
27384 * sysdeps/powerpc/test-gettimebase.c: Test for
27385 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27386 * manual/Makefile (appendices): Include platform.texi.
27387 * manual/contrib.texi (Contributors): Update @node pointers.
27388 * manual/maint.texi (Maintenance): Likewise.
27389 (Platform): New node.
27390 * manual/platform.texi: New file. Document the new features.
27392 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27393 Jakub Jelinek <jakub@redhat.com>
27396 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27397 where __builtin_expect is unavailable.
27399 2012-06-03 David S. Miller <davem@davemloft.net>
27401 * stdlib/longlong.h: Updated from GCC.
27403 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27406 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27407 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27410 (GLIBC_2.16): Likewise.
27412 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27414 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27416 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27419 (default-abi): New variable.
27420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27421 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27423 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27425 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27427 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27430 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27431 definition. Document in comment.
27433 2012-06-01 David S. Miller <davem@davemloft.net>
27435 * stdlib/longlong.h: Updated from GCC.
27437 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27440 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27441 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27442 sys/debugreg.h sys/io.h here.
27443 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27444 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27446 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27447 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27448 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27449 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27450 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27451 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27453 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27454 Define only if __x86_64__ is defined.
27456 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27459 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27460 Use int64_t for variable i.
27461 * math/libm-test.inc (fmod_test): Add more tests.
27463 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27464 z computation is not scheduled after fetestexcept.
27465 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27466 Use math_force_eval instead of asm to ensure calculation scheduled
27467 before exception test.
27468 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27469 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27471 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27474 computation is not scheduled after fetestexcept.
27476 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27479 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27480 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27482 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27484 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27485 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27487 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27490 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27492 (__WCHAR_MIN): Support __WORDSIZE == 64.
27493 (__WCHAR_MAX): Likewise.
27495 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27496 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27499 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27500 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27503 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27504 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27506 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27507 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27509 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27510 Defined to 1 if __x86_64__ isn't defined.
27511 (_STAT_VER_LINUX_OLD): New.
27512 (st_atime): Remove duplicate.
27513 (st_mtime): Likewise.
27514 (st_ctime): Likewise.
27516 2012-05-31 David S. Miller <davem@davemloft.net>
27518 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27521 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27523 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27527 * elf/dl-reloc.c: Include <_itoa.h>.
27528 (_dl_reloc_bad_type): Remove use of INTUSE.
27529 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27530 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27531 * stdio-common/psiginfo.c (psiginfo): Likewise.
27532 * stdio-common/psignal.c (psignal): Likewise.
27533 * string/strsignal.c (strsignal): Likewise.
27534 * include/signal.h (_sys_siglist): Declare hidden proto.
27535 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27536 INTVARDEF with libc_hidden_data_def.
27537 * stdio-common/itoa-udigits.c: Likewise.
27538 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27539 (_itoa_lower_digits_internal): Remove declaration.
27540 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27541 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27542 (_sys_sigabbrev_internal): Remove aliases.
27543 (_sys_siglist): Define hidden alias.
27545 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27550 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27553 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27554 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27556 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27557 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27558 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27559 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27560 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27561 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27563 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27564 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27565 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27567 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27575 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27576 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27577 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27579 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27580 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27581 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27582 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27583 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27584 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27586 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27587 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27589 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27590 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27592 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27594 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27596 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27597 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27599 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27601 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27602 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27603 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27605 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27607 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27609 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27611 * math/math.h (M_El): Use two more decimal places.
27612 (M_LOG2El): Likewise.
27613 (M_LOG10El): Likewise.
27614 (M_LN2l): Likewise.
27615 (M_LN10l): Likewise.
27617 (M_PI_2l): Likewise.
27618 (M_PI_4l): Likewise.
27619 (M_1_PIl): Likewise.
27620 (M_2_PIl): Likewise.
27621 (M_2_SQRTPIl): Likewise.
27622 (M_SQRT2l): Likewise.
27623 (M_SQRT1_2l): Likewise.
27625 2012-05-31 David S. Miller <davem@davemloft.net>
27627 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27628 values between float registers.
27629 * sysdeps/sparc/sparc64/memset.S: Likewise.
27630 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27632 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27634 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27635 -D_FORTIFY_SOURCE=1.
27636 (CPPFLAGS-tst-longjmp_chk.c): Define.
27637 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27638 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27639 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27640 CFLAGS-tst-wchar-h.c.
27642 2012-05-31 Marek Polacek <polacek@redhat.com>
27645 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27646 __endmntent_internal): Remove declaration.
27647 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27648 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27649 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27651 2012-05-30 David S. Miller <davem@davemloft.net>
27653 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27654 (___Q_simulate_exceptions): Use real FP ops rather than writing
27656 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27659 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27662 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27663 * sysdeps/x86/bits/xtitypes.h: This.
27665 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27666 * sysdeps/x86/bits/wordsize.h: This.
27668 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27669 * sysdeps/x86/bits/huge_vall.h: This.
27671 * sysdeps/i386/bits/select.h: Removed.
27672 * sysdeps/x86_64/bits/select.h: Renamed to ...
27673 * sysdeps/x86/bits/select.h: This.
27675 * sysdeps/i386/bits/setjmp.h: Removed.
27676 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27677 * sysdeps/x86/bits/setjmp.h: This.
27679 * sysdeps/i386/bits/mathdef.h: Removed.
27680 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27681 * sysdeps/x86/bits/mathdef.h: This.
27683 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27686 * include/sys/socket.h (__connect_internal)
27687 (__libc_sa_len_internal): Remove declaration.
27688 (__connect, __libc_sa_len): Declare hidden_proto.
27689 (SA_LEN): Remove use of INTUSE.
27690 * socket/connect.c: Add libc_hidden_def.
27691 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27692 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27693 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27695 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27696 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27697 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27698 of adding _internal alias.
27700 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27703 * sysdeps/i386/bits/link.h: Removed.
27704 * sysdeps/i386/bits/linkmap.h: Likewise.
27705 * sysdeps/x86_64/bits/link.h: Renamed to ...
27706 * sysdeps/x86/bits/link.h: This.
27707 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27708 * sysdeps/x86/bits/linkmap.h: This.
27710 * sysdeps/i386/bits/endian.h: Removed.
27711 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27712 * sysdeps/x86/bits/endian.h: This.
27714 * sysdeps/i386/bits/byteswap.h: Removed.
27715 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27716 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27717 * sysdeps/x86/bits/byteswap.h: This.
27718 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27719 * sysdeps/x86/bits/byteswap-16.h: This.
27720 * sysdeps/i386/Implies: Add x86.
27721 * sysdeps/x86_64/Implies: Likewise.
27723 2012-05-30 David S. Miller <davem@davemloft.net>
27725 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27726 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27727 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27728 (FP_TRAPPING_EXCEPTIONS): Define.
27729 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27730 (FP_TRAPPING_EXCEPTIONS): Define.
27731 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27732 subnormals only when inexact has been signalled or underflow
27733 exceptions are enabled.
27734 (_FP_PACK_CANONICAL): Likewise.
27736 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27739 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27740 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27742 2012-05-30 Richard Henderson <rth@twiddle.net>
27744 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27745 with #ifndef NOT_IN_libc.
27747 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27748 marked to avoid plt entry.
27750 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27753 * Makeconfig (default-abi): New macro.
27754 (abi-includes): Likewise.
27755 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27756 $(abi-$(default-abi)-lib-soname) for soname if defined.
27757 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27759 * Makefile (installed-stubs): Likewise.
27760 * include/stubs-biarch.h: Removed.
27761 * scripts/lib-names.awk: Only handle one library at a time.
27762 * scripts/soversions.awk: Remove WORDSIZE support.
27763 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27765 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27767 (syscall-list-default-condition): Likewise.
27768 (syscall-list-default-condition): Likewise.
27769 (syscall-list-includes): Likewise.
27770 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27771 syscall-list-* with abi-*. Handle undefined abi-variants.
27772 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27773 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27774 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27775 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27776 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27777 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27779 (syscall-list-32-options): Likewise.
27780 (syscall-list-32-condition): Likewise.
27781 (syscall-list-64-options): Likewise.
27782 (syscall-list-64-condition): Likewise.
27783 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27785 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27788 (abi-64-ld-soname): New macro.
27789 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27790 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27793 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27794 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27796 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27798 * sysdeps/unix/sysv/linux/kernel-features.h
27799 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27800 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27801 include <kernel-features.h>.
27802 [!__NR_ftruncate64]: Remove conditional code.
27803 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27804 [__NR_ftruncate64]: Make code unconditional.
27805 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27806 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27807 include <kernel-features.h>.
27808 [!__NR_ftruncate64]: Remove conditional code.
27809 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27810 [__NR_ftruncate64]: Make code unconditional.
27811 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27813 include <kernel-features.h>.
27814 [!__NR_ftruncate64]: Remove conditional code.
27815 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27816 [__NR_ftruncate64]: Make code unconditional.
27817 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27819 include <kernel-features.h>.
27820 [!__NR_ftruncate64]: Remove conditional code.
27821 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27822 [__NR_ftruncate64]: Make code unconditional.
27823 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27825 * configure.in (libc_cv_fpie): Weaken to a compile test using
27826 LIBC_TRY_CC_OPTION.
27827 * configure: Regenerated.
27829 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27844 2012-05-27 David S. Miller <davem@davemloft.net>
27846 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27848 (__Q_simulate_exceptions): Return void. Change to simulate
27849 exceptions by writing into the %fsr.
27850 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27851 (__Qp_handle_exceptions): Likewise.
27853 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27854 __Qp_handle_exceptions.
27855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27856 __Qp_handle_exceptions.
27857 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27858 as unused and give dummy FP_RND_NEAREST initializer.
27859 (FP_INHIBIT_RESULTS): Define.
27860 (___Q_simulate_exceptions): Update declaration.
27861 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27863 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27864 as unused and give dummy FP_RND_NEAREST initializer.
27865 (__Qp_handle_exceptions): Update declaration.
27866 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27869 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27871 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27872 the temporary FPU control word.
27873 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27874 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27875 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27876 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27877 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27878 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27879 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27880 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27881 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27882 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27883 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27885 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27887 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27890 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27892 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27893 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27894 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27895 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27897 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27898 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27901 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27903 * po/h.po: Update from translation team.
27905 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27907 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27909 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27910 handling of denormals.
27911 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27912 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27913 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27914 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27915 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27916 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27917 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27920 2012-05-26 Marek Polacek <polacek@redhat.com>
27923 * math/libm-test.inc (fma_test): Don't always expect underflow
27926 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27929 * elf/tst-execstack.c: Include stackinfo.h.
27930 (do_test): Adjust test case to ensure that pthread_getattr_np
27931 behaviour remains the same after marking stack executable.
27933 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27935 * sysdeps/unix/sysv/linux/kernel-features.h
27936 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27937 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27939 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27940 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27941 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27943 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27944 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27946 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27948 * configure.in: Define the default includes to being none.
27949 * configure: Regenerated.
27951 2012-05-25 Roland McGrath <roland@hack.frob.com>
27953 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27954 * sysdeps/x86_64/setjmp.S: Likewise.
27955 * sysdeps/i386/bsd-setjmp.S: Likewise.
27956 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27957 * sysdeps/i386/setjmp.S: Likewise.
27958 * sysdeps/i386/__longjmp.S: Likewise.
27959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27960 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27962 * include/stap-probe.h: New file.
27963 * configure.in: Handle --enable-systemtap.
27964 * configure: Regenerated.
27965 * config.h.in (USE_STAP_PROBE): New #undef.
27966 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27967 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27968 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27970 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27973 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27974 to 2.4.0 where earlier.
27975 * sysdeps/unix/sysv/linux/configure: Regenerated.
27976 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27977 <kernel-features.h>.
27978 [__ASSUME_32BITUIDS]: Make code unconditional.
27979 [!__ASSUME_32BITUIDS]: Remove conditional code.
27980 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27981 <kernel-features.h>.
27982 [__ASSUME_32BITUIDS]: Make code unconditional.
27983 [!__ASSUME_32BITUIDS]: Remove conditional code.
27984 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27985 [__ASSUME_32BITUIDS]: Make code unconditional.
27986 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27987 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27988 <kernel-features.h>.
27989 [__ASSUME_32BITUIDS]: Make code unconditional.
27990 [!__ASSUME_32BITUIDS]: Remove conditional code.
27991 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27992 <kernel-features.h>.
27993 [__ASSUME_32BITUIDS]: Make code unconditional.
27994 [!__ASSUME_32BITUIDS]: Remove conditional code.
27995 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27996 <kernel-features.h>.
27997 [__ASSUME_32BITUIDS]: Make code unconditional.
27998 [!__ASSUME_32BITUIDS]: Remove conditional code.
27999 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28000 <kernel-features.h>.
28001 [__ASSUME_32BITUIDS]: Make code unconditional.
28002 [!__ASSUME_32BITUIDS]: Remove conditional code.
28003 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28004 <kernel-features.h>.
28005 [__ASSUME_32BITUIDS]: Make code unconditional.
28006 [!__ASSUME_32BITUIDS]: Remove conditional code.
28007 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28008 <kernel-features.h>.
28009 [__ASSUME_32BITUIDS]: Make code unconditional.
28010 [!__ASSUME_32BITUIDS]: Remove conditional code.
28011 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28012 <kernel-features.h>.
28013 [__ASSUME_32BITUIDS]: Make code unconditional.
28014 [!__ASSUME_32BITUIDS]: Remove conditional code.
28015 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28016 <kernel-features.h>.
28017 [__ASSUME_32BITUIDS]: Make code unconditional.
28018 [!__ASSUME_32BITUIDS]: Remove conditional code.
28019 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28020 <kernel-features.h>.
28021 [__ASSUME_32BITUIDS]: Make code unconditional.
28022 [!__ASSUME_32BITUIDS]: Remove conditional code.
28023 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28024 <kernel-features.h>.
28025 [__ASSUME_32BITUIDS]: Make code unconditional.
28026 [!__ASSUME_32BITUIDS]: Remove conditional code.
28027 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28028 <kernel-features.h>.
28029 [__NR_setresgid] (__setresgid): Do not declare.
28030 [__ASSUME_32BITUIDS]: Make code unconditional.
28031 [!__ASSUME_32BITUIDS]: Remove conditional code.
28032 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28033 <kernel-features.h>.
28034 [__NR_setresuid] (__setresuid): Do not declare.
28035 [__ASSUME_32BITUIDS]: Make code unconditional.
28036 [!__ASSUME_32BITUIDS]: Remove conditional code.
28037 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28038 <kernel-features.h>.
28039 [__ASSUME_32BITUIDS]: Make code unconditional.
28040 [!__ASSUME_32BITUIDS]: Remove conditional code.
28041 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28042 <kernel-features.h>.
28043 [__ASSUME_32BITUIDS]: Make code unconditional.
28044 [!__ASSUME_32BITUIDS]: Remove conditional code.
28045 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28046 <kernel-features.h>.
28047 [__ASSUME_32BITUIDS]: Make code unconditional.
28048 [!__ASSUME_32BITUIDS]: Remove conditional code.
28049 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28050 <kernel-features.h>.
28051 [__ASSUME_32BITUIDS]: Make code unconditional.
28052 [!__ASSUME_32BITUIDS]: Remove conditional code.
28053 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28054 <kernel-features.h>.
28055 [__ASSUME_32BITUIDS]: Make code unconditional.
28056 [!__ASSUME_32BITUIDS]: Remove conditional code.
28057 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28058 <kernel-features.h>.
28059 [__ASSUME_32BITUIDS]: Make code unconditional.
28060 [!__ASSUME_32BITUIDS]: Remove conditional code.
28061 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28062 <kernel-features.h>.
28063 [__ASSUME_32BITUIDS]: Make code unconditional.
28064 [!__ASSUME_32BITUIDS]: Remove conditional code.
28065 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28066 <kernel-features.h>.
28067 [__ASSUME_32BITUIDS]: Make code unconditional.
28068 [!__ASSUME_32BITUIDS]: Remove conditional code.
28069 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28070 <kernel-features.h>.
28071 [__ASSUME_32BITUIDS]: Make code unconditional.
28072 [!__ASSUME_32BITUIDS]: Remove conditional code.
28073 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28074 <kernel-features.h>.
28075 [__ASSUME_32BITUIDS]: Make code unconditional.
28076 [!__ASSUME_32BITUIDS]: Remove conditional code.
28077 * sysdeps/unix/sysv/linux/kernel-features.h
28078 (__ASSUME_SETRESUID_SYSCALL): Remove.
28079 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28080 (__ASSUME_32BITUIDS): Likewise.
28081 (__ASSUME_LDT_WORKS): Likewise.
28082 (__ASSUME_O_DIRECTORY): Likewise.
28083 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28084 architecture but not kernel version.
28085 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28086 (__ASSUME_MMAP2_SYSCALL): Likewise.
28087 (__ASSUME_STAT64_SYSCALL): Likewise.
28088 (__ASSUME_IPC64): Likewise.
28089 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28090 <kernel-features.h>.
28091 [__ASSUME_32BITUIDS]: Make code unconditional.
28092 [!__ASSUME_32BITUIDS]: Remove conditional code.
28093 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28094 <kernel-features.h>.
28095 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28096 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28097 132096]: Remove conditional code.
28098 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28099 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28100 <kernel-features.h>.
28101 [__ASSUME_32BITUIDS]: Make code unconditional.
28102 [!__ASSUME_32BITUIDS]: Remove conditional code.
28103 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28104 <kernel-features.h>.
28105 [__ASSUME_32BITUIDS]: Make code unconditional.
28106 [!__ASSUME_32BITUIDS]: Remove conditional code.
28107 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28108 <kernel-features.h>.
28109 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28111 (__setresgid): Do not declare.
28112 [__ASSUME_32BITUIDS]: Make code unconditional.
28113 [!__ASSUME_32BITUIDS]: Remove conditional code.
28114 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28115 <kernel-features.h>.
28116 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28118 (__setresuid): Do not declare.
28119 [__ASSUME_32BITUIDS]: Make code unconditional.
28120 [!__ASSUME_32BITUIDS]: Remove conditional code.
28121 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
28126 <kernel-features.h>.
28127 [__ASSUME_32BITUIDS]: Make code unconditional.
28128 [!__ASSUME_32BITUIDS]: Remove conditional code.
28130 2012-05-25 Richard Henderson <rth@twiddle.net>
28132 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28133 dl_hwcap to ifunc resolver.
28134 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28136 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28137 dl_hwcap to ifunc resolver.
28138 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28140 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28143 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28144 for |x| <= 2**-26, not 2**-57.
28145 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28148 2012-05-24 Jeff Law <law@redhat.com>
28150 * stdio-common/Makefile (tests): Add bug25.
28151 * stdio-common/bug25.c: New test.
28153 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28156 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28157 multiple of MALLOC_ALIGNMENT in size.
28158 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28160 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28162 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28164 (FILENAME_MAX): Use macro-int-constant.
28165 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28166 (_IOFBF): Use macro-int-constant.
28167 (_IOLBF): Likewise.
28168 (_IONBF): Likewise.
28169 (SEEK_CUR): Likewise.
28170 (SEEK_END): Likewise.
28171 (SEEK_SET): Likewise.
28172 (TMP_MAX): Likewise.
28173 (EOF): Use macro-int-constant. Require < 0.
28174 (NULL): Use macro-constant. Require == 0.
28175 (stdin): Require type to be FILE *.
28176 (stdout): Likewise.
28177 (stderr): Likewise.
28178 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28179 macro-int-constant.
28180 (EXIT_SUCCESS): Likewise.
28181 (NULL): Use macro-constant. Require == 0.
28182 (RAND_MAX): Use macro-int-constant.
28183 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28184 [C99-based standards] (strtof): Require function.
28185 [C99-based standards] (strtold): Likewise.
28186 [C99-based standards] (strtoll): Likewise.
28187 [C99-based standards] (strtoull): Likewise.
28188 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28189 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28190 [ISO || ISO99 || ISO11] (math.h): Likewise.
28191 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28192 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28193 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28195 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28198 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28199 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28200 * intl/dgettext.c (DCGETTEXT): Likewise.
28201 * intl/gettext.c (DCGETTEXT): Likewise.
28202 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28203 * posix/regex_internal.h (gettext): Likewise.
28204 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28205 Remove declaration.
28206 * include/argz.h (__argz_count_internal)
28207 (__argz_stringify_internal): Remove declaration.
28208 (__argz_count, __argz_stringify): Declare hidden proto.
28209 * intl/dcgettext.c: Remove use of INTDEF.
28210 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28211 * string/argz-stringify.c: Likewise.
28212 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28213 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28214 Declare hidden proto.
28215 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28216 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28217 Declare hidden proto.
28218 * include/stdio.h (__asprintf_internal): Don't declare.
28219 (__asprintf): Don't define as macro. Declare hidden proto.
28220 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28221 (__fsetlocking): Declare hidden proto.
28222 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28223 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28225 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28226 (_IO_setlinebuf): Remove use of INTUSE.
28227 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28228 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28229 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28230 Remove declaration.
28231 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28232 (_IO_do_flush): Remove use of INTUSE.
28233 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28234 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28235 (_IO_adjust_column, _IO_least_wmarker)
28236 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28237 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28238 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28239 (_IO_default_doallocate, _IO_wdefault_doallocate)
28240 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28241 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28242 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28243 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28244 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28245 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28246 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28247 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28248 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28249 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28250 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28251 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28252 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28254 (_IO_flush_all_internal, _IO_adjust_column_internal)
28255 (_IO_default_uflow_internal, _IO_default_finish_internal)
28256 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28257 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28258 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28259 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28260 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28261 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28262 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28263 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28264 (_IO_file_close_internal, _IO_file_close_it_internal)
28265 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28266 (_IO_file_init_internal, _IO_file_attach_internal)
28267 (_IO_file_fopen_internal, _IO_file_read_internal)
28268 (_IO_file_sync_internal, _IO_file_seek_internal)
28269 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28270 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28271 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28272 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28273 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28274 (_IO_list_all_internal, _IO_link_in_internal)
28275 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28276 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28277 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28278 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28279 (_IO_do_write_internal, _IO_padn_internal)
28280 (_IO_getline_info_internal, _IO_getline_internal)
28281 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28282 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28283 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28284 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28285 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28286 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28287 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28288 with libc_hidden_ver, remove use of INTUSE.
28289 * libio/genops.c: Likewise.
28290 * libio/freopen.c: Likewise.
28291 * libio/freopen64.c: Likewise.
28292 * libio/iofclose.c: Likewise.
28293 * libio/iofdopen.c: Likewise.
28294 * libio/iofflush.c: Likewise.
28295 * libio/iofflush_u.c: Likewise.
28296 * libio/iofgets.c: Likewise.
28297 * libio/iofgets_u.c: Likewise.
28298 * libio/iofopen.c: Likewise.
28299 * libio/iofopncook.c: Likewise.
28300 * libio/iofread.c: Likewise.
28301 * libio/iofread_u.c: Likewise.
28302 * libio/ioftell.c: Likewise.
28303 * libio/iofwrite.c: Likewise.
28304 * libio/iogetline.c: Likewise.
28305 * libio/iogets.c: Likewise.
28306 * libio/iogetwline.c: Likewise.
28307 * libio/iopadn.c: Likewise.
28308 * libio/iopopen.c: Likewise.
28309 * libio/ioseekoff.c: Likewise.
28310 * libio/ioseekpos.c: Likewise.
28311 * libio/iosetbuffer.c: Likewise.
28312 * libio/iosetvbuf.c: Likewise.
28313 * libio/ioungetc.c: Likewise.
28314 * libio/ioungetwc.c: Likewise.
28315 * libio/iovdprintf.c: Likewise.
28316 * libio/iovsprintf.c: Likewise.
28317 * libio/iovsscanf.c: Likewise.
28318 * libio/memstream.c: Likewise.
28319 * libio/obprintf.c: Likewise.
28320 * libio/oldfileops.c: Likewise.
28321 * libio/oldiofclose.c: Likewise.
28322 * libio/oldiofdopen.c: Likewise.
28323 * libio/oldiofopen.c: Likewise.
28324 * libio/oldiopopen.c: Likewise.
28325 * libio/oldstdfiles.c: Likewise.
28326 * libio/putc.c: Likewise.
28327 * libio/setbuf.c: Likewise.
28328 * libio/setlinebuf.c: Likewise.
28329 * libio/stdfiles.c: Likewise.
28330 * libio/strops.c: Likewise.
28331 * libio/vasprintf.c: Likewise.
28332 * libio/vscanf.c: Likewise.
28333 * libio/vsnprintf.c: Likewise.
28334 * libio/vswprintf.c: Likewise.
28335 * libio/wfiledoalloc.c: Likewise.
28336 * libio/wfileops.c: Likewise.
28337 * libio/wgenops.c: Likewise.
28338 * libio/wmemstream.c: Likewise.
28339 * libio/wstrops.c: Likewise.
28340 * libio/__fpurge.c: Likewise.
28341 * libio/__fsetlocking.c: Likewise.
28342 * assert/assert.c: Likewise.
28343 * debug/fgets_chk.c: Likewise.
28344 * debug/fgets_u_chk.c: Likewise.
28345 * debug/fread_chk.c: Likewise.
28346 * debug/fread_u_chk.c: Likewise.
28347 * debug/gets_chk.c: Likewise.
28348 * debug/obprintf_chk.c: Likewise.
28349 * debug/vasprintf_chk.c: Likewise.
28350 * debug/vdprintf_chk.c: Likewise.
28351 * debug/vsnprintf_chk.c: Likewise.
28352 * debug/vsprintf_chk.c: Likewise.
28353 * malloc/mtrace.c: Likewise.
28354 * misc/error.c: Likewise.
28355 * misc/syslog.c: Likewise.
28356 * stdio-common/asprintf.c: Likewise.
28357 * stdio-common/fxprintf.c: Likewise.
28358 * stdio-common/getw.c: Likewise.
28359 * stdio-common/isoc99_fscanf.c: Likewise.
28360 * stdio-common/isoc99_scanf.c: Likewise.
28361 * stdio-common/isoc99_vfscanf.c: Likewise.
28362 * stdio-common/isoc99_vscanf.c: Likewise.
28363 * stdio-common/isoc99_vsscanf.c: Likewise.
28364 * stdio-common/printf-prs.c: Likewise.
28365 * stdio-common/printf_fp.c: Likewise.
28366 * stdio-common/printf_fphex.c: Likewise.
28367 * stdio-common/printf_size.c: Likewise.
28368 * stdio-common/putw.c: Likewise.
28369 * stdio-common/scanf.c: Likewise.
28370 * stdio-common/sprintf.c: Likewise.
28371 * stdio-common/tmpfile.c: Likewise.
28372 * stdio-common/vfprintf.c: Likewise.
28373 * stdio-common/vfscanf.c: Likewise.
28374 * stdlib/strfmon_l.c: Likewise.
28375 * sunrpc/openchild.c: Likewise.
28376 * sunrpc/xdr_stdio.c: Likewise.
28377 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28378 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28380 2012-05-24 Roland McGrath <roland@hack.frob.com>
28382 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28384 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28385 in the third column, to generate for the shared library an IFUNC
28386 that uses _dl_vdso_vsym.
28387 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28388 * Makeconfig (object-suffixes-noshared): New variable.
28390 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28391 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28392 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28393 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28396 * include/sys/time.h (__gettimeofday): Remove macro.
28397 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28398 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28400 (__gettimeofday): Add libc_hidden_def.
28401 (gettimeofday): Add libc_hidden_weak.
28402 * sysdeps/mach/gettimeofday.c: Likewise.
28403 * sysdeps/posix/gettimeofday.c: Likewise.
28404 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28405 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28407 (__gettimeofday_internal): Remove strong_alias.
28408 (__gettimeofday): Add libc_hidden_def.
28409 (gettimeofday): Add libc_hidden_weak.
28410 * sysdeps/unix/syscalls.list (gettimeofday):
28411 Remove __gettimeofday_internal alias.
28413 2012-05-24 Daniel Jacobowitz <drow@false.org>
28414 H.J. Lu <hongjiu.lu@intel.com>
28417 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28418 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28419 (largebin_index_32_big): New.
28420 (largebin_index): Use it for 16-byte alignment.
28421 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28422 correction with front_misalign.
28424 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28452 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28453 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28455 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28459 * math/libm-test.inc (exp_test): Add test from bug 14036.
28460 (pow_test): Add test from bug 10846.
28462 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28464 (special_function): Do not include flags in test name.
28465 (parse_args): Likewise.
28466 * sysdeps/i386/fpu/libm-test-ulps: Update.
28467 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28468 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28469 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28472 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28474 * math/libm-test.inc ("Philosophy"): Update comment about
28476 (UNDERFLOW_EXCEPTION): New macro.
28477 (UNDERFLOW_EXCEPTION_OK): Likewise.
28478 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28479 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28480 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28481 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28482 (INVALID_EXCEPTION_OK): Update value.
28483 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28484 (OVERFLOW_EXCEPTION_OK): Likewise.
28485 (IGNORE_ZERO_INF_SIGN): Likewise.
28486 (test_exceptions): Handle underflow exceptions.
28487 (acos_test): Update for underflow exception expectations.
28488 (cexp_test): Likewise.
28489 (clog_test): Likewise.
28490 (clog10_test): Likewise.
28491 (csqrt_test): Likewise.
28492 (ctan_test): Likewise.
28493 (ctanh_test): Likewise.
28494 (exp_test): Likewise.
28495 (exp10_test): Likewise.
28496 (exp2_test): Likewise.
28497 (expm1_test): Likewise.
28498 (fma_test): Likewise.
28499 (j0_test): Likewise.
28500 (jn_test): Likewise.
28501 (nexttoward_test): Likewise.
28502 (pow_test): Likewise.
28503 (scalbn_test): Likewise.
28504 (scalbln_test): Likewise.
28505 (tan_test): Likewise.
28506 (y1_test): Likewise.
28507 * sysdeps/i386/fpu/libm-test-ulps: Update.
28508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28510 2012-05-23 David S. Miller <davem@davemloft.net>
28512 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28513 (__libc_sigaction): Remove unused local variables.
28515 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28517 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28519 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28521 mktime: avoid signed integer overflow
28522 * time/mktime.c (__mktime_internal): Do not mishandle the case
28523 where diff == INT_MIN.
28525 mktime: simplify computation of average
28526 * time/mktime.c (ranged_convert): Use new time_t_avg function
28527 instead of rolling our own (probably-slower) code.
28529 mktime: do not assume signed right shift propagates sign bit
28530 * time/mktime.c (isdst_differ): New static function.
28531 (__mktime_internal): No need to normalize tm_isdst now.
28532 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28535 mktime: merge another wrapv change from gnulib
28536 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28537 from some compilers.
28539 mktime: remove incorrect attempt at unusual arithmetics
28540 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28541 The code didn't really work on such machines anyway.
28542 (TYPE_MINIMUM): Assume two's complement.
28543 (twos_complement_arithmetic): Verify that long_int and time_t
28544 are two's complement (or unsigned, in the latter case).
28546 mktime: check signed shifts on long_int and time_t, too
28547 * time/mktime.c (SHR): Check that shifts work as desired
28548 on the types long_int and time_t too, as SHR is used on
28551 mktime: do not assume 'long' is wide enough
28552 * time/mktime.c (verify): Move decl up.
28553 (long_int): New type.
28554 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28555 to remove assumption in the code that 'long' is wide enough to
28556 store year values. This assumption is not true on x32 and on
28557 some non-glibc platforms.
28559 mktime: merge wrapv change from gnulib
28560 * time/mktime.c (WRAPV): New macro.
28561 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28562 (guess_time_tm, __mktime_internal): Do not assume that signed
28563 integer overflow wraps around; modern compilers generate code
28564 where this assumption is no longer valid.
28566 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28568 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28569 Replace "jmp L(pseudo_end)" with "ret".
28570 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28573 2012-05-23 Andreas Jaeger <aj@suse.de>
28575 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28576 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28578 2012-05-23 Andreas Jaeger <aj@suse.de>
28579 Maximilian Attems <max@stro.at>
28581 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28584 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28586 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28587 code so that pseudo_end is just ret and the stack pointer is
28588 correct also for static library in error case.
28590 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28592 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28593 move to syscalls.list.
28594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28599 * manual/install.texi (Running make install): Do not mention Linux
28600 kernel version for which pt_chown is not needed.
28601 (Linux): Do not mention problems with nscd with 2.0 kernels.
28602 * INSTALL: Regenerated.
28604 2012-05-23 Andreas Jaeger <aj@suse.de>
28606 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28607 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28609 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28610 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28611 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28612 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28613 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28614 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28615 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28616 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28617 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28618 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28619 * sysdeps/unix/sysv/linux/bits/in.h
28620 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28622 2012-05-22 Roland McGrath <roland@hack.frob.com>
28624 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28625 (PREPARE_VERSION): Just use assert instead, it will be elided
28626 under [NDEBUG] anyway.
28628 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28630 * sysdeps/unix/sysv/linux/Makefile: Include
28631 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28632 (sysdep_routines): Remove sysctl.
28633 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28634 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28635 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28636 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28637 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28639 2012-05-22 Andreas Jaeger <aj@suse.de>
28641 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28642 that pseudo_end is just ret and the stack pointer is correct also
28643 for static library in error case.
28645 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28648 * nss/nsswitch.c (defconfig_entries): New variable.
28649 (__nss_database_lookup): Don't leak defconfig entries.
28650 (nss_parse_service_list): Don't leak on error paths.
28651 (free_database_entries): New function.
28652 (free_defconfig): New function.
28653 (free_mem): Move common code to free_database_entries.
28655 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28657 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28659 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28661 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28662 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28665 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28666 (INTERNAL_SYSCALL_TYPES): Likewise.
28667 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28668 (LOAD_REGS_TYPES_[1-6]): Likewise.
28669 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28670 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28672 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28674 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28675 copysignl for GLIBC_2_0.
28676 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28677 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28678 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28679 logbl for GLIBC_2_0.
28680 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28681 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28683 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28686 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28688 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28691 * time/mktime.c: Update copyright years.
28693 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28695 mktime: merge comment-quoting-style change from gnulib
28696 * time/mktime.c: Quote 'like this' in comments.
28697 The GNU coding standards suggest that we no longer quote `like this',
28698 as "`" and "'" are typically rendered asymmetrically nowadays.
28699 The typical gnulib style is to quote 'like this' when quoting
28700 code, and "like this" when quoting English.
28702 * time/mktime.c (compile-command): Add "-I.".
28704 mktime: merge mktime-internal.h change from gnulib
28705 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28707 mktime: merge time_r change from gnulib
28708 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28710 mktime: merge DEBUG change from gnulib
28711 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28712 case system <time.h> has a #define.
28714 mktime: merge <sys/types.h> change from gnulib
28715 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28716 since <time.t> is now guaranteed to define time_t.
28718 mktime: merge HAVE_CONFIG_H change from gnulib
28719 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28721 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28726 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28728 (struct rusage): Use anonymous union to pad each field to
28731 2012-05-21 David S. Miller <davem@davemloft.net>
28733 * Makefules (o-iterator): Remove .s cases.
28734 (compile-command.s): Delete.
28735 (COMPILE.s): Delete.
28736 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28738 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28740 * configure.in (libc_cv_predef_stack_protector): Only consider
28741 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28742 * configure: Regenerated.
28744 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28747 New macro. Use R*LP on int and pointer.
28748 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28749 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28750 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28751 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28753 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28754 [__WORDSIZE_TIME64_COMPAT32] instead of
28755 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28756 (struct utmp): Likewise.
28757 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28758 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28760 (__WORDSIZE_TIME64_COMPAT32): This.
28761 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28762 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28763 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28764 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28765 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28766 (__WORDSIZE_TIME64_COMPAT32): New macro.
28768 2012-05-21 Andreas Jaeger <aj@suse.de>
28770 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28771 only if [SHARED]. Add prototype for __wcschr_ia32.
28773 2012-05-21 Roland McGrath <roland@hack.frob.com>
28775 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28776 of %rbp unmolested in the jmp_buf while mangling the low bits.
28777 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28778 unmolested high bits of %rbp while demangling the low bits.
28779 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28781 2012-05-21 Andreas Jaeger <aj@suse.de>
28783 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28784 * sunrpc/svc_simple.c: Use it for registerrpc.
28785 * sunrpc/xcrypt.c: Use it for passwd2des.
28787 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28789 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28791 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28792 Don't define if [__SYSCALL_WORDSIZE != 32].
28793 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28796 2012-05-21 Bruno Haible <bruno@clisp.org>
28797 Andreas Jaeger <aj@suse.de>
28799 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28800 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28801 inptr and inend for must_buffer_ch.
28802 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28803 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28804 * stdio-common/Makefile (tests): Remove bug15.
28805 (bug15-ENV): Remove macro.
28806 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28809 2012-05-19 Andreas Jaeger <aj@suse.de>
28810 Roland McGrath <roland@hack.frob.com>
28812 * manual/contrib.texi: Completely rewritten. It contains now an
28813 alphabetical list of contributors and their contributions.
28815 2012-05-21 Richard Henderson <rth@twiddle.net>
28817 * misc/getauxval.c (__getauxval): Use unsigned long int.
28818 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28819 (getauxval): Use unsigned long int.
28821 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28823 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28825 2012-05-21 Roland McGrath <roland@hack.frob.com>
28827 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28828 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28829 __alignof__ (long double).
28831 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28835 2012-05-20 Richard Henderson <rth@twiddle.net>
28837 * misc/getauxval.c: New file.
28838 * misc/sys/auxv.h: New file.
28839 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28840 (routines): Add getauxval.
28841 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28842 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28843 * elf/dl-sysdep.c (_dl_auxv): Remove.
28844 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28845 * elf/dl-support.c (_dl_auxv): New variable.
28846 (_dl_aux_init): Initialize it.
28847 * manual/startup.texi (Auxiliary Vector): New node.
28848 * sysdeps/generic/bits/hwcap.h: New file.
28849 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28850 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28851 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28852 * sysdeps/sparc/sysdep.h: ... here. Include it.
28853 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28854 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28860 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28866 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28870 2012-05-19 David S. Miller <davem@davemloft.net>
28872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28874 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28877 * math/s_ccosh.c: Include <float.h>
28878 (__ccosh): Avoid internal overflow calculating sinh and cosh
28879 values before multiplying by sin and cos values.
28880 * math/s_ccoshf.c: Likewise.
28881 * math/s_ccoshl.c: Likewise.
28882 * math/s_csin.c: Likewise.
28883 * math/s_csinf.c: Likewise.
28884 * math/s_csinl.c: Likewise.
28885 * math/s_csinh.c: Likewise.
28886 * math/s_csinhf.c: Likewise.
28887 * math/s_csinhl.c: Likewise.
28888 * math/libm-test.inc (ccos_test): Add more tests.
28889 (ccosh_test): Likewise.
28890 (csin_test): Likewise.
28891 (csinh_test): Likewise.
28892 * sysdeps/i386/fpu/libm-test-ulps: Update.
28893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28895 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28897 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28898 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28900 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28902 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28904 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28905 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28906 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28907 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28908 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28909 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28910 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28911 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28912 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28913 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28914 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28915 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28916 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28917 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28918 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28919 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28920 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28921 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28922 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28923 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28924 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28925 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28926 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28927 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28928 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28929 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28930 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28931 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28932 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28933 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28934 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28936 2012-05-18 Andreas Jaeger <aj@suse.de>
28938 * csu/.gitignore: Delete.
28940 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28942 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28943 (timex): Use __syscall_slong_t.
28945 2012-05-18 Andreas Jaeger <aj@suse.de>
28946 Carlos O'Donell <carlos_odonell@mentor.com>
28948 * manual/install.texi (Configuring and compiling): Update
28949 description about files modified in the source directory.
28950 * INSTALL: Regenerated.
28952 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28954 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28955 value. Use "or" to set return value to -1.
28956 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28957 negate return value.
28959 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28961 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28962 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28963 failure if the compiler has Graphite support disabled.
28964 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28966 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28967 (CFLAGS-memmove.c): Likewise.
28968 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28971 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28973 * sysdeps/x86_64/x32/_itoa.h: New file.
28975 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28976 getdents system call only if kernel and user dirents have the
28977 same d_ino and d_off.
28979 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28980 LLONG_MAX != LONG_MAX.
28981 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28982 (_fitoa_word): Likewise.
28984 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28986 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28987 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28988 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28990 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28991 include <bits/wordsize.h>. Check __x86_64__ instead of
28993 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28994 if __x86_64__ is defined. Use anonymous union on fpstate.
28996 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28999 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29001 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29002 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29003 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29004 Refer to _rtld_local_ro instead of _rtld_global_ro.
29005 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29007 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29009 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29011 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29012 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29013 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29015 * sysdeps/powerpc/powerpc32/dl-machine.c
29016 (__elf_machine_runtime_setup) [PROF]: Don't reference
29019 2012-05-18 Andreas Jaeger <aj@suse.de>
29021 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29022 function only available for GCCs before 3.4 since GCC 3.4
29023 introduced a builtin.
29025 (llrintf): Likewise.
29026 (llrint): Likewise.
29033 (nearbyint): Likewise.
29034 (nearbyintf): Likewise.
29038 (floorf): Likewise.
29040 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29042 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29043 on both fields and cast pointer to __syscall_ulong_t.
29045 * bits/types.h (__fsword_t): New type.
29046 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29047 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29048 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29049 (__FSWORD_T_TYPE): Likewise.
29050 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29051 (__FSWORD_T_TYPE): Likewise.
29052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29053 (__FSWORD_T_TYPE): Likewise.
29054 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29055 (__FSWORD_T_TYPE): Likewise.
29056 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29057 __SWORD_TYPE with __fsword_t.
29058 (statfs64): Likewise.
29060 2012-05-17 David S. Miller <davem@davemloft.net>
29062 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29064 2012-05-17 Andreas Jaeger <aj@suse.de>
29066 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29069 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29071 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29073 2012-05-17 Andreas Jaeger <aj@suse.de>
29075 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29078 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29080 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29082 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29084 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29085 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29087 2012-05-17 Andreas Jaeger <aj@suse.de>
29088 Carlos O'Donell <carlos_odonell@mentor.com>
29091 * sysdeps/x86_64/multiarch/init-arch.h
29092 (bit_YMM_Usable): Rename to...
29093 (bit_AVX_Usable): ... this.
29094 (bit_FMA4_Usable): New macro.
29095 (bit_XMM_state): New macro.
29096 (bit_YMM_state): New macro.
29097 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29098 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29099 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29100 (CPUID_OSXSAVE): New macro.
29101 (CPUID_AVX): New macro.
29102 (CPUID_FMA4): New macro.
29103 (index_YMM_Usable): Rename to...
29104 (index_AVX_Usable): ... this.
29105 (HAS_AVX): Use HAS_ARCH_FEATURE.
29106 (HAS_FMA4): Likewise.
29107 (HAS_YMM_USABLE): Remove.
29108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29109 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29111 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29112 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29113 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29114 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29115 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29117 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29119 * math/libm-test.c: Support platforms without multiple rounding modes.
29120 * math/bug-nextafter.c: Support platforms without FP exceptions.
29121 * math/bug-nexttoward.c: Likewise.
29122 * math/test-fenv.c: Likewise.
29123 * math/test-misc.c: Likewise.
29124 * stdlib/bug-getcontext.c: Likewise.
29126 2012-05-17 Andreas Jaeger <aj@suse.de>
29128 * manual/examples/search.c (critter_cmp): Change signature to
29130 * manual/string.texi (Collation Functions): Likewise.
29132 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29134 * bits/types.h: Fold copyright years.
29135 * bits/typesizes.h: Likewise.
29136 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29138 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29140 * time/time.h: Likewise.
29142 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29145 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29146 in instead of returning them. Return void.
29147 (__libc_mallinfo): Accumulate over all arenas.
29148 (__malloc_stats): Adjust for change in int_mallinfo interface.
29150 2012-05-16 Roland McGrath <roland@hack.frob.com>
29153 * configure.in (NM): Add AC_CHECK_TOOL for it.
29154 (libc_extra_cflags): New substituted variable.
29155 Check for -fstack-protector being used implicitly.
29156 * configure: Regenerated.
29157 * config.make.in (config-extra-cflags): New variable,
29158 gets @libc_extra_cflags@.
29159 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29162 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29163 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29164 * configure: Regenerated.
29165 * config.make.in (CPPUNDEFS): New substituted variable.
29166 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29167 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29168 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29170 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29172 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29173 (mq_attr): Use __syscall_slong_t.
29175 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29177 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29178 Check __x86_64__ instead of __WORDSIZE.
29179 (_STAT_VER_LINUX): Likewise.
29180 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29181 __syscall_ulong_t and __syscall_slong_t.
29182 (stat64): Likewise.
29184 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29186 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29188 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29190 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29192 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29194 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29197 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29198 include <bits/wordsize.h>. Check __x86_64__ instead of
29200 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29202 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29204 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29205 include <bits/wordsize.h>. Check __x86_64__ instead of
29207 (user_regs_struct): Use "__extension__ unsigned long long"
29208 instead of "unsigned long" if __x86_64__ is defined.
29209 (user): Likewise. Pad after pointer field if __ILP32__ is
29212 2012-05-16 Joseph Myers <joseph@codesourcery.com>
29214 * configure.in (makeinfo): Require version 4.5 or later. Allow
29216 * configure: Regenerated.
29217 * manual/install.texi (texinfo): Increase version requirement to
29219 * INSTALL: Regenerated.
29221 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29223 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29225 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29227 * sysdeps/x86_64/x32/ffs.c: New file.
29229 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29231 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29232 defined. Use __syscall_ulong_t.
29233 (shminfo): Use __syscall_ulong_t.
29234 (shm_info): Likewise.
29236 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29239 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29241 (msgqnum_t): Use __syscall_ulong_t.
29242 (msglen_t): Likewise.
29243 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29246 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29247 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29249 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29251 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29252 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29254 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29257 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29258 include <bits/wordsize.h>. Check __x86_64__ instead of
29261 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29262 "unsigned long long int" if __x86_64__ is defined.
29263 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29265 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29266 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29267 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29269 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29271 (GET_PC): Cast to uintptr_t first.
29272 (GET_FRAME): Likewise.
29273 (GET_STACK): Likewise.
29275 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29276 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29277 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29278 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29279 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29280 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29281 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29282 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29283 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29284 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29285 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29286 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29287 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29288 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29289 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29290 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29291 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29292 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29293 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29294 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29295 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29296 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29297 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29298 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29299 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29300 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29301 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29302 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29303 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29305 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29307 * Makerules (+depfiles): Also collect depfiles from .oS in
29309 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29310 .oS, $(libnldbl-routines)).
29312 * Makerules (native-compile-mkdep-flags): Define.
29313 * sunrpc/Makefile (extra-objs): Add $(addprefix
29314 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29315 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29316 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29317 calling $(make-target-directory).
29319 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29321 * bits/types.h (__snseconds_t): Removed.
29322 * time/time.h (struct timespec): Replace __snseconds_t with
29324 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29325 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29327 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29328 (__SNSECONDS_T_TYPE): Likewise.
29329 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29330 (__SNSECONDS_T_TYPE): Likewise.
29331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29332 (__SNSECONDS_T_TYPE): Likewise.
29334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29336 * sysdeps/mach/hurd/bits/typesizes.h
29337 (__SYSCALL_SLONG_TYPE): New macro.
29338 (__SYSCALL_ULONG_TYPE): Likewise.
29340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29342 * bits/types.h (__syscall_slong_t): New type.
29343 (__syscall_ulong_t): Likewise.
29345 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29346 (__SYSCALL_ULONG_TYPE): Likewise.
29347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29348 (__SYSCALL_SLONG_TYPE): Likewise.
29349 (__SYSCALL_ULONG_TYPE): Likewise.
29350 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29351 (__SYSCALL_SLONG_TYPE): Likewise.
29352 (__SYSCALL_ULONG_TYPE): Likewise.
29353 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29354 (__SYSCALL_SLONG_TYPE): Likewise.
29355 (__SYSCALL_ULONG_TYPE): Likewise.
29357 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29359 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29360 Add sigaltstack-offsets.sym.
29361 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29362 <sigaltstack-offsets.h>.
29363 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29364 longjmp_msg pointer.
29365 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29366 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29368 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29370 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29372 * elf/stackguard-macros.h: Remove file.
29373 * sysdeps/generic/stackguard-macros.h: New file.
29374 * sysdeps/i386/stackguard-macros.h: Likewise.
29375 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29376 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29377 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29378 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29379 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29380 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29381 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29382 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29383 <elf/stackguard-macros.h>.
29386 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29387 __aligned__ in attribute.
29388 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29389 (gregset_t): Likewise.
29391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29393 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29394 * sysdeps/x86_64/64/Implies-after: Here. New file.
29395 * sysdeps/x86_64/x32/Implies-after: New file.
29397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29399 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29400 and access return value for _dl_profile_fixup. Use R10_LP to
29403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29405 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29409 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29410 * sysdeps/x86_64/x32/sysdep.h: New file.
29412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29414 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29415 * sysdeps/x86_64/setjmp.S: Likewise.
29417 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29419 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29420 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29421 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29422 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29423 remove unused global constant.
29425 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29427 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29428 include of <not-cancel.h>.
29430 2012-05-15 Roland McGrath <roland@hack.frob.com>
29432 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29434 2012-05-15 Jeff Law <law@redhat.com>
29435 Andreas Jaeger <aj@suse.de>
29438 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29440 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29441 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29442 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29443 code changing __hst_map_handle.map.
29445 2012-05-15 Roland McGrath <roland@hack.frob.com>
29447 * configure.in (sysnames): Look for Implies-before and Implies-after
29449 * configure: Regenerated.
29451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29453 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29454 8-byte data alignment with LP_SIZE alignment.
29456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29458 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29461 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29463 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29467 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29468 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29469 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29471 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29475 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29476 (stackinfo_sub_sp): Likewise.
29478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29480 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29485 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29490 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29493 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29495 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29497 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29499 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29500 into R11_LP and load __x86_64_shared_cache_size_half into
29503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29505 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29508 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29514 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29516 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29517 powerpc32/power7/fpu/s_logb.c via #include.
29518 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29519 powerpc32/power7/fpu/s_logbf.c via #include.
29520 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29521 powerpc32/power7/fpu/s_logbl.c via #include.
29523 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29525 * README.libm: Remove file.
29527 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29529 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29530 count for x32. Use R*_LP and omit operand-size suffix.
29532 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29534 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29535 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29536 * sysdeps/x86_64/x32/shlib-versions: New file.
29538 2012-05-14 Roland McGrath <roland@hack.frob.com>
29540 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29541 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29542 Use _dl_fatal_printf instead.
29544 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29546 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29547 set if not set by the user. Do not allow for being unset.
29548 * sysdeps/unix/sysv/linux/configure: Regenerated.
29550 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29552 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29553 the `q' suffix from lea and replace .quad with ASM_ADDR.
29555 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29558 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29560 (PTR_DEMANGLE): Likewise.
29562 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29564 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29566 (ASM_ADDR): Likewise.
29567 (RAX_LP): Likewise.
29568 (RBP_LP): Likewise.
29569 (RBX_LP): Likewise.
29570 (RCX_LP): Likewise.
29571 (RDI_LP): Likewise.
29572 (RSI_LP): Likewise.
29573 (RSP_LP): Likewise.
29576 (R10_LP): Likewise.
29577 (R10_LP): Likewise.
29578 (R11_LP): Likewise.
29579 (R12_LP): Likewise.
29580 (R13_LP): Likewise.
29581 (R14_LP): Likewise.
29582 (R15_LP): Likewise.
29584 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29586 * sysdeps/x86_64/x32/dl-machine.h: New file.
29588 2012-05-14 Andreas Jaeger <aj@suse.de>
29590 * manual/Makefile (subdir): Remove export of subdir.
29591 (all): Remove target.
29592 (.PHONY): Remove all from list.
29593 (mkinstalldirs): Remove.
29594 (.PHONY): Remove installdirs from list.
29595 ($(inst_infodir)/libc.info): Use make-target-directory.
29596 (installdirs): Remove.
29597 (subdir_%): Remove.
29598 (glibc-targets): Remove.
29601 ($(objpfx)stubs ../po/manual.pot): Remove.
29602 ($(objpfx)stamp%): Remove.
29603 (make-target-directory): Remove.
29604 (subdir_install): Remove.
29605 (routines): Remove.
29612 * manual/.gitignore: Remove, it's not needed anymore.
29613 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29615 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29617 (texis): Renamed to $(objpfx)texis.
29618 (texis-path): New, contains path to generated files.
29619 (chapters.%): Use texis-path for complete path, add extra argument
29621 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29622 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29623 (summary,texi, stamp-summary): Use complete path of
29624 files. Generate files in build dir.
29625 (dir-add.texi): Build in build dir.
29626 (libm-err.texi,stamp-libm-err): Likewise.
29627 (version.texi, stamp-version): Likewise.
29628 (.%c.texi): Likewise.
29629 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29630 (mostlyclean): Remove target.
29631 (realclean): Remove target.
29632 (generated): Add new variable with contents from mostlyclean and
29633 realclean, remove entries duplicated in common-mostlyclean, add
29634 stamp-libm-err and stamp-version.
29635 (generated-dirs): Add libc directory.
29636 ($(inst_infodir)/libc.info): Install files from build dir.
29638 * manual/install.texi (Configuring and compiling): Adjust since
29639 the info files are not part of the tar ball anymore.
29641 2012-05-14 Andreas Jaeger <aj@suse.de>
29643 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29646 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29649 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29650 to 2.2.0 where earlier.
29651 * sysdeps/unix/sysv/linux/configure: Regenerated.
29652 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29653 Remove conditional code.
29654 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29655 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29656 Remove conditional code.
29657 [!__NR_lchown]: Likewise.
29658 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29659 [__NR_lchown]: Likewise.
29660 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29661 comment referencing __ASSUME_LCHOWN_SYSCALL.
29662 * sysdeps/unix/sysv/linux/i386/sigaction.c
29663 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29664 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29665 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29666 Remove conditional code.
29667 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29668 (__protocol_available): Remove #if 0 code.
29669 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29671 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29672 * sysdeps/unix/sysv/linux/kernel-features.h
29673 (__ASSUME_GETCWD_SYSCALL): Don't define.
29674 (__ASSUME_REALTIME_SIGNALS): Likewise.
29675 (__ASSUME_PREAD_SYSCALL): Likewise.
29676 (__ASSUME_PWRITE_SYSCALL): Likewise.
29677 (__ASSUME_POLL_SYSCALL): Likewise.
29678 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29679 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29681 (__ASSUME_SIOCGIFNAME): Don't define.
29682 (__ASSUME_MSG_NOSIGNAL): Likewise.
29683 (__ASSUME_SENDFILE): Define unconditionally.
29684 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29685 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29687 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29688 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29689 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29690 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29691 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29692 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29693 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29695 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29696 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29698 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29699 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29701 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29702 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29704 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29705 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29707 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29708 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29710 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29711 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29713 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29714 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29716 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29717 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29718 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29719 Remove conditional code.
29720 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29721 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29722 Remove conditional code.
29723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29724 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29725 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29726 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29727 Remove conditional code.
29728 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29729 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29730 Remove conditional code.
29731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29732 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29733 Remove conditional code.
29734 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29735 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29736 Remove conditional code.
29737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29738 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29739 Remove conditional code.
29740 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29741 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29742 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29744 * sysdeps/unix/sysv/linux/sigaction.c
29745 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29746 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29747 * sysdeps/unix/sysv/linux/sigpending.c
29748 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29749 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29750 * sysdeps/unix/sysv/linux/sigprocmask.c
29751 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29752 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29753 * sysdeps/unix/sysv/linux/sigsuspend.c
29754 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29755 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29756 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29757 (__libc_missing_rt_sigs): Remove.
29758 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29759 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29760 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29761 Remove conditional code.
29762 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29763 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29765 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29766 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29767 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29768 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29770 2012-05-14 Andreas Jaeger <aj@suse.de>
29772 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29773 it's not used in glibc.
29774 (__coshm1): Likewise.
29775 (__acosh1p): Likewise.
29778 * manual/string.texi (Copying and Concatenation): Add missing
29779 variable in concat example.
29780 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29782 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29785 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29786 __builtin_clzl with __builtin_clzll.
29788 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29791 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29794 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29796 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29797 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29798 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29799 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29801 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29803 * NEWS: Update ia64 info.
29805 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29807 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29810 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29812 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29813 * sysdeps/unix/syscalls.list (dup3): Likewise.
29814 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29815 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29817 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29819 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29820 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29822 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29824 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29826 (TLS_IE): Use mov/add instead of movq/addq to load thread
29828 (TLS_GD_PREFIX): New.
29831 2012-05-11 David S. Miller <davem@davemloft.net>
29833 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29834 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29835 (_FPU_SETCW): Likewise.
29837 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29839 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29840 is 32-byte aligned.
29842 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29845 * iconvdata/gb18030.c: Update tables.
29846 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29847 characters specially.
29848 (BODY for TO_LOOP): Add encoding of missing ranges.
29850 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29853 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29854 * sysdeps/mach/hurd/dup3.c: Likewise.
29855 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29856 * sysdeps/powerpc/memmove.c:: Likewise.
29858 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29860 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29861 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29863 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29865 * elf/elf.h (R_X86_64_RELATIVE64): New.
29866 (R_X86_64_NUM): Updated.
29867 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29868 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29869 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29870 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29871 tst-quad1pie tst-quad2pie
29872 (modules-names): Add tst-quadmod1 tst-quadmod2.
29873 ($(objpfx)tst-quad1): New dependency.
29874 ($(objpfx)tst-quad2): Likewise.
29875 ($(objpfx)tst-quad1pie): Likewise.
29876 ($(objpfx)tst-quad2pie): Likewise.
29877 * sysdeps/x86_64/tst-quad1.c: New file.
29878 * sysdeps/x86_64/tst-quad1pie.c: New file.
29879 * sysdeps/x86_64/tst-quad2.c: Likewise.
29880 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29881 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29882 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29883 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29884 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29886 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29888 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29889 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29890 * streams/stropts.h (t_scalar_t): Define type.
29892 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29893 (_PATH_PRESERVE): Set to "/var/lib".
29894 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29896 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29899 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29900 if __dir_mkfile succeeded.
29902 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29903 checking for _hurd_dtablesize. Unlock it right after having
29904 finished _hurd_dtable allocation.
29906 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29908 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29909 * sysdeps/mach/hurd/configure: Regenerated.
29910 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29911 special-casing to...
29912 * sysdeps/gnu/configure.in: ... this new file.
29913 * sysdeps/unix/sysv/linux/configure: Regenerated.
29914 * sysdeps/gnu/configure: New generated file.
29916 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29917 for Linux: use nsec instead of usec, as well as:
29918 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29919 members of type struct timespec.
29920 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29922 (struct stat64): Likewise.
29923 (_STATBUF_ST_NSEC): New macro.
29924 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29926 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29927 __strtoul_internal rather than strtoul.
29929 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29931 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29934 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29936 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29937 which preserves existing values.
29938 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29940 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29942 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29943 TIMEOUT values. Return EINVAL for NFDS values either negative or
29944 greater than FD_SETSIZE.
29946 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29948 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29949 allocated, call __vm_protect to finish enabling the existing space, and
29950 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29951 allocate the remainder.
29953 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29955 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29956 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29958 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29960 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29961 sysdeps/mach/hurd/readlink.c.
29963 * posix/tst-sysconf.c (posix_options): Only use
29964 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29965 _POSIX_SYNCHRONIZED_IO when they are defined
29966 * sysdeps/mach/hurd/bits/posix_opt.h:
29967 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29968 (_XOPEN_REALTIME): Undefine macro.
29969 (_XOPEN_REALTIME_THREADS): Undefine macro.
29970 (_XOPEN_SHM): Undefine macro.
29971 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29973 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29975 (_POSIX_ASYNC_IO): Undefine macro.
29976 (_POSIX_PRIORITIZED_IO): Undefine macro.
29977 (_POSIX_SPIN_LOCKS): Define macro to -1.
29979 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29980 SA_NODEFER, SA_RESETHAND.
29981 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29982 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29985 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29987 * elf/Makefile (pldd-modules): Define unconditionally.
29989 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29991 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29993 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29995 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29996 Return ENOENT when name is empty.
29997 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29999 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30001 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30003 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30005 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30007 Fix mlock in all cases except non-readable pages.
30008 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30009 instead of VM_PROT_ALL as parameter to __vm_wire function.
30011 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30012 (__mkdir): When path is `/', just fail with EEXIST.
30013 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30015 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30017 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30018 <sys/uio.h> (for writev).
30019 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30020 and <sys/param.h> (for MIN).
30022 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30024 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30025 REQUESTED_TIME. Properly set the remaining time and return EINTR
30028 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30030 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30031 Depend on against $(link-rpcuserlibs).
30033 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30035 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30036 (__libc_stack_end): Do not use attribute_relro.
30037 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30038 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30039 to libthread-provided value.
30040 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30043 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30046 * bits/libc-lock.h (__libc_once_get): New macro.
30047 * sysdeps/mach/bits/libc-lock.h: Likewise.
30048 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30049 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30050 instead of using implementation details.
30052 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30053 * libio/freopen.c: Likewise.
30054 * libio/freopen64.c: Likewise.
30055 * misc/syslog.c: Likewise.
30056 * nscd/connections.c: Likewise.
30057 * nscd/netgroupcache.c: Likewise.
30058 * sysdeps/posix/getcwd.c: Likewise.
30060 2012-05-10 Roland McGrath <roland@hack.frob.com>
30062 * math/w_ilogbf.c: Add #include <limits.h>.
30064 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30066 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30067 path instead of returning without unlocking.
30069 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30070 immediate-write ioctls.
30071 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30073 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30075 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30076 __builtin_frame_address instead of making assumptions about the
30077 location of the return address relative to DATA. Force early load of
30078 the return address.
30079 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30080 __builtin_frame_address.
30083 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30084 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30085 implement dup3 and do some further code clean-ups.
30086 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30087 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30089 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30091 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30093 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30094 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30095 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30096 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30097 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30100 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30101 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30102 when handler == SIG_ERR, not when handler != SIG_ERR.
30104 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30106 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30107 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30110 accept4 for GNU Hurd.
30111 * include/sys/socket.h (__libc_accept4): New prototype.
30112 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30113 to implement __libc_accept4.
30114 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30116 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30118 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30119 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30120 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30121 signal-defines.sym.
30123 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30125 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30127 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30129 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30130 assertion on O_CLOEXEC flag.
30131 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30132 * hurd/intern-fd.c: Likewise.
30133 * hurd/port2fd.c: Likewise.
30135 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30138 * bits/in.h (IPV6_PKTINFO): Define new macro.
30139 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30141 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30146 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30148 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30149 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30150 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30151 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30152 * math/libm-test.inc (logb_test) : Additional logb tests.
30154 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30155 Andreas Jaeger <aj@suse.de>
30157 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30158 * configure: Regenerated.
30159 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30160 * config.make.in (link-obsolete-rpc): New substituted variable.
30161 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30162 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30163 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30164 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30165 so that libc.a contains the symbols.
30166 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30167 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30168 * sunrpc/auth_none.c: Likewise.
30169 * sunrpc/auth_unix.c: Likewise.
30170 * sunrpc/authdes_prot.c: Likewise.
30171 * sunrpc/authuxprot.c: Likewise.
30172 * sunrpc/clnt_gen.c: Likewise.
30173 * sunrpc/clnt_perr.c: Likewise.
30174 * sunrpc/clnt_raw.c: Likewise.
30175 * sunrpc/clnt_simp.c: Likewise.
30176 * sunrpc/clnt_tcp.c: Likewise.
30177 * sunrpc/clnt_udp.c: Likewise.
30178 * sunrpc/clnt_unix.c: Likewise.
30179 * sunrpc/des_crypt.c: Likewise.
30180 * sunrpc/des_soft.c: Likewise.
30181 * sunrpc/get_myaddr.c: Likewise.
30182 * sunrpc/key_call.c: Likewise.
30183 * sunrpc/key_prot.c: Likewise.
30184 * sunrpc/netname.c: Likewise.
30185 * sunrpc/pm_getmaps.c: Likewise.
30186 * sunrpc/pm_getport.c: Likewise.
30187 * sunrpc/pmap_clnt.c: Likewise.
30188 * sunrpc/pmap_prot.c: Likewise.
30189 * sunrpc/pmap_prot2.c: Likewise.
30190 * sunrpc/pmap_rmt.c: Likewise.
30191 * sunrpc/publickey.c: Likewise.
30192 * sunrpc/rpc_cmsg.c: Likewise.
30193 * sunrpc/rpc_common.c: Likewise.
30194 * sunrpc/rpc_dtable.c: Likewise.
30195 * sunrpc/rpc_prot.c: Likewise.
30196 * sunrpc/rpc_thread.c: Likewise.
30197 * sunrpc/rtime.c: Likewise.
30198 * sunrpc/svc.c: Likewise.
30199 * sunrpc/svc_auth.c: Likewise.
30200 * sunrpc/svc_raw.c: Likewise.
30201 * sunrpc/svc_run.c: Likewise.
30202 * sunrpc/svc_tcp.c: Likewise.
30203 * sunrpc/svc_udp.c: Likewise.
30204 * sunrpc/svc_unix.c: Likewise.
30205 * sunrpc/svcauth_des.c: Likewise.
30206 * sunrpc/xcrypt.c: Likewise.
30207 * sunrpc/xdr.c: Likewise.
30208 * sunrpc/xdr_array.c: Likewise.
30209 * sunrpc/xdr_float.c: Likewise.
30210 * sunrpc/xdr_intXX_t.c: Likewise.
30211 * sunrpc/xdr_mem.c: Likewise.
30212 * sunrpc/xdr_rec.c: Likewise.
30213 * sunrpc/xdr_ref.c: Likewise.
30214 * sunrpc/xdr_sizeof.c: Likewise.
30215 * sunrpc/xdr_stdio.c: Likewise.
30217 2012-05-10 Roland McGrath <roland@hack.frob.com>
30219 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30220 change. Update copyright years.
30222 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30224 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30226 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30227 Joseph Myers <joseph@codesourcery.com>
30228 Paul Pluzhnikov <ppluzhnikov@google.com>
30231 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30233 [cross-compiling] (extra-libs): Likewise.
30234 [cross-compiling] (extra-libs-others): Likewise.
30235 [cross-compiling] (librpcsvc-routines): Likewise.
30236 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30237 [cross-compiling] (omit-deps): Likewise.
30238 (sunrpc-CPPFLAGS): New variable.
30239 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30240 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30241 (cross-rpcgen-objs): New variable.
30242 (extra-objs): Append $(cross-rpcgen-objs).
30243 ($(cross-rpcgen-objs)): New rule.
30244 ($(objpfx)cross-rpcgen): Likewise.
30245 (rpcgen-cmd): Define to use $(built-program-file). Expand
30247 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30248 ($(objpfx)x%.stmp): Likewise.
30249 * sunrpc/proto.h [IS_IN_build] (_): Define.
30250 [IS_IN_build] (_libc_intl_domainname): Likewise.
30252 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30254 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30255 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30256 and R_X86_64_TPOFF64.
30258 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30260 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30261 sysdeps/unix/sysv/syscalls.list.
30264 * sysdeps/unix/sysv/syscalls.list: Remove file.
30266 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30269 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30270 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30271 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30272 (__LC_IDENTIFICATION): Make these macros useful in #if
30273 expressions, as required by C99.
30275 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30277 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30278 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30281 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30283 * stdlib/longlong.h: Updated from GCC.
30285 2012-05-09 Andreas Jaeger <aj@suse.de>
30287 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30288 default is first entry.
30289 (run_mode): Set type.
30290 (main): Remove informal message about syslog.
30291 (options): Fix typo.
30294 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30297 (llrintf): Likewise.
30298 (llrint): Likewise.
30301 (nearbyint): Likewise.
30302 (nearbyintf): Likewise.
30304 2012-05-09 Andreas Jaeger <aj@suse.de>
30305 Pedro Alves <palves@redhat.com>
30307 * nscd/nscd.c (run_mode): Use enum.
30308 (main): Cleanup coding style issue.
30310 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30311 Andreas Jaeger <aj@suse.de>
30313 * nscd/nscd.c (go_background): Replaced with...
30314 (run_mode): ... this.
30315 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30316 (options): Add -F --foreground.
30317 (main): Implement it.
30318 (parse_opt): Parse it.
30320 2012-05-09 Andreas Jaeger <aj@suse.de>
30323 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30324 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30325 -Wconversion warning.
30326 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30329 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30331 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30333 (LC_ALL): Use macro-int-constant.
30334 (LC_COLLATE): Likewise.
30335 (LC_CTYPE): Likewise.
30336 (LC_MESSAGES): Likewise.
30337 (LC_MONETARY): Likewise.
30338 (LC_NUMERIC): Likewise.
30339 (LC_TIME): Likewise.
30340 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30341 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30342 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30343 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30345 [C99-based standards] (float_t): Expect type.
30346 [C99-based standards] (double_t): Expect type.
30347 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30349 [C99-based standards] (HUGE_VALL): Likewise.
30350 [C99-based standards] (INFINITY): Likewise.
30351 [C99-based standards] (NAN): Likewise.
30352 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30353 [C99-based standards] (FP_NAN): Likewise.
30354 [C99-based standards] (FP_NORMAL): Likewise.
30355 [C99-based standards] (FP_SUBNORMAL): Likewise.
30356 [C99-based standards] (FP_ZERO): Likewise.
30357 [C99-based standards] (FP_FAST_FMA): Use
30358 optional-macro-int-constant. Specify type. Require == 1.
30359 [C99-based standards] (FP_FAST_FMAF): Likewise.
30360 [C99-based standards] (FP_FAST_FMAL): Likewise.
30361 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30362 [C99-based standards] (FP_ILOGBNAN): Likewise.
30363 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30365 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30366 [C99-based standards] (math_errhandling): Specify type.
30367 [ISO99 || ISO11] (signgam): Do not allow.
30368 [non-C99-based standards] (copysignf): Do not allow.
30369 [non-C99-based standards] (exp2f): Likewise.
30370 [non-C99-based standards] (log2f): Likewise.
30371 [non-C99-based standards] (modff): Allow.
30372 [non-C99-based standards] (erff): Do not allow.
30373 [non-C99-based standards] (erfcf): Likewise.
30374 [non-C99-based standards] (gammaf): Likewise.
30375 [non-C99-based standards] (hypotf): Likewise.
30376 [non-C99-based standards] (j0f): Likewise.
30377 [non-C99-based standards] (j1f): Likewise.
30378 [non-C99-based standards] (jnf): Likewise.
30379 [non-C99-based standards] (lgammaf): Likewise.
30380 [non-C99-based standards] (tgammaf): Likewise.
30381 [non-C99-based standards] (y0f): Likewise.
30382 [non-C99-based standards] (y1f): Likewise.
30383 [non-C99-based standards] (ynf): Likewise.
30384 [non-C99-based standards] (isnanf): Likewise.
30385 [non-C99-based standards] (acoshf): Likewise.
30386 [non-C99-based standards] (asinhf): Likewise.
30387 [non-C99-based standards] (atanhf): Likewise.
30388 [non-C99-based standards] (cbrtf): Likewise.
30389 [non-C99-based standards] (expm1f): Likewise.
30390 [non-C99-based standards] (ilogbf): Likewise.
30391 [non-C99-based standards] (log1pf): Likewise.
30392 [non-C99-based standards] (logbf): Likewise.
30393 [non-C99-based standards] (nextafterf): Likewise.
30394 [non-C99-based standards] (remainderf): Likewise.
30395 [non-C99-based standards] (rintf): Likewise.
30396 [non-C99-based standards] (scalbf): Likewise.
30397 [non-C99-based standards] (copysignl): Likewise.
30398 [non-C99-based standards] (exp2l): Likewise.
30399 [non-C99-based standards] (log2l): Likewise.
30400 [non-C99-based standards] (modfl): Allow.
30401 [non-C99-based standards] (erfl): Do not allow.
30402 [non-C99-based standards] (erfcl): Likewise.
30403 [non-C99-based standards] (gammal): Likewise.
30404 [non-C99-based standards] (hypotl): Likewise.
30405 [non-C99-based standards] (j0l): Likewise.
30406 [non-C99-based standards] (j1l): Likewise.
30407 [non-C99-based standards] (jnl): Likewise.
30408 [non-C99-based standards] (lgammal): Likewise.
30409 [non-C99-based standards] (tgammal): Likewise.
30410 [non-C99-based standards] (y0l): Likewise.
30411 [non-C99-based standards] (y1l): Likewise.
30412 [non-C99-based standards] (ynl): Likewise.
30413 [non-C99-based standards] (isnanl): Likewise.
30414 [non-C99-based standards] (acoshl): Likewise.
30415 [non-C99-based standards] (asinhl): Likewise.
30416 [non-C99-based standards] (atanhl): Likewise.
30417 [non-C99-based standards] (cbrtl): Likewise.
30418 [non-C99-based standards] (expm1l): Likewise.
30419 [non-C99-based standards] (ilogbl): Likewise.
30420 [non-C99-based standards] (log1pl): Likewise.
30421 [non-C99-based standards] (logbl): Likewise.
30422 [non-C99-based standards] (nextafterl): Likewise.
30423 [non-C99-based standards] (remainderl): Likewise.
30424 [non-C99-based standards] (rintl): Likewise.
30425 [non-C99-based standards] (scalbl): Likewise.
30426 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30427 [non-C99-based standards] (FP_*): Do not allow.
30428 [C99-based standards] (FP_*): Change to
30429 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30430 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30432 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30433 (SIG_ERR): Likewise.
30434 [X/Open-based standards] (SIG_HOLD): Likewise.
30435 (SIG_IGN): Likewise.
30436 (SIGABRT): Use macro-int-constant. Specify type. Require
30438 (SIGFPE): Likewise.
30439 (SIGILL): Likewise.
30440 (SIGINT): Likewise.
30441 (SIGSEGV): Likewise.
30442 (SIGTER): Likewise.
30443 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30444 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30445 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30446 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30447 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30448 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30449 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30450 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30451 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30452 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30453 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30454 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30455 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30456 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30457 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30458 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30459 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30460 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30461 [X/Open-based standards] (SIGTRAP): Likewise.
30462 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30463 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30464 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30465 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30466 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30469 2012-05-08 Ian Wienand <ianw@vmware.com>
30472 * time/tzset.c (__tzset_parse_tz): Update default rules for
30473 daylight time changes in the Energy Policy Act of 2005.
30475 2012-05-09 Andreas Jaeger <aj@suse.de>
30478 * elf/ldconfig.c (parse_conf): Change string to make clear that
30479 ldconfig only issued a warning if ld.so.conf does not exist.
30481 2012-05-08 David S. Miller <davem@davemloft.net>
30483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30484 movxtod instead of popping the value on the stack.
30486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30488 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30490 * config.h.in: Add HAVE_ARM_PCS_VFP.
30492 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30495 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30496 checking but the checks are disabled for any reason.
30498 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30500 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30501 and ELF64_R_TYPE with ELFW(R_TYPE).
30503 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30505 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30506 (ulimit): Likewise.
30508 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30509 (settimeofday): Likewise.
30511 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30513 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30514 a struct th_u2 inside the union, and move tu_block/tu_code into
30515 a new th_u3 union of tu_block/tu_code inside of that. Move
30516 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30517 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30518 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30519 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30520 (th_stuff): Change to th_u1.tu_stuff.
30522 (th_msg): Change to th_u1.th_u2.tu_data.
30524 2012-05-07 David S. Miller <davem@davemloft.net>
30526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30529 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30530 (SETUP_PIC_REG): Use it.
30531 (SETUP_PIC_REG_LEAF): Use it.
30533 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30537 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30539 (EXPL_FINITE): Likewise.
30540 (FLDLOG): Likewise.
30541 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30542 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30544 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30546 (EXPL_FINITE): Likewise.
30547 (FLDLOG): Likewise.
30548 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30549 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30551 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30552 test of -max_value argument for long double.
30553 * sysdeps/i386/fpu/libm-test-ulps: Update.
30554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30556 2012-05-06 David S. Miller <davem@davemloft.net>
30558 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30559 quad soft-float symbols whose references which are compiler
30561 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30563 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30567 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30569 (EXPL_FINITE): Likewise.
30570 (FLDLOG): Likewise.
30573 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30574 Adjust comments for base varying.
30575 (__expl_finite): Change alias to EXPL_FINITE.
30576 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30578 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30579 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30580 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30581 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30582 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30584 (EXPL_FINITE): Likewise.
30585 (FLDLOG): Likewise.
30588 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30589 Adjust comments for base varying.
30590 (__expl_finite): Change alias to EXPL_FINITE.
30591 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30596 * math/libm-test.inc (check_float_internal): Correct ulp
30597 calculation for subnormal expected results.
30599 2012-05-06 Andreas Jaeger <aj@suse.de>
30601 * Makeconfig (+math-flags): New, set to -frounding-math.
30602 (+cflags): Add +math-flags so that all of glibc gets compiled with
30605 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30607 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30609 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30615 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30616 (__ieee754_expl): Allow for and saturate large arguments.
30617 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30618 (u_threshold): Likewise.
30619 (__exp): Call __ieee754_exp before checking for overflow and
30621 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30622 (u_threshold): Likewise.
30623 (__expf): Call __ieee754_expf before checking for overflow and
30625 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30626 (u_threshold): Likewise.
30627 (__expl): Call __ieee754_expl before checking for overflow and
30629 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30630 (__ieee754_expl): Allow for and saturate large arguments.
30631 * math/libm-test.inc (exp_test): Add another test. Do not allow
30632 missing overflow exception on overflow.
30633 (expm1_test): Do not allow missing overflow exception on overflow.
30635 * sysdeps/i386/fpu/e_expl.c: Move to ...
30636 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30637 rather than using inline asm.
30638 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30639 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30640 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30642 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30645 (signal): Likewise.
30649 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30651 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30652 sysdeps/unix/common/syscalls.list.
30653 (fchmod): Likewise.
30654 (fchown): Likewise.
30655 (ftruncate): Likewise.
30656 (getrusage): Likewise.
30657 (gettimeofday): Likewise.
30658 (setpgid): Likewise.
30659 (setregid): Likewise.
30660 (setreuid): Likewise.
30661 (sigaction): Likewise.
30662 (truncate): Likewise.
30663 (vhangup): Likewise.
30664 * sysdeps/unix/common/syscalls.list: Remove file.
30665 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30666 * sysdeps/unix/sysv/linux/Implies: Likewise.
30668 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30670 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30672 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30676 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30679 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30682 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30685 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30688 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30691 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30694 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30698 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30702 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30705 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30709 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30713 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30715 * sysdeps/unix/common/bits/dirent.h: Remove file.
30716 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30718 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30719 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30720 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30721 * sysdeps/unix/bsd/isatty.c: Likewise.
30722 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30723 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30724 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30726 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30729 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30730 long double comparison inaccuracies.
30731 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30734 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30736 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30737 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30739 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30742 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30743 nonzero digits before rounding a hex value.
30744 * stdlib/tst-strtod.c (tests): Add another test.
30746 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30748 * sysdeps/s390/fpu/libm-test-ulps: Update.
30750 2012-05-03 Andreas Jaeger <aj@suse.de>
30752 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30753 does not get optimized out.
30754 (malloc_opt_barrier): New.
30756 2012-05-03 Andreas Jaeger <aj@suse.de>
30757 Roland McGrath <roland@hack.frob.com>
30759 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30760 intermediate file deletion.
30761 (generated): Add .symlist files.
30763 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30766 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30767 Redirect under this condition.
30768 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30769 [__USE_GNU] (__dprintf_chk): Not under this condition.
30770 [__USE_GNU] (__vdprintf_chk): Likewise.
30771 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30772 under this condition.
30773 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30774 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30775 [__USE_XOPEN2K8] (vdprintf): Likewise.
30776 [__USE_GNU] (__dprintf_chk): Not under this condition.
30777 [__USE_GNU] (__vdprintf_chk): Likewise.
30778 [__USE_GNU] (dprintf): Likewise.
30779 [__USE_GNU] (vdprintf): Likewise.
30781 2012-05-03 Roland McGrath <roland@hack.frob.com>
30783 * elf/Makefile (common-generated): Set this instead of generated for
30784 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30785 $(all-built-dso)-derived lists.
30787 2012-05-03 Andreas Jaeger <aj@suse.de>
30789 * sysdeps/i386/fpu/libm-test-ulps: Update.
30792 * FAQ.in: Likewise.
30793 * scripts/gen-FAQ.pl: Likewise.
30794 * manual/install.texi (Installation): Point to online location of
30796 * Makefile (files-for-dist): Remove FAQ.
30799 2012-05-02 Allan McRae <allan@archlinux.org>
30801 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30802 (LDFLAGS-reldepmod5.so): Likewise.
30803 (LDFLAGS-reldep6mod1.so): Likewise.
30804 (LDFLAGS-reldep6mod4.so): Likewise.
30805 (LDFLAGS-reldep8mod3.so): Likewise.
30806 (LDFLAGS-unload4mod1.so): Likewise.
30807 (LDFLAGS-unload4mod2.so): Likewise.
30808 (LDFLAGS-tst-initorder): Likewise.
30809 (LDFLAGS-tst-initordera2.so): Likewise.
30810 (LDFLAGS-tst-initordera3.so): Likewise.
30811 (LDFLAGS-tst-initordera4.so): Likewise.
30812 (LDFLAGS-tst-initorderb2.so): Likewise.
30813 (LDFLAGS-noload): Likewise.
30814 (LDFLAGS-next): Likewise.
30815 (LDFLAGS-order2mod1.so): Likewise.
30816 (LDFLAGS-order2mod2.so): Likewise.
30817 (LDFLAGS-tst-initorder2): Likewise.
30818 (LDFLAGS-tst-initorder2a.so): Likewise.
30819 (LDFLAGS-tst-initorder2b.so): Likewise.
30820 (LDFLAGS-tst-initorder2c.so): Likewise.
30821 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30823 2012-05-02 David S. Miller <davem@davemloft.net>
30825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30827 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30830 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30832 2012-05-02 Andreas Jaeger <aj@suse.de>
30834 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30835 since we manipulate rounding mode.
30836 (CPPFLAGS-test-idouble.c): Likewise.
30837 (CPPFLAGS-test-ifloat.c): Likewise.
30838 (CFLAGS-test-ldouble.c): Likewise.
30839 (CFLAGS-test-double.c): Likewise.
30840 (CFLAGS-test-float.c): Likewise.
30841 (CFLAGS-test-misc.c): Likewise.
30842 (CFLAGS-test-test-fenv.c): Likewise.
30844 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30848 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30849 comparisons to determine direction to adjust input.
30851 2012-05-01 Roland McGrath <roland@hack.frob.com>
30853 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30854 output to the target.
30856 * scripts/localplt.awk: New file.
30857 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30858 (check-localplt-CFLAGS): Variable removed.
30859 ($(all-built-dso:=.jmprel)): New static pattern rule.
30860 (generated): Add those targets.
30861 (localplt-built-dso): New variable.
30862 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30864 * elf/check-localplt.c: File removed.
30866 * scripts/check-execstack.awk: New file.
30867 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30868 (check-execstack-CFLAGS): Variable removed.
30869 ($(objpfx)check-execstack.h): Target removed.
30870 ($(objpfx)execstack-default): New target.
30871 (generated): Add that instead of check-execstack.h.
30872 ($(all-built-dso:=.phdr)): New static pattern rule.
30873 (generated): Add those targets.
30874 * elf/check-execstack.c: File removed.
30876 * scripts/check-textrel.awk: New file.
30877 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30878 (check-textrel-CFLAGS): Variable removed.
30879 (all-built-dso): Use := to define.o
30880 ($(all-built-dso:=.dyn)): New static pattern rule.
30881 (generated): Add those targets.
30882 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30883 * config.make.in (READELF): New substituted variable.
30884 * elf/check-textrel.c: File removed.
30886 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30888 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30890 * conform/data/ctype.h-data [C99-based standards] (isblank):
30892 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30893 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30894 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30895 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30896 Specify type. Require positive value.
30897 (EILSEQ): Likewise.
30898 (ERANGE): Likewise.
30899 [ISO || POSIX] (EILSEQ): Do not expect.
30900 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30901 Specify type. Require positive value.
30902 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30903 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30904 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30905 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30906 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30907 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30908 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30909 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30910 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30911 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30912 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30913 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30914 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30915 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30916 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30917 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30918 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30919 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30920 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30921 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30922 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30923 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30924 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30925 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30926 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30927 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30928 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30929 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30930 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30931 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30932 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30933 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30934 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30935 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30936 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30937 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30938 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30939 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30940 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30941 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30942 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30943 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30944 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30945 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30946 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30947 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30948 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30949 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30950 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30951 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30952 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30953 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30954 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30955 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30956 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30957 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30958 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30959 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30960 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30961 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30962 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30963 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30964 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30965 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30966 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30967 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30968 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30969 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30970 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30971 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30972 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30973 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30974 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30975 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30976 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30977 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30978 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30980 (FLT_ROUNDS): Expect as macro, not constant.
30981 (FLT_MANT_DIG): Use macro-int-constant.
30982 (DBL_MANT_DIG): Likewise.
30983 (LDBL_MANT_DIG): Likewise.
30984 (FLT_DIG): Likewise.
30985 (DBL_DIG): Likewise.
30986 (LDBL_DIG): Likewise.
30987 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30988 (DBL_MIN_EXP): Likewise.
30989 (LDBL_MIN_EXP): Likewise.
30990 (FLT_MAX_EXP): Use macro-int-constant.
30991 (DBL_MAX_EXP): Likewise.
30992 (LDBL_MAX_EXP): Likewise.
30993 (FLT_MAX_10_EXP): Likewise.
30994 (DBL_MAX_10_EXP): Likewise.
30995 (LDBL_MAX_10_EXP): Likewise.
30996 (FLT_MAX): Use macro-constant.
30997 (DBL_MAX): Likewise.
30998 (LDBL_MAX): Likewise.
30999 (FLT_EPSILON): Use macro-constant. Give upper bound.
31000 (DBL_EPSILON): Likewise.
31001 (LDBL_EPSILON): Likewise.
31002 (FLT_MIN): Likewise.
31003 (DBL_MIN): Likewise.
31004 (LDBL_MIN): Likewise.
31005 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31006 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31007 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31008 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31009 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31010 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31011 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31012 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31013 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31014 [ISO11] (FLT_TRUE_MIN): Likewise.
31015 [ISO11] (LDBL_TRUE_MIN): Likewise.
31016 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31017 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31018 (SCHAR_MIN): Use macro-int-constant. Specify type.
31019 (SCHAR_MAX): Likewise.
31020 (UCHAR_MAX): Likewise.
31021 (CHAR_MIN): Likewise.
31022 (CHAR_MAX): Likewise.
31023 (MB_LEN_MAX): Use macro-int-constant.
31024 (SHRT_MIN): Use macro-int-constant. Specify type.
31025 (SHRT_MAX): Likewise.
31026 (USHRT_MAX): Likewise.
31027 (INT_MAX): Likewise.
31028 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31030 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31032 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31034 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31035 bound negative. Suffix upper bound with "L".
31036 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31038 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31040 [C99-based standards] (LLONG_MAX): Likewise.
31041 [C99-based standards] (ULLONG_MAX): Likewise.
31042 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31044 [ISO11] (max_align_t): Require type.
31045 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31047 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31048 from $CFLAGS, without defining away __attribute__ calls.
31049 (checknamespace): Use $CFLAGS_namespace.
31051 * conform/conformtest.pl (@keywords): Only include C99 keywords
31052 for standards based on C99 or C11.
31054 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31056 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31059 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31060 usability of symbols in #if.
31062 * conform/conformtest.pl: If macro or constant types start
31063 "promoted:", expect the symbol to be of the following type
31064 promoted by the integer promotions.
31066 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31067 in one place. Also handle "macro-constant".
31069 * conform/conformtest.pl: Only accept expected macro values with
31070 "==". Parse all "macro" lines in one place.
31071 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31073 * conform/conformtest.pl: Handle braced types on "constant" lines
31074 instead of handling "typed-constant".
31075 * conform/data/signal.h-data: Use "constant" instead of
31078 * conform/conformtest.pl: Handle "optional-" at start of lines in
31079 one place rather than duplicating several cases. Handle each
31080 format of "macro" line with initial "optional-".
31082 * conform/conformtest.pl: Only accept expected constant or
31083 optional-constant values with "==". Parse all "constant" lines in
31084 one place. Parse all "optional-constant" lines in one place.
31085 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31086 * conform/data/fmtmsg.h-data: Likewise.
31087 * conform/data/netinet/in.h-data: Likewise.
31088 * conform/data/tar.h-data: Likewise.
31089 * conform/data/limits.h-data: Use "==" form on "constant" and
31090 "optional-constant" lines.
31092 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31093 Use -std=c99 for XOPEN2K.
31094 (@knownproblems): Remove.
31095 (newtoken): Don't check %isknown.
31097 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31098 Do not expect macro.
31099 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31100 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31101 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31102 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31103 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31104 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31105 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31106 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31107 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31108 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31109 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31110 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31111 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31112 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31113 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31114 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31115 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31116 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31117 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31118 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31119 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31120 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31121 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31122 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31123 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31124 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31125 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31126 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31127 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31128 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31129 [XPG3] (acosh): Likewise.
31130 [XPG3] (asinh): Likewise.
31131 [XPG3] (atanh): Likewise.
31132 [XPG3] (cbrt): Likewise.
31133 [XPG3] (expm1): Likewise.
31134 [XPG3] (ilogb): Likewise.
31135 [XPG3] (log1p): Likewise.
31136 [XPG3] (logb): Likewise.
31137 [XPG3] (nextafter): Likewise.
31138 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31139 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31140 [XPG3] (remainder): Likewise.
31141 [XPG3] (rint): Likewise.
31142 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31143 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31144 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31145 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31146 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31147 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31148 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31149 [UNIX98 || XOPEN2K] (scalb): Expect.
31150 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31151 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31152 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31153 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31154 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31155 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31156 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31157 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31158 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31159 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31160 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31161 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31162 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31163 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31164 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31165 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31166 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31167 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31168 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31169 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31170 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31171 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31172 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31173 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31174 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31175 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31176 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31177 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31178 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31179 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31180 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31181 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31182 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31183 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31184 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31185 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31186 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31187 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31188 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31189 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31190 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31191 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31192 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31193 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31194 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31195 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31196 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31197 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31198 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31199 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31200 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31201 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31202 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31203 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31204 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31205 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31206 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31207 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31208 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31209 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31210 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31211 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31212 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31213 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31214 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31215 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31216 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31217 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31218 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31219 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31220 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31221 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31222 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31223 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31224 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31225 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31226 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31227 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31228 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31229 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31230 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31231 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31232 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31233 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31234 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31235 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31236 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31237 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31238 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31239 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31240 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31241 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31242 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31243 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31244 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31245 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31246 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31247 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31248 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31249 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31250 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31251 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31252 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31253 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31254 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31255 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31256 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31257 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31258 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31259 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31260 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31261 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31262 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31263 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31264 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31265 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31266 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31267 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31268 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31269 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31270 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31271 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31272 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31273 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31274 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31275 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31276 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31277 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31278 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31279 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31280 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31281 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31282 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31283 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31284 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31285 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31286 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31288 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31289 _XOPEN_SOURCE_EXTENDED for XPG4.
31291 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31293 * Makeconfig (localtime): Remove variable.
31294 (inst_localtime-file): Likewise.
31296 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31317 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31321 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31322 comparisons to determine direction to adjust input.
31323 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31324 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31325 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31327 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31329 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31331 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31332 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31334 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31336 * math/libm-test.inc (nexttoward_test): Add more tests.
31338 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31341 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31342 in version GLIBC_2.1, not GLIBC_2.0.
31343 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31346 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31349 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31351 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31352 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31353 * math/libm-test.inc (acos_test): Add more tests.
31354 (asin_test): Likewise.
31355 * sysdeps/i386/fpu/libm-test-ulps: Update.
31356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31359 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31361 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31362 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31363 * math/libm-test.inc (acos_test_tonearest): New function.
31364 (acos_test_towardzero): Likewise.
31365 (acos_test_downward): Likewise.
31366 (acos_test_upward): Likewise.
31367 (asin_test_tonearest): Likewise.
31368 (asin_test_towardzero): Likewise.
31369 (asin_test_downward): Likewise.
31370 (asin_test_upward): Likewise.
31371 (main): Call the new functions.
31372 * sysdeps/i386/fpu/libm-test-ulps: Update.
31373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31377 * math/e_exp10.c: Include <float.h>.
31378 (__ieee754_exp10): Handle underflow here rather than multiplying
31379 large negative argument by M_LN10.
31380 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31382 * math/e_exp10l.c: Include <float.h>.
31383 (__ieee754_exp10l): Handle underflow here rather than multiplying
31384 large negative argument by M_LN10l.
31385 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31386 spurious overflow exception on underflow.
31388 2012-04-29 Marek Polacek <polacek@redhat.com>
31390 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31391 (__fortify_function): New macro.
31392 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31393 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31394 __extern_always_inline.
31395 * libio/bits/stdio2.h: Likewise.
31396 * libio/bits/stdio.h: Likewise.
31397 * string/string.h: Likewise.
31398 * string/bits/string3.h: Likewise.
31399 * include/stdio.h: Likewise.
31400 * stdlib/bits/stdlib.h: Likewise.
31401 * stdlib/stdlib.h: Likewise.
31402 * rt/bits/mqueue2.h: Likewise.
31403 * rt/mqueue.h: Likewise.
31404 * posix/bits/unistd.h: Likewise.
31405 * posix/unistd.h: Likewise.
31406 * io/bits/poll2.h: Likewise.
31407 * io/bits/fcntl2.h: Likewise.
31408 * io/fcntl.h: Likewise.
31409 * io/sys/poll.h: Likewise.
31410 * misc/bits/syslog.h: Likewise.
31411 * misc/bits/syslog-ldbl.h: Likewise.
31412 * misc/sys/syslog.h: Likewise.
31413 * socket/bits/socket2.h: Likewise.
31414 * socket/sys/socket.h: Likewise.
31415 * debug/tst-chk1.c: Likewise.
31416 * wcsmbs/bits/wchar2.h: Likewise.
31417 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31418 * wcsmbs/wchar.h: Likewise.
31420 2012-04-29 Andreas Jaeger <aj@suse.de>
31422 * Makerules (tests): Remove enable-check-abi protection.
31423 (check-abi-warn): Remove.
31424 (check-abi-%): Remove check-abi-warn usage.
31426 * configure.in: Remove check-abi configure option.
31427 * configure: Regenerated.
31428 * config.make.in (enable-check-abi): Remove.
31430 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31433 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31434 double functions to double *_finite functions.
31437 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31438 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31440 * stdio-common/Makefile (tests): Add tst-sprintf3.
31441 * stdio-common/tst-sprintf3.c: New file.
31443 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31444 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31446 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31448 * conform/conformtest.pl: Remove duplicate typed-constant
31451 2012-04-28 David S. Miller <davem@davemloft.net>
31453 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31454 (check-abi-%): Remove AWK script prerequisite and explicit
31456 (check-abi): Rewrite to just diff the symlist with the abilist.
31457 (config-tls, config-abi-config): Delete, no longer used.
31458 (update-abi-%): Remove AWK script and explicit abilist directory.
31459 (update-abi): Rewrite to simply compare and conditionally copy the
31460 symlist and the sysdep abilist file. Remove update-abi-config
31462 * abilist/ld.abilist: Remove.
31463 * abilist/libBrokenLocale.abilist: Remove.
31464 * abilist/libanl.abilist: Remove.
31465 * abilist/libcrypt.abilist: Remove.
31466 * abilist/libdl.abilist: Remove.
31467 * abilist/librt.abilist: Remove.
31468 * abilist/libthread_db.abilist: Remove.
31469 * abilist/libutil.abilist: Remove.
31470 * scripts/extract-abilist.awk: Remove.
31471 * scripts/merge-abilist.awk: Remove.
31472 * sysdeps/generic/libcidn.abilist: New file.
31473 * sysdeps/generic/libnss_compat.abilist: New file.
31474 * sysdeps/generic/libnss_db.abilist: New file.
31475 * sysdeps/generic/libnss_dns.abilist: New file.
31476 * sysdeps/generic/libnss_files.abilist: New file.
31477 * sysdeps/generic/libnss_hesiod.abilist: New file.
31478 * sysdeps/generic/libnss_nis.abilist: New file.
31479 * sysdeps/generic/libnss_nisplus.abilist: New file.
31480 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31481 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31482 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31484 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31485 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31486 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31487 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31488 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31489 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31490 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31491 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31492 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31494 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31495 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31496 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31497 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31499 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31500 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31501 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31502 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31503 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31504 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31506 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31507 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31508 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31510 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31613 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31614 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31615 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31617 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31618 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31619 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31620 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31621 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31622 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31623 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31624 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31625 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31626 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31678 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31680 * conform/conformtest.pl: Fix typo in handling typed-constant from
31683 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31685 * README: Cut down references to pre-2.6 Linux kernels and
31686 Linuxthreads. Update lists of configurations in libc and ports
31687 and sort alphabetically. Say "or newer" with Linux kernel version
31690 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31692 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31695 * math/libm-test.inc (logb_test_downward): New test to expose
31696 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31699 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31702 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31704 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31705 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31707 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31709 * sysdeps/unix/i386/brk.S: Remove file.
31710 * sysdeps/unix/i386/dl-brk.S: Likewise.
31711 * sysdeps/unix/i386/pipe.S: Likewise.
31712 * sysdeps/unix/i386/sigreturn.S: Likewise.
31713 * sysdeps/unix/i386/syscall.S: Likewise.
31714 * sysdeps/unix/i386/vfork.S: Likewise.
31715 * sysdeps/unix/i386/wait.S: Likewise.
31717 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31718 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31720 * configure.in (arm*-none*): Do not allow without
31721 --enable-hacker-mode.
31722 (netbsd*): Remove case setting base_os.
31723 (386bsd*): Likewise.
31724 (freebsd*): Likewise.
31727 (sunos*): Likewise.
31728 (ultrix*): Likewise.
31729 (newsos*): Likewise.
31730 (dynix*): Likewise.
31736 (minix*): Likewise.
31737 (irix4*): Likewise.
31738 (irix6*): Likewise.
31739 (solaris[2-9]*): Likewise.
31741 * configure: Regenerated.
31743 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31746 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31747 overflow or cancellation in calculating denominator.
31748 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31749 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31750 down expression to avoid unexpected rounding in newer GCCs.
31751 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31753 2012-04-26 David S. Miller <davem@davemloft.net>
31755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31756 long-double compat symbols.
31757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31771 2012-04-25 David S. Miller <davem@davemloft.net>
31773 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31774 HWCAP_* values only after the memory barriers have been defined.
31775 (atomic_full_barrier): Define.
31776 (atomic_read_barrier): Define.
31777 (atomic_write_barrier): Define.
31779 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31781 * shlib-versions: Add libgcc_s version information.
31782 * sysdeps/generic/libgcc_s.h: Remove.
31783 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31785 * sysdeps/gnu/unwind-resume.c: Likewise.
31786 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31788 2012-04-25 David S. Miller <davem@davemloft.net>
31790 * sysdeps/unix/sparc/brk.S: Delete.
31791 * sysdeps/unix/sparc/dl-brk.S: Delete.
31792 * sysdeps/unix/sparc/pipe.S: Delete.
31793 * sysdeps/unix/sparc/sysdep.S: Delete.
31794 * sysdeps/unix/sparc/sysdep.h: Delete.
31795 * sysdeps/unix/sparc/vfork.S: Delete.
31796 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31797 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31798 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31799 (ret_ERRVAL, r0, r1, MOVE): Define.
31800 (JUMPTARGET): Remove.
31801 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31802 sysdeps/unix/sparc/sysdep.h
31803 (ENTRY, END): Remove.
31804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31806 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31808 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31809 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31812 * timezone/README: Update upstream location and email address for
31814 * timezone/zdump.c: Update from tzcode 2012b.
31815 * timezone/zic.c: Likewise.
31817 * configure.in (libc_cv_as_needed): Remove test.
31818 * configure: Regenerated.
31819 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31820 conditional definition.
31821 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31822 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31823 * config.make.in (have-as-needed): Remove variable.
31825 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31826 Paul Pluzhnikov <ppluzhnikov@google.com>
31828 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31831 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31833 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31834 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31835 * sysdeps/sh/strlen.S: Likewise.
31837 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31839 * sysdeps/unix/fork.S: Remove file.
31840 * sysdeps/unix/i386/fork.S: Likewise.
31841 * sysdeps/unix/sparc/fork.S: Likewise.
31843 * sysdeps/unix/system.c: Remove file.
31844 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31846 * sysdeps/unix/getegid.S: Remove file.
31847 * sysdeps/unix/geteuid.S: Likewise.
31849 2012-04-24 Roland McGrath <roland@hack.frob.com>
31851 * scripts/check-localplt.awk: New file.
31852 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31854 * scripts/data/localplt-generic.data: Add a comment.
31856 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31857 NODE when __dir_mkfile failed.
31858 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31859 Reported by Ludovic Courtès <ludo@gnu.org>.
31861 2012-04-24 Andreas Jaeger <aj@suse.de>
31863 * Makerules (common-clean): Also remove gen-as-const-headers
31866 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31868 * Makerules (native-compile): Do not change working directory for
31869 build. Use $(OUTPUT_OPTION) in command.
31870 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31872 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31875 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31876 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31877 * math/libm-test.inc (floor_test): Add more tests.
31878 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31880 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31882 * sysdeps/unix/getdents.c: Remove file.
31883 * sysdeps/unix/sysv/getdents.c: Likewise.
31884 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31886 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31887 sysdeps/unix/mman/syscalls.list.
31889 (mprotect): Likewise.
31891 (munmap): Likewise.
31892 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31893 * sysdeps/unix/mman/syscalls.list: Remove.
31894 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31896 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31897 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31898 * configure: Regenerated.
31899 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31900 $(libgcc_s_suffix).
31901 * config.make.in (libgcc_s_suffix): Remove variable.
31903 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31905 * sysdeps/unix/sysv/gethostname.c: Move to ...
31906 * sysdeps/posix/gethostname.c: ... here.
31908 * sysdeps/unix/execve.S: Remove file.
31910 * sysdeps/unix/_exit.S: Remove file.
31912 2012-04-23 Andreas Jaeger <aj@suse.de>
31915 * manual/Makefile: Remove make dist support, there's no
31916 need for a stand-alone documentation tar ball.
31917 (TEXI2DVI): Define always, it's not in Makeconfig.
31920 (edition): Removed.
31921 (glibc-doc-$(edition).tar): Removed
31925 (ETAGS): Remove, it's in Makeconfig.
31926 (move-if-change): Remove, it's in Makeconfig.
31928 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31931 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31932 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31933 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31934 (strtod_l, strtof_l, strtold_l): Remove __wur.
31935 It is not necessarily an error to ignore strtol's return value.
31936 One can reliably look at the stored endptr to decide whether
31937 the number had valid syntax.
31939 2012-04-21 Andreas Jaeger <aj@suse.de>
31942 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31944 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31946 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31947 * sysdeps/unix/sysv/Versions: Remove file.
31949 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31954 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31957 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31958 version from __vm86.
31960 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31962 * sysdeps/unix/common/lxstat.c: Remove file.
31963 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31965 * sysdeps/unix/sysv/Makefile: Remove file.
31967 * sysdeps/unix/sysv/direct.h: Remove file.
31969 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31970 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31971 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31972 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31973 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31974 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31975 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31977 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31979 * sysdeps/unix/xmknod.c: Remove file.
31980 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31982 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31984 * sysdeps/unix/sysv/i386/time.S: Remove file.
31986 * sysdeps/unix/fxstat.c: Remove file.
31987 * sysdeps/unix/xstat.c: Likewise.
31988 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31990 * sysdeps/unix/sysv/sigaction.c: Remove file.
31992 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31993 (sysdep_headers): Remove variable.
31994 [termio.h not in sysdep_headers] (generated): Likewise.
31995 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31996 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31997 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31998 * sysdeps/unix/sysv/tcflow.c: Likewise.
31999 * sysdeps/unix/sysv/tcflush.c: Likewise.
32000 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32001 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32002 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32003 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32004 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32006 * sysdeps/unix/siglist.c: Remove file.
32008 * sysdeps/unix/getppid.S: Remove file.
32010 * sysdeps/unix/mkdir.c: Remove file.
32011 * sysdeps/unix/rmdir.c: Likewise.
32013 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32015 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32017 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32018 errlist-compat value.
32020 2012-04-18 David S. Miller <davem@davemloft.net>
32022 * sysdeps/generic/memcopy.h (reg_char): Delete.
32023 * debug/strcat_chk.c: Use char, not reg_char.
32024 * debug/strcpy_chk.c: Likewise.
32025 * debug/strncat_chk.c: Likewise.
32026 * debug/strncpy_chk.c: Likewise.
32027 * string/memchr.c: Likewise.
32028 * string/memrchr.c: Likewise.
32029 * string/rawmemchr.c: Likewise.
32030 * string/strcat.c: Likewise.
32031 * string/strchr.c: Likewise.
32032 * string/strchrnul.c: Likewise.
32033 * string/strcmp.c: Likewise.
32034 * string/strcpy.c: Likewise.
32035 * string/strncat.c: Likewise.
32036 * string/strncmp.c: Likewise.
32037 * string/strncpy.c: Likewise.
32039 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32041 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32042 __builtin_memcopy is called when src and dest ranges are known to not
32045 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32047 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32048 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32049 fwd_align_merge macro call.
32050 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32051 bwd_align_merge macro call.
32052 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32054 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32056 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32057 bwd_align_merge macros.
32058 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32059 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32060 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32062 2012-04-18 David S. Miller <davem@davemloft.net>
32064 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32066 2012-04-18 Andreas Jaeger <aj@suse.de>
32069 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32070 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32071 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32073 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32074 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32075 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32077 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32078 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32079 Adjust for changed ldbl-128 files.
32081 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32082 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32083 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32085 2012-04-17 David S. Miller <davem@davemloft.net>
32087 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32089 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32091 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32092 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32093 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32094 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32095 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32096 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32098 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32101 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32102 * math/libm-test.inc: Add ilogb errno and exception tests.
32103 * math/w_ilogb.c: New file: ilogb wrapper.
32104 * math/w_ilogbf.c: New file: ilogbf wrapper.
32105 * math/w_ilogbl.c: New file: ilogbl wrapper.
32106 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32107 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32108 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32109 exception being thrown with 0.0 as argument.
32110 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32111 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32112 exception being thrown with 0.0 as argument.
32113 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32114 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32115 exception being thrown with 0.0 as argument.
32116 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32117 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32118 exception being thrown with 0.0 as argument.
32119 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32120 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32121 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32122 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32123 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32124 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32125 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32126 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32127 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32129 2012-04-17 Petr Baudis <pasky@ucw.cz>
32131 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32134 2012-04-16 Marek Polacek <polacek@redhat.com>
32136 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32138 2012-04-16 Marek Polacek <polacek@redhat.com>
32140 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32141 operands of fdivp instruction.
32143 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32145 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32146 * elf/tst-auditmod3b.c: Likewise.
32147 * elf/tst-auditmod4b.c: Likewise.
32148 * elf/tst-auditmod5b.c: Likewise.
32149 * elf/tst-auditmod6b.c: Likewise.
32150 * elf/tst-auditmod6c.c: Likewise.
32151 * elf/tst-auditmod7b.c: Likewise.
32152 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32153 * sysdeps/x86_64/preconfigure.in: Likewise.
32154 * sysdeps/x86_64/preconfigure: Regenerated.
32156 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32158 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32161 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
32163 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32164 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32166 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32169 * locale/iso-639.def: Fix gl language name. Spotted by
32172 2012-04-12 Roland McGrath <roland@hack.frob.com>
32175 * libio/libio.h (__io_write_fn): Update comment.
32177 2012-04-12 Petr Baudis <pasky@ucw.cz>
32180 * stdio.texi (Hook Functions): The user provided writer function
32181 is not allowed to return -1.
32183 2012-04-11 David S. Miller <davem@davemloft.net>
32185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32187 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32189 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32190 Add a leading slash to rtkaio.
32192 2012-04-11 Jim Meyering <meyering@redhat.com>
32195 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32196 It is not necessarily an error to ignore fwrite's return
32197 value. One can reliably use ferror to test for errors after
32200 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32202 * bits/types.h (__snseconds_t): New type.
32203 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32205 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32206 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32207 (__SNSECONDS_T_TYPE): Likewise.
32208 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32209 (__SNSECONDS_T_TYPE): Likewise.
32210 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32211 (__SNSECONDS_T_TYPE): Likewise.
32213 2012-04-10 Andreas Jaeger <aj@suse.de>
32216 * manual/time.texi (Processor Time): Return type of times is
32217 elapsed real time since an arbitrary point in the past.
32218 (CPU Time): Move CLK_TCK from here...
32219 (Processor Time): ...to here. Correct description.
32220 * manual/conf.texi (Constants for Sysconf): Correct description of
32223 2012-04-10 David S. Miller <davem@davemloft.net>
32226 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32227 where the is a gap between DT_REL(A) and DT_JMPREL.
32229 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32231 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32232 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32233 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32235 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32237 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32238 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32239 (dl_main): Handle --inhibit-cache.
32240 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32242 * elf/dl-load.c (_dl_map_object): Use it.
32243 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32245 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32248 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32249 (__ieee754_powl): Saturate large exponents rather than testing for
32250 overflow of y*log2(x).
32251 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32252 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32256 * math/s_ctan.c: Include <float.h>.
32257 (__ctan): Avoid internal overflow or cancellation in calculating
32259 * math/s_ctanf.c: Likewise.
32260 * math/s_ctanl.c: Likewise.
32261 * math/s_ctanh.c: Likewise.
32262 * math/s_ctanhf.c: Likewise.
32263 * math/s_ctanhl.c: Likewise.
32264 * math/libm-test.inc (ctan_test): Add more tests.
32265 (ctanh_test): Likewise.
32266 * sysdeps/i386/fpu/libm-test-ulps: Update.
32267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32269 2012-04-09 Andreas Jaeger <aj@suse.de>
32272 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32273 is an optional BSD extension.
32276 * manual/stdio.texi (Opening Streams): Document additional fopen
32279 2012-04-09 Roland McGrath <roland@hack.frob.com>
32281 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32282 %eax without telling the compiler.
32284 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32287 * manual/install.texi: Use sourceware.org.
32289 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32292 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32293 (__ieee754_pow): Generate overflow and underflow using huge*huge
32294 and tiny*tiny rather than just returning constant infinity or zero
32295 for large exponents.
32296 * math/libm-test.inc (pow_test): Require overflow exceptions for
32297 applicable cases of large exponents.
32300 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32301 (__ieee754_pow): Use iterative multiplication algorithm only for
32302 integer exponents with absolute value below 1024. Check for odd
32303 integer exponents when using algorithm for real exponents.
32304 * math/libm-test.inc (pow_test): Add more tests.
32305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32307 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32310 * math/libm-test.inc (exp_test): Do not allow overflow exception
32313 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32316 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32317 instead of __kernel_standard_f.
32319 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32321 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32322 * sysdeps/x86_64/memset_chk.S: Likewise.
32324 2012-04-08 Andreas Jaeger <aj@suse.de>
32327 * manual/startup.texi (Environment Access): Describe return value
32328 for putenv and setenv.
32331 * manual/filesys.texi (Directory Entries): Add description for
32335 * manual/filesys.texi (Directory Entries): Clarify that it's file
32336 system not operating system in the description of DT_UNKNOWN.
32339 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32341 2012-04-08 Stephen Compall <s11@member.fsf.org>
32344 * manual/llio.texi (Opening and Closing Files): Add cross
32345 reference to explain mode argument.
32347 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32349 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32350 * sysdeps/x86_64/memset_chk.S: Likewise.
32352 2012-04-07 David S. Miller <davem@davemloft.net>
32354 * elf/elf.h (R_SPARC_WDISP10): Define.
32355 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32357 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32358 R_SPARC_SIZE64 and R_SPARC_H34.
32360 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32362 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32363 conditions and remove no longer applicable assertion.
32365 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32367 * bits/byteswap.h: Include <features.h>.
32368 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32369 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32371 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32373 * bits/byteswap.h (__bswap_16): Removed.
32374 Include <bits/byteswap-16.h> to get __bswap_16.
32375 * sysdeps/i386/bits/byteswap.h: Likewise.
32376 * sysdeps/s390/bits/byteswap.h: Likewise.
32377 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32378 * bits/byteswap-16.h: New file.
32379 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32380 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32381 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32382 * string/Makefile (headers): Add bits/byteswap-16.h.
32384 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32387 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32389 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32390 * nss/tst-nss-static.c: New.
32392 2012-04-06 Robert Millan <rmh@gnu.org>
32395 * manual/llio.texi (File Position Primitive): lseek
32396 refers to WHENCE when it really means OFFSET.
32398 2012-04-06 Andreas Jaeger <aj@suse.de>
32400 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32401 strncmp declarations.
32403 * abilist/libc.abilist: Add __poll and __ppoll.
32405 2012-04-05 David S. Miller <davem@davemloft.net>
32407 * scripts/check-local-headers.sh: Accept a host triplet in the
32408 path matched by the exclude regexp.
32410 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32412 * sysdeps/powerpc/powerpc32/dl-machine.h
32413 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32414 * sysdeps/s390/s390-32/dl-machine.h
32415 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32416 * sysdeps/sparc/sparc32/dl-machine.h
32417 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32418 * sysdeps/sparc/sparc64/dl-machine.h
32419 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32421 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32423 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32424 undefined symbol errors.
32426 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32429 2012-04-05 Michael Matz <matz@suse.de>
32432 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32434 2012-04-05 Andreas Jaeger <aj@suse.de>
32437 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32440 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32442 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32443 which ROUND is no valid rounding mode.
32445 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32447 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32449 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32451 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32453 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32454 an exception using FPU order intentionally.
32456 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32458 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32459 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32460 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32461 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32463 2012-04-05 Simon Josefsson <simon@josefsson.org>
32466 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32467 EINVAL when BUFLEN is too smal.
32469 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32472 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32473 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32475 2012-04-03 Andreas Jaeger <aj@suse.de>
32478 * manual/setjmp.texi (System V contexts): Fix sentence.
32481 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32482 New macro for this case.
32483 [!__GNUC__] (__bswap_64): New inline function for this case.
32484 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32485 * bits/byteswap.h: Likewise.
32486 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32487 ull, guard with __GLIBC_HAVE_LONG_LONG.
32489 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32490 __GLIBC_HAVE_LONG_LONG.
32492 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32493 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32495 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32498 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32499 inptr and inend, rather than using last_ch.
32501 2012-04-02 David S. Miller <davem@davemloft.net>
32503 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32504 * stdio-common/printf-parse.h (read_int): Change return type to
32505 'int', return -1 on INT_MAX overflow.
32506 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32507 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32508 overflows INT_MAX. Check for overflow of in-format-string precision
32509 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32510 SIZE_MAX not INT_MAX for integer overflow test.
32511 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32512 skip the construct in the format string but do not record anything.
32513 * stdio-common/bug22.c: Adjust to test both width/prevision
32514 INT_MAX overflow as well as total length INT_MAX overflow. Check
32515 explicitly for proper errno values.
32517 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32519 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32521 * string/test-strcmp.c [! WIDE]: Likewise.
32522 * time/tst-mktime2.c: Likewise for INT_MAX.
32523 * string/test-string.h: #include <sys/param.h> for MIN.
32525 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32526 * sysdeps/i386/init-first.c (init): Likewise.
32527 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32528 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32529 * sysdeps/sh/init-first.c (init): Likewise.
32531 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32533 * po/ru.po: Update from translation team.
32534 * po/vi.po: Likewise.
32536 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32538 * resolv/nss_dns/dns-host.c: Merge copyright years.
32540 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32542 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32543 Optimize memcpy with prefetch if
32544 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32545 src, dst pointers have unequal 16 byte alignments.
32547 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32550 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32551 from a CNAME entry and return the minimum ttl for the query.
32552 (gaih_getanswer_slice): Likewise.
32554 2012-03-30 Jeff Law <law@redhat.com>
32556 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32558 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32559 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32561 * resolv/nss_dns/dns-host.c: Update copyright year.
32563 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32565 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32566 requests to save a system call. Fix check that all bytes are sent.
32568 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32569 comments for sendmmsg.
32571 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32574 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32575 with only 1 character between 0x0041 and 0x01b0.
32576 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32577 * wcsmbs/tst-mbsnrtowcs.c: New file.
32579 2012-03-29 David S. Miller <davem@davemloft.net>
32581 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32582 small copies by hand.
32584 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32587 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32588 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32591 2012-03-28 David S. Miller <davem@davemloft.net>
32593 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32594 that branches into memcpy.
32595 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32596 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32597 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32598 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32601 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32602 implementation too.
32603 * sysdeps/sparc/mempcpy.S: New file.
32605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32606 the IFUNC routine in the libc case.
32607 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32609 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32610 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32611 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32612 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32613 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32614 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32615 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32616 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32618 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32619 loop to 256 bytes instead of 64 bytes and fix test signedness.
32621 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32622 * sysdeps/sparc/sparc32/Makefile: rather than here...
32623 * sysdeps/sparc/sparc64/Makefile: and here.
32625 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32627 * malloc/mallocbug.c: Avoid warnings about unused variables.
32629 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32632 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32633 in the right place. Discard and retry query if response is
32634 larger than input buffer size.
32636 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32641 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32642 x for large integer exponent.
32643 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32644 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32645 sign of result as needed afterwards.
32646 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32647 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32648 result for underflowing pow the same as for overflow.
32649 (__kernel_standard_l): Handle powl overflow and underflow here
32650 rather than calling __kernel_standard.
32651 * math/libm-test.inc (pow_test): Add more tests.
32666 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32667 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32668 (__kernel_standard_l): New function.
32669 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32671 * math/w_acosl.c (__acosl): Likewise.
32672 * math/w_asinl.c (__asinl): Likewise.
32673 * math/w_atan2l.c (__atan2l): Likewise.
32674 * math/w_atanhl.c (__atanhl): Likewise.
32675 * math/w_coshl.c (__coshl): Likewise.
32676 * math/w_exp10l.c (__exp10l): Likewise.
32677 * math/w_exp2l.c (__exp2l): Likewise.
32678 * math/w_fmodl.c (__fmodl): Likewise.
32679 * math/w_hypotl.c (__hypotl): Likewise.
32680 * math/w_j0l.c (__j0l, __y0l): Likewise.
32681 * math/w_j1l.c (__j1l, __y1l): Likewise.
32682 * math/w_jnl.c (__jnl, __ynl): Likewise.
32683 * math/w_lgammal.c (__lgammal): Likewise.
32684 * math/w_log10l.c (__log10l): Likewise.
32685 * math/w_log2l.c (__log2l): Likewise.
32686 * math/w_logl.c (__logl): Likewise.
32687 * math/w_powl.c (__powl): Likewise.
32688 * math/w_remainderl.c (__remainderl): Likewise.
32689 * math/w_scalbl.c (sysv_scalbl): Likewise.
32690 * math/w_sinhl.c (__sinhl): Likewise.
32691 * math/w_sqrtl.c (__sqrtl): Likewise.
32692 * math/w_tgammal.c (__tgammal): Likewise.
32693 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32694 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32695 * math/libm-test.inc (acos_test): Add more tests.
32696 (acosh_test): Likewise.
32697 (asin_test): Likewise.
32698 (atanh_test): Likewise.
32699 (exp_test): Likewise.
32700 (exp10_test): Likewise.
32701 (exp2_test): Likewise.
32702 (expm1_test): Likewise.
32703 (lgamma_test): Likewise.
32704 (log_test): Likewise.
32705 (log10_test): Likewise.
32706 (log1p_test): Likewise.
32707 (log2_test): Likewise.
32708 (pow_test): Do not allow some spurious overflow exceptions.
32709 (sqrt_test): Add more tests.
32710 (tgamma_test): Likewise.
32711 (y0_test): Likewise.
32712 (y1_test): Likewise.
32713 (yn_test): Likewise.
32715 2012-03-27 Anton Blanchard <anton@samba.org>
32717 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32719 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32720 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32721 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32723 2012-03-27 David S. Miller <davem@davemloft.net>
32725 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32727 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32728 have-as-vis3 check.
32730 2012-03-27 Andreas Jaeger <aj@suse.de>
32732 * sysdeps/x86_64/elf/configure.in: Moved to ...
32733 * sysdeps/x86_64/configure.in: ... here.
32734 * sysdeps/x86_64/elf/start.S: Moved to ...
32735 * sysdeps/x86_64/start.S: ... here.
32736 * sysdeps/x86_64/elf/configure: Delete.
32738 * sysdeps/x86_64/configure.in: Merge contents from
32739 sysdeps/i386/configure.in (without i686 check).
32741 * sysdeps/i386/elf/Versions: Merge into ...
32742 * sysdeps/i386/Versions: ... this.
32743 * sysdeps/i386/elf/Versions: Delete file.
32744 * sysdeps/i386/elf/start.S: Moved to ...
32745 * sysdeps/i386/start.S: ...here.
32746 * sysdeps/i386/elf/configure.in: Merge into...
32747 * sysdeps/i386/configure.in: ...here.
32748 * sysdeps/i386/elf/configure.in: Delete file.
32749 * sysdeps/i386/elf/configure: Delete file.
32751 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32752 * debug/backtracesyms.c: ... here.
32753 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32754 * debug/backtracesymsfd.c: ... here.
32755 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32756 * sysdeps/generic/ifunc-sel.h: ... here.
32758 * sysdeps/unix/i386/start.c: Delete file.
32759 * sysdeps/unix/sparc/start.c: Delete file.
32760 * sysdeps/unix/start.c: Delete file.
32762 * sysdeps/sh/elf/configure.in: Moved to ...
32763 * sysdeps/sh/configure.in: ... here.
32764 * sysdeps/sh/elf/start.S: Moved to ...
32765 * sysdeps/sh/start.S: ... here.
32766 * sysdeps/sh/elf/configure: Delete file.
32768 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32769 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32770 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32771 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32772 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32773 * sysdeps/powerpc/powerpc64/start.S: here.
32774 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32775 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32776 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32777 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32778 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32780 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32781 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32782 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32783 * sysdeps/powerpc/powerpc32/start.S: ... here.
32784 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32785 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32786 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32788 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32789 * sysdeps/powerpc/ifunc-sel.h: ... here.
32790 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32791 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32793 * sysdeps/sparc/elf/configure.in: Moved to ...
32794 * sysdeps/sparc/configure.in: ... here.
32795 * sysdeps/sparc/elf/configure: Delete file.
32796 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32797 * sysdeps/sparc/sparc32/start.S: ... here.
32798 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32799 * sysdeps/sparc/sparc64/start.S: ... here.
32800 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32801 * sysdeps/sparc/sparc32/Makefile: ... this.
32802 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32803 * sysdeps/sparc/sparc64/Makefile: ... this.
32805 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32806 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32807 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32808 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32809 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32810 * sysdeps/s390/s390-32/setjmp.S: ... here.
32811 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32812 * sysdeps/s390/s390-32/configure.in: ... here.
32813 * sysdeps/s390/s390-32/elf/configure: Delete file.
32814 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32815 * sysdeps/s390/s390-32/start.S: ... here.
32817 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32818 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32819 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32820 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32821 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32822 * sysdeps/s390/s390-64/setjmp.S: ... here.
32823 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32824 * sysdeps/s390/s390-64/configure.in: ... here
32825 * sysdeps/s390/s390-64/elf/configure: Delete file.
32826 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32827 * sysdeps/s390/s390-64/start.S: ... here.
32828 * sysdeps/s390/s390-64/elf/configure: Delete.
32830 * configure.in: Remove support for elf directories in sysdeps.
32832 * configure: Regenerated.
32833 * sysdeps/i386/configure: Regenerated.
32834 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32835 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32836 * sysdeps/s390/s390-32/configure: Regenerated.
32837 * sysdeps/s390/s390-64/configure: Regenerated.
32838 * sysdeps/sh/configure: Regenerated.
32839 * sysdeps/sparc/configure: Regenerated.
32840 * sysdeps/x86_64/configure: Regenerated.
32842 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32847 denormal result into account.
32849 2012-03-25 Roland McGrath <roland@hack.frob.com>
32851 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32852 Reported by Allan McRae <allan@archlinux.org>.
32854 2012-03-23 Jeff Law <law@redhat.com>
32856 * nss/getnssent.c (__nss_getent): Fix typo.
32858 2012-03-23 David S. Miller <davem@davemloft.net>
32860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32862 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32864 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32865 to pad to uint64_t for each field.
32866 (dl_tls_index): Replace unsigned long with uint64_t.
32868 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32869 Paul Pluzhnikov <ppluzhnikov@google.com>
32872 * grp/Makefile (otherlibs): Don't set it.
32873 * inet/Makefile (otherlibs): Likewise.
32874 * login/Makefile (otherlibs): Likewise.
32875 * nscd/Makefile (otherlibs): Likewise.
32876 * posix/Makefile (otherlibs): Likewise.
32877 * pwd/Makefile (otherlibs): Likewise.
32878 * rt/Makefile (otherlibs): Likewise.
32879 * sunrpc/Makefile (otherlibs): Likewise.
32880 * nss/Makefile (otherlibs): Likewise.
32881 Add libnss_files to routines and static-only-routines.
32882 ($(objpfx)getent): Remove rule.
32883 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32884 static-only-routines.
32886 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32889 * math/s_cexp.c: Include <float.h>.
32890 (__cexp): Handle exp result overflowing not necessarily
32891 overflowing both real and imaginary parts of result.
32892 * math/s_cexpf.c: Likewise.
32893 * math/s_cexpl.c: Likewise.
32894 * math/libm-test.inc (cexp_test): Add more tests.
32895 * sysdeps/i386/fpu/libm-test-ulps: Update.
32896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32898 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32900 * include/link.h (ELFW): New macro.
32901 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32902 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32904 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32906 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32909 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32911 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32913 (struct La_x32_retval): Likewise.
32915 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32917 * sysdeps/x86_64/preconfigure.in: New file.
32918 * sysdeps/x86_64/preconfigure: New generated file.
32920 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32923 * math/e_exp2l.c: Include <float.h>.
32924 (__ieee754_exp2l): Handle overflow and underflow cases
32925 separately. Only pass fractional part of argument to
32927 * math/libm-test.inc (exp2_test): Add more tests.
32929 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32930 negating x to take absolute value.
32931 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32933 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32934 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32936 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32937 computing low part if x was negated.
32938 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32940 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32942 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32943 la_x32_gnu_pltexit.
32944 (pltexit): Cast int_retval to ptrdiff_t.
32945 * elf/tst-auditmod3b.c: Likewise.
32946 * elf/tst-auditmod4b.c: Likewise.
32947 * elf/tst-auditmod5b.c: Likewise.
32948 * elf/tst-auditmod6b.c: Likewise.
32949 * elf/tst-auditmod6c.c: Likewise.
32950 * elf/tst-auditmod7b.c: Likewise.
32952 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32953 and x32_gnu_pltexit.
32955 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32956 __ELF_NATIVE_CLASS.
32957 (La_x32_regs): New macro.
32958 (La_x32_retval): Likewise.
32959 (la_x32_gnu_pltenter): New function prototype.
32960 (la_x32_gnu_pltexit): Likewise.
32962 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32964 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32969 * configure.in (libc_cv_cc_nofma): Check for option to disable
32970 generation of FMA instructions.
32971 * configure: Regenerate.
32972 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32973 * sysdeps/ieee754/dbl-64/Makefile: New file.
32974 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32975 Remove brandred-fma4.
32976 (CFLAGS-brandred-fma4.c): Remove.
32977 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32978 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32980 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32983 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32985 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32986 LLONG_MAX != LONG_MAX.
32987 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32988 (_fitoa_word): Likewise.
32989 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32990 LLONG_MAX != LONG_MAX.
32991 * stdio-common/_itowa.h: Include <_itoa.h>.
32992 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32993 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32994 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32995 only if not defined.
32996 (_ITOA_WORD_TYPE): Likewise.
32997 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32998 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33000 2012-03-21 David S. Miller <davem@davemloft.net>
33002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33004 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33006 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33007 of x86_64 when setting libc_cv_slibdir, libdir and
33009 * sysdeps/unix/sysv/linux/configure: Regenerated.
33011 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33013 * manual/lang.texi (Old Varargs): Remove section.
33014 (How Variadic): Update menu.
33015 (va_start): Do not mention varargs.h.
33017 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33018 Joseph Myers <joseph@codesourcery.com>
33020 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33022 * configure: Regenerated.
33024 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33026 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33027 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33030 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33033 * Makefile (files-for-dist): Remove NOTES.
33034 (NOTES): Remove rule.
33035 * README: Don't refer to NOTES.
33036 * manual/creature.texi: Don't include macros.texi.
33037 * manual/intro.texi (creature.texi): Remove comment referring to
33040 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33041 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33042 * configure: Regenerated.
33043 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33044 LIBC_TRY_CC_OPTION.
33045 (libc_cv_as_i686): Likewise.
33046 (libc_cv_cc_avx): Likewise.
33047 (libc_cv_cc_sse2avx): Likewise.
33048 (libc_cv_cc_fma4): Likewise.
33049 (libc_cv_cc_novzeroupper): Likewise.
33050 * sysdeps/i386/configure: Regenerated.
33053 * sysdeps/i386/fpu/s_cexp.S: Remove.
33054 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33055 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33056 * math/libm-test.inc (cexp_test): Add more tests.
33057 * sysdeps/i386/fpu/libm-test-ulps: Update.
33058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33060 2012-03-21 Allan McRae <allan@archlinux.org>
33062 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33064 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33067 * math/w_exp2.c: Do not include <float.h>.
33068 (o_threshold, u_threshold): Remove.
33069 (__exp2): Calculate result before checking finiteness and calling
33071 * math/w_exp2f.c: Likewise.
33072 * math/w_exp2l.c: Likewise.
33073 * math/libm-test.inc (exp2_test): Require overflow exception for
33077 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33078 range of signed 64-bit integers before using fistpll. Remove
33079 checks for whether integers fit in mantissa bits.
33080 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33081 the range of signed 32-bit integers before using fistpl. Remove
33082 checks for whether integers fit in mantissa bits.
33083 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33084 (__ieee754_powl): Test for y outside the range of signed 64-bit
33085 integers before using fistpll. Reduce 64-bit values to 63-bit
33087 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33088 divide-by-zero is raised for zero to large negative powers.
33089 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33090 (__ieee754_powl): Test for y outside the range of signed 64-bit
33091 integers before using fistpll. Reduce 64-bit values to 63-bit
33093 * math/libm-test.inc (pow_test): Add more tests.
33095 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33097 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33098 <stdio-common/_itoa.h>.
33099 * debug/segfault.c: Likewise.
33100 * elf/dl-cache.c: Likewise.
33101 * elf/dl-minimal.c: Likewise.
33102 * elf/dl-misc.c: Likewise.
33103 * elf/dl-sysdep.c: Likewise.
33104 * elf/dl-version.c: Likewise.
33105 * elf/rtld.c: Likewise.
33106 * hurd/hurdsock.c: Likewise.
33107 * hurd/lookup-retry.c: Likewise.
33108 * malloc/malloc.c: Likewise.
33109 * malloc/mtrace.c: Likewise.
33110 * nscd/nscd_getgr_r.c: Likewise.
33111 * nscd/nscd_getpw_r.c: Likewise.
33112 * nscd/nscd_getserv_r.c: Likewise.
33113 * posix/getopt_init.c: Likewise.
33114 * posix/wordexp.c: Likewise.
33115 * stdio-common/_itoa.c: Likewise.
33116 * stdio-common/printf_fphex.c: Likewise.
33117 * stdio-common/vfprintf.c: Likewise.
33118 * string/_strerror.c: Likewise.
33119 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33120 * sysdeps/i386/i686/hp-timing.h: Likewise.
33121 * sysdeps/mach/_strerror.c: Likewise.
33122 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33123 * sysdeps/mach/hurd/sethostid.c: Likewise.
33124 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33125 * sysdeps/mach/xpg-strerror.c: Likewise.
33126 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33127 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33128 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33129 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33130 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33131 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33132 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33133 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33134 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33135 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33136 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33137 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33138 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33139 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33140 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33141 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33142 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33143 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33144 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33145 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33146 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33148 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33150 * stdio-common/_itoa.h: Moved to ...
33151 * sysdeps/generic/_itoa.h: Here.
33153 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33155 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33156 instead of "_itoa.h" and "_itowa.h".
33157 * stdio-common/vfprintf.: Likewise.
33159 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33161 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33163 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33164 (__signbit): Likwise.
33165 (llrintf): Likwise.
33168 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33170 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33173 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33175 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33176 OVERFLOW_EXCEPTION_OK.
33177 * math/libm-test.inc ("Philosophy"): Update comment about
33179 (OVERFLOW_EXCEPTION): Define.
33180 (OVERFLOW_EXCEPTION_OK): Likewise.
33181 (INVALID_EXCEPTION_OK): Renumber.
33182 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33183 (IGNORE_ZERO_INF_SIGN): Likewise.
33184 (test_exceptions): Handle FE_OVERFLOW.
33185 (exp10_test): Expect overflow exceptions.
33186 (exp2_test): Likewise.
33187 (expm1_test): Likewise.
33188 (nextafter_test): Likewise.
33189 (pow_test): Likewise.
33190 (scalbn_test): Likewise.
33191 (scalbln_test): Likewise.
33193 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33195 * sysdeps/x86_64/bits/atomic.h
33196 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33198 (atomic_exchange_acq): Likewise.
33199 (__arch_exchange_and_add_body): Likewise.
33200 (__arch_add_body): Likewise.
33201 (atomic_add_negative): Likewise.
33202 (atomic_add_zero): Likewise.
33204 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33206 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33207 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33209 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33211 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33212 Check __x86_64__ instead of __WORDSIZE.
33214 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33216 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33218 2012-03-19 David S. Miller <davem@davemloft.net>
33220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33222 * sysdeps/sparc/fpu/fenv_private.h: New file.
33223 * sysdeps/sparc/fpu/math_private.h: Use it.
33224 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33226 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33227 (libc_feholdexcept_setroundl): Remove.
33228 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33230 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33231 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33233 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33235 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33236 int64_t instead of long int.
33237 (INSERT_WORDS64): Likwise.
33239 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33241 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33242 _Unwind_GetCFA return to _Unwind_Ptr first.
33244 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33247 * math/s_clog.c: Include <float.h>.
33248 (__clog): Scale large or subnormal inputs.
33249 * math/s_clogf.c: Likewise.
33250 * math/s_clogl.c: Likewise.
33251 * math/s_clog10.c: Include <float.h>.
33252 (M_LOG10_2): Define.
33253 (__clog10): Scale large or subnormal inputs.
33254 * math/s_clog10f.c: Likewise.
33255 * math/s_clog10l.c: Likewise.
33256 * math/libm-test.inc (clog_test): Add more tests.
33257 (clog10_test): Likewise.
33258 * sysdeps/i386/fpu/libm-test-ulps: Update.
33259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33262 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33264 * math/libm-test.inc (atan2_test): Add another test.
33266 * Makerules (common-objdir-compile): Remove.
33267 * sysdeps/unix/Makefile (config-generated): Do not add
33268 $(unix-generated) to variable.
33269 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33270 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33272 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33274 [generic bits/local_lim.h] (before-compile): Do not append to
33276 [generic bits/local_lim.h] (common-generated): Likewise.
33277 [generic sys/param.h] (before-compile): Do not append to variable.
33278 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33279 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33280 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33281 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33283 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33284 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33285 [generic sys/param.h] ($(addprefix
33286 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33287 [generic sys/param.h] (common-generated): Do not append to
33289 [generic sys/param.h] (sysdep_headers): Likewise.
33290 [generic bits/errno.h] (before-compile): Do not append to
33292 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33294 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33295 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33296 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33297 [generic bits/errno.h] (common-generated): Do not append to
33299 [generic bits/ioctls.h] (before-compile): Do not append to
33301 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33303 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33304 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33305 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33307 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33308 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33309 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33310 [generic bits/ioctls.h] (common-generated): Do not append to
33312 [generic sys/syscall.h] (syscall.h): Remove variable.
33313 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33315 [generic sys/syscall.h] (before-compile): Do not append to
33317 [generic sys/syscall.h] (common-generated): Likewise.
33318 * sysdeps/unix/errnos-tmpl.c: Remove file.
33319 * sysdeps/unix/errnos.awk: Likewise.
33320 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33321 * sysdeps/unix/ioctls.awk: Likewise.
33322 * sysdeps/unix/mk-local_lim.c: Likewise.
33323 * sysdeps/unix/snarf-ioctls: Likewise.
33325 2012-03-19 Richard Henderson <rth@twiddle.net>
33327 * sysdeps/i386/fpu/fenv_private.h: New file.
33328 * sysdeps/i386/fpu/math_private.h: Use it.
33329 (math_opt_barrier, math_force_eval): Remove.
33330 (libc_feholdexcept_setround_53bit): Remove.
33331 (libc_feupdateenv_53bit): Remove.
33332 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33333 (math_opt_barrier, math_force_eval): Remove.
33334 (libc_feholdexcept): Remove.
33335 (libc_feholdexcept_setround): Remove.
33336 (libc_fetestexcept, libc_fesetenv): Remove.
33337 (libc_feupdateenv_test): Remove.
33338 (libc_feupdateenv, libc_feholdsetround): Remove.
33339 (libc_feresetround): Remove.
33341 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33342 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33344 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33345 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33346 (libc_feupdateenv_testl): New.
33347 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33348 (libc_feupdateenv_testf): New.
33349 (libc_feupdateenv): Use libc_feupdateenv_test.
33350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33351 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33353 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33354 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33355 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33356 (libc_feresetround_noex): New.
33357 (libc_feresetround_noexf): New.
33358 (libc_feresetround_noexl): New.
33359 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33360 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33361 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33362 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33364 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33365 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33367 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33368 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33369 SET_RESTORE_ROUND_NOEX.
33370 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33371 SET_RESTORE_ROUND_NOEXF.
33372 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33373 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33374 (libc_feholdsetroundf): New.
33375 (libc_feresetround, libc_feresetroundf): New.
33377 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33378 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33379 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33381 * sysdeps/generic/math_private.h: Include <fenv.h>.
33382 (default_libc_feholdexcept): New.
33383 (default_libc_feholdexcept_setround): New.
33384 (default_libc_fesetenv, default_libc_feupdateenv): New.
33385 (libc_feholdexcept): Only define if undefined.
33386 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33387 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33388 (libc_feholdexcept_setroundl): Likewise.
33389 (libc_feholdexcept_setround_53bit): Likewise.
33390 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33391 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33392 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33393 (libc_feupdateenv_53bit): Likewise.
33394 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33395 (libc_feholdexcept): Convert from macro to inline function.
33396 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33397 (libc_fesetenv, libc_feupdateenv): Likewise.
33399 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33400 not previously defined.
33401 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33402 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33403 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33404 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33405 * sysdeps/ieee754/flt-32/math_private.h: New file.
33406 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33407 math_private.h below SET_FLOAT_WORD.
33408 (__isnan, __isinf_ns, __finite): Remove.
33409 (__isnanf, __isinf_nsf, __finitef): Remove.
33411 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33415 2012-03-17 David S. Miller <davem@davemloft.net>
33418 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33421 2012-03-16 David S. Miller <davem@davemloft.net>
33423 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33427 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33429 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33430 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33431 sysdep_routines when subdir is sysvipc.
33432 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33433 __getshmlba helper.
33435 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33437 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33439 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33442 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33444 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33445 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33446 (__lround): Renamed to ...
33447 (__llround): This. Replace long int with long long int.
33448 Define lround functions as aliases of llround functions.
33449 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33451 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33453 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33454 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33455 adresses to uintptr_t. Replace "long int" and "unsigned long
33456 int" with "greg_t" on va_arg.
33458 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33460 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33461 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33463 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33464 Move e_machine check before EI_CLASS check. Handle x32
33465 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33466 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33467 SKIP_EM_IA_64 and include
33468 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33470 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33471 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33472 (add_system_dir): New macro.
33474 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33475 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33477 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33488 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33490 * math/w_j0f.c (j0f): Likewise.
33492 * math/w_j0l.c (__j0l): Likewise.
33494 * math/w_j1.c (j1): Likewise.
33496 * math/w_j1f.c (j1f): Likewise.
33498 * math/w_j1l.c (__j1l): Likewise.
33500 * math/w_jn.c (jn): Likewise.
33502 * math/w_jnf.c (jnf): Likewise.
33504 * math/w_jnl.c (__jnl): Likewise.
33506 * math/libm-test.inc (j0_test): Add more tests.
33507 (j1_test): Likewise.
33508 (jn_test): Likewise. Add trailing semicolon to existing test.
33509 (y0_test): Likewise.
33510 (y1_test): Likewise.
33511 * sysdeps/i386/fpu/libm-test-ulps: Update.
33512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33516 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33517 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33518 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33519 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33520 (__tanl): Set errno for infinite argument.
33521 * sysdeps/i386/fpu/mptan.c: Remove.
33522 * sysdeps/i386/fpu/s_tan.S: Likewise.
33523 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33524 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33525 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33526 * math/libm-test.inc (tan_test): Add more tests and enable more
33527 tests for double and long double.
33528 * sysdeps/i386/fpu/libm-test-ulps: Update.
33529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33531 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33533 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33534 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33536 2012-03-16 Roland McGrath <roland@hack.frob.com>
33538 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33539 * configure.in: Use it for both main tree and add-ons.
33540 * configure: Regenerated.
33542 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33544 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33546 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33548 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33552 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33553 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33554 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33555 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33556 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33558 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33559 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33560 != 0 for prec == 2.
33561 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33562 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33563 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33564 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33565 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33566 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33567 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33568 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33569 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33570 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33571 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33572 * math/libm-test.inc (cos_test): Add more tests and enable more
33573 tests for long double.
33574 (sin_test): Likewise.
33575 (sincos_test): Likewise.
33576 * sysdeps/i386/fpu/libm-test-ulps: Update.
33577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33579 2012-03-16 David S. Miller <davem@davemloft.net>
33581 * sysdeps/sparc/fpu/math_private.h: New file.
33583 2012-03-15 David S. Miller <davem@davemloft.net>
33585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33599 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33600 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33602 * sysdeps/sparc/sparc-ifunc.h: New file.
33603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33629 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33630 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33641 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33642 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33643 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33644 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33645 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33646 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33648 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33650 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33654 2012-03-15 Andreas Jaeger <aj@suse.de>
33657 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33658 ieee754/flt-32 implementation for sin, cos and sincos.
33659 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33660 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33661 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33662 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33663 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33664 ieee754/flt-32 implementation for tan.
33666 * math/libm-test.inc (cos_test): Enable some large input tests for
33668 (sin_test): Likewise.
33669 (sincos_test): Likewise.
33670 (tan_test): Add tests for large input.
33672 * sysdeps/i386/fpu/libm-test-ulps: Update.
33674 2012-03-15 Andreas Jaeger <aj@suse.de>
33677 * math/libm-test.inc (cos_test): Add more test cases.
33678 (sin_test): Likewise.
33679 (sincos_test): Likewise.
33681 2012-03-15 Andreas Jaeger <aj@suse.de>
33684 * math/libm-test.inc (cos_test): Add a test case for large input
33686 (sin_test): Likewise.
33687 (sincos_test): Likewise.
33689 2012-03-15 Andreas Jaeger <aj@suse.de>
33690 Joseph Myers <joseph@codesourcery.com>
33693 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33694 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33695 * sysdeps/i386/fpu/branred.c: Likewise.
33696 * sysdeps/i386/fpu/dosincos.c: Likewise.
33697 * sysdeps/i386/fpu/mpa.c: Likewise.
33698 * sysdeps/i386/fpu/s_cos.S: Likewise.
33699 * sysdeps/i386/fpu/s_sin.S: Likewise.
33700 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33701 * sysdeps/i386/fpu/sincos32.c: Likewise.
33703 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33705 (libc_feupdateenv_53bit): Define.
33706 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33708 (libc_feupdateenv_53bit): Define.
33710 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33711 53 bit (without extend i386 double precision).
33713 * math/libm-test.inc (sincos_test): Add tests for large input.
33717 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33719 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33723 2012-03-15 David S. Miller <davem@davemloft.net>
33725 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33726 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33727 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33728 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33752 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33753 fmin/fmax sysdep routines.
33754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33756 2012-03-14 David S. Miller <davem@davemloft.net>
33758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33763 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33764 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33765 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33778 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33780 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33781 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33783 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33784 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33785 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33786 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33830 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33835 * sysdeps/sparc/configure.in: New file.
33836 * sysdeps/sparc/configure: Generate.
33837 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33838 * configure: Regenerate.
33839 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33840 * config.make.in (have-as-vis3): New.
33841 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33842 available use -Av9d instead of -Av9a.
33843 * sysdeps/sparc/sparc64/Makefile: Likewise.
33844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33853 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33854 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33855 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33856 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33857 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33859 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33860 fzeros/fnegs to load 0x80000000 into a float register instead of
33862 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33864 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33868 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33869 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33870 ($(inst_includedir)/bits/syscall.h): Remove rule.
33871 ($(objpfx)bits/syscall.d): Include instead of
33872 $(objpfx)syscall-list.d.
33873 (generated): Change syscall-list.h and syscall-list.d to
33874 bits/syscall.h and bits/syscall.d.
33876 2012-03-14 Roland McGrath <roland@hack.frob.com>
33879 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33881 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33884 * math/s_csqrt.c: Include <float.h>.
33885 (__csqrt): Scale large or subnormal inputs.
33886 * math/s_csqrtf.c: Likewise.
33887 * math/s_csqrtl.c: Likewise.
33888 * math/libm-test.inc (csqrt_test): Add more tests.
33889 * sysdeps/i386/fpu/libm-test-ulps: Update.
33890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33893 * math/libm-test.inc (hypot_test): Add more tests.
33895 2012-03-13 David S. Miller <davem@davemloft.net>
33898 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33899 double-precision for the calculation instead of scaling.
33901 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33903 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33904 manipulate bits before adding and subtracting TWO52[sx].
33905 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33906 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33908 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33910 2012-03-13 David S. Miller <davem@davemloft.net>
33912 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33913 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33914 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33915 rtld-global-offsets.h
33916 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33918 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33921 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33923 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33924 'err' in the ifdef scope in which it is actually used.
33926 * nss/nss_db/db-init.c: Include string.h
33928 2012-03-12 David S. Miller <davem@davemloft.net>
33930 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33931 masking out of the most significant byte of random value used.
33932 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33933 Fix coding style in previous change.
33935 * sysdeps/unix/sysv/linux/kernel-features.h
33936 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33937 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33939 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33942 2012-03-11 David S. Miller <davem@davemloft.net>
33944 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33945 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33946 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33947 for 'resultvar' otherwise things get truncated on 64-bit.
33949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33950 Fix masking out of the most significant byte of random value used.
33952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33954 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33958 2012-03-09 David S. Miller <davem@davemloft.net>
33960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33961 variables with appropriate CPP guards.
33962 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33963 from the frame pointer, not the stack pointer. Correct layout
33964 comments. Fix test on resulting framesize and the management of
33965 the outregs buffer for pltexit. Preserve floating point return
33966 values across _dl_call_pltexit call.
33967 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33968 framesize and the management of the outregs buffer for pltexit.
33969 Preserve floating point return values across _dl_call_pltexit
33971 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33972 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33973 (la_sparc64_gnu_pltexit): New functions.
33974 (print_exit): Fix format string for return register value.
33976 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33978 * sunrpc/Makefile (others): Add rpcgen.
33979 ($(objpfx)rpcgen): Remove special build rule and dependency on
33981 * sunrpc/rpcgen.c: New file.
33983 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33986 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33987 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33988 * sysdeps/i386/crti.S: Likewise.
33989 * sysdeps/i386/crtn.S: Likewise.
33990 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33991 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33992 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33993 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33994 * sysdeps/sh/crti.S: Likewise.
33995 * sysdeps/sh/crtn.S: Likewise.
33996 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33999 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34001 * locale/programs/locfile-kw.gperf: Likewise.
34002 * locale/programs/charmap-kw.h: Regenerated.
34003 * locale/programs/locfile-kw.h: Likewise.
34006 * intl/plural.y: Replace FSF snail mail address with URL.
34007 * intl/plural.c: Regenerated.
34009 2012-03-09 Richard Henderson <rth@twiddle.net>
34011 * include/math_private.h: Remove file.
34012 * math/math_private.h: Move file ...
34013 * sysdeps/generic/math_private.h: ... here.
34015 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34016 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34017 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34019 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34020 and <math_private.h>.
34021 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34022 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34023 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34024 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34025 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34026 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34027 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34029 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34030 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34032 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34033 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34034 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34035 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34036 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34037 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34038 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34039 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34040 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34042 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34043 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34045 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34046 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34047 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34050 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34051 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34052 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34053 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34054 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34055 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34056 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34057 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34058 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34059 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34060 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34061 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34062 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34063 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34064 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34065 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34066 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34067 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34068 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34069 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34070 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34071 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34072 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34073 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34074 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34075 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34076 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34077 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34078 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34079 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34080 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34081 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34082 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34083 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34084 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34085 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34086 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34087 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34088 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34089 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34090 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34091 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34092 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34093 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34094 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34095 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34097 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34098 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34099 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34100 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34101 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34102 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34103 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34104 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34105 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34108 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34109 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34110 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34111 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34112 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34113 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34114 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34115 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34116 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34117 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34118 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34119 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34120 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34121 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34122 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34123 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34124 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34125 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34126 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34127 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34128 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34129 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34130 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34131 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34132 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34133 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34134 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34135 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34136 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34137 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34138 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34139 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34140 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34141 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34142 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34143 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34144 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34145 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34146 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34147 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34148 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34149 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34150 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34151 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34152 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34153 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34154 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34155 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34156 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34157 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34158 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34159 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34160 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34161 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34162 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34163 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34164 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34165 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34166 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34167 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34168 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34169 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34170 * sysdeps/ieee754/k_standard.c: Likewise.
34171 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34172 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34174 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34175 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34176 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34177 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34178 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34179 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34180 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34181 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34182 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34183 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34184 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34185 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34186 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34187 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34188 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34189 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34190 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34191 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34192 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34193 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34194 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34195 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34196 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34197 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34198 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34199 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34200 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34201 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34202 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34203 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34204 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34205 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34206 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34207 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34208 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34209 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34210 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34211 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34212 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34213 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34214 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34215 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34216 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34217 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34218 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34219 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34220 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34221 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34222 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34223 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34224 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34225 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34226 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34227 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34228 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34229 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34230 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34231 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34232 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34233 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34234 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34235 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34236 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34237 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34238 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34239 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34240 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34241 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34242 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34243 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34244 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34245 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34246 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34247 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34248 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34249 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34250 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34251 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34252 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34253 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34254 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34255 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34256 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34257 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34258 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34259 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34260 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34261 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34262 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34263 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34264 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34265 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34266 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34267 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34268 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34269 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34270 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34271 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34272 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34273 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34274 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34275 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34276 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34277 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34278 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34279 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34280 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34281 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34282 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34283 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34284 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34285 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34286 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34287 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34288 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34289 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34290 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34291 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34292 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34293 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34294 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34295 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34296 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34297 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34298 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34299 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34301 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34302 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34303 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34304 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34305 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34306 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34307 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34308 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34309 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34310 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34311 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34312 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34313 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34314 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34315 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34316 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34317 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34318 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34319 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34320 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34321 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34322 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34323 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34324 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34325 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34326 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34327 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34328 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34329 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34330 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34331 * sysdeps/ieee754/s_lib_version.c: Likewise.
34332 * sysdeps/ieee754/s_matherr.c: Likewise.
34333 * sysdeps/ieee754/s_signgam.c: Likewise.
34334 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34335 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34336 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34337 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34338 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34339 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34340 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34341 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34342 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34343 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34344 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34345 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34346 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34347 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34348 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34349 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34350 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34351 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34352 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34353 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34354 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34356 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34358 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34359 * sunrpc/rpc_main.c: Likewise.
34360 * sunrpc/rpc_svcout.c: Likewise.
34362 2012-03-09 David S. Miller <davem@davemloft.net>
34364 * include/math_private.h: New file.
34366 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34368 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34369 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34370 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34371 from <bits/socket_type.h>.
34372 (enum __socket_type): Don't define here.
34373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34375 bits/socket_type.h.
34378 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34379 checking __USE_GNU.
34381 * Makerules ($(inst_includedir)/%.h): New rule.
34382 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34383 (install-others): Remove variable setting.
34384 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34386 2012-03-08 Richard Henderson <rth@twiddle.net>
34388 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34389 from macro to inline function; merge with the
34390 !__LIBC_INTERNAL_MATH_INLINES version.
34391 (__ieee754_sqrtf): Likewise.
34393 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34394 to inline function.
34395 (__rintf, __floor, __floorf): Likewise.
34397 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34398 macro to inline function.
34399 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34401 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34402 not <math/math_private.h>.
34404 2012-03-08 David S. Miller <davem@davemloft.net>
34406 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34408 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34410 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34412 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34414 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34415 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34417 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34419 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34420 be defined individually, they must be defined as a block. Define
34421 S for printing a string instead of hidint the different by using a
34422 macro for adding the 'l'.
34423 * stdio-common/tst-fphex-wide.c: Adjust.
34425 2012-03-07 Marek Polacek <polacek@redhat.com>
34427 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34429 2012-03-08 Marek Polacek <polacek@redhat.com>
34432 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34433 * stdio-common/tst-fphex.c: Define a few macros to make the
34434 test reusable. Use them.
34435 * stdio-common/tst-fphex-wide.c: New file.
34437 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34440 * manual/macros.texi (gnusystems): New macro.
34441 (nongnusystems): Likewise.
34442 (gnulinuxhurdsystems): Likewise.
34443 (gnuhurdsystems): Likewise..
34444 (gnulinuxsystems): Likewise.
34445 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34446 variants of the GNU system, not "GNU system".
34447 * manual/conf.texi: Likewise.
34448 * manual/errno.texi: Likewise. Update example of errno macro
34450 * manual/filesys.texi: Likewise.
34451 (getumask): Document as specific to GNU/Hurd.
34452 * manual/install.texi: Likewise. Reword some references to
34454 * manual/intro.texi: Likewise.
34455 * manual/io.texi: Likewise.
34456 (File Name Portability): Detail which constraints are inapplicable
34457 to all GNU systems and which are only inapplicable to GNU/Hurd.
34458 * manual/job.texi: Likewise.
34459 * manual/llio.texi: Likewise.
34460 (O_NOCTTY): Document as present on GNU/Linux.
34461 * manual/maint.texi: Likewise.
34462 * manual/memory.texi: Likewise.
34463 * manual/pattern.texi: Likewise.
34464 * manual/pipe.texi: Likewise.
34465 * manual/process.texi: Likewise.
34466 * manual/resource.texi: Likewise.
34467 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34469 * manual/setjmp.texi: Likewise.
34470 * manual/signal.texi: Likewise.
34471 * manual/startup.texi: Likewise.
34472 * manual/stdio.texi: Likewise.
34473 * manual/terminal.texi: Likewise.
34474 (ONLCR): Document as POSIX.
34475 (OXTABS): Document availability on GNU/Linux as XTABS.
34476 (ONOEOT): Document availability separately from other bits.
34477 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34478 * manual/time.texi: Likewise.
34479 * manual/users.texi: Likewise.
34480 * INSTALL: Regenerated.
34481 * sysdeps/gnu/errlist.c: Regenerated.
34483 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34484 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34485 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34487 * configure: Regenerated.
34489 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34491 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34492 default includes instead of AC_HEADER_CHECK.
34493 * sysdeps/i386/configure: Regenerated.
34496 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34497 * math/s_cacoshf.c (__cacoshf): Likewise.
34498 * math/s_cacoshl.c (__cacoshl): Likewise.
34499 * math/s_casinh.c (__casinh): Set signs of result from argument.
34500 * math/s_casinhf.c (__casinhf): Likewise.
34501 * math/s_casinhl.c (__casinhl): Likewise.
34502 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34503 (casinh_test): Add more tests.
34504 * sysdeps/i386/fpu/libm-test-ulps: Update.
34505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34507 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34509 * po/zh_TW.po: Update from translation team.
34511 * login/Makefile (distribute): Remove variable.
34512 * catgets/Makefile: Likewise.
34513 * mach/Makefile: Likewise.
34514 * malloc/Makefile: Likewise.
34515 * misc/Makefile: Likewise.
34516 * iconv/Makefile: Likewise.
34517 * nscd/Makefile: Likewise.
34518 * hurd/Makefile: Likewise.
34519 * manual/Makefile: Likewise.
34520 * locale/Makefile: Likewise.
34521 * intl/Makefile: Likewise.
34522 * conform/Makefile: Likewise.
34523 * nss/Makefile: Likewise.
34524 * time/Makefile: Likewise.
34525 * soft-fp/Makefile: Likewise.
34526 * dirent/Makefile: Likewise.
34527 * gmon/Makefile: Likewise.
34528 * po/Makefile: Likewise.
34529 * rt/Makefile: Likewise.
34530 * socket/Makefile: Likewise.
34531 * math/Makefile: Likewise.
34532 * signal/Makefile: Likewise.
34533 * debug/Makefile: Likewise.
34534 * elf/Makefile: Likewise.
34535 * timezone/Makefile: Likewise.
34536 * stdlib/Makefile: Likewise.
34537 * iconvdata/Makefile: Likewise.
34538 * sunrpc/Makefile: Likewise.
34539 * io/Makefile: Likewise.
34540 * argp/Makefile: Likewise.
34541 * inet/Makefile: Likewise.
34542 * hesiod/Makefile: Likewise.
34543 * grp/Makefile: Likewise.
34544 * csu/Makefile: Likewise.
34545 * wctype/Makefile: Likewise.
34546 * crypt/Makefile: Likewise.
34547 * libio/Makefile: Likewise.
34548 * string/Makefile: Likewise.
34549 * nis/Makefile: Likewise.
34550 * resolv/Makefile: Likewise.
34551 * stdio-common/Makefile: Likewise.
34552 * wcsmbs/Makefile: Likewise.
34553 * dlfcn/Makefile: Likewise.
34554 * posix/Makefile: Likewise.
34557 * timezone/Makefile: Don't install timezone files, just the programs
34560 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34562 * nss/databases.def: Add missing gshadow entry.
34564 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34566 2012-03-06 Marek Polacek <polacek@redhat.com>
34569 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34570 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34571 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34572 * stdio-common/tst-long-dbl-fphex.c: New file.
34574 2012-03-06 David S. Miller <davem@davemloft.net>
34576 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34577 (set_obp_int): New function.
34578 (get_obp_int): New function.
34579 (__get_clockfreq_via_dev_openprom): Likewise.
34580 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34581 Avoid unused variable warnings on 'val' and use builtin_expect.
34582 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34584 (INLINE_CLONE_SYSCALL): Likewise.
34586 2012-03-05 David S. Miller <davem@davemloft.net>
34588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34590 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34594 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34595 only for |x| >= 40.
34596 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34598 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34600 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34601 Replace gettimeofday with __vdso_gettimeofday.
34603 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34604 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34605 __vdso_clock_gettime and __vdso_getcpu.
34607 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34608 time with __vdso_time.
34610 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34612 * manual/lang.texi (size_t): Note types to which size_t may be
34613 equivalent with the GNU C Library, but do not describe when
34614 differences between them are significant.
34616 2012-03-05 Andreas Jaeger <aj@suse.de>
34618 * sysdeps/i386/fpu/libm-test-ulps: Update.
34620 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34623 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34624 (__ieee754_pow): Save and restore rounding mode and use
34625 round-to-nearest for main computations.
34626 * math/libm-test.inc (pow_test_tonearest): New function.
34627 (pow_test_towardzero): Likewise.
34628 (pow_test_downward): Likewise.
34629 (pow_test_upward): Likewise.
34630 (main): Call the new functions.
34631 * sysdeps/i386/fpu/libm-test-ulps: Update.
34632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34635 * math/libm-test.inc (cosh_test_tonearest): New function.
34636 (cosh_test_towardzero): Likewise.
34637 (cosh_test_downward): Likewise.
34638 (cosh_test_upward): Likewise.
34639 (sinh_test_tonearest): Likewise.
34640 (sinh_test_towardzero): Likewise.
34641 (sinh_test_downward): Likewise.
34642 (sinh_test_upward): Likewise.
34643 (main): Call the new functions.
34644 * sysdeps/i386/fpu/libm-test-ulps: Update.
34645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34647 2012-03-05 Tom de Vries <tom@codesourcery.com>
34649 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34650 default stack guard is set in last bytes.
34651 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34653 2012-03-05 Kees Cook <keescook@chromium.org>
34655 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34658 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34659 possibly allocate from heap instead of stack.
34660 * stdio-common/bug-vfprintf-nargs.c: New file.
34661 * stdio-common/Makefile (tests): Add nargs overflow test.
34663 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34667 2012-03-03 Marek Polacek <polacek@redhat.com>
34669 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34670 * math/math_private.h: Likewise.
34671 * stdlib/tst-strtod.c: Likewise.
34672 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34673 * sysdeps/x86_64/bits/atomic.h: Likewise.
34675 2012-03-02 David S. Miller <davem@davemloft.net>
34677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34681 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34682 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34683 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34684 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34686 2012-03-02 Roland McGrath <roland@hack.frob.com>
34689 * manual/examples/README: New file, says the example source files
34690 can be used under GPL>=2.
34691 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34692 line containing just "*/".
34693 * manual/examples/add.c: Add copyright header (GPL>=2).
34694 * manual/examples/argp-ex1.c: Likewise.
34695 * manual/examples/argp-ex2.c: Likewise.
34696 * manual/examples/argp-ex3.c: Likewise.
34697 * manual/examples/argp-ex4.c: Likewise.
34698 * manual/examples/atexit.c: Likewise.
34699 * manual/examples/db.c: Likewise.
34700 * manual/examples/dir.c: Likewise.
34701 * manual/examples/dir2.c: Likewise.
34702 * manual/examples/execinfo.c: Likewise.
34703 * manual/examples/filecli.c: Likewise.
34704 * manual/examples/filesrv.c: Likewise.
34705 * manual/examples/fmtmsgexpl.c: Likewise.
34706 * manual/examples/genpass.c: Likewise.
34707 * manual/examples/inetcli.c: Likewise.
34708 * manual/examples/inetsrv.c: Likewise.
34709 * manual/examples/isockad.c: Likewise.
34710 * manual/examples/longopt.c: Likewise.
34711 * manual/examples/memopen.c: Likewise.
34712 * manual/examples/memstrm.c: Likewise.
34713 * manual/examples/mkfsock.c: Likewise.
34714 * manual/examples/mkisock.c: Likewise.
34715 * manual/examples/mygetpass.c: Likewise.
34716 * manual/examples/pipe.c: Likewise.
34717 * manual/examples/popen.c: Likewise.
34718 * manual/examples/rprintf.c: Likewise.
34719 * manual/examples/search.c: Likewise.
34720 * manual/examples/select.c: Likewise.
34721 * manual/examples/setjmp.c: Likewise.
34722 * manual/examples/sigh1.c: Likewise.
34723 * manual/examples/sigusr.c: Likewise.
34724 * manual/examples/stpcpy.c: Likewise.
34725 * manual/examples/strdupa.c: Likewise.
34726 * manual/examples/strftim.c: Likewise.
34727 * manual/examples/strncat.c: Likewise.
34728 * manual/examples/subopt.c: Likewise.
34729 * manual/examples/swapcontext.c: Likewise.
34730 * manual/examples/termios.c: Likewise.
34731 * manual/examples/testopt.c: Likewise.
34732 * manual/examples/testpass.c: Likewise.
34733 * manual/examples/timeval_subtract.c: Likewise.
34736 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34738 * manual/timeval_subtract.c.texi: ... here, new file.
34740 2012-03-02 David S. Miller <davem@davemloft.net>
34742 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34744 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34747 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34748 (__sin): Save and restore rounding mode and use round-to-nearest
34749 for all computations.
34750 (__cos): Save and restore rounding mode and use round-to-nearest
34751 for all computations.
34752 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34754 (tan): Save and restore rounding mode and use round-to-nearest for
34756 * math/libm-test.inc (cos_test_tonearest): New function.
34757 (cos_test_towardzero): Likewise.
34758 (cos_test_downward): Likewise.
34759 (cos_test_upward): Likewise.
34760 (sin_test_tonearest): Likewise.
34761 (sin_test_towardzero): Likewise.
34762 (sin_test_downward): Likewise.
34763 (sin_test_upward): Likewise.
34764 (tan_test_tonearest): Likewise.
34765 (tan_test_towardzero): Likewise.
34766 (tan_test_downward): Likewise.
34767 (tan_test_upward): Likewise.
34768 (main): Call the new functions.
34769 * sysdeps/i386/fpu/libm-test-ulps: Update.
34770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34773 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34774 small n, then large n, before computing and testing k+n.
34775 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34778 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34780 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34781 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34782 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34783 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34784 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34785 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34786 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34787 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34788 * math/libm-test.inc (scalbn_test): Add more tests.
34789 (scalbln_test): Likewise.
34791 * manual/filesys.texi (mode_t): Describe constraints on size and
34792 signedness, not exact equivalence to a particular type.
34794 (ino64_t): Likewise.
34796 (nlink_t): Likewise.
34797 (blkcnt_t): Likewise.
34798 (blkcnt64_t): Likewise.
34799 * manual/llio.texi (off_t): Likewise.
34802 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34803 (__ieee754_exp): Save and restore rounding mode and use
34804 round-to-nearest for all computations.
34805 * math/libm-test.inc (exp_test_tonearest): New function.
34806 (exp_test_towardzero): Likewise.
34807 (exp_test_downward): Likewise.
34808 (exp_test_upward): Likewise.
34809 (main): Call the new functions.
34810 * sysdeps/i386/fpu/libm-test-ulps: Update.
34811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34813 2012-03-01 Chris Demetriou <cgd@google.com>
34815 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34816 have predictable order.
34818 2012-03-01 David S. Miller <davem@davemloft.net>
34820 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34822 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34823 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34824 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34825 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34827 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34828 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34829 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34831 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34832 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34833 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34834 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34835 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34839 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34840 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34841 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34843 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34844 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34845 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34846 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34847 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34848 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34849 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34850 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34851 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34852 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34853 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34854 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34855 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34856 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34857 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34858 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34859 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34860 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34861 * sysdeps/sparc/elf/configure: Regenerated.
34863 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34865 * configure.in (AS, LD): Require binutils 2.20 or later.
34866 * configure: Regenerated.
34867 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34868 as required minimum version.
34869 * INSTALL: Regenerated.
34873 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34874 before squaring exponent.
34875 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34876 bottom long double and 27 bits of top long double before squaring
34878 * math/libm-test.inc (erfc_test): Add more tests.
34879 * sysdeps/i386/fpu/libm-test-ulps: Update.
34880 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34883 2012-03-01 Kai Tietz <ktietz@redhat.com>
34885 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34886 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34887 containing bit-fields.
34888 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34889 * soft-fp/single.h (_FP_UNION_S): Likewise.
34890 * soft-fp/double.h (_FP_UNION_D): Likewise.
34892 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34895 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34896 not include ../strcmp.S.
34897 [USE_AS_STRNCASECMP_L]: Likewise.
34898 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34899 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34900 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34901 (__strncasecmp_l_ia32): Define as alias to
34902 __strncasecmp_l_nonascii.
34905 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34906 * sysdeps/i386/fpu/libm-test-ulps: Update.
34907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34909 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34912 2012-02-29 Jeff Law <law@redhat.com>
34914 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34915 out of bounds read.
34917 2012-02-29 Marek Polacek <polacek@redhat.com>
34920 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34921 * elf/Makefile: Add rules to run tst-unused-dep.out.
34923 2012-02-28 David S. Miller <davem@davemloft.net>
34925 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34926 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34928 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34929 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34930 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34932 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34934 * math/libm-test.inc (llround_test): Move one test from
34935 lround_test. Use TEST_f_L in moved test.
34936 (lround_test): Move misplaced test to llround_test. Add testcase
34939 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34941 * sysdeps/x86_64/fpu/e_expf.S: New file.
34942 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34944 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34947 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34948 of remain_len that may cause incomplete multi-byte character and
34950 * posix/bug-regex33.c: New file.
34951 * posix/Makefile (tests): Add bug-regex33.
34953 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34955 * manual/macros.texi: New file.
34956 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34957 * manual/libc.texinfo: Include macros.texi.
34958 * manual/creatute.texi: Likewise.
34959 * manual/install.texi: Likewise.
34960 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34961 @glibcadj{} in references to the GNU C Library.
34962 * manual/charset.texi: Likewise.
34963 * manual/conf.texi: Likewise.
34964 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34965 when not using those macros.
34966 * manual/creature.texi: Likewise.
34967 * manual/crypt.texi: Likewise.
34968 * manual/errno.texi: Likewise.
34969 * manual/filesys.texi: Likewise.
34970 * manual/header.texi: Likewise.
34971 * manual/install.texi: Likewise.
34972 * manual/intro.texi: Likewise.
34973 * manual/io.texi: Likewise.
34974 * manual/job.texi: Likewise.
34975 * manual/lang.texi: Likewise.
34976 * manual/libc.texiinfo: Likewise.
34977 * manual/llio.texi: Likewise.
34978 * manual/locale.texi: Likewise.
34979 * manual/maint.texi: Likewise.
34980 * manual/math.texi: Likewise.
34981 * manual/memory.texi: Likewise.
34982 * manual/message.texi: Likewise.
34983 * manual/nss.texi: Likewise.
34984 * manual/pattern.texi: Likewise.
34985 * manual/process.texi: Likewise.
34986 * manual/resource.texi: Likewise.
34987 * manual/search.texi: Likewise.
34988 * manual/setjmp.texi: Likewise.
34989 * manual/signal.texi: Likewise.
34990 * manual/socket.texi: Likewise.
34991 * manual/startup.texi: Likewise.
34992 * manual/stdio.texi: Likewise.
34993 * manual/string.texi: Likewise.
34994 * manual/sysinfo.texi: Likewise.
34995 * manual/syslog.texi: Likewise.
34996 * manual/terminal.texi: Likewise.
34997 * manual/time.texi: Likewise.
34998 * manual/users.texi: Likewise.
34999 * INSTALL: Regenerated.
35000 * NOTES: Regenerated.
35001 * sysdeps/gnu/errlist.c: Regenerated.
35003 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35005 * include/dirent.h: Include <dirstream.h> before
35008 2012-02-28 David S. Miller <davem@davemloft.net>
35010 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35011 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35012 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35013 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35015 2012-02-27 David S. Miller <davem@davemloft.net>
35017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35019 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35020 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35023 frame pointer instead of stack pointer relative arg slot.
35024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35025 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35026 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35028 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35031 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35033 2012-02-27 David S. Miller <davem@davemloft.net>
35035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35039 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35040 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35041 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35042 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35044 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35046 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35047 later. Allow versions 5-9.
35048 * configure: Regenerated.
35049 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35050 required minimum version and 4.6 as recommended version. Do not
35051 mention bugs in GCC 2.7 and 2.8.
35052 * INSTALL: Regenerated.
35054 2012-02-27 David S. Miller <davem@davemloft.net>
35056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35060 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35061 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35062 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35063 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35065 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35066 manipulate bits before adding and subtracting TWO112[sx].
35067 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35069 2012-02-27 Roland McGrath <roland@hack.frob.com>
35072 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35073 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35074 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35075 being in POSIX, because they are in 1003.1-2008.
35077 * rt/tst-aio.c: Include <fcntl.h>.
35078 * rt/tst-aio7.c: Likewise.
35079 * rt/tst-aio64.c: Likewise.
35081 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35083 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35085 * manual/install.texi (--with-headers): Describe headers as
35086 interface headers, not private headers.
35087 (Specific advice for GNU/Linux systems): Describe use of headers
35088 from "make headers_install", not private headers from older
35090 * INSTALL: Regenerated.
35091 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35093 * sysdeps/unix/sysv/linux/configure: Regenerated.
35095 * manual/llio.texi (fclean): Remove documentation.
35097 * manual/Makefile (libc-texi-generated): New variable. Include
35099 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35100 $(libc-texi-generated), not duplicated list of files.
35101 (version.texi, stamp-version): New rules.
35102 (realclean): Remove $(libc-texi-generated), not individual files
35103 from that list. Do not remove dir-add.texinfo.
35104 * manual/libc.texinfo: Comment out uses of edition numbers and
35105 references to printed manual. Remove last-updated dates.
35106 (EDITION): Comment out.
35108 (VERSION, UPDATED): Remove.
35109 (version.texi): Include.
35111 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35113 * sysdeps/posix/spawni.c: Include <signal.h>.
35114 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35115 * sysdeps/pthread/aio_fsync.c: Likewise.
35117 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35119 * conform/Makefile (tests): Run only when not cross-compiling and
35120 when fast-check is not defined.
35122 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35123 * conform/data/limits.h-data: Fixes for POSIX2008.
35124 * conform/run-conformtest.sh: Run all tests.
35125 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35127 * include/bits/dlfcn.h: Likewise.
35128 * include/langinfo.h: Likewise.
35129 * include/monetary.h: Likewise.
35130 * include/sys/poll.h: Likewise.
35132 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35134 * posix/spawn.h: Define __need_sigset_t.
35135 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35136 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35137 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35138 to get sigevent_t only.
35139 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35140 only for __USE_GNU.
35141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35142 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35143 process_vm_writev only for __USE_GNU.
35144 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35146 * conform/Makefile: For now ignore errors from run-conformtest.
35147 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35148 POSIX to avoid namespace pollution. Don't prepend headers.
35149 * conform/data/aio.h-data: Fixes for POSIX testing.
35150 * conform/data/fcntl.h-data: Likewise.
35151 * conform/data/glob.h-data: Likewise.
35152 * conform/data/grp.h-data: Likewise.
35153 * conform/data/pthread.h-data: Likewise.
35154 * conform/data/pwd.h-data: Likewise.
35155 * conform/data/signal.h-data: Likewise.
35156 * conform/data/spawn.h-data: Likewise.
35157 * conform/data/stdio.h-data: Likewise.
35158 * conform/data/stdlib.h-data: Likewise.
35159 * conform/data/stropts.h-data: Likewise.
35160 * conform/data/sys/mman.h-data: Likewise.
35161 * conform/data/sys/stat.h-data: Likewise.
35162 * conform/data/sys/types.h-data: Likewise.
35163 * conform/data/sys/wait.h-data: Likewise.
35164 * conform/data/time.h-data: Likewise.
35165 * conform/data/unistd.h-data: Likewise.
35166 * conform/data/utime.h-data: Likewise.
35168 * io/sys/stat.h: fchmod was always in POSIX.
35169 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35170 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35171 * rt/aio.h: Define __need_timespec before including <time.h>.
35172 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35173 struct. Add forward declaration of pthread_attr_t and use it in
35175 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35176 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35177 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35178 always remove CLK_TCK definition.
35180 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35182 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35184 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35186 * conform/run-conformtest.sh: New file.
35187 * conform/Makefile: Run run-conformtest for tests.
35188 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35191 * conform/data/uchar.h-data: New file.
35192 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35193 * conform/data/arpa/inet.h-data: Likewise.
35194 * conform/data/assert.h-data: Likewise.
35195 * conform/data/complex.h-data: Likewise.
35196 * conform/data/cpio.h-data: Likewise.
35197 * conform/data/ctype.h-data: Likewise.
35198 * conform/data/dirent.h-data: Likewise.
35199 * conform/data/dlfcn.h-data: Likewise.
35200 * conform/data/errno.h-data: Likewise.
35201 * conform/data/fcntl.h-data: Likewise.
35202 * conform/data/float.h-data: Likewise.
35203 * conform/data/fmtmsg.h-data: Likewise.
35204 * conform/data/fnmatch.h-data: Likewise.
35205 * conform/data/ftw.h-data: Likewise.
35206 * conform/data/glob.h-data: Likewise.
35207 * conform/data/grp.h-data: Likewise.
35208 * conform/data/iconv.h-data: Likewise.
35209 * conform/data/inttypes.h-data: Likewise.
35210 * conform/data/langinfo.h-data: Likewise.
35211 * conform/data/libgen.h-data: Likewise.
35212 * conform/data/limits.h-data: Likewise.
35213 * conform/data/locale.h-data: Likewise.
35214 * conform/data/math.h-data: Likewise.
35215 * conform/data/monetary.h-data: Likewise.
35216 * conform/data/mqueue.h-data: Likewise.
35217 * conform/data/ndbm.h-data: Likewise.
35218 * conform/data/net/if.h-data: Likewise.
35219 * conform/data/netdb.h-data: Likewise.
35220 * conform/data/netinet/in.h-data: Likewise.
35221 * conform/data/nl_types.h-data: Likewise.
35222 * conform/data/poll.h-data: Likewise.
35223 * conform/data/pthread.h-data: Likewise.
35224 * conform/data/pwd.h-data: Likewise.
35225 * conform/data/regex.h-data: Likewise.
35226 * conform/data/sched.h-data: Likewise.
35227 * conform/data/search.h-data: Likewise.
35228 * conform/data/semaphore.h-data: Likewise.
35229 * conform/data/setjmp.h-data: Likewise.
35230 * conform/data/signal.h-data: Likewise.
35231 * conform/data/spawn.h-data: Likewise.
35232 * conform/data/stdarg.h-data: Likewise.
35233 * conform/data/stdio.h-data: Likewise.
35234 * conform/data/stdlib.h-data: Likewise.
35235 * conform/data/string.h-data: Likewise.
35236 * conform/data/strings.h-data: Likewise.
35237 * conform/data/stropts.h-data: Likewise.
35238 * conform/data/sys/ipc.h-data: Likewise.
35239 * conform/data/sys/mman.h-data: Likewise.
35240 * conform/data/sys/msg.h-data: Likewise.
35241 * conform/data/sys/resource.h-data: Likewise.
35242 * conform/data/sys/select.h-data: Likewise.
35243 * conform/data/sys/sem.h-data: Likewise.
35244 * conform/data/sys/shm.h-data: Likewise.
35245 * conform/data/sys/socket.h-data: Likewise.
35246 * conform/data/sys/stat.h-data: Likewise.
35247 * conform/data/sys/statvfs.h-data: Likewise.
35248 * conform/data/sys/time.h-data: Likewise.
35249 * conform/data/sys/timeb.h-data: Likewise.
35250 * conform/data/sys/times.h-data: Likewise.
35251 * conform/data/sys/types.h-data: Likewise.
35252 * conform/data/sys/uio.h-data: Likewise.
35253 * conform/data/sys/un.h-data: Likewise.
35254 * conform/data/sys/utsname.h-data: Likewise.
35255 * conform/data/sys/wait.h-data: Likewise.
35256 * conform/data/syslog.h-data: Likewise.
35257 * conform/data/tar.h-data: Likewise.
35258 * conform/data/termios.h-data: Likewise.
35259 * conform/data/utime.h-data: Likewise.
35260 * conform/data/utmpx.h-data: Likewise.
35261 * conform/data/varargs.h-data: Likewise.
35262 * conform/data/wchar.h-data: Likewise.
35263 * conform/data/wctype.h-data: Likewise.
35264 * conform/data/wordexp.h-data: Likewise.
35266 * include/stropts.h: New file.
35267 * include/uchar.h: New file.
35268 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35269 * include/assert.h: Likewise.
35270 * include/ctype.h: Likewise.
35271 * include/dirent.h: Likewise.
35272 * include/dlfcn.h: Likewise.
35273 * include/fcntl.h: Likewise.
35274 * include/fnmatch.h: Likewise.
35275 * include/glob.h: Likewise.
35276 * include/grp.h: Likewise.
35277 * include/libio.h: Likewise.
35278 * include/locale.h: Likewise.
35279 * include/math.h: Likewise.
35280 * include/net/if.h: Likewise.
35281 * include/netdb.h: Likewise.
35282 * include/netinet/in.h: Likewise.
35283 * include/pthread.h: Likewise.
35284 * include/pwd.h: Likewise.
35285 * include/regex.h: Likewise.
35286 * include/sched.h: Likewise.
35287 * include/search.h: Likewise.
35288 * include/setjmp.h: Likewise.
35289 * include/signal.h: Likewise.
35290 * include/stdio.h: Likewise.
35291 * include/stdlib.h: Likewise.
35292 * include/string.h: Likewise.
35293 * include/sys/cdefs.h: Likewise.
35294 * include/sys/mman.h: Likewise.
35295 * include/sys/msg.h: Likewise.
35296 * include/sys/resource.h: Likewise.
35297 * include/sys/select.h: Likewise.
35298 * include/sys/socket.h: Likewise.
35299 * include/sys/stat.h: Likewise.
35300 * include/sys/statvfs.h: Likewise.
35301 * include/sys/time.h: Likewise.
35302 * include/sys/times.h: Likewise.
35303 * include/sys/uio.h: Likewise.
35304 * include/sys/utsname.h: Likewise.
35305 * include/sys/wait.h: Likewise.
35306 * include/termios.h: Likewise.
35307 * include/time.h: Likewise.
35308 * include/ulimit.h: Likewise.
35309 * include/unistd.h: Likewise.
35310 * include/utime.h: Likewise.
35311 * include/wchar.h: Likewise.
35312 * include/wctype.h: Likewise.
35313 * include/wordexp.h: Likewise.
35315 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35317 * time/time.h: TIME_UTC must be a macro.
35318 Make timespec_get available for ISO C11 only as well.
35320 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35322 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35323 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35325 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35327 * configure.in: Use -o not -a in test for unsupported multi-arch.
35329 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35331 * manual/texinfo.tex: Update to version 2012-01-19.16.
35333 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35335 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35337 2012-02-24 Roland McGrath <roland@hack.frob.com>
35340 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35341 * manual/fdl-1.3.texi: New file.
35342 * manual/fdl-1.1.texi: File removed.
35345 * manual/libc.texinfo (FDL_VERSION): New @set.
35346 Use it for mention of FDL in cover text.
35347 (Documentation License): Use it in @include file name.
35349 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35350 Roland McGrath <roland@hack.frob.com>
35353 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35354 (not LONG_LONG_MAX and LONG_LONG_MIN.
35355 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35356 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35358 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35360 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35364 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35365 manipulate bits before adding and subtracting TWO23[sx].
35366 * math/libm-test.inc (nearbyint_test): Add more tests.
35368 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35371 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35372 bits before adding and subtracting TWO23[sx].
35373 * math/libm-test.inc (rint_test): Add more tests.
35374 (rint_test_tonearest): Likewise.
35375 (rint_test_towardzero): Likewise.
35376 (rint_test_downward): Likewise.
35377 (rint_test_upward: Likewise.
35379 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35382 * include/stdc-predef.h: New file. Extracted from features.h.
35383 * include/features.h: Include stdc-predef.h.
35384 * Makefile (headers): Add stdc-predef.h.
35385 * CONFORMANCE (Compiler limitations): Update.
35387 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35389 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35391 2012-02-21 David S. Miller <davem@davemloft.net>
35393 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35394 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35396 2012-02-20 David S. Miller <davem@davemloft.net>
35398 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35399 using a normal save/restore sequence, rather than allocating a
35400 dummy stack frame just to store a frame pointer and restore.
35401 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35403 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35405 * manual/install.texi: Fix stray word in line-wrapped comment.
35407 2012-02-20 David S. Miller <davem@davemloft.net>
35409 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35410 both binutils and gcc support GOTDATA.
35412 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35413 "rd %pc" in the PIC register setup sequences.
35415 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35416 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35417 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35418 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35419 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35420 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35421 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35422 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35423 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35424 (SYSCALL_ERROR_HANDLER): Likewise.
35425 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35426 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35428 (SYSCALL_ERROR_HANDLER): Likewise.
35430 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35431 (HAVE_GCC_GOTDATA): New.
35432 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35433 relocation support in both binutils and gcc.
35434 * sysdeps/sparc/elf/configure: Regenerate.
35436 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35437 * sysdeps/sparc/sparc32/elf/configure: Delete.
35438 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35439 * sysdeps/sparc/sparc64/elf/configure: Delete.
35440 * sysdeps/sparc/elf/configure.in: New file.
35441 * sysdeps/sparc/elf/configure: Generate.
35443 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35444 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35445 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35446 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35447 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35449 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35451 * manual/install.texi: Do not mention specific glibc version
35453 * manual/libc.texinfo (VERSION, UPDATED): Update.
35454 (@copying): Use @copyright{} and range of years.
35456 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35459 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35460 [crti.S not in sysdirs] (generated): Do not append.
35461 [crti.S not in sysdirs] (omit-deps): Likewise.
35462 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35463 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35464 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35465 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35466 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35468 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35469 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35470 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35471 * csu/defs.awk: Remove file.
35472 * sysdeps/generic/initfini.c: Likewise.
35473 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35475 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35478 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35480 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35481 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35482 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35483 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35484 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35485 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35487 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35488 (__EPOLL_PACKED): Define to empty if not defined by
35490 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35494 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35496 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35497 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35498 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35499 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35501 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35505 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35507 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35509 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35510 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35511 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35514 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35516 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35517 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35519 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35521 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35522 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35524 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35526 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35529 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35531 * math/w_acos.c: Use non-signaling floating-point comparisons.
35532 * math/w_acosf.c: Likewise.
35533 * math/w_acosh.c: Likewise.
35534 * math/w_acoshf.c: Likewise.
35535 * math/w_acoshl.c: Likewise.
35536 * math/w_acosl.c: Likewise.
35537 * math/w_asin.c: Likewise.
35538 * math/w_asinf.c: Likewise.
35539 * math/w_asinl.c: Likewise.
35540 * math/w_atanh.c: Likewise.
35541 * math/w_atanhf.c: Likewise.
35542 * math/w_atanhl.c: Likewise.
35543 * math/w_exp2.c: Likewise.
35544 * math/w_exp2f.c: Likewise.
35545 * math/w_exp2l.c: Likewise.
35546 * math/w_j0.c: Likewise.
35547 * math/w_j0f.c: Likewise.
35548 * math/w_j0l.c: Likewise.
35549 * math/w_j1.c: Likewise.
35550 * math/w_j1f.c: Likewise.
35551 * math/w_j1l.c: Likewise.
35552 * math/w_jn.c: Likewise.
35553 * math/w_jnf.c: Likewise.
35554 * math/w_log.c: Likewise.
35555 * math/w_log10.c: Likewise.
35556 * math/w_log10f.c: Likewise.
35557 * math/w_log10l.c: Likewise.
35558 * math/w_log2.c: Likewise.
35559 * math/w_log2f.c: Likewise.
35560 * math/w_log2l.c: Likewise.
35561 * math/w_logf.c: Likewise.
35562 * math/w_logl.c: Likewise.
35563 * math/w_sqrt.c: Likewise.
35564 * math/w_sqrtf.c: Likewise.
35565 * math/w_sqrtl.c: Likewise.
35566 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35567 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35568 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35569 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35570 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35572 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35575 * manual/string.texi (strnlen): Use correct parameter name in
35576 equivalent expression.
35578 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35581 * manual/users.texi (seteuid): Consistently use neweuid for
35584 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35587 * manual/nss.texi (Services in the NSS configuration): Correct
35588 list of services in example configuration file.
35590 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35593 * manual/arith.texi: Remove statements about negative zero
35594 behaving identically to zero.
35596 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35599 * manual/install.texi: Do not document upgrading from libc5.
35601 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35604 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35606 2012-02-18 David S. Miller <davem@davemloft.net>
35608 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35609 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35610 %o7 across the call.
35611 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35613 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35614 SETUP_PIC_REG_LEAF.
35615 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35616 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35617 * sysdeps/sparc/crtn.S: Likewise.
35619 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35621 * aout/Makefile: Remove.
35623 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35626 * manual/examples/argp-ex1.c (main): Format definition in GNU
35628 * manual/examples/argp-ex2.c (main): Likewise.
35629 * manual/examples/argp-ex3.c (main): Likewise.
35630 * manual/examples/argp-ex4.c (main): Likewise.
35631 * manual/examples/longopt.c (main): Use new-style prototype
35633 * manual/examples/strncat.c (main): Specify return type and use
35634 (void) for arguments.
35635 * manual/examples/subopt.c (main): Use char **argv argument.
35637 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35640 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35643 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35646 * manual/string.texi (strchr): Change when strchrnul is
35649 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35652 * manual/locale.texi (setlocale): Document LOCPATH.
35654 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35657 * manual/process.texi (execle): Move @dots{} before last argument.
35659 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35662 * manual/charset.texi (Generic Charset Conversion): Fix typo
35663 (LC_TYPE -> LC_CTYPE).
35665 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35668 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35669 (scalbnf): Likewise.
35670 (scalbnl): Likewise.
35671 (scalbln): Likewise.
35672 (scalblnf): Likewise.
35673 (scalblnl): Likewise.
35674 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35675 (vwarnx): Likewise.
35678 * manual/filesys.texi (telldir): Use braces around return type.
35679 * manual/llio.texi (mmap): Add space after comma.
35680 (mmap64): Likewise.
35681 * manual/math.texi (jn): Use @var{} on parameter names.
35687 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35689 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35691 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35692 (sched_get_priority_max): Likewise.
35693 * manual/signal.texi (sigvec): Add space after comma.
35694 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35696 (if_indextoname): Likewise.
35697 (if_freenameindex): Likewise.
35698 (sendto): Use ',' instead of '.' in prototype.
35699 * manual/startup.texi (syscall): Use @dots{} instead of literal
35701 * manual/stdio.texi (__fpending): Separate initial words of
35702 paragraph from @deftypefun line.
35703 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35705 (vsyslog): Use @var{} on parameter names.
35706 * manual/terminal.texi (stty): Use @var{} on parameter names.
35707 * manual/users.texi (getutmp): Use @var{} on parameter names.
35708 (getutmpx): Likewise.
35710 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35713 * manual/stdio.texi (fopen): Fix typos in description of
35716 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35719 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35720 get clock_id definition.
35722 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35725 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35726 (madvise): Cast every argument to void on its own.
35728 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35731 * manual/startup.texi (Exit Status): Fix typo.
35733 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35736 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35737 * manual/examples/argp-ex2.c: Likewise.
35738 * manual/examples/argp-ex3.c: Likewise.
35740 2012-02-16 Richard Henderson <rth@redhat.com>
35742 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35743 * sysdeps/s390/s390-32/initfini.c: Remove.
35744 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35745 * sysdeps/s390/s390-64/initfini.c: Remove.
35747 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35749 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35750 compiler output for sysdeps/generic/initfini.c.
35751 * sysdeps/sh/elf/initfini.c: Remove file.
35753 2012-02-16 David S. Miller <davem@davemloft.net>
35756 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35758 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35759 * sysdeps/sparc/crti.S: New file.
35760 * sysdeps/sparc/crtn.S: New file.
35761 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35762 * sysdeps/sparc/sparc64/Makefile: Likewise.
35764 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35767 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35769 2012-02-15 Roland McGrath <roland@hack.frob.com>
35772 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35774 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35775 (write, read, close): Likewise.
35776 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35778 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35780 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35781 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35782 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35783 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35785 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35789 2012-02-14 Marek Polacek <polacek@redhat.com>
35791 * sysdeps/x86_64/crti.S: New file.
35792 * sysdeps/x86_64/crtn.S: New file.
35793 * sysdeps/x86_64/elf/initfini.c: Remove file.
35795 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35797 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35798 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35799 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35800 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35802 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35806 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35808 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35809 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35810 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35811 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35813 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35817 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35819 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35820 __feraiseexcept instead of feraiseexcept.
35822 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35823 nanosleep invocations.
35824 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35825 strings, and add error checking for a nanosleep invocations.
35827 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35829 Replace FSF snail mail address with URLs, as per GNU coding standards.
35830 Most of the snail mail addresses were wrong anyway, and omitting
35831 them makes the source code easier to maintain. Almost all of the
35832 changes are to license notices and to locale LC_IDENTIFICATION
35833 addresses, except for this one:
35834 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35835 not its snail mail address.
35837 2012-02-09 Richard Henderson <rth@twiddle.net>
35839 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35840 of kernel-features.h.
35842 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35844 2012-02-08 Marek Polacek <polacek@redhat.com>
35846 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35847 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35848 * sysdeps/gnu/_G_config.h: Likewise.
35849 * sysdeps/generic/_G_config.h: Likewise.
35851 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35853 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35857 * sysdeps/powerpc/powerpc32/crti.S: New file.
35858 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35859 * sysdeps/powerpc/powerpc64/crti.S: New file.
35860 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35862 * Makeconfig (have-initfini): Don't set.
35863 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35864 * configure.in (nopic_initfini): Don't substitute.
35865 * config.h.in (HAVE_INITFINI): Don't #undef.
35866 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35867 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35869 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35871 Support crti.S and crtn.S provided directly by architectures.
35872 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35873 [crti.S in sysdirs] (omit-deps): Likewise.
35874 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35875 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35876 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35877 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35878 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35879 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35880 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35881 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35882 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35883 compiler output for sysdeps/generic/initfini.c.
35884 * sysdeps/i386/elf/Makefile: Remove file.
35885 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35887 2012-02-07 Marek Polacek <polacek@redhat.com>
35889 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35890 * sysdeps/gnu/_G_config.h: Likewise.
35891 * sysdeps/mach/hurd/_G_config.h: Likewise.
35893 2012-02-07 Marek Polacek <polacek@redhat.com>
35895 * math/Makefile (tests): Add tst-CMPLX2.
35896 * math/tst-CMPLX2.c: New file.
35898 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35900 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35902 * math/libm-test.inc (jn_test): Add missing L suffix.
35904 2012-02-06 Marek Polacek <polacek@redhat.com>
35906 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35907 * sysdeps/i386/fpu/e_powf.S: Likewise.
35908 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35909 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35910 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35911 * sysdeps/i386/fpu/e_pow.S: Likewise.
35912 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35913 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35914 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35915 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35916 * sysdeps/i386/fpu/e_log2.S: Likewise.
35917 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35918 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35919 * sysdeps/i386/fpu/e_powl.S: Likewise.
35920 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35921 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35922 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35923 * sysdeps/i386/fpu/e_logl.S: Likewise.
35924 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35925 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35926 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35927 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35928 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35929 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35930 * sysdeps/i386/fpu/e_log.S: Likewise.
35931 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35932 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35933 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35934 * sysdeps/i386/fpu/e_logf.S: Likewise.
35935 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35936 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35937 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35938 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35939 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35940 * sysdeps/i386/fpu/e_log10.S: Likewise.
35941 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35942 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35943 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35944 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35945 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35946 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35947 * sysdeps/i386/asm-syntax.h: Likewise.
35948 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35949 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35950 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35951 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35952 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35953 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35954 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35955 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35956 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35957 * sysdeps/powerpc/sysdep.h: Likewise.
35958 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35959 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35961 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35964 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35966 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35968 * sysdeps/i386/sysdep.h: Include <features.h>.
35969 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35972 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35974 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35976 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35979 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35981 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35982 (SETUP_PIC_REG): Use GET_PC_THUNK.
35983 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35986 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35988 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35989 for non-PIC compilation.
35990 (SETUP_PIC_REG): Add .p2align directive.
35991 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35992 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35993 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35994 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35995 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35996 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35997 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35998 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35999 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36000 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36001 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36002 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36003 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36004 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36005 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36006 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36007 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36008 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36009 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36010 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36011 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36012 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36013 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36014 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36015 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36017 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36018 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36019 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36020 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36021 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36022 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36023 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36024 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36025 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36026 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36027 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36028 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36029 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36030 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36031 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36033 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36035 * math/tst-CMPLX.c: Include <stdio.h>.
36037 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36039 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36041 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36042 * sysdeps/sparc/bits/mathdef.h: Likewise.
36044 2012-01-31 Marek Polacek <polacek@redhat.com>
36046 * libio/libio.h: Don't define _PARAMS.
36047 * locale/programs/config.h: Don't define PARAMS.
36048 * stdlib/strtol_l.c: Likewise.
36049 (__strtol_l): Remove PARAMS from the prototype.
36051 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36053 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36054 names. Just use the correct names. Remove unnecessary wrapper
36056 * malloc/arena.c: Likewise.
36057 * malloc/hooks.c: Likewise.
36059 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36060 ARENA_TEST says not to. Simplify test for creation of a new arena.
36061 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36063 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36065 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36067 (update_get_addr): New function.
36068 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36069 GET_ADDR_MODULE parameter.
36071 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36073 * crypt/cert.c: Remove __STDC__ conditionals.
36074 * crypt/crypt-entry.c: Likewise.
36075 * crypt/crypt_util.c: Likewise.
36076 * libio/filedoalloc.c: Likewise.
36077 * libio/fileops.c: Likewise.
36078 * libio/genops.c: Likewise.
36079 * libio/iofclose.c: Likewise.
36080 * libio/iofdopen.c: Likewise.
36081 * libio/iofopen.c: Likewise.
36082 * libio/iofopen64.c: Likewise.
36083 * libio/iogetdelim.c: Likewise.
36084 * libio/iopopen.c: Likewise.
36085 * libio/obprintf.c: Likewise.
36086 * libio/oldfileops.c: Likewise.
36087 * libio/oldiofclose.c: Likewise.
36088 * libio/oldiofdopen.c: Likewise.
36089 * libio/oldiofopen.c: Likewise.
36090 * libio/oldiopopen.c: Likewise.
36091 * libio/wfiledoalloc.c: Likewise.
36092 * libio/wgenops.c: Likewise.
36093 * locale/programs/xmalloc.c: Likewise.
36094 * misc/syslog.c: Likewise.
36095 * stdio-common/xbug.c: Likewise.
36096 * string/memchr.c: Likewise.
36097 * string/memcmp.c: Likewise.
36098 * string/memrchr.c: Likewise.
36099 * string/rawmemchr.c: Likewise.
36100 * sysdeps/posix/getcwd.c: Likewise.
36101 * time/strftime_l.c: Likewise.
36103 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36105 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36106 * config.make.in (config-cflags-sse2avx): Define.
36107 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36110 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36112 * scripts/config.guess: Update from upstream config git repository.
36113 * scripts/config.sub: Likewise.
36115 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36117 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36119 (R_TILEPRO_*, R_TILEGX_*): New macros.
36121 * scripts/firstversions.awk: Fix bug in version range handling.
36123 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36125 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36127 * include/sys/epoll.h: New file.
36128 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36131 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36133 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36134 Avoid unnecessary __WORDSIZE == 64 test.
36135 (fmaxf): Use VEX format if possible.
36140 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36141 * math/math_private.h: Remove libc_fegetround* and
36143 * sysdeps/i386/configure.in: Check for -msse2avx.
36144 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36145 also if SSE2AVX is defined.
36146 Remove libc_fegetround* and libc_fesetround*.
36147 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36148 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36149 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36151 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36152 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36153 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36154 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36155 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36157 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36159 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36161 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36163 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36165 2012-01-27 Ulrich Drepper <drepper@gmail.com>
36168 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36170 * Makeconfig (libm): Define.
36171 * elf/Makefile: Add rules to build and run tst-relsort1.
36172 * elf/tst-relsort1.c: New file.
36173 * elf/tst-relsort1mod1.c: New file.
36174 * elf/tst-relsort1mod2.c: New file.
36176 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36178 * math/s_ldexp.c: Remove __STDC__ conditionals.
36179 * math/s_ldexpf.c: Likewise.
36180 * math/s_ldexpl.c: Likewise.
36181 * math/s_nextafter.c: Likewise.
36182 * math/s_nexttowardf.c: Likewise.
36183 * math/s_significand.c: Likewise.
36184 * math/s_significandf.c: Likewise.
36185 * math/s_significandl.c: Likewise.
36186 * math/w_jnl.c: Likewise.
36187 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36188 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36189 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36190 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36191 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36192 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36193 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36194 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36195 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36196 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36197 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36198 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36199 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36200 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36201 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36202 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36203 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36204 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36205 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36206 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36207 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36208 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36209 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36210 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36211 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36212 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36213 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36214 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36215 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36216 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36217 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36218 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36219 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36220 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36221 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36222 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36223 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36224 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36225 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36226 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36227 * sysdeps/ieee754/k_standard.c: Likewise.
36228 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36229 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36230 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36231 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36232 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36233 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36234 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36235 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36236 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36237 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36238 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36239 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36240 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36241 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36242 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36243 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36244 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36245 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36246 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36247 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36248 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36249 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36250 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36251 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36252 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36253 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36254 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36255 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36257 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36258 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36259 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36260 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36261 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36262 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36263 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36264 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36265 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36266 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36267 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36268 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36269 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36270 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36271 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36272 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36273 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36274 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36275 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36276 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36277 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36278 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36279 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36280 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36281 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36282 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36283 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36284 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36285 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36286 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36287 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36288 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36289 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36290 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36291 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36292 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36293 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36294 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36295 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36296 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36297 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36298 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36299 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36300 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36301 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36302 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36303 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36304 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36305 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36306 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36307 * sysdeps/ieee754/s_matherr.c: Likewise.
36308 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36309 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36310 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36311 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36313 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36315 * crypt/md5.h: Remove __STDC__ conditionals.
36316 * libio/libioP.h: Likewise.
36317 * locale/programs/config.h: Likewise.
36318 * sysdeps/generic/sysdep.h: Likewise.
36319 * sysdeps/i386/asm-syntax.h: Likewise.
36320 * sysdeps/s390/asm-syntax.h: Likewise.
36321 * sysdeps/unix/sysdep.h: Likewise.
36322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36325 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36327 * libio/libio.h: Remove __STDC__ conditionals.
36328 * malloc/obstack.h: Likewise.
36329 * math/complex.h: Likewise.
36330 * math/math.h: Likewise.
36331 * sysdeps/generic/_G_config.h: Likewise.
36332 * sysdeps/gnu/_G_config.h: Likewise.
36333 * sysdeps/mach/hurd/_G_config.h: Likewise.
36334 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36335 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36336 * sysdeps/sparc/bits/mathdef.h: Likewise.
36338 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36341 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36342 Clean up HAS_* macros.
36343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36344 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36346 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36348 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36349 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36350 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36351 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36352 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36354 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36356 * elf/tst-unique3.cc (gets): Remove declaration.
36357 * elf/tst-unique3lib.cc (gets): Likewise.
36358 * elf/tst-unique3lib2.cc (gets): Likewise.
36359 * elf/tst-unique4.cc (gets): Likewise.
36361 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36363 * include/stdio.h: Add C++ protection. Add gets declarations and
36365 * debug/tst-chk1.c: Don't declare gets here.
36366 * stdio-common/tst-gets.c: Likewise.
36368 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36370 * posix/glob: Remove directory.
36372 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36374 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36376 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36378 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36379 of the non-standard EPFNOSUPPORT.
36381 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36383 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36384 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36385 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36387 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36389 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36391 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36393 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36395 * nscd/grpcache.c (cache_addgr): Likewise.
36396 * nscd/hstcache.c (cache_addhst): Likewise.
36397 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36398 * nscd/pwdcache.c (cache_addpw): Likewise.
36399 * nscd/servicescache.c (cache_addserv): Likewise.
36401 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36403 * malloc/malloc.c: Various cleanups.
36404 * malloc/hooks.c: Likewise.
36406 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36407 * stdlib/bug-fmtmsg1.c: New file.
36409 * stdlib/fmtmsg.c (init): Add missing unlock.
36410 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36412 2012-01-12 Marek Polacek <polacek@redhat.com>
36414 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36417 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36419 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36420 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36421 macro to ensure uniqueness of label name.
36422 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36423 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36425 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36427 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36429 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36430 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36431 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36432 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36434 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36436 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36438 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36439 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36440 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36442 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36444 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36445 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36446 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36447 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36449 * math/bits/math-finite.h: Add ldexp support.
36451 2012-01-10 Marek Polacek <polacek@redhat.com>
36453 * locale/programs/localedef.h (show_archive_content): Add noreturn
36456 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36458 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36460 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36462 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36464 * io/Makefile (headers): Add bits/poll2.h.
36466 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36469 typo #include statement.
36471 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36473 * include/sys/cdefs.h: Define __attribute_alloc_size.
36474 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36475 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36476 * elf/pldd.c: Likewise.
36477 * iconv/iconv_charmap.c: Likewise.
36478 * iconv/iconvconfig.c: Likewise.
36479 * iconv/strtab.c: Likewise.
36480 * locale/programs/locale.c: Likewise.
36481 * locale/programs/localedef.h: Likewise.
36482 * locale/programs/simple-hash.c: Likewise.
36483 * nscd/nscd.h: Likewise.
36484 * nss/makedb.c: Likewise.
36485 * sysdeps/generic/ldconfig.h: Likewise.
36486 * locale/programs/localedef.c: Remove xmalloc prototype.
36487 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36489 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36491 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36494 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36496 * math/Makefile (tests): Add tst-CMPLX.
36497 * math/tst-CMPLX.c: New file.
36499 * math/complex.h (CMPLXL): Fix typo.
36501 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36502 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36504 * debug/tst-chk1.c: Add poll and ppoll tests.
36505 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36506 * include/sys/poll.h: Add hidden proto for ppoll.
36507 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36508 * sysdeps/mach/hurd/ppoll.c: Likewise.
36509 * io/ppoll.c: Likewise.
36510 * debug/poll_chk.c: New file.
36511 * debug/ppoll_chk.c: New file.
36512 * include/bits/poll2.h: New file.
36513 * io/bits/poll2.h: New file.
36516 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36518 * configure.in: static is always set to yes. Remove.
36519 * config.make.in: Don't set build-static.
36520 * Makeconfig: Remove use of build-static.
36521 * dlfcn/Makefile: Likewise.
36522 * elf/Makefile: Likewise.
36523 * math/Makefile: Likewise.
36524 * misc/Makefile: Likewise.
36525 * nptl/Makefile: Likewise.
36526 * sysdeps/mach/hurd/Makefile: Likewise.
36528 * configure.in: PWD_P is not used anymore.
36529 * config.make.in: Remove PWD_P entry.
36531 * configure.in: Remove last remnants of RANLIB.
36532 No need to check for signed size_t anymore.
36533 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36535 Remove __builtin_expect test because we require at least gcc 3.4.
36536 * aclocal.m4: Likewise.
36538 * wcsmbs/mbrtoc16.c: Implement using towc function.
36539 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36540 * wcsmbs/wcsmbsload.c: Likewise.
36541 * iconv/gconv_simple.c: Likewise.
36542 * iconv/gconv_int.h: Likewise.
36543 * iconv/gconv_builtin.h: Likewise.
36544 * iconv/iconv_prog.c: Remove CHAR16 handling.
36546 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36548 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36550 * configure.in: Remove --with-elf and --enable-bounded options.
36551 Dont set base_machine for ia64. More non-ELF conditions removed.
36552 Remove testing and setting of leading underscore information.
36553 * config.make.in (build-bounded): Set to no.
36554 * config.h.in: Remove NO_UNDERSCORES entry.
36555 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36557 * csu/start.c: Remove !NO_UNDERSCORE code.
36558 * locale/localeinfo.h: Likewise.
36559 * sysdeps/generic/machine-gmon.h: Likewise.
36560 * sysdeps/generic/sysdep.h: Likewise.
36561 * sysdeps/i386/sysdep.h: Likewise.
36562 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36563 * sysdeps/mach/sysdep.h: Likewise.
36564 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36565 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36566 * sysdeps/sh/sysdep.h: Likewise.
36567 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36568 * sysdeps/unix/i386/sysdep.S: Likewise.
36569 * sysdeps/unix/sparc/start.c: Likewise.
36570 * sysdeps/unix/sparc/sysdep.S: Likewise.
36571 * sysdeps/unix/sparc/sysdep.h: Likewise.
36572 * sysdeps/unix/start.c: Likewise.
36573 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36574 * sysdeps/x86_64/sysdep.h: Likewise.
36576 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36579 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36581 * argp/argp-fmtstream.h: Use const instead __const.
36582 * argp/argp.h: Likewise.
36583 * assert/assert.h: Likewise.
36584 * bits/fenv.h: Likewise.
36585 * bits/sched.h: Likewise.
36586 * bits/sigset.h: Likewise.
36587 * bits/sigthread.h: Likewise.
36588 * catgets/nl_types.h: Likewise.
36589 * conform/data/pthread.h-data: Likewise.
36590 * crypt/crypt-private.h: Likewise.
36591 * crypt/crypt.h: Likewise.
36592 * crypt/crypt_util.c: Likewise.
36593 * ctype/ctype.h: Likewise.
36594 * debug/execinfo.h: Likewise.
36595 * debug/mbsnrtowcs_chk.c: Likewise.
36596 * debug/mbsrtowcs_chk.c: Likewise.
36597 * debug/wcsnrtombs_chk.c: Likewise.
36598 * debug/wcsrtombs_chk.c: Likewise.
36599 * debug/wcstombs_chk.c: Likewise.
36600 * dirent/dirent.h: Likewise.
36601 * dlfcn/dlfcn.h: Likewise.
36602 * elf/neededtest4.c: Likewise.
36603 * grp/grp.h: Likewise.
36604 * gshadow/gshadow.h: Likewise.
36605 * iconv/gconv.h: Likewise.
36606 * iconv/gconv_int.h: Likewise.
36607 * iconv/gconv_simple.c: Likewise.
36608 * iconv/iconv.h: Likewise.
36609 * iconv/loop.c: Likewise.
36610 * iconv/skeleton.c: Likewise.
36611 * include/aio.h: Likewise.
36612 * include/aliases.h: Likewise.
36613 * include/argz.h: Likewise.
36614 * include/arpa/inet.h: Likewise.
36615 * include/assert.h: Likewise.
36616 * include/dirent.h: Likewise.
36617 * include/dlfcn.h: Likewise.
36618 * include/execinfo.h: Likewise.
36619 * include/fcntl.h: Likewise.
36620 * include/fenv.h: Likewise.
36621 * include/glob.h: Likewise.
36622 * include/grp.h: Likewise.
36623 * include/libintl.h: Likewise.
36624 * include/mntent.h: Likewise.
36625 * include/netdb.h: Likewise.
36626 * include/pwd.h: Likewise.
36627 * include/rpc/netdb.h: Likewise.
36628 * include/sched.h: Likewise.
36629 * include/search.h: Likewise.
36630 * include/shadow.h: Likewise.
36631 * include/signal.h: Likewise.
36632 * include/stdio.h: Likewise.
36633 * include/stdlib.h: Likewise.
36634 * include/string.h: Likewise.
36635 * include/sys/socket.h: Likewise.
36636 * include/sys/stat.h: Likewise.
36637 * include/sys/statfs.h: Likewise.
36638 * include/sys/statvfs.h: Likewise.
36639 * include/sys/syslog.h: Likewise.
36640 * include/sys/time.h: Likewise.
36641 * include/sys/uio.h: Likewise.
36642 * include/time.h: Likewise.
36643 * include/unistd.h: Likewise.
36644 * include/utmp.h: Likewise.
36645 * include/wchar.h: Likewise.
36646 * include/wctype.h: Likewise.
36647 * inet/aliases.h: Likewise.
36648 * inet/arpa/inet.h: Likewise.
36649 * inet/netinet/ether.h: Likewise.
36650 * inet/netinet/in.h: Likewise.
36651 * intl/libintl.h: Likewise.
36652 * io/bits/fcntl2.h: Likewise.
36653 * io/fcntl.h: Likewise.
36654 * io/ftw.h: Likewise.
36655 * io/sys/poll.h: Likewise.
36656 * io/sys/stat.h: Likewise.
36657 * io/sys/statfs.h: Likewise.
36658 * io/sys/statvfs.h: Likewise.
36659 * io/utime.h: Likewise.
36660 * libio/bits/stdio.h: Likewise.
36661 * libio/bits/stdio2.h: Likewise.
36662 * libio/libio.h: Likewise.
36663 * libio/libioP.h: Likewise.
36664 * libio/stdio.h: Likewise.
36665 * locale/lc-ctype.c: Likewise.
36666 * locale/locale.h: Likewise.
36667 * login/utmp.h: Likewise.
36668 * malloc/arena.c: Likewise.
36669 * malloc/malloc.c: Likewise.
36670 * malloc/malloc.h: Likewise.
36671 * malloc/mcheck.c: Likewise.
36672 * malloc/mtrace.c: Likewise.
36673 * math/bits/mathcalls.h: Likewise.
36674 * math/fenv.h: Likewise.
36675 * math/math_private.h: Likewise.
36676 * misc/bits/error.h: Likewise.
36677 * misc/bits/syslog.h: Likewise.
36678 * misc/err.h: Likewise.
36679 * misc/error.h: Likewise.
36680 * misc/fstab.h: Likewise.
36681 * misc/mntent.h: Likewise.
36682 * misc/regexp.h: Likewise.
36683 * misc/search.h: Likewise.
36684 * misc/sgtty.h: Likewise.
36685 * misc/sys/mman.h: Likewise.
36686 * misc/sys/syslog.h: Likewise.
36687 * misc/sys/uio.h: Likewise.
36688 * misc/sys/xattr.h: Likewise.
36689 * misc/ttyent.h: Likewise.
36690 * nis/rpcsvc/ypclnt.h: Likewise.
36691 * nss/nss.h: Likewise.
36692 * posix/bits/unistd.h: Likewise.
36693 * posix/fnmatch.h: Likewise.
36694 * posix/glob.h: Likewise.
36695 * posix/sched.h: Likewise.
36696 * posix/spawn.h: Likewise.
36697 * posix/sys/wait.h: Likewise.
36698 * posix/unistd.h: Likewise.
36699 * posix/wordexp.h: Likewise.
36700 * pwd/pwd.h: Likewise.
36701 * resolv/netdb.h: Likewise.
36702 * resource/sys/resource.h: Likewise.
36703 * rt/aio.h: Likewise.
36704 * rt/bits/mqueue2.h: Likewise.
36705 * rt/mqueue.h: Likewise.
36706 * shadow/shadow.h: Likewise.
36707 * signal/signal.h: Likewise.
36708 * socket/send.c: Likewise.
36709 * socket/sendto.c: Likewise.
36710 * socket/sys/socket.h: Likewise.
36711 * stdio-common/printf.h: Likewise.
36712 * stdlib/bits/stdlib.h: Likewise.
36713 * stdlib/fmtmsg.h: Likewise.
36714 * stdlib/monetary.h: Likewise.
36715 * stdlib/stdlib.h: Likewise.
36716 * stdlib/ucontext.h: Likewise.
36717 * streams/stropts.h: Likewise.
36718 * string/argz.h: Likewise.
36719 * string/bits/string2.h: Likewise.
36720 * string/string.h: Likewise.
36721 * string/strings.h: Likewise.
36722 * sunrpc/rpc/auth.h: Likewise.
36723 * sunrpc/rpc/auth_des.h: Likewise.
36724 * sunrpc/rpc/clnt.h: Likewise.
36725 * sunrpc/rpc/netdb.h: Likewise.
36726 * sunrpc/rpc/pmap_clnt.h: Likewise.
36727 * sunrpc/rpc/xdr.h: Likewise.
36728 * sysdeps/generic/inttypes.h: Likewise.
36729 * sysdeps/generic/net/if.h: Likewise.
36730 * sysdeps/generic/sys/swap.h: Likewise.
36731 * sysdeps/gnu/net/if.h: Likewise.
36732 * sysdeps/gnu/utmpx.h: Likewise.
36733 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36734 * sysdeps/i386/i486/bits/string.h: Likewise.
36735 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36736 * sysdeps/s390/bits/string.h: Likewise.
36737 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36738 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36739 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36740 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36741 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36742 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36743 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36744 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36745 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36746 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36747 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36748 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36749 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36750 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36751 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36752 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36753 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36755 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36756 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36757 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36758 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36759 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36760 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36761 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36762 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36763 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36764 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36765 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36766 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36767 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36768 * sysvipc/sys/ipc.h: Likewise.
36769 * sysvipc/sys/msg.h: Likewise.
36770 * sysvipc/sys/sem.h: Likewise.
36771 * sysvipc/sys/shm.h: Likewise.
36772 * termios/termios.h: Likewise.
36773 * time/sys/time.h: Likewise.
36774 * time/time.h: Likewise.
36775 * wcsmbs/bits/wchar2.h: Likewise.
36776 * wcsmbs/uchar.h: Likewise.
36777 * wcsmbs/wchar.h: Likewise.
36778 * wctype/wctype.h: Likewise.
36781 * Makeconfig: Remove all but ELF support including AIX support.
36782 * Makerules: Likewise.
36783 * config.h.in: Likewise.
36784 * config.make.in: Likewise.
36785 * configure: Likewise.
36786 * configure.in: Likewise.
36787 * csu/Makefile: Likewise.
36788 * csu/version.c: Likewise.
36789 * debug/Makefile: Likewise.
36790 * dlfcn/Makefile: Likewise.
36791 * elf/Makefile: Likewise.
36792 * extra-lib.mk: Likewise.
36793 * iconv/Makefile: Likewise.
36794 * include/libc-symbols.h: Likewise.
36795 * include/shlib-compat.h: Likewise.
36796 * resolv/Makefile: Likewise.
36797 * resolv/res_libc.c: Likewise.
36798 * rt/Makefile: Likewise.
36799 * sysdeps/i386/asm-syntax.h: Likewise.
36800 * sysdeps/i386/sysdep.h: Likewise.
36801 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36802 * sysdeps/mach/sysdep.h: Likewise.
36803 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36804 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36805 * sysdeps/s390/asm-syntax.h: Likewise.
36806 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36807 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36808 * sysdeps/sh/sysdep.h: Likewise.
36809 * sysdeps/unix/sparc/sysdep.h: Likewise.
36810 * sysdeps/wordsize-32/divdi3.c: Likewise.
36811 * sysdeps/x86_64/sysdep.h: Likewise.
36813 * argp/Versions: Remove _argp_unlock_xxx.
36816 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36817 * abilist/libBrokenLocale.abilist: Likewise.
36818 * abilist/libanl.abilist: Likewise.
36819 * abilist/libc.abilist: Likewise.
36820 * abilist/libcrypt.abilist: Likewise.
36821 * abilist/libdl.abilist: Likewise.
36822 * abilist/libm.abilist: Likewise.
36823 * abilist/libnsl.abilist: Likewise.
36824 * abilist/libpthread.abilist: Likewise.
36825 * abilist/libresolv.abilist: Likewise.
36826 * abilist/librt.abilist: Likewise.
36827 * abilist/libthread_db.abilist: Likewise.
36828 * abilist/libutil.abilist: Likewise.
36829 * abilist/libnss_db.abilist: New file.
36831 * scripts/abilist.awk: Add support for indirect functions.
36833 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36835 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36837 * shlib-versions: Remove entries for ports architectures.
36839 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36841 * elf/stackguard-macros.h: Remove support for IA-64.
36842 * elf/tst-auditmod1.c: Likewise.
36843 * sysdeps/generic/ldsodefs.h: Likewise.
36845 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36846 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36850 * configure.in: Remove --enable-omitfp support.
36852 * config.make.in: Likewise.
36853 * Makeconfig: Likewise.
36854 * manual/install.texi: Likewise.
36856 In case anyone cares, the IA-64 architecture could move to ports.
36857 * sysdeps/ia64/*: Removed.
36858 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36859 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36862 * configure.in: Remove entries for unsupported architectures.
36865 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36866 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36868 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36869 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36870 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36871 fall back to using wcrtomb.
36872 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36873 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36875 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36876 * wcsmbs/tst-c16c32-1.c: New file.
36878 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36881 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36883 * elf/tst-unique3.cc: Add explicit declaration of gets.
36884 * elf/tst-unique3lib.cc: Likewise.
36885 * elf/tst-unique3lib2.cc: Likewise.
36886 * elf/tst-unique4.cc: Likewise.
36888 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36890 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36893 * assert/assert.h (static_assert): Don't define for C++.
36894 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36895 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36897 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36899 * iconv/loop.c (single loop): Fix assertion in storing of
36902 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36904 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36906 * posix/getconf.c: Update copyright year.
36907 * nss/getent.c: Likewise.
36908 * nss/makedb.c: Likewise.
36909 * iconv/iconvconfig.c: Likewise.
36910 * iconv/iconv_prog.c: Likewise.
36911 * elf/ldconfig.c: Likewise.
36912 * elf/pldd.c: Likewise.
36913 * elf/sotruss.ksh: Likewise.
36914 * catgets/gencat.c: Likewise.
36915 * csu/version.c: Likewise.
36916 * elf/ldd.bash.in: Likewise.
36917 * elf/sprof.c (print_version): Likewise.
36918 * locale/programs/locale.c: Likewise.
36919 * locale/programs/localedef.c: Likewise.
36920 * login/programs/pt_chown.c: Likewise.
36921 * nscd/nscd.c (print_version): Likewise.
36922 * debug/xtrace.sh: Likewise.
36923 * malloc/memusage.sh: Likewise.
36924 * malloc/mtrace.pl: Likewise.
36925 * debug/catchsegv.sh: Likewise.
36927 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36929 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36932 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36935 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36936 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36938 * iconv/gconv_int.h: Likewise.
36939 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36940 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36941 from libc for GLIBC_2.16.
36942 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36943 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36944 * wcsmbs/uchar.h: Really define mbstate_t.
36945 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36946 * wcsmbs/c16rtomb.c: New file.
36947 * wcsmbs/mbrtoc16.c: New file.
36948 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36949 for C/POSIX locale.
36950 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36951 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36953 * wcsmbs/wchar.h: Add missing __restrict.
36955 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36958 * time/Makefile (routines): Add timespec_get.
36959 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36960 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36961 timespec for ISO C11.
36962 * time/timespec_get.c: New file.
36963 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36964 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36967 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36968 * stdlib/stdlib.h: Declare aligned_alloc.
36969 * Versions.def: Add GLIBC_2.16 for libc.
36970 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36973 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36976 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36980 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36983 * assert/assert.h (static_assert): Define.
36985 * version.h: Update for 2.16 development version.
36988 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36991 * version.h (RELEASE): Bump for 2.15 release.
36992 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36994 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36995 Patch by Marek Polacek <mpolacek@redhat.com>.
36997 * bits/byteswap.h: Protect long long constants with __extension__.
36998 * sysdeps/i386/bits/byteswap.h: Likewise.
36999 * sysdeps/ia64/bits/byteswap.h: Likewise.
37000 * sysdeps/s390/bits/byteswap.h: Likewise.
37001 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37003 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37006 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37007 destination buffer.
37008 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37010 2011-12-23 Marek Polacek <polacek@redhat.com>
37012 * elf/dl-addr.c (determine_info): Add inline keyword.
37013 * elf/tst-auditmod4b.c (check_avx): Likewise.
37014 * elf/tst-auditmod6b.c (check_avx): Likewise.
37015 * elf/tst-auditmod6c.c (check_avx): Likewise.
37016 * elf/tst-auditmod7b.c (check_avx): Likewise.
37018 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37020 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37023 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37026 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37027 processing for last bytes.
37029 2011-08-06 Bruno Haible <bruno@clisp.org>
37032 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37033 U+0385, not to U+1FEE.
37036 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37037 entry for U+00A5 U+0301.
37039 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37042 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37043 buffer for the output is too small.
37045 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37049 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37050 SSE flags if possible.
37052 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37056 processing for last bytes.
37058 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37060 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37061 (syscall-list-default-options, syscall-list-default-condition)
37062 (syscall-list-includes): Define.
37063 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37064 list of ABIs and options and #if conditions for each ABI. Do not
37065 handle common syscalls between ABIs specially.
37066 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37068 (syscall-list-variants, syscall-list-32bit-options)
37069 (syscall-list-32bit-condition, syscall-list-64bit-options)
37070 (syscall-list-64bit-condition): Define.
37071 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37072 (syscall-list-variants, syscall-list-32bit-options)
37073 (syscall-list-32bit-condition, syscall-list-64bit-options)
37074 (syscall-list-64bit-condition): Define.
37075 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37077 (syscall-list-variants, syscall-list-32bit-options)
37078 (syscall-list-32bit-condition, syscall-list-64bit-options)
37079 (syscall-list-64bit-condition): Define.
37080 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37082 (syscall-list-variants, syscall-list-32bit-options)
37083 (syscall-list-32bit-condition, syscall-list-64bit-options)
37084 (syscall-list-64bit-condition): Define.
37086 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37088 * locale/iso-639.def: Add brx entry.
37091 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37092 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37094 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37095 __feraiseexcept_renamed.
37097 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37100 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37101 EPOLLET with unsigned values.
37102 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37103 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37105 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37106 to large cancellation.
37107 * math/s_cacoshf.c: Likewise.
37108 * math/s_cacoshl.c: Likewise.
37110 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37114 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37115 * math/s_cacoshf.c: Likewise.
37116 * math/s_cacoshl.c: Likewise.
37118 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37121 * iconv/gconv.h: Define __GCONV_SWAP.
37122 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37123 * iconvdata/utf-16.c: Likewise.
37124 * iconvdata/utf-32.c: Likewise.
37126 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37129 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37130 numerator after shifting it by one limb.
37132 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37134 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37135 under [__USE_EXTERN_INLINES].
37137 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37140 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37142 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37144 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37145 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37147 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37148 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37149 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37150 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37151 for strncasecmp/strncasecmp_l compilation.
37152 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37153 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37155 2011-12-08 Marek Polacek <mpolacek@redhat.com>
37158 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37161 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37164 * time/tzfile.c (__tzfile_read): Check values from file header.
37166 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37168 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37169 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37170 * powerpc/powerpc32/dl-start.S: Likewise.
37171 * powerpc/powerpc32/elf/start.S: Likewise.
37172 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37173 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37174 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37175 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37176 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37177 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37178 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37179 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37180 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37181 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37182 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37183 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37184 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37185 * powerpc/powerpc32/memset.S: Likewise.
37186 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37187 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37188 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37189 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37190 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37191 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37192 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37193 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37194 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37195 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37196 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37197 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37198 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37200 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37202 * math/libm-test.inc: Added more nearbyint tests.
37203 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37204 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37205 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37206 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37208 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37210 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37213 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37215 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37216 Add wcscpy-ssse3 wcscpy-c.
37217 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37218 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37219 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37220 * sysdeps/x86_64/wcschr.S: New file.
37221 * sysdeps/x86_64/wcsrchr.S: New file.
37222 * string/test-strcmp.c: Remove checking of wcscmp function for
37224 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37225 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37226 wcsrchr-sse2 wcsrchr-c.
37227 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37228 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37229 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37230 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37231 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37232 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37233 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37234 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37235 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37236 * wcsmbc/wcschr.c (WCSCHR): New macro.
37238 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37240 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37241 * wcsmbs/test-wcsrchr.c: New file.
37242 * string/test-strrchr.c: Add wcsrchr support.
37244 * wcsmbs/test-wcscpy.c: New file.
37245 * string/test-strcpy.c: Add wcscpy support.
37248 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37250 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37253 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37256 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37258 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37260 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37261 Minor optimizations.
37263 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37264 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37265 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37267 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37269 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37270 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37271 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37272 for gcc to avoid warnings.
37273 * inet/Makefile (tests): Add tst-checks.
37274 * inet/tst-checks.c: New file.
37276 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37279 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37282 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37283 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37285 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37287 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37289 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37292 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37294 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37296 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37297 conditional on GCC version.
37298 (__arch_compare_and_exchange_val_8_acq)
37299 (__arch_compare_and_exchange_val_16_acq)
37300 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37301 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37302 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37304 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37306 * sysdeps/sh/backtrace.c: New file.
37308 2011-12-02 Andreas Schwab <schwab@redhat.com>
37310 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37313 2011-12-01 Andreas Schwab <schwab@redhat.com>
37315 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37316 falling back to utime.
37318 2011-11-30 Andreas Schwab <schwab@redhat.com>
37320 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37321 expectations for float.
37323 2011-11-29 Andreas Schwab <schwab@redhat.com>
37325 * locale/weight.h (findidx): Add parameter len.
37326 * locale/weightwc.h (findidx): Likewise.
37327 * posix/fnmatch_loop.c (FCT): Adjust caller.
37328 * posix/regcomp.c (build_equiv_class): Likewise.
37329 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37330 * posix/regexec.c (check_node_accept_bytes): Likewise.
37331 * string/strcoll_l.c (STRCOLL): Likewise.
37332 * string/strxfrm_l.c (STRXFRM): Likewise.
37334 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37336 * Makefile.in: Remove CVSOPT handling.
37337 * configure.in: Remove use of AC_REVISION.
37338 * iconvdata/Makefile (distribute): No need to filter out CVS.
37339 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37342 2011-11-16 Andreas Schwab <schwab@redhat.com>
37344 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37345 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37346 [USE_AS_STRNCASECMP_L]: Likewise.
37347 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37348 NO_TLS_DIRECT_SEG_REFS.
37349 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37350 Fix argument offsets for non-PIC.
37351 [USE_AS_STRNCASECMP_L]: Likewise.
37352 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37353 NO_TLS_DIRECT_SEG_REFS.
37355 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37357 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37359 * locale/loadlocale.c (_nl_load_locale): Likewise.
37361 2011-11-15 Andreas Schwab <schwab@redhat.com>
37363 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37364 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37365 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37366 (SYSCALL_GETTIME): Set errno on error.
37368 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37369 count references to noai6ai_cached.
37371 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37373 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37375 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37376 FD_CLOEXEC for /proc/self/maps.
37378 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37379 FD_CLOEXEC for /proc/meminfo.
37381 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37384 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37385 FD_CLOEXEC for given file.
37387 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37389 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37390 FD_CLOEXEC for /etc/hosts.
37391 (_gethtent): Likewise.
37393 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37395 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37396 cancellation and set FD_CLOEXEC for /etc/netgroup.
37398 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37399 reading /etc/publickey.
37401 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37402 allow cancellation when reading /etc/group.
37404 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37406 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37408 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37409 when using data file.
37411 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37413 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37414 (write_nis_obj): Use "c" and "e" in fopen.
37416 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37418 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37420 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37422 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37424 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37427 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37429 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37431 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37433 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37434 file parsing and set FD_CLOEXEC.
37436 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37438 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37440 2011-11-14 Andreas Schwab <schwab@redhat.com>
37442 * malloc/arena.c (arena_get2): Don't call reused_arena when
37443 _int_new_arena failed.
37445 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37447 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37448 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37449 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37450 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37451 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37452 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37453 to compile strcasecmp and strncasecmp.
37454 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37455 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37457 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37459 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37461 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37462 locale-defines.sym to gen-as-const-headers.
37463 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37464 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37465 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37466 to compile strcasecmp and strncasecmp.
37467 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37468 strcasecmp_l and strncasecmp_l.
37469 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37470 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37471 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37472 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37473 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37474 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37475 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37476 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37477 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37478 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37479 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37481 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37483 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37484 result of SYSDEP_GETTIME_CPU to retval.
37485 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37486 parameter list to macro. Remove trailing semicolon. Adjust users.
37488 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37491 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37493 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37495 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37496 from unused variable.
37498 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37500 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37503 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37506 * sunrpc/rpc_prot.c (rejected): Fix case value.
37508 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37509 unsigned long long int to avoid warnings in shift.
37511 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37513 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37516 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37517 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37518 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37520 * nis/nis_table.c (nis_list): Use variable of correct type for
37521 result of __follow_path call.
37523 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37525 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37526 of math functions ceil, trunc, floor, round, and sqrt, when
37527 avaliable on the platform.
37528 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37530 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37531 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37532 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37534 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37536 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37537 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37539 2011-11-11 Roland McGrath <roland@hack.frob.com>
37541 * include/unistd.h: Fix __readlink return type.
37542 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37544 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37546 * stdlib/ucontext.h: Undo last change for makecontext.
37548 2011-11-11 Andreas Schwab <schwab@redhat.com>
37550 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37552 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37553 * setjmp/setjmp.h: Mark functions as non-leaf.
37554 * setjmp/bits/setjmp2.h: Likewise.
37555 * stdlib/ucontext.h: Likewise.
37557 2011-11-10 Andreas Schwab <schwab@redhat.com>
37559 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37560 (reused_arena): Don't check arena limit.
37561 (arena_get2): Atomically check arena limit.
37563 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37565 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37566 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37571 2011-11-07 Andreas Schwab <schwab@redhat.com>
37573 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37574 handler when locking.
37576 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37577 Fix size of allocated buffer.
37579 2011-11-04 Andreas Schwab <schwab@redhat.com>
37582 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37583 declarations for long double functions.
37584 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37586 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37588 2011-11-03 Andreas Schwab <schwab@redhat.com>
37590 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37593 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37596 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37598 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37600 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37602 * include/alloca.h (stackinfo_alloca_round): Define.
37603 (extend_alloca): Use it.
37604 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37605 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37608 * scripts/check-local-headers.sh: Ignore libaudit.h.
37610 * nscd/Makefile (extra-objs): Make recursively expanded.
37612 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37614 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37617 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37618 * posix/tst-rfc3484-2.c: Likewise.
37619 * posix/tst-rfc3484-3.c: Likewise.
37621 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37623 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37625 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37626 process_vm_writev from libc using GLIBC_2.15 version.
37628 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37630 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37632 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37635 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37638 * nss/getent.c (initgroups_keys): Show error message in case no group
37641 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37642 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37643 __bump_nl_timestamp.
37644 * nscd/connections (nscd_init): When host database is served open
37645 netlink socket and request notification about configuration changes.
37646 (main_loop_poll): Track netlink file descriptor and bump timestamp
37647 in case data becomes available.
37648 (main_loop_epoll): Likewise.
37649 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37650 (database_pers_head): Add extra_data fileds.
37651 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37652 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37653 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37655 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37656 in6ai data, call __free_in6ai.
37657 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37658 Add -DHAVE_NETLINK.
37659 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37660 interface information. Reuse previous data if netlink timestamp
37662 (__bump_nl_timestamp): New function.
37663 (__free_in6ai): New function.
37665 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37667 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37668 close_not_cancel_no_status here.
37669 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37671 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37674 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37677 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37678 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37679 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37681 2011-07-03 Andreas Jaeger <aj@suse.de>
37684 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37685 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37686 * math/libm-test.inc (sin_test): Add test case.
37688 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37691 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37692 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37694 * elf/chroot_canon.c (chroot_canon): Cleanups.
37696 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37699 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37700 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37702 * string/test-strchr.c: Make usable for strchrnul testing.
37703 * string/test-strchrnul.c: New file.
37704 * string/Makefile (strop-tests): Add strchrnul.
37706 * po/it.po: Update from translation team.
37707 * po/es.po: Likewise.
37709 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37711 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37712 the three constants needed as parameters. Drop the others.
37713 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37714 __m128i_strloadu_tolower.
37715 Create and initialize variable zero and use it in all the places
37716 where _mm_setzero_si128 was used.
37718 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37719 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37720 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37721 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37723 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37724 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37725 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37726 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37727 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37728 __mpranred, __mptan.
37729 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37730 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37731 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37732 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37733 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37734 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37735 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37736 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37737 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37739 2011-10-28 Andreas Schwab <schwab@redhat.com>
37741 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37742 redefine if SHARED.
37743 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37745 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37746 wide char related routines to wcsmbs subdir.
37748 2011-10-27 Andreas Schwab <schwab@redhat.com>
37751 * misc/sys/cdefs.h (__THROWNL): Define.
37752 * posix/unistd.h: Use __THREADNL instead of __THREAD
37753 for memory synchronization functions.
37755 2011-10-26 Roland McGrath <roland@hack.frob.com>
37758 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37760 * manual/stdio.texi (Obstack Streams): Node removed.
37762 2011-10-26 Andreas Schwab <schwab@redhat.com>
37764 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37765 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37766 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37768 * math/math_private.h (math_force_eval): Allow non-addressable
37770 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37772 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37774 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37775 file is not needed.
37777 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37778 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37779 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37780 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37781 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37782 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37783 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37784 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37786 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37787 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37788 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37789 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37790 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37791 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37792 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37793 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37794 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37795 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37796 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37797 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37798 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37799 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37800 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37801 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37802 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37803 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37804 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37806 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37807 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37809 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37810 place. Use VEX encoding when compiling for AVX.
37812 2011-10-25 Andreas Schwab <schwab@redhat.com>
37814 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37815 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37817 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37819 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37821 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37822 useless if() expression.
37823 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37824 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37825 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37826 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37827 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37828 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37829 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37830 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37831 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37832 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37833 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37834 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37835 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37836 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37837 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37838 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37839 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37840 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37841 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37843 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37845 2011-10-25 Andreas Schwab <schwab@redhat.com>
37847 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37849 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37851 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37853 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37854 .text section. Avoid duplicate constants.
37855 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37856 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37857 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37859 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37860 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37862 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37863 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37864 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37865 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37866 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37867 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37868 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37869 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37870 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37871 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37872 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37873 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37874 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37875 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37876 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37877 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37878 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37879 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37880 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37881 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37882 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37883 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37884 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37885 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37886 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37887 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37888 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37889 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37890 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37891 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37892 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37893 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37894 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37895 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37896 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37897 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37898 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37899 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37901 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37903 * sysdeps/x86_64/dla.h: Move to ...
37904 * sysdeps/x86_64/fpu/dla.h: ...here.
37905 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37906 situations. Use __builtin_fma only for gcc 4.6 and up.
37908 * config.make.in: Add have-mfma4 entry.
37909 * configure.in: Substitute libc_cv_cc_fma4.
37910 * math/Makefile (dbl-only-routines): Add sincostab.
37911 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37912 Use __sincostab not sincos.
37913 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37915 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37918 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37920 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37921 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37922 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37923 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37925 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37926 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37928 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37929 define aliases when function name is a macro.
37930 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37931 sysdeps/ieee754/dbl-64/sincos.tbl.
37932 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37933 fma4-enabled routines.
37934 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37935 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37936 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37937 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37938 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37939 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37940 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37941 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37942 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37943 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37944 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37945 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37946 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37947 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37948 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37949 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37950 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37951 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37952 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37953 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37954 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37955 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37956 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37957 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37958 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37959 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37960 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37961 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37962 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37963 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37965 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37967 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37968 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37969 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37971 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37973 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37976 2011-10-24 Andreas Schwab <schwab@redhat.com>
37978 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37980 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37982 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37984 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37986 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37988 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37989 Remove unused variable magic_bits.
37990 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37992 * string/strnlen.c: Define and use STRNLEN macro.
37993 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37994 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37995 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37996 * wcsmbs/wcslen.c: Define and use WCSLEN.
37997 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37998 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37999 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38000 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38001 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38002 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38003 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38005 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38008 strnlen-sse2-no-bsf.
38009 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38010 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38011 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38012 Add strnlen support.
38013 (USE_AS_STRNLEN): New macro.
38014 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38015 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38016 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38017 * sysdeps/x86_64/wcslen.S: New file.
38019 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38021 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38022 XMM-moves are used for copying on small sizes.
38024 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38026 * wcsmbs/Makefile (strop-tests): Add wcschr.
38027 * wcsmbs/test-wcschr.c: New file.
38028 * string/test-strchr.c: Update.
38029 Add wcschr support.
38032 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38034 * wcsmbs/Makefile (strop-tests): Add wcslen.
38035 * wcsmbs/test-wcslen.c: New file.
38036 * string/test-strlen.c: Update.
38037 Add wcslen support.
38040 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38042 * po/it.po: Update from translation team.
38044 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38046 * sysdeps/x86_64/wcscmp.S: Update.
38047 Fix wrong comparison semantics.
38048 wcscmp shall use signed comparison not unsigned.
38049 Don't use substraction to avoid overflow bug.
38050 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38051 * wcsmbc/wcscmp.c: Likewise.
38052 * string/test-strcmp.c: Likewise.
38053 Add new tests to check cases with negative values.
38055 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38057 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38058 * sysdeps/x86_64/dla.h: ...here. New file.
38059 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38060 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38061 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38062 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38063 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38064 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38067 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38069 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38071 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38072 __ynl_finite aliases.
38074 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38078 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38080 [DLA_FMA] (EMULV): Use DLA_FMA.
38081 [DLA_FMA] (MUL12): Use EMULV.
38082 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38083 that are not needed.
38084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38087 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38088 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38089 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38090 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38092 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38094 * math/s_nan.c: Undef __nan.
38095 * math/s_nanf.c: Undef __nanf.
38096 * math/s_nanl.c: Undef __nanl.
38097 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38100 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38102 * math/s_catan.c: Add branch predictions.
38103 * math/s_catanf.c: Likewise.
38104 * math/s_catanh.c: Likewise.
38105 * math/s_catanhf.c: Likewise.
38106 * math/s_catanhl.c: Likewise.
38107 * math/s_catanl.c: Likewise.
38108 * math/s_cexp.c: Likewise.
38109 * math/s_cexpf.c: Likewise.
38110 * math/s_cexpl.c: Likewise.
38111 * math/s_clog.c: Likewise.
38112 * math/s_clog10.c: Likewise.
38113 * math/s_clog10f.c: Likewise.
38114 * math/s_clog10l.c: Likewise.
38115 * math/s_clogf.c: Likewise.
38116 * math/s_clogl.c: Likewise.
38117 * math/s_csqrt.c: Likewise.
38118 * math/s_csqrtf.c: Likewise.
38119 * math/s_csqrtl.c: Likewise.
38120 * math/s_ctanf.c: Likewise.
38121 * math/s_ctanh.c: Likewise.
38122 * math/s_ctanhf.c: Likewise.
38123 * math/s_ctanhl.c: Likewise.
38124 * math/s_ctanl.c: Likewise.
38126 * math/math_private.h: Define __nan, __nanf, __nanl.
38127 * math/s_cacosh.c: Include <math_private.h>.
38128 * math/s_cacoshl.c: Likewise.
38129 * math/s_casinh.c: Likewise.
38130 * math/s_casinhf.c: Likewise.
38131 * math/s_casinhl.c: Likewise.
38132 * math/s_ccos.c: Rely entire on ccosh.
38133 * math/s_ccosf.c: Rely entire on ccoshf.
38134 * math/s_ccosl.c: Rely entirely on ccoshl.
38135 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38136 Remove tests for FE_INVALID.
38137 * math/s_ccoshf.c: Likewise.
38138 * math/s_ccoshl.c: Likewise.
38139 * math/s_csin.c: Likewise.
38140 * math/s_csinf.c: Likewise.
38141 * math/s_csinh.c Likewise.
38142 * math/s_csinhf.c: Likewise.
38143 * math/s_csinhl.c: Likewise.
38144 * math/s_csinl.c: Likewise.
38145 * math/s_ctan.c: Likewise.
38146 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38147 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38148 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38150 2011-10-21 Ulrich Drepper <drepper@gmail.com>
38152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38153 compilation problems.
38155 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38158 2011-10-20 Ulrich Drepper <drepper@gmail.com>
38160 * sysdeps/i386/configure.in: Test for -mfma4 option.
38161 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38162 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38163 COMMON_CPUID_INDEX_80000001.
38164 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38165 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38166 use it if FMA3 is not supported.
38167 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38169 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38170 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38172 2011-10-20 Andreas Schwab <schwab@redhat.com>
38175 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38176 it would create a cycle with a link time dependency.
38178 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38180 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38182 * string/Makefile (strop-tests): Add rawmemchr.
38183 * string/test-rawmemchr.c: New file.
38185 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38186 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38187 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38188 when compiling str{,n}casecmp and when AVX is available. Hook up
38189 new optimized code in initializers.
38191 2011-10-19 Andreas Schwab <schwab@redhat.com>
38193 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38194 __feraiseexcept instead of feraiseexcept.
38196 2011-10-18 Ulrich Drepper <drepper@gmail.com>
38198 * math/math_private.h: Define defaults for libc_fetestexcept and
38200 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38201 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38202 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38203 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38204 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38205 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38206 libc_fetestexcept and libc_feupdateenv.
38208 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38209 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38210 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38211 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38212 libc_feholdexcept_setround.
38214 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38215 Add s_nearbyint-c and s_nearbyintf-c.
38216 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38217 nearbyintf inlines.
38218 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38219 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38220 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38221 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38223 * math/math_private.h: Define defaults for libc_fegetround,
38224 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38225 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38226 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38227 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38228 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38229 standard functions.
38230 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38231 Remove comments and hacks for old compiler versions.
38232 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38233 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38234 libc_feholdexceptl.
38236 2011-10-18 Andreas Schwab <schwab@redhat.com>
38238 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38239 (__feraiseexcept_renamed): Add __NTH.
38240 (feraiseexcept): Add __NTH. Rename local variables to fix
38241 namespace violations.
38243 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38245 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38247 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38249 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38250 recently added interfaces.
38251 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38253 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38254 about macro parameter expansion.
38256 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38257 __NO_MATH_INLINES is defined. Cleanups.
38259 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38260 and __floorf is target has SSE4.1.
38261 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38262 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38263 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38264 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38266 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38268 (floorf): Likewise.
38270 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38272 2011-10-17 Andreas Schwab <schwab@redhat.com>
38274 * misc/sys/cdefs.h: Fix last change.
38276 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38279 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38281 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38283 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38284 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38285 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38286 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38287 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38288 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38289 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38290 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38291 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38292 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38293 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38294 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38295 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38296 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38297 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38298 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38299 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38300 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38301 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38302 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38303 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38304 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38306 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38307 ceil, ceilf, floor, floorf.
38309 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38310 Perform IRELATIVE relocations last.
38312 * elf/do-rel.h: Add another parameter nrelative, replacing the
38313 local variable with the same name. Change name of the function
38314 to end in Rel or Rela (uppercase).
38315 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38316 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38317 elf_dynamic_do_##reloc function.
38319 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38321 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38322 is sufficient, at least on modern CPUs.
38324 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38326 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38327 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38329 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38331 * math/bits/math-finite.h: Add entries for exp.
38332 * math/e_expl.c: Add __*_finite alias.
38333 * sysdeps/i386/fpu/e_exp.S: Likewise.
38334 * sysdeps/i386/fpu/e_expf.S: Likewise.
38335 * sysdeps/i386/fpu/e_expl.c: Likewise.
38336 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38337 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38338 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38340 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38341 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38342 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38344 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38345 is sufficient, at least on modern CPUs.
38347 * ctype/ctype-info.c (__ctype_init): Define.
38348 * include/ctype.h (__ctype_init): Declare.
38349 (__ctype_b_loc): The variable is always initialized.
38350 (__ctype_toupper_loc): Likewise.
38351 (__ctype_tolower_loc): Likewise.
38352 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38353 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38355 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38357 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38359 * configure.in: Also look in $cxxmachine/include for C++ system
38362 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38364 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38365 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38366 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38367 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38368 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38369 (USE_AS_WMEMCMP): New macro.
38371 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38372 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38373 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38374 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38376 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38377 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38378 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38379 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38380 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38381 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38382 (USE_AS_WMEMCMP): New macro.
38383 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38384 * sysdeps/string/test-memcmp.c: Update.
38385 Fix simple_wmemcmp.
38387 * wcsmbs/wmemcmp.c: Update.
38388 (WMEMCMP): New macro.
38391 2011-10-12 Andreas Jaeger <aj@suse.de>
38394 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38396 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38398 * libio/iofwide.c (do_length): Avoid warning.
38400 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38402 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38404 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38406 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38407 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38408 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38409 * sysdeps/i386/i686/fpu/e_log.S: New file.
38410 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38411 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38413 * ctype/ctype.h: Add support for inlined isXXX functions when
38414 compiling C++ code.
38416 2011-10-14 Andreas Schwab <schwab@redhat.com>
38418 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38420 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38422 2011-10-13 Roland McGrath <roland@hack.frob.com>
38425 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38427 2011-10-13 Andreas Schwab <schwab@redhat.com>
38429 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38430 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38433 * sysdeps/x86_64/memrchr.S: Check for zero size.
38435 * string/stratcliff.c: Add memrchr tests.
38437 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38439 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38440 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38441 rawmemchr-sse2 rawmemchr-sse2-bsf.
38442 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38443 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38444 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38445 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38446 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38447 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38448 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38449 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38450 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38451 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38452 * string/memrchr.c (MEMRCHR): New macro.
38454 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38456 Add integration with gcc's -ffinite-math-only and optimize wrapper
38458 * Versions.def: Define GLIBC_2.15 version for libm.
38459 * math/Makefile (headers): Add bits/math-finite.h.
38460 * math/bits/math-finite.h: New file.
38461 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38462 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38463 * math/e_acoshl.c: Add __*_finite alias.
38464 * math/e_acosl.c: Likewise.
38465 * math/e_asinl.c: Likewise.
38466 * math/e_atan2l.c: Likewise.
38467 * math/e_atanhl.c: Likewise.
38468 * math/e_coshl.c: Likewise.
38469 * math/e_exp10.c: Likewise.
38470 * math/e_exp10f.c: Likewise.
38471 * math/e_exp10l.c: Likewise.
38472 * math/e_exp2l.c: Likewise.
38473 * math/e_fmodl.c: Likewise.
38474 * math/e_gammal_r.c: Likewise.
38475 * math/e_hypotl.c: Likewise.
38476 * math/e_j0l.c: Likewise.
38477 * math/e_j1l.c: Likewise.
38478 * math/e_jnl.c: Likewise.
38479 * math/e_lgammal_r.c: Likewise.
38480 * math/e_log10l.c: Likewise.
38481 * math/e_log2l.c: Likewise.
38482 * math/e_logl.c: Likewise.
38483 * math/e_powl.c: Likewise.
38484 * math/e_sinhl.c: Likewise.
38485 * math/e_sqrtl.c: Likewise.
38486 * math/e_scalb.c: Completely rewritten and optimized.
38487 * math/e_scalbf.c: Likewise.
38488 * math/e_scalbl.c: Likewise.
38489 * math/w_acos.c: Likewise.
38490 * math/w_acosf.c: Likewise.
38491 * math/w_acosl.c: Likewise.
38492 * math/w_acosh.c: Likewise.
38493 * math/w_acoshf.c: Likewise.
38494 * math/w_acoshl.c: Likewise.
38495 * math/w_asin.c: Likewise.
38496 * math/w_asinf.c: Likewise.
38497 * math/w_asinl.c: Likewise.
38498 * math/w_atan2.c: Likewise.
38499 * math/w_atan2f.c: Likewise.
38500 * math/w_atan2l.c: Likewise.
38501 * math/w_atanh.c: Likewise.
38502 * math/w_atanhf.c: Likewise.
38503 * math/w_atanhl.c: Likewise.
38504 * math/w_exp10.c: Likewise.
38505 * math/w_exp10f.c: Likewise.
38506 * math/w_exp10l.c: Likewise.
38507 * math/w_fmod.c: Likewise.
38508 * math/w_fmodf.c: Likewise.
38509 * math/w_fmodl.c: Likewise.
38510 * math/w_j0.c: Likewise.
38511 * math/w_j0f.c: Likewise.
38512 * math/w_j0l.c: Likewise.
38513 * math/w_j1.c: Likewise.
38514 * math/w_j1f.c: Likewise.
38515 * math/w_j1l.c: Likewise.
38516 * math/w_jn.c: Likewise.
38517 * math/w_jnf.c: Likewise.
38518 * math/w_log.c: Likewise.
38519 * math/w_logf.c: Likewise.
38520 * math/w_logl.c: Likewise.
38521 * math/w_log10.c: Likewise.
38522 * math/w_log10f.c: Likewise.
38523 * math/w_log10l.c: Likewise.
38524 * math/w_log2.c: Likewise.
38525 * math/w_log2f.c: Likewise.
38526 * math/w_log2l.c: Likewise.
38527 * math/w_pow.c: Likewise.
38528 * math/w_powf.c: Likewise.
38529 * math/w_powl.c: Likewise.
38530 * math/w_remainder.c: Likewise.
38531 * math/w_remainderf.c: Likewise.
38532 * math/w_remainderl.c: Likewise.
38533 * math/w_scalb.c: Likewise.
38534 * math/w_scalbf.c: Likewise.
38535 * math/w_scalbl.c: Likewise.
38536 * math/w_sqrt.c: Likewise.
38537 * math/w_sqrtf.c: Likewise.
38538 * math/w_sqrtl.c: Likewise.
38539 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38540 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38542 * math/math_private.h: Declare __kernel_standard_f.
38543 * math/w_cosh.c: Remove cruft and optimize a bit.
38544 * math/w_coshf.c: Likewise.
38545 * math/w_coshl.c: Likewise.
38546 * math/w_exp2.c: Likewise.
38547 * math/w_exp2f.c: Likewise.
38548 * math/w_exp2l.c: Likewise.
38549 * math/w_hypot.c: Likewise.
38550 * math/w_hypotf.c: Likewise.
38551 * math/w_hypotl.c: Likewise.
38552 * math/w_lgamma.c: Likewise.
38553 * math/w_lgamma_r.c: Likewise.
38554 * math/w_lgammaf.c: Likewise.
38555 * math/w_lgammaf_r.c: Likewise.
38556 * math/w_lgammal.c: Likewise.
38557 * math/w_lgammal_r.c: Likewise.
38558 * math/w_sinh.c: Likewise.
38559 * math/w_sinhf.c: Likewise.
38560 * math/w_sinhl.c: Likewise.
38561 * math/w_tgamma.c: Likewise.
38562 * math/w_tgammaf.c: Likewise.
38563 * math/w_tgammal.c: Likewise.
38564 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38565 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38566 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38567 Minor optimizations. Pretty printing. Remove cruft.
38568 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38569 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38570 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38571 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38572 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38573 * sysdeps/i386/fpu/e_asin.S: Likewise.
38574 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38575 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38576 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38577 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38578 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38579 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38580 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38581 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38582 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38583 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38584 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38585 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38586 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38587 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38588 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38589 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38590 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38591 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38592 * sysdeps/i386/fpu/e_log.S: Likewise.
38593 * sysdeps/i386/fpu/e_log10.S: Likewise.
38594 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38595 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38596 * sysdeps/i386/fpu/e_log2.S: Likewise.
38597 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38598 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38599 * sysdeps/i386/fpu/e_logf.S: Likewise.
38600 * sysdeps/i386/fpu/e_logl.S: Likewise.
38601 * sysdeps/i386/fpu/e_pow.S: Likewise.
38602 * sysdeps/i386/fpu/e_powf.S: Likewise.
38603 * sysdeps/i386/fpu/e_powl.S: Likewise.
38604 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38605 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38606 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38607 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38608 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38609 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38610 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38611 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38612 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38613 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38614 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38615 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38616 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38617 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38618 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38619 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38620 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38621 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38622 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38623 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38624 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38625 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38626 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38627 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38629 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38630 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38631 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38633 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38634 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38635 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38636 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38637 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38638 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38639 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38640 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38641 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38642 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38643 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38644 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38645 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38646 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38647 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38648 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38649 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38650 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38651 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38652 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38653 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38654 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38655 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38656 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38657 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38658 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38659 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38660 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38661 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38662 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38663 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38664 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38665 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38666 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38667 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38668 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38669 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38670 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38671 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38672 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38673 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38674 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38675 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38676 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38677 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38678 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38679 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38680 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38681 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38682 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38683 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38684 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38685 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38686 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38687 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38688 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38689 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38690 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38691 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38692 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38693 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38694 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38695 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38696 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38697 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38698 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38699 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38700 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38701 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38702 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38703 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38704 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38705 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38706 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38707 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38708 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38709 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38710 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38711 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38712 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38713 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38714 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38715 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38716 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38717 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38718 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38719 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38720 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38721 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38722 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38723 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38724 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38725 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38726 (__isnanf): Likewise.
38727 (__isinf_ns): Likewise.
38728 (__isinf_nsf): Likewise.
38729 (__finite): Likewise.
38730 (__finitef): Likewise.
38731 (__ieee754_sqrt): Define as macro.
38732 (__ieee754_sqrtf): Define as macro.
38733 (__ieee754_sqrtl): Define as macro.
38734 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38736 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38737 __FINITE_MATH_ONLY__ consistent.
38738 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38740 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38742 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38745 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38747 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38749 * po/ja.po: Update from translation team.
38751 2011-10-08 Roland McGrath <roland@hack.frob.com>
38753 * locale/programs/locarchive.c (prepare_address_space): New function.
38754 (create_archive, enlarge_archive, open_archive): Use it.
38756 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38757 inside [SHARED], where it is used.
38759 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38761 * nss/getent.c (netgroup_keys): Remove unused variable.
38762 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38764 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38766 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38767 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38768 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38769 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38770 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38771 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38772 * math/Makefile (libm-calls): Add s_isinf_ns.
38773 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38774 * math/multc3.c: Likewise.
38775 * math/s_casin.c: Likewise.
38776 * math/s_casinf.c: Likewise.
38777 * math/s_casinl.c: Likewise.
38778 * math/s_ccos.c: Likewise.
38779 * math/s_ccosf.c: Likewise.
38780 * math/s_ccosl.c: Likewise.
38781 * math/s_ctan.c: Likewise.
38782 * math/s_ctanf.c: Likewise.
38783 * math/s_ctanh.c: Likewise.
38784 * math/s_ctanhf.c: Likewise.
38785 * math/s_ctanhl.c: Likewise.
38786 * math/s_ctanl.c: Likewise.
38787 * math/w_fmod.c: Likewise.
38788 * math/w_fmodf.c: Likewise.
38789 * math/w_fmodl.c: Likewise.
38790 * math/w_remainder.c: Likewise.
38791 * math/w_remainderf.c: Likewise.
38792 * math/w_remainderl.c: Likewise.
38793 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38794 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38795 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38796 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38797 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38798 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38799 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38800 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38802 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38804 * stdio-common/printf_fphex.c: Likewise.
38805 * stdio-common/printf_size.c: Likewise.
38807 * math/e_exp10.c: Include math_private.h using <...> not "...".
38808 * math/e_exp10f.c: Likewise.
38809 * math/e_exp10l.c: Likewise.
38810 * math/e_exp2l.c: Likewise.
38811 * math/e_j0l.c: Likewise.
38812 * math/e_j1l.c: Likewise.
38813 * math/e_jnl.c: Likewise.
38814 * math/e_lgammal_r.c: Likewise.
38815 * math/e_rem_pio2l.c: Likewise.
38816 * math/e_scalb.c: Likewise.
38817 * math/e_scalbf.c: Likewise.
38818 * math/e_scalbl.c: Likewise.
38819 * math/k_cosl.c: Likewise.
38820 * math/k_sinl.c: Likewise.
38821 * math/k_tanl.c: Likewise.
38822 * math/s_cacoshf.c: Likewise.
38823 * math/s_catan.c: Likewise.
38824 * math/s_catanf.c: Likewise.
38825 * math/s_catanh.c: Likewise.
38826 * math/s_catanhf.c: Likewise.
38827 * math/s_catanhl.c: Likewise.
38828 * math/s_catanl.c: Likewise.
38829 * math/s_ccosh.c: Likewise.
38830 * math/s_ccoshf.c: Likewise.
38831 * math/s_ccoshl.c: Likewise.
38832 * math/s_cexp.c: Likewise.
38833 * math/s_cexpf.c: Likewise.
38834 * math/s_cexpl.c: Likewise.
38835 * math/s_clog.c: Likewise.
38836 * math/s_clog10.c: Likewise.
38837 * math/s_clog10f.c: Likewise.
38838 * math/s_clog10l.c: Likewise.
38839 * math/s_clogf.c: Likewise.
38840 * math/s_clogl.c: Likewise.
38841 * math/s_csin.c: Likewise.
38842 * math/s_csinf.c: Likewise.
38843 * math/s_csinh.c: Likewise.
38844 * math/s_csinhf.c: Likewise.
38845 * math/s_csinhl.c: Likewise.
38846 * math/s_csinl.c: Likewise.
38847 * math/s_csqrt.c: Likewise.
38848 * math/s_csqrtf.c: Likewise.
38849 * math/s_csqrtl.c: Likewise.
38850 * math/s_ctan.c: Likewise.
38851 * math/s_ctanf.c: Likewise.
38852 * math/s_ctanh.c: Likewise.
38853 * math/s_ctanhf.c: Likewise.
38854 * math/s_ctanhl.c: Likewise.
38855 * math/s_ctanl.c: Likewise.
38856 * math/s_ldexp.c: Likewise.
38857 * math/s_ldexpf.c: Likewise.
38858 * math/s_ldexpl.c: Likewise.
38859 * math/s_significand.c: Likewise.
38860 * math/s_significandf.c: Likewise.
38861 * math/s_significandl.c: Likewise.
38862 * math/w_acos.c: Likewise.
38863 * math/w_acosf.c: Likewise.
38864 * math/w_acosh.c: Likewise.
38865 * math/w_acoshf.c: Likewise.
38866 * math/w_acoshl.c: Likewise.
38867 * math/w_acosl.c: Likewise.
38868 * math/w_asin.c: Likewise.
38869 * math/w_asinf.c: Likewise.
38870 * math/w_asinl.c: Likewise.
38871 * math/w_atan2.c: Likewise.
38872 * math/w_atan2f.c: Likewise.
38873 * math/w_atan2l.c: Likewise.
38874 * math/w_atanh.c: Likewise.
38875 * math/w_atanhf.c: Likewise.
38876 * math/w_atanhl.c: Likewise.
38877 * math/w_cosh.c: Likewise.
38878 * math/w_coshf.c: Likewise.
38879 * math/w_coshl.c: Likewise.
38880 * math/w_dremf.c: Likewise.
38881 * math/w_exp10.c: Likewise.
38882 * math/w_exp10f.c: Likewise.
38883 * math/w_exp10l.c: Likewise.
38884 * math/w_exp2.c: Likewise.
38885 * math/w_exp2f.c: Likewise.
38886 * math/w_fmod.c: Likewise.
38887 * math/w_fmodf.c: Likewise.
38888 * math/w_fmodl.c: Likewise.
38889 * math/w_hypot.c: Likewise.
38890 * math/w_hypotf.c: Likewise.
38891 * math/w_hypotl.c: Likewise.
38892 * math/w_j0.c: Likewise.
38893 * math/w_j0f.c: Likewise.
38894 * math/w_j0l.c: Likewise.
38895 * math/w_j1.c: Likewise.
38896 * math/w_j1f.c: Likewise.
38897 * math/w_j1l.c: Likewise.
38898 * math/w_jn.c: Likewise.
38899 * math/w_jnf.c: Likewise.
38900 * math/w_jnl.c: Likewise.
38901 * math/w_lgamma.c: Likewise.
38902 * math/w_lgamma_r.c: Likewise.
38903 * math/w_lgammaf.c: Likewise.
38904 * math/w_lgammaf_r.c: Likewise.
38905 * math/w_lgammal.c: Likewise.
38906 * math/w_lgammal_r.c: Likewise.
38907 * math/w_log.c: Likewise.
38908 * math/w_log10.c: Likewise.
38909 * math/w_log10f.c: Likewise.
38910 * math/w_log10l.c: Likewise.
38911 * math/w_log2.c: Likewise.
38912 * math/w_log2f.c: Likewise.
38913 * math/w_log2l.c: Likewise.
38914 * math/w_logf.c: Likewise.
38915 * math/w_logl.c: Likewise.
38916 * math/w_pow.c: Likewise.
38917 * math/w_powf.c: Likewise.
38918 * math/w_powl.c: Likewise.
38919 * math/w_remainder.c: Likewise.
38920 * math/w_remainderf.c: Likewise.
38921 * math/w_remainderl.c: Likewise.
38922 * math/w_scalb.c: Likewise.
38923 * math/w_scalbf.c: Likewise.
38924 * math/w_scalbl.c: Likewise.
38925 * math/w_sinh.c: Likewise.
38926 * math/w_sinhf.c: Likewise.
38927 * math/w_sinhl.c: Likewise.
38928 * math/w_sqrt.c: Likewise.
38929 * math/w_sqrtf.c: Likewise.
38930 * math/w_sqrtl.c: Likewise.
38931 * math/w_tgamma.c: Likewise.
38932 * math/w_tgammaf.c: Likewise.
38933 * math/w_tgammal.c: Likewise.
38935 * po/ja.po: Update from translation team.
38937 2011-09-29 Andreas Jaeger <aj@suse.de>
38940 * sunrpc/netname.c (netname2host): Fix logic.
38944 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38946 * math/w_remainder.c (__remainder): Likewise.
38947 * math/w_remainderf.c (__remainderf): Likewise.
38948 * math/libm-test.inc (remainder_test): Add test cases.
38950 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38952 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38955 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38957 * string/test-memcmp.c: Avoid unncessary #defines.
38958 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38960 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38962 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38963 Use new sse2 version for core i3 - i7 as it's faster
38964 than sse42 version.
38965 (bit_Prefer_PMINUB_for_stringop): New.
38966 * sysdeps/x86_64/rawmemchr.S: Update.
38967 Replace with faster SSE2 version.
38968 * sysdeps/x86_64/memrchr.S: New file.
38969 * sysdeps/x86_64/memchr.S: Update.
38970 Replace with faster SSE2 version.
38972 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38974 * elf/dl-load.c (lose): Add cast to avoid warning.
38976 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38978 * po/ca.po: Update from translation team.
38980 * inet/getnetgrent_r.c: Hook up nscd.
38981 * nscd/Makefile (routines): Add nscd_netgroup.
38982 (nscd-modules): Add netgroupcache.
38983 (CFLAGS-netgroupcache.c): Define.
38984 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38985 (cache_search): Add const to second parameter.
38986 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38988 (dbs): Add netgrdb entry.
38989 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38990 (verify_persistent_db): Handle netgrdb.
38991 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38992 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38994 (netgroup_response_header): Define.
38995 (innetgroup_response_header): Define.
38996 (datahead): Add netgroup_response_header and innetgroup_response_header
38998 * nscd/nscd.conf: Add entries for netgroup cache.
38999 * nscd/nscd.h (dbtype): Add netgrdb.
39000 (_PATH_NSCD_NETGROUP_DB): Define.
39001 (netgroup_iov_disabled): Declare.
39002 (xmalloc, xcalloc, xrealloc): Move declarations here.
39003 (cache_search): Adjust prototype.
39004 Add netgroup-related prototypes.
39005 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39006 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39007 (__nscd_innetgr): Declare.
39008 * nscd/selinux.c (perms): Use access_vector_t as element type and
39009 add netgroup-related initializers.
39010 * nscd/netgroupcache.c: New file.
39011 * nscd/nscd_netgroup.c: New file.
39012 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39013 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39014 For four parameters use innetgr.
39015 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39016 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39017 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39018 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39020 * nscd/connections.c (register_traced_file): Don't register file
39021 for disabled databases.
39023 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39025 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39027 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39028 from tree and freeing node.
39030 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39032 * nss/nsswitch.c (__nss_database_lookup): Handle
39033 nss_parse_service_list out of memory case.
39035 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39037 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39038 out of memory case.
39040 2011-10-04 Andreas Schwab <schwab@redhat.com>
39042 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39043 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39045 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39046 elf_machine_rela, elf_machine_lazy_rel.
39047 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39048 (ELF_DYNAMIC_DO_REL): Likewise.
39049 (ELF_DYNAMIC_DO_RELA): Likewise.
39050 (ELF_DYNAMIC_RELOCATE): Likewise.
39051 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39052 to ELF_DYNAMIC_DO_REL.
39053 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39054 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39055 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39057 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39058 skip_ifunc, don't call ifunc function if non-zero.
39059 (elf_machine_rela): Likewise.
39060 (elf_machine_lazy_rel): Likewise.
39061 (elf_machine_lazy_rela): Likewise.
39062 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39063 (elf_machine_lazy_rel): Likewise.
39064 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39066 (elf_machine_lazy_rel): Likewise.
39067 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39069 (elf_machine_lazy_rel): Likewise.
39070 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39071 (elf_machine_lazy_rel): Likewise.
39072 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39073 (elf_machine_lazy_rel): Likewise.
39074 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39075 (elf_machine_lazy_rel): Likewise.
39076 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39077 (elf_machine_lazy_rel): Likewise.
39078 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39079 (elf_machine_lazy_rel): Likewise.
39080 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39081 (elf_machine_lazy_rel): Likewise.
39083 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39085 * nss/nss_files/files-init.c (_nss_files_init): Use static
39086 initialization for all the *_traced_file variables.
39088 2011-09-28 Andreas Schwab <schwab@redhat.com>
39090 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39092 2011-09-27 Roland McGrath <roland@hack.frob.com>
39095 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39097 2011-09-27 Andreas Schwab <schwab@redhat.com>
39099 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39100 Reread the line before reparsing it.
39102 2011-09-26 Andreas Schwab <schwab@redhat.com>
39104 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39106 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39107 Maxim Kuvyrkov <maxim@codesourcery.com>
39108 Joseph Myers <joseph@codesourcery.com>
39110 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39111 if needed for __stack_chk_guard.
39113 2011-09-19 Roland McGrath <roland@hack.frob.com>
39115 * sysdeps/posix/spawni.c (script_execute): Always define it.
39116 It will be optimized away if unused.
39117 (maybe_script_execute): New function.
39118 (__spawni): Call it.
39120 * Makerules: Don't include tls.make.
39121 (config-tls): Always set to thread.
39122 * tls.make.c: File removed.
39124 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39126 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39127 * config.make.in (CPPFLAGS-config): New substituted variable.
39129 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39131 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39134 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39135 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39137 2011-09-15 Roland McGrath <roland@hack.frob.com>
39139 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39140 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39142 (CALL_FAIL): Likewise.
39143 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39144 (CALL_FAIL): Macro removed.
39145 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39147 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39149 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39150 for __FINITE_MATH_ONLY__ == 1.
39152 2011-09-15 Andreas Schwab <schwab@redhat.com>
39154 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39155 __ieee754_sqrt instead of sqrt.
39156 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39157 __ieee754_sqrtf instead of sqrtf.
39158 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39159 __floorf instead of floorf.
39160 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39161 __floorf, __truncf instead of floorf, truncf.
39163 2011-09-14 Ulrich Drepper <drepper@gmail.com>
39165 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39167 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39168 __extern_always_inline.
39169 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39172 2011-09-14 Andreas Schwab <schwab@redhat.com>
39174 * elf/rtld.c (dl_main): Also relocate in dependency order when
39175 doing symbol dependency testing.
39177 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39179 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39180 Always define `refsym'.
39182 2011-09-13 Andreas Schwab <schwab@redhat.com>
39184 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39185 (__FD_ELT): Renamed from __FDELT.
39186 * misc/bits/select2.h (__FD_ELT): Likewise.
39187 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39188 __FD_MASK instead of __FDELT, __FDMASK.
39189 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39191 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39194 * elf/Makefile (gen-ldd): Fix pattern.
39196 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39197 (init_tls): Likewise.
39199 2011-09-12 Ulrich Drepper <drepper@gmail.com>
39201 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39203 2011-09-12 Andreas Schwab <schwab@redhat.com>
39205 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39206 `struct cmsghdr *' instead of `void *'.
39207 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39210 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39212 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39214 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39215 ldd_rewrite_script.
39217 2011-09-11 Ulrich Drepper <drepper@gmail.com>
39219 * configure.in: Remove --with-tls option.
39220 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39221 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39222 out in case it is missing.
39223 * sysdeps/ia64/elf/configure.in: Likewise.
39224 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39225 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39226 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39227 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39228 * sysdeps/sh/elf/configure.in: Likewise.
39229 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39230 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39231 * sysdeps/x86_64/elf/configure.in: Likewise.
39232 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39233 * sysdeps/mach/hurd/tls.h: Likewise.
39236 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39239 * configure.in: Fix use of AC_INIT.
39241 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39243 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39245 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39247 * malloc/hooks.c: Likewise.
39250 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39251 variables statically.
39252 (narenas): Initialize.
39253 (list_lock): Initialize.
39254 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39255 initializtion of main_arena and list_lock. Small cleanups.
39256 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39257 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39258 Add initializers to main_arena and mp_.
39259 (malloc_state): Remove pagesize member. Change all users to use
39262 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39263 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39264 is always initialized.
39266 * malloc/malloc.c: Removed unused configurations and dead code.
39267 * malloc/arena.c: Likewise.
39268 * malloc/hooks.c: Likewise.
39269 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39271 * include/tls.h: Removed. USE___THREAD must always be defined.
39272 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39273 * elf/dl-libc.c: Likewise.
39274 * elf/dl-tsd.c: Likewise.
39275 * include/errno.h: Likewise.
39276 * include/netdb.h: Likewise.
39277 * include/resolv.h: Likewise.
39278 * inet/herrno-loc.c: Likewise.
39279 * inet/herrno.c: Likewise.
39280 * malloc/arena.c: Likewise.
39281 * malloc/hooks.c: Likewise.
39282 * malloc/malloc.c: Likewise.
39283 * resolv/res-state.c: Likewise.
39284 * resolv/res_libc.c: Likewise.
39285 * sysdeps/i386/dl-machine.h: Likewise.
39286 * sysdeps/ia64/dl-machine.h: Likewise.
39287 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39288 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39289 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39290 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39291 * sysdeps/sh/dl-machine.h: Likewise.
39292 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39293 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39294 * sysdeps/unix/i386/sysdep.S: Likewise.
39295 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39296 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39297 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39299 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39300 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39301 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39303 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39305 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39306 * sysdeps/x86_64/dl-machine.h: Likewise.
39307 * tls.make.c: Likewise.
39309 * configure.in: Remove --with-__thread option. Make tests for
39310 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39311 tls_model attribute fail if no support is available. Remove
39313 * Makeconfig: Adjust for dropped configure option. All features are
39315 * Makerules: Likewise.
39316 * Versions.def: Likewise.
39317 * argp/argp-fmtstream.c: Likewise.
39318 * argp/argp-fmtstream.h: Likewise.
39319 * argp/argp-help.c: Likewise.
39320 * assert/assert.c: Likewise.
39321 * config.h.in: Likewise.
39322 * config.make.in: Likewise.
39323 * configure: Likewise.
39324 * configure.in: Likewise.
39325 * csu/Versions: Likewise.
39326 * csu/init.c: Likewise.
39327 * elf/tst-audit2.c: Likewise.
39328 * elf/tst-tls10.c: Likewise.
39329 * elf/tst-tls10.h: Likewise.
39330 * elf/tst-tls11.c: Likewise.
39331 * elf/tst-tls12.c: Likewise.
39332 * elf/tst-tls14.c: Likewise.
39333 * elf/tst-tlsmod11.c: Likewise.
39334 * elf/tst-tlsmod12.c: Likewise.
39335 * elf/tst-tlsmod13.c: Likewise.
39336 * elf/tst-tlsmod13a.c: Likewise.
39337 * elf/tst-tlsmod14a.c: Likewise.
39338 * elf/tst-tlsmod15b.c: Likewise.
39339 * elf/tst-tlsmod16a.c: Likewise.
39340 * elf/tst-tlsmod16b.c: Likewise.
39341 * elf/tst-tlsmod7.c: Likewise.
39342 * elf/tst-tlsmod8.c: Likewise.
39343 * elf/tst-tlsmod9.c: Likewise.
39344 * gmon/gmon.c: Likewise.
39345 * grp/fgetgrent_r.c: Likewise.
39346 * grp/putgrent.c: Likewise.
39347 * hurd/fopenport.c: Likewise.
39348 * include/libc-symbols.h: Likewise.
39349 * include/tls.h: Likewise.
39350 * intl/gettextP.h: Likewise.
39351 * intl/loadinfo.h: Likewise.
39352 * locale/global-locale.c: Likewise.
39353 * locale/localeinfo.h: Likewise.
39354 * mach/devstream.c: Likewise.
39355 * malloc/arena.c: Likewise.
39356 * malloc/set-freeres.c: Likewise.
39357 * misc/err.c: Likewise.
39358 * misc/getttyent.c: Likewise.
39359 * misc/mntent_r.c: Likewise.
39360 * posix/getopt.c: Likewise.
39361 * posix/wordexp.c: Likewise.
39362 * pwd/fgetpwent_r.c: Likewise.
39363 * resolv/Versions: Likewise.
39364 * resolv/res_hconf.c: Likewise.
39365 * shadow/fgetspent_r.c: Likewise.
39366 * shadow/putspent.c: Likewise.
39367 * stdio-common/printf_fphex.c: Likewise.
39368 * stdio-common/tmpfile.c: Likewise.
39369 * stdlib/abort.c: Likewise.
39370 * stdlib/fmtmsg.c: Likewise.
39371 * sunrpc/auth_unix.c: Likewise.
39372 * sunrpc/clnt_perr.c: Likewise.
39373 * sunrpc/clnt_tcp.c: Likewise.
39374 * sunrpc/clnt_udp.c: Likewise.
39375 * sunrpc/clnt_unix.c: Likewise.
39376 * sunrpc/openchild.c: Likewise.
39377 * sunrpc/svc_simple.c: Likewise.
39378 * sunrpc/svc_tcp.c: Likewise.
39379 * sunrpc/svc_udp.c: Likewise.
39380 * sunrpc/svc_unix.c: Likewise.
39381 * sunrpc/xdr.c: Likewise.
39382 * sunrpc/xdr_array.c: Likewise.
39383 * sunrpc/xdr_rec.c: Likewise.
39384 * sunrpc/xdr_ref.c: Likewise.
39385 * sunrpc/xdr_stdio.c: Likewise.
39387 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39389 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39391 2011-07-03 Andreas Jaeger <aj@suse.de>
39393 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39394 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39395 regenerate with gen-libm-tests.pl.
39397 2010-05-12 Petr Baudis <pasky@suse.cz>
39400 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39401 around j0() zero points by switching to j1().
39402 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39403 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39405 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39407 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39409 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39411 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39414 Patch in part by Pavel Roskin <proski@gnu.org>.
39417 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39419 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39420 Free memory block if necessary.
39423 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39424 be NULL. Don't lock in this case.
39426 2011-09-09 Roland McGrath <roland@hack.frob.com>
39428 * elf/elf.h (ELFOSABI_GNU): New macro.
39429 (ELFOSABI_LINUX): Define to that.
39431 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39433 * string/strncat.c (strncat): Undef the symbol in case it has been
39434 defined in bits/string.h.
39436 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39438 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39440 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39443 2011-08-17 Andreas Jaeger <aj@suse.de>
39445 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39447 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39448 Ian Lance Taylor <iant@google.com>
39450 * math/libm-test.inc (lround_test): New testcase.
39451 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39453 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39455 * Makefile: Remove support for automatic cvs check-ins.
39456 * Makerules: Likewise.
39457 * config.make.in: Likewise.
39458 * configure.in: Likewise.
39459 * intl/Makefile: Likewise.
39460 * locale/Makefile: Likewise.
39461 * po/Makefile: Likewise.
39462 * posix/Makefile: Likewise.
39463 * sysdeps/gnu/Makefile: Likewise.
39464 * sysdeps/mach/hurd/Makefile: Likewise.
39465 * sysdeps/sparc/sparc32/Makefile: Likewise.
39468 * posix/Makefile (bug-regex32-ENV): Define.
39469 Patch by John Stanley <jpsinthemix@verizon.net>.
39471 * misc/Makefile (headers): Add bits/select2.h.
39472 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39473 * misc/bits/select2.h: New file.
39474 * include/bits/select2.h: New file.
39475 * debug/Makefile (routines): Add fdelt_chk.
39476 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39477 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39479 * debug/fdelt_chk.c: New file.
39481 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39482 * wcsmbs/test-wmemcmp.c: Likewise.
39483 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39484 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39486 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39488 * string/Makefile (strop-tests): Add memcmp.
39489 * string/test-wmemcmp.c: New file.
39490 * string/test-memcmp.c: Add wmemcmp support.
39492 2011-09-08 Roland McGrath <roland@hack.frob.com>
39495 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39498 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39499 garbage value in a __mach_port_mod_refs call in the cases of the
39500 task-self and thread-self ports.
39502 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39504 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39506 2011-09-08 Andreas Schwab <schwab@redhat.com>
39508 * elf/dl-load.c (lose): Check for non-null L.
39510 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39512 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39514 * elf/dl-libc.c (dlerror_run): Pass back error code from
39518 * elf/dl-load.c (lose): Free l_origin if it is valid.
39520 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39522 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39523 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39524 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39525 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39526 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39527 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39529 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39531 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39532 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39533 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39534 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39535 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39536 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39537 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39538 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39539 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39540 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39542 2011-08-15 Alan Modra <amodra@gmail.com>
39545 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39546 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39547 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39548 ppc_mcount to static-only-routines.
39549 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39551 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39552 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39554 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39556 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39557 for finite and infinity parameters.
39559 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39562 and add nop instructions for throughput optimization.
39563 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39565 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39567 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39568 aligned copy for power7 with vector-scalar instructions.
39569 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39571 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39573 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39576 2011-09-07 Andreas Schwab <schwab@redhat.com>
39579 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39582 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39584 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39585 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39586 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39587 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39590 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39592 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39593 Forgot to demangle the pointer.
39595 * sysdeps/i386/sysdep.h: Define atom_text_section.
39596 * sysdeps/x86_64/sysdep.h: Likewise.
39597 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39598 section with atom_text_section.
39599 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39600 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39601 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39602 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39603 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39605 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39606 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39607 already be defined. Change to take two parameters and don't assign
39608 result to variable. Adjust all users.
39609 Define INTERNAL_GETTIME if not already defined.
39610 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39613 HAVE_CLOCK_GETTIME_VSYSCALL.
39614 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39616 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39617 gettimeofday vsyscall, just use time.
39619 2011-09-06 Andreas Schwab <schwab@redhat.com>
39621 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39624 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39626 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39630 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39632 syscall if possible.
39634 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39636 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39637 e_ident. Don't pass to find_mapsXX.
39638 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39640 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39643 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39644 * sysdeps/x86_64/multiarch/strchr.S: Update.
39645 Check bit_slow_BSF bit.
39646 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39647 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39648 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39650 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39653 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39655 (tryshell): Define.
39656 (__spawni): Change last parameter to be flag. Test
39657 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39658 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39659 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39660 * posix/spawni.c: Likewise.
39661 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39662 * posix/spawnp.c: Likewise. Change normal version to use
39663 SPAWN_XFLAGS_USE_PATH.
39664 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39665 SPAWN_XFLAGS_TRY_SHELL.
39668 * posix/glob.h: Remove gcc 1.x support.
39671 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39673 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39675 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39676 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39678 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39679 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39680 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39681 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39682 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39683 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39685 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39687 * sysdeps/x86_64/wcscmp.S: New file.
39689 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39690 wcscmp-c wcscmp-sse2
39691 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39692 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39693 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39694 * wcsmbs/wcscmp.c: Allow renaming.
39696 2011-09-05 David S. Miller <davem@davemloft.net>
39698 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39699 stack slot, rather than the struct return pointer slot.
39700 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39701 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39703 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39705 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39707 * po/ja.po: Update from translation team.
39710 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39711 kernel in 64-bit binaries.
39713 2011-09-01 David S. Miller <davem@davemloft.net>
39715 * elf/elf.h (HWCAP_SPARC_*): Move to..
39716 * sysdeps/sparc/sysdep.h: this new file and add new values.
39717 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39718 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39719 _DL_HWCAP_COUNT to 24.
39720 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39722 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39723 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39724 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39725 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39726 instead of magic constants.
39727 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39729 2011-08-31 David S. Miller <davem@davemloft.net>
39731 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39732 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39733 Reimplement to do errno handling inline.
39734 (SYSCALL_ERROR_HANDLER): New macro.
39735 (__SYSCALL_STRING): Do not do errno handling in asm.
39736 (__CLONE_SYSCALL_STRING): Delete.
39737 (__INTERNAL_SYSCALL_STRING): Delete.
39738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39739 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39740 (PSEUDO): Reimplement to do errno handling inline.
39741 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39742 (SYSCALL_ERROR_HANDLER): New macro.
39743 (__SYSCALL_STRING): Do not do errno handling in asm.
39744 (__CLONE_SYSCALL_STRING): Delete.
39745 (__INTERNAL_SYSCALL_STRING): Delete.
39746 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39747 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39749 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39750 (inline_syscall*): Add 'err' argument.
39751 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39752 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39753 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39754 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39756 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39757 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39759 2011-08-30 Andreas Schwab <schwab@redhat.com>
39761 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39763 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39765 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39768 2011-08-24 David S. Miller <davem@davemloft.net>
39770 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39772 2011-08-24 Andreas Schwab <schwab@redhat.com>
39774 * elf/Makefile: Add rules to build and run unload8 test.
39775 * elf/unload8.c: New file.
39776 * elf/unload8mod1.c: New file.
39777 * elf/unload8mod1x.c: New file.
39778 * elf/unload8mod2.c: New file.
39779 * elf/unload8mod3.c: New file.
39781 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39784 2011-08-23 David S. Miller <davem@davemloft.net>
39786 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39787 subtract stack bias.
39788 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39789 %sp not %fp in calculations.
39790 (_JMPBUF_UNWINDS_ADJ): Likewise.
39792 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39793 (aio_suspend): Call it to force an exception region around the
39794 AIO_MISC_WAIT() invocation.
39796 2011-08-23 Andreas Schwab <schwab@redhat.com>
39798 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39801 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39803 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39805 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39806 and <dl-machine.h>.
39807 (Elf64_FuncDesc): Remove.
39809 2011-08-22 David S. Miller <davem@davemloft.net>
39811 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39812 sigaltstack check, add missing cfi directives.
39813 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39814 missing cfi directives, and sigaltstack handling.
39816 2011-08-16 Andreas Schwab <schwab@redhat.com>
39819 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39820 object is seen twice.
39821 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39823 * elf/Makefile (distribute): Add tst-initorder2.c.
39824 (tests): Add tst-initorder2.
39825 (modules-names): Add tst-initorder2a tst-initorder2b
39826 tst-initorder2c tst-initorder2d. Add rules to build them.
39827 ($(objpfx)tst-initorder2.out): New rule.
39828 * elf/tst-initorder2.c: New file.
39829 * elf/tst-initorder2.exp: New file.
39831 2011-08-22 Andreas Schwab <schwab@redhat.com>
39833 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39835 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39836 dependencies back to end of function.
39838 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39839 $(elfobjdir)/ld.so.
39841 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39844 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39845 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39846 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39847 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39848 of __vdso_gettimeofday.
39849 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39850 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39852 (_libc_vdso_platform_setup): Remove initialization of
39853 __vdso_gettimeofday and __vdso_time.
39855 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39857 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39858 and fgetc_unlocked.
39859 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39862 * elf/dl-open.c (add_to_global): Report additions to the global scope
39863 for LD_DEBUG=scopes.
39864 (dl_open_worker): Also print scope of newly loaded dependencies.
39865 (_dl_show_scope): Indicate if there is no scope.
39868 * stdio-common/Makefile (tests): Add bug24.
39869 * stdio-common/bug24.c: New file.
39871 2011-08-19 Andreas Jaeger <aj@suse.de>
39874 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39875 non-existant file when using close-on-exec mode.
39877 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39879 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39880 the very first instruction.
39882 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39883 the CFI state in the end.
39884 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39885 inclusion of dl-trampoline.h.
39886 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39888 2011-08-19 Andreas Schwab <schwab@redhat.com>
39890 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39891 expectations for long double.
39893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39894 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39896 2011-08-14 David S. Miller <davem@davemloft.net>
39898 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39899 artificual limit depends upon the system page size.
39901 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39903 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39904 * resolv/Makefile: Define CFLAGS-libresolv.
39906 2011-08-17 Andreas Schwab <schwab@redhat.com>
39908 * nss/makedb.c (compute_tables): Make variables used in nested
39911 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39913 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39914 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39915 if buffer was too small.
39917 * elf/pldd.c (main): Attach to all threads in the process.
39918 Rewrite /proc handling to use *at functions.
39920 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39922 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39923 specifies first scope to show.
39924 (dl_open_worker): Update callers. Move printing scope of new
39925 object to before the relocation.
39926 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39927 * sysdeps/generic/ldsodefs.h: Update declaration.
39929 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39930 string for the scope number.
39932 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39934 * nscd/servicescache.c (cache_addserv): Make sure written is always
39937 2011-08-14 Roland McGrath <roland@hack.frob.com>
39939 * sysdeps/i386/i486/bits/atomic.h
39940 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39941 statement expression, so as to suppress "set but not used" warning.
39942 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39944 * string/strncat.c (STRNCAT): Use prototype definition.
39946 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39947 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39949 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39950 (localedef-modules): Add localedef.
39951 (locale-modules): Add locale.
39953 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39954 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39955 to avoid a warning.
39957 2011-08-14 David S. Miller <davem@davemloft.net>
39959 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39960 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39962 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39964 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39965 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39966 * elf/rtld.c (dl_main): Set l_name of vDSO.
39967 Call _dl_show_scope when DL_DEBUG_SCOPES.
39968 (process_dl_debug): Recognize scopes flag and also set it for all.
39969 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39970 Declare _dl_show_scope.
39972 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39973 (do_dlopen): Pass caller_dlopen to dl_open.
39974 (__libc_dlopen_mode): Initialize caller_dlopen.
39976 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39977 of libc. Make tolower call locale-independent. Optimize a bit by
39978 using isdigit instead of isalnum.
39979 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39981 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39983 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39984 was a dependency or dynamically loaded.
39986 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39988 * intl/l10nflist.c: Allow architecture-specific pop function.
39989 * sysdeps/x86_64/l10nflist.c: New file.
39991 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39994 2011-08-10 Andreas Schwab <schwab@redhat.com>
39996 * include/dirent.h: Add libc_hidden_proto for scandirat and
39997 scandirat64. Don't declare __scandirat64.
39998 * dirent/scandirat.c: Add libc_hidden_def.
39999 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40000 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40002 2011-08-10 David S. Miller <davem@davemloft.net>
40004 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40006 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40007 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40008 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40010 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40012 * Versions.def [libc]: Add GLIBC_2.15.
40013 * dirent/Makefile (routines): Add scandirat and scandirat64.
40014 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40016 * dirent/dirent.h: Declare scandirat and scandirat64.
40017 * dirent/scandirat.c: New file.
40018 * dirent/scandirat64.c: New file.
40019 * sysdeps/wordsize-64/scandirat.c: New file.
40020 * sysdeps/wordsize-64/scandirat64.c: New file.
40021 * dirent/opendir.c: Define opendirat.
40022 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40024 * dirent/scandir64.c: Adjust for scandir.c change.
40025 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40026 __scandirat64, and __scandir_cancel_handler.
40027 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40028 additional parameter and use openat instead of open (outside of ld.so).
40029 Add new __opendir as wrapper around __opendirat.
40030 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40031 here without requiring old scandirat implementation.
40033 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40035 * dirent/scandir.c (cancel_handler): Renamed to
40036 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40037 defined. Adjust users.
40038 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40039 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40041 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40043 * string/test-string.h (IMPL): Use __STRING to expand name and then
40046 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40049 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40051 * string/Makefile: Update.
40052 (strop-tests): Append strncat.
40053 * string/test-wcscmp.c: New file.
40054 New comprehensive test for wcscmp.
40055 * string/test-strcmp.c: Update.
40056 (WIDE): New define.
40058 2011-07-22 Andreas Schwab <schwab@redhat.com>
40060 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40063 2011-07-26 Andreas Schwab <schwab@redhat.com>
40065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40066 encoding to ACE if AI_IDN.
40068 2011-08-01 Jakub Jelinek <jakub@redhat.com>
40070 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40071 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40073 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40075 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40076 Fix overflow bug in strncat.
40077 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40079 * string/test-strncat.c: Update.
40080 Add new tests for checking overflow bugs.
40082 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40085 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40086 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40087 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40088 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40089 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40090 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40091 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40092 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40094 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40095 (USE_AS_STRCAT): Define.
40096 Add strcat and strncat support.
40097 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40099 2011-07-25 Andreas Schwab <schwab@redhat.com>
40101 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40102 __n bigger than INT_MAX+1.
40103 (__strncmp_g): Likewise.
40105 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40107 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40108 * libio/stido.h: Likewise.
40110 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40112 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40115 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40116 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40117 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40118 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40119 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40122 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40127 (_dl_x86_64_save_sse): Likewise.
40129 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40133 (_dl_x86_64_save_sse): Likewise.
40135 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40137 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40139 2011-07-21 Andreas Schwab <schwab@redhat.com>
40141 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40143 (_dl_x86_64_save_sse): Use correct AVX check.
40145 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40147 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40148 bug in strncpy/strncat.
40149 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40151 2011-07-21 Ulrich Drepper <drepper@gmail.com>
40153 * string/tester.c (test_strcat): Add tests for different alignments
40154 of source and destination.
40155 (test_strncat): Likewise.
40157 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40160 * posix/glob.c (glob): Check passed in values before using them in
40161 expressions to avoid some overflows.
40162 (glob_in_dir): Likewise.
40165 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40166 check for AVX enablement so that we don't crash with old kernels and
40168 * elf/tst-audit4.c: Add same checks here.
40169 * elf/tst-audit6.c: Likewise.
40171 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40173 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40175 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40177 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40179 * po/cs.po: Update from translation team.
40180 * po/bg.po: Likewise.
40182 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40184 * misc/sys/cdefs.h: Add support for const attribute.
40185 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40186 to gnu_dev_{major,minor,makedev} functions.
40188 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40190 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40192 2011-07-20 Andreas Schwab <schwab@redhat.com>
40194 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40197 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40199 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40200 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40201 register in order to avoid conflicts with the soft frame pointer
40202 being held in r11 when necessary.
40203 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40204 (INTERNAL_VSYSCALL_NCS): Likewise.
40206 2011-07-14 Marek Polacek <mpolacek@redhat.com>
40208 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40209 * elf/dl-fini.c (_dl_fini): Adjust caller.
40210 * elf/dl-close.c (_dl_close_worker): Likewise.
40211 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40213 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40215 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40216 "aux_cache->nlibs < 0".
40218 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40219 in the reload-count case.
40221 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40224 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40225 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40226 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40227 * sysdeps/x86_64/multiarch/strcat.S: New file.
40228 * sysdeps/x86_64/multiarch/strncat.S: New file.
40229 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40230 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40231 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40232 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40233 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40234 (USE_AS_STRCAT): Define.
40235 Add strcat and strncat support.
40236 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40237 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40238 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40239 * string/strncat.c: Update.
40240 (USE_AS_STRNCAT): Define.
40241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40242 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40244 * sysdeps/x86_64/multiarch/init-arch.h
40245 (bit_Prefer_PMINUB_for_stringop): New.
40246 (index_Prefer_PMINUB_for_stringop): Likewise.
40247 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40248 bit_Prefer_PMINUB_for_stringop.
40250 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40252 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40254 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40255 of casting of buffer.
40256 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40257 buffer32 and buffer64.
40258 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40259 writes instead of casting of buffer.
40260 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40262 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40265 2011-07-19 Andreas Schwab <schwab@redhat.com>
40267 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40269 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40271 * nscd/nscd.c (termination_handler): Don't do anything for a database
40272 if it has not yet been initialized.
40274 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40276 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40278 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40280 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40282 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40284 * po/nl.po: Update from translation team.
40285 * po/sv.po: Likewise.
40287 2011-07-16 Roland McGrath <roland@hack.frob.com>
40289 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40290 now disallowed by GCC.
40292 * configure.in (use-default-link): Default to yes if a test -shared
40293 link meets our qualifications.
40294 * configure: Regenerated.
40296 * config.make.in (output-format): New variable.
40297 * configure.in: Check for ld --print-output-format support.
40298 * configure: Regenerated.
40299 * Makerules ($(common-objpfx)format.lds)
40300 [$(output-format) != unknown]: Just use $(output-format),
40301 instead of the linker-script munging.
40303 2011-07-14 Roland McGrath <roland@hack.frob.com>
40305 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40306 of $(common-objpfx)shlib.lds.
40307 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40309 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40310 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40312 * configure.in (-z relro check): Adjust test code to add a large
40313 writable data section after it.
40314 * configure: Regenerated.
40316 2011-07-11 Roland McGrath <roland@hack.frob.com>
40318 * configure.in (-z relro check): Fix test code to make the variable
40320 * configure: Regenerated.
40322 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40324 * nscd/nscd.h (struct traced_file): Define.
40325 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40326 elements. Add traced_files.
40327 (inotify_fd): Declare.
40328 (register_traced_file): Declare.
40329 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40330 (inotify_fd): Export.
40331 (resolv_conf_descr): Remove.
40332 (nscd_init): Move inotify descriptor creation to main.
40333 Don't register files for notification here.
40334 (register_traced_file): New function.
40335 (invalidate_cache): Don't use reset_res to determine whether to call
40336 res_init, go through the list of registered files.
40337 (main_loop_poll): The inotify descriptors are now stored in the
40338 structures for the traced files.
40339 (main_loop_epoll): Likewise
40340 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40341 to __nss_disable_nscd.
40342 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40343 for a database anymore. Check the records for all the registered
40345 * nss/Makefile (libnss_files-routines): Add files-init.
40346 (libnss_db-routines): Add db-init.
40347 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40348 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40349 * nss/nss_db/db-init.c: New file.
40350 * nss/nss_files/files-init.c: New file.
40351 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40352 __nss_lookup_function.
40353 (__nss_lookup_function): Call nss_load_library.
40354 (nss_load_all_libraries): New function.
40355 (__nss_disable_nscd): Take parameter with callback function for files
40356 to register. Set is_nscd. Load all the DSOs for the NSS modules
40357 used for the cached services.
40358 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40359 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40360 options for features to all the files in nscd.
40362 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40364 2011-07-10 Roland McGrath <roland@hack.frob.com>
40366 * csu/elf-init.c (__libc_csu_init): Comment typo.
40368 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40370 * po/pl.po: Update from translation team.
40371 * po/ja.po: Likewise.
40372 * po/ru.po: Likewise.
40373 * po/ko.po: Likewise.
40374 * po/fr.po: Likewise.
40376 2011-07-09 Roland McGrath <roland@hack.frob.com>
40378 * configure.in (.ctors/.dtors header and trailer check):
40379 Use an empirical test on a built program.
40380 * configure: Regenerated.
40382 * configure.in (-z relro check): Use an empirical test on a built DSO.
40383 Detect, but do not require, on ia64.
40384 * configure: Regenerated.
40386 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40387 Update tests that use readelf to use $READELF instead.
40388 * configure: Regenerated.
40390 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40392 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40393 if the result is not used.
40395 2011-07-05 Andreas Jaeger <aj@suse.de>
40398 * stdlib/tst-strtod.c: Add testcase.
40400 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40402 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40403 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40404 The latter has a higher limit. Take additional parameter to pass to
40406 (__pathconf): Pass file to __statfs_link_max.
40407 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40409 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40413 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40414 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40416 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40417 (__statfs_filesize_max): Likewise.
40418 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40420 2011-07-05 Andreas Jaeger <aj@suse.de>
40422 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40424 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40426 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40428 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40431 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40433 * Makefile (strop-tests): Add strncat.
40434 * string/test-strncat.c: New file.
40436 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40438 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40440 2011-06-21 Andreas Jaeger <aj@suse.de>
40442 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40443 Copy rule from iconvdata/Makefile.
40445 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40448 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40449 but no long options are defined, just return 'W'.
40451 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40454 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40456 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40458 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40460 (innetgr): Likewise.
40462 2011-07-05 Roland McGrath <roland@hack.frob.com>
40464 * config.make.in (install_root): Default to $(DESTDIR).
40466 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40468 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40470 2011-07-02 Roland McGrath <roland@hack.frob.com>
40472 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40474 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40475 containing directory rather than embedding absolute directory names.
40477 * scripts/check-local-headers.sh: Rewritten using awk.
40478 Match by word, not by line. Print error messages for matches.
40479 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40481 * Makerules [shlib-lds-flags empty]:
40482 ($(common-objpfx)libc_pic.opts): New target.
40483 ($(common-objpfx)libc_pic.os.clean): New target.
40484 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40486 * config.make.in (OBJCOPY): New variable.
40487 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40488 * configure: Regenerated.
40490 * config.make.in (use-default-link): New variable.
40491 * configure.in (use_default_link): Grok --with-default-link to set it.
40492 * configure: Regenerated.
40493 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40494 (shlib-lds, shlib-lds-flags): Define to empty.
40496 * Makerules (shlib-lds): New variable.
40497 (shlib-lds-flags): New variable.
40498 (build-shlib, build-moduile, build-module-asneeded): Use it.
40499 ($(common-objpfx)libc.so): Use $(shlib-lds).
40500 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40501 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40503 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40504 DT_FLAGS/DT_FLAGS_1 with zero flags.
40506 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40507 linker script munging.
40509 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40511 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40513 * crypt/sha512.c (sha512_process_block): Perform total addition using
40514 128-bit if possible.
40515 (__sha512_finish_ctx): Likewise.
40516 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40518 * crypt/sha256.c (SWAP64): Define.
40519 (sha256_process_block): Perform total addition using 64-bit if
40521 (__sha256_finish_ctx): Likewise.
40523 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40525 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40526 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40527 * nscd/hstcache.c (cache_addhst): Likewise.
40528 * nscd/grpcache.c (cache_addgr): Likewise.
40529 * nscd/aicache.c (addhstaiX): Likewise
40530 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40532 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40534 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40535 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40536 * nscd/hstcache.c (cache_addhst): Likewise.
40537 * nscd/grpcache.c (cache_addgr): Likewise.
40538 * nscd/aicache.c (addhstaiX): Likewise
40540 2011-07-01 Andreas Schwab <schwab@redhat.com>
40542 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40543 domain only when needed.
40545 2011-06-30 Andreas Schwab <schwab@redhat.com>
40547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40548 is always restored.
40550 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40552 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40553 are re-adding the entry.
40554 * nscd/servicescache.c (cache_addserv): Likewise.
40556 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40558 * sysdeps/generic/dl-irel.h: fix protection against multiple
40560 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40562 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40565 * malloc/memusage.sh: Fix quoting in message.
40566 * debug/xtrace.sh: Likewise.
40568 * configure.in: Remove support for --experimental-malloc option, make
40570 * config.make.in: Likewise.
40571 * malloc/Makefile: Likewise.
40573 2011-06-27 Andreas Schwab <schwab@redhat.com>
40575 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40576 two-byte characters.
40578 2011-06-27 Roland McGrath <roland@hack.frob.com>
40580 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40581 AC_CACHE_CHECK invocation.
40582 * configure: Regenerated.
40584 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40586 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40589 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40590 bit from old_res_options.
40592 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40594 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40595 value type for setfct.
40597 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40599 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40600 __gettimeofday instead of gettimeofday.
40602 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40604 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40606 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40608 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40613 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40616 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40617 strcpy-sse2-unaligned strncpy-sse2-unaligned
40618 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40619 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40620 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40621 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40622 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40624 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40625 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40626 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40627 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40628 (STRCPY): Support SSE2 and SSSE3 versions.
40630 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40633 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40634 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40635 kernels which artificially limit size of requests.
40637 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40639 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40640 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40641 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40642 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40643 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40644 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40645 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40646 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40647 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40648 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40649 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40650 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40651 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40652 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40653 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40655 Enable unaligned load optimization for Intel Core i3, i5 and i7
40657 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40659 (index_Fast_Unaligned_Load): Define.
40660 (HAS_FAST_UNALIGNED_LOAD): Define.
40662 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40664 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40666 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40669 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40670 until it is clear that the information is realy needed.
40671 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40673 2011-06-22 Andreas Schwab <schwab@redhat.com>
40675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40677 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40679 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40680 /sys/devices/system/cpu/online if it is usable.
40682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40683 reading the information from the /proc filesystem to once a second.
40685 2011-06-21 Andreas Jaeger <aj@suse.de>
40687 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40688 NULL after inclusion of kernel headers.
40690 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40692 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40693 calls to internal_setent.
40696 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40697 addresses using gethostbyname4_r ignore IPv4 addresses.
40699 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40700 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40702 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40704 2011-06-20 David S. Miller <davem@davemloft.net>
40706 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40708 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40710 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40711 (elf_irel): Use it.
40712 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40713 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40714 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40715 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40716 * sysdeps/x86_64/dl-irel.h: Likewise.
40718 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40719 * elf/dl-sym.c: Likewise.
40721 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40723 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40724 need to dereference resplen2.
40726 2011-06-14 Andreas Schwab <schwab@redhat.com>
40728 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40730 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40732 * Makeconfig: Define vardbdir and inst_vardbdir.
40733 * nss/Makefile: Add rules to install db-Makefile.
40735 * nss/nss_db/db-XXX.c: Cleanup.
40737 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40738 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40740 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40741 * nss/makedb.c: Implement -g option to specify that value strings
40742 are generated and should not be added to table iterated over for
40744 * nss/nss_db/db-initgroups.c: New file.
40746 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40749 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40750 (internal_getgrouplist): Adjust to name change.
40751 Update use_initgroups_entry if this is not the first call.
40752 * nss/databases.def: Add initgroups entry.
40754 * nss/makedb.c (compute_tables): Check result of multiple hash table
40755 sizes to minimize maximum chain length.
40757 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40759 * Versions.def: Add entry for libnss_db.
40760 * shlib-versions: Likewise.
40761 * nss/Makefile: Add rules to build libnss_db.
40762 * nss/Versions: Add libnss_db information. Organize libnss_files
40764 * nss/db-Makefile: Add gshadow support. Change rules for the new
40765 makedb progra. Some minor improvements to generate smaller files.
40766 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40768 * nss/makedb.c: ...here.
40769 Improve database format to be smaller and require less memory at
40771 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40773 * nss/nss_db/db-netgrp.c: Likewise.
40774 * nss/nss_db/db-open.c: Likewise.
40775 * nss/nss_files/flies-XXX.x: Adjust comments.
40776 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40777 * nss/nss_files/files-grp.c: Likewise.
40778 * nss/nss_files/files-hosts.c: Likewise.
40779 * nss/nss_files/files-network.c: Likewise.
40780 * nss/nss_files/files-proto.c: Likewise.
40781 * nss/nss_files/files-pwd.c: Likewise.
40782 * nss/nss_files/files-rpc.c: Likewise.
40783 * nss/nss_files/files-service.c: Likewise.
40784 * nss/nss_files/files-sgrp.c: Likewise.
40785 * nss/nss_files/files-spwd.c: Likewise.
40786 * nss/nss_db/db-alias.c: Removed.
40787 * nss/nss_db/dummy-db.h: Removed.
40789 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40791 * nss/makedb.c: Rewritten to not use database library.
40792 * nss/Makefile: Update to build new makedb program.
40794 2011-06-14 Andreas Jaeger <aj@suse.de>
40796 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40797 memset declaration.
40799 2011-06-10 Andreas Schwab <schwab@redhat.com>
40801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40804 2011-06-10 Roland McGrath <roland@hack.frob.com>
40806 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40807 * elf/Makefile ($(objpfx)ld.so): Likewise.
40809 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40810 Don't list ld.so twice in dependencies.
40812 * posix/bug-regex31.c: Include <stdlib.h>.
40814 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40816 * nis/nss_compat/compat-spwd.c
40817 (getspent_next_nss_netgr): Remove unused variable.
40818 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40820 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40821 nonmembers" output to use the right array.
40823 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40825 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40827 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40828 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40829 * catgets/gencat.c (read_input_file): Likewise.
40830 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40832 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40833 variable definition inside #if's controlling its use.
40835 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40837 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40839 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40841 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40844 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40846 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40847 * configure: Regenerated.
40849 * Makerules: Revert last change.
40850 * elf/Makefile: Likewise.
40852 2011-06-09 Roland McGrath <roland@hack.frob.com>
40854 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40855 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40856 (reloc-link): Likewise.
40858 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40860 * elf/Makefile: Add rules to build pldd.
40861 * elf/pldd.c: New file.
40862 * elf/pldd-xx.c: New file.
40864 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40866 * version.h: Update for 2.15 development version.
40868 2011-06-07 David S. Miller <davem@davemloft.net>
40870 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40872 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40873 elf_machine_lazy_rel): Likewise.
40874 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40875 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40876 elf_machine_lazy_rel): Likewise.
40877 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40878 dl_hwcap via passed in argument.
40879 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40882 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40884 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40886 2011-06-06 Roland McGrath <roland@hack.frob.com>
40889 * manual/fdl-1.1.texi: New file, verbatim from:
40890 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40891 * manual/lgpl-2.1.texi: New file, verbatim from:
40892 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40893 * manual/Makefile (licenses): New variable, list those new file names.
40895 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40897 * manual/fdl.texi: File removed.
40898 * manual/lesser.texi: File removed.
40899 * manual/libc.texinfo (Copying, Documentation License):
40900 Use new @include file names, put @appendix directive before @include.
40902 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40905 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40906 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40907 (mq_open): Add __NTH.
40909 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40912 Assume Intel Core i3/i5/i7 processor if AVX is available.
40914 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40916 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40919 2011-05-31 Andreas Schwab <schwab@redhat.com>
40921 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40922 memory. Use alloca_account. Fix memory leak when retrying.
40924 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40926 * version.h (RELEASE): Bump for 2.14 release.
40927 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40929 * config.make.in (RANLIB): Remove entry.
40931 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40933 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40934 (libc.pot): Work around missing support for .ksh extension in xgettext.
40937 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40938 if both request failed.
40939 (send_dg): In case of server errors clear resplen or *resplen2.
40942 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40943 when there are multiple maps.
40944 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40945 (_dl_fini): Remove test here.
40947 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40949 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40952 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40953 bit from old_res_options.
40954 (gaih_inet): Likewise.
40957 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40960 * resolv/res_init.c (res_setoptions): Make the code more compact.
40963 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40967 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40969 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40972 * malloc/malloc.h: Declare malloc hook variables as volatile.
40974 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40978 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40979 raise in the comment.
40980 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40981 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40982 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40984 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40987 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40988 grow the buffers more if it already has to be sufficient.
40989 (build_wcs_upper_buffer): Likewise.
40990 * posix/regexec.c (check_matching): Likewise.
40991 (clean_state_log_if_needed): Likewise.
40992 (extend_buffers): Don't enlarge buffers beyond size of the input
40994 Patches mostly by Emil Wojak <emil@wojak.eu>.
40995 * posix/bug-regex32.c: New file.
40996 * posix/Makefile (tests): Add bug-regex32.
40998 * locale/findlocale.c (_nl_find_locale): Return right away if
40999 _nl_explode_name failed.
41000 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41002 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41004 * debug/xtrace.sh: Unify messages.
41005 * malloc/memusage.sh: Likewise.
41008 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41009 time symbol from vDSO. Substitute with vsyscall if not available.
41010 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41013 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41014 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41015 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41016 Add sendmmsg and internal_sendmmsg.
41017 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41018 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41019 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41021 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41022 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41023 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41025 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41028 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41029 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41031 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41035 * iconvdata/Makefile (tests): Add bug-iconv9.
41036 * iconvdata/bug-iconv9.c: New file.
41038 2011-05-27 Andreas Schwab <schwab@redhat.com>
41041 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41043 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41045 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41046 (struct user_regs_struct): Change intcs field back to cs.
41048 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41050 * po/ja.po: Update from translation team.
41052 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41055 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41056 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41058 2011-05-20 Andreas Schwab <schwab@redhat.com>
41060 * stdlib/longlong.h: Update from GCC.
41062 2011-05-23 Andreas Schwab <schwab@redhat.com>
41064 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41066 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41067 Add parameter name.
41068 (__sysconf): Pass it down.
41070 2011-05-22 Ulrich Drepper <drepper@gmail.com>
41073 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41075 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41076 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41077 add in in __libc_use_alloca calls. Adjust callers.
41078 (glob): Use malloc in some situations.
41080 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41081 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41084 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41086 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41087 and CLOCK_BOOTTIME_ALARM.
41090 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41093 * string/_strerror.c (__strerror_r): Print negative errors as signed
41097 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41098 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41099 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41101 * configure.in: Fix typo in redirection and correct removal of test
41102 files in two cases.
41105 * locale/setlocale.c (new_composite_name): Fix test to check for
41106 identical name of all categories.
41109 * libio/filedoalloc.c (local_isatty): New function.
41110 (_IO_file_doallocate): Use local_isatty.
41111 * stdio-common/perror.c (perror): In case a new stream is used
41112 forward the stream error.
41113 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41116 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41121 * include/alloca.h (extend_alloca_account): Define.
41124 * posix/regex.h: Fix comments with documentation of user-accessible
41125 fields after compilation and describe correct free'ing of pattern
41126 after re_compile_pattern.
41127 Patch by Reuben Thomas <rrt@sc3d.org>.
41129 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41131 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41132 and -mno-altivec to prevent the compiler from using Altivec and/or
41133 VSX instructions when the corresponding registers are not available.
41135 2011-05-19 Andreas Schwab <schwab@redhat.com>
41137 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41139 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41141 * libio/freopen.c (freopen): Use __dup2, not dup2.
41142 * libio/freopen64.c (freopen64): Likewise.
41144 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41147 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41148 * math/Makefile (tests): Add test-powl.
41149 (CFLAGS-test-powl.c): Define.
41150 * math/test-powl.c: New file.
41152 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41154 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41156 2011-05-17 Ulrich Drepper <drepper@gmail.com>
41159 * iconvdata/gb18030.c: Update to GB18020-2005.
41161 2011-05-16 Ulrich Drepper <drepper@gmail.com>
41163 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41164 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41165 Patch by Aharon Robbins <arnold@skeeve.com>.
41168 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41172 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41173 through underflows.
41176 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41177 point to strings before performing equality test for error_one_per_line
41181 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41184 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41185 (struct user_fpregs_struct): Avoid __uint*_t types.
41188 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41189 symbol info. Use it instead of calling _dl_addr locally.
41190 (lock_and_info): New function.
41191 (tr_freehook): Call lock_and_info and pass symbol info as additional
41192 parameter to tr_where.
41193 (tr_mallochook): Likewise.
41194 (tr_reallochook): Likewise.
41195 (tr_memalignhook): Likewise.
41197 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41198 used and couldn't be at all thread-safe.
41200 2011-05-15 Ulrich Drepper <drepper@gmail.com>
41202 * libio/freopen.c (freopen): Don't close old file descriptor
41203 before the new one is opened. Instead dup the new file descriptor
41204 to the old one after the new stream is created.
41205 * libio/freopen64.c (freopen64): Likewise.
41206 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41207 * libio/fileops.c (_IO_new_file_close_it): Handle new
41208 _IO_FLAGS2_NOCLOSE flag.
41209 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41210 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41211 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41212 _IO_FLAGS2_NOCLOSE flag.
41213 * include/unistd.h: Add hidden_proto for dup3.
41214 Define __have_dup3.
41215 * io/dup3.c: Define hidden symbol.
41216 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41219 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41220 when an incomplete long option is used.
41221 * posix/tst-getopt_long1.c: New file.
41222 * posix/Makefile (tests): Add tst-getopt_long1.
41225 * scripts/config.guess: Update from autoconf-2.68.
41226 * scripts/config.sub: Likewise.
41229 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41231 (has_cpuclock): ...this. New function.
41232 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41233 macro here based on has_cpuclock code.
41236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41237 First byte (not low byte) is now always NUL.
41238 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41240 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41241 Use non-cancelable interfaces.
41244 * locale/iso-639.def: Add entry for Sorani.
41247 * include/stdlib.h: Move include protection to the right place.
41248 Define abort_msg_s. Declare __abort_msg with it.
41249 * stdlib/abort.c (__abort_msg): Adjust type.
41250 * assert/assert.c (__assert_fail_base): New function. Majority
41251 of code from __assert_fail. Allocate memory for __abort_msg with
41253 (__assert_fail): Now call __assert_fail_base.
41254 * assert/assert-perr.c: Remove bulk of implementation. Use
41255 __assert_fail_base.
41256 * include/assert.hL Declare __assert_fail_base.
41257 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41259 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41261 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41265 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41266 until all modules are registered in the DTV.
41267 * elf/Makefile: Add rules to build and run tst-tls19.
41268 * elf/tst-tls19.c: New file.
41269 * elf/tst-tls19mod1.c: New file.
41270 * elf/tst-tls19mod2.c: New file.
41271 * elf/tst-tls19mod3.c: New file.
41272 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41275 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41279 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41280 two-byte sequence errors.
41281 * iconvdata/Makefile (tests): Add bug-iconv8.
41282 * iconvdata/bug-iconv8.c: New file.
41285 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41288 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41291 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41292 (dummy_getcfa): New function.
41293 (init): Get _Unwind_GetCFA address, use dummy if not found.
41294 (backtrace_helper): In recursion check, also check whether CFA changes.
41295 (__backtrace): Completely initialize arg.
41297 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41298 storing incomplete byte sequence in state object. Avoid testing for
41299 guaranteed too small input if we know there is enough data available.
41301 2011-05-11 Andreas Schwab <schwab@redhat.com>
41303 * Makeconfig (+link-pie): Indent.
41304 * Rules (binaries-pie): Define if $(have-fpie) and
41306 (binaries-shared): Also filter out $(binaries-pie).
41307 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41308 * nscd/Makefile (others-pie): Add nscd.
41309 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41310 ($(objpfx)nscd): Remove command override.
41311 * login/Makefile (others-pie): Add pt_chown.
41312 ($(objpfx)pt_chown): Remove command override.
41313 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41314 remove command overrides.
41316 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41318 * libio/tst_putwc.c: Fix error messages.
41321 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41322 currently writing and seek to current position when not.
41323 * libio/Makefile (tests): Add bug-fclose1.
41324 * libio/bug-fclose1.c: New file.
41326 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41329 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41330 don't set DF_1_NODELETE here.
41331 (do_lookup_x): When entering new entry test for copy relocation
41332 and if necessary set DF_1_NODELETE flag.
41333 * elf/tst-unique4.cc: New file.
41334 * elf/tst-unique4.h: New file.
41335 * elf/tst-unique4lib.cc: New file.
41336 * elf/Makefile: Add rules to build and run tst-unique4.
41337 Patch by Piotr Bury <pbury@goahead.com>.
41339 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41342 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41345 * misc/mntent_r.c (addmntent): Flush the stream after the output
41348 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41349 (is_trusted_path_normalize): Skip initial colon. Append slash
41350 to empty buffer. Duplicate is_trusted_path code but allow
41351 constructed patch to be prefix.
41352 (is_dst): Allow $ORIGIN followed by /.
41353 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41354 Correct testing of result of is_trusted_path_normalize
41355 (decompose_rpath): Fix warning.
41357 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41360 * grp/initgroups.c (internal_getgrouplist): When we found the service
41361 list through the initgroups entry in nsswitch.conf do not always
41362 continue on a successful lookup. Don't always use the
41363 __nss_group_database value if it is set.
41364 * nss/nsswitch.conf (initgroups): Change action for successful db
41365 lookup to continue for compatibility.
41367 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41370 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41372 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41374 * iconvdata/tst-tables.sh: Likewise.
41375 * iconvdata/cp770.c: New file.
41376 * iconvdata/cp771.c: New file.
41377 * iconvdata/cp772.c: New file.
41378 * iconvdata/cp773.c: New file.
41379 * iconvdata/cp774.c: New file.
41380 * iconvdata/testdata/CP770: New file.
41381 * iconvdata/testdata/CP770..UTF8: New file.
41382 * iconvdata/testdata/CP771: New file.
41383 * iconvdata/testdata/CP771..UTF8: New file.
41384 * iconvdata/testdata/CP772: New file.
41385 * iconvdata/testdata/CP772..UTF8: New file.
41386 * iconvdata/testdata/CP773: New file.
41387 * iconvdata/testdata/CP773..UTF8: New file.
41388 * iconvdata/testdata/CP774: New file.
41389 * iconvdata/testdata/CP774..UTF8: New file.
41391 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41393 * iconvdata/gen-8bit-gap.sh: Likewise.
41394 * iconvdata/gen-8bit.sh: Likewise.
41396 * locale/iso-639.def: Add ary entry.
41399 * locale/C-translit.h.in: Add U20A1 transliteration.
41402 * locale/iso-639.def: Add wae entry.
41403 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41406 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41410 * locale/C-translit.h.in: Add entry for U20B9.
41411 Patch by pravin.d.s@gmail.com.
41413 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41416 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41417 ENAMETOOLONG use generic getcwd.
41418 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41419 in rtld. Use *stat64.
41420 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41421 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41422 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41423 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41424 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41425 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41426 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41427 __fstatat64 macros.
41428 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41429 * dirent/rewinddir.c: Add libc_hidden_def.
41430 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41431 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41433 * include/dirent.h (__alloc_dir): Add flags parameter.
41434 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41435 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41437 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41438 from fdopendir if O_CLOEXEC is already set.
41440 2011-03-15 Alan Modra <amodra@gmail.com>
41442 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41443 l_tls_firstbyte_offset non-zero. Save padding offset in
41444 l_tls_firstbyte_offset for later use.
41445 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41446 freeing static tls block.
41448 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41450 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41451 where #ifdef was intended. The intent is to prevent ARG_MAX from
41452 being defined by the kernel headers.
41454 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41457 * resolv/resolv.h: Define RES_NOTLDQUERY.
41458 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41459 no-tld-query and set RES_NOTLDQUERY.
41460 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41461 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41462 modern BIND to search name as TLD unless forbidden.
41464 2011-05-07 Petr Baudis <pasky@suse.cz>
41465 Ulrich Drepper <drepper@gmail.com>
41468 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41469 (is_trusted_path): ...to here.
41470 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41471 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41472 using is_trusted_path_normalize() in setuid scripts.
41474 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41476 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41477 __BEGIN/__END_DECLS.
41479 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41481 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41482 NSS_STATUS_NOTFOUND if no record was found.
41484 2011-05-05 Andreas Schwab <schwab@redhat.com>
41486 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41487 (headers-not-in-tirpc): Remove rpc/netdb.h
41488 * resolv/netdb.h: Revert last change.
41490 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41492 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41493 circular dependency between libgcc.a and libc.a.
41495 2011-05-05 Andreas Schwab <schwab@redhat.com>
41497 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41498 * nis/Makefile: Don't install rpcsvc/*.
41499 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41500 instead of <rpc/types.h>.
41501 (MAXHOSTNAMELEN): Define.
41503 2011-05-03 Andreas Schwab <schwab@redhat.com>
41505 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41507 2011-04-28 Maciej Babinski <mbabinski@google.com>
41510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41511 gethostbyname4_r when IPv6 results are possible.
41513 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41516 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41517 _PC_PIPE_BUF handling.
41519 2011-04-30 Bruno Haible <bruno@clisp.org>
41522 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41523 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41525 * inet/getnameinfo.c (getnameinfo): Likewise.
41527 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41529 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41530 to groups setting in database lookup.
41531 * nss/nsswitch.conf: Add initgroups entry.
41533 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41536 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41538 Patch by Eric Blake <eblake@redhat.com>.
41540 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41542 * sunrpc/Makefile (need-export-routines): Add svc_run.
41543 (routines): Remove svc_run.
41544 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41545 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41546 * sunrpc/svc_run.c (svc_run): Likewise.
41547 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41549 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41551 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41552 problem in reallocation in last patch.
41554 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41556 * sunrpc/Makefile: Move inclusion of Rules.
41558 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41560 * nss/nss_files/files-initgroups.c: New file.
41561 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41562 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41563 _nss_files_initgroups_dyn.
41565 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41567 * elf/elf.h (R_ARM_IRELATIVE): Define.
41569 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41571 * po/ru.po: Update from translation team.
41573 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41575 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41578 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41581 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41582 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41583 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41584 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41585 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41587 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41589 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41591 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41592 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41593 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41595 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41598 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41600 * stdlib/bug-getcontext.c: New file.
41601 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41603 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41605 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41606 instructions into .machine "z9-109".
41607 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41608 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41610 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41612 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41613 between environment variables and auxiliary vector.
41615 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41617 * Makefile: Add rules to build linkobj/libc.so.
41618 * include/libc-symbols.h: Define libc_hidden_nolink.
41619 * include/rpc/auth.h: Mark functions which are to be hidden.
41620 * include/rpc/auth_des.h: Likewise.
41621 * include/rpc/auth_unix.h: Likewise.
41622 * include/rpc/clnt.h: Likewise.
41623 * include/rpc/des_crypt.h: Likewise.
41624 * include/rpc/key_prot.h: Likewise.
41625 * include/rpc/pmap_clnt.h: Likewise.
41626 * include/rpc/pmap_prot.h: Likewise.
41627 * include/rpc/pmap_rmt.h: Likewise.
41628 * include/rpc/rpc_msg.h: Likewise.
41629 * include/rpc/svc.h: Likewise.
41630 * include/rpc/svc_auth.h: Likewise.
41631 * include/rpc/xdr.h: Likewise.
41632 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41633 * nss/Makefile: Likewise.
41634 * sunrpc/Makefile: Don't install headers. Build library with normal
41635 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41636 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41637 for the compat linking library. Remove use of INTDEF/INTUSE.
41638 * sunrpc/auth_none.c: Likewise.
41639 * sunrpc/auth_unix.c: Likewise.
41640 * sunrpc/authdes_prot.c: Likewise.
41641 * sunrpc/authuxprot.c: Likewise.
41642 * sunrpc/clnt_gen.c: Likewise.
41643 * sunrpc/clnt_perr.c: Likewise.
41644 * sunrpc/clnt_raw.c: Likewise.
41645 * sunrpc/clnt_simp.c: Likewise.
41646 * sunrpc/clnt_tcp.c: Likewise.
41647 * sunrpc/clnt_udp.c: Likewise.
41648 * sunrpc/clnt_unix.c: Likewise.
41649 * sunrpc/des_crypt.c: Likewise.
41650 * sunrpc/des_soft.c: Likewise.
41651 * sunrpc/get_myaddr.c: Likewise.
41652 * sunrpc/key_call.c: Likewise.
41653 * sunrpc/key_prot.c: Likewise.
41654 * sunrpc/netname.c: Likewise.
41655 * sunrpc/pm_getmaps.c: Likewise.
41656 * sunrpc/pm_getport.c: Likewise.
41657 * sunrpc/pmap_clnt.c: Likewise.
41658 * sunrpc/pmap_prot.c: Likewise.
41659 * sunrpc/pmap_prot2.c: Likewise.
41660 * sunrpc/pmap_rmt.c: Likewise.
41661 * sunrpc/publickey.c: Likewise.
41662 * sunrpc/rpc_cmsg.c: Likewise.
41663 * sunrpc/rpc_common.c: Likewise.
41664 * sunrpc/rpc_dtable.c: Likewise.
41665 * sunrpc/rpc_prot.c: Likewise.
41666 * sunrpc/rpc_thread.c: Likewise.
41667 * sunrpc/rtime.c: Likewise.
41668 * sunrpc/svc.c: Likewise.
41669 * sunrpc/svc_auth.c: Likewise.
41670 * sunrpc/svc_authux.c: Likewise.
41671 * sunrpc/svc_raw.c: Likewise.
41672 * sunrpc/svc_run.c: Likewise.
41673 * sunrpc/svc_simple.c: Likewise.
41674 * sunrpc/svc_tcp.c: Likewise.
41675 * sunrpc/svc_udp.c: Likewise.
41676 * sunrpc/svc_unix.c: Likewise.
41677 * sunrpc/svcauth_des.c: Likewise.
41678 * sunrpc/xcrypt.c: Likewise.
41679 * sunrpc/xdr.c: Likewise.
41680 * sunrpc/xdr_array.c: Likewise.
41681 * sunrpc/xdr_float.c: Likewise.
41682 * sunrpc/xdr_intXX_t.c: Likewise.
41683 * sunrpc/xdr_mem.c: Likewise.
41684 * sunrpc/xdr_rec.c: Likewise.
41685 * sunrpc/xdr_ref.c: Likewise.
41686 * sunrpc/xdr_sizeof.c: Likewise.
41687 * sunrpc/xdr_stdio.c: Likewise.
41689 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41692 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41693 * sysdeps/ia64/dl-tls.h: Likewise.
41694 * sysdeps/powerpc/dl-tls.h: Likewise.
41695 * sysdeps/s390/dl-tls.h: Likewise.
41696 * sysdeps/sh/dl-tls.h: Likewise.
41697 * sysdeps/sparc/dl-tls.h: Likewise.
41698 * sysdeps/x86_64/dl-tls.h: Likewise.
41699 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41701 2011-03-14 Andreas Schwab <schwab@redhat.com>
41703 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41704 rpath element also skip the following colon.
41705 (expand_dynamic_string_token): Add is_path parameter and pass
41706 down to DL_DST_REQUIRED and _dl_dst_substitute.
41707 (decompose_rpath): Call expand_dynamic_string_token with
41708 non-zero is_path. Ignore empty rpaths.
41709 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41712 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41717 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41720 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41721 Patch by Filipe David Manana <fdmanana@apache.org>.
41723 2011-04-07 Andreas Schwab <schwab@redhat.com>
41725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41726 Maintain aligned stack.
41727 (CHECK_RSP): Remove unused macro.
41729 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41731 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41732 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41734 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41736 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41738 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41740 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41743 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41744 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41745 * sysdeps/x86_64/memmove.c: New file.
41746 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41747 (memcpy): Renamed to ...
41748 (__new_memcpy): This.
41749 (memcpy): Provide GLIBC_2_14 memcpy.
41750 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41751 (memcpy): Provide GLIBC_2_2_5 memcpy.
41753 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41756 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41758 2011-03-30 Andreas Schwab <schwab@redhat.com>
41760 * misc/syncfs.c: New file.
41761 * misc/Makefile (routines): Add syncfs.
41762 * posix/unistd.h: Declare syncfs.
41763 * sysdeps/unix/syscalls.list: Add syncfs.
41765 2011-04-01 Andreas Schwab <schwab@redhat.com>
41767 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41769 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41770 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41772 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41774 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41777 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41779 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41781 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41783 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41785 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41787 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41788 sync_file_range.c with -fexceptions.
41789 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41790 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41791 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41792 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41793 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41794 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41795 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41796 sync_file_range as cancellation point
41797 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41798 now a wrapper around __call_sync_file_range with cancellation handling.
41799 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41800 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41801 function name to __call_sync_file_range.
41802 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41803 Add call_sync_file_range.
41805 2011-04-01 Andreas Schwab <schwab@redhat.com>
41807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41810 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41812 * iconv/iconv.h: Fix typo in comment.
41813 * io/fcntl.h: Likewise.
41814 * libio/stdio.h: Likewise.
41815 * posix/spawn.h: Likewise.
41816 * posix/unistd.h: Likewise.
41817 * stdlib/stdlib.h: Likewise.
41818 * time/time.h: Likewise.
41819 * wcsmbs/wchar.h: Likewise.
41821 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41822 open_by_handle): Add.
41823 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41824 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41825 Augment a few comments.
41826 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41828 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41830 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41831 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41834 * io/fcntl.h (AT_EMPTY_PATH): Define.
41836 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41838 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41839 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41840 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41842 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41843 * Versions.def: Add GLIBC_2.14.
41844 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41847 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41849 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41851 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41853 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41856 * string/test-strncmp.c (do_page_test): New function.
41857 (check2): Likewise.
41858 (test_main): Call check2.
41859 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41861 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41864 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41865 Handle cache information in CPU leaf 4.
41866 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41868 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41871 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41872 character representation.
41873 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41875 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41877 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41878 END(__isnan) to END(__isnanf) to match function entry point/label
41879 EALIGN(__isnanf,...).
41881 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41883 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41885 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41888 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41889 copy from the symbol referenced in the relocation to initialize the
41891 Patch by Piotr Bury <pbury@goahead.com>.
41892 * elf/Makefile: Add rules to build and tst-unique3.
41893 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41894 * elf/tst-unique3.cc: New file.
41895 * elf/tst-unique3.h: New file.
41896 * elf/tst-unique3lib.cc: New file.
41897 * elf/tst-unique3lib2.cc: New file.
41899 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41901 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41903 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41904 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41907 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41909 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41910 to-be-loaded object along a path to loader is ld.so.
41912 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41913 Ulrich Drepper <drepper@gmail.com>
41915 * sysdeps/x86_64/memset.S: After aligning destination, code
41916 branches to different locations depending on the value of
41917 misalignment, when multiarch is enabled. Fix this.
41919 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41921 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41922 Set _x86_64_preferred_memory_instruction for AMD processsors.
41923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41924 Set bit_Prefer_SSE_for_memop for AMD processors.
41926 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41928 * libio/fmemopen.c (fmemopen): Optimize a bit.
41930 2011-03-03 Andreas Schwab <schwab@redhat.com>
41932 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41934 2011-03-03 Roland McGrath <roland@redhat.com>
41936 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41938 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41940 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41941 __bzero_ultra1 instead of __memset_ultra1.
41943 2011-02-23 Andreas Schwab <schwab@redhat.com>
41944 Ulrich Drepper <drepper@gmail.com>
41947 * include/link.h (struct link_map): Add l_orig_initfini.
41948 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41949 returning unsuccessfully.
41950 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41951 close of a file loaded at startup, restore the original l_initfini
41953 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41954 list, store the pointer.
41955 * elf/Makefile ($(objpfx)noload-mem): New rule.
41956 (noload-ENV): Define.
41957 (tests): Add $(objpfx)noload-mem.
41958 * elf/noload.c: Include <memcheck.h>.
41959 (main): Call mtrace. Close all opened handles.
41961 2011-02-17 Andreas Schwab <schwab@redhat.com>
41964 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41965 dependencies are missing.
41967 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41969 Fix __if_freereq crash: Unlike the generic version which uses free,
41971 * sysdeps/mach/hurd/ifreq.h: New file.
41973 2011-01-27 Petr Baudis <pasky@suse.cz>
41974 Ulrich Drepper <drepper@gmail.com>
41977 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41978 to extend_alloca().
41979 * stdio-common/bug23.c: New file.
41980 * stdio-common/Makefile (tests): Add bug23.
41982 2010-09-28 Andreas Schwab <schwab@redhat.com>
41983 Ulrich Drepper <drepper@gmail.com>
41986 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41987 before performing relro protection. At old place add assertion
41988 to make sure nothing changed.
41990 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41991 Glauber de Oliveira Costa <glommer@gmail.com>
41993 * elf/elf.h: Add new ARM TLS relocs.
41995 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41998 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42000 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42002 * sysdeps/wordsize-64/tst-writev.c: New file.
42004 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42006 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42007 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42008 insns in _dl_start to prevent a TOC reference before relocs are
42011 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42014 * Makeconfig: Remove RANLIB definition.
42015 * Makerules: Don't use RANLIB.
42016 * aclocal.m4: Remove ranlib test.
42017 * configure.in: No need to check for ranlib.
42018 * elf/rtld-Rules: Don't use RANLIB.
42020 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42022 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42024 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42025 inclusion protection macro.
42027 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42028 SIGRTMIN and SIGRTMAX and print information in that case only when
42029 SIGRTMIN is defined.
42031 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42033 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42034 arginfo fn returning -1.
42036 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42037 and thousands string is zero terminated.
42039 2011-02-03 Andreas Schwab <schwab@redhat.com>
42041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42042 sysdeps/unix/sysv/linux/bits/socket.h.
42044 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42046 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42047 (__CPU_COUNT): Remove old macros.
42048 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42049 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42050 (__CPU_ALLOC, __CPU_FREE): Add macros.
42051 (__sched_cpualloc, __sched_cpufree): Add declarations.
42053 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42055 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42056 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42057 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42058 (readdhstai): Return value of addhstaiX call.
42059 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42060 (addgrbyX): Return value returned by cache_addgr.
42061 (readdgrbyname): Return value returned by addgrbyX.
42062 (readdgrbygid): Likewise.
42063 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42064 (addpwbyX): Return value returned by cache_addpw.
42065 (readdpwbyname): Return value returned by addhstbyX.
42066 (readdpwbyuid): Likewise.
42067 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42068 (addservbyX): Return value returned by cache_addserv.
42069 (readdservbyname): Return value returned by addservbyX:
42070 (readdservbyport): Likewise.
42071 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42072 (addhstbyX): Return value returned by cache_addhst.
42073 (readdhstbyname): Return value returned by addhstbyX.
42074 (readdhstbyaddr): Likewise.
42075 (readdhstbynamev6): Likewise.
42076 (readdhstbyaddrv6): Likewise.
42077 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42078 (readdinitgroups): Return value returned by addinitgroupsX.
42079 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42080 (prune_cache): Keep track of timeout value of re-added entries.
42081 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42082 * nscd/nscd.h: Adjust prototypes of readd* functions.
42084 2011-02-04 Roland McGrath <roland@redhat.com>
42086 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42087 (nis_stats): Likewise.
42088 * nis/nis_modify.c (nis_modify): Likewise.
42089 * nis/nis_remove.c (nis_remove): Likewise.
42090 * nis/nis_add.c (nis_add): Likewise.
42092 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42094 * posix/fnmatch_loop.c: Add some consts.
42096 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42098 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42101 * config.make.in (config-cflags-novzeroupper): Define.
42102 * configure.in: Substitute libc_cv_cc_novzeroupper.
42103 * elf/Makefile (AVX-CFLAGS): Define.
42104 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42105 (CFLAGS-tst-auditmod4a.c): Likewise.
42106 (CFLAGS-tst-auditmod4b.c): Likewise.
42107 (CFLAGS-tst-auditmod6b.c): Likewise.
42108 (CFLAGS-tst-auditmod6c.c): Likewise.
42109 (CFLAGS-tst-auditmod7b.c): Likewise.
42110 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42112 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42114 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42115 function to the callback.
42116 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42118 2011-02-02 Andreas Schwab <schwab@redhat.com>
42120 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42123 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42126 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42128 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42130 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42133 * elf/Makefile: Add rules to build and run new test.
42134 * elf/tst-initorder.c: New file.
42135 * elf/tst-initorder.exp: New file.
42136 * elf/tst-initordera1.c: New file.
42137 * elf/tst-initordera2.c: New file.
42138 * elf/tst-initordera3.c: New file.
42139 * elf/tst-initordera4.c: New file.
42140 * elf/tst-initorderb1.c: New file.
42141 * elf/tst-initorderb2.c: New file.
42142 * elf/tst-order-a1.c: New file.
42143 * elf/tst-order-a2.c: New file.
42144 * elf/tst-order-a3.c: New file.
42145 * elf/tst-order-a4.c: New file.
42146 * elf/tst-order-b1.c: New file.
42147 * elf/tst-order-b2.c: New file.
42148 * elf/tst-order-main.c: New file.
42149 New test case by George Gensure <werkt0@gmail.com>.
42151 2010-10-01 Andreas Schwab <schwab@redhat.com>
42153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42154 decoding ACE if AI_CANONIDN.
42156 2011-01-18 Ulrich Drepper <drepper@gmail.com>
42158 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42160 2011-01-17 Ulrich Drepper <drepper@gmail.com>
42162 * version.h (RELEASE): Bump for 2.13 release.
42163 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42165 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42167 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42169 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42170 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42171 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42172 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42173 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42174 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42176 * posix/getconf.c: Update copyright year.
42177 * catgets/gencat.c: Likewise.
42178 * csu/version.c: Likewise.
42179 * debug/catchsegv.sh: Likewise.
42180 * debug/xtrace.sh: Likewise.
42181 * elf/ldconfig.c: Likewise.
42182 * elf/ldd.bash.in: Likewise.
42183 * elf/sprof.c (print_version): Likewise.
42184 * iconv/iconv_prog.c: Likewise.
42185 * iconv/iconvconfig.c: Likewise.
42186 * locale/programs/locale.c: Likewise.
42187 * locale/programs/localedef.c: Likewise.
42188 * malloc/memusage.sh: Likewise.
42189 * malloc/mtrace.pl: Likewise.
42190 * nscd/nscd.c (print_version): Likewise.
42191 * nss/getent.c: Likewise.
42193 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42194 PF_CAIF, and PF_ALG.
42195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42197 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42199 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42200 (modules-names): Use them.
42201 (ifunc-test-modules, ifunc-pie-tests): Define.
42202 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42203 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42204 (test-extras): Likewise.
42205 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42206 $(compile-command.c).
42207 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42208 (all-built-dso): Define.
42209 (check-textrel.out, check-execstack.out): Depend on it.
42211 * configure.in: Don't override --enable-multi-arch.
42213 2011-01-15 Ulrich Drepper <drepper@gmail.com>
42216 * nscd/hstcache.c (tryagain): Define.
42217 (cache_addhst): Return tryagain not notfound for temporary errors.
42218 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42221 2011-01-14 Ulrich Drepper <drepper@gmail.com>
42224 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42225 to make the syscall.
42226 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42229 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42230 and fall back to matching as normal character if the string ends before
42231 the matching ']' is found. This is what POSIX requires.
42232 * posix/testfnm.c: Adjust test result.
42233 * posix/globtest.sh: Adjust test result. Add new test.
42234 * posix/tst-fnmatch.input: Likewise.
42235 * posix/tst-fnmatch2.c: Add new test.
42237 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42239 * elf/Makefile (check-execstack): Revert last change. Depend on
42241 (check-execstack.h): New target.
42242 (generated): Add check-execstack.h.
42243 * elf/check-execstack.c: Include "check-execstack.h".
42244 (main): Revert last change.
42245 (handle_file): Return zero if GNU_STACK is absent and
42246 DEFAULT_STACK_PERMS doesn't include PF_X.
42248 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42250 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42251 in child fails because the descriptor is already closed.
42252 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42253 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42254 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42257 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42261 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42262 temporary buffer used to handle multi lookups locally.
42263 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42265 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42267 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42270 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42272 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42273 alignment for SSE2.
42275 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42278 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42279 characters. When rounding increased number of integer digits recompute
42281 * stdio-common/tst-grouping.c: New file.
42282 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42284 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42286 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42287 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42289 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42291 * bits/select.h: Likewise.
42293 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42295 * po/ja.po: Update from translation team.
42297 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42300 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42301 implementation just like for lxstat, fxstatat, et al.
42303 2010-12-27 Jim Meyering <meyering@redhat.com>
42306 * posix/regexec.c (build_trtable): Return failure indication upon
42307 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42309 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42312 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42313 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42314 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42315 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42318 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42321 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42322 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42324 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42326 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42327 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42328 script has SORT_BY_INIT_PRIORITY.
42329 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42330 NO_CTORS_DTORS_SECTIONS is defined.
42331 * elf/soinit.c: Likewise.
42332 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42333 NO_CTORS_DTORS_SECTIONS is defined.
42334 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42335 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42336 * sysdeps/sh/init-first.c: Likewise.
42337 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42339 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42341 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42342 always use the slow path.
42344 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42346 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42347 similar rule which adds the sysdep directories to the header search in
42348 order to pick up the correct platform stackinfo.h.
42349 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42350 perform test if it is, otherwise return successfully without testing.
42351 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42352 DEFAULT_STACK_PERMS define in stackinfo.h.
42353 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42354 defined in stackinfo.h.
42355 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42356 DEFAULT_STACK_PERMS defined in stackinfo.h.
42357 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42358 * sysdeps/ia64/stackinfo.h: Likewise.
42359 * sysdeps/s390/stackinfo.h: Likewise.
42360 * sysdeps/sh/stackinfo.h: Likewise.
42361 * sysdeps/sparc/stackinfo.h: Likewise.
42362 * sysdeps/x86_64/stackinfo.h: Likewise.
42363 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42364 PF_X for powerpc64. Retain PF_X for powerpc32.
42366 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42368 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42370 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42371 GETDENTS_64BIT_ALIGNED.
42373 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42375 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42377 2010-12-10 Andreas Schwab <schwab@redhat.com>
42379 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42382 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42383 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42385 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42386 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42388 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42391 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42394 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42396 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42398 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42400 * po/it.po: Update from translation team.
42402 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42407 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42409 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42411 2010-11-24 Andreas Schwab <schwab@redhat.com>
42413 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42415 (gaih_getanswer_slice): Likewise.
42417 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42419 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42421 2010-05-31 Petr Baudis <pasky@suse.cz>
42424 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42425 silently even in the chroot mode.
42427 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42429 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42430 last patch a bit. Pretty printing
42432 2010-05-31 Petr Baudis <pasky@suse.cz>
42435 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42436 initialization of skip_initgroups_dyn.
42438 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42440 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42441 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42443 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42445 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42447 2010-11-11 Andreas Schwab <schwab@redhat.com>
42449 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42450 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42451 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42452 ($(objpfx)tst-fnmatch-mem): New rule.
42453 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42454 * posix/tst-fnmatch.c (main): Call mtrace.
42456 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42459 Support Intel processor model 6 and model 0x2c.
42461 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42463 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42466 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42469 * string/test-strncasecmp.c (check_result): New function.
42470 (do_one_test): Use it.
42471 (check1): New function.
42472 (test_main): Use it.
42473 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42474 Support strcasecmp and strncasecmp.
42476 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42479 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42480 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42482 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42484 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42488 * sysdeps/x86_64/multiarch/bzero.S: New file.
42489 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42490 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42491 * sysdeps/x86_64/multiarch/memset.S: New file.
42492 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42494 Set bit_Prefer_SSE_for_memop for Intel processors.
42495 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42497 (index_Prefer_SSE_for_memop): Define.
42498 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42500 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42502 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42503 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42505 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42508 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42509 (__x86_64_raw_data_cache_size_half): Likewise.
42510 (__x86_64_raw_shared_cache_size): Likewise.
42511 (__x86_64_raw_shared_cache_size_half): Likewise.
42513 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42514 (__x86_64_raw_data_cache_size_half): Likewise.
42515 (__x86_64_raw_shared_cache_size): Likewise.
42516 (__x86_64_raw_shared_cache_size_half): Likewise.
42517 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42518 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42519 and __x86_64_raw_shared_cache_size_half. Round
42520 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42521 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42522 to multiple of 256 bytes.
42524 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42527 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42528 of inacessible symlinks. Verify result of symlink before returning it.
42529 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42530 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42532 2010-10-28 Erich Ritz <erichritz@gmail.com>
42534 * math/math.h (isinf): Fix typo in comment.
42536 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42538 * po/da.po: Update from translation team.
42540 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42542 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42543 is added to the list.
42545 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42546 Ulrich Drepper <drepper@gmail.com>
42548 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42549 the global list here. Move code to...
42550 (_dl_add_to_namespace_list): ...here. New function.
42551 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42552 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42553 * elf/dl-load.c (lose): Don't remove the element from the list.
42554 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42555 (_dl_map_object): Likewise.
42557 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42560 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42561 into all bytes of SSE register.
42562 Patch by Richard Li <richardpku@gmail.com>.
42564 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42567 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42570 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42572 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42573 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42574 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42575 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42580 2010-10-22 Andreas Schwab <schwab@redhat.com>
42582 * include/dlfcn.h (__RTLD_SECURE): Define.
42583 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42584 mode & __RTLD_SECURE instead.
42585 (open_path): Rename preloaded parameter to secure.
42586 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42587 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42588 * elf/dl-deps.c (openaux): Likewise.
42589 * elf/rtld.c (struct map_args): Remove is_preloaded.
42590 (map_doit): Don't use it.
42591 (dl_main): Likewise.
42592 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42593 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42595 2010-09-09 Andreas Schwab <schwab@redhat.com>
42597 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42598 (sysd-rules-targets): Remove duplicates.
42599 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42600 rtld-%.$o dependency.
42602 2010-10-18 Andreas Schwab <schwab@redhat.com>
42604 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42605 _dl_map_object do it.
42607 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42609 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42610 fast fma builtins, define the macros in the C99 standard.
42611 (FP_FAST_FMAF): Likewise.
42612 (FP_FAST_FMAL): Likewise.
42613 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42615 * bits/mathdef.h: Update copyright year.
42616 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42618 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42620 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42621 builtins, define the macros in the C99 standard.
42622 (FP_FAST_FMAF): Likewise.
42623 (FP_FAST_FMAL): Likewise.
42624 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42626 (FP_FAST_FMAF): Likewise.
42628 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42631 * math/libm-test.inc (fma_test): Some new testcases.
42632 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42633 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42634 y and infinite z. Do multiplication by C already in long double.
42635 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42637 y and infinite z. Do bitwise or of inexact bit into u.d.
42638 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42639 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42640 * sysdeps/i386/fpu/s_fma.S: Removed.
42641 * sysdeps/i386/fpu/s_fmal.S: Removed.
42643 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42646 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42648 computation is not scheduled after fetestexcept. Fix value
42649 of minimum denormal long double.
42651 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42654 * math/libm-test.inc (fma_test): Add some more tests.
42655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42658 2010-10-15 Andreas Schwab <schwab@redhat.com>
42660 * scripts/data/localplt-s390-linux-gnu.data: New file.
42661 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42663 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42666 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42667 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42669 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42671 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42673 if one of x and y is very large and the other is subnormal.
42674 * sysdeps/s390/fpu/s_fmaf.c: New file.
42675 * sysdeps/s390/fpu/s_fma.c: New file.
42676 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42677 * sysdeps/powerpc/fpu/s_fma.S: New file.
42678 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42679 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42680 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42682 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42685 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42687 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42688 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42689 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42690 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42691 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42692 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42693 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42695 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42698 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42699 * posix/bug-regex31.input: Add test case.
42701 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42703 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42704 * posix/bug-regex31.input: New file.
42707 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42708 (parse_sub_exp): Fix last change, use postorder.
42710 * posix/bug-regex31.c: New file.
42711 * posix/Makefile: Add rules to build and run bug-regex31.
42713 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42716 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42719 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42720 to have entries in sys_siglist.
42723 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42726 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42729 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42730 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42731 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42732 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42733 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42734 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42735 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42736 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42737 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42738 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42739 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42740 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42741 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42742 * math/ftestexcept.c (fetestexcept): Likewise.
42743 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42744 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42745 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42746 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42747 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42748 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42749 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42751 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42754 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42757 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42759 * string/bug-strstr1.c: New file.
42760 * string/Makefile: Add rules to build and run bug-strstr1.
42762 2010-10-05 Eric Blake <eblake@redhat.com>
42765 * string/str-two-way.h (two_way_long_needle): Always clear memory
42766 when skipping input due to the shift table.
42768 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42771 * malloc/mcheck.c: Handle large requests.
42774 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42775 for strncmp and strncasecmp.
42776 * string/stratcliff.c: Add tests for strcmp and strncmp.
42777 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42779 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42781 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42784 2010-09-30 Andreas Jaeger <aj@suse.de>
42786 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42787 (CGROUP_SUPER_MAGIC): Define.
42788 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42789 Handle btrfs and cgroup file systems.
42790 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42793 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42795 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42796 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42798 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42801 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42802 trying to locate the ELF header.
42804 2010-09-27 Andreas Schwab <schwab@redhat.com>
42807 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42808 Mask out sign-bit copies when constructing f_fsid.
42810 2010-09-24 Petr Baudis <pasky@suse.cz>
42812 * debug/stack_chk_fail_local.c: Add missing licence exception.
42813 * debug/warning-nop.c: Likewise.
42815 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42817 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42818 implementing getdents64 using getdents syscall, set d_type if
42819 __ASSUME_GETDENTS32_D_TYPE.
42821 2010-09-16 Andreas Schwab <schwab@redhat.com>
42823 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42824 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42826 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42829 * posix/unistd.h: Undo change of feature selection for ftruncate from
42832 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42834 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42837 2010-09-20 Andreas Schwab <schwab@redhat.com>
42839 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42841 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42843 2010-09-14 Andreas Schwab <schwab@redhat.com>
42845 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42846 variables after CHECK_SP call.
42847 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42849 2010-09-13 Andreas Schwab <schwab@redhat.com>
42850 Ulrich Drepper <drepper@redhat.com>
42852 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42853 re-relocationg ld.so.
42854 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42855 _dl_init_paths call.
42856 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42859 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42861 * resolv/res_init.c (__res_vinit): Count the default server we added.
42863 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42864 Ulrich Drepper <drepper@redhat.com>
42867 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42868 (____longjmp_chk): Use %ebx for saving value across system call.
42871 2010-09-06 Andreas Schwab <schwab@redhat.com>
42873 * manual/Makefile: Don't mix pattern rules with normal rules.
42875 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42877 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42879 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42880 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42881 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42882 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42883 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42886 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42889 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42890 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42892 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42894 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42895 * sysdeps/x86_64/addmul_1.S: Likewise.
42896 * sysdeps/x86_64/lshift.S: Likewise.
42897 * sysdeps/x86_64/mul_1.S: Likewise.
42898 * sysdeps/x86_64/rshift.S: Likewise.
42899 * sysdeps/x86_64/sub_n.S: Likewise.
42900 * sysdeps/x86_64/submul_1.S: Likewise.
42902 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42904 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42905 Define __sched_param instead of SCHED_* and sched_param when
42906 <bits/sched.h> is included with __need_schedparam defined.
42907 * bits/sched.h [__need_schedparam]
42908 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42909 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42910 (__defined_schedparam): Define to 1.
42911 (__sched_param): New structure, identical to sched_param.
42912 (__need_schedparam): Undefine.
42914 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42916 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42917 (epoll_create1): Declare.
42919 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42921 2010-08-31 Andreas Schwab <schwab@redhat.com>
42924 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42925 shifting retval into place.
42927 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42929 * nis/rpcsvc/nis.h: Update copyright notice.
42930 * nis/rpcsvc/nis.x: Likewise.
42931 * nis/rpcsvc/nis_callback.h: Likewise.
42932 * nis/rpcsvc/nis_callback.x: Likewise.
42933 * nis/rpcsvc/nis_object.x: Likewise.
42934 * nis/rpcsvc/nis_tags.h: Likewise.
42935 * nis/rpcsvc/yp.h: Likewise.
42936 * nis/rpcsvc/yp.x: Likewise.
42937 * nis/rpcsvc/ypupd.h: Likewise.
42938 * nis/yp_xdr.c: Likewise.
42939 * nis/ypupdate_xdr.c: Likewise.
42941 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42942 mainly the body of pmap_getport. Add parameters to specify timeouts.
42943 (pmap_getport): Use __libc_rpc_getport.
42944 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42945 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42946 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42948 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42953 2010-08-27 Roland McGrath <roland@redhat.com>
42955 * sysdeps/i386/i686/multiarch/Makefile
42956 (CFLAGS-varshift.c): New variable.
42958 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42960 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42961 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42963 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42965 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42967 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42969 * sysdeps/x86_64/strlen.S: Unroll the loop.
42970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42971 strlen-sse2 strlen-sse2-bsf.
42972 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42973 __strlen_no_bsf if bit_Slow_BSF is set.
42974 (__strlen_sse42): Removed.
42975 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42976 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42978 2010-08-25 Roland McGrath <roland@redhat.com>
42980 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42981 * sysdeps/x86_64/multiarch/varshift.c: New file.
42982 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42983 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42984 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42985 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42987 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42989 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42990 strlen-sse2 strlen-sse2-bsf.
42991 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42992 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42993 (__strlen_sse2): Removed.
42994 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42995 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42997 bit_Slow_BSF for Atom.
42998 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42999 (index_Slow_BSF): Define.
43000 (HAS_SLOW_BSF): Define.
43002 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43005 * resolv/res_init.c (__res_vinit): When no server address at all
43006 is given default to loopback.
43008 2010-08-24 Roland McGrath <roland@redhat.com>
43010 * configure.in: Remove config-name.h generation.
43011 * configure: Regenerated.
43012 * config-name.in: File removed.
43013 * scripts/config-uname.sh: New file.
43014 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43015 ($(objdir)config-name.h): New target.
43017 * sunrpc/rpc_parse.h: Avoid nested comment.
43019 2010-08-24 Richard Henderson <rth@redhat.com>
43020 Ulrich Drepper <drepper@redhat.com>
43021 H.J. Lu <hongjiu.lu@intel.com>
43023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43025 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43026 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43027 _mm_alignr_epi8 with _mm_loadu_si128.
43028 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43029 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43030 (__m128i_shift_right): Removed.
43031 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43032 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43033 * sysdeps/x86_64/multiarch/varshift.h: New file.
43034 * sysdeps/x86_64/multiarch/varshift.S: New file.
43036 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43038 * configure.in: Move assembler checks to before sysdep dir checking.
43040 2010-08-20 Petr Baudis <pasky@suse.cz>
43042 * LICENSES: Sync the sunrpc license.
43044 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43046 * sunrpc/auth_des.c: Update copyright notice once again.
43047 * sunrpc/auth_none.c: Likewise.
43048 * sunrpc/auth_unix.c: Likewise.
43049 * sunrpc/authdes_prot.c: Likewise.
43050 * sunrpc/authuxprot.c: Likewise.
43051 * sunrpc/bindrsvprt.c: Likewise.
43052 * sunrpc/clnt_gen.c: Likewise.
43053 * sunrpc/clnt_perr.c: Likewise.
43054 * sunrpc/clnt_raw.c: Likewise.
43055 * sunrpc/clnt_simp.c: Likewise.
43056 * sunrpc/clnt_tcp.c: Likewise.
43057 * sunrpc/clnt_udp.c: Likewise.
43058 * sunrpc/clnt_unix.c: Likewise.
43059 * sunrpc/des_crypt.c: Likewise.
43060 * sunrpc/des_soft.c: Likewise.
43061 * sunrpc/get_myaddr.c: Likewise.
43062 * sunrpc/getrpcport.c: Likewise.
43063 * sunrpc/key_call.c: Likewise.
43064 * sunrpc/key_prot.c: Likewise.
43065 * sunrpc/openchild.c: Likewise.
43066 * sunrpc/pm_getmaps.c: Likewise.
43067 * sunrpc/pm_getport.c: Likewise.
43068 * sunrpc/pmap_clnt.c: Likewise.
43069 * sunrpc/pmap_prot.c: Likewise.
43070 * sunrpc/pmap_prot2.c: Likewise.
43071 * sunrpc/pmap_rmt.c: Likewise.
43072 * sunrpc/rpc/auth.h: Likewise.
43073 * sunrpc/rpc/auth_unix.h: Likewise.
43074 * sunrpc/rpc/clnt.h: Likewise.
43075 * sunrpc/rpc/des_crypt.h: Likewise.
43076 * sunrpc/rpc/key_prot.h: Likewise.
43077 * sunrpc/rpc/netdb.h: Likewise.
43078 * sunrpc/rpc/pmap_clnt.h: Likewise.
43079 * sunrpc/rpc/pmap_prot.h: Likewise.
43080 * sunrpc/rpc/pmap_rmt.h: Likewise.
43081 * sunrpc/rpc/rpc.h: Likewise.
43082 * sunrpc/rpc/rpc_des.h: Likewise.
43083 * sunrpc/rpc/rpc_msg.h: Likewise.
43084 * sunrpc/rpc/svc.h: Likewise.
43085 * sunrpc/rpc/svc_auth.h: Likewise.
43086 * sunrpc/rpc/types.h: Likewise.
43087 * sunrpc/rpc/xdr.h: Likewise.
43088 * sunrpc/rpc_clntout.c: Likewise.
43089 * sunrpc/rpc_cmsg.c: Likewise.
43090 * sunrpc/rpc_common.c: Likewise.
43091 * sunrpc/rpc_cout.c: Likewise.
43092 * sunrpc/rpc_dtable.c: Likewise.
43093 * sunrpc/rpc_hout.c: Likewise.
43094 * sunrpc/rpc_main.c: Likewise.
43095 * sunrpc/rpc_parse.c: Likewise.
43096 * sunrpc/rpc_parse.h: Likewise.
43097 * sunrpc/rpc_prot.c: Likewise.
43098 * sunrpc/rpc_sample.c: Likewise.
43099 * sunrpc/rpc_scan.c: Likewise.
43100 * sunrpc/rpc_scan.h: Likewise.
43101 * sunrpc/rpc_svcout.c: Likewise.
43102 * sunrpc/rpc_tblout.c: Likewise.
43103 * sunrpc/rpc_util.c: Likewise.
43104 * sunrpc/rpc_util.h: Likewise.
43105 * sunrpc/rpcinfo.c: Likewise.
43106 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43107 * sunrpc/rpcsvc/key_prot.x: Likewise.
43108 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43109 * sunrpc/rpcsvc/mount.x: Likewise.
43110 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43111 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43112 * sunrpc/rpcsvc/rex.x: Likewise.
43113 * sunrpc/rpcsvc/rstat.x: Likewise.
43114 * sunrpc/rpcsvc/rusers.x: Likewise.
43115 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43116 * sunrpc/rpcsvc/spray.x: Likewise.
43117 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43118 * sunrpc/rtime.c: Likewise.
43119 * sunrpc/svc.c: Likewise.
43120 * sunrpc/svc_auth.c: Likewise.
43121 * sunrpc/svc_authux.c: Likewise.
43122 * sunrpc/svc_raw.c: Likewise.
43123 * sunrpc/svc_run.c: Likewise.
43124 * sunrpc/svc_simple.c: Likewise.
43125 * sunrpc/svc_tcp.c: Likewise.
43126 * sunrpc/svc_udp.c: Likewise.
43127 * sunrpc/svc_unix.c: Likewise.
43128 * sunrpc/svcauth_des.c: Likewise.
43129 * sunrpc/xcrypt.c: Likewise.
43130 * sunrpc/xdr.c: Likewise.
43131 * sunrpc/xdr_array.c: Likewise.
43132 * sunrpc/xdr_float.c: Likewise.
43133 * sunrpc/xdr_mem.c: Likewise.
43134 * sunrpc/xdr_rec.c: Likewise.
43135 * sunrpc/xdr_ref.c: Likewise.
43136 * sunrpc/xdr_sizeof.c: Likewise.
43137 * sunrpc/xdr_stdio.c: Likewise.
43139 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43142 2010-08-19 Andreas Schwab <schwab@redhat.com>
43144 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43146 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
43148 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43149 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43150 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43151 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43152 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43153 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43154 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43155 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43156 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43157 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43158 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43159 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43160 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43161 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43163 2010-07-26 Anton Blanchard <anton@samba.org>
43165 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43166 * malloc/arena.c (heap_trim): Likewise.
43168 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43170 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43173 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43175 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43177 * sysdeps/i386/elf/Makefile: New file.
43179 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43181 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43182 from fanotify_init.
43183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43184 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43186 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43188 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43190 * sysdeps/multiarch/strcmp.S: Likewise.
43192 2010-08-14 Ulrich Drepper <drepper@redhat.com>
43194 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43195 strncase_l-nonascii.
43196 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43197 Add strncase_l-ssse3.
43198 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43199 * sysdeps/x86_64/strcmp.S: Likewise.
43200 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43201 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43202 * sysdeps/x86_64/strncase.S: New file.
43203 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43204 * sysdeps/x86_64/strncase_l.S: New file.
43205 * string/Makefile (strop-tests): Add strncasecmp.
43206 * string/test-strncasecmp.c: New file.
43208 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43211 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43212 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43214 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43216 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43218 2010-08-12 Ulrich Drepper <drepper@redhat.com>
43220 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43221 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43222 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43224 2010-05-01 Alan Modra <amodra@gmail.com>
43226 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43227 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43228 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43229 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43230 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43231 tidying. Don't tail-call __sigjmp_save for static lib.
43232 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43234 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43235 (CALL_MCOUNT): Add eh info, and nop after bl.
43236 (TAIL_CALL_SYSCALL_ERROR): New macro.
43237 (PSEUDO_RET): Use it.
43238 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43239 Correct save location of integer regs and cr.
43240 (_dl_profile_resolve): Correct cr save location. Delete nops
43241 after bl when SHARED. Reduce cfi size a little by better
43242 placement of cfi directives.
43243 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43244 make a stack frame. Instead use parm save area as a temp.
43245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43246 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43248 Don't make a stack frame for parent, use parm save area.
43249 Increase child stack frame to 112 bytes. Don't save unused reg,
43250 and adjust reg usage. Set up cfi on error recovery and
43251 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43253 (__makecontext): Add dummy nop after jump to exit.
43254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43255 Use correct parm save area and cr save, reduce stack frame.
43256 Correct cfi for possible PSEUDO_RET frame setup.
43257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43258 Branch to local label emitted by PSEUDO_RET rather than
43261 2010-08-12 Andreas Schwab <schwab@redhat.com>
43264 * locale/programs/locale.c (print_assignment): New function.
43265 (show_locale_vars): Use it.
43267 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43269 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43271 (struct statfs64): Likewise.
43272 (_STATFS_F_FLAGS): Define.
43273 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43274 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43275 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43276 (ST_VALID): Define locally.
43277 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43278 __statvfs_getflags, use the provided value.
43279 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43280 __ASSUME_STATFS_F_FLAGS.
43282 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43284 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43285 Add sys/fanotify.h.
43286 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43287 fanotify_mask for GLIBC_2.13.
43288 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43289 fanotify_init and fanotify_mark.
43290 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43291 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43293 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43295 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43296 prlimit64 for GLIBC_2.13.
43297 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43299 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43302 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43303 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43304 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43305 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43307 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43310 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43311 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43313 * nss/Makefile: Add rules to build and run tst-nss-test1.
43314 * shlib-versions: Add entry for libnss_test1.
43315 * nss/nss_test1.c: New file.
43316 * nss/tst-nss-test1.c: New file.
43318 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43319 (__nss_configure_lookup): Set appropriate entry in
43320 __nss_configure_lookup to true.
43321 * nss/nsswitch.h: Define enum with indeces of databases in
43322 databases and __nss_database_custom arrays. Declare
43323 __nss_database_custom.
43324 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43325 to avoid using nscd when custom rules are installed.
43326 * nss/getXXbyYY_r.c: Likewise.
43327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43329 * nss/nss_files/files-parse.c: Whitespace fixes.
43331 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43334 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43335 * posix/fnmatch_loop.c: Likewise.
43337 2010-07-17 Andi Kleen <ak@linux.intel.com>
43339 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43340 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43341 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43342 * Versions.def [GLIBC_2.13]: Add.
43344 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43346 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43347 Also fail if tpwd after pwuid call is NULL.
43349 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43351 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43352 when converting to ms.
43354 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43356 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43357 EOPNOTSUPP errors with ENOTTY.
43358 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43359 EOPNOTSUPP errors with ENOTTY.
43361 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43363 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43364 Add strcasecmp_l-ssse3.
43365 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43367 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43368 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43369 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43371 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43373 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43375 * string/Makefile (strop-tests): Add strcasecmp.
43376 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43377 strcasecmp_l-nonascii.
43378 (gen-as-const-headers): Add locale-defines.sym.
43379 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43380 * sysdeps/x86_64/strcasecmp.S: New file.
43381 * sysdeps/x86_64/strcasecmp_l.S: New file.
43382 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43383 * sysdeps/x86_64/locale-defines.sym: New file.
43384 * string/test-strcasecmp.c: New file.
43386 * string/test-strcasestr.c: Test both ends of the range of characters.
43387 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43389 2010-07-29 Roland McGrath <roland@redhat.com>
43392 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43394 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43396 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43399 2010-07-27 Andreas Schwab <schwab@redhat.com>
43401 * manual/memory.texi (Malloc Tunable Parameters): Document
43404 2010-07-26 Roland McGrath <roland@redhat.com>
43407 * configure.in (-fgnu89-inline check): Set and substitute
43408 gnu89_inline, not libc_cv_gnu89_inline.
43409 * configure: Regenerated.
43410 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43412 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43414 * string/test-strnlen.c: New file.
43415 * string/Makefile (strop-tests): Add strnlen.
43416 * string/tester.c (test_strnlen): Add a few more test cases.
43417 * string/tst-strlen.c: Better error reporting.
43419 * sysdeps/x86_64/strnlen.S: New file.
43421 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43423 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43424 lower-latency instructions.
43426 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43428 * string/test-strcasestr.c: New file.
43429 * string/test-strstr.c: New file.
43430 * string/Makefile (strop-tests): Add strstr and strcasestr.
43431 * string/str-two-way.h: Don't undefine MAX.
43432 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43434 2010-07-21 Andreas Schwab <schwab@redhat.com>
43436 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43437 strcasestr-nonascii.
43438 (CFLAGS-strcasestr-nonascii.c): Define.
43439 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43441 Remove unused attribute.
43443 2010-07-20 Roland McGrath <roland@redhat.com>
43445 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43446 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43447 ld.so.cache was broken. With it, there is no way to disable dsocaps
43448 like LD_HWCAP_MASK can disable hwcaps.
43450 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43452 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43454 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43456 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43457 call in strcasestr.
43458 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43459 __strcasestr_sse42_nonascii.
43460 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43461 strcasestr-nonascii.c.
43462 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43464 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43466 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43467 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43468 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43469 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43471 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43473 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43476 2010-07-06 Andreas Schwab <schwab@redhat.com>
43479 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43482 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43484 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43485 _PC_PIPE_BUF using F_GETPIPE_SZ.
43487 2010-07-05 Roland McGrath <roland@redhat.com>
43489 * manual/arith.texi (Rounding Functions): Fix rint description
43490 implicit in round description.
43492 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43494 * elf/Makefile: Fix linking for a few tests to make recent linker
43497 2010-06-30 Andreas Schwab <schwab@redhat.com>
43499 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43500 $(common-objpfx)libc_nonshared.a.
43502 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43504 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43505 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43506 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43507 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43508 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43509 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43510 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43511 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43526 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43527 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43528 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43529 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43530 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43531 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43532 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43533 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43534 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43535 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43536 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43537 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43553 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43555 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43556 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43557 * string/memmove.c (memmove): Renamed to ...
43558 (MEMMOVE): ...this. Default to memmove.
43559 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43560 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43563 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43564 mempcpy-ssse3-back memmove-ssse3-back.
43565 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43566 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43567 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43568 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43569 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43570 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43571 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43572 * sysdeps/x86_64/multiarch/memmove.c: New file.
43573 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43574 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43575 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43576 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43577 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43578 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43580 (index_Fast_Copy_Backward): Define.
43581 (HAS_ARCH_FEATURE): Define.
43582 (HAS_FAST_REP_STRING): Define.
43583 (HAS_FAST_COPY_BACKWARD): Define.
43585 2010-06-21 Andreas Schwab <schwab@redhat.com>
43587 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43588 Restore proper fallback handling.
43590 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43593 * posix/group_member.c (__group_member): Correct checking loop.
43595 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43596 OOM in getpwuid_r correctly. Return error number when the caller
43597 should return, otherwise -1.
43598 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43599 call returning > 0 value.
43600 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43602 2010-06-07 Andreas Schwab <schwab@redhat.com>
43604 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43605 libc_nonshared.a from targets in modules-names.
43607 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43609 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43612 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43614 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43615 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43616 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43617 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43619 2010-06-02 Andreas Schwab <schwab@redhat.com>
43621 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43623 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43625 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43627 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43631 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43634 2010-06-14 Roland McGrath <roland@redhat.com>
43636 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43638 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43640 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43641 __REDIRECT followed by __THROW.
43642 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43643 * posix/getopt.h (getopt): Likewise.
43645 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43647 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43648 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43649 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43651 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43652 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43654 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43656 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43658 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43662 Properly check family and model.
43664 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43666 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43668 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43670 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43672 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43674 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43677 2010-05-19 Andreas Schwab <schwab@redhat.com>
43679 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43682 2010-05-21 Andreas Schwab <schwab@redhat.com>
43684 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43685 and internal_recvmmsg.
43686 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43687 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43688 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43689 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43691 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43692 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43693 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43695 2010-05-20 Andreas Schwab <schwab@redhat.com>
43697 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43699 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43701 POWER7 optimizations.
43702 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43703 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43705 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43707 * version.h: Update for 2.13 development version.
43709 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43711 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43712 exceptions. Return 0.
43714 2010-05-07 Roland McGrath <roland@redhat.com>
43716 * elf/ldconfig.c (main): Add a const.
43718 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43720 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43721 (args_options): Add no-idn option.
43722 (ahosts_keys_int): Add idn_flags to ai_flags.
43723 (parse_option): Handle 'i' option to clear idn_flags.
43725 * malloc/malloc.c (_int_free): Possible race in the most recently
43726 added check. Only act on the data if no current modification
43729 See ChangeLog.17 for earlier changes.