1 2014-05-12 Will Newton <will.newton@linaro.org>
3 * malloc/Makefile (tests): Add tst-mallopt.
4 * malloc/tst-mallopt.c: New file.
6 2014-05-09 Roland McGrath <roland@hack.frob.com>
8 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14 (tst-tlsmod6.so): Likewise.
16 2014-05-09 Roland McGrath <roland@hack.frob.com>
18 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20 2014-05-09 Joseph Myers <joseph@codesourcery.com>
23 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
25 (__fegetenv): Save SSE state in envp->__eip if supported.
26 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
27 envp->__eip if supported.
28 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
30 (__fesetenv): Always set __eip, __cs_selector, __opcode,
31 __data_offset and __data_selector in environment to 0. Set SSE
33 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39 2014-05-09 Will Newton <will.newton@linaro.org>
41 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42 and libc_relro_required for ARM.
43 * sysdeps/arm/preconfigure: Regenerate.
45 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
46 Stefan Liebler <stli@linux.vnet.ibm.com>
48 * config.make.in (enable-lock-elision): New Makefile variable.
49 * configure.ac: Likewise.
50 * configure: Regenerate.
51 * sysdeps/s390/configure.ac:
52 Add check for gcc transactions support.
53 * sysdeps/s390/configure: Regenerate.
54 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
55 Build elision files if enabled.
56 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
57 Add lock elision support for s390.
58 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
59 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
60 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
61 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
62 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
63 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
64 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
66 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
68 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
70 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
72 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
73 (__lll_timedlock_elision, __lll_lock_elision)
74 (__lll_unlock_elision, __lll_trylock_elision)
75 (lll_timedlock_elision, lll_lock_elision)
76 (lll_unlock_elision, lll_trylock_elision): Add.
77 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
78 (pthread_mutex_t): Add lock elision support for s390.
80 2014-05-09 Will Newton <will.newton@linaro.org>
82 * sysdeps/arm/armv7/strcmp.S: New file.
83 * NEWS: Mention addition of ARMv7 optimized strcmp.
85 2014-05-08 Roland McGrath <roland@hack.frob.com>
87 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
88 look for %.ac rather than %.in.
90 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
91 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
92 * sysdeps/mach/hurd/configure: Regenerated.
93 * sysdeps/unix/sysv/linux/configure: Regenerated.
95 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
97 2014-05-07 Steve Ellcey <sellcey@mips.com>
100 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
104 2014-05-07 Andreas Schwab <schwab@suse.de>
106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
107 when skipping over non-matching result from nscd.
109 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
112 * nptl/sockperf.c (client): Check socket return value.
115 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
118 2014-05-06 Roland McGrath <roland@hack.frob.com>
120 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
121 * sysdeps/arm/unwind.h: ... here.
123 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
126 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
129 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
131 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
132 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
133 multiarch strncpy for PPC64.
134 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
135 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
137 multiarch optimizations.
138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
139 (__libc_ifunc_impl_list): Likewise.
140 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
141 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
142 multiarch stpncpy for PPC64.
143 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
144 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
146 2014-05-06 Andreas Schwab <schwab@suse.de>
149 * gmon/mcount.c (_MCOUNT_DECL): Use
150 atomic_compare_and_exchange_bool_acq instead of
151 catomic_compare_and_exchange_bool_acq.
153 2014-05-05 Roland McGrath <roland@hack.frob.com>
155 * elf/Makefile (others, install-bin): Remove pldd.
156 (pldd-modules): Variable removed.
157 ($(objpfx)pldd): Target removed.
158 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
159 (others, install-bin): Append pldd here.
160 ($(objpfx)pldd): New target.
162 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
163 to 0, so the first #if test emitted later doesn't see it undefined.
164 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
165 * sysdeps/gnu/errlist.c: Regenerated.
167 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
169 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
170 [libc_hidden_builtin_def]: Define to empty value.
171 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
172 [libc_hidden_builtin_def]: Likewise.
173 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
174 [libc_hidden_builtin_def]: Likewise.
175 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
176 [libc_hidden_builtin_def]: Likewise.
177 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
178 __redirect_memcpy and define ifunc as default hidden symbol.
179 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
180 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
182 2014-05-04 Adam Conrad <adconrad@0c3.net>
184 * locale/iso-4217.def: Reintroduce XDR currency.
186 2014-05-04 Allan McRae <allan@archlinux.org>
188 * po/eo.po: Update Esperanto translation from translation project.
190 2014-05-02 Carlos O'Donell <carlos@redhat.com>
192 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
193 and FEATURE_INDEX_MAX to 1.
194 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
196 2014-05-01 Steve Ellcey <sellcey@mips.com>
198 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
199 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
200 * iconvdata/big5.c (ONE_DIRECTION): Define.
201 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
202 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
203 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
204 * iconvdata/cp932.c (ONE_DIRECTION): Define.
205 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
206 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
207 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
208 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
209 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
210 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
211 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
212 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
213 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
214 * iconvdata/gbk.c (ONE_DIRECTION): Define.
215 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
216 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
217 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
218 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
219 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
220 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
221 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
222 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
223 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
224 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
225 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
226 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
227 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
228 * iconvdata/iso646.c (ONE_DIRECTION): Define.
229 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
230 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
231 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
232 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
233 * iconvdata/johab.c (ONE_DIRECTION): Define.
234 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
235 * iconvdata/sjis.c (ONE_DIRECTION): Define.
236 * iconvdata/t.61.c (ONE_DIRECTION): Define.
237 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
238 * iconvdata/tscii.c (ONE_DIRECTION): Define.
239 * iconvdata/uhc.c (ONE_DIRECTION): Define.
240 * iconvdata/unicode.c (ONE_DIRECTION): Define.
241 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
242 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
243 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
245 2014-05-01 Roland McGrath <roland@hack.frob.com>
247 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
248 (_IO_JUMPS_OFFSET): Define to 0.
250 * nptl/sysdeps/pthread/bits/libc-lock.h
251 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
252 (__libc_lock_define_initialized_recursive): Always define using
253 initializer. Modern compilers treat uninitialized (implicit zero) and
254 explicit zero initializers the same (i.e. put the datum in bss).
256 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
258 * nscd/nscd-client.h: Include <string.h>.
260 2014-05-01 David S. Miller <davem@davemloft.net>
263 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
264 multiple zero bytes exist at the end of a string.
265 Reported by Aurelien Jarno <aurelien@aurel32.net>
267 * string/test-strcmp.c (check): Add explicit test for situations where
268 there are multiple zero bytes after the first.
270 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
273 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
274 when compiling wprintf.
275 * stdio-common/tstdiomisc.c (t3): New function.
278 2014-05-01 Steve Ellcey <sellcey@mips.com>
280 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
281 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
282 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
283 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
285 2014-05-01 Steve Ellcey <sellcey@mips.com>
287 * stdlib/longlong.h: Updated from GCC.
289 2014-05-01 Will Newton <will.newton@linaro.org>
290 Bernard Ogden <bernie.ogden@linaro.org>
292 * NEWS: Update fixed bug list.
295 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
297 2014-04-30 David S. Miller <davem@davemloft.net>
299 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
300 (libc_feholdexcept_setround_sparc_ctx): New function.
301 (libc_fesetenv_sparc_ctx): Likewise.
302 (libc_feupdateenv_sparc_ctx): Likewise.
303 (libc_feholdsetround_sparc_ctx): Likewise.
304 (libc_feholdexcept_setround_ctx): Define.
305 (libc_feholdexcept_setroundf_ctx): Likewise.
306 (libc_feholdexcept_setroundl_ctx): Likewise.
307 (libc_fesetenv_ctx): Likewise.
308 (libc_fesetenvf_ctx): Likewise.
309 (libc_fesetenvl_ctx): Likewise.
310 (libc_feupdateenv_ctx): Likewise.
311 (libc_feupdateenvf_ctx): Likewise.
312 (libc_feupdateenvl_ctx): Likewise.
313 (libc_feresetround_ctx): Likewise.
314 (libc_feresetroundf_ctx): Likewise.
315 (libc_feresetroundl_ctx): Likewise.
316 (libc_feholdsetround_ctx): Likewise.
317 (libc_feholdsetroundf_ctx): Likewise.
318 (libc_feholdsetroundl_ctx): Likewise.
320 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
321 with __USE_GNU instead of XOPEN cpp guards.
323 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
326 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
327 with XOPEN cpp guards.
329 2014-04-30 Julian Brown <julian@codesourcery.com>
332 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
335 2014-04-30 Joseph Myers <joseph@codesourcery.com>
338 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
340 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
341 * sysdeps/unix/sysv/linux/configure: Regenerated.
342 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
343 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
344 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
345 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
346 * README: Update reference to required Linux kernel version.
347 * manual/install.texi (Linux): Update reference to required Linux
348 kernel headers version.
349 * INSTALL: Regenerated.
351 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
353 [POSIX] (limits.h): Likewise.
354 [POSIX] (math.h): Likewise.
355 [POSIX] (sys/wait.h): Likewise.
356 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
358 [POSIX] (stddef.h): Do not allow header inclusion.
360 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
362 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
364 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
366 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
367 Return immediately after lll_futex_wake.
369 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
372 * nscd/nscd-client.h (datahead_init_common): Initialize entire
374 (datahead_init_pos): Call datahead_init_common early.
375 (datahead_init_neg): Likewise.
377 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
378 datahead_init_neg): New functions.
379 * nscd/aicache.c (addhstaiX): Use them.
380 * nscd/grpcache.c (cache_addgr): Likewise.
381 * nscd/hstcache.c (cache_addhst): Likewise.
382 * nscd/initgrcache.c (addinitgroupsX): Likewise.
383 * nscd/netgroupcache.c (do_notfound): Likewise.
384 (addgetnetgrentX): Likewise.
385 (addinnetgrX): Likewise.
386 * nscd/pwdcache.c (cache_addpw): Likewise.
387 * nscd/servicescache.c (cache_addserv): Likewise.
389 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
390 Atsushi Onoe <atsushi@onoe.org>
395 * resolv/res_query.c (__libc_res_nsearch): Return if at least
396 one response is valid.
397 * resolv/res_send.c (send_dg): Check for validity of other
398 response if the current response is a referral.
400 2014-04-29 Steve Ellcey <sellcey@mips.com>
402 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
404 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
407 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
408 Always divide by positive zero when computing -Inf result.
409 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
410 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
412 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
414 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
415 FPSCR if value do not change.
416 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
417 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
418 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
419 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
420 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
421 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
424 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
426 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
427 * sysdeps/unix/sysv/linux/hppa: Move directory from
428 ports/systeps/unix/sysv/linux/hppa.
429 * README: Update listing for hppa-*-linux-gnu.
431 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
434 * manual/stdio.texi (Hook functions): Fix types of stream hook
437 * socket/sys/socket.h: Fix typo in comment.
439 2014-04-28 Wilco <wdijkstr@arm.com>
441 * sysdeps/arm/fenv_private.h: New file.
442 * sysdeps/arm/math_private.h: New file.
443 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
445 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
447 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
449 (La_x86_64_retval): Likewise.
451 2014-04-24 Ian Bolton <ian.bolton@arm.com>
453 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
454 fpsr if value didn't change.
455 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
456 to fpcr if value didn't change.
457 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
458 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
459 fpsr or fpcr if value didn't change.
460 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
461 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
462 fpcr if value didn't change.
463 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
464 to fpsr if value didn't change.
466 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
468 * nptl/tst-sem3.c: Use test-skeleton.c
469 (main): Rename to do_test. Use return instead of
471 * nptl/tst-sem4.c: Use test-skeleton.c
472 (main): Rename to do_test.
474 2014-04-22 David S. Miller <davem@davemloft.net>
476 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
477 (struct sigaction): New struct member __glibc_reserved0, change
478 type of sa_flags to int.
480 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
482 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
483 (COUNT_LEADING_ZEROS_0): Define for AArch64.
485 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
487 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
488 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
490 2014-04-22 Will Newton <will.newton@linaro.org>
491 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
493 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
494 (__longjmp): Add longjmp and longjmp_target SystemTap
496 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
497 (__sigsetjmp): Add setjmp SystemTap probe.
499 2014-04-17 Carlos O'Donell <carlos@redhat.com>
501 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
504 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
506 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
508 * sysdeps/powerpc/fpu/fenv_private.h
509 (libc_feholdexcept_setroundl_ctx): Define to
510 libc_feholdexcept_setround_ppc_ctx.
511 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
512 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
513 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
514 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
516 2014-04-17 Ian Bolton <ian.bolton@arm.com>
518 * sysdeps/aarch64/math-tests.h: New file.
520 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
522 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
525 Check and set bit_AVX2_Usable.
526 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
528 (bit_AVX2): Likewise.
529 (index_AVX2_Usable): Likewise.
530 (CPUID_AVX2): Likewise.
531 (HAS_AVX2): Likewise.
533 2014-04-17 Will Newton <will.newton@linaro.org>
535 * manual/setjmp.texi (System V contexts): Add note that
536 calling setcontext on a context created by a call to a
537 signal handler is undefined. Update text to note that
538 setcontext from a signal handler is possible but not
542 * stdlib/tst-setcontext.c: Include signal.h.
543 (main): Check that the signal stack before and
544 after swapcontext is the same.
546 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
547 Re-implement to restore registers in user code and avoid
548 rt_sigreturn system call.
550 2014-04-17 Wilco <wdijkstr@arm.com>
552 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
553 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
554 * math/test-fenv.c: Skip exception trap tests on targets which only
555 support non-stop mode.
557 2014-04-17 Ian Bolton <ian.bolton@arm.com>
558 Wilco Dijkstra <wilco.dijkstra@arm.com>
560 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
561 (libc_feholdsetround_aarch64_ctx)
562 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
563 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
564 (libc_feresetround_ctx, libc_feresetroundf_ctx)
565 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
566 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
567 (libc_feresetround_noexl_ctx): Define.
569 2014-04-16 Richard Henderson <rth@redhat.com>
571 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
573 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
576 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
577 const from the non-libc, non-ldso copy.
579 * sysdeps/alpha/libm-test-ulps: Regenerate.
581 2014-04-16 Ian Bolton <ian.bolton@arm.com>
582 Wilco Dijkstra <wilco.dijkstra@arm.com>
584 * sysdeps/aarch64/fpu/math_private.h: New file.
586 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
588 * sysdeps/aarch64/libm-test-ulps: Regenerate.
590 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
592 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
593 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
594 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
595 Intel MPX bound registers before _dl_profile_fixup.
596 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
597 registers after _dl_profile_fixup. Save and restore bound
598 registers bnd0/bnd1 when calling _dl_call_pltexit.
599 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
600 (LR_BND_OFFSET): Likewise.
601 (LRV_BND0_OFFSET): Likewise.
602 (LRV_BND1_OFFSET): Likewise.
604 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
606 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
608 * sysdeps/mach/hurd/i386/tls.h: ... here.
609 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
610 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
613 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
615 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
617 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
619 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
621 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
624 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
625 * sysdeps/s390/configure: Regenerate.
628 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
629 Set round-to-nearest internally to reduce error accumulation.
631 2014-04-16 Alan Modra <amodra@gmail.com>
635 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
636 * math/libm-test.inc (frexp_test_data): Add tests.
637 * NEWS: Update fixed bug list.
639 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
641 * benchtests/Makefile: Depend on libraries in build directory.
642 (bench-math): Separate out math tests.
643 (bench-pthread): Separate out pthread tests.
644 (bench): Include math and pthread tests.
646 2014-04-14 Carlos O'Donell <carlos@redhat.com>
649 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
650 _dl_debug_initialize.
652 * configure.ac: Remove SELinux header check.
653 * configure: Regenerate.
654 * nscd/selinux.c (perms): Array of const char* to permission names.
655 (nscd_request_avc_has_perm): Call security_deny_unknown to find
656 default policy. Call string_to_security_class and string_to_av_perm to
657 translate strings. Enforce default policy and call avs_has_perm with
658 results of translated strings.
660 2014-04-13 David S. Miller <davem@davemloft.net>
662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
664 2014-04-12 Allan McRae <allan@archlinux.org>
667 * manual/string.texi (Collation Functions): Fix qsort argument
669 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
671 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
673 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
674 Make the test a no-op if there are no exceptions defined.
676 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
678 * elf/Makefile (tests): make tst-dlopen-aout conditional on
679 enable-hardcoded-path-in-tests
681 2014-04-11 Will Newton <will.newton@linaro.org>
683 * benchtests/Makefile (extra-objs): Add json-lib.o.
684 (bench-func): Tidy up JSON output.
685 * benchtests/bench-skeleton.c: Include json-lib.h.
686 (main): Use JSON library functions to do output of
688 * benchtests/bench-timing-type.c (main): Output the
689 timing type simply, leaving formatting to the user.
690 * benchtests/json-lib.c: New file.
691 * benchtests/json-lib.h: Likewise.
693 2014-04-11 Torvald Riegel <triegel@redhat.com>
696 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
697 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
698 memory barriers. Add comments.
699 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
700 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
701 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
702 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
703 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
704 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
706 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
708 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
709 * sysdeps/s390/s390-64/configure.ac: ... this ...
710 * sysdeps/s390/configure.ac: ... to here.
711 * sysdeps/s390/s390-32/configure: Delete file.
712 * sysdeps/s390/s390-64/configure: Delete file.
713 * sysdeps/s390/configure: Regenerate.
715 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
717 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
719 2014-04-11 Will Newton <will.newton@linaro.org>
721 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
722 to zero if it is not defined elsewhere. (mtrim): Test
723 the value of MALLOC_DEBUG with #if rather than #ifdef.
725 2014-04-10 Torvald Riegel <triegel@redhat.com>
727 * benchtests/pthread_once-inputs: New file.
728 * benchtests/pthread_once-source.c: New file.
729 * benchtests/README: Update documentation.
731 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
732 H.J. Lu <hongjiu.lu@intel.com>
734 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
735 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
736 * sysdeps/x86_64/configure: Regenerated.
737 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
739 (REGISTER_SAVE_RAX): Likewise.
740 (REGISTER_SAVE_RCX): Likewise.
741 (REGISTER_SAVE_RDX): Likewise.
742 (REGISTER_SAVE_RSI): Likewise.
743 (REGISTER_SAVE_RDI): Likewise.
744 (REGISTER_SAVE_R8): Likewise.
745 (REGISTER_SAVE_R9): Likewise.
746 (REGISTER_SAVE_BND0): Likewise.
747 (REGISTER_SAVE_BND1): Likewise.
748 (REGISTER_SAVE_BND2): Likewise.
749 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
750 bound registers when calling _dl_fixup.
752 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
754 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
755 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
757 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
758 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
759 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
760 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
761 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
762 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
763 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
765 2014-04-09 Peter Brett <peter@peter-b.co.uk>
768 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
769 pathconf(_PC_NAME_MAX).
771 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
773 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
775 (__PTHREAD_SPINS): Move definition to ...
776 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
777 (__PTHREAD_SPINS): ... here.
778 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
779 (__PTHREAD_SPIN): Likewise.
780 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
781 (__PTHREAD_SPIN): Likewise.
782 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
783 (__PTHREAD_SPIN): Likewise.
784 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
785 (__PTHREAD_SPIN): Likewise.
786 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
787 (__PTHREAD_SPIN): Likewise.
788 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
789 (__PTHREAD_SPIN): Likewise.
790 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
791 (__PTHREAD_SPIN): Likewise.
792 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
793 (__PTHREAD_SPIN): Likewise.
794 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
795 (__PTHREAD_SPIN): Likewise.
796 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
797 (__PTHREAD_SPIN): Likewise.
798 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
799 (__PTHREAD_SPIN): Likewise.
800 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
801 (__PTHREAD_SPIN): Likewise.
803 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
804 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
805 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
806 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
808 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
809 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
810 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
811 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
813 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
814 strlen symbol for non multi-arch builds.
815 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
816 missing hidden_def and weak_alias.
818 2014-04-08 Carlos O'Donell <carlos@redhat.com>
820 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
822 2014-04-07 Will Newton <will.newton@linaro.org>
824 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
825 and contents. [!_LIBC] Remove #ifndef and contents.
826 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
827 * string/memccpy.c (__memccpy): Use ANSI prototype.
828 * string/memfrob.c (memfrob): Likewise.
829 * string/strcoll.c (STRCOLL): Likewise.
830 * string/strlen.c (strlen): Likewise.
831 * string/strtok.c (STRTOK): Likewise.
832 * string/strcat.c: Remove unused #include of memcopy.h.
833 (strcat): Use ANSI prototype.
834 * string/strchr.c: Remove unused #include of memcopy.h.
835 (strchr): Use ANSI prototype.
836 * string/strcmp.c: Remove unused #include of memcopy.h.
837 (strcmp): Use ANSI prototype.
838 * string/strcpy.c: Remove unused #include of memcopy.h.
839 (strcpy): Use ANSI prototype.
841 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
843 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
844 * config.make.in (config-extra-cppflags): Set it from
846 * configure.ac (libc_extra_cflags): Make it accumulate over
848 (libc_extra_cppflags): New flag.
849 * configure. Regenerate.
850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
851 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
852 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
856 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
857 result for FE_DOWNWARD rounding mode.
858 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
862 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
864 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
865 in function argument name.
867 2014-04-03 David Svoboda <svoboda@cert.org>
870 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
873 2014-04-03 Roland McGrath <roland@hack.frob.com>
875 * elf/dl-unmap-segments.h: New file.
876 * sysdeps/generic/ldsodefs.h
877 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
878 * elf/dl-close.c: Include <dl-unmap-segments.h>.
879 * elf/dl-fptr.c: Likewise.
880 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
881 * sysdeps/aarch64/tlsdesc.c: Likewise.
882 * sysdeps/arm/tlsdesc.c: Likewise.
883 * sysdeps/i386/tlsdesc.c: Likewise.
884 * sysdeps/tile/dl-runtime.c: Likewise.
885 * sysdeps/x86_64/tlsdesc.c: Likewise.
886 * elf/dl-load.h: New file.
887 * elf/dl-load.c: Include it.
888 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
889 Macros moved to dl-load.h.
890 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
891 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
892 Use _dl_unmap_segments in place of __munmap.
893 Break out segment-mapping loop into ...
894 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
896 2014-04-03 Will Newton <will.newton@linaro.org>
898 * elf/dl-lookup.c (do_lookup_x): Remove comment
899 referring to nested function and move variable
900 declarations down to before first use.
902 2014-04-02 Joseph Myers <joseph@codesourcery.com>
906 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
908 * math/s_catanf.c (__catanf): Likewise.
909 * math/s_catanh.c (__catanh): Likewise.
910 * math/s_catanhf.c (__catanhf): Likewise.
911 * math/s_catanhl.c (__catanhl): Likewise.
912 * math/s_catanl.c (__catanl): Likewise.
913 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
914 by positive zero when computing -Inf result.
915 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
916 (catanh_test): Likewise.
917 * sysdeps/i386/fpu/libm-test-ulps: Update.
918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
921 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
922 instead of using underflowing value in computing result.
923 * math/s_clog10.c (__clog10): Likewise.
924 * math/s_clog10f.c (__clog10f): Likewise.
925 * math/s_clog10l.c (__clog10l): Likewise.
926 * math/s_clogf.c (__clogf): Likewise.
927 * math/s_clogl.c (__clogl): Likewise.
928 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
929 (clog10_test): Likewise.
930 * sysdeps/i386/fpu/libm-test-ulps: Update.
931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
933 2014-04-02 Alan Modra <amodra@gmail.com>
936 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
937 output when value is near a power of two. Use int64_t for lx and
938 remove casts. Use decimal rather than hex exponent constants.
939 Don't use long double multiplication when double will suffice.
940 * math/libm-test.inc (nextafter_test_data): Add tests.
941 * NEWS: Add 16739 and 16786 to bug list.
943 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
945 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
947 2014-04-01 Will Newton <will.newton@linaro.org>
949 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
950 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
952 2014-04-01 Florian Weimer <fweimer@redhat.com>
955 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
956 * nptl/tst-setuid2.c: New file.
957 * nptl/Makefile (xtests): Add tst-setuid2.
959 2014-04-01 Alan Modra <amodra@gmail.com>
962 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
964 2014-03-31 Joseph Myers <joseph@codesourcery.com>
968 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
969 set errno as appropriate.
970 * math/w_scalbf.c (__scalbf): Likewise.
971 * math/w_scalbl.c (__scalbl): Likewise.
972 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
973 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
974 * math/libm-test.inc (scalb_test_data): Add errno expectations.
978 * math/w_atan2.c: Include <errno.h>.
979 (__atan2): Set errno for result underflowing to zero.
980 * math/w_atan2f.c: Include <errno.h>.
981 (__atan2f): Set errno for result underflowing to zero.
982 * math/w_atan2l.c: Include <errno.h>.
983 (__atan2l): Set errno for result underflowing to zero.
984 * math/auto-libm-test-in: Don't allow missing errno for some atan2
986 * math/auto-libm-test-out: Regenerated.
988 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
990 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
991 Encode instruction correctly in little endian.
992 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
994 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
996 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
998 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1001 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1004 * sysdeps/unix/sysv/linux/kernel-features.h
1005 [__sparc__ && !__arch64__ && !__sparc_v9__]
1006 (__ASSUME_SET_ROBUST_LIST): Do not define.
1007 [__sparc__ && !__arch64__ && !__sparc_v9__]
1008 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1009 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1011 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1012 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1013 (__ASSUME_REQUEUE_PI): Likewise.
1014 (__ASSUME_SET_ROBUST_LIST): Likewise.
1015 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1016 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1018 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1019 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1021 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1023 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1025 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1026 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1028 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1029 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1033 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1034 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1035 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1037 2014-03-31 Will Newton <will.newton@linaro.org>
1039 * benchtests/Makefile (bench): Add ffs and ffsll to list
1041 * benchtests/ffs-inputs: New file.
1042 * benchtests/ffsll-inputs: Likewise.
1044 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1047 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1048 too large before casting to int.
1049 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1050 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1051 * math/libm-test.inc (scalb_test_data): Add more tests.
1053 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1055 * benchtests/Makefile (DETAILED_OPT): New make option.
1056 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1058 * benchtests/bench-skeleton.c: Include stdbool.h.
1059 (main): Store and print timings per input.
1060 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1061 member to each argument value.
1062 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1063 (_print_arg_data): Initialize per-input timing to 0.
1065 * benchtests/Makefile (timing-type): New binary.
1066 (bench-clean): Also remove bench-timing-type.
1067 (bench): New target for timing-type.
1068 (bench-func): Print output in JSON format.
1069 * benchtests/bench-skeleton.c (main): Print output in JSON
1071 * benchtests/bench-timing-type.c: New file.
1072 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1073 (TIMING_PRINT_STATS): Remove.
1074 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1077 * benchtests/bench-modf.c: Remove.
1078 * benchtests/modf-inputs: New inputs file.
1080 2014-03-28 Joseph Myers <joseph@codesourcery.com>
1083 * math/s_clog10.c (M_PI_LOG10E): New macro.
1084 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1085 imaginary parts are 0.
1086 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1087 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1088 imaginary parts are 0.
1089 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1090 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1091 imaginary parts are 0.
1092 * math/libm-test.inc (clog10_test_data): Update expected results
1093 for when real and imaginary parts are 0.
1095 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1097 * elf/dl-load.c: Finish conversion of __builtin_expect into
1100 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1103 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1104 1+x for argument with exponent below -67.
1105 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1107 * math/auto-libm-test-in: Add more tests of exp.
1108 * math/auto-libm-test-out: Regenerated.
1110 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1113 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1114 (nscd_getnetgrent): Use it.
1117 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1120 2014-03-27 Andi Kleen <ak@linux.intel.com>
1122 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1123 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1124 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1125 (lll_robust_unlock): Remove out of line section. Use cfi
1127 (LLL_STUB_UNWIND_INFO*): Remove.
1128 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1129 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1130 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1131 (lll_robust_unlock): Remove out of line section. Use cfi
1133 (LLL_STUB_UNWIND_INFO*): Remove.
1135 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1138 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1141 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1143 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1145 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1148 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1150 * math/test-fenv-preserve.c: New file.
1151 * math/Makefile (tests): Add test-fenv-preserve.
1153 2014-03-26 Will Newton <will.newton@linaro.org>
1155 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1157 2014-03-25 Roland McGrath <roland@hack.frob.com>
1159 * scripts/versionlist.awk: Partition the version sets and emit all
1160 GLIBC_* (sorted) before all others (sorted).
1162 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1164 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1165 GLIBC_2.2.5 version.
1167 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1169 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1172 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1177 2014-03-25 Andreas Schwab <schwab@suse.de>
1179 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1180 label to be used after in6ailist is initialized.
1182 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1184 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1185 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1187 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1191 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1193 (fp_formats): Update initializers.
1194 (init_fp_formats): Initialize new field.
1195 (output_for_one_input_case): Allow underflow for results up to
1197 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1198 * math/auto-libm-test-in: Don't mark some underflows from asin and
1200 * math/auto-libm-test-out: Regenerated.
1201 * sysdeps/i386/fpu/libm-test-ulps: Update.
1202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1204 2014-03-25 Andreas Schwab <schwab@suse.de>
1206 * libio/Makefile (tst-ftell-partial-wide-ENV)
1207 (tst-ftell-active-handler-ENV): Define.
1209 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1211 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1213 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1215 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1217 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1219 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1220 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1221 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1223 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1226 * elf/dl-load.c (open_verify): Add mode parameter.
1227 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1228 (open_path): Change from boolean 'secure' to complete flag 'mode'
1229 (_dl_map_object): Adjust.
1230 * elf/Makefile (tests): Add tst-dlopen-aout.
1231 * elf/tst-dlopen-aout.c: New test.
1233 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1236 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1237 (struct stat): Rename member pad0 to __glibc_reserved0.
1240 * sysdeps/s390/s390-32/bits/wordsize.h
1241 (__WORDSIZE32_SIZE_ULONG): New define.
1242 * sysdeps/s390/s390-64/bits/wordsize.h
1243 (__WORDSIZE32_SIZE_ULONG): Likewise.
1244 * sysdeps/generic/stdint.h (SIZE_MAX):
1245 Define as UL if __WORDSIZE32_SIZE_ULONG.
1248 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1249 (__glibc_reserved0): New variable.
1250 (sa_flags): Change type to int.
1252 * posix/Makefile (before-compile): Use += before-compile instead
1255 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1256 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1258 2014-03-20 Andreas Schwab <schwab@suse.de>
1261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1262 non-matching result from nscd.
1264 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1266 * scripts/bench.py: Moved to ...
1267 * benchtests/scripts/bench.py: ... here.
1268 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1270 2014-03-24 Andreas Schwab <schwab@suse.de>
1273 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1274 alloca_account and account alloca use for struct in6ailist.
1276 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1279 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1280 rounding mode to recompute results that overflow to infinity or
1282 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1284 * math/auto-libm-test-out: Regenerated.
1285 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1286 (ccosh_test): Likewise.
1287 (csin_test_data): Use plus_oflow.
1288 (csin_test): Use ALL_RM_TEST.
1289 (csinh_test_data): Use plus_oflow.
1290 (csinh_test): Use ALL_RM_TEST.
1291 * sysdeps/i386/fpu/libm-test-ulps: Update.
1292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1294 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1296 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1297 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1298 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1301 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1303 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1304 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1305 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1306 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1308 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1309 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1311 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1312 * sysdeps/i386/fpu/libm-test-ulps: Update.
1313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1315 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1317 * scripts/bench.pl: Remove file.
1318 * scripts/bench.py: New benchmark script.
1319 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1320 * benchtests/README: Mention python dependency.
1321 * scripts/pylintrc: New file.
1322 * scripts/pylint: New file.
1324 * bits/mathdef.h: Use #ifdef instead of #if.
1325 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1326 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1327 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1328 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1329 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1330 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1332 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1333 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1335 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1337 and strpbrk-ppc64 objects.
1338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1339 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1340 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1341 multiarch strpbrk for POWER7.
1342 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1343 multiarch strpbrk for PPC64.
1344 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1346 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1349 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1351 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1352 (atan_test): Likewise.
1353 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1354 (atanh_test): Use ALL_RM_TEST.
1355 (atan2_test_data): Likewise.
1356 (cabs_test): Likewise.
1357 (cacosh_test): Likewise.
1358 (carg_test): Likewise.
1359 (casin_test): Likewise.
1360 (casinh_test): Likewise.
1361 (cbrt_test): Likewise.
1362 (csqrt_test): Likewise.
1363 (erf_test): Likewise.
1364 (erfc_test): Likewise.
1365 (pow10_test): Likewise.
1366 (exp2_test): Likewise.
1367 (hypot_test): Likewise.
1368 (j0_test): Likewise.
1369 (j1_test): Likewise.
1370 (lgamma_test): Likewise.
1371 (gamma_test): Likewise.
1372 (sincos_test): Likewise.
1373 (tanh_test): Likewise.
1374 (y0_test): Likewise.
1375 (y1_test): Likewise.
1376 * sysdeps/i386/fpu/libm-test-ulps: Update.
1377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1379 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1381 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1383 and strcspn-ppc64 objects.
1384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1385 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1386 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1387 multiarch strcspn for POWER7.
1388 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1389 multiarch strcspn for PPC64.
1390 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1392 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1395 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1397 * math/gen-libm-test.pl (generate_testfile): Expect only function
1398 name as argument to AUTO_TESTS_* and pass results for all rounding
1399 modes to parse_args.
1400 (parse_auto_input): Separate inputs of automatic tests from
1401 outputs before storing in %auto_tests.
1402 * math/libm-test.inc (acos_test_data): Update call to
1404 (acos_test): Use ALL_RM_TEST.
1405 (acos_tonearest_test_data): Remove.
1406 (acos_test_tonearest): Likewise.
1407 (acos_towardzero_test_data): Likewise.
1408 (acos_test_towardzero): Likewise.
1409 (acos_downward_test_data): Likewise.
1410 (acos_test_downward): Likewise.
1411 (acos_upward_test_data): Likewise.
1412 (acos_test_upward): Likewise.
1413 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1414 (asin_test_data): Likewise.
1415 (asin_test): Use ALL_RM_TEST.
1416 (asin_tonearest_test_data): Remove.
1417 (asin_test_tonearest): Likewise.
1418 (asin_towardzero_test_data): Likewise.
1419 (asin_test_towardzero): Likewise.
1420 (asin_downward_test_data): Likewise.
1421 (asin_test_downward): Likewise.
1422 (asin_upward_test_data): Likewise.
1423 (asin_test_upward): Likewise.
1424 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1425 (atan_test_data): Likewise.
1426 (atanh_test_data): Likewise.
1427 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1428 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1429 (carg_test_data): Likewise.
1430 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1431 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1432 (ccosh_test_data): Likewise.
1433 (cexp_test_data): Likewise.
1434 (clog_test_data): Likewise.
1435 (clog10_test_data): Likewise.
1436 (cos_test_data): Update call to AUTO_TESTS_f_f.
1437 (cos_test): Use ALL_RM_TEST.
1438 (cos_tonearest_test_data): Remove.
1439 (cos_test_tonearest): Likewise.
1440 (cos_towardzero_test_data): Likewise.
1441 (cos_test_towardzero): Likewise.
1442 (cos_downward_test_data): Likewise.
1443 (cos_test_downward): Likewise.
1444 (cos_upward_test_data): Likewise.
1445 (cos_test_upward): Likewise.
1446 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1447 (cosh_test): Use ALL_RM_TEST.
1448 (cosh_tonearest_test_data): Remove.
1449 (cosh_test_tonearest): Likewise.
1450 (cosh_towardzero_test_data): Likewise.
1451 (cosh_test_towardzero): Likewise.
1452 (cosh_downward_test_data): Likewise.
1453 (cosh_test_downward): Likewise.
1454 (cosh_upward_test_data): Likewise.
1455 (cosh_test_upward): Likewise.
1456 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1457 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1458 (ctan_test_data): Likewise.
1459 (ctan_test): Use ALL_RM_TEST.
1460 (ctan_tonearest_test_data): Remove.
1461 (ctan_test_tonearest): Likewise.
1462 (ctan_towardzero_test_data): Likewise.
1463 (ctan_test_towardzero): Likewise.
1464 (ctan_downward_test_data): Likewise.
1465 (ctan_test_downward): Likewise.
1466 (ctan_upward_test_data): Likewise.
1467 (ctan_test_upward): Likewise.
1468 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1469 (ctanh_test): Use ALL_RM_TEST.
1470 (ctanh_tonearest_test_data): Remove.
1471 (ctanh_test_tonearest): Likewise.
1472 (ctanh_towardzero_test_data): Likewise.
1473 (ctanh_test_towardzero): Likewise.
1474 (ctanh_downward_test_data): Likewise.
1475 (ctanh_test_downward): Likewise.
1476 (ctanh_upward_test_data): Likewise.
1477 (ctanh_test_upward): Likewise.
1478 (erf_test_data): Update call to AUTO_TESTS_f_f.
1479 (erfc_test_data): Likewise.
1480 (exp_test_data): Likewise.
1481 (exp_test): Use ALL_RM_TEST.
1482 (exp_tonearest_test_data): Remove.
1483 (exp_test_tonearest): Likewise.
1484 (exp_towardzero_test_data): Likewise.
1485 (exp_test_towardzero): Likewise.
1486 (exp_downward_test_data): Likewise.
1487 (exp_test_downward): Likewise.
1488 (exp_upward_test_data): Likewise.
1489 (exp_test_upward): Likewise.
1490 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1491 (exp10_test): Use ALL_RM_TEST.
1492 (exp10_tonearest_test_data): Remove.
1493 (exp10_test_tonearest): Likewise.
1494 (exp10_towardzero_test_data): Likewise.
1495 (exp10_test_towardzero): Likewise.
1496 (exp10_downward_test_data): Likewise.
1497 (exp10_test_downward): Likewise.
1498 (exp10_upward_test_data): Likewise.
1499 (exp10_test_upward): Likewise.
1500 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1501 (expm1_test_data): Likewise.
1502 (expm1_test): Use ALL_RM_TEST.
1503 (expm1_tonearest_test_data): Remove.
1504 (expm1_test_tonearest): Likewise.
1505 (expm1_towardzero_test_data): Likewise.
1506 (expm1_test_towardzero): Likewise.
1507 (expm1_downward_test_data): Likewise.
1508 (expm1_test_downward): Likewise.
1509 (expm1_upward_test_data): Likewise.
1510 (expm1_test_upward): Likewise.
1511 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1512 (fma_test): Use ALL_RM_TEST.
1513 (fma_towardzero_test_data): Remove.
1514 (fma_test_towardzero): Likewise.
1515 (fma_downward_test_data): Likewise.
1516 (fma_test_downward): Likewise.
1517 (fma_upward_test_data): Likewise.
1518 (fma_test_upward): Likewise.
1519 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1520 (j0_test_data): Update call to AUTO_TESTS_f_f.
1521 (j1_test_data): Likewise.
1522 (jn_test_data): Update call to AUTO_TESTS_if_f.
1523 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1524 (log_test_data): Update call to AUTO_TESTS_f_f.
1525 (log10_test_data): Likewise.
1526 (log1p_test_data): Likewise.
1527 (log2_test_data): Likewise.
1528 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1529 (pow_tonearest_test_data): Likewise.
1530 (sin_test_data): Update call to AUTO_TESTS_f_f.
1531 (sin_test): Use ALL_RM_TEST.
1532 (sin_tonearest_test_data): Remove.
1533 (sin_test_tonearest): Likewise.
1534 (sin_towardzero_test_data): Likewise.
1535 (sin_test_towardzero): Likewise.
1536 (sin_downward_test_data): Likewise.
1537 (sin_test_downward): Likewise.
1538 (sin_upward_test_data): Likewise.
1539 (sin_test_upward): Likewise.
1540 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1541 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1542 (sinh_test): Use ALL_RM_TEST.
1543 (sinh_tonearest_test_data): Remove.
1544 (sinh_test_tonearest): Likewise.
1545 (sinh_towardzero_test_data): Likewise.
1546 (sinh_test_towardzero): Likewise.
1547 (sinh_downward_test_data): Likewise.
1548 (sinh_test_downward): Likewise.
1549 (sinh_upward_test_data): Likewise.
1550 (sinh_test_upward): Likewise.
1551 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1552 (sqrt_test): Use ALL_RM_TEST.
1553 (sqrt_tonearest_test_data): Remove.
1554 (sqrt_test_tonearest): Likewise.
1555 (sqrt_towardzero_test_data): Likewise.
1556 (sqrt_test_towardzero): Likewise.
1557 (sqrt_downward_test_data): Likewise.
1558 (sqrt_test_downward): Likewise.
1559 (sqrt_upward_test_data): Likewise.
1560 (sqrt_test_upward): Likewise.
1561 (tan_test_data): Update call to AUTO_TESTS_f_f.
1562 (tan_test): Use ALL_RM_TEST.
1563 (tan_tonearest_test_data): Remove.
1564 (tan_test_tonearest): Likewise.
1565 (tan_towardzero_test_data): Likewise.
1566 (tan_test_towardzero): Likewise.
1567 (tan_downward_test_data): Likewise.
1568 (tan_test_downward): Likewise.
1569 (tan_upward_test_data): Likewise.
1570 (tan_test_upward): Likewise.
1571 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1572 (tgamma_test_data): Likewise.
1573 (y0_test_data): Likewise.
1574 (y1_test_data): Likewise.
1575 (yn_test_data): Update call to AUTO_TESTS_if_f.
1576 (main): Do not call removed functions.
1578 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1580 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1581 (ldexp_test_data): Remove.
1582 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1584 (scalb_test): Use ALL_RM_TEST.
1586 2014-03-19 Andreas Schwab <schwab@suse.de>
1588 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1590 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1593 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1594 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1595 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1596 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1597 (__ASSUME_PREADV): Undefine.
1598 (__ASSUME_PWRITEV): Likewise.
1600 2014-03-18 Roland McGrath <roland@hack.frob.com>
1602 * bits/mman-linux.h: Add comment about non-Linux use.
1603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1604 bits/mman-linux.h resting place.
1606 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1607 * bits/mman-linux.h: ... here.
1609 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1611 * conform/conformtest.pl: Add standard definition when calling C
1612 preprocessor on data files.
1613 (checknamespace): Remove unused variable.
1615 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1617 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1618 minus_oflow, plus_uflow and minus_uflow in expected results.
1619 * math/libm-test.inc (scalbn_test_data): Add more tests of
1620 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1622 (scalbn_test): Use ALL_RM_TEST.
1623 (scalbln_test_data): Add more tests of negative arguments. Use
1624 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1625 (scalbln_test): Use ALL_RM_TEST.
1627 2014-03-18 Roland McGrath <roland@hack.frob.com>
1629 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1631 2014-03-18 Will Newton <will.newton@linaro.org>
1633 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1636 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1638 * Makerules [!subdir] (check-abi): Exit with error status if a
1641 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1643 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1644 for rint. Include results for all rounding modes.
1645 (nearbyint_test): Use ALL_RM_TEST.
1646 (rint_test_data): Include all tests used for nearbyint.
1648 2014-03-17 Will Newton <will.newton@linaro.org>
1650 * nptl/sysdeps/pthread/pthread.h: Revert previous
1653 * sysdeps/generic/ldsodefs.h: Revert previous
1656 * libio/genops.c: Revert previous change.
1657 * libio/libioP.h: Likewise.
1658 * stdio-common/vfprintf.c: Likewise.
1660 * sysdeps/generic/math_private.h: Revert previous
1663 * sysdeps/generic/math_private.h: Check whether
1664 HAVE_RM_CTX is defined with #ifdef rather
1667 * argp/argp-fmtstream.h: Check whether
1668 __STRICT_ANSI__ is defined with #ifdef rather
1670 * argp/argp.h: Likewise.
1672 * libio/genops.c: Check whether
1673 _IO_JUMPS_OFFSET is defined with #ifdef rather
1675 * libio/libioP.h: Likewise.
1676 * stdio-common/vfprintf.c: Likewise.
1678 * sysdeps/generic/ldsodefs.h: Check whether
1679 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1682 * nptl/sysdeps/pthread/pthread.h: Check
1683 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1686 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1688 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1690 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1694 * libio/fileops.c (_IO_file_open): Seek to end of file but
1695 don't cache the offset.
1696 (get_file_offset): Remove function.
1697 (do_ftell): Use cached offset when available.
1698 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1699 don't cache the offset.
1700 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1702 (do_one_test): Call it.
1703 (do_ftell_test): Fix up expected old offset for a+ mode.
1704 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1707 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1708 up test status with function return status.
1709 (do_write_test): Likewise.
1710 (do_append_test): Likewise.
1712 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1713 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1716 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1718 * math/gen-libm-test.pl (parse_args): Handle results specified for
1719 each rounding mode separately.
1720 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1721 tests and results from lrint_tonearest_test_data,
1722 lrint_towardzero_test_data, lrint_downward_test_data and
1723 lrint_upward_test_data.
1724 (lrint_test): Use ALL_RM_TEST.
1725 (lrint_tonearest_test_data): Remove.
1726 (lrint_test_tonearest): Likewise.
1727 (lrint_towardzero_test_data): Likewise.
1728 (lrint_test_towardzero): Likewise.
1729 (lrint_downward_test_data): Likewise.
1730 (lrint_test_downward): Likewise.
1731 (lrint_upward_test_data): Likewise.
1732 (lrint_test_upward): Likewise.
1733 (llrint_test_data): Merge in per-rounding-mode tests and results
1734 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1735 llrint_downward_test_data and llrint_upward_test_data.
1736 (llrint_test): Use ALL_RM_TEST.
1737 (llrint_tonearest_test_data): Remove.
1738 (llrint_test_tonearest): Likewise.
1739 (llrint_towardzero_test_data): Likewise.
1740 (llrint_test_towardzero): Likewise.
1741 (llrint_downward_test_data): Likewise.
1742 (llrint_test_downward): Likewise.
1743 (llrint_upward_test_data): Likewise.
1744 (llrint_test_upward): Likewise.
1745 (rint_test_data): Merge in per-rounding-mode tests and results
1746 from rint_tonearest_test_data, rint_towardzero_test_data,
1747 rint_downward_test_data and rint_upward_test_data. Add
1748 per-rounding-mode results for tests not in those arrays.
1749 (rint_test): Use ALL_RM_TEST.
1750 (rint_tonearest_test_data): Remove.
1751 (rint_test_tonearest): Likewise.
1752 (rint_towardzero_test_data): Likewise.
1753 (rint_test_towardzero): Likewise.
1754 (rint_downward_test_data): Likewise.
1755 (rint_test_downward): Likewise.
1756 (rint_upward_test_data): Likewise.
1757 (rint_test_upward): Likewise.
1758 (main): Don't call removed functions.
1760 2014-03-14 Roland McGrath <roland@hack.frob.com>
1762 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1763 "Compiled on ..." crapola. It is anti-useful.
1765 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1767 * scripts/evaluate-test.sh: Handle fourth argument to determine
1768 whether test run should stop on failure.
1769 * Makeconfig (stop-on-test-failure): New variable.
1770 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1771 $(stop-on-test-failure).
1772 * Makefile (tests): Give a summary of results from testing and
1773 exit with failure status if they include an ERROR or FAIL.
1775 * manual/install.texi (Configuring and compiling): Mention
1776 stop-on-test-failure=y.
1777 * INSTALL: Regenerated.
1779 2014-03-14 Roland McGrath <roland@hack.frob.com>
1781 * scripts/versionlist.awk: New file.
1782 * Makerules [$(build-shared) = yes]
1783 (postclean-generated): Add Versions.def, not Versions.def.v and
1785 ($(common-objpfx)Versions.def.v.i): Target removed.
1786 ($(common-objpfx)Versions.def): New target.
1787 ($(common-objpfx)Versions.all): Depend on that rather that
1788 $(common-objpfx)Versions.def.v.
1789 * Versions.def: File removed.
1791 * Makeconfig (+gccwarn): Add -Wundef.
1792 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1793 a dl-sysdep.h breaking its contract.
1794 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1795 * include/stackinfo.h: New file.
1796 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1797 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1798 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1799 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1800 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1801 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1802 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1803 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1804 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1805 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1806 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1807 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1808 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1809 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1810 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1812 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1815 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1817 * math/libm-test.inc (round_test_data): Add more tests.
1820 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1822 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1825 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1827 * math/libm-test.inc (ceil_test_data): Add more tests.
1829 * math/libm-test.inc (trunc_test_data): Add more tests related to
1832 2014-03-14 Roland McGrath <roland@hack.frob.com>
1834 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1835 with #if rather than #ifdef.
1836 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1838 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1840 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1841 first. Disable AVX-512 GCC support if assembler doesn't support
1843 * sysdeps/x86_64/configure: Regenerated.
1845 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1847 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1848 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1849 (__old_pthread_attr_setstack): Likewise.
1850 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1851 [!_STACK_GROWS_DOWN]: Likewise.
1853 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1855 * config.make.in (have-bash2): Delete.
1856 * configure.ac (libc_cv_have_bash2): Delete.
1857 * configure: Regenerate.
1858 * elf/Makefile (common-ldd-rewrite): Rename to ...
1859 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1860 (sh-ldd-rewrite): Delete.
1861 (bash-ldd-rewrite): Delete.
1862 (have-bash2): Delete checks.
1863 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1866 * config.make.in (have-ksh): Delete.
1868 * configure.ac (libc_cv_have_ksh): Delete.
1869 * configure: Regenerate.
1871 * elf/Makefile: Delete $(have-ksh) check.
1872 ($(objpfx)sotruss): Change KSH to BASH.
1873 * elf/sotruss.ksh: Rename to ...
1874 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1875 function style to match POSIX. Drop ksh vim mode setting.
1877 * manual/time.texi (Specifying the Time Zone with TZ): Change
1878 Tuesday to Thursday.
1880 * debug/tst-longjmp_chk2.c: Update header comment.
1881 (stackoverflow_handler): Add comment. Call assert on pass value.
1883 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1885 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1886 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1887 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1888 (La_x86_64_vector): Add zmm.
1889 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1890 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1891 ($(objpfx)tst-audit10): New target.
1892 ($(objpfx)tst-audit10.out): Likewise.
1893 (tst-audit10-ENV): New.
1894 (AVX512-CFLAGS): Likewise.
1895 (CFLAGS-tst-audit10.c): Likewise.
1896 (CFLAGS-tst-auditmod10a.c): Likewise.
1897 (CFLAGS-tst-auditmod10b.c): Likewise.
1898 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1899 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1900 * sysdeps/x86_64/configure: Regenerated.
1901 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1902 AVX-512 zmm register support.
1903 (_dl_x86_64_save_sse): Likewise.
1904 (_dl_x86_64_restore_sse): Likewise.
1905 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1906 size vector registers.
1907 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1908 (ZMM_SIZE): Likewise.
1909 * sysdeps/x86_64/tst-audit10.c: New file.
1910 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1911 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1913 2014-03-13 Roland McGrath <roland@hack.frob.com>
1915 * configure.ac (HAVE_EHDR_START): New check.
1916 * configure: Regenerated.
1917 * config.h.in (HAVE_EHDR_START): New #undef.
1918 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1919 assuming the lowest-addressed segment maps the start of the file.
1921 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1923 * INSTALL: Regenerated.
1925 2014-03-13 Will Newton <will.newton@linaro.org>
1927 * manual/setjmp.texi (System V contexts): Improve
1928 clarity and grammar of documentation.
1930 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1933 * elf/Makefile (tests): Add tst-pie2.
1934 (tests-pie): Add tst-pie2.
1935 * elf/tst-pie2.c: New file.
1936 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1938 * elf/rtld.c (map_doit): Load executable as lt_executable.
1939 (dl_main): Likewise.
1941 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1944 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1945 (__ASSUME_PSELECT): Undefine.
1947 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1950 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1951 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1953 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1954 selector for static builds.
1956 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1959 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1962 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1964 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1965 IFUNC selector for static builds.
1967 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1969 * sysdeps/mips/math_private.h [__mips_hard_float]
1970 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1971 libc_feresetround_mips_ctx.
1972 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1973 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1974 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1977 * math/s_nextafter.c (__nextafter): Do not return value from
1978 overflowing computation.
1979 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1980 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1981 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1983 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1985 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1986 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1988 2014-03-11 Roland McGrath <roland@hack.frob.com>
1990 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1991 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1992 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1993 the new mov targetting sp.
1995 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1998 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1999 Define it for static builds as well.
2000 (NO_BZERO_IMPL): Likewise.
2002 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2004 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2005 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2006 multiarch strspn for PPC64.
2007 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2008 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2010 (__libc_ifunc_impl_list): Likewise.
2011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2012 multiarch optimizations
2013 * string/strspn.c (strspn): Using macro to redefine symbol name.
2015 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2016 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2018 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2019 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2020 multiarch strncat for PPC64.
2021 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2022 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2024 (__libc_ifunc_impl_list): Likewise.
2025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2026 multiarch optimizations
2028 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2031 * nscd/nscd.service: Make service type forking.
2033 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2035 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2036 sign in non default rounding modes.
2037 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2039 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2041 * math/libm-test.inc (ALL_RM_TEST): New macro.
2042 (ceil_test): Use ALL_RM_TEST.
2043 (cimag_test): Likewise.
2044 (conj_test): Likewise.
2045 (copysign_test): Likewise.
2046 (cproj_test): Likewise.
2047 (creal_test): Likewise.
2048 (fabs_test): Likewise.
2049 (floor_test): Likewise.
2050 (fmax_test): Likewise.
2051 (fmin_test): Likewise.
2052 (fmod_test): Likewise.
2053 (fpclassify_test): Likewise.
2054 (frexp_test): Likewise.
2055 (ilogb_test): Likewise.
2056 (isfinite_test): Likewise.
2057 (finite_test): Likewise.
2058 (isgreater_test): Likewise.
2059 (isgreaterequal_test): Likewise.
2060 (isinf_test): Likewise.
2061 (isless_test): Likewise.
2062 (islessequal_test): Likewise.
2063 (islessgreater_test): Likewise.
2064 (isnan_test): Likewise.
2065 (isnormal_test): Likewise.
2066 (issignaling_test): Likewise.
2067 (isunordered_test): Likewise.
2068 (logb_test): Likewise.
2069 (logb_downward_test_data): Remove.
2070 (logb_test_downward): Likewise.
2071 (lround_test): Use ALL_RM_TEST.
2072 (llround_test): Likewise.
2073 (modf_test): Likewise.
2074 (nexttoward_test): Likewise.
2075 (remainder_test): Likewise.
2076 (drem_test): Likewise.
2077 (remainder_tonearest_test_data): Likewise.
2078 (remainder_test_tonearest): Likewise.
2079 (drem_test_tonearest): Likewise.
2080 (remainder_towardzero_test_data): Likewise.
2081 (remainder_test_towardzero): Likewise.
2082 (drem_test_towardzero): Likewise.
2083 (remainder_downward_test_data): Likewise.
2084 (remainder_test_downward): Likewise.
2085 (drem_test_downward): Likewise.
2086 (remainder_upward_test_data): Likewise.
2087 (remainder_test_upward): Likewise.
2088 (drem_test_upward): Likewise.
2089 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2090 (round_test): Use ALL_RM_TEST.
2091 (signbit_test): Likewise.
2092 (trunc_test): Likewise.
2093 (significand_test): Likewise.
2094 (main): Don't call removed functions.
2096 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2099 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2101 (ILL_ILLOPN): Likewise.
2102 (ILL_ILLADR): Likewise.
2103 (ILL_ILLTRP): Likewise.
2104 (ILL_PRVOPC): Likewise.
2105 (ILL_PRVREG): Likewise.
2106 (ILL_COPROC): Likewise.
2107 (ILL_BADSTK): Likewise.
2108 (FPE_INTDIV): Likewise.
2109 (FPE_INTOVF): Likewise.
2110 (FPE_FLTDIV): Likewise.
2111 (FPE_FLTOVF): Likewise.
2112 (FPE_FLTUND): Likewise.
2113 (FPE_FLTRES): Likewise.
2114 (FPE_FLTINV): Likewise.
2115 (FPE_FLTSUB): Likewise.
2116 (SEGV_MAPERR): Likewise.
2117 (SEGV_ACCERR): Likewise.
2118 (BUS_ADRALN): Likewise.
2119 (BUS_ADRERR): Likewise.
2120 (BUS_OBJERR): Likewise.
2121 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2122 (TRAP_TRACE): Likewise.
2123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2125 (CLD_KILLED): Likewise.
2126 (CLD_DUMPED): Likewise.
2127 (CLD_TRAPPED): Likewise.
2128 (CLD_STOPPED): Likewise.
2129 (CLD_CONTINUED): Likewise.
2130 (POLL_IN): Likewise.
2131 (POLL_OUT): Likewise.
2132 (POLL_MSG): Likewise.
2133 (POLL_ERR): Likewise.
2134 (POLL_PRI): Likewise.
2135 (POLL_HUP): Likewise.
2136 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2138 (ILL_ILLOPN): Likewise.
2139 (ILL_ILLADR): Likewise.
2140 (ILL_ILLTRP): Likewise.
2141 (ILL_PRVOPC): Likewise.
2142 (ILL_PRVREG): Likewise.
2143 (ILL_COPROC): Likewise.
2144 (ILL_BADSTK): Likewise.
2145 (FPE_INTDIV): Likewise.
2146 (FPE_INTOVF): Likewise.
2147 (FPE_FLTDIV): Likewise.
2148 (FPE_FLTOVF): Likewise.
2149 (FPE_FLTUND): Likewise.
2150 (FPE_FLTRES): Likewise.
2151 (FPE_FLTINV): Likewise.
2152 (FPE_FLTSUB): Likewise.
2153 (SEGV_MAPERR): Likewise.
2154 (SEGV_ACCERR): Likewise.
2155 (BUS_ADRALN): Likewise.
2156 (BUS_ADRERR): Likewise.
2157 (BUS_OBJERR): Likewise.
2158 (BUS_MCEERR_AR): Likewise.
2159 (BUS_MCEERR_AO): Likewise.
2160 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2161 (TRAP_TRACE): Likewise.
2162 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2164 (CLD_KILLED): Likewise.
2165 (CLD_DUMPED): Likewise.
2166 (CLD_TRAPPED): Likewise.
2167 (CLD_STOPPED): Likewise.
2168 (CLD_CONTINUED): Likewise.
2169 (POLL_IN): Likewise.
2170 (POLL_OUT): Likewise.
2171 (POLL_MSG): Likewise.
2172 (POLL_ERR): Likewise.
2173 (POLL_PRI): Likewise.
2174 (POLL_HUP): Likewise.
2175 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2176 (ILL_ILLOPN): Likewise.
2177 (ILL_ILLADR): Likewise.
2178 (ILL_ILLTRP): Likewise.
2179 (ILL_PRVOPC): Likewise.
2180 (ILL_PRVREG): Likewise.
2181 (ILL_COPROC): Likewise.
2182 (ILL_BADSTK): Likewise.
2183 (FPE_INTDIV): Likewise.
2184 (FPE_INTOVF): Likewise.
2185 (FPE_FLTDIV): Likewise.
2186 (FPE_FLTOVF): Likewise.
2187 (FPE_FLTUND): Likewise.
2188 (FPE_FLTRES): Likewise.
2189 (FPE_FLTINV): Likewise.
2190 (FPE_FLTSUB): Likewise.
2191 (SEGV_MAPERR): Likewise.
2192 (SEGV_ACCERR): Likewise.
2193 (BUS_ADRALN): Likewise.
2194 (BUS_ADRERR): Likewise.
2195 (BUS_OBJERR): Likewise.
2196 (BUS_MCEERR_AR): Likewise.
2197 (BUS_MCEERR_AO): Likewise.
2198 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2199 (TRAP_TRACE): Likewise.
2200 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2202 (CLD_KILLED): Likewise.
2203 (CLD_DUMPED): Likewise.
2204 (CLD_TRAPPED): Likewise.
2205 (CLD_STOPPED): Likewise.
2206 (CLD_CONTINUED): Likewise.
2207 (POLL_IN): Likewise.
2208 (POLL_OUT): Likewise.
2209 (POLL_MSG): Likewise.
2210 (POLL_ERR): Likewise.
2211 (POLL_PRI): Likewise.
2212 (POLL_HUP): Likewise.
2213 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2215 (ILL_ILLOPN): Likewise.
2216 (ILL_ILLADR): Likewise.
2217 (ILL_ILLTRP): Likewise.
2218 (ILL_PRVOPC): Likewise.
2219 (ILL_PRVREG): Likewise.
2220 (ILL_COPROC): Likewise.
2221 (ILL_BADSTK): Likewise.
2222 (ILL_BADIADDR): Likewise.
2223 (ILL_BREAK): Likewise.
2224 (FPE_INTDIV): Likewise.
2225 (FPE_INTOVF): Likewise.
2226 (FPE_FLTDIV): Likewise.
2227 (FPE_FLTOVF): Likewise.
2228 (FPE_FLTUND): Likewise.
2229 (FPE_FLTRES): Likewise.
2230 (FPE_FLTINV): Likewise.
2231 (FPE_FLTSUB): Likewise.
2232 (FPE_DECOVF): Likewise.
2233 (FPE_DECDIV): Likewise.
2234 (FPE_DECERR): Likewise.
2235 (FPE_INVASC): Likewise.
2236 (FPE_INVDEC): Likewise.
2237 (SEGV_MAPERR): Likewise.
2238 (SEGV_ACCERR): Likewise.
2239 (SEGV_PSTKOVF): 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 (TRAP_BRANCH): Likewise.
2248 (TRAP_HWBKPT): Likewise.
2249 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2251 (CLD_KILLED): Likewise.
2252 (CLD_DUMPED): Likewise.
2253 (CLD_TRAPPED): Likewise.
2254 (CLD_STOPPED): Likewise.
2255 (CLD_CONTINUED): Likewise.
2256 (POLL_IN): Likewise.
2257 (POLL_OUT): Likewise.
2258 (POLL_MSG): Likewise.
2259 (POLL_ERR): Likewise.
2260 (POLL_PRI): Likewise.
2261 (POLL_HUP): Likewise.
2262 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2263 (ILL_ILLOPN): Likewise.
2264 (ILL_ILLADR): Likewise.
2265 (ILL_ILLTRP): Likewise.
2266 (ILL_PRVOPC): Likewise.
2267 (ILL_PRVREG): Likewise.
2268 (ILL_COPROC): Likewise.
2269 (ILL_BADSTK): Likewise.
2270 (FPE_INTDIV): Likewise.
2271 (FPE_INTOVF): Likewise.
2272 (FPE_FLTDIV): Likewise.
2273 (FPE_FLTOVF): Likewise.
2274 (FPE_FLTUND): Likewise.
2275 (FPE_FLTRES): Likewise.
2276 (FPE_FLTINV): Likewise.
2277 (FPE_FLTSUB): Likewise.
2278 (SEGV_MAPERR): Likewise.
2279 (SEGV_ACCERR): Likewise.
2280 (BUS_ADRALN): Likewise.
2281 (BUS_ADRERR): Likewise.
2282 (BUS_OBJERR): Likewise.
2283 (BUS_MCEERR_AR): Likewise.
2284 (BUS_MCEERR_AO): Likewise.
2285 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2286 (TRAP_TRACE): Likewise.
2287 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2289 (CLD_KILLED): Likewise.
2290 (CLD_DUMPED): Likewise.
2291 (CLD_TRAPPED): Likewise.
2292 (CLD_STOPPED): Likewise.
2293 (CLD_CONTINUED): Likewise.
2294 (POLL_IN): Likewise.
2295 (POLL_OUT): Likewise.
2296 (POLL_MSG): Likewise.
2297 (POLL_ERR): Likewise.
2298 (POLL_PRI): Likewise.
2299 (POLL_HUP): Likewise.
2300 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2301 (ILL_ILLOPN): Likewise.
2302 (ILL_ILLADR): Likewise.
2303 (ILL_ILLTRP): Likewise.
2304 (ILL_PRVOPC): Likewise.
2305 (ILL_PRVREG): Likewise.
2306 (ILL_COPROC): Likewise.
2307 (ILL_BADSTK): Likewise.
2308 (FPE_INTDIV): Likewise.
2309 (FPE_INTOVF): Likewise.
2310 (FPE_FLTDIV): Likewise.
2311 (FPE_FLTOVF): Likewise.
2312 (FPE_FLTUND): Likewise.
2313 (FPE_FLTRES): Likewise.
2314 (FPE_FLTINV): Likewise.
2315 (FPE_FLTSUB): Likewise.
2316 (SEGV_MAPERR): Likewise.
2317 (SEGV_ACCERR): Likewise.
2318 (BUS_ADRALN): Likewise.
2319 (BUS_ADRERR): Likewise.
2320 (BUS_OBJERR): Likewise.
2321 (BUS_MCEERR_AR): Likewise.
2322 (BUS_MCEERR_AO): Likewise.
2323 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2324 (TRAP_TRACE): Likewise.
2325 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2327 (CLD_KILLED): Likewise.
2328 (CLD_DUMPED): Likewise.
2329 (CLD_TRAPPED): Likewise.
2330 (CLD_STOPPED): Likewise.
2331 (CLD_CONTINUED): Likewise.
2332 (POLL_IN): Likewise.
2333 (POLL_OUT): Likewise.
2334 (POLL_MSG): Likewise.
2335 (POLL_ERR): Likewise.
2336 (POLL_PRI): Likewise.
2337 (POLL_HUP): Likewise.
2338 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2339 (ILL_ILLOPN): Likewise.
2340 (ILL_ILLADR): Likewise.
2341 (ILL_ILLTRP): Likewise.
2342 (ILL_PRVOPC): Likewise.
2343 (ILL_PRVREG): Likewise.
2344 (ILL_COPROC): Likewise.
2345 (ILL_BADSTK): Likewise.
2346 (FPE_INTDIV): Likewise.
2347 (FPE_INTOVF): Likewise.
2348 (FPE_FLTDIV): Likewise.
2349 (FPE_FLTOVF): Likewise.
2350 (FPE_FLTUND): Likewise.
2351 (FPE_FLTRES): Likewise.
2352 (FPE_FLTINV): Likewise.
2353 (FPE_FLTSUB): Likewise.
2354 (SEGV_MAPERR): Likewise.
2355 (SEGV_ACCERR): Likewise.
2356 (BUS_ADRALN): Likewise.
2357 (BUS_ADRERR): Likewise.
2358 (BUS_OBJERR): Likewise.
2359 (BUS_MCEERR_AR): Likewise.
2360 (BUS_MCEERR_AO): Likewise.
2361 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2362 (TRAP_TRACE): Likewise.
2363 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2365 (CLD_KILLED): Likewise.
2366 (CLD_DUMPED): Likewise.
2367 (CLD_TRAPPED): Likewise.
2368 (CLD_STOPPED): Likewise.
2369 (CLD_CONTINUED): Likewise.
2370 (POLL_IN): Likewise.
2371 (POLL_OUT): Likewise.
2372 (POLL_MSG): Likewise.
2373 (POLL_ERR): Likewise.
2374 (POLL_PRI): Likewise.
2375 (POLL_HUP): Likewise.
2376 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2377 (ILL_ILLOPN): Likewise.
2378 (ILL_ILLADR): Likewise.
2379 (ILL_ILLTRP): Likewise.
2380 (ILL_PRVOPC): Likewise.
2381 (ILL_PRVREG): Likewise.
2382 (ILL_COPROC): Likewise.
2383 (ILL_BADSTK): Likewise.
2384 (ILL_DBLFLT): Likewise.
2385 (ILL_HARDWALL): Likewise.
2386 (FPE_INTDIV): Likewise.
2387 (FPE_INTOVF): Likewise.
2388 (FPE_FLTDIV): Likewise.
2389 (FPE_FLTOVF): Likewise.
2390 (FPE_FLTUND): Likewise.
2391 (FPE_FLTRES): Likewise.
2392 (FPE_FLTINV): Likewise.
2393 (FPE_FLTSUB): Likewise.
2394 (SEGV_MAPERR): Likewise.
2395 (SEGV_ACCERR): Likewise.
2396 (BUS_ADRALN): Likewise.
2397 (BUS_ADRERR): Likewise.
2398 (BUS_OBJERR): Likewise.
2399 (BUS_MCEERR_AR): Likewise.
2400 (BUS_MCEERR_AO): Likewise.
2401 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2402 (TRAP_TRACE): Likewise.
2403 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2405 (CLD_KILLED): Likewise.
2406 (CLD_DUMPED): Likewise.
2407 (CLD_TRAPPED): Likewise.
2408 (CLD_STOPPED): Likewise.
2409 (CLD_CONTINUED): Likewise.
2410 (POLL_IN): Likewise.
2411 (POLL_OUT): Likewise.
2412 (POLL_MSG): Likewise.
2413 (POLL_ERR): Likewise.
2414 (POLL_PRI): Likewise.
2415 (POLL_HUP): Likewise.
2416 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2417 (ILL_ILLOPN): Likewise.
2418 (ILL_ILLADR): Likewise.
2419 (ILL_ILLTRP): Likewise.
2420 (ILL_PRVOPC): Likewise.
2421 (ILL_PRVREG): Likewise.
2422 (ILL_COPROC): Likewise.
2423 (ILL_BADSTK): Likewise.
2424 (FPE_INTDIV): Likewise.
2425 (FPE_INTOVF): Likewise.
2426 (FPE_FLTDIV): Likewise.
2427 (FPE_FLTOVF): Likewise.
2428 (FPE_FLTUND): Likewise.
2429 (FPE_FLTRES): Likewise.
2430 (FPE_FLTINV): Likewise.
2431 (FPE_FLTSUB): Likewise.
2432 (SEGV_MAPERR): Likewise.
2433 (SEGV_ACCERR): Likewise.
2434 (BUS_ADRALN): Likewise.
2435 (BUS_ADRERR): Likewise.
2436 (BUS_OBJERR): Likewise.
2437 (BUS_MCEERR_AR): Likewise.
2438 (BUS_MCEERR_AO): Likewise.
2439 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2440 (TRAP_TRACE): Likewise.
2441 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2443 (CLD_KILLED): Likewise.
2444 (CLD_DUMPED): Likewise.
2445 (CLD_TRAPPED): Likewise.
2446 (CLD_STOPPED): Likewise.
2447 (CLD_CONTINUED): Likewise.
2448 (POLL_IN): Likewise.
2449 (POLL_OUT): Likewise.
2450 (POLL_MSG): Likewise.
2451 (POLL_ERR): Likewise.
2452 (POLL_PRI): Likewise.
2453 (POLL_HUP): Likewise.
2454 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2455 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2458 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2459 before #include of <time.h>.
2460 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2461 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2462 (test-xfail-UNIX98/sched.h/conform): Likewise.
2464 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2466 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2467 error absence of trapping exception support.
2468 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2470 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2472 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2473 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2474 * timezone/Makefile (testdata): Move definition above include of
2476 (test-zones): New variable.
2477 (tests-special): Add zone files.
2478 (build-testdata): Use $(evaluate-test).
2480 * elf/Makefile (tests-special): Rename tests to end with .out.
2481 ($(objpfx)noload-mem): Likewise.
2482 ($(objpfx)tst-leaks1-mem): Likewise.
2483 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2484 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2485 $(objpfx)test-iconvconfig.out.
2486 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2487 set -e inside subshell and redirect output to file.
2488 * iconvdata/Makefile (generated): Rename tests to end with .out.
2490 (tests-special): Rename tests to end with .out.
2491 ($(objpfx)mtrace-tst-loading): Likewise.
2492 * intl/Makefile (generated): Likewise.
2493 (tests-special): Likewise.
2494 ($(objpfx)mtrace-tst-gettext): Likewise.
2495 * misc/Makefile (generated): Likewise.
2496 (tests-special): Likewise.
2497 ($(objpfx)tst-error1-mem): Likewise.
2498 * nptl/Makefile (tests-special): Likewise.
2499 ($(objpfx)tst-stack3-mem): Likewise.
2500 (generated): Likewise.
2501 * posix/Makefile (generated): Likewise.
2502 (tests-special): Likewise.
2503 (xtests-special): Likewise.
2504 ($(objpfx)tst-fnmatch-mem): Likewise.
2505 ($(objpfx)bug-regex2-mem): Likewise.
2506 ($(objpfx)bug-regex14-mem): Likewise.
2507 ($(objpfx)bug-regex21-mem): Likewise.
2508 ($(objpfx)bug-regex31-mem): Likewise.
2509 ($(objpfx)tst-vfork3-mem): Likewise.
2510 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2511 ($(objpfx)tst-pcre-mem): Likewise.
2512 ($(objpfx)tst-boost-mem): Likewise.
2513 ($(objpfx)bug-ga2-mem): Likewise.
2514 ($(objpfx)bug-glob2-mem): Likewise.
2515 * resolv/Makefile (generate): Likewise.
2516 (tests-special): Likewise.
2517 (xtests-special): Likewise.
2518 (generated): Likewise.
2519 ($(objpfx)mtrace-tst-leaks): Likewise.
2520 ($(objpfx)mtrace-tst-leaks2): Likewise.
2522 * scripts/merge-test-results.sh: New file.
2523 * Makefile (tests-special-notdir): New variable.
2524 (tests): Run merge-test-results.sh.
2526 * Rules (tests-special-notdir): New variable.
2527 (xtests-special-notdir): Likewise.
2528 (tests): Run merge-test-results.sh
2531 * Makeconfig (test-xfail-name): New variable.
2532 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2533 compute variable name for expected failures.
2534 * conform/Makefile (conformtest-headers-data): New variable.
2535 (conformtest-standards): Likewise.
2536 (conformtest-headers-ISO): Likewise.
2537 (conformtest-headers-ISO99): Likewise.
2538 (conformtest-headers-ISO11): Likewise.
2539 (conformtest-headers-POSIX): Likewise.
2540 (conformtest-headers-XPG3): Likewise.
2541 (conformtest-headers-XPG4): Likewise.
2542 (conformtest-headers-UNIX98): Likewise.
2543 (conformtest-headers-XOPEN2K): Likewise.
2544 (conformtest-headers-POSIX2008): Likewise.
2545 (conformtest-headers-XOPEN2K8): Likewise.
2546 (conformtest-header-list-base): Likewise.
2547 (conformtest-header-list-tests): Likewise.
2548 (conformtest-header-base): Likewise.
2549 (conformtest-header-tests): Likewise.
2550 (tests-special): Add $(conformtest-header-list-tests). If
2551 [$(fast-check) && !$(cross-compiling)], add
2552 $(conformtest-header-tests) instead of
2553 $(objpfx)run-conformtest.out.
2554 (generated): Add $(conformtest-header-list-base). If
2555 [$(fast-check) && !$(cross-compiling)], add
2556 $(conformtest-header-base). Remove previous setting.
2557 ($(conformtest-header-list-tests)): New target.
2558 (test-xfail-run-conformtest): Remove variable.
2559 ($(objpfx)run-conformtest.out): Remove target.
2560 (test-xfail-ISO11/complex.h/conform): New variable.
2561 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2562 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2563 (test-xfail-XPG3/varargs.h/conform): Likewise.
2564 (test-xfail-XPG4/varargs.h/conform): Likewise.
2565 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2566 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2567 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2568 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2569 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2570 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2571 (test-xfail-XPG3/ftw.h/conform): Likewise.
2572 (test-xfail-XPG3/grp.h/conform): Likewise.
2573 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2574 (test-xfail-XPG3/limits.h/conform): Likewise.
2575 (test-xfail-XPG3/pwd.h/conform): Likewise.
2576 (test-xfail-XPG3/search.h/conform): Likewise.
2577 (test-xfail-XPG3/signal.h/conform): Likewise.
2578 (test-xfail-XPG3/stdio.h/conform): Likewise.
2579 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2580 (test-xfail-XPG3/string.h/conform): Likewise.
2581 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2582 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2583 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2584 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2585 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2586 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2587 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2588 (test-xfail-XPG3/termios.h/conform): Likewise.
2589 (test-xfail-XPG3/time.h/conform): Likewise.
2590 (test-xfail-XPG3/unistd.h/conform): Likewise.
2591 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2592 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2593 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2594 (test-xfail-XPG4/netdb.h/conform): Likewise.
2595 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2596 (test-xfail-XPG4/signal.h/conform): Likewise.
2597 (test-xfail-XPG4/stdio.h/conform): Likewise.
2598 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2599 (test-xfail-XPG4/stropts.h/conform): Likewise.
2600 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2601 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2602 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2603 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2604 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2605 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2606 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2607 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2608 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2609 (test-xfail-XPG4/termios.h/conform): Likewise.
2610 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2611 (test-xfail-XPG4/unistd.h/conform): Likewise.
2612 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2613 (test-xfail-POSIX/sched.h/conform): Likewise.
2614 (test-xfail-POSIX/signal.h/conform): Likewise.
2615 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2616 (test-xfail-POSIX/tar.h/conform): Likewise.
2617 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2618 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2619 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2620 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2621 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2622 (test-xfail-UNIX98/sched.h/conform): Likewise.
2623 (test-xfail-UNIX98/signal.h/conform): Likewise.
2624 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2625 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2626 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2627 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2628 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2629 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2630 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2631 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2632 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2633 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2634 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2635 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2636 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2637 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2638 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2639 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2640 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2641 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2642 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2643 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2644 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2645 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2646 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2647 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2648 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2649 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2650 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2651 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2652 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2653 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2654 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2655 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2656 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2657 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2658 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2659 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2660 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2661 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2662 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2663 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2664 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2665 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2666 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2667 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2668 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2669 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2670 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2671 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2672 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2673 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2674 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2675 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2676 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2677 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2678 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2679 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2680 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2681 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2682 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2683 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2684 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2685 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2686 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2687 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2688 (conformtest-cc-flags): Likewise.
2689 ($(conformtest-header-tests): New target.
2690 * conform/check-header-lists.sh: New file.
2691 * conform/run-conformtest.sh: Remove.
2693 * conform/conformtest.pl: Allow ' and \ in values given for
2695 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2697 [POSIX] (sys/types.h): Likewise.
2698 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2700 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2702 * conform/data/signal.h-data (SIGIO): Remove expectation.
2703 [XPG3] (SIGBUS): Do not expect.
2704 [POSIX || XPG3] (SIGPOLL): Likewise.
2705 [POSIX || XPG3] (SIGPROF): Likewise.
2706 [POSIX || XPG3] (SIGSYS): Likewise.
2707 [XPG3] (SIGTRAP): Likewise.
2708 [POSIX || XPG3] (SIGURG): Likewise.
2709 [POSIX || XPG3] (SIGVTALRM): Likewise.
2710 [POSIX || XPG3] (SIGXCPU): Likewise.
2711 [POSIX || XPG3] (SIGXFSZ): Likewise.
2712 [POSIX] (SA_SIGINFO): Expect.
2713 [XPG3] (siginfo_t): Do not expect type or contents.
2714 [POSIX] (si_pid): Do not expect element.
2715 [POSIX] (si_uid): Likewise.
2716 [POSIX] (si_addr): Likewise.
2717 [POSIX] (si_status): Likewise.
2718 [POSIX] (si_band): Likewise.
2719 [XPG4] (si_value): Likewise.
2720 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2721 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2722 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2723 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2724 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2725 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2726 [POSIX || XPG3] (ILL_COPROC): Likewise.
2727 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2728 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2729 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2730 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2731 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2732 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2733 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2734 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2735 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2736 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2737 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2738 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2739 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2740 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2741 [POSIX || XPG3] (CLD_EXITED): Likewise.
2742 [POSIX || XPG3] (CLD_KILLED): Likewise.
2743 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2744 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2745 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2746 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2747 [POSIX || XPG3] (POLL_IN): Likewise.
2748 [POSIX || XPG3] (POLL_OUT): Likewise.
2749 [POSIX || XPG3] (POLL_MSG): Likewise.
2750 [POSIX || XPG3] (POLL_ERR): Likewise.
2751 [POSIX || XPG3] (POLL_PRI): Likewise.
2752 [POSIX || XPG3] (POLL_HUP): Likewise.
2753 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2754 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2755 (SIG*): Do not allow.
2756 [XPG3] (si_*): Likewise.
2757 [XPG3] (SI_*): Likewise.
2758 [XPG3 || XPG4] (sigev_*): Likewise.
2759 [XPG3 || XPG4] (SIGEV_*): Likewise.
2760 [XPG3 || XPG4] (sival_*): Likewise.
2761 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2762 [POSIX || XPG3] (BUS_*): Likewise.
2763 [POSIX || XPG3] (CLD_*): Likewise.
2764 [POSIX || XPG3] (FPE_*): Likewise.
2765 [POSIX || XPG3] (ILL_*): Likewise.
2766 [POSIX || XPG3] (POLL_*): Likewise.
2767 [POSIX || XPG3] (SEGV_*): Likewise.
2768 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2769 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2770 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2771 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2772 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2773 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2774 Specify type and value.
2775 (TVERSLEN): Likewise.
2776 (REGTYPE): Likewise.
2777 (AREGTYPE): Likewise.
2778 (LNKTYPE): Likewise.
2779 (SYMTYPE): Likewise.
2780 (CHRTYPE): Likewise.
2781 (BLKTYPE): Likewise.
2782 (DIRTYPE): Likewise.
2783 (FIFOTYPE): Likewise.
2784 (CONTTYPE): Likewise.
2789 (TUWRITE): Likewise.
2792 (TGWRITE): Likewise.
2795 (TOWRITE): Likewise.
2797 [POSIX] (TSVTX): Expect constant.
2799 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2801 * Makefile (tests): Change dependencies to ....
2802 (tests-special): ... additions to this variable.
2803 (tests): Depend on $(tests-special).
2804 * Makerules (check-abi-list): New variable.
2805 (check-abi): Depend on $(check-abi-list).
2806 [$(subdir) = elf] (tests-special): Add
2807 $(objpfx)check-abi-libc.out.
2808 [$(build-shared) = yes && subdir] (tests-special): Add
2810 [$(build-shared) = yes && subdir] (tests): Do not depend on
2812 * Rules (tests): Depend on $(tests-special).
2813 (xtests): Depend on $(xtests-special).
2814 * catgets/Makefile (tests): Change dependencies to ....
2815 (tests-special): ... additions to this variable.
2816 * conform/Makefile (tests): Change dependencies to ....
2817 (tests-special): ... additions to this variable.
2818 * elf/Makefile (tests): Change dependencies to ....
2819 (tests-special): ... additions to this variable.
2820 * grp/Makefile (tests): Change dependencies to ....
2821 (tests-special): ... additions to this variable.
2822 * iconv/Makefile (xtests): Change dependencies to ....
2823 (xtests-special): ... additions to this variable.
2824 * iconvdata/Makefile (tests): Change dependencies to ....
2825 (tests-special): ... additions to this variable.
2826 * intl/Makefile (tests): Change dependencies to ....
2827 (tests-special): ... additions to this variable. Also add
2828 $(objpfx)tst-gettext.out.
2829 * io/Makefile (tests): Change dependencies to ....
2830 (tests-special): ... additions to this variable.
2831 * libio/Makefile (tests): Change dependencies to ....
2832 (tests-special): ... additions to this variable.
2833 * malloc/Makefile (tests): Change dependencies to ....
2834 (tests-special): ... additions to this variable.
2835 * misc/Makefile (tests): Change dependencies to ....
2836 (tests-special): ... additions to this variable.
2837 * nptl/Makefile (tests): Change dependencies to ....
2838 (tests-special): ... additions to this variable.
2839 * nptl_db/Makefile (tests): Change dependencies to ....
2840 (tests-special): ... additions to this variable.
2841 * posix/Makefile (tests): Change dependencies to ....
2842 (tests-special): ... additions to this variable.
2843 (xtests): Change dependencies to ....
2844 (xtests-special): ... additions to this variable.
2845 * resolv/Makefile (tests): Change dependencies to ....
2846 (tests-special): ... additions to this variable.
2847 (xtests): Change dependencies to ....
2848 (xtests-special): ... additions to this variable.
2849 * stdio-common/Makefile (tests): Change dependencies to ....
2850 (tests-special): ... additions to this variable.
2851 (do-tst-unbputc): Remove target.
2852 (do-tst-printf): Likewise.
2853 * stdlib/Makefile (tests): Change dependencies to ....
2854 (tests-special): ... additions to this variable.
2855 * string/Makefile (tests): Change dependencies to ....
2856 (tests-special): ... additions to this variable.
2857 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2858 (tests-special): ... additions to this variable.
2860 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2862 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2864 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2865 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2867 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2868 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2869 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2870 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2871 * conform/data/libgen.h-data [XPG3]: Likewise.
2872 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2873 * conform/data/ndbm.h-data [XPG3]: Likewise.
2874 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2875 * conform/data/netdb.h-data [XPG3]: Likewise.
2876 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2877 * conform/data/poll.h-data [XPG3]: Likewise.
2878 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2879 * conform/data/strings.h-data [XPG3]: Likewise.
2880 * conform/data/stropts.h-data [XPG3]: Likewise.
2881 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2882 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2883 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2885 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2886 * conform/data/sys/time.h-data [XPG3]: Likewise.
2887 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2888 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2889 * conform/data/sys/un.h-data [XPG3]: Likewise.
2890 * conform/data/syslog.h-data [XPG3]: Likewise.
2891 * conform/data/ucontext.h-data [XPG3]: Likewise.
2892 * conform/data/utmpx.h-data [XPG3]: Likewise.
2893 * conform/data/varargs.h-data [UNIX98]: Enable file.
2895 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2897 * math/libm-test.inc (struct test_f_f_data): Move expected results
2898 into structure for each rounding mode.
2899 (struct test_ff_f_data): Likewise.
2900 (struct test_ff_f_data_nexttoward): Likewise.
2901 (struct test_fi_f_data): Likewise.
2902 (struct test_fl_f_data): Likewise.
2903 (struct test_if_f_data): Likewise.
2904 (struct test_fff_f_data): Likewise.
2905 (struct test_c_f_data): Likewise.
2906 (struct test_f_f1_data): Likewise.
2907 (struct test_fF_f1_data): Likewise.
2908 (struct test_ffI_f1_data): Likewise.
2909 (struct test_c_c_data): Likewise.
2910 (struct test_cc_c_data): Likewise.
2911 (struct test_f_i_data): Likewise.
2912 (struct test_ff_i_data): Likewise.
2913 (struct test_f_l_data): Likewise.
2914 (struct test_f_L_data): Likewise.
2915 (struct test_fFF_11_data): Likewise.
2917 (RM_FE_DOWNWARD): Likewise.
2918 (RM_FE_TONEAREST): Likewise.
2919 (RM_FE_TOWARDZERO): Likewise.
2920 (RM_FE_UPWARD): Likewise.
2921 (RUN_TEST_LOOP_f_f): Update references to expected results.
2922 (RUN_TEST_LOOP_2_f): Likewise.
2923 (RUN_TEST_LOOP_fff_f): Likewise.
2924 (RUN_TEST_LOOP_c_f): Likewise.
2925 (RUN_TEST_LOOP_f_f1): Likewise.
2926 (RUN_TEST_LOOP_fF_f1): Likewise.
2927 (RUN_TEST_LOOP_fI_f1): Likewise.
2928 (RUN_TEST_LOOP_ffI_f1): Likewise.
2929 (RUN_TEST_LOOP_c_c): Likewise.
2930 (RUN_TEST_LOOP_cc_c): Likewise.
2931 (RUN_TEST_LOOP_f_i): Likewise.
2932 (RUN_TEST_LOOP_f_i_tg): Likewise.
2933 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2934 (RUN_TEST_LOOP_f_b): Likewise.
2935 (RUN_TEST_LOOP_f_b_tg): Likewise.
2936 (RUN_TEST_LOOP_f_l): Likewise.
2937 (RUN_TEST_LOOP_f_L): Likewise.
2938 (RUN_TEST_LOOP_fFF_11): Likewise.
2939 * math/gen-libm-test.pl (parse_args): Output four copies of
2940 expected results for each test.
2942 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2943 (__ASSUME_UTIMES): Remove.
2944 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2945 (__ASSUME_UTIMES): Likewise.
2947 * math/gen-auto-libm-tests.c: Update comment on output format.
2948 (output_for_one_input_case): Generate before-rounding and
2949 after-rounding information as conditions on output flags not
2950 floating-point format.
2951 * math/auto-libm-test-out: Regenerated.
2952 * math/gen-libm-test.pl (cond_value): New function.
2953 (or_cond_value): Use cond_value.
2954 (generate_testfile): Handle conditional exceptions.
2956 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2958 * math/libm-test.inc (max_valid_error): New variable.
2959 (init_max_error): Take new argument specifying whether function
2960 results are exactly determined. Set max_valid_error and bound
2961 other variables for errors based on this argument.
2962 (set_max_error): Do not record results above max_valid_error.
2963 (check_float_internal): Only accept errors of up to 0.5ulps if
2964 also at most max_valid_error.
2965 (START): Take new argument EXACT and pass it to init_max_error.
2966 (acos_test): Update call to START.
2967 (acos_test_tonearest): Likewise.
2968 (acos_test_towardzero): Likewise.
2969 (acos_test_downward): Likewise.
2970 (acos_test_upward): Likewise.
2971 (acosh_test): Likewise.
2972 (asin_test): Likewise.
2973 (asin_test_tonearest): Likewise.
2974 (asin_test_towardzero): Likewise.
2975 (asin_test_downward): Likewise.
2976 (asin_test_upward): Likewise.
2977 (asinh_test): Likewise.
2978 (atan_test): Likewise.
2979 (atanh_test): Likewise.
2980 (atan2_test): Likewise.
2981 (cabs_test): Likewise.
2982 (cacos_test): Likewise.
2983 (cacosh_test): Likewise.
2984 (carg_test): Likewise.
2985 (casin_test): Likewise.
2986 (casinh_test): Likewise.
2987 (catan_test): Likewise.
2988 (catanh_test): Likewise.
2989 (cbrt_test): Likewise.
2990 (ccos_test): Likewise.
2991 (ccosh_test): Likewise.
2992 (ceil_test): Likewise.
2993 (cexp_test): Likewise.
2994 (cimag_test): Likewise.
2995 (clog_test): Likewise.
2996 (clog10_test): Likewise.
2997 (conj_test): Likewise.
2998 (copysign_test): Likewise.
2999 (cos_test): Likewise.
3000 (cos_test_tonearest): Likewise.
3001 (cos_test_towardzero): Likewise.
3002 (cos_test_downward): Likewise.
3003 (cos_test_upward): Likewise.
3004 (cosh_test): Likewise.
3005 (cosh_test_tonearest): Likewise.
3006 (cosh_test_towardzero): Likewise.
3007 (cosh_test_downward): Likewise.
3008 (cosh_test_upward): Likewise.
3009 (cpow_test): Likewise.
3010 (cproj_test): Likewise.
3011 (creal_test): Likewise.
3012 (csin_test): Likewise.
3013 (csinh_test): Likewise.
3014 (csqrt_test): Likewise.
3015 (ctan_test): Likewise.
3016 (ctan_test_tonearest): Likewise.
3017 (ctan_test_towardzero): Likewise.
3018 (ctan_test_downward): Likewise.
3019 (ctan_test_upward): Likewise.
3020 (ctanh_test): Likewise.
3021 (ctanh_test_tonearest): Likewise.
3022 (ctanh_test_towardzero): Likewise.
3023 (ctanh_test_downward): Likewise.
3024 (ctanh_test_upward): Likewise.
3025 (erf_test): Likewise.
3026 (erfc_test): Likewise.
3027 (exp_test): Likewise.
3028 (exp_test_tonearest): Likewise.
3029 (exp_test_towardzero): Likewise.
3030 (exp_test_downward): Likewise.
3031 (exp_test_upward): Likewise.
3032 (exp10_test): Likewise.
3033 (exp10_test_tonearest): Likewise.
3034 (exp10_test_towardzero): Likewise.
3035 (exp10_test_downward): Likewise.
3036 (exp10_test_upward): Likewise.
3037 (pow10_test): Likewise.
3038 (exp2_test): Likewise.
3039 (expm1_test): Likewise.
3040 (expm1_test_tonearest): Likewise.
3041 (expm1_test_towardzero): Likewise.
3042 (expm1_test_downward): Likewise.
3043 (expm1_test_upward): Likewise.
3044 (fabs_test): Likewise.
3045 (fdim_test): Likewise.
3046 (floor_test): Likewise.
3047 (fma_test): Likewise.
3048 (fma_test_towardzero): Likewise.
3049 (fma_test_downward): Likewise.
3050 (fma_test_upward): Likewise.
3051 (fmax_test): Likewise.
3052 (fmin_test): Likewise.
3053 (fmod_test): Likewise.
3054 (fpclassify_test): Likewise.
3055 (frexp_test): Likewise.
3056 (hypot_test): Likewise.
3057 (ilogb_test): Likewise.
3058 (isfinite_test): Likewise.
3059 (finite_test): Likewise.
3060 (isgreater_test): Likewise.
3061 (isgreaterequal_test): Likewise.
3062 (isinf_test): Likewise.
3063 (isless_test): Likewise.
3064 (islessequal_test): Likewise.
3065 (islessgreater_test): Likewise.
3066 (isnan_test): Likewise.
3067 (isnormal_test): Likewise.
3068 (issignaling_test): Likewise.
3069 (isunordered_test): Likewise.
3070 (j0_test): Likewise.
3071 (j1_test): Likewise.
3072 (jn_test): Likewise.
3073 (ldexp_test): Likewise.
3074 (lgamma_test): Likewise.
3075 (gamma_test): Likewise.
3076 (lrint_test): Likewise.
3077 (lrint_test_tonearest): Likewise.
3078 (lrint_test_towardzero): Likewise.
3079 (lrint_test_downward): Likewise.
3080 (lrint_test_upward): Likewise.
3081 (llrint_test): Likewise.
3082 (llrint_test_tonearest): Likewise.
3083 (llrint_test_towardzero): Likewise.
3084 (llrint_test_downward): Likewise.
3085 (llrint_test_upward): Likewise.
3086 (log_test): Likewise.
3087 (log10_test): Likewise.
3088 (log1p_test): Likewise.
3089 (log2_test): Likewise.
3090 (logb_test): Likewise.
3091 (logb_test_downward): Likewise.
3092 (lround_test): Likewise.
3093 (llround_test): Likewise.
3094 (modf_test): Likewise.
3095 (nearbyint_test): Likewise.
3096 (nextafter_test): Likewise.
3097 (nexttoward_test): Likewise.
3098 (pow_test): Likewise.
3099 (pow_test_tonearest): Likewise.
3100 (pow_test_towardzero): Likewise.
3101 (pow_test_downward): Likewise.
3102 (pow_test_upward): Likewise.
3103 (remainder_test): Likewise.
3104 (drem_test): Likewise.
3105 (remainder_test_tonearest): Likewise.
3106 (drem_test_tonearest): Likewise.
3107 (remainder_test_towardzero): Likewise.
3108 (drem_test_towardzero): Likewise.
3109 (remainder_test_downward): Likewise.
3110 (drem_test_downward): Likewise.
3111 (remainder_test_upward): Likewise.
3112 (drem_test_upward): Likewise.
3113 (remquo_test): Likewise.
3114 (rint_test): Likewise.
3115 (rint_test_tonearest): Likewise.
3116 (rint_test_towardzero): Likewise.
3117 (rint_test_downward): Likewise.
3118 (rint_test_upward): Likewise.
3119 (round_test): Likewise.
3120 (scalb_test): Likewise.
3121 (scalbn_test): Likewise.
3122 (scalbln_test): Likewise.
3123 (signbit_test): Likewise.
3124 (sin_test): Likewise.
3125 (sin_test_tonearest): Likewise.
3126 (sin_test_towardzero): Likewise.
3127 (sin_test_downward): Likewise.
3128 (sin_test_upward): Likewise.
3129 (sincos_test): Likewise.
3130 (sinh_test): Likewise.
3131 (sinh_test_tonearest): Likewise.
3132 (sinh_test_towardzero): Likewise.
3133 (sinh_test_downward): Likewise.
3134 (sinh_test_upward): Likewise.
3135 (sqrt_test): Likewise.
3136 (sqrt_test_tonearest): Likewise.
3137 (sqrt_test_towardzero): Likewise.
3138 (sqrt_test_downward): Likewise.
3139 (sqrt_test_upward): Likewise.
3140 (tan_test): Likewise.
3141 (tan_test_tonearest): Likewise.
3142 (tan_test_towardzero): Likewise.
3143 (tan_test_downward): Likewise.
3144 (tan_test_upward): Likewise.
3145 (tanh_test): Likewise.
3146 (tgamma_test): Likewise.
3147 (trunc_test): Likewise.
3148 (y0_test): Likewise.
3149 (y1_test): Likewise.
3150 (yn_test): Likewise.
3151 (significand_test): Likewise.
3153 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3154 individual tests in comment.
3155 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3156 (prev_max_error): New variable.
3157 (prev_real_max_error): Likewise.
3158 (prev_imag_max_error): Likewise.
3159 (compare_ulp_data): Don't refer to test names in comment.
3160 (find_test_ulps): Remove function.
3161 (find_function_ulps): Likewise.
3162 (find_complex_function_ulps): Likewise.
3163 (init_max_error): Take function name as argument. Look up ulps
3165 (print_ulps): Remove function.
3166 (print_max_error): Use prev_max_error instead of calling
3168 (print_complex_max_error): Use prev_real_max_error and
3169 prev_imag_max_error instead of calling find_complex_function_ulps.
3170 (check_float_internal): Take max_ulp parameter instead of calling
3171 find_test_ulps. Don't call print_ulps.
3172 (check_float): Update call to check_float_internal.
3173 (check_complex): Update calls to check_float_internal.
3174 (START): Pass argument to init_max_error.
3175 * math/gen-libm-test.pl (%results): Don't include "kind"
3177 (parse_ulps): Don't handle ulps of individual tests.
3178 (print_ulps_file): Likewise.
3179 (output_ulps): Likewise.
3180 * math/README.libm-test: Update.
3181 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3183 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3184 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3185 * sysdeps/arm/libm-test-ulps: Likewise.
3186 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3187 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3188 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3189 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3190 * sysdeps/microblaze/libm-test-ulps: Likewise.
3191 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3192 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3193 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3194 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3195 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3196 * sysdeps/sh/libm-test-ulps: Likewise.
3197 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3198 * sysdeps/tile/libm-test-ulps: Likewise.
3199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3201 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3203 * math/libm-test.inc (print_complex_max_error): Check separately
3204 whether real and imaginary errors are within allowed range and
3205 pass 0 to print_complex_function_ulps instead of value within
3208 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3210 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3212 (get_handles_fopen): Likewise.
3213 (do_write_test): Likewise.
3215 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3217 * libio/fileops.c (do_ftell): Use cached offset when
3219 * libio/iofwide.c (do_ftell_wide): Likewise.
3220 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3222 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3225 * libio/libioP.h (get_file_offset): New function.
3226 * libio/fileops.c (get_file_offset): Likewise.
3227 (do_ftell): Likewise.
3228 (_IO_new_file_seekoff): Split out ftell logic.
3229 * libio/wfileops.c (do_ftell_wide): Likewise.
3230 (_IO_wfile_seekoff): Split out ftell logic.
3231 * libio/tst-ftell-active-handler.c: New test case.
3232 * libio/Makefile (tests): Add it.
3234 2014-03-03 Roland McGrath <roland@hack.frob.com>
3236 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3237 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3239 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3242 * nscd/connections.c (nscd_init): Call do_exit.
3243 (start_threads): Call do_exit and notify_parent.
3244 (begin_drop_privileges): Call do_exit.
3245 (finish_drop_privileges): Likewise.
3246 * nscd/selinux.c (preserve_capabilities): Likewise.
3247 (install_real_capabilities): Likewise.
3248 (nscd_selinux_enabled): Likewise.
3249 (avc_create_thread): Likewise.
3250 (avc_alloc_lock): Likewise.
3251 (nscd_avc_init): Likewise.
3252 * nscd/nscd.c (parent_fd): New static variable.
3253 (main): Create a pipe between parent and child processes.
3254 Skip closing parent_fd.
3255 (monitor_child): New function.
3256 (do_exit): Likewise.
3257 (notify_parent): Likewise.
3258 * nscd/nscd.h (notify_parent): Likewise.
3259 (do_exit): Likewise.
3261 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3263 * malloc/malloc.c (__libc_calloc): Revert last change.
3265 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3269 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3271 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3275 (__libc_ifunc_impl_list): Likewise.
3276 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3277 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3278 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3279 * string/strrchr.c: Define STRRCHR.
3281 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3283 * benchtest/bench-strtok.c (simple_strtok): Delete.
3284 (strtok_string): Use as benchmark.
3285 * string/strtok (STRTOK): New macro.
3287 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3289 * manual/threads.texi: Add header and standard comments to all
3292 * elf/dl-lookup.c (check_match): New function.
3293 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3294 (do_lookup_x): Remove nested function check_match. Use non-nested
3295 function check_match.
3297 2014-02-28 Roland McGrath <roland@hack.frob.com>
3299 * csu/Makefile (generated, before-compile): Use += rather than =.
3300 * catgets/Makefile (generated, generated-dirs): Likewise.
3301 * debug/Makefile (generated): Likewise.
3302 * dlfcn/Makefile (generated): Likewise.
3303 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3304 * iconvdata/Makefile (before-compile, generated): Likewise.
3305 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3306 * libio/Makefile (generated): Likewise.
3307 * malloc/Makefile (generated): Likewise.
3308 * manual/Makefile (generated, generated-dirs): Likewise.
3309 * misc/Makefile (generated): Likewise.
3310 * posix/Makefile (generated): Likewise.
3311 * resolv/Makefile (generated): Likewise.
3312 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3313 * timezone/Makefile (generated, generated-dirs): Likewise.
3315 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3317 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3320 power8 implementation.
3321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3322 file: POWER8 llround ifunc implementation.
3323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3324 (__lllround): Add POWER8 implementation.
3325 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3326 POWER8 llround implementation.
3328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3329 power8 implementation.
3330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3331 file: POWER8 llrint ifunc implementation.
3332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3333 Add POWER8 implementation.
3334 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3335 POWER8 llrint implementation.
3337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3338 power8 implementation.
3339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3340 file: POWER8 finite ifunc implementation.
3341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3342 Add POWER8 implementation.
3343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3345 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3346 POWER8 finite implementation.
3347 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3350 power8 implementation.
3351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3352 file: POWER8 isinf ifunc implementation.
3353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3354 POWER8 implementation.
3355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3357 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3358 isinf implementation.
3359 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3361 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3362 (INIT_ARCH): Add hwcap2 initialization.
3363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3364 power8 implementation.
3365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3366 file: POWER8 isnan ifunc implementation.
3367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3368 POWER8 implementation.
3369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3371 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3372 isnan implementation.
3373 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3375 2014-02-27 Joey Ye <joey.ye@arm.com>
3377 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3378 (_FP_NANFRAC_Q): Set to zero.
3380 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3383 * math/auto-libm-test-in: New test inputs.
3384 * math/auto-libm-test-out: Regenerate.
3385 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3388 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3390 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3392 * scripts/evaluate-test.sh: Take new argument indicating whether
3393 failure is expected.
3394 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3395 indicating whether failure is expected.
3396 * conform/Makefile (test-xfail-run-conformtest): New variable.
3397 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3399 * posix/Makefile (test-xfail-annexc): New variable.
3400 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3402 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3404 * argp/Makefile: Include Makeconfig immediately after defining
3406 * assert/Makefile: Likewise.
3407 * benchtests/Makefile: Likewise.
3408 * catgets/Makefile: Likewise.
3409 * conform/Makefile: Likewise.
3410 * crypt/Makefile: Likewise.
3411 * csu/Makefile: Likewise.
3412 (all): Remove target.
3413 * ctype/Makefile: Include Makeconfig immediately after defining
3415 * debug/Makefile: Likewise.
3416 * dirent/Makefile: Likewise.
3417 * dlfcn/Makefile: Likewise.
3418 * gmon/Makefile: Likewise.
3419 * gnulib/Makefile: Likewise.
3420 * grp/Makefile: Likewise.
3421 * gshadow/Makefile: Likewise.
3422 * hesiod/Makefile: Likewise.
3423 * hurd/Makefile: Likewise.
3424 (all): Remove target.
3425 * iconvdata/Makefile: Include Makeconfig immediately after
3427 * inet/Makefile: Likewise.
3428 * intl/Makefile: Likewise.
3429 * io/Makefile: Likewise.
3430 * libio/Makefile: Likewise.
3431 (all): Remove target.
3432 * locale/Makefile: Include Makeconfig immediately after defining
3434 * login/Makefile: Likewise.
3435 * mach/Makefile: Likewise.
3436 (all): Remove target.
3437 * malloc/Makefile: Include Makeconfig immediately after defining
3439 (all): Remove target.
3440 * manual/Makefile: Include Makeconfig immediately after defining
3442 * math/Makefile: Likewise.
3443 * misc/Makefile: Likewise.
3444 * nis/Makefile: Likewise.
3445 * nss/Makefile: Likewise.
3446 * po/Makefile: Likewise.
3447 (all): Remove target.
3448 * posix/Makefile: Include Makeconfig immediately after defining
3450 * pwd/Makefile: Likewise.
3451 * resolv/Makefile: Likewise.
3452 * resource/Makefile: Likewise.
3453 * rt/Makefile: Likewise.
3454 * setjmp/Makefile: Likewise.
3455 * shadow/Makefile: Likewise.
3456 * signal/Makefile: Likewise.
3457 * socket/Makefile: Likewise.
3458 * soft-fp/Makefile: Likewise.
3459 * stdio-common/Makefile: Likewise.
3460 * stdlib/Makefile: Likewise.
3461 * streams/Makefile: Likewise.
3462 * string/Makefile: Likewise.
3463 * sunrpc/Makefile: Likewise.
3464 (all): Remove target.
3465 * sysvipc/Makefile: Include Makeconfig immediately after defining
3467 * termios/Makefile: Likewise.
3468 * time/Makefile: Likewise.
3469 * timezone/Makefile: Likewise.
3470 (all): Remove target.
3471 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3473 * wctype/Makefile: Likewise.
3475 2014-02-26 Steve Ellcey <sellcey@mips.com>
3477 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3478 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3479 (libc_feholdexcept_setround_mips): Ditto.
3480 (libc_feholdsetround): New.
3481 (libc_feholdsetroundf): New.
3482 (libc_feholdsetroundl): New.
3483 (libc_feupdateenv_test_mips): New.
3484 (libc_feupdateenv_test): New.
3485 (libc_feupdateenv_testf): New.
3486 (libc_feupdateenv_testl): New.
3487 (libc_feresetround): New.
3488 (libc_feresetroundf): New.
3489 (libc_feresetroundl): New.
3490 (libc_fetestexcept_mips): New.
3491 (libc_fetestexcept): New.
3492 (libc_fetestexceptf): New.
3493 (libc_fetestexceptl): New.
3495 (libc_feholdexcept_setround_mips_ctx): New.
3496 (libc_feholdexcept_setround_ctx): New.
3497 (libc_feholdexcept_setroundf_ctx): New.
3498 (libc_feholdexcept_setroundl_ctx): New.
3499 (libc_fesetenv_mips_ctx): New.
3500 (libc_fesetenv_ctx): New.
3501 (libc_fesetenv_ctxf): New.
3502 (libc_fesetenv_ctxl): New.
3503 (libc_feupdateenv_mips_ctx): New.
3504 (libc_feupdateenv_ctx): New.
3505 (libc_feupdateenvf_ctx): New.
3506 (libc_feupdateenvl_ctx): New.
3507 (libc_feholdsetround_mips_ctx): New.
3508 (libc_feholdsetround_ctx): New.
3509 (libc_feholdsetroundf_ctx): New.
3510 (libc_feholdsetroundl_ctx): New.
3511 (libc_feresetround_mips_ctx): New.
3512 (libc_feresetround_ctx): New.
3513 (libc_feresetroundf_ctx): New.
3514 (libc_feresetroundl_ctx): New.
3516 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3518 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3520 * manual/ipc.texi: New file.
3521 * manual/Makefile (chapters): Add ipc.
3522 * manual/job.texi: Add "Inter-Process Communication" to next.
3523 * manual/process.texi: Add "Inter-Process Communication" to prev.
3525 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3529 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3531 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3533 * manual/arith.texi: Fix spaces after sentences.
3534 * manual/charset.texi: Likewise.
3535 * manual/errno.texi: Likewise.
3536 * manual/install.texi: Likewise.
3537 * manual/llio.texi: Likewise.
3538 * manual/locale.texi: Likewise.
3539 * manual/maint.texi: Likewise.
3540 * manual/math.texi: Likewise.
3541 * manual/memory.texi: Likewise.
3542 * manual/message.texi: Likewise.
3543 * manual/probes.texi: Likewise.
3544 * manual/resource.texi: Likewise.
3545 * manual/signal.texi: Likewise.
3546 * manual/socket.texi: Likewise.
3547 * manual/stdio.texi: Likewise.
3548 * manual/string.texi: Likewise.
3549 * manual/time.texi: Likewise.
3550 * manual/users.texi: Likewise.
3552 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3555 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3556 _DEFAULT_SOURCE is defined.
3558 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3559 Carlos O'Donell <carlos@redhat.com>
3562 * elf/dl-tls.c (_dl_count_modids): New function.
3563 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3564 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3565 audit library and increment generation counter.
3566 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3567 * elf/tst-audit9.c: New file.
3568 * elf/tst-auditmod9a.c: New file.
3569 * elf/tst-auditmod9b.c: New file.
3570 * elf/Makefile: Add rules to build and run tst-audit9.
3572 2014-02-25 Florian Weimer <fweimer@redhat.com>
3575 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3577 2014-02-25 Will Newton <will.newton@linaro.org>
3579 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3580 (__longjmp): Restore sp and lr before restoring callee
3581 saved registers. Add longjmp and longjmp_target
3582 SystemTap probe point.
3583 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3584 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3585 Define to zero to match jmpbuf layout.
3586 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3587 (__sigsetjmp): Save sp and lr before saving callee
3588 saved registers. Add setjmp SystemTap probe point.
3590 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3592 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3594 2014-02-24 Andreas Schwab <schwab@suse.de>
3597 * elf/pldd.c (wait_for_ptrace_stop): New function.
3598 (main): Call it after attaching.
3600 2014-02-22 Roland McGrath <roland@hack.frob.com>
3602 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3603 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3604 Versions files is now verboten.
3605 * hurd/Versions (libc: GLIBC_2.0):
3606 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3607 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3608 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3609 * mach/Versions: Likewise.
3611 * csu/Versions: Remove unused %include.
3612 * resolv/Versions: Likewise.
3614 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3616 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3617 ($(objpfx)check-local-headers.out): Likewise.
3618 ($(objpfx)begin-end-check.out): Likewise.
3619 * Makerules (check-abi-%.out): Likewise.
3620 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3621 ($(objpfx)test2.cat): Likewise.
3622 ($(objpfx)de/libc.cat): Likewise.
3623 ($(objpfx)test-gencat.out): Likewise.
3624 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3625 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3626 ($(objpfx)noload-mem): Likewise.
3627 ($(objpfx)tst-pathopt.out): Likewise.
3628 ($(objpfx)tst-rtld-load-self.out): Likewise.
3629 ($(objpfx)tst-array1-cmp.out): Likewise.
3630 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3631 ($(objpfx)tst-array2-cmp.out): Likewise.
3632 ($(objpfx)tst-array3-cmp.out): Likewise.
3633 ($(objpfx)tst-array4-cmp.out): Likewise.
3634 ($(objpfx)tst-array5-cmp.out): Likewise.
3635 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3636 ($(objpfx)check-textrel.out): Likewise.
3637 ($(objpfx)check-execstack.out): Likewise.
3638 ($(objpfx)check-localplt.out): Likewise.
3639 ($(objpfx)order2-cmp.out): Likewise.
3640 ($(objpfx)tst-leaks1-mem): Likewise.
3641 ($(objpfx)tst-leaks1-static-mem): Likewise.
3642 ($(objpfx)tst-initorder-cmp.out): Likewise.
3643 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3644 ($(objpfx)tst-unused-dep.out): Likewise.
3645 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3646 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3647 * iconv/Makefile (test-iconvconfig): Likewise.
3648 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3649 ($(objpfx)iconv-test.out): Likewise.
3650 ($(objpfx)tst-tables.out): Likewise.
3651 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3652 ($(objpfx)tst-gettext.out): Likewise.
3653 ($(objpfx)tst-translit.out): Likewise.
3654 ($(objpfx)tst-gettext2.out): Likewise.
3655 ($(objpfx)tst-gettext4.out): Likewise.
3656 ($(objpfx)tst-gettext6.out): Likewise.
3657 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3658 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3659 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3660 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3661 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3662 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3663 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3664 ($(objpfx)wordexp-tst.out): Likewise.
3665 ($(objpfx)annexc.out): Likewise.
3666 ($(objpfx)tst-fnmatch-mem): Likewise.
3667 ($(objpfx)bug-regex2-mem): Likewise.
3668 ($(objpfx)bug-regex14-mem): Likewise.
3669 ($(objpfx)bug-regex21-mem): Likewise.
3670 ($(objpfx)bug-regex31-mem): Likewise.
3671 ($(objpfx)tst-vfork3-mem): Likewise.
3672 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3673 ($(objpfx)tst-pcre-mem): Likewise.
3674 ($(objpfx)tst-boost-mem): Likewise.
3675 ($(objpfx)tst-getconf.out): Likewise.
3676 ($(objpfx)bug-ga2-mem): Likewise.
3677 ($(objpfx)bug-glob2-mem): Likewise.
3678 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3679 ($(objpfx)mtrace-tst-leaks2): Likewise.
3680 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3681 ($(objpfx)tst-printf.out): Likewise.
3682 ($(objpfx)tst-setvbuf1.out): Likewise.
3683 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3684 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3685 ($(objpfx)tst-fmtmsg.out): Likewise.
3686 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3687 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3689 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3690 * bits/sigaction.h [__USE_MISC]: Likewise.
3691 * bits/waitstatus.h: Update #endif comments.
3692 * ctype/ctype.h: Likewise.
3693 * dirent/dirent.h: Likewise.
3694 [__USE_MISC]: Remove redundant conditionals.
3695 * grp/grp.h: Update #endif comments.
3696 [__USE_GNU]: Remove redundant conditionals.
3697 [__USE_MISC]: Likewise.
3698 * inet/netinet/in.h [__USE_GNU]: Likewise.
3699 * io/sys/stat.h [__USE_MISC]: Likewise.
3700 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3701 * libio/bits/stdio.h: Update #endif comments.
3702 [__USE_MISC]: Remove redundant conditionals.
3703 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3704 * libio/stdio.h: Update #endif comments.
3705 [__USE_MISC]: Remove redundant conditionals.
3706 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3707 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3708 * math/math.h: Update #else and #endif comments.
3709 [__USE_MISC]: Remove redundant conditionals.
3710 * misc/sys/uio.h: Update #endif comments.
3711 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3712 * posix/glob.h [__USE_MISC]: Likewise.
3713 * posix/sys/types.h: Update #endif comments.
3714 [__USE_MISC]: Remove redundant conditionals.
3715 * posix/sys/wait.h: Update #endif comments.
3716 [__USE_MISC]: Remove redundant conditionals.
3717 * posix/unistd.h: Update #endif comments.
3718 [__USE_MISC]: Remove redundant conditionals.
3719 * pwd/pwd.h [__USE_GNU]: Likewise.
3720 [__USE_MISC]: Likewise.
3721 * resolv/netdb.h [__USE_GNU]: Likewise.
3722 * signal/signal.h: Update #endif comments.
3723 [__USE_MISC]: Remove redundant conditionals.
3724 * stdlib/stdlib.h: Update #else and #endif comments.
3725 [__USE_MISC]: Remove redundant conditionals.
3726 [__USE_GNU]: Likewise.
3727 * string/bits/string2.h [__USE_MISC]: Likewise.
3728 * string/string.h: Update #endif comments.
3729 [__USE_MISC]: Remove redundant conditionals.
3730 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3732 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3733 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3734 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3736 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3738 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3740 [__USE_MISC]: Remove redundant conditionals.
3741 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3742 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3743 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3744 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3745 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3747 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3748 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3750 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3751 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3753 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3755 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3756 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3758 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3760 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3761 * sysdeps/x86/bits/string.h: Update #endif comments.
3762 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3764 * time/sys/time.h: Update #endif comments.
3765 * time/time.h: Likewise.
3766 [__USE_MISC]: Remove redundant conditionals.
3768 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3771 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3773 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3775 * Versions.def (librt): Add GLIBC_2.17.
3777 2014-02-21 Adam Conrad <adconrad@0c3.net>
3779 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3780 synonym for _SYS_AUXV_H to allow direct inclusion.
3781 * sysdeps/sparc/bits/hwcap.h: Likewise.
3782 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3783 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3784 * sysdeps/sparc/sysdep.h: Likewise.
3786 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3788 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3790 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3792 * benchtests/bench-strrchr.c: Print length instead of position.
3794 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3797 * sysdeps/unix/sysv/linux/kernel-features.h
3798 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3799 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3800 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3801 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3803 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3804 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3805 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3806 (__ASSUME_SENDMMSG): Define instead of using previous
3807 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3808 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3809 (__ASSUME_SENDMMSG_SYSCALL): Define.
3810 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3811 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3813 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3814 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3816 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3817 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3819 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3820 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3821 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3822 [__ASSUME_SENDMMSG]: Change conditionals to
3823 [__ASSUME_SENDMMSG_SOCKETCALL].
3824 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3825 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3827 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3828 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3830 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3831 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3832 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3833 [!__ASSUME_SENDMMSG]: Change conditional to
3834 [!__ASSUME_SENDMMSG_SOCKETCALL].
3835 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3836 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3840 * sysdeps/unix/sysv/linux/kernel-features.h
3841 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3842 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3843 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3844 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3845 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3846 [__i386__ || __sparc__]
3847 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3848 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3849 (__ASSUME_RECVMMSG): Define instead of using previous
3850 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3851 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3852 (__ASSUME_RECVMMSG_SYSCALL): Define.
3853 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3854 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3856 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3857 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3859 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3860 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3862 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3863 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3864 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3865 [__ASSUME_RECVMMSG]: Change condition to
3866 [__ASSUME_RECVMMSG_SOCKETCALL].
3867 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3868 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3870 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3871 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3872 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3874 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3875 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3876 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3877 [!__ASSUME_RECVMMSG]: Change condition to
3878 [!__ASSUME_RECVMMSG_SOCKETCALL].
3879 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3880 (__ASSUME_RECVMMSG_SYSCALL): Define.
3883 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3884 __powerpc__ || __s390__ || __sh__ || __sparc__]
3885 (__ASSUME_SOCKETCALL): Define.
3886 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3887 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3888 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3889 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3890 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3891 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3892 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3893 (__ASSUME_ACCEPT4): Define instead of using previous
3894 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3895 __powerpc__ || __sparc__ || __s390__)] condition.
3896 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3897 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3898 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3899 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3900 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3901 [!__ASSUME_ACCEPT4]: Change condition to
3902 [!__ASSUME_ACCEPT4_SOCKETCALL].
3903 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3904 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3905 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3906 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3907 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3908 __ASSUME_ACCEPT4_SYSCALL.
3909 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3910 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3911 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3912 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3913 __ASSUME_ACCEPT4_SYSCALL.
3914 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3915 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3916 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3917 [__ASSUME_ACCEPT4]: Change condition to
3918 [__ASSUME_ACCEPT4_SOCKETCALL].
3919 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3920 (__ASSUME_SOCKETCALL): Define.
3921 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3922 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3923 (__ASSUME_SOCKETCALL): Define.
3924 (__ASSUME_ACCEPT4): Remove.
3925 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3927 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3928 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3930 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3931 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3933 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3935 (HWCAP_ARM_LPAE): Likewise.
3936 (HWCAP_ARM_EVTSTRM): Likewise.
3937 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3938 Add vpfd32, lpae and evtstrm.
3939 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3942 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3944 * math/auto-libm-test-in: Add tests of clog10.
3945 * math/auto-libm-test-out: Regenerated.
3946 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3947 * sysdeps/i386/fpu/libm-test-ulps: Update.
3948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3950 2014-02-18 Andreas Schwab <schwab@suse.de>
3953 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3954 Store non-zero if the second buffer was newly allocated.
3955 (send_dg): Likewise.
3956 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3957 to send_vc and send_dg.
3958 (res_nsend): Pass NULL for ansp2_malloced.
3959 * resolv/res_query.c (__libc_res_nquery): Add parameter
3960 answerp2_malloced and pass it down to __libc_res_nsend.
3961 (res_nquery): Pass additional NULL to __libc_res_nquery.
3962 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3963 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3964 second answer buffer if answerp2_malloced was set.
3965 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3966 (__libc_res_nquerydomain): Add parameter
3967 answerp2_malloced and pass it down to __libc_res_nquery.
3968 (res_nquerydomain): Pass additional NULL to
3969 __libc_res_nquerydomain.
3970 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3971 additional NULL to __libc_res_nsend and __libc_res_nquery.
3972 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3973 additional NULL to __libc_res_nsearch.
3974 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3975 parameter of __libc_res_nsearch to check for separately allocated
3977 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3979 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3980 additional NULL to __libc_res_nquery.
3981 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3983 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3984 * include/resolv.h: Update prototypes of __libc_res_nquery,
3985 __libc_res_nsearch, __libc_res_nsend.
3987 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3989 * math/auto-libm-test-in: Add tests of fma.
3990 * math/auto-libm-test-out: Regenerated.
3991 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3992 (fma_towardzero_test_data): Likewise.
3993 (fma_downward_test_data): Likewise.
3994 (fma_upward_test_data): Likewise.
3995 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3997 (rounding_modes): Add values for new field.
3998 (func_calc_method): Add value mpfr_fff_f.
3999 (func_calc_desc): Add mpfr_fff_f union field.
4000 (test_function): Add field exact_args.
4001 (FUNC): Add macro argument EXACT_ARGS.
4002 (FUNC_mpfr_f_f): Update call to FUNC.
4003 (FUNC_mpfr_f_f): Likewise.
4004 (FUNC_mpfr_ff_f): Likewise.
4005 (FUNC_mpfr_if_f): Likewise.
4006 (FUNC_mpc_c_f): Likewise.
4007 (FUNC_mpc_c_c): Likewise.
4008 (test_functions): Add fma. Update calls to FUNC.
4009 (handle_input_arg): Add argument exact_args.
4010 (add_test): Update call to handle_input_arg.
4011 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4012 (output_for_one_input_case): Update call to calc_generic_results.
4013 Recalculate exact zero results in each rounding mode.
4015 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4016 non-negative before setting low bit.
4017 * math/auto-libm-test-in: Mark one asin test possibly having
4019 * math/auto-libm-test-out: Regenerated.
4020 * sysdeps/i386/fpu/libm-test-ulps: Update.
4021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4023 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4025 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4026 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4027 ports/sysdeps/unix/sysv/linux/microblaze.
4028 * README: Add missing listing for microblaze*-*-linux-gnu.
4030 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4032 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4033 * sysdeps/unix/sysv/linux/ia64: Move directory from
4034 ports/sysdeps/unix/sysv/linux/ia64.
4035 * README: Update listing for ia64-*-linux-gnu.
4037 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4038 Joseph Myers <joseph@codesourcery.com>
4040 * Makeconfig (test-name): New variable.
4041 (evaluate-test): Likewise.
4042 * Makerules (do-test-clean): Remove .test-result files.
4043 (common-mostlyclean): Likewise.
4044 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4045 * scripts/evaluate-test.sh: New file.
4047 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4049 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4050 separate $(objpfx)tst-fopenloc-cmp.out and
4051 $(objpfx)tst-fopenloc-mem.out targets.
4052 (tests): Update dependencies.
4053 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4054 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4055 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4056 (tst-rxspencer-no-utf8-ARGS): New variable.
4057 (tst-rxspencer-no-utf8-ENV): Likewise.
4058 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4059 instead of $(objpfx)tst-rxspencer-mem.
4060 ($(objpfx)tst-rxspencer-mem): Change target to
4061 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4062 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4063 * posix/tst-rxspencer-no-utf8.c: New file.
4065 * elf/Makefile ($(objpfx)order.out): Remove rule.
4066 [$(run-built-tests) = yes] (tests): Depend on
4067 $(objpfx)order-cmp.out.
4068 ($(objpfx)order-cmp.out): New rule.
4069 [$(run-built-tests) = yes] (tests): Depend on
4070 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4071 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4072 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4073 $(objpfx)tst-array5-static-cmp.out.
4074 ($(objpfx)tst-array1.out): Remove rule.
4075 ($(objpfx)tst-array1-cmp.out): New rule.
4076 ($(objpfx)tst-array1-static.out): Remove rule.
4077 ($(objpfx)tst-array1-static-cmp.out): New rule.
4078 ($(objpfx)tst-array2.out): Remove rule.
4079 ($(objpfx)tst-array2-cmp.out): New rule.
4080 ($(objpfx)tst-array3.out): Remove rule.
4081 ($(objpfx)tst-array3-cmp.out): New rule.
4082 ($(objpfx)tst-array4.out): Remove rule.
4083 ($(objpfx)tst-array4-cmp.out): New rule.
4084 ($(objpfx)tst-array5.out): Remove rule.
4085 ($(objpfx)tst-array5-cmp.out): New rule.
4086 ($(objpfx)tst-array5-static.out): Remove rule.
4087 ($(objpfx)tst-array5-static-cmp.out): New rule.
4088 [$(run-built-tests) = yes] (tests): Depend on
4089 $(objpfx)order2-cmp.out.
4090 ($(objpfx)order2.out): Remove rule.
4091 ($(objpfx)order2-cmp.out): New rule.
4092 ($(objpfx)tst-initorder.out): Remove rule.
4093 [$(run-built-tests) = yes] (tests): Depend on
4094 $(objpfx)tst-initorder-cmp.out.
4095 ($(objpfx)tst-initorder-cmp.out): New rule.
4096 ($(objpfx)tst-initorder2.out): Remove rule.
4097 [$(run-built-tests) = yes] (tests): Depend on
4098 $(objpfx)tst-initorder2-cmp.out.
4099 ($(objpfx)tst-initorder2-cmp.out): New rule.
4100 [$(run-built-tests) = yes] (tests): Depend on
4101 $(objpfx)tst-unused-dep-cmp.out.
4102 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4103 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4104 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4105 on $(objpfx)tst-setvbuf1-cmp.out.
4106 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4107 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4108 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4109 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4110 ($(objpfx)tst-svc.out): Remove rule.
4111 ($(objpfx)tst-svc-cmp.out): New rule.
4113 2014-02-13 Joseph Myers <joseph@codesourcery.com>
4115 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4116 * ctype/ctype.h [__USE_MISC]: Likewise.
4117 * dirent/dirent.h [__USE_MISC]: Likewise.
4118 * grp/grp.h [__USE_MISC]: Likewise.
4119 * io/fcntl.h [__USE_MISC]: Likewise.
4120 * io/sys/stat.h [__USE_MISC]: Likewise.
4121 * libio/stdio.h [__USE_MISC]: Likewise.
4122 * posix/unistd.h [__USE_MISC]: Likewise.
4123 * pwd/pwd.h [__USE_MISC]: Likewise.
4124 * stdlib.h [__USE_MISC]: Likewise.
4125 * string/bits/string2.h [__USE_MISC]: Likewise.
4126 * string/string.h [__USE_MISC]: Likewise.
4127 * time/time.h [__USE_MISC]: Likewise.
4129 2014-02-13 Andreas Schwab <schwab@suse.de>
4132 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4133 second answer buffer if it was separately allocated.
4135 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4137 * sysdeps/mips/math-tests.h: Include <features.h>.
4138 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4139 (ROUNDING_TESTS_long_double): Do not define.
4140 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4141 (EXCEPTION_TESTS_long_double): Likewise.
4142 * sysdeps/mips/mips64/libm-test-ulps: Update.
4144 * include/features.h (__USE_BSD): Remove macro definitions.
4145 (__USE_SVID): Likewise.
4146 (_BSD_SOURCE): Likewise.
4147 (_SVID_SOURCE): Likewise.
4148 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4149 from definition of _DEFAULT_SOURCE.
4150 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4152 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4153 * bits/mman.h [__USE_BSD]: Likewise.
4154 * bits/termios.h [__USE_BSD]: Likewise.
4155 * bits/waitstatus.h [__USE_BSD]: Likewise.
4156 * ctype/ctype.h [__USE_SVID]: Likewise.
4157 * dirent/dirent.h [__USE_BSD]: Likewise.
4158 * grp/grp.h [__USE_SVID]: Likewise.
4159 [__USE_BSD]: Likewise.
4160 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4161 * io/fcntl.h [__USE_BSD]: Likewise.
4162 * io/ftw.h [__USE_BSD]: Likewise.
4163 * io/sys/stat.h [__USE_BSD]: Likewise.
4164 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4165 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4166 * libio/stdio.h [__USE_SVID]: Likewise.
4167 [__USE_BSD]: Likewise.
4168 * math/math.h [__USE_SVID]: Likewise.
4169 [__USE_BSD]: Likewise.
4170 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4171 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4172 * misc/search.h [__USE_SVID]: Likewise.
4173 * misc/sys/mman.h [__USE_BSD]: Likewise.
4174 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4175 * misc/sys/uio.h [__USE_BSD]: Likewise.
4176 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4177 * posix/glob.h [__USE_BSD]: Likewise.
4178 * posix/regex.h [__USE_BSD]: Likewise.
4179 * posix/sys/types.h [__USE_BSD]: Likewise.
4180 [__USE_SVID]: Likewise.
4181 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4182 * posix/sys/wait.h [__USE_BSD]: Likewise.
4183 [__USE_SVID]: Likewise.
4184 * posix/unistd.h [__USE_BSD]: Likewise.
4185 [__USE_SVID]: Likewise.
4186 * pwd/pwd.h [__USE_SVID]: Likewise.
4187 * resolv/netdb.h [__USE_BSD]: Likewise.
4188 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4189 * signal/signal.h [__USE_BSD]: Likewise.
4190 [__USE_SVID]: Likewise.
4191 * socket/sys/socket.h [__USE_BSD]: Likewise.
4192 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4193 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4194 [__USE_SVID]: Likewise.
4195 * string/bits/string2.h [__USE_BSD]: Likewise.
4196 [__USE_SVID]: Likewise.
4197 * string/bits/string3.h [__USE_BSD]: Likewise.
4198 * string/endian.h [__USE_BSD]: Likewise.
4199 * string/string.h [__USE_SVID]: Likewise.
4200 [__USE_BSD]: Likewise.
4201 * string/strings.h [__USE_BSD]: Likewise.
4202 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4203 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4204 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4205 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4206 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4207 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4209 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4211 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4212 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4214 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4215 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4217 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4219 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4220 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4221 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4223 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4225 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4226 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4227 * termios/termios.h [__USE_BSD]: Likewise.
4228 * time/sys/time.h [__USE_BSD]: Likewise.
4229 * time/time.h [__USE_BSD]: Likewise.
4230 [__USE_SVID]: Likewise.
4232 * Makefile (subdir_targets): Remove subdir_lint.out.
4234 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4235 (do-tst-printf): Likewise.
4236 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4237 $(objpfx)tst-printf.out.
4239 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4241 * Makerules (check-abi-%): Change target to
4242 $(objpfx)check-abi-%.out.
4243 (check-abi target): Update dependencies.
4244 (check-abi-pattern variable): Redirect output of diff to $@.
4245 (check-abi variable): Likewise.
4246 * elf/Makefile (check-abi): Update dependencies.
4248 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4250 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4251 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4253 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4254 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4255 value has largest subnormal exponent.
4256 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4257 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4258 * sysdeps/aarch64/soft-fp/sfp-machine.h
4259 (_FP_TININESS_AFTER_ROUNDING): New macro.
4260 * sysdeps/alpha/soft-fp/sfp-machine.h
4261 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4262 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4264 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4265 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4266 * sysdeps/mips/soft-fp/sfp-machine.h
4267 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4268 * sysdeps/powerpc/soft-fp/sfp-machine.h
4269 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4270 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4272 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4273 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4274 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4275 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4276 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4279 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4282 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4285 2014-02-12 Richard Henderson <rth@redhat.com>
4287 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4288 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4289 * sysdeps/unix/sysv/linux/alpha: Move directory from
4290 ports/sysdeps/unix/sysv/linux/alpha.
4291 * README: Update listing for alpha-*-linux-gnu.
4293 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4295 * include/features.h: Update comment documenting feature test
4297 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4299 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4300 (_SVID_SOURCE): Likewise.
4301 (_DEFAULT_SOURCE): Update description of default features.
4302 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4304 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4305 (S_ISVTX): Likewise.
4306 * manual/math.texi (Mathematical Constants): Likewise.
4307 * manual/signal.texi (Interrupted Primitives): Likewise.
4308 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4309 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4310 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4311 Don't refer to _SVID_SOURCE in warning text.
4313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4315 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4317 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4318 * sysdeps/mips/dl-lookup.c: Remove.
4319 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4321 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4324 * math/auto-libm-test-in: Add testcase for expl.
4325 * math/auto-libm-test-out: Regenerate.
4326 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4327 calculation of unsafe.
4328 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4330 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4332 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4333 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4334 ports/sysdeps/unix/sysv/linux/aarch64.
4335 * README: Update listing for aarch64*-*-linux-gnu.
4337 2014-02-11 Will Newton <will.newton@linaro.org>
4339 * manual/probes.texi (Mathematical Function Probes): Use
4340 "triggered" instead of "hit".
4342 * manual/probes.texi (Internal Probes): Add documentation
4343 of setjmp, longjmp and longjmp_target probes.
4345 * include/stap-probe.h: Add comment about probe argument
4348 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4349 definition. (tr_where, tr_freehook, tr_mallochook,
4350 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4352 2014-02-11 David S. Miller <davem@davemloft.net>
4354 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4355 processing int_tests.
4357 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4359 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4360 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4361 * sysdeps/unix/sysv/linux/mips: Move directory from
4362 ports/sysdeps/unix/sysv/linux/mips.
4363 * README: Update listing for mips-*-linux-gnu and
4366 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4368 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4369 * sysdeps/unix/sysv/linux/m68k: Move directory from
4370 ports/sysdeps/unix/sysv/linux/m68k.
4371 * README: Update listing for m68k-*-linux-gnu.
4373 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4375 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4376 * sysdeps/unix/sysv/linux/generic: Move directory from
4377 ports/sysdeps/unix/sysv/linux/generic.
4378 * sysdeps/unix/sysv/linux/tile: Move directory from
4379 ports/sysdeps/unix/sysv/linux/tile.
4380 * README: Update listing for tile*-*-linux-gnu.
4382 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4384 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4386 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4387 * catgets/open_catalog.c (__open_catalog): Likewise.
4388 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4389 * debug/confstr_chk.c: Likewise.
4390 * debug/fread_chk.c (__fread_chk): Likewise.
4391 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4392 * debug/getgroups_chk.c: Likewise.
4393 * debug/mbsnrtowcs_chk.c: Likewise.
4394 * debug/mbsrtowcs_chk.c: Likewise.
4395 * debug/mbstowcs_chk.c: Likewise.
4396 * debug/memcpy_chk.c: Likewise.
4397 * debug/memmove_chk.c: Likewise.
4398 * debug/mempcpy_chk.c: Likewise.
4399 * debug/memset_chk.c: Likewise.
4400 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4401 * debug/strcat_chk.c (__strcat_chk): Likewise.
4402 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4403 * debug/strncat_chk.c (__strncat_chk): Likewise.
4404 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4405 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4406 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4407 * debug/wcpncpy_chk.c: Likewise.
4408 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4409 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4410 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4411 * debug/wcsncpy_chk.c: Likewise.
4412 * debug/wcsnrtombs_chk.c: Likewise.
4413 * debug/wcsrtombs_chk.c: Likewise.
4414 * debug/wcstombs_chk.c: Likewise.
4415 * debug/wmemcpy_chk.c: Likewise.
4416 * debug/wmemmove_chk.c: Likewise.
4417 * debug/wmempcpy_chk.c: Likewise.
4418 * debug/wmemset_chk.c: Likewise.
4419 * dirent/scandirat.c (SCANDIRAT): Likewise.
4420 * dlfcn/dladdr1.c (dladdr1): Likewise.
4421 * dlfcn/dladdr.c (dladdr): Likewise.
4422 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4423 * dlfcn/dlerror.c (__dlerror): Likewise.
4424 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4425 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4426 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4427 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4428 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4429 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4430 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4431 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4433 * elf/dl-conflict.c: Likewise.
4434 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4435 * elf/dl-dst.h: Likewise.
4436 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4437 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4438 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4439 * elf/dl-init.c (call_init, _dl_init): Likewise.
4440 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4441 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4442 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4444 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4446 * elf/dl-minimal.c (__libc_memalign): Likewise.
4447 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4448 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4449 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4450 * elf/dl-sym.c (do_sym): Likewise.
4451 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4452 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4453 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4454 * elf/dl-writev.h (_dl_writev): Likewise.
4455 * elf/ldconfig.c (search_dir): Likewise.
4456 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4457 (dl_main): Likewise.
4458 * elf/setup-vdso.h (setup_vdso): Likewise.
4459 * grp/compat-initgroups.c (compat_call): Likewise.
4460 * grp/fgetgrent.c (fgetgrent): Likewise.
4461 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4462 * grp/putgrent.c (putgrent): Likewise.
4463 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4465 * hurd/hurdinit.c: Likewise.
4466 * iconvdata/8bit-gap.c (struct): Likewise.
4467 * iconvdata/ansi_x3.110.c : Likewise.
4468 * iconvdata/big5.c : Likewise.
4469 * iconvdata/big5hkscs.c : Likewise.
4470 * iconvdata/cp1255.c: Likewise.
4471 * iconvdata/cp1258.c : Likewise.
4472 * iconvdata/cp932.c : Likewise.
4473 * iconvdata/euc-cn.c: Likewise.
4474 * iconvdata/euc-jisx0213.c : Likewise.
4475 * iconvdata/euc-jp.c: Likewise.
4476 * iconvdata/euc-jp-ms.c : Likewise.
4477 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4478 * iconvdata/gb18030.c : Likewise.
4479 * iconvdata/gbbig5.c (const): Likewise.
4480 * iconvdata/gbgbk.c: Likewise.
4481 * iconvdata/gbk.c : Likewise.
4482 * iconvdata/ibm1364.c : Likewise.
4483 * iconvdata/ibm930.c : Likewise.
4484 * iconvdata/ibm932.c: Likewise.
4485 * iconvdata/ibm933.c : Likewise.
4486 * iconvdata/ibm935.c : Likewise.
4487 * iconvdata/ibm937.c : Likewise.
4488 * iconvdata/ibm939.c : Likewise.
4489 * iconvdata/ibm943.c: Likewise.
4490 * iconvdata/iso_11548-1.c: Likewise.
4491 * iconvdata/iso-2022-cn.c : Likewise.
4492 * iconvdata/iso-2022-cn-ext.c : Likewise.
4493 * iconvdata/iso-2022-jp-3.c: Likewise.
4494 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4495 * iconvdata/iso-2022-kr.c : Likewise.
4496 * iconvdata/iso646.c (gconv_end): Likewise.
4497 * iconvdata/iso_6937-2.c : Likewise.
4498 * iconvdata/iso_6937.c : Likewise.
4499 * iconvdata/iso8859-1.c: Likewise.
4500 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4501 * iconvdata/shift_jisx0213.c : Likewise.
4502 * iconvdata/sjis.c : Likewise.
4503 * iconvdata/t.61.c : Likewise.
4504 * iconvdata/tcvn5712-1.c : Likewise.
4505 * iconvdata/tscii.c: Likewise.
4506 * iconvdata/uhc.c : Likewise.
4507 * iconvdata/unicode.c (gconv_end): Likewise.
4508 * iconvdata/utf-16.c (gconv_end): Likewise.
4509 * iconvdata/utf-32.c (gconv_end): Likewise.
4510 * iconvdata/utf-7.c (base64): Likewise.
4511 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4512 * iconv/gconv_close.c (__gconv_close): Likewise.
4513 * iconv/gconv_open.c (__gconv_open): Likewise.
4514 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4515 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4516 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4517 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4518 (ucs4le_internal_loop_single): Likewise.
4519 * iconv/iconv.c (iconv): Likewise.
4520 * iconv/iconv_close.c: Likewise.
4521 * iconv/loop.c (SINGLE): Likewise.
4522 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4523 * include/atomic.h: Likewise.
4524 * inet/inet6_option.c (option_alloc): Likewise.
4525 * intl/bindtextdom.c (set_binding_values): Likewise.
4526 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4527 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4528 * intl/localealias.c (read_alias_file): Likewise.
4529 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4530 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4531 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4532 * libio/fmemopen.c (fmemopen): Likewise.
4533 * libio/iofgets.c (_IO_fgets): Likewise.
4534 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4535 * libio/iofgetws.c (fgetws): Likewise.
4536 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4537 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4538 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4539 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4540 * locale/findlocale.c (_nl_find_locale): Likewise.
4541 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4542 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4544 * locale/setlocale.c (setlocale): Likewise.
4545 * login/programs/pt_chown.c (main): Likewise.
4546 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4547 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4548 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4549 (mmap, mmap64, mremap, munmap): Likewise.
4550 * math/e_exp2l.c: Likewise.
4551 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4552 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4553 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4554 * math/s_catan.c (__catan): Likewise.
4555 * math/s_catanf.c (__catanf): Likewise.
4556 * math/s_catanh.c (__catanh): Likewise.
4557 * math/s_catanhf.c (__catanhf): Likewise.
4558 * math/s_catanhl.c (__catanhl): Likewise.
4559 * math/s_catanl.c (__catanl): Likewise.
4560 * math/s_ccosh.c (__ccosh): Likewise.
4561 * math/s_ccoshf.c (__ccoshf): Likewise.
4562 * math/s_ccoshl.c (__ccoshl): Likewise.
4563 * math/s_cexp.c (__cexp): Likewise.
4564 * math/s_cexpf.c (__cexpf): Likewise.
4565 * math/s_cexpl.c (__cexpl): Likewise.
4566 * math/s_clog10.c (__clog10): Likewise.
4567 * math/s_clog10f.c (__clog10f): Likewise.
4568 * math/s_clog10l.c (__clog10l): Likewise.
4569 * math/s_clog.c (__clog): Likewise.
4570 * math/s_clogf.c (__clogf): Likewise.
4571 * math/s_clogl.c (__clogl): Likewise.
4572 * math/s_csin.c (__csin): Likewise.
4573 * math/s_csinf.c (__csinf): Likewise.
4574 * math/s_csinh.c (__csinh): Likewise.
4575 * math/s_csinhf.c (__csinhf): Likewise.
4576 * math/s_csinhl.c (__csinhl): Likewise.
4577 * math/s_csinl.c (__csinl): Likewise.
4578 * math/s_csqrt.c (__csqrt): Likewise.
4579 * math/s_csqrtf.c (__csqrtf): Likewise.
4580 * math/s_csqrtl.c (__csqrtl): Likewise.
4581 * math/s_ctan.c (__ctan): Likewise.
4582 * math/s_ctanf.c (__ctanf): Likewise.
4583 * math/s_ctanh.c (__ctanh): Likewise.
4584 * math/s_ctanhf.c (__ctanhf): Likewise.
4585 * math/s_ctanhl.c (__ctanhl): Likewise.
4586 * math/s_ctanl.c (__ctanl): Likewise.
4587 * math/w_pow.c: Likewise.
4588 * math/w_powf.c: Likewise.
4589 * math/w_powl.c: Likewise.
4590 * math/w_scalb.c (sysv_scalb): Likewise.
4591 * math/w_scalbf.c (sysv_scalbf): Likewise.
4592 * math/w_scalbl.c (sysv_scalbl): Likewise.
4593 * misc/error.c (error_tail): Likewise.
4594 * misc/pselect.c (__pselect): Likewise.
4595 * nis/nis_callback.c (__nis_create_callback): Likewise.
4596 * nis/nis_call.c (__nisfind_server): Likewise.
4597 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4598 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4599 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4600 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4601 * nis/nis_lookup.c (nis_lookup): Likewise.
4602 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4603 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4604 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4605 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4606 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4607 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4608 * nis/nss_compat/compat-initgroups.c (add_group)
4609 (internal_getgrent_r): Likewise.
4610 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4611 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4612 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4613 (internal_getspnam_r): Likewise.
4614 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4615 (_nss_nis_getaliasbyname_r): Likewise.
4616 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4617 (_nss_nis_getntohost_r): Likewise.
4618 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4619 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4620 (_nss_nis_getgrgid_r): Likewise.
4621 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4622 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4623 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4624 (_nss_nis_gethostbyname4_r): Likewise.
4625 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4626 (initgroups_netid): Likewise.
4627 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4628 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4629 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4630 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4631 (_nss_nis_getprotobynumber_r): Likewise.
4632 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4633 (_nss_nis_getsecretkey): Likewise.
4634 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4635 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4636 (_nss_nis_getpwuid_r): Likewise.
4637 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4638 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4639 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4640 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4641 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4642 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4643 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4645 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4646 (_nss_nisplus_getntohost_r): Likewise.
4647 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4648 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4649 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4650 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4652 * nis/nss_nisplus/nisplus-initgroups.c
4653 (_nss_nisplus_initgroups_dyn): Likewise.
4654 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4655 (_nss_nisplus_getnetbyaddr_r): Likewise.
4656 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4657 (_nss_nisplus_getprotobynumber_r): Likewise.
4658 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4659 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4660 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4662 * nis/nss_nisplus/nisplus-service.c
4663 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4664 (_nss_nisplus_getservbyport_r): Likewise.
4665 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4666 (_nss_nisplus_getspnam_r): Likewise.
4667 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4669 * nscd/aicache.c (addhstaiX): Likewise.
4670 * nscd/cache.c (cache_search, prune_cache): Likewise.
4671 * nscd/connections.c (register_traced_file, send_ro_fd)
4672 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4673 (main_loop_epoll): Likewise.
4674 * nscd/grpcache.c (addgrbyX): Likewise.
4675 * nscd/hstcache.c (addhstbyX): Likewise.
4676 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4677 * nscd/mem.c (gc, mempool_alloc): Likewise.
4678 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4679 (addinnetgrX): Likewise.
4680 * nscd/nscd-client.h (__nscd_acquire_maplock)
4681 (__nscd_drop_map_ref): Likewise.
4682 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4683 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4684 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4686 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4687 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4688 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4689 (__nscd_get_map_ref): Likewise.
4690 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4691 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4693 * nscd/pwdcache.c (addpwbyX): Likewise.
4694 * nscd/selinux.c (preserve_capabilities): Likewise.
4695 * nscd/servicescache.c (addservbyX): Likewise.
4696 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4697 * posix/fnmatch.c (fnmatch): Likewise.
4698 * posix/getopt.c (_getopt_internal_r): Likewise.
4699 * posix/glob.c (glob, glob_in_dir): Likewise.
4700 * posix/wordexp.c (exec_comm_child): Likewise.
4701 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4702 (getanswer_r, gaih_getanswer_slice): Likewise.
4703 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4704 * resolv/res_init.c: Likewise.
4705 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4706 * resolv/res_query.c (__libc_res_nquery): Likewise.
4707 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4709 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4710 * stdio-common/perror.c (perror): Likewise.
4711 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4712 * stdio-common/tmpnam.c (tmpnam): Likewise.
4713 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4714 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4715 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4717 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4718 * stdlib/putenv.c (putenv): Likewise.
4719 * stdlib/setenv.c (__add_to_environ): Likewise.
4720 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4721 * stdlib/strtol_l.c (INTERNAL): Likewise.
4722 * string/memmem.c (memmem): Likewise.
4723 * string/strerror.c (strerror): Likewise.
4724 * string/strnlen.c (__strnlen): Likewise.
4725 * string/test-memmem.c (simple_memmem): Likewise.
4726 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4727 * sunrpc/pm_getport.c (__get_socket): Likewise.
4728 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4729 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4730 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4731 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4733 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4734 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4735 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4736 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4737 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4738 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4740 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4742 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4743 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4744 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4745 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4746 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4748 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4749 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4750 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4751 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4752 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4753 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4755 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4757 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4759 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4760 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4761 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4762 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4763 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4764 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4765 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4766 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4767 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4769 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4771 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4772 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4773 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4774 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4776 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4778 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4780 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4782 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4783 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4784 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4786 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4787 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4788 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4789 * sysdeps/posix/sleep.c: Likewise.
4790 * sysdeps/posix/tempname.c: Likewise.
4791 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4792 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4794 * sysdeps/powerpc/powerpc32/dl-machine.h
4795 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4796 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4797 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4798 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4799 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4801 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4802 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4803 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4804 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4805 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4806 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4807 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4808 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4809 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4810 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4812 (elf_machine_lazy_rel): Likewise.
4813 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4814 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4815 (elf_machine_lazy_rel): Likewise.
4816 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4817 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4818 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4819 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4820 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4821 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4822 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4823 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4825 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4826 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4827 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4828 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4829 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4830 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4831 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4832 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4833 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4834 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4835 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4837 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4838 (__posix_fallocate64_l64): Likewise.
4839 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4840 (posix_fallocate): Likewise.
4841 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4843 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4844 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4845 (getifaddrs_internal): Likewise.
4846 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4847 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4848 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4849 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4850 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4851 (__posix_fallocate64_l64): Likewise.
4852 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4854 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4855 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4856 (__get_clockfreq): Likewise.
4857 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4858 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4859 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4860 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4862 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4863 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4864 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4866 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4867 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4868 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4869 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4870 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4871 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4872 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4874 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4875 (posix_fallocate): Likewise.
4876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4877 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4878 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4879 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4880 (elf_machine_rela, elf_machine_rela_relative)
4881 (elf_machine_lazy_rel): Likewise.
4882 * time/asctime.c (asctime_internal): Likewise.
4883 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4884 * time/tzset.c (__tzset_parse_tz): Likewise.
4885 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4886 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4887 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4888 * wcsmbs/wcsmbsload.h: Likewise.
4891 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4893 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4894 (arena_get2): Remove THREAD_STATS conditionals.
4895 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4896 (__malloc_stats, int): Likewise.
4898 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4900 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4901 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4903 * manual/setjmp.texi: Fix typos/grammar errors.
4905 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4906 Only return early when n is <= 0. Delete unused return statement.
4908 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4909 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4910 * debug/tst-longjmp_chk3.c: New file.
4912 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4913 (test_main): Replace code with set_fortify_handler call.
4914 * debug/test-strcpy_chk.c: Likewise.
4915 * debug/tst-chk1.c: Likewise.
4916 * debug/tst-longjmp_chk.c: Likewise.
4917 * test-skeleton.c: Include fcntl.h & paths.h
4918 (set_fortify_handler): Define.
4920 * debug/tst-longjmp_chk.c: Add header comment and include
4922 (do_test): Mark static.
4923 (TEST_FUNCTION): Define.
4925 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4926 (IP_PMTUDISC_INTERFACE): Likewise.
4927 (IP_MULTICAST_IF): Likewise.
4928 (IP_MULTICAST_TTL): Likewise.
4929 (IP_MULTICAST_LOOP): Likewise.
4930 (IP_ADD_MEMBERSHIP): Likewise.
4931 (IP_DROP_MEMBERSHIP): Likewise.
4932 (IP_UNBLOCK_SOURCE): Likewise.
4933 (IP_BLOCK_SOURCE): Likewise.
4934 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4935 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4936 (IP_MSFILTER): Likewise.
4937 (MCAST_JOIN_GROUP): Likewise.
4938 (MCAST_BLOCK_SOURCE): Likewise.
4939 (MCAST_UNBLOCK_SOURCE): Likewise.
4940 (MCAST_LEAVE_GROUP): Likewise.
4941 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4942 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4943 (MCAST_MSFILTER): Likewise.
4944 (IP_MULTICAST_ALL): Likewise.
4945 (IP_UNICAST_IF): Likewise.
4947 * timezone/Makefile: Delete $(have-ksh) check.
4948 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4949 * timezone/tzselect.ksh: Add +x mode bits.
4951 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4952 (ANON_INODE_FS_MAGIC): Likewise.
4953 (BDEVFS_MAGIC): Likewise.
4954 (BINFMTFS_MAGIC): Likewise.
4955 (BTRFS_TEST_MAGIC): Likewise.
4956 (CRAMFS_MAGIC_WEND): Likewise.
4957 (DEBUGFS_MAGIC): Likewise.
4958 (ECRYPTFS_SUPER_MAGIC): Likewise.
4959 (EXT3_SUPER_MAGIC): Likewise.
4960 (EXT4_SUPER_MAGIC): Likewise.
4961 (FUTEXFS_SUPER_MAGIC): Likewise.
4962 (HOSTFS_SUPER_MAGIC): Likewise.
4963 (HUGETLBFS_MAGIC): Likewise.
4964 (MINIX3_SUPER_MAGIC): Likewise.
4965 (MTD_INODE_FS_MAGIC): Likewise.
4966 (NILFS_SUPER_MAGIC): Likewise.
4967 (OPENPROM_SUPER_MAGIC): Likewise.
4968 (PIPEFS_MAGIC): Likewise.
4969 (PSTOREFS_MAGIC): Likewise.
4970 (QNX6_SUPER_MAGIC): Likewise.
4971 (RAMFS_MAGIC): Likewise.
4972 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4973 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4974 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4975 (SECURITYFS_MAGIC): Likewise.
4976 (SELINUX_MAGIC): Likewise.
4977 (SMACK_MAGIC): Likewise.
4978 (SOCKFS_MAGIC): Likewise.
4979 (SQUASHFS_MAGIC): Likewise.
4980 (STACK_END_MAGIC): Likewise.
4981 (TMPFS_MAGIC): Likewise.
4982 (USBDEVICE_SUPER_MAGIC): Likewise.
4983 (V9FS_MAGIC): Likewise.
4984 (XENFS_SUPER_MAGIC): Likewise.
4985 (CRAMFS_MAGIC): Fix typo in comment.
4986 (EXT2_SUPER_MAGIC): Update comment.
4987 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4989 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4991 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4992 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4993 * sysdeps/unix/sysv/linux/arm: Move directory from
4994 ports/sysdeps/unix/sysv/linux/arm.
4995 * README: Update listing for arm-*-linux-gnueabi.
4997 * README: Remove mention of am33.
4999 2014-02-07 Roland McGrath <roland@hack.frob.com>
5001 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5002 than the comma operator, to avoid "rhs of comma has no effect"
5004 (__sigfillset, __sigandset, __sigorset): Likewise.
5005 * include/signal.h (__sigemptyset): Likewise.
5006 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5008 2014-02-07 Allan McRae <allan@archlinux.org>
5010 * version.h (RELEASE): Set to "development".
5011 (VERSION): Set to "2.19.90"
5012 * NEWS: Add 2.20 section.
5014 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5017 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5019 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5021 * manual/contrib.texi: Update entry for Carlos O'Donell,
5022 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5024 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5026 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5028 * sysdeps/unix/sysv/linux/kernel-features.h
5029 [__LINUX_KERNEL_VERSION >= 0x020621]
5030 (__ASSUME_PROC_PID_TASK_COMM): Define.
5032 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5035 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5036 conversion when destination buffer does not have enough space.
5037 * libio/tst-ftell-partial-wide.c: New test case.
5038 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5040 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5041 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5042 Leonard and Allan McRae.
5044 2014-02-04 David S. Miller <davem@davemloft.net>
5046 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5049 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5078 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5080 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5081 * shlib-versions: Likewise.
5083 2014-02-04 Roland McGrath <roland@hack.frob.com>
5084 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5086 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5087 (abilist-pattern): New variable, set to %-le.abilist.
5089 * Makerules (abilist-pattern): New variable.
5090 (vpath): Use $(abilist-pattern) in place of %.abilist.
5091 (check-abi-% pattern rule): Likewise.
5092 (check-abi, update-abi): Likewise.
5094 2014-02-04 Eric Wong <normalperson@yhbt.net>
5096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5098 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5100 * manual/startup.texi: Add next, previous, and top entries for
5101 the `Program Arguments' and `Environment Variables' nodes.
5103 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5105 * manual/macros.texi: Add comments before MTASC-safety macros.
5107 * manual/users.texi: Document MTASC-safety properties.
5109 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5110 (pthread_getspecific, pthread_setspecific): Format with
5111 @deftypefun, and add @safety note.
5112 * manual/signal.texi: Move comments that analyze the above
5113 functions to their home place.
5115 2014-02-03 Allan McRae <allan@archlinux.org>
5117 * po/sl.po: Update Slovenian translation from translation project.
5119 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
5121 * manual/time.texi (timegm): Add missing blank after @c.
5122 Reported by Joseph Myers <joseph@codesourcery.com>.
5124 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
5126 * manual/check-safety.sh: New.
5127 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5129 * manual/terminal.texi: Document MTASC-safety properties.
5131 * manual/filesys.texi: Document MTASC-safety properties.
5133 * manual/errno.texi: Document MTASC-safety properties.
5135 * manual/intro.texi: Document safety identifiers and
5138 * manual/string.texi (wcstok): Fix prototype.
5139 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5141 * manual/time.texi: Document MTASC-safety properties.
5143 * manual/string.texi: Document MTASC-safety properties.
5145 * manual/threads.texi: Document MTASC-safety properties.
5147 * manual/stdio.texi: Document MTASC-safety properties.
5149 * manual/syslog.texi: Document MTASC-safety properties.
5151 * manual/sysinfo.texi: Document MTASC-safety properties.
5153 * manual/startup.texi: Document MTASC-safety properties.
5155 * manual/socket.texi: Document MTASC-safety properties.
5157 * manual/signal.texi: Document MTASC-safety properties.
5159 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5161 * manual/setjmp.texi: Document MTASC-safety properties.
5163 * manual/search.texi: Document MTASC-safety properties.
5165 * manual/resource.texi: Document MTASC-safety properties.
5167 * manual/process.texi: Document MTASC-safety properties.
5169 * manual/platform.texi: Document MTASC-safety properties.
5171 * manual/pipe.texi: Document MTASC-safety properties.
5173 * manual/pattern.texi: Document MTASC-safety properties.
5175 * manual/message.texi: Document MTASC-safety properties.
5178 * manual/memory.texi: Document MTASC-safety properties.
5180 * manual/math.texi: Document MTASC-safety properties.
5182 * manual/locale.texi: Document MTASC-safety properties.
5184 * manual/llio.texi: Document MTASC-safety properties.
5186 * manual/libdl.texi: New.
5188 * manual/lang.texi: Document MTASC-safety properties.
5190 * manual/job.texi: Document MTASC-safety properties.
5192 * manual/getopt.texi: Document MTASC-safety properties.
5194 * manual/ctype.texi: Document MTASC-safety properties.
5196 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5199 * csu/libc-tls.c (static_map): Remove variable.
5200 (__libc_setup_tls): Use main executable's link map for TLS data.
5201 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5202 casing for LM_ID_BASE and GL(dl_nns).
5203 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5204 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5205 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5206 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5207 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5209 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5212 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5214 * manual/debug.texi: Document MTASC-safety properties.
5216 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5219 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5220 of __x86_64__ when disabling x87 inline functions.
5222 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5224 * manual/charset.texi: Document MTASC-safety properties.
5226 * manual/crypt.texi: Document MTASC-safety properties.
5228 * manual/conf.texi: Document MTASC-safety properties.
5230 * manual/arith.texi: Document MTASC-safety properties.
5232 * manual/argp.texi: Document MTASC-safety properties.
5234 * manual/macros.texi: Introduce macros to document multi
5235 thread, asynchronous signal and asynchronous cancellation
5237 * manual/intro.texi: Introduce the properties themselves.
5239 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5241 * sysdeps/sh/sh4/Makefile: New file.
5243 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5245 * math/gen-libm-test.pl ($srcdir): New variable.
5246 ($auto_input): Use it.
5248 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5251 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5252 access beyond array bounds when parsing netgroups file.
5254 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5255 the old buffer before realloc.
5257 2014-01-27 Allan McRae <allan@archlinux.org>
5259 * po/fr.po: Update French translation from translation project.
5261 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5263 * sysdeps/sh/libm-test-ulps: Regenerate.
5265 2014-01-24 David S. Miller <davem@davemloft.net>
5267 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5269 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5271 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5272 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5274 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5277 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5278 string pointers after reallocation.
5280 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5282 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5283 __SH4A__ instead of __SH_FPU_ANY__.
5285 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5287 * sysdeps/sh/fpu_control.h: New file.
5288 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5289 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5290 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5291 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5292 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5293 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5294 * sysdeps/sh/sys/ucontext.h: Remove.
5295 * sysdeps/sh/sys: Remove directory.
5297 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5299 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5300 s390/sys/ucontext.h.
5301 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5302 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5304 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5307 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5309 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5312 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5313 Adjust the vDSO correctly for internal calls.
5314 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5316 2014-01-20 Allan McRae <allan@archlinux.org>
5318 * po/ca.po: Update Catalan translation from translation project.
5320 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5322 * sysdeps/s390/sotruss-lib.c: New file.
5324 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5327 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5328 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5329 local calls issues by not having a PLT stub required for IFUNC calls.
5330 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5332 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5334 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5335 * math/test-fpucw-static.c: Likewise.
5337 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5340 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5342 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5344 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5345 implementation for powerpc.
5347 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5350 * sysdeps/posix/system.c (__libc_system): Do not enable
5351 asynchronous cancellation.
5353 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5356 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5357 handling only for numbers special also in the IEEE case.
5359 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5361 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5363 2014-01-11 Allan McRae <allan@archlinux.org>
5365 * po/bg.po: Update Bulgarian translation from translation project.
5367 * po/de.po: Update German translation from translation project.
5369 2014-01-10 Roland McGrath <roland@hack.frob.com>
5371 * sysdeps/generic/gcc-compat.h: New file.
5373 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5375 * benchtests/asin-inputs: Correct slow inputs.
5376 * benchtests/acos-inputs: Likewise.
5378 2014-01-10 Allan McRae <allan@archlinux.org>
5380 * po:sv.po: Update Swedish translation from translation project.
5382 * po/vi.po: Update Vietnamese translation from translation project.
5384 * po/eo.po: Update Esperanto translation from translation project.
5386 * po/cs.po: Update Czech translation from translation project.
5388 * po/nl.po: Update Dutch translation from translation project.
5390 * po/pl.po: Update Polish translation from translation project.
5392 * po/ru.po: Update Russian translation from translation project.
5394 * po/uk.po: Update Ukrainian translation from translation project.
5396 2014-01-08 Brooks Moses <bmoses@google.com>
5398 * elf/dl-load.c: Fix comment typo.
5400 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5402 * po/header.pot: Rename to...
5403 * po/pot.header: ... this.
5404 * po/Makefile: Use pot.header.
5406 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5407 Maxim Kuvyrkov <maxim@kugelworks.com>
5410 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5411 SRC and DEST against LEN.
5413 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5416 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5418 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5420 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5424 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5427 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5428 for large positive arguments.
5430 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5432 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5434 * math/auto-libm-test-in: Mark various tests with
5435 xfail-rounding:ldbl-128ibm.
5436 * math/auto-libm-test-out: Regenerated.
5439 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5440 Increase overflow threshold.
5442 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5445 * stdio-common/vfprintf.c: Check for integer overflow.
5447 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5449 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5450 the first argument and return value of __tls_get_addr_internal.
5452 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5454 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5455 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5457 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5459 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5460 * sysdeps/s390/rtld-global-offsets.sym: New file.
5461 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5463 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5464 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5465 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5467 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5468 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5474 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5475 halfs of GPRs for high_gprs contexts.
5476 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5477 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5479 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5481 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5483 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5484 for high GPRs (uc_high_gprs) and for future extensions
5486 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5487 for future extensions (__reserved).
5488 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5490 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5491 SC_HIGHGPRS offset definition.
5492 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5493 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5495 * Versions.def: Add GLIBC_2.19 for libpthread.
5496 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5497 siglongjmp for libpthread with GLIBC_2.19 symver.
5498 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5499 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5500 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5501 * sysdeps/s390/__longjmp.c: New file.
5502 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5503 * sysdeps/s390/longjmp.c: New file.
5504 * sysdeps/s390/setjmp.S: New file.
5505 * sysdeps/s390/sigjmp.S: New file.
5506 * sysdeps/s390/v1-longjmp.c: New file.
5507 * sysdeps/s390/v1-setjmp.h: New file.
5508 * sysdeps/s390/v1-sigjmp.c: New file.
5509 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5510 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5512 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5513 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5514 versioned symbols for ____longjmp_chk.
5515 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5525 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5526 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5527 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5528 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5529 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5530 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5531 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5532 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5533 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5534 * sysdeps/s390/rtld-__longjmp.c: New file.
5535 * sysdeps/s390/rtld-setjmp.S: New file.
5537 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5540 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5541 Return -__logl (x) for small positive arguments without evaluating
5544 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5546 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5548 (__ptrace_peeksiginfo_args): ... this.
5549 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5550 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5551 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5553 2014-01-06 Allan McRae <allan@archlinux.org>
5555 * inet/netinet/in.h: Fix typo in comment.
5557 2014-01-05 Andreas Jaeger <aj@suse.de>
5559 * sysdeps/i386/fpu/libm-test-ulps: Update.
5561 2014-01-05 Allan McRae <allan@archlinux.org>
5563 * po/libc.pot: Regenerated.
5565 * malloc/memusagestat.c: Fix gettext call formatting.
5567 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5569 * nscd/nscd.c: Improve usage() output.
5571 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5573 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5574 * sysdeps/unix/sysv/linux/configure: Regenerated.
5575 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5576 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5578 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5581 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5582 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5584 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5586 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5587 extra tokens at end of #undef directive.
5588 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5589 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5590 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5592 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5594 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5596 * math/auto-libm-test-in: Mark various tests with
5597 xfail-rounding:ldbl-128ibm.
5598 * math/auto-libm-test-out: Regenerated.
5600 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5603 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5604 numbers with subnormal high part when calculating exponent.
5607 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5611 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5613 (__ieee754_acoshl): Use __log1pl not __log1p.
5615 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5617 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5618 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5619 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5620 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5621 (reused_arena, arena_get2): Convert to GNU style.
5622 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5623 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5624 (memalign_check, __malloc_set_state): Likewise.
5625 * malloc/mallocbug.c (main): Likewise.
5626 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5627 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5628 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5629 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5630 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5631 (__posix_memalign, malloc_info): Likewise.
5632 * malloc/malloc.h: Likewise.
5633 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5634 (mallochook, memalignhook, reallochook, mabort): Likewise.
5635 * malloc/mcheck.h: Likewise.
5636 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5637 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5638 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5639 * malloc/morecore.c (__default_morecore): Likewise.
5640 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5641 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5642 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5643 (print_and_abort): Likewise.
5644 * malloc/obstack.h: Likewise.
5645 * malloc/set-freeres.c (__libc_freeres): Likewise.
5646 * malloc/tst-mallocstate.c (main): Likewise.
5647 * malloc/tst-mtrace.c (main): Likewise.
5648 * malloc/tst-realloc.c (do_test): Likewise.
5650 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5653 * nscd/netgroupcache.c (do_notfound): New function.
5654 (addgetnetgrentX): Use it.
5657 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5658 NSS_STATUS_NOTFOUND.
5660 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5662 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5665 2014-01-01 Allan McRae <allan@archlinux.org>
5667 * scripts/update-copyrights: Update configure input file suffix.
5669 * NEWS: Update copyright year.
5670 * catgets/gencat.c: Likewise.
5671 * csu/version.c: Likewise.
5672 * debug/catchsegv.sh: Likewise.
5673 * debug/pcprofiledump.c: Likewise.
5674 * debug/xtrace.sh: Likewise.
5675 * elf/ldconfig.c: Likewise.
5676 * elf/ldd.bash.in: Likewise.
5677 * elf/pldd.c: Likewise.
5678 * elf/sotruss.ksh: Likewise.
5679 * elf/sprof.c: Likewise.
5680 * iconv/iconv_prog.c: Likewise.
5681 * iconv/iconvconfig.c: Likewise.
5682 * locale/programs/locale.c: Likewise.
5683 * locale/programs/localedef.c: Likewise.
5684 * login/programs/pt_chown.c: Likewise.
5685 * malloc/memusage.sh: Likewise.
5686 * malloc/memusagestat.c: Likewise.
5687 * malloc/mtrace.pl: Likewise.
5688 * manual/libc.texinfo: Likewise.
5689 * nscd/nscd.c: Likewise.
5690 * nss/getent.c: Likewise.
5691 * nss/makedb.c: Likewise.
5692 * posix/getconf.c: Likewise.
5693 * scripts/test-installation.pl: Likewise.
5695 * All files with FSF copyright notices: Update copyright dates
5696 using scripts/update-copyrights.
5697 * intl/plural.c: Regenerated.
5698 * locale/programs/charmap-kw.h: Likewise.
5699 * locale/programs/locfile-kw.h: Likewise.
5701 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5703 * sysdeps/unix/sysv/linux/configure: Regenerated.
5704 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5705 the linux/fanotify.h header.
5706 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5707 HAVE_LINUX_FANOTIFY_H is defined.
5709 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5711 * benchtests/cos-inputs: New inputs.
5712 * benchtests/sin-inputs: Likewise.
5714 * benchtests/atan-inputs: New inputs. Fix name of multiple
5715 precision fallback inputs.
5717 * benchtests/atanh-inputs: New inputs.
5718 * benchtests/tanh-inputs: Likewise.
5720 * benchtests/acosh-inputs: New inputs.
5721 * benchtests/asinh-inputs: Likewise.
5723 * benchtests/cosh-inputs: New inputs.
5724 * benchtests/sinh-inputs: Likewise.
5726 * benchtests/acos-inputs: Add more inputs.
5727 * benchtests/asin-inputs: Likewise.
5729 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5732 * manual/arith.texi: Fix spelling.
5733 * manual/charset.texi: Likewise.
5734 * manual/errno.texi: Likewise.
5735 * manual/filesys.texi: Likewise.
5736 * manual/lang.texi: Likewise.
5737 * manual/llio.texi: Likewise.
5738 * manual/locale.texi: Likewise.
5739 * manual/message.texi: Likewise.
5740 * manual/resource.texi: Likewise.
5741 * manual/search.texi: Likewise.
5742 * manual/setjmp.texi: Likewise.
5743 * manual/stdio.texi: Likewise.
5744 * manual/string.texi: Likewise.
5745 * manual/sysinfo.texi: Likewise.
5746 * manual/time.texi: Likewise.
5748 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5750 * po/sl.po: New file.
5752 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5754 * .gitignore: Add core/.gdbinit/.gdb_history.
5756 2013-12-27 Allan McRae <allan@archlinux.org>
5759 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5760 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5762 2013-12-24 Brooks Moses <bmoses@google.com>
5764 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5765 all compilers that claim C++98 compliance, not just GCC.
5766 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5769 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5771 * NEWS: Restore accidentally deleted bug-fix entries.
5773 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5774 Ondřej Bílka <neleai@seznam.cz>
5777 * malloc/malloc.c (_int_free): Perform sanity check only if we
5780 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5783 * manual/stdio.texi (String Input Conversions): Clarify that character
5784 classes are not supported.
5786 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5790 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5793 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5794 Calculate results for small negative arguments directly rather
5795 than using reflection formula with special underflow handling.
5797 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5798 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5799 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5800 (fchflags): Likewise.
5802 (setlogin): Likewise.
5803 (sigaltstack): Likewise.
5806 (sigsetmask): Likewise.
5808 (waitpid): Likewise.
5809 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5810 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5812 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5813 * sysdeps/unix/bsd/Makefile: ... here.
5814 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5815 * sysdeps/unix/bsd/Versions: ... here.
5816 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5817 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5818 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5819 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5820 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5821 * sysdeps/unix/bsd/sigblock.c: ... here.
5822 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5823 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5824 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5825 * sysdeps/unix/bsd/sigvec.c: ... here.
5826 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5827 * sysdeps/unix/bsd/tcdrain.c: ... here.
5828 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5829 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5830 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5831 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5832 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5833 * sysdeps/unix/bsd/wait.c: ... here.
5834 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5835 * sysdeps/unix/bsd/wait3.c: ... here.
5836 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5837 * sysdeps/unix/bsd/waitpid.c: ... here.
5839 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5842 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5843 round-to-nearest for [!USE_AS_EXPM1L].
5844 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5845 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5846 more tests of exp and exp10. Expect some exp10 tests to miss
5847 exceptions or fail in directed rounding modes.
5848 * math/auto-libm-test-out: Regenerated.
5849 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5850 (exp10_test_tonearest): New function.
5851 (exp10_towardzero_test_data): New array.
5852 (exp10_test_towardzero): New function.
5853 (exp10_downward_test_data): New array.
5854 (exp10_test_downward): New function.
5855 (exp10_upward_test_data): New array.
5856 (exp10_test_upward): New function.
5857 (main): Call the new functions.
5858 * sysdeps/i386/fpu/libm-test-ulps: Update.
5859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5861 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5863 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5864 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5865 * math/auto-libm-test-out: Regenerated.
5866 * math/libm-test.inc (acosh_test_data): Add more tests.
5867 (atanh_test_data): Likewise.
5868 (ceil_test_data): Likewise.
5869 (copysign_test_data): Likewise.
5870 * sysdeps/i386/fpu/libm-test-ulps: Update.
5871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5873 * timezone/checktab.awk: Update from tzcode 2013i.
5874 * timezone/private.h: Likewise.
5875 * timezone/scheck.c: Likewise.
5876 * timezone/tzfile.h: Likewise.
5877 * timezone/tzselect.ksh: Likewise.
5878 * timezone/zdump.c: Likewise.
5879 * timezone/zic.c: Likewise.
5881 * math/auto-libm-test-in: Add tests of cpow.
5882 * math/auto-libm-test-out: Regenerated.
5883 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5884 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5886 (func_calc_desc): Add mpc_cc_c union field.
5887 (test_functions): Add cpow.
5888 (special_fill_2pi): New function.
5889 (special_real_inputs): Add 2pi.
5890 (calc_generic_results): Handle mpc_cc_c.
5891 * sysdeps/i386/fpu/libm-test-ulps: Update.
5892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5894 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5895 csqrt, ctan and ctanh.
5896 * math/auto-libm-test-out: Regenerated.
5897 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5898 (TEST_COND_x86): Likewise.
5899 (ccos_test_data): Use AUTO_TESTS_c_c.
5900 (ccosh_test_data): Likewise.
5901 (cexp_test_data): Likewise.
5902 (clog_test_data): Likewise.
5903 (csqrt_test_data): Likewise.
5904 (ctan_test_data): Likewise.
5905 (ctan_tonearest_test_data): Likewise.
5906 (ctan_towardzero_test_data): Likewise.
5907 (ctan_downward_test_data): Likewise.
5908 (ctan_upward_test_data): Likewise.
5909 (ctanh_test_data): Likewise.
5910 (ctanh_tonearest_test_data): Likewise.
5911 (ctanh_towardzero_test_data): Likewise.
5912 (ctanh_downward_test_data): Likewise.
5913 (ctanh_upward_test_data): Likewise.
5914 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5916 (func_calc_desc): Add mpc_c_c union field.
5917 (FUNC_mpc_c_c): New macro.
5918 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5919 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5921 (special_fill_min_subnorm_p120): New function.
5922 (special_real_inputs): Add min_subnorm_p120.
5923 (calc_generic_results): Handle mpc_c_c.
5924 * sysdeps/i386/fpu/libm-test-ulps: Update.
5925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5927 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5929 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5930 (do_sin_slow): New functions.
5931 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5932 (cslow2, csloww1, csloww2): Use the new functions.
5934 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5935 Use M to change sign of result instead of X. Assume X is
5937 (csloww1): Likewise.
5941 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5946 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5948 (sloww1): Don't adjust sign of DX.
5949 (csloww1): Likewise.
5950 (sloww2): Use X directly and don't adjust sign of DX.
5951 (csloww2): Likewise.
5953 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5955 * math/auto-libm-test-in: Add tests of cabs and carg.
5956 * math/auto-libm-test-out: Regenerated.
5957 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5958 (carg_test_data): Likewise.
5959 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5961 (func_calc_desc): Add mpc_c_f union field.
5962 (test_functions): Add cabs and carg.
5963 (calc_generic_results): Handle mpc_c_f.
5965 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5966 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5967 as a macro and a compat symbol.
5968 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5969 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5970 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5971 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5972 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5973 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5975 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5977 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5979 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5981 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5983 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5985 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5986 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5989 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5993 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5995 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5996 trailing whitespace removed.
5997 * scripts/config.guess: Update to version 2013-11-29.
5998 * scripts/config.sub: Update to version 2013-10-01.
6000 * math/auto-libm-test-in: Add tests of sincos.
6001 * math/auto-libm-test-out: Regenerated.
6002 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6003 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6005 (func_calc_desc): Add mpfr_f_11 union field.
6006 (test_functions): Add sincos.
6007 (calc_generic_results): Handle mpfr_f_11.
6008 * sysdeps/i386/fpu/libm-test-ulps: Update.
6009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6011 2013-12-19 Andreas Schwab <schwab@suse.de>
6013 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6015 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6016 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6017 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6019 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6021 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6022 * sysdeps/i386/fpu/libm-test-ulps: Update.
6023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6026 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6027 round-to-nearest mode when using frndint.
6028 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6029 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6030 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6032 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6034 * math/auto-libm-test-out: Regenerated.
6035 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6036 (TEST_COND_x86): Likewise.
6037 (expm1_tonearest_test_data): New array.
6038 (expm1_test_tonearest): New function.
6039 (expm1_towardzero_test_data): New array.
6040 (expm1_test_towardzero): New function.
6041 (expm1_downward_test_data): New array.
6042 (expm1_test_downward): New function.
6043 (expm1_upward_test_data): New array.
6044 (expm1_test_upward): New function.
6045 (main): Run the new test functions.
6046 * sysdeps/i386/fpu/libm-test-ulps: Update.
6047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6049 * include/features.h: Update comment documenting feature test
6050 macros. Mention _DEFAULT_SOURCE in comment.
6051 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6052 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6053 _BSD_SOURCE and _SVID_SOURCE.
6054 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6055 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6056 !_SVID_SOURCE]: Likewise.
6057 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6058 (__USE_POSIX_IMPLICITLY): Define.
6059 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6060 (_POSIX_SOURCE): Undefine and redefine.
6061 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6062 (_POSIX_C_SOURCE): Likewise.
6063 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6064 (Feature Test Macros): Update documentation of default features.
6066 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6068 * benchtests/Makefile: Add bench-strtok.
6069 * benchtests/bench-strtok.c: New file: strtok benchtest.
6071 2013-12-19 Allan McRae <allan@archlinux.org>
6073 * manual/install.texi: Suppress menu for plain text output.
6074 * INSTALL: Regenerated.
6076 2013-12-18 Brooks Moses <bmoses@google.com>
6079 * misc/getauxval.c: Include errno.h.
6080 (__getauxval): Set errno to ENOENT if the requested type is not
6082 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6083 don't declare with __attribute_const__.
6084 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6085 * manual/startup.texi: Document that getauxval sets errno.
6087 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6089 * math/auto-libm-test-in: Add tests of jn and yn.
6090 * math/auto-libm-test-out: Regenerated.
6091 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6092 (yn_test_data): Likewise.
6093 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6095 (func_calc_desc): Add mpfr_if_f union field.
6096 (FUNC_mpfr_if_f): New macro.
6097 (test_functions): Add jn and yn.
6098 (calc_generic_results): Assert type of second input for
6099 mpfr_ff_f. Handle mpfr_if_f.
6100 (output_for_one_input_case): Disable all checking for arguments
6101 fitting floating-point types in case of an integer argument.
6102 * sysdeps/i386/fpu/libm-test-ulps: Update.
6103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6106 Don't expect fegetround reference in libm.so.
6108 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6110 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6111 $(config-cflags-nofma).
6113 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6115 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6116 * math/auto-libm-test-out: Regenerated.
6119 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6120 to determine exponent and adjust argument to have exponent of -1.
6121 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6123 * math/auto-libm-test-out: Regenerated.
6124 * sysdeps/i386/fpu/libm-test-ulps: Update.
6125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6127 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
6129 * manual/probes.texi: Remove cases when per-thread arenas are
6132 2013-12-18 Andreas Schwab <schwab@suse.de>
6134 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6135 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6136 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6137 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6138 * sysdeps/i386/i686/multiarch/Makefile: Update.
6139 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6141 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6143 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6144 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6146 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6149 Support TZ transition times < 00:00:00.
6150 This is needed for version-3 tz-format files; it supports time
6151 stamps past 2037 for America/Godthab (the only entry in the tz
6152 database for which this change is relevant).
6153 * manual/time.texi (TZ Variable): Document transition times
6154 from -167:59:59 through -00:00:01.
6155 * time/tzset.c (tz_rule): Time of day is now signed.
6156 (__tzset_parse_tz): Parse negative time of day.
6158 Document TZ transition times >= 25:00:00.
6159 * manual/time.texi (TZ Variable): Document transition times from
6160 25:00:00 through 167:59:59. These are already supported, and this
6161 support will help with version-3 tz-format files.
6163 * manual/time.texi (TZ Variable): Modernize North America example
6164 to reflect current (i.e., 2007-and-later) daylight saving rules.
6166 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6168 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6170 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6171 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6172 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6173 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6174 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6175 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6176 * sysdeps/unix/bsd/clock.c: Likewise.
6177 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6178 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6179 * sysdeps/unix/bsd/init-posix.c: Likewise.
6180 * sysdeps/unix/bsd/poll.c: Likewise.
6181 * sysdeps/unix/bsd/ptsname.c: Likewise.
6182 * sysdeps/unix/bsd/seekdir.c: Likewise.
6183 * sysdeps/unix/bsd/setegid.c: Likewise.
6184 * sysdeps/unix/bsd/seteuid.c: Likewise.
6185 * sysdeps/unix/bsd/setgid.c: Likewise.
6186 * sysdeps/unix/bsd/setrgid.c: Likewise.
6187 * sysdeps/unix/bsd/setruid.c: Likewise.
6188 * sysdeps/unix/bsd/setsid.c: Likewise.
6189 * sysdeps/unix/bsd/setuid.c: Likewise.
6190 * sysdeps/unix/bsd/sigaction.c: Likewise.
6191 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6192 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6193 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6194 * sysdeps/unix/bsd/telldir.c: Likewise.
6195 * sysdeps/unix/bsd/times.c: Likewise.
6196 * sysdeps/unix/bsd/usleep.c: Likewise.
6198 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6199 ($(objpfx)libbsd-compat.a): Remove rule.
6201 * include/features.h (__FAVOR_BSD): Do not define.
6202 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6203 features conflicting with POSIX.
6204 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6205 (_BSD_SOURCE): Remove description of not being a subset of other
6206 feature test macros.
6207 * manual/job.texi (getpgrp): Do not document BSD version.
6208 (getpgid): Do not document by reference to BSD getpgrp.
6209 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6210 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6211 * signal/signal.h [__FAVOR_BSD]: Likewise.
6212 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6213 instead of making contents conditional on [__FAVOR_BSD].
6214 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6216 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6220 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6223 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6224 values below 2**-450, not 2**-500.
6225 * math/auto-libm-test-in: Don't allow spurious underflow from
6227 * math/auto-libm-test-out: Regenerated.
6231 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6232 values of ha and hb and sort them after adjusting subnormal
6234 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6236 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6237 values of ea and eb and sort them after adjusting subnormal
6239 * math/auto-libm-test-in: Do not expect some hypot tests of
6240 subnormals to fail. Add more hypot tests.
6241 * math/auto-libm-test-out: Regenerated.
6243 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6246 * sysdeps/sh/s_fma.c: New file.
6247 * sysdeps/sh/s_fmaf.c: New file.
6248 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6250 * sysdeps/sh/Implies: Add sh/soft-fp.
6252 2013-12-16 Roland McGrath <roland@hack.frob.com>
6254 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6255 level of indirection to members `objname', `errstring', `malloced'.
6256 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6257 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6258 it as the __longjmp argument (just pass 1 instead).
6259 (_dl_catch_error): Initialize C with argument pointers and address of
6260 volatile local ERRCODE rather than copying values out of C at return.
6262 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6264 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6265 * math/auto-libm-test-out: Regenerated.
6266 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6267 (hypot_test_data): Likewise.
6268 (pow_test_data): Likewise.
6269 (pow_tonearest_test_data): Likewise.
6270 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6272 (func_calc_desc): Add mpfr_ff_f union field.
6273 (FUNC_mpfr_ff_f): New macro.
6274 (test_functions): Add atan2, hypot and pow.
6275 (special_fill_min): New function.
6276 (special_fill_minus_min): Likewise.
6277 (special_fill_min_subnorm): Likewise.
6278 (special_fill_minus_min_subnorm): Likewise.
6279 (special_real_inputs): Add min, -min, min_subnorm and
6281 (calc_generic_results): Handle mpfr_ff_f.
6282 * sysdeps/i386/fpu/libm-test-ulps: Update.
6283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6285 2013-12-16 Will Newton <will.newton@linaro.org>
6287 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6288 (Aligned Memory Blocks): Add documentation for aligned_alloc
6289 and suggest it as an alternative to posix_memalign.
6290 (Hooks for Malloc): Document __memalign_hook is also called
6291 for aligned_alloc. (Summary of Malloc): Add summary for
6292 aligned alloc. Document __memalign_hook is also called
6295 2013-12-16 Will Newton <will.newton@linaro.org>
6297 * manual/memory.texi (Malloc Examples): Clarify default
6298 alignment documentation. Suggest posix_memalign rather
6299 than memalign or valloc.
6300 (Aligned Memory Blocks): Remove suggestion to use memalign
6301 or valloc. Remove obsolete comment about BSD.
6302 Document memalign errno values and mark the function obsolete.
6303 Document posix_memalign returned error codes. Mark valloc
6304 as obsolete. (Hooks for Malloc): __memalign_hook is also
6305 called for posix_memalign and valloc.
6306 (Summary of Malloc): Add posix_memalign to function summary.
6307 __memalign_hook is also called for posix_memalign and valloc.
6309 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6311 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6315 (sloww): Use mynumber union. Expand ternary operator into
6317 (cslow): use mynumber union.
6319 2013-12-16 Allan McRae <allan@archlinux.org>
6321 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6322 * configure: Regenerated.
6324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6327 * configure.ac: Added --enable-maintainer-mode. Check for
6328 autoconf when enabled.
6329 * configure: Regenerated.
6331 * nscd/nscd.service: New file.
6332 * nscd/nscd.tmpfiles: New file.
6334 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6337 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6338 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6339 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6340 (strstr): Add __strstr_sse2_unaligned ifunc.
6341 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6342 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6343 (strcasestr): Remove __strcasestr_sse42 ifunc.
6344 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6345 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6346 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6348 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6350 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6351 * sysdeps/sh/bits/fenv.h: ... here.
6352 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6354 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6356 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6359 hypotf multiarch implementations.
6360 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6361 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6362 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6363 multiarch hypot for PPC64.
6364 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6365 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6366 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6367 multiarch hypotf for PPC64.
6369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6370 modff multiarch implementations.
6371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6374 multiarch modf for PPC64.
6375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6378 multiarch modff for PPC64.
6380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6381 and logl multiarch implementations.
6382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6385 multiarch logb for PPC64.
6386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6389 multiarch logb for PPC64.
6390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6393 multiarch logb for PPC64.
6395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6396 isinff multiarch implementation.
6397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6401 multiarch isinf for PPC64.
6402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6405 multiarch isinff for PPC64.
6407 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6408 finitef multiarch implementation.
6409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6413 multiarch finite for PPC64.
6414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6417 multiarch finitef for PPC64.
6419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6420 lrint multiarch implementation.
6421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6425 multiarch llrint for PPC64.
6426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6427 multiarch lrint for PPC64.
6429 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6430 copysignf multiarch implementation.
6431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6436 multiarch copysign for PPC64.
6437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6438 multiarch copysignf for PPC64.
6440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6441 multiarch implementation.
6442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6450 multiarch llround for PPC64.
6451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6452 multiarch trunc for PPC64.
6453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6454 multiarch truncf for PPC64.
6456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6457 multiarch implementation.
6458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6466 multiarch llround for PPC64.
6467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6468 multiarch round for PPC64.
6469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6470 multiarch roundf for PPC64.
6472 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6473 multiarch implementation.
6474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6482 multiarch llround for PPC64.
6483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6484 multiarch floor for PPC64.
6485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6486 multiarch floorf for PPC64.
6488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6489 multiarch implementation.
6490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6498 multiarch llround for PPC64.
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6500 multiarch ceil for PPC64.
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6502 multiarch ceilf for PPC64.
6504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6505 multiarch implementation.
6506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6513 multiarch llround for PPC64.
6514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6515 multiarch lround for PPC64.
6517 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6518 multiarch implementation.
6519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6526 multiarch isnan for PPC64.
6527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6528 multiarch isnanf for PPC64.
6530 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6531 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6532 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6533 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6534 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6537 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6538 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6539 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6540 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6543 multiarch implementations.
6544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6545 (__libc_ifunc_impl_list): Likewise.
6546 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6547 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6548 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6549 multiarch stpcpy for PPC64.
6551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6552 multiarch implementations.
6553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6554 (__libc_ifunc_impl_list): Likewise.
6555 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6556 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6557 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6558 multiarch strcpy for PPC64.
6560 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6561 redefine function name.
6562 (_wordcopy_fwd_dest_aligned): Likewise.
6563 (_wordcopy_bwd_aligned): Likewise.
6564 (_wordcopy_bwd_dest_aligned): Likewise.
6565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6566 multiarch implementations.
6567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6568 (__libc_ifunc_impl_list): Likewise.
6569 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6570 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6571 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6572 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6573 multiarch wcscpy for PPC64.
6575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6576 multiarch implementations.
6577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6578 (__libc_ifunc_impl_list): Likewise.
6579 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6580 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6581 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6582 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6583 multiarch wcscpy for PPC64.
6585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6586 multiarch implementations.
6587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6588 (__libc_ifunc_impl_list): Likewise.
6589 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6590 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6591 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6592 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6593 multiarch wcsrchr for PPC64.
6595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6596 multiarch implementations.
6597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6598 (__libc_ifunc_impl_list): Likewise.
6599 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6600 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6601 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6602 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6603 multiarch wcschr for PPC64.
6605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6606 multiarch implementations.
6607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6608 (__libc_ifunc_impl_list): Likewise.
6609 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6610 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6611 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6612 multiarch strchrnul for PPC64.
6614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6617 (__libc_ifunc_impl_list): Likewise.
6618 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6619 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6620 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6621 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6627 (__libc_ifunc_impl_list): Likewise.
6628 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6629 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6630 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6631 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6635 multiarch implementations.
6636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6637 (__libc_ifunc_impl_list): Likewise.
6638 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6639 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6640 strncasecmp for PPC64.
6641 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6642 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6643 multiarch strncasecmp_l for PPC64.
6645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6646 multiarch implementations.
6647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6648 (__libc_ifunc_impl_list): Likewise.
6649 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6650 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6651 multiarch strcasecmp for PPC64.
6652 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6654 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6655 multiarch strcasecmp_l for PPC64.
6657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6660 (__libc_ifunc_impl_list): Likewise.
6661 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6662 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6663 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6669 (__libc_ifunc_impl_list): Likewise.
6670 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6671 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6672 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6678 (__libc_ifunc_impl_list): Likewise.
6679 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6680 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6681 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6682 rawmemrchr for PPC64.
6684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6687 (__libc_ifunc_impl_list): Likewise.
6688 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6689 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6690 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6696 (__libc_ifunc_impl_list): Likewise.
6697 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6698 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6699 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6705 (__libc_ifunc_impl_list): Likewise.
6706 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6707 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6708 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6711 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6712 avoid cretion of __bzero symbol.
6713 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6715 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6717 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6720 multiarch implementations.
6721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6722 (__libc_ifunc_impl_list): Likewise.
6723 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6724 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6725 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6726 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6728 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6729 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6730 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6731 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6732 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6734 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6736 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6737 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6740 (__libc_ifunc_impl_list): Likewise.
6741 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6742 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6743 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6744 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6748 multiarch for POWER/PPC64.
6749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6750 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6751 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6752 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6753 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6754 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6755 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6756 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6757 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6760 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6761 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6762 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6763 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6764 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6765 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6766 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6767 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6768 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6769 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6770 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6771 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6772 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6773 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6774 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6783 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6785 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6787 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6789 * benchtests/Makefile (bench): Add exp2 and log2.
6790 (LDLIBS-bench-exp2): Add -lm.
6791 (LDLIBS-bench-log2): Likewise.
6792 * benchtests/exp2-inputs: New inputs file.
6793 * benchtests/log2-inputs: New inputs file.
6794 * benchtests/log-inputs: Add new inputs.
6795 * benchtests/tan-inputs: Likewise.
6797 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6799 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6801 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6802 (csloww2): ... from here.
6804 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6805 instead of structures.
6806 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6807 (POLYNOMIAL): Likewise.
6808 (TAYLOR_SLOW): Likewise.
6816 (bsloww1): Likewise.
6817 (bsloww2): Likewise.
6820 (csloww1): Likewise.
6821 (csloww2): Likewise.
6823 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6825 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6826 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6827 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6828 * malloc/hooks.c (realloc_check): Likewise.
6830 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6831 * malloc/arena.c: Remove PER_THREAD conditional.
6832 [!PER_THREAD]: Remove code.
6833 (ptmalloc_unlock_all2): Likewise.
6834 (ptmalloc_init): Likewise.
6835 (_int_new_arena): Likewise.
6836 (arena_get2): Likewise.
6837 * malloc/hooks.c (__malloc_get_state): Likewise.
6838 (__malloc_set_state): Likewise.
6839 * malloc/malloc.c: Likewise.
6840 (struct malloc_state): Likewise.
6841 (struct malloc_par): Likewise.
6842 (__libc_realloc): Likewise.
6843 (__libc_mallopt): Likewise.
6845 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6847 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6849 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6851 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6852 macro to a function. Check for zero perturb_byte.
6853 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6855 * malloc/malloc.c: (force_reg): Remove.
6856 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6857 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6858 force_reg by atomic_forced_read.
6859 * malloc/arena.c (ptmalloc_init): Likewise.
6860 * malloc/hooks.c (top_check): Likewise.
6862 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6866 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6870 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6872 * math/auto-libm-test-in: Add tests of lgamma.
6873 * math/auto-libm-test-out: Regenerated.
6874 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6875 (M_LOG_2_SQRT_PIl): Likewise.
6876 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6877 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6879 (func_calc_desc): Add mpfr_f_f1 union field.
6888 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6889 (test_functions): Add lgamma.
6890 (calc_generic_results): Handle mpfr_f_f1.
6891 * sysdeps/i386/fpu/libm-test-ulps: Update.
6892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6894 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6896 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6897 __mpn_add_n for PowerPC64/POWER7.
6898 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6899 __mpn_sub_n for PowerPC64/POWER7.
6901 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6902 __mpn_addmul_1 for PowerPC64.
6903 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6904 __mpn_submul_1 for PowerPC64.
6905 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6907 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6910 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6913 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6915 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6917 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6919 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6920 add multiarch folders.
6921 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6922 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6923 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6924 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6925 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6926 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6927 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6928 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6929 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6930 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6931 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6940 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6946 multiarch __ieee754_hypot for PowerPC32.
6947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6952 multiarch __ieee754_hypotf for PowerPC32.
6954 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6955 long_double_symbol only if __logbl is defined.
6956 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6957 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6958 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6959 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6960 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6961 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6962 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6963 path for implementation.
6964 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6965 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6967 logb, and logbl multiarch implementations for PowerPC32.
6968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6973 multiarch logb for PowerPC32.
6974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6979 multiarch logbf for PowerPC32.
6980 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6984 multiarch logbl implementation for PowerPC32.
6986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6987 and modff multiarch implementations.
6988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6993 multiarch modf for PowerPC32.
6994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6999 multiarch modff for PowerPC32.
7001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7002 and lrintf multiarch implementations.
7003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7008 multiarch lrint for PowerPC32.
7009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7010 file: multiarch lrintf for PowerPC32.
7012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7013 and lroundf multiarch implementations.
7014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7021 multiarch lround for PowerPC32.
7022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7023 file: multiarch lroundf for PowerPC32.
7025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7026 copysign and copysignf multiarch implementations.
7027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7032 file: multiarch copysign for PowerPC32.
7033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7034 file: multiarch copysignf for PowerPC32.
7036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7037 and truncf multiarch implementations.
7038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7043 multiarch trunc for PowerPC32.
7044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7049 multiarch truncf for PowerPC32.
7051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7052 and roundf multiarch implementations.
7053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7058 multiarch round for PowerPC32.
7059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7064 multiarch roundf for PowerPC32.
7066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7067 and floorf multiarch implementations.
7068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7073 multiarch floor for PowerPC32.
7074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7079 multiarch floorf for PowerPC32.
7081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7082 and ceilf multiarch implementations.
7083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7088 multiarch ceil for PowerPC32.
7089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7094 multiarch ceilf for PowerPC32.
7096 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7098 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7101 and finitef multiarch implementations.
7102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7107 multiarch finite for PowerPC32.
7108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7111 file: multiarch finitef for PowerPC32.
7113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7114 and isinff multiarch implementations.
7115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7120 multiarch isinf for PowerPC32.
7121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7124 multiarch isinff for PowerPC32.
7126 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7127 alias when __isnan is defined.
7128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7129 and isnanf multiarch implementations.
7130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7139 multiarch isnan for PowerPC32.
7140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7145 multiarch isnanf for PowerPC32.
7147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7148 and sqrtf multiarch implementations.
7149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7154 multiarch sqrt for PowerPC32.
7155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7160 multiarch sqrtf for PowerPC32.
7162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7163 and llroundf multiarch implementations.
7164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7171 file: multiarch llround for PowerPC32.
7172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7173 file: multiarch llroundf for PowerPC32.
7175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7176 multiarch PowerPC32 fpu implementations.
7177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7182 multiarch llrint for PowerPC32.
7183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7192 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7194 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7196 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7198 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7199 multiarch wordcopy for PPC32.
7200 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7202 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7203 (__libc_ifunc_impl_list): Likewise.
7204 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7205 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7206 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7207 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7208 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7209 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7211 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7218 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7219 multiarch wcscpy for PPC32.
7220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7223 (__libc_ifunc_impl_list): Likewise.
7224 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7225 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7226 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7227 sysdeps/powerpc/power6/wcscpy.c.
7229 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7237 multiarch wcsrchr for PPC32.
7238 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7240 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7241 (__libc_ifunc_impl_list): Likewise.
7242 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7243 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7244 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7245 sysdeps/powerpc/power6/wcsrchr.c.
7247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7253 multiarch wcschr for PPc32.
7254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7257 (__libc_ifunc_impl_list): Likewise.
7258 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7259 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7260 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7261 sysdeps/powerpc/power6/wcschr.c.
7263 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7264 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7266 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7267 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7268 file: multiarch strchr for PPC32.
7269 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7271 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7272 (__libc_ifunc_impl_list): Likewise.
7274 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7276 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7278 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7280 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7281 multiarch strchrnul for PPC32.
7282 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7284 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7285 (__libc_ifunc_impl_list): Likewise.
7287 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7289 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7290 multiarch strncasecmp for PPC32.
7291 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7293 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7294 multiarch strncasecmp_l for PPC32.
7295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7296 strncasecmp multiarch objects.
7297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7298 (__libc_ifunc_impl_list): Likewise.
7300 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7302 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7303 multiarch strncasecmp for PPC32.
7304 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7306 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7307 multiarch strcasecmp_l for PPC32.
7308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7311 (__libc_ifunc_impl_list): Likewise.
7313 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7315 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7317 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7318 multiarch strncmp for PPC32.
7319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7322 (__libc_ifunc_impl_list): Likewise.
7324 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7325 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7327 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7328 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7332 (__libc_ifunc_impl_list): Likewise.
7334 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7336 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7338 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7342 (__libc_ifunc_impl_list): Likewise.
7344 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7346 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7348 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7349 multiarch rawmemchr for PPC32.
7350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7353 (__libc_ifunc_impl_list): Likewise.
7355 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7357 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7359 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7360 file: memrchr multiarch for PPC32.
7361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7364 (__libc_ifunc_impl_list): Likewise.
7366 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7367 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7369 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7370 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7371 multiarch memchr for PPC32.
7372 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7374 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7375 (__libc_ifunc_impl_list): Likewise.
7377 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7378 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7380 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7382 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7383 file: multiarch mempcpy for PPC32.
7384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7387 (__libc_ifunc_impl_list): Likewise.
7389 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7390 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7391 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7392 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7393 multiarch bzero for PPC32.
7394 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7396 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7398 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7399 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7400 file: multiarch memset for PPC32.
7401 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7403 memset multiarch objects.
7404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7405 (__libc_ifunc_impl_list): Likewise.
7407 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7409 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7410 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7412 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7416 (__libc_ifunc_impl_list): Likewise.
7418 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7419 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7420 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7422 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7424 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7426 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7427 multiarch memcpy for PPC32.
7428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7431 (__libc_ifunc_impl_list): Likewise.
7433 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7434 support multiarch for POWER/PPC32.
7435 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7437 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7439 Implies file to make multiarch folder appers before the fpu and
7440 default folder for power4 configuration.
7442 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7444 * scripts/bench.pl: Append volatile keyword to type.
7446 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7448 * sysdeps/sh/sotruss-lib.c: New file.
7449 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7451 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7455 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7458 * math/w_tgamma.c: Include <errno.h>.
7459 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7460 * math/w_tgammaf.c: Include <errno.h>.
7461 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7462 * math/w_tgammal.c: Include <errno.h>.
7463 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7464 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7465 underflow. Add more tgamma tests.
7466 * math/auto-libm-test-out: Regenerated.
7467 * sysdeps/i386/fpu/libm-test-ulps: Update.
7468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7470 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7471 sin, sinh, tan, tanh, tgamma, y0 and y1.
7472 * math/auto-libm-test-out: Regenerated.
7473 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7474 (TEST_COND_x86): Likewise.
7475 (M_E2l): Remove macro.
7477 (M_2_SQRT_PIl): Likewise.
7478 (M_SQRT_PIl): Likewise.
7479 (M_1_DIV_El): Likewise.
7480 (log_test_data): Use AUTO_TESTS_f_f.
7481 (log10_test_data): Likewise.
7482 (log1p_test_data): Likewise.
7483 (log2_test_data): Likewise.
7484 (sin_test_data): Likewise.
7485 (sin_tonearest_test_data): Likewise.
7486 (sin_towardzero_test_data): Likewise.
7487 (sin_downward_test_data): Likewise.
7488 (sin_upward_test_data): Likewise.
7489 (sinh_test_data): Likewise.
7490 (sinh_tonearest_test_data): Likewise.
7491 (sinh_towardzero_test_data): Likewise.
7492 (sinh_downward_test_data): Likewise.
7493 (sinh_upward_test_data): Likewise.
7494 (tan_test_data): Likewise.
7495 (tan_tonearest_test_data): Likewise.
7496 (tan_towardzero_test_data): Likewise.
7497 (tan_downward_test_data): Likewise.
7498 (tan_upward_test_data): Likewise.
7499 (tanh_test_data): Likewise.
7500 (tgamma_test_data): Likewise.
7501 (y0_test_data): Likewise.
7502 (y1_test_data): Likewise.
7503 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7504 (special_real_inputs): Add pi/4.
7505 * sysdeps/i386/fpu/libm-test-ulps: Update.
7506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7508 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7510 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7511 "longjmp_target" static probes.
7512 (__longjmp): Rename to __longjmp_symbol.
7513 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7514 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7515 on which longjmp to generate.
7516 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7517 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7519 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7520 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7521 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7522 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7523 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7524 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7526 __longjmp_symbol based on which __longjmp to generate.
7527 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7529 (setjmp): Rename to setjmp_symbol.
7530 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7531 (_setjmp): Rename to _setjmp_symbol.
7532 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7533 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7534 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7535 which setjmp to generate.
7536 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7537 "longjmp_target" static probes.
7539 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7541 * benchtests/README: Add note about output arguments.
7542 * benchtests/bench-sincos.c: Remove file.
7543 * benchtests/sincos-inputs: New file.
7544 * scripts/bench.pl: Identify output arguments and define
7545 static variables for them.
7547 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7550 * Makefile (INSTALL): Add install-plain.texi as the primary
7552 * manual/install-plain.texi: New file.
7553 * manual/install.texi: Include node directive only for
7554 non-plaintext output.
7556 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7558 * stdlib/longlong.h: Update from GCC.
7562 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7563 * math/w_j0f.c (y0f): Likewise.
7564 * math/w_j0l.c (__y0l): Likewise.
7565 * math/w_j1.c (y1): Likewise.
7566 * math/w_j1f.c (y1f): Likewise.
7567 * math/w_j1l.c (__y1l): Likewise
7568 * math/w_jn.c (yn): Likewise.
7569 * math/w_jnf.c (ynf): Likewise.
7570 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7571 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7572 value for Bessel function domain errors outside _SVID_ mode.
7573 Adjust sign of return value for yn (negative integer, 0).
7574 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7575 by zero in return for negative x and set sign appropriately for
7577 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7578 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7579 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7580 expectations in error cases.
7581 (y1_test_data): Likewise.
7582 (yn_test_data): Likewise.
7583 * sysdeps/i386/fpu/libm-test-ulps: Update.
7584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7586 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7588 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7589 "64" to "64-v1". Add "64-v2".
7590 (abi-64-options): Rename to ...
7591 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7592 (abi-64-condition): Rename to ...
7593 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7594 (abi-64-ld-soname): Rename to ...
7595 (abi-64-v1-ld-soname): ... this.
7596 (abi-64-v2-options): Define.
7597 (abi-64-v2-condition): Likewise.
7598 (abi-64-v2-ld-soname): Likewise.
7599 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7600 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7605 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7606 Alan Modra <amodra@gmail.com>
7608 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7609 New versions for use with the ELFv2 ABI.
7610 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7611 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7613 (struct La_ppc64v2_retval): Likewise.
7614 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7615 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7616 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7617 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7618 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7619 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7620 Do not save or restore CR.
7621 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7622 (_dl_profile_resolve): Do no save or restore CR. Support extended
7623 return values for ELFv2 ABI. Fix location of FPR return registers.
7624 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7625 updated values for _CALL_ELF == 2.
7626 (La_regs, La_retval, int_retval): Likewise.
7628 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7630 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7631 (FRAME_MIN_SIZE_PARM): Likewise.
7632 (FRAME_BACKCHAIN): Likewise.
7633 (FRAME_CR_SAVE): Likewise.
7634 (FRAME_LR_SAVE): Likewise.
7635 (FRAME_TOC_SAVE): Likewise.
7636 (FRAME_PARM_SAVE): Likewise.
7637 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7638 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7639 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7640 (call_mcount_parm_offset): New macro.
7641 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7642 (PROF): Use symbolic stack frame offsets.
7643 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7644 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7645 Redefine in terms of FRAME_MIN_SIZE.
7646 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7647 (_dl_profile_resolve): Likewise. Update comment.
7648 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7649 symbols stack frame offsets.
7650 (__sigsetjmp): Likewise.
7651 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7652 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7653 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7654 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7657 (FRAME_BACKCHAIN): Remove.
7658 (FRAME_CR_SAVE): Likewise.
7659 (FRAME_LR_SAVE): Likewise.
7660 (FRAME_COMPILER_DW): Likewise.
7661 (FRAME_LINKER_DW): Likewise.
7662 (FRAME_TOC_SAVE): Likewise.
7663 (FRAME_PARM_SAVE): Likewise.
7664 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7665 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7666 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7668 (CHECK_SP): Use symbolic stack frame offsets.
7669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7670 zone" instead of caller's parameter save area for temp storage.
7671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7672 Likewise. Also, use symbolic stack frame offsets.
7673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7674 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7675 our own stack frame instead of the caller's.
7676 (__socket): Use symbolic stack frame offsets.
7678 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7679 Alan Modra <amodra@gmail.com>
7681 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7683 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7684 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7685 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7687 (elf_machine_fixup_plt): Call it.
7688 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7690 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7691 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7692 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7693 r2 before calling target.
7695 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7696 Alan Modra <amodra@gmail.com>
7698 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7699 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7700 versions of macros to support ELFv2 ABI.
7701 (LOCALENTRY): New macro.
7702 (ENTRY, EALIGN): Use it.
7703 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7704 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7705 fall through into ENTRY entry point.
7706 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7707 Only define if _CALL_ELF != 2.
7709 (elf_machine_matches_host): Verify ABI version matches.
7710 (RTLD_START): Use LOCALENTRY.
7711 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7712 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7713 (PLT_ENTRY_WORDS): New macro.
7714 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7715 (elf_machine_runtime_setup): Support ELFv2 ABI.
7716 (elf_machine_fixup_plt): Likewise.
7717 (elf_machine_plt_conflict): Likewise.
7718 (resolve_ifunc): Likewise.
7719 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7720 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7723 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7725 (makecontext): Support ELFv2 ABI.
7726 * elf/elf.h (EF_PPC64_ABI): Define.
7728 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7730 * sysdeps/powerpc/powerpc64/sysdep.h
7731 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7732 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7733 (ENTRY) [ASSEMBLER]: ... but instead here ...
7734 (EALIGN) [ASSEMBLER]: ... and here.
7735 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7736 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7737 (ENTRY_2) [!ASSEMBLER]: Use it.
7738 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7739 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7740 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7741 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7742 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7744 Use PPC64_LOAD_FUNCPTR.
7746 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7748 2013-12-04 Alan Modra <amodra@gmail.com>
7750 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7751 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7752 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7753 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7755 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7756 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7757 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7758 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7759 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7760 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7762 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7765 (__makecontext): Fix incorrect CFI when backtracing out of
7766 context created via makecontext.
7767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7768 (__setcontext): Fix incorrect CFI during switch to new context.
7769 (__novec_setcontext): Likewise.
7771 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7774 * time/strptime_l.c (__strptime_internal): Allow modifiers
7776 * time/tst-strptime.c (day_tests): Add testcase.
7778 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7780 * scripts/bench.pl: Skip over blank lines.
7782 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7785 * manual/time.texi (Calendar Time): Clarify what timezone functions
7788 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7792 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7794 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7796 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7797 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7798 * debug/memset_chk.c (__memset_chk): Likewise.
7799 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7800 * debug/strncpy_chk.c: Likewise.
7802 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7806 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7807 (__ieee754_exp): For possibly underflowing results, check size of
7808 result and force underflow exception if required.
7809 * math/auto-libm-test-in: Add more tests of exp.
7810 * math/auto-libm-test-out: Regenerated.
7811 * sysdeps/i386/fpu/libm-test-ulps: Update.
7812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7815 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7816 * math/w_exp2f.c (__exp2f): Likewise.
7817 * math/w_exp2l.c (__exp2l): Likewise.
7818 * math/auto-libm-test-in: Do not allow missing errno on exp2
7820 * math/auto-libm-test-out: Regenerated.
7822 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7825 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7826 handle filename validation.
7827 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7830 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7833 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7834 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7835 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7837 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7838 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7839 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7841 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7842 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7843 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7844 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7845 Add more erfc tests.
7846 * math/auto-libm-test-out: Regenerated.
7847 * sysdeps/i386/fpu/libm-test-ulps: Update.
7848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7850 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7851 exp2, expm1, j0 and j1.
7852 * math/auto-libm-test-out: Regenerated.
7853 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7854 (erfc_test_data): Likewise.
7855 (exp_test_data): Likewise.
7856 (exp_tonearest_test_data): Likewise.
7857 (exp_towardzero_test_data): Likewise.
7858 (exp_downward_test_data): Likewise.
7859 (exp_upward_test_data): Likewise.
7860 (exp10_test_data): Likewise.
7861 (exp2_test_data): Likewise.
7862 (expm1_test_data): Likewise.
7863 (j0_test_data): Likewise.
7864 (j1_test_data): Likewise.
7865 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7866 (input_flag_type): Add flag_xfail_rounding.
7867 (input_flags): Add xfail-rounding.
7868 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7869 (output_for_one_input_case): Handle flag_xfail_rounding.
7870 * sysdeps/i386/fpu/libm-test-ulps: Update.
7871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7873 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7876 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7879 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7882 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7883 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7884 (STAP_PROBE0): New macro.
7885 (STAP_PROBE1): Likewise.
7886 (STAP_PROBE2): Likewise.
7887 (STAP_PROBE3): Likewise.
7888 (STAP_PROBE4): Likewise.
7890 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7892 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7894 2013-12-02 Steve Ellcey <sellcey@mips.com>
7896 * benchtests/Makefile (bench): Add sqrt.
7897 (LDLIBS-bench-sqrt): New.
7898 * benchtests/sqrt-input: New.
7900 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7902 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7903 (GAIH_EAI): Likewise.
7904 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7905 (gaih_inet): Likewise.
7906 (getaddrinfo): Don't use GAIH_EAI.
7908 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7909 (struct gaih): Remove definition.
7911 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7913 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7914 Use HERRNOP directly.
7916 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7920 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7922 * math/gen-auto-libm-tests.c (test_functions): Add more
7923 single-argument functions.
7924 (special_fill_pi_2): New function.
7925 (special_fill_minus_pi_2): Likewise.
7926 (special_fill_pi_6): Likewise.
7927 (special_fill_minus_pi_6): Likewise.
7928 (special_fill_pi_3): Likewise.
7929 (special_fill_2pi_3): Likewise.
7930 (special_fill_e): Likewise.
7931 (special_fill_1_e): Likewise.
7932 (special_fill_e_minus_1): Likewise.
7933 (special_real_inputs): Add more special inputs.
7934 (output_for_one_input_case): Do not require ERANGE on underflow to
7935 zero if round-to-nearest result does not underflow to zero, unless
7936 exact results required.
7937 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7938 atan, atanh, cbrt, cos and cosh.
7939 * math/auto-libm-test-out: Regenerated.
7940 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7941 (acos_tonearest_test_data): Likewise.
7942 (acos_towardzero_test_data): Likewise.
7943 (acos_downward_test_data): Likewise.
7944 (acos_upward_test_data): Likewise.
7945 (acosh_test_data): Likewise.
7946 (asin_test_data): Likewise.
7947 (asin_tonearest_test_data): Likewise.
7948 (asin_towardzero_test_data): Likewise.
7949 (asin_upward_test_data): Likewise.
7950 (asinh_test_data): Likewise.
7951 (atan_test_data): Likewise.
7952 (atanh_test_data): Likewise.
7953 (cbrt_test_data): Likewise.
7954 (cos_test_data): Likewise.
7955 (cos_tonearest_test_data): Likewise.
7956 (cos_towardzero_test_data): Likewise.
7957 (cos_downward_test_data): Likewise.
7958 (cos_upward_test_data): Likewise.
7959 (cosh_test_data): Likewise.
7960 (cosh_tonearest_test_data): Likewise.
7961 (cosh_towardzero_test_data): Likewise.
7962 (cosh_downward_test_data): Likewise.
7963 (cosh_upward_test_data): Likewise.
7964 * sysdeps/i386/fpu/libm-test-ulps: Update.
7965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7967 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7970 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7971 * math/w_exp10f.c (__exp10f): Likewise.
7972 * math/w_exp10l.c (__exp10l): Likewise.
7973 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7974 errno settings in existing tests.
7977 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7978 precision control set to double precision.
7979 * sysdeps/i386/fpu/w_sqrt.c: New file.
7980 * math/auto-libm-test-in: Add more tests.
7981 * math/auto-libm-test-out: Update.
7983 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7984 (sqrt_test_tonearest): New function.
7985 (sqrt_towardzero_test_data): New variable.
7986 (sqrt_test_towardzero): New function.
7987 (sqrt_downward_test_data): New variable.
7988 (sqrt_test_downward): New function.
7989 (sqrt_upward_test_data): New variable.
7990 (sqrt_test_upward): New function.
7991 (main): Call the new functions.
7993 * math/gen-auto-libm-tests.c: New file.
7994 * math/auto-libm-test-in: Likewise.
7995 * math/auto-libm-test-out: New generated file.
7996 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7998 (%beautify): Add generated representations of zero.
7999 (top level): Set $auto_input and call parse_auto_input.
8000 (beautify): Remove trailing "f" from hex float constants.
8001 (parse_args): Handle XFAIL_TEST.
8002 (convert_condition): New function.
8003 (or_value): Likewise.
8004 (or_cond_value): Likewise.
8005 (generate_testfile): Handle AUTO_TESTS_* lines.
8006 (parse_auto_input): New function.
8007 * math/libm-test.inc (XFAIL_TEST): New macro.
8008 (ERRNO_UNCHANGED): Update value.
8009 (ERRNO_EDOM): Likewise.
8010 (ERRNO_ERANGE): Likewise.
8011 (IGNORE_RESULT): Likewise.
8012 (TEST_COND_flt_32): New macro.
8013 (TEST_COND_dbl_64): Likewise.
8014 (TEST_COND_ldbl_96_intel): Likewise.
8015 (TEST_COND_ldbl_96_m68k): Likewise.
8016 (TEST_COND_ldbl_128): Likewise.
8017 (TEST_COND_ldbl_128ibm): Likewise.
8018 (TEST_COND_long32): Likewise.
8019 (TEST_COND_long64): Likewise.
8020 (TEST_COND_before_rounding): Likewise.
8021 (TEST_COND_after_rounding): Likewise.
8022 (enable_test): Handle XFAIL_TEST flag.
8023 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8024 with finite results.
8025 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8028 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8029 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8032 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8033 __tls_get_addr_internal instead of __tls_get_offset in order to
8034 avoid GOT pointer dependency. Make rtld export
8035 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8036 __tls_get_addr since we are a __tls_get_offset platform.
8037 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8038 GOT pointer being set up before.
8039 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8041 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8043 * manual/math.texi (Errors in Math Functions): Document accuracy
8047 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8048 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8049 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8050 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8051 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8052 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8053 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8054 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8055 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8056 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8057 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8058 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8059 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8060 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8061 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8062 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8064 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8065 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8066 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8067 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8068 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8070 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8072 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8074 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8075 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8076 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8077 atomic-feupdateenv and flt-rounds.
8078 * sysdeps/powerpc/nofpu/Versions (libc): Add
8079 __atomic_feholdexcept, __atomic_feclearexcept,
8080 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8081 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8082 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8083 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8084 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8089 * manual/arith.texi (FP Exceptions): Document that exceptions may
8090 not be raised when matherr is used.
8091 (Math Error Reporting): Document overflow in directed rounding
8092 modes. Document that errno may not be set when finite values are
8093 returned on overflow. Document intent to set errno on underflow
8094 only for underflow to zero.
8097 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8098 round-to-nearest then adjust result for other rounding modes.
8099 * include/fenv.h (fegetround): Use libm_hidden_proto.
8100 * math/fegetround.c (fegetround): Use libm_hidden_def.
8101 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8102 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8103 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8104 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8106 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8107 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8108 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8109 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8111 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8114 * nss/Versions (libnss_files): Add
8115 _nss_files_gethostbyname3_r.
8116 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8118 (HOST_DB_LOOKUP): Remove macro.
8119 (_nss_files_gethostbyname_r): Implement function without the
8120 HOST_DB_LOOKUP macro.
8121 (_nss_files_gethostbyname2_r): Likewise.
8123 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
8125 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8127 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
8129 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8130 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8133 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8135 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8136 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8137 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8138 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8139 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8140 __fe_nomask_env_priv and attribute_hidden.
8141 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8142 (libc_feupdateenv_test_ppc): Likewise.
8143 (libc_feresetround_ppc): Likewise.
8144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8145 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8146 compat_symbol macro.
8147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8148 (__fe_nomask_env): Likewise.
8149 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8151 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8153 * string/Makefile: Remove ifunc tests.
8154 * string/test-string.h: Define TEST_IFUNC.
8155 * string/test-bcopy-ifunc.c: Remove.
8156 * string/test-bzero-ifunc.c: Likewise.
8157 * string/test-memccpy-ifunc.c: Likewise.
8158 * string/test-memchr-ifunc.c: Likewise.
8159 * string/test-memcmp-ifunc.c: Likewise.
8160 * string/test-memcpy-ifunc.c: Likewise.
8161 * string/test-memmem-ifunc.c: Likewise.
8162 * string/test-memmove-ifunc.c: Likewise.
8163 * string/test-mempcpy-ifunc.c: Likewise.
8164 * string/test-memrchr-ifunc.c: Likewise.
8165 * string/test-memset-ifunc.c: Likewise.
8166 * string/test-rawmemchr-ifunc.c: Likewise.
8167 * string/test-stpcpy-ifunc.c: Likewise.
8168 * string/test-stpncpy-ifunc.c: Likewise.
8169 * string/test-strcasecmp-ifunc.c: Likewise.
8170 * string/test-strcasestr-ifunc.c: Likewise.
8171 * string/test-strcat-ifunc.c: Likewise.
8172 * string/test-strchr-ifunc.c: Likewise.
8173 * string/test-strchrnul-ifunc.c: Likewise.
8174 * string/test-strcmp-ifunc.c: Likewise.
8175 * string/test-strcpy-ifunc.c: Likewise.
8176 * string/test-strcspn-ifunc.c: Likewise.
8177 * string/test-strlen-ifunc.c: Likewise.
8178 * string/test-strncasecmp-ifunc.c: Likewise.
8179 * string/test-strncat-ifunc.c: Likewise.
8180 * string/test-strncmp-ifunc.c: Likewise.
8181 * string/test-strncpy-ifunc.c: Likewise.
8182 * string/test-strnlen-ifunc.c: Likewise.
8183 * string/test-strpbrk-ifunc.c: Likewise.
8184 * string/test-strrchr-ifunc.c: Likewise.
8185 * string/test-strspn-ifunc.c: Likewise.
8186 * string/test-strstr-ifunc.c: Likewise.
8188 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8190 * benchtests/Makefile: Remove ifunc tests.
8191 * benchtests/bench-string.h: Define TEST_IFUNC.
8192 * benchtests/bench-bcopy-ifunc.c: Remove.
8193 * benchtests/bench-bzero-ifunc.c: Likewise.
8194 * benchtests/bench-memccpy-ifunc.c: Likewise.
8195 * benchtests/bench-memchr-ifunc.c: Likewise.
8196 * benchtests/bench-memcmp-ifunc.c: Likewise.
8197 * benchtests/bench-memcpy-ifunc.c: Likewise.
8198 * benchtests/bench-memmem-ifunc.c: Likewise.
8199 * benchtests/bench-memmove-ifunc.c: Likewise.
8200 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8201 * benchtests/bench-memrchr-ifunc.c: Likewise.
8202 * benchtests/bench-memset-ifunc.c: Likewise.
8203 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8204 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8205 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8206 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8207 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8208 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8209 * benchtests/bench-strcat-ifunc.c: Likewise.
8210 * benchtests/bench-strchr-ifunc.c: Likewise.
8211 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8212 * benchtests/bench-strcmp-ifunc.c: Likewise.
8213 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8214 * benchtests/bench-strcpy-ifunc.c: Likewise.
8215 * benchtests/bench-strcspn-ifunc.c: Likewise.
8216 * benchtests/bench-strlen-ifunc.c: Likewise.
8217 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8218 * benchtests/bench-strncat-ifunc.c: Likewise.
8219 * benchtests/bench-strncmp-ifunc.c: Likewise.
8220 * benchtests/bench-strncpy-ifunc.c: Likewise.
8221 * benchtests/bench-strnlen-ifunc.c: Likewise.
8222 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8223 * benchtests/bench-strrchr-ifunc.c: Likewise.
8224 * benchtests/bench-strsep-ifunc.c: Likewise.
8225 * benchtests/bench-strspn-ifunc.c: Likewise.
8226 * benchtests/bench-strstr-ifunc.c: Likewise.
8228 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8230 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8232 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8234 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8235 * rt/aio.h: Likewise.
8236 * sysdeps/gnu/bits/utmp.h: Likewise.
8237 * sysdeps/gnu/bits/utmpx.h: Likewise.
8238 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8239 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8240 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8241 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8242 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8243 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8244 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8245 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8246 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8247 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8248 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8249 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8250 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8252 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8253 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8254 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8255 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8256 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8257 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8258 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8259 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8260 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8261 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8262 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8263 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8264 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8265 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8266 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8267 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8268 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8269 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8270 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8271 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8272 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8273 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8274 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8275 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8276 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8277 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8278 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8279 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8281 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8284 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8285 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8287 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8289 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8290 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8293 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8295 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8296 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8297 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8298 (__fesetround): Remove define.
8299 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8300 rounding and exceptions handling.
8301 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8302 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8303 (__fe_nomask_env): Likewise.
8304 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8305 __fegetround instead of fegetround.
8306 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8307 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8309 2013-11-21 Roland McGrath <roland@hack.frob.com>
8311 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8314 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8316 2013-11-21 Meador Inge <meadori@codesourcery.com>
8319 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8320 (encrypt_r): Likewise.
8321 * malloc/obstack.h (obstack_free): Likewise.
8322 * posix/unistd.h (encrypt): Likewise.
8324 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8326 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8327 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8328 DL_CALL_DT_FINI() that call the functions directly.
8329 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8330 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8331 * elf/dl-fini.c: Likewise.
8333 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8335 * malloc/hooks.c (memalign_check): Add alignment rounding.
8336 * malloc/malloc.c (_mid_memalign): New function.
8337 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8338 Implement by calling _mid_memalign.
8339 * manual/probes.texi (Memory Allocation Probes): Remove
8340 memory_valloc_retry and memory_pvalloc_retry.
8342 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8344 * locale/programs/locarchive.c (open_archive): Add const
8345 qualifier to ARCHIVEFNAME and copy default fname to
8349 * libio/tst-widetext.input: Rename Oriya to Odia.
8350 * locale/iso-639.def: Likewise.
8352 * manual/probes.texi (Mathematical Function Probes): Add
8353 documentation for sin, cos, asin and acos probes.
8354 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8355 (__sin32): Add slowasin probe.
8356 (__cos32): Add slowacos probe.
8357 (__mpsin): Add slowsin probe.
8358 (__mpcos): Add slowcos probe.
8360 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8363 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8364 thread-local __sim_exceptions_thread and global
8365 __sim_exceptions_global.
8366 (__sim_disabled_exceptions): Change to thread-local
8367 __sim_disabled_exceptions_thread and global
8368 __sim_disabled_exceptions_global.
8369 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8370 and global __sim_round_mode_global.
8371 (__simulate_exceptions): Use thread-local floating-point state and
8372 set global state from it as needed.
8373 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8374 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8375 __sim_round_mode_thread.
8376 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8377 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8378 and global __sim_exceptions_global.
8379 (__sim_disabled_exceptions): Change to thread-local
8380 __sim_disabled_exceptions_thread and global
8381 __sim_disabled_exceptions_global.
8382 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8383 and global __sim_round_mode_global.
8384 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8385 (SIM_SET_GLOBAL): Likewise.
8386 * sysdeps/powerpc/soft-fp/sfp-machine.h
8387 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8388 __sim_round_mode_thread.
8389 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8390 __sim_disabled_exceptions_thread.
8391 (__sim_exceptions): Change to __sim_exceptions_thread.
8392 (__sim_disabled_exceptions): Change to
8393 __sim_disabled_exceptions_thread.
8394 (__sim_round_mode): Change to __sim_round_mode_thread.
8395 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8396 thread-local floating-point state and set global state from it as
8398 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8399 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8400 (__sim_disabled_exceptions): Remove extern declaration.
8401 (feenableexcept): Use thread-local floating-point state and set
8402 global state from it as needed.
8403 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8405 (__sim_disabled_exceptions): Likewise.
8406 (__sim_round_mode): Likewise.
8407 (__fegetenv): Use thread-local floating-point state.
8408 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8409 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8410 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8411 floating-point state and set global state from it as needed.
8412 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8413 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8414 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8416 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8417 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8419 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8420 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8421 Use __sim_round_mode_thread.
8422 * math/test-fenv-tls.c: New file.
8423 * math/Makefile (tests): Add test-fenv-tls.
8424 ($(objpfx)test-fenv-tls): Depend on
8425 $(common-objpfx)nptl/libpthread.so.
8427 2013-11-19 Andreas Schwab <schwab@suse.de>
8429 * locale/programs/locale.c (show_info): Decode wordarray elements.
8430 * locale/categories.def (LC_MONETARY): Add element for
8431 _NL_MONETARY_CRNCYSTR.
8432 * locale/C-monetary.c (conversion_rate): New variable.
8433 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8436 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8438 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8439 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8441 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8443 * elf/Makefile (tst-auxv): New test.
8444 * elf/tst-auxv.c: New
8445 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8447 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8449 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8450 (hidden_proto): Caller changed.
8451 (hidden_tls_proto): New macro.
8452 (libc_hidden_tls_proto): Likewise.
8453 (rtld_hidden_tls_proto): Likewise.
8454 (libm_hidden_tls_proto): Likewise.
8455 (libresolv_hidden_tls_proto): Likewise.
8456 (librt_hidden_tls_proto): Likewise.
8457 (libdl_hidden_tls_proto): Likewise.
8458 (libnss_files_hidden_tls_proto): Likewise.
8459 (libnsl_hidden_tls_proto): Likewise.
8460 (libnss_nisplus_hidden_tls_proto): Likewise.
8461 (libutil_hidden_tls_proto): Likewise.
8463 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8466 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8467 (decompose_rpath): Defer expansion to fillin_rpath.
8468 (_dl_init_paths): Pass linkmap to fillin_rpath.
8470 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8472 * benchtests/Makefile: Add strsep.
8473 * benchtests/bench-strsep.c: New file: strsep benchtest.
8474 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8476 2013-11-18 Andreas Schwab <schwab@suse.de>
8478 * locale/programs/locale.c (show_info) [case byte]: Check for
8479 '\377' instead of '\177'.
8480 * locale/C-monetary.c (not_available): Always use "\377".
8481 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8482 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8483 detect unavailable sign_posn locale elements.
8484 * locale/localeconv.c (__localeconv): For grouping and
8485 mon_grouping handle "\177" and "\377" like no grouping.
8486 (INT_ELEM): New macro. Use it to set all numeric members.
8487 * locale/programs/ld-monetary.c (monetary_read)
8488 <tok_mon_grouping>: Normalize single -1 to the empty string.
8489 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8492 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8495 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8496 when we match (nil).
8497 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8499 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8501 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8502 (NO_TEST_INLINE): Update value.
8503 (ERRNO_UNCHANGED): Likewise.
8504 (ERRNO_EDOM): Likewise.
8505 (ERRNO_ERANGE): Likewise.
8506 (IGNORE_RESULT): Likewise.
8507 (check_float_internal): Check signs of NaN results if
8509 (check_complex): Pass TEST_NAN_SIGN flag through to second
8510 check_float_internal call.
8511 (copysign_test_data): Add tests with quiet NaNs as second
8512 argument. Use TEST_NAN_SIGN.
8513 (fabs_test_data): Add test of negative quiet NaN argument. Use
8515 (signbit_test_data): Add tests of quiet NaN argument.
8516 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8518 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8520 (parse_args): Handle function results specified as IGNORE.
8521 * math/libm-test.inc (IGNORE_RESULT): New macro.
8522 (check_float_internal): Do not check numerical result if flag
8524 (check_complex): Pass through IGNORE_RESULT to second
8525 check_float_internal call.
8526 (check_int): Do not check numerical result if flag IGNORE_RESULT
8528 (check_long): Likewise.
8529 (check_bool): Likewise.
8530 (check_longlong): Likewise.
8531 (lrint_test_data): Add tests of infinite and NaN arguments.
8532 (lrint_tonearest_test_data): Likewise.
8533 (lrint_towardzero_test_data): Likewise.
8534 (lrint_downward_test_data): Likewise.
8535 (lrint_upward_test_data): Likewise.
8536 (llrint_test_data): Likewise.
8537 (llrint_tonearest_test_data): Likewise.
8538 (llrint_towardzero_test_data): Likewise.
8539 (llrint_downward_test_data): Likewise.
8540 (llrint_upward_test_data): Likewise.
8541 (lround_test_data): Likewise.
8542 (llround_test_data): Likewise.
8544 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8545 (ERRNO_UNCHANGED): Update value.
8546 (ERRNO_EDOM): Likewise.
8547 (ERRNO_ERANGE): Likewise.
8548 (NO_TEST_INLINE_FLOAT): New macro.
8549 (NO_TEST_INLINE_DOUBLE): Likewise.
8550 (enable_test): New function.
8551 (RUN_TEST_f_f): Check enable_test before running test.
8552 (RUN_TEST_2_f): Likewise.
8553 (RUN_TEST_fff_f): Likewise.
8554 (RUN_TEST_c_f): Likewise.
8555 (RUN_TEST_f_f1): Likewise.
8556 (RUN_TEST_fF_f1): Likewise.
8557 (RUN_TEST_fI_f1): Likewise.
8558 (RUN_TEST_ffI_f1): Likewise.
8559 (RUN_TEST_c_c): Likewise.
8560 (RUN_TEST_cc_c): Likewise.
8561 (RUN_TEST_f_i): Likewise.
8562 (RUN_TEST_f_i_tg): Likewise.
8563 (RUN_TEST_ff_i_tg): Likewise.
8564 (RUN_TEST_f_b): Likewise.
8565 (RUN_TEST_f_b_tg): Likewise.
8566 (RUN_TEST_f_l): Likewise.
8567 (RUN_TEST_f_L): Likewise.
8568 (RUN_TEST_fFF_11): Likewise.
8569 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8571 (cosh_test_data): Likewise.
8572 (exp_test_data): Likewise.
8573 (expm1_test_data): Likewise.
8574 (hypot_test_data): Likewise.
8575 (pow_test_data): Likewise.
8576 (sinh_test_data): Likewise.
8577 (tanh_test_data): Likewise.
8578 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8581 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8582 tests with quiet NaN input and output.
8583 (acosh_test_data): Likewise.
8584 (asin_test_data): Likewise.
8585 (asinh_test_data): Likewise.
8586 (atan_test_data): Likewise.
8587 (atanh_test_data): Likewise.
8588 (atan2_test_data): Likewise.
8589 (cbrt_test_data): Likewise.
8590 (cos_test_data): Likewise.
8591 (cosh_test_data): Likewise.
8592 (erf_test_data): Likewise.
8593 (erfc_test_data): Likewise.
8594 (exp_test_data): Likewise.
8595 (exp10_test_data): Likewise.
8596 (exp2_test_data): Likewise.
8597 (expm1_test_data): Likewise.
8598 (hypot_test_data): Likewise.
8599 (j0_test_data): Likewise.
8600 (j1_test_data): Likewise.
8601 (jn_test_data): Likewise.
8602 (lgamma_test_data): Likewise.
8603 (log_test_data): Likewise.
8604 (log10_test_data): Likewise.
8605 (log1p_test_data): Likewise.
8606 (log2_test_data): Likewise.
8607 (pow_test_data): Likewise.
8608 (scalb_test_data): Likewise.
8609 (sin_test_data): Likewise.
8610 (sincos_test_data): Likewise.
8611 (sinh_test_data): Likewise.
8612 (tan_test_data): Likewise.
8613 (tanh_test_data): Likewise.
8614 (tgamma_test_data): Likewise.
8615 (y0_test_data): Likewise.
8616 (y1_test_data): Likewise.
8617 (yn_test_data): Likewise.
8620 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8621 argument being NaN and avoid computations with second argument in
8623 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8624 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8625 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8627 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8629 * locale/iso-639.def: Add Chitwani Tharu (the).
8631 2013-11-14 Andreas Schwab <schwab@suse.de>
8633 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8634 word instead of empty string.
8636 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8639 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8641 (__fe_nomask_env): Likewise.
8643 2013-11-13 Steve Ellcey <sellcey@mips.com>
8645 * benchtests/bench-timing.h: Include time.h.
8647 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8650 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8652 * sysdeps/unix/sysv/linux/configure: Regenerated.
8654 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8657 * stdlib/strtod_l.c (round_and_return): Do not consider
8658 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8659 exponent one less than half the least subnormal exponent.
8660 * stdlib/test-strtod-round-data: Add more tests.
8661 * stdlib/tst-strtod-round.c (tests): Regenerated.
8663 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8666 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8667 (__fe_mask_env): Likewise.
8668 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8669 libm_hidden_proto and add function prototype.
8670 (__fe_mask_env): Add function prototype.
8671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8672 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8674 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8676 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8678 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8680 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8681 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8683 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8685 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8686 of htab_find_slot().
8688 2013-11-11 David S. Miller <davem@davemloft.net>
8691 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8692 symbol in the non-vis3 case in static builds.
8693 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8694 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8695 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8696 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8698 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8701 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8704 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8706 * benchtests/Makefile: Add bench-strtod.
8707 * benchtests/bench-strtod.c: New file: strtod benchtest
8709 2013-11-11 Andreas Schwab <schwab@suse.de>
8712 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8713 terminating NUL in key length.
8715 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8717 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8718 Add artificial ODP entry for vDSO symbol for PPC64.
8719 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8720 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8722 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8725 * nss/getent.c (services_keys): Recognize services starting with digit.
8727 2013-11-06 David S. Miller <davem@davemloft.net>
8730 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8731 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8733 2013-11-06 Will Newton <will.newton@linaro.org>
8735 * manual/memory.texi (Malloc Examples): Remove register
8736 keyword from examples.
8738 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8740 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8742 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8745 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8746 depending on [__GCC_IEC_559 > 0].
8747 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8748 depending on [__GCC_IEC_559_COMPLEX > 0].
8750 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8752 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8755 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8757 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8759 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8762 * malloc/malloc (malloc_info): Do not handle first bin as
8765 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8767 * locale/iso-639.def: Add Central Nahuatl (nhn).
8769 2013-11-01 Bruno Haible <bruno@clisp.org>
8772 * manual/math.texi (BSD Random): Specify range upper bound as
8775 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8777 * locale/iso-639.def: Add Meadow Mari (mhr).
8779 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8781 [BZ #14752], [BZ #15763]
8782 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8784 * rt/tst_shm.c: Add test for escaping directory.
8786 2013-10-31 Andreas Schwab <schwab@suse.de>
8789 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8790 followed by 'x' as part of digit sequence.
8791 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8793 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8796 * configure.ac: allow GNU Make 4.0 and greater.
8797 * configure: Regenerated.
8799 2013-10-30 Will Newton <will.newton@linaro.org>
8802 * malloc/hooks.c (memalign_check): Limit alignment to the
8803 maximum representable power of two.
8804 * malloc/malloc.c (__libc_memalign): Likewise.
8805 * malloc/tst-memalign.c (do_test): Add test for very
8806 large alignment values.
8807 * malloc/tst-posix_memalign.c (do_test): Likewise.
8809 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8812 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8813 (munmap_chunk): Likewise.
8814 (mremap_chunk): Likewise.
8816 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8819 * stdlib/div.c (div): Remove obsolete code.
8820 * stdlib/ldiv.c (ldiv): Likewise.
8821 * stdlib/lldiv.c (lldiv): Likewise.
8823 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8826 * nss/nss_files/files-XXX.c (get_contents_ret): New
8828 (get_contents): New function.
8829 (internal_getent): Use it. Expand size of LINEBUFLEN.
8831 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8833 * configure.in: Moved to ...
8834 * configure.ac: ... here. Change reference to configure.in
8836 * sysdeps/arm/preconfigure.ac: ... here.
8837 configure.in to configure.ac.
8838 * sysdeps/gnu/configure.in: Moved to ...
8839 * sysdeps/gnu/configure.ac: ... here.
8840 * sysdeps/i386/configure.in: Moved to ...
8841 * sysdeps/i386/configure.ac: ... here.
8842 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8843 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8844 * sysdeps/mach/configure.in: Moved to ...
8845 * sysdeps/mach/configure.ac: ... here.
8846 * sysdeps/mach/hurd/configure.in: Moved to ...
8847 * sysdeps/mach/hurd/configure.ac: ... here.
8848 * sysdeps/powerpc/configure.in: Moved to ...
8849 * sysdeps/powerpc/configure.ac: ... here.
8850 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8851 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8852 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8853 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8854 * sysdeps/s390/s390-32/configure.in: Moved to ...
8855 * sysdeps/s390/s390-32/configure.ac: ... here.
8856 * sysdeps/s390/s390-64/configure.in: Moved to ...
8857 * sysdeps/s390/s390-64/configure.ac: ... here.
8858 * sysdeps/sh/configure.in: Moved to ...
8859 * sysdeps/sh/configure.ac: ... here.
8860 * sysdeps/sparc/configure.in: Moved to ...
8861 * sysdeps/sparc/configure.ac: ... here.
8862 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8863 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8864 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8865 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8866 * sysdeps/x86_64/configure.in: Moved to ...
8867 * sysdeps/x86_64/configure.ac: ... here.
8868 * sysdeps/x86_64/preconfigure.in: Moved to ...
8869 * sysdeps/x86_64/preconfigure.ac: ... here.
8870 * aclocal.m4: Change reference to configure.in to configure.ac.
8871 * config.h.in: Likewise.
8872 * manual/install.texi: Likewise.
8873 * manual/maint.texi: Likewise.
8874 * Makefile: Likewise.
8875 * malloc/Makefile: Likewise.
8876 * nscd/Makefile: Likewise.
8877 * Makeconfig: Change reference to configure.in and
8878 preconfigure.in to configure.ac and preconfigure.ac
8880 * INSTALL: Regenerated.
8881 * configure: Likewise.
8882 * sysdeps/gnu/configure: Likewise.
8883 * sysdeps/i386/configure: Likewise.
8884 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8885 * sysdeps/mach/configure: Likewise.
8886 * sysdeps/mach/hurd/configure: Likewise.
8887 * sysdeps/powerpc/configure: Likewise.
8888 * sysdeps/powerpc/powerpc32/configure: Likewise.
8889 * sysdeps/powerpc/powerpc64/configure: Likewise.
8890 * sysdeps/s390/s390-32/configure: Likewise.
8891 * sysdeps/s390/s390-64/configure: Likewise.
8892 * sysdeps/sh/configure: Likewise.
8893 * sysdeps/sparc/configure: Likewise.
8894 * sysdeps/unix/sysv/linux/configure: Likewise.
8895 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8896 * sysdeps/x86_64/configure: Likewise.
8897 * sysdeps/x86_64/preconfigure: Likewise.
8899 2013-10-29 Andreas Schwab <schwab@suse.de>
8901 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8903 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8905 * benchtests/pow-inputs: Add new inputs.
8907 * benchtests/exp-inputs: Add new inputs.
8909 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8910 conditional check for return value.
8911 (__cos32): Likewise.
8913 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8915 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8916 to provide a boost for large inputs with word alignment.
8917 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8918 implementation based on optimized PPC64 strcpy.
8919 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8920 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8921 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8922 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8924 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8927 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8929 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8932 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8933 * time/tst-strptime.c (day_tests): Add testcase.
8935 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8938 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8940 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8943 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8944 MAP_FAILED on error.
8946 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8949 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8950 heap for large requests.
8952 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8955 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8956 result if the result has no associated interface.
8957 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8958 interface for all 127.X.Y.Z addresses.
8960 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8962 * locale/iso-639.def: Add Ligurian (lij)
8964 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8967 * sunrpc/rpc_main.c: Document rpcgen -5.
8969 2013-10-19 Michael Stahl <mstahl@redhat.com>
8971 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8973 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8976 * posix/glob.c: Match only directories when trailing slash is present.
8977 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8978 (main): Add testcase.
8980 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8983 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8985 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8987 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8988 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8989 AUTH_DES and cindex for FIPS 140-2.
8990 (DES Encryption): Add cindex FIPS 46-3.
8992 * locale/locarchive.h (struct locarhandle): Add fname.
8993 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8994 if an optional argument was specified to --list-archive,
8996 * locale/programs/locarchive.c (show_archive_content): Take new
8997 argument fname and pass it via ah.fname to open_archive.
8998 * locale/programs/localedef.h: Update decl.
8999 (open_archive): If AH->fname is non-null, open that file
9000 rather than the default file name, and don't ignore ENOENT.
9001 (create_archive): Set AH.fname to NULL.
9002 (delete_locales_from_archive): Likewise.
9003 (add_locales_to_archive): Likewise.
9004 * locale/programs/locfile.c (write_all_categories): Likewise.
9006 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9007 Aldy Hernandez <aldyh@redhat.com>
9009 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9010 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9011 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9012 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9013 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9014 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9015 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9016 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9017 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9018 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9019 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9020 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9021 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9022 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9023 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9025 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9027 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9029 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9031 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9032 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9034 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9035 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9036 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9037 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9039 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9040 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9041 * sysdeps/powerpc/preconfigure: Likewise.
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9044 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9045 Replace contents of file by #include of <fenv_libc.h>.
9046 * sysdeps/powerpc/soft-fp/sfp-machine.h
9047 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9049 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9050 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9051 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9052 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9053 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9054 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9056 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9057 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9058 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9059 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9060 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9062 Allow copysignl PLT reference to be missing.
9064 2013-10-18 Richard Sandiford <richard@codesourcery.com>
9065 Joseph Myers <joseph@codesourcery.com
9068 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9070 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9072 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9074 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9075 * elf/tst-tls1.c: Likewise.
9076 * elf/tst-tls10.h: Likewise.
9077 * elf/tst-tls14.c: Likewise.
9078 * elf/tst-tls2.c: Likewise.
9079 * elf/tst-tls3.c: Likewise.
9080 * elf/tst-tls4.c: Likewise.
9081 * elf/tst-tls5.c: Likewise.
9082 * elf/tst-tls6.c: Likewise.
9083 * elf/tst-tls7.c: Likewise.
9084 * elf/tst-tls8.c: Likewise.
9085 * elf/tst-tls9.c: Likewise.
9086 * elf/tst-tlsmod1.c: Likewise.
9087 * elf/tst-tlsmod13.c: Likewise.
9088 * elf/tst-tlsmod13a.c: Likewise.
9089 * elf/tst-tlsmod14a.c: Likewise.
9090 * elf/tst-tlsmod16a.c: Likewise.
9091 * elf/tst-tlsmod16b.c: Likewise.
9092 * elf/tst-tlsmod2.c: Likewise.
9093 * elf/tst-tlsmod3.c: Likewise.
9094 * elf/tst-tlsmod4.c: Likewise.
9095 * elf/tst-tlsmod5.c: Likewise.
9096 * elf/tst-tlsmod6.c: Likewise.
9098 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9101 * malloc/malloc.c: remove checks for statistics.
9103 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9106 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9107 * inet/tst-network.c: Add testcase.
9109 2013-10-17 Andreas Schwab <schwab@suse.de>
9112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9113 to determine canonical name.
9115 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9117 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9118 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9127 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9141 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9142 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9147 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9176 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9179 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9180 make result into a quiet NaN.
9182 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9184 * soft-fp/adddf3.c: Fix horizontal whitespace.
9185 * soft-fp/addsf3.c: Likewise.
9186 * soft-fp/addtf3.c: Likewise.
9187 * soft-fp/divdf3.c: Likewise.
9188 * soft-fp/divsf3.c: Likewise.
9189 * soft-fp/divtf3.c: Likewise.
9190 * soft-fp/double.h: Likewise.
9191 * soft-fp/eqdf2.c: Likewise.
9192 * soft-fp/eqsf2.c: Likewise.
9193 * soft-fp/eqtf2.c: Likewise.
9194 * soft-fp/extenddftf2.c: Likewise.
9195 * soft-fp/extended.h: Likewise.
9196 * soft-fp/extendsfdf2.c: Likewise.
9197 * soft-fp/extendsftf2.c: Likewise.
9198 * soft-fp/extendxftf2.c: Likewise.
9199 * soft-fp/fixdfdi.c: Likewise.
9200 * soft-fp/fixdfsi.c: Likewise.
9201 * soft-fp/fixdfti.c: Likewise.
9202 * soft-fp/fixsfdi.c: Likewise.
9203 * soft-fp/fixsfsi.c: Likewise.
9204 * soft-fp/fixsfti.c: Likewise.
9205 * soft-fp/fixtfdi.c: Likewise.
9206 * soft-fp/fixtfsi.c: Likewise.
9207 * soft-fp/fixtfti.c: Likewise.
9208 * soft-fp/fixunsdfdi.c: Likewise.
9209 * soft-fp/fixunsdfsi.c: Likewise.
9210 * soft-fp/fixunsdfti.c: Likewise.
9211 * soft-fp/fixunssfdi.c: Likewise.
9212 * soft-fp/fixunssfsi.c: Likewise.
9213 * soft-fp/fixunssfti.c: Likewise.
9214 * soft-fp/fixunstfdi.c: Likewise.
9215 * soft-fp/fixunstfsi.c: Likewise.
9216 * soft-fp/fixunstfti.c: Likewise.
9217 * soft-fp/floatdidf.c: Likewise.
9218 * soft-fp/floatdisf.c: Likewise.
9219 * soft-fp/floatditf.c: Likewise.
9220 * soft-fp/floatsidf.c: Likewise.
9221 * soft-fp/floatsisf.c: Likewise.
9222 * soft-fp/floatsitf.c: Likewise.
9223 * soft-fp/floattidf.c: Likewise.
9224 * soft-fp/floattisf.c: Likewise.
9225 * soft-fp/floattitf.c: Likewise.
9226 * soft-fp/floatundidf.c: Likewise.
9227 * soft-fp/floatundisf.c: Likewise.
9228 * soft-fp/floatunditf.c: Likewise.
9229 * soft-fp/floatunsidf.c: Likewise.
9230 * soft-fp/floatunsisf.c: Likewise.
9231 * soft-fp/floatunsitf.c: Likewise.
9232 * soft-fp/floatuntidf.c: Likewise.
9233 * soft-fp/floatuntisf.c: Likewise.
9234 * soft-fp/floatuntitf.c: Likewise.
9235 * soft-fp/fmadf4.c: Likewise.
9236 * soft-fp/fmasf4.c: Likewise.
9237 * soft-fp/fmatf4.c: Likewise.
9238 * soft-fp/gedf2.c: Likewise.
9239 * soft-fp/gesf2.c: Likewise.
9240 * soft-fp/getf2.c: Likewise.
9241 * soft-fp/ledf2.c: Likewise.
9242 * soft-fp/lesf2.c: Likewise.
9243 * soft-fp/letf2.c: Likewise.
9244 * soft-fp/muldf3.c: Likewise.
9245 * soft-fp/mulsf3.c: Likewise.
9246 * soft-fp/multf3.c: Likewise.
9247 * soft-fp/negdf2.c: Likewise.
9248 * soft-fp/negsf2.c: Likewise.
9249 * soft-fp/negtf2.c: Likewise.
9250 * soft-fp/op-1.h: Likewise.
9251 * soft-fp/op-2.h: Likewise.
9252 * soft-fp/op-4.h: Likewise.
9253 * soft-fp/op-8.h: Likewise.
9254 * soft-fp/op-common.h: Likewise.
9255 * soft-fp/quad.h: Likewise.
9256 * soft-fp/single.h: Likewise.
9257 * soft-fp/soft-fp.h: Likewise.
9258 * soft-fp/sqrtdf2.c: Likewise.
9259 * soft-fp/sqrtsf2.c: Likewise.
9260 * soft-fp/sqrttf2.c: Likewise.
9261 * soft-fp/subdf3.c: Likewise.
9262 * soft-fp/subsf3.c: Likewise.
9263 * soft-fp/subtf3.c: Likewise.
9264 * soft-fp/truncdfsf2.c: Likewise.
9265 * soft-fp/trunctfdf2.c: Likewise.
9266 * soft-fp/trunctfsf2.c: Likewise.
9267 * soft-fp/trunctfxf2.c: Likewise.
9268 * soft-fp/unorddf2.c: Likewise.
9269 * soft-fp/unordsf2.c: Likewise.
9270 * soft-fp/unordtf2.c: Likewise.
9272 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9274 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9275 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9277 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9279 * elf/dl-libc.c: Clear initfini list after freeing.
9281 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9283 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9284 * soft-fp/addsf3.c: Likewise.
9285 * soft-fp/addtf3.c: Likewise.
9286 * soft-fp/divdf3.c: Likewise.
9287 * soft-fp/divsf3.c: Likewise.
9288 * soft-fp/divtf3.c: Likewise.
9289 * soft-fp/double.h: Likewise.
9290 * soft-fp/eqdf2.c: Likewise.
9291 * soft-fp/eqsf2.c: Likewise.
9292 * soft-fp/eqtf2.c: Likewise.
9293 * soft-fp/extenddftf2.c: Likewise.
9294 * soft-fp/extended.h: Likewise.
9295 * soft-fp/extendsfdf2.c: Likewise.
9296 * soft-fp/extendsftf2.c: Likewise.
9297 * soft-fp/extendxftf2.c: Likewise.
9298 * soft-fp/fixdfdi.c: Likewise.
9299 * soft-fp/fixdfsi.c: Likewise.
9300 * soft-fp/fixdfti.c: Likewise.
9301 * soft-fp/fixsfdi.c: Likewise.
9302 * soft-fp/fixsfsi.c: Likewise.
9303 * soft-fp/fixsfti.c: Likewise.
9304 * soft-fp/fixtfdi.c: Likewise.
9305 * soft-fp/fixtfsi.c: Likewise.
9306 * soft-fp/fixtfti.c: Likewise.
9307 * soft-fp/fixunsdfdi.c: Likewise.
9308 * soft-fp/fixunsdfsi.c: Likewise.
9309 * soft-fp/fixunsdfti.c: Likewise.
9310 * soft-fp/fixunssfdi.c: Likewise.
9311 * soft-fp/fixunssfsi.c: Likewise.
9312 * soft-fp/fixunssfti.c: Likewise.
9313 * soft-fp/fixunstfdi.c: Likewise.
9314 * soft-fp/fixunstfsi.c: Likewise.
9315 * soft-fp/fixunstfti.c: Likewise.
9316 * soft-fp/floatdidf.c: Likewise.
9317 * soft-fp/floatdisf.c: Likewise.
9318 * soft-fp/floatditf.c: Likewise.
9319 * soft-fp/floatsidf.c: Likewise.
9320 * soft-fp/floatsisf.c: Likewise.
9321 * soft-fp/floatsitf.c: Likewise.
9322 * soft-fp/floattidf.c: Likewise.
9323 * soft-fp/floattisf.c: Likewise.
9324 * soft-fp/floattitf.c: Likewise.
9325 * soft-fp/floatundidf.c: Likewise.
9326 * soft-fp/floatundisf.c: Likewise.
9327 * soft-fp/floatunsidf.c: Likewise.
9328 * soft-fp/floatunsisf.c: Likewise.
9329 * soft-fp/floatuntidf.c: Likewise.
9330 * soft-fp/floatuntisf.c: Likewise.
9331 * soft-fp/floatuntitf.c: Likewise.
9332 * soft-fp/fmadf4.c: Likewise.
9333 * soft-fp/fmasf4.c: Likewise.
9334 * soft-fp/fmatf4.c: Likewise.
9335 * soft-fp/gedf2.c: Likewise.
9336 * soft-fp/gesf2.c: Likewise.
9337 * soft-fp/getf2.c: Likewise.
9338 * soft-fp/ledf2.c: Likewise.
9339 * soft-fp/lesf2.c: Likewise.
9340 * soft-fp/letf2.c: Likewise.
9341 * soft-fp/muldf3.c: Likewise.
9342 * soft-fp/mulsf3.c: Likewise.
9343 * soft-fp/multf3.c: Likewise.
9344 * soft-fp/negdf2.c: Likewise.
9345 * soft-fp/negsf2.c: Likewise.
9346 * soft-fp/negtf2.c: Likewise.
9347 * soft-fp/op-1.h: Likewise.
9348 * soft-fp/op-2.h: Likewise.
9349 * soft-fp/op-4.h: Likewise.
9350 * soft-fp/op-8.h: Likewise.
9351 * soft-fp/op-common.h: Likewise.
9352 * soft-fp/quad.h: Likewise.
9353 * soft-fp/single.h: Likewise.
9354 * soft-fp/soft-fp.h: Likewise.
9355 * soft-fp/sqrtdf2.c: Likewise.
9356 * soft-fp/sqrtsf2.c: Likewise.
9357 * soft-fp/sqrttf2.c: Likewise.
9358 * soft-fp/subdf3.c: Likewise.
9359 * soft-fp/subsf3.c: Likewise.
9360 * soft-fp/subtf3.c: Likewise.
9361 * soft-fp/truncdfsf2.c: Likewise.
9362 * soft-fp/trunctfdf2.c: Likewise.
9363 * soft-fp/trunctfsf2.c: Likewise.
9364 * soft-fp/trunctfxf2.c: Likewise.
9365 * soft-fp/unorddf2.c: Likewise.
9366 * soft-fp/unordsf2.c: Likewise.
9367 * soft-fp/unordtf2.c: Likewise.
9369 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9372 * misc/error.c (error_tail): Fix possible buffer overflow.
9374 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9377 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9380 2013-10-14 P. J. McDermott <pj@pehjota.net>
9383 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9384 testing pipefail option.
9386 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9388 * soft-fp/double.h: Indent preprocessor directives inside #if.
9389 * soft-fp/extended.h: Likewise.
9390 * soft-fp/op-2.h: Likewise.
9391 * soft-fp/op-4.h: Likewise.
9392 * soft-fp/op-common.h: Likewise.
9393 * soft-fp/quad.h: Likewise.
9394 * soft-fp/single.h: Likewise.
9395 * soft-fp/soft-fp.h: Likewise.
9397 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9399 * iconv/iconv_prog.c: Fix typos.
9400 * stdio-common/psiginfo-data.h: Likewise.
9402 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9405 * locale/setlocale.c: Fix typo.
9407 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9410 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9411 signaling NaN arguments.
9412 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9413 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9416 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9418 * soft-fp/gesf2.c (__gesf2): Likewise.
9419 * soft-fp/getf2.c (__getf2): Likewise.
9420 * soft-fp/ledf2.c (__ledf2): Likewise.
9421 * soft-fp/lesf2.c (__lesf2): Likewise.
9422 * soft-fp/letf2.c (__letf2): Likewise.
9424 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9425 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9426 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9427 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9428 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9429 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9430 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9431 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9432 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9433 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9434 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9435 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9436 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9437 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9438 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9439 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9440 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9441 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9442 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9443 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9444 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9445 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9446 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9447 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9448 * soft-fp/floattidf.c (__floattidf): Likewise.
9449 * soft-fp/floattisf.c (__floattisf): Likewise.
9450 * soft-fp/floattitf.c (__floattitf): Likewise.
9451 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9452 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9453 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9454 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9455 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9456 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9457 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9458 * soft-fp/gesf2.c (__gesf2): Likewise.
9459 * soft-fp/getf2.c (__getf2): Likewise.
9460 * soft-fp/ledf2.c (__ledf2): Likewise.
9461 * soft-fp/lesf2.c (__lesf2): Likewise.
9462 * soft-fp/letf2.c (__letf2): Likewise.
9464 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9465 Undefine and redefine.
9466 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9467 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9468 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9469 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9470 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9471 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9472 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9473 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9474 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9475 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9476 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9477 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9478 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9479 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9480 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9483 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9484 without decrementing exponent if mantissa >= that for the
9486 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9487 denominator, not >. Decrement exponent in < case instead of
9488 incrementing in >= case.
9489 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9490 without decrementing exponent if mantissa >= that for the
9493 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9494 computing saturated result for unsigned overflow.
9496 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9497 Jeff Law <law@redhat.com>
9499 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9500 (atan2Mp): Add systemtap probe marker.
9501 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9502 (__ieee754_log): Add systemtap probe marker.
9503 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9504 (atanMp): Add systemtap probe marker.
9505 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9506 (tanMp): Add systemtap probe marker.
9507 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9508 (__slowexp): Add systemtap probe marker.
9509 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9510 (__slowpow): Add systemtap probe marker.
9511 * manual/probes.texi: Document probes.
9513 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9516 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9518 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9520 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9521 written to buffer but not flushed.
9522 * libio/iofwrite_u.c: Likewise.
9523 * libio/iopadn.c: Return bytes returned even if EOF was
9525 * libio/iowpadn.c: Likewise.
9526 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9527 if _IO_padn does not write the whole buffer.
9528 [!COMPILE_WPRINTF] (PAD): Likewise.
9530 2013-10-10 David S. Miller <davem@davemloft.net>
9532 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9535 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9537 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9538 instead of FSF address.
9539 * soft-fp/fixdfti.c: Likewise.
9540 * soft-fp/fixsfti.c: Likewise.
9541 * soft-fp/fixtfti.c: Likewise.
9542 * soft-fp/fixunsdfti.c: Likewise.
9543 * soft-fp/fixunssfti.c: Likewise.
9544 * soft-fp/fixunstfti.c: Likewise.
9545 * soft-fp/floattidf.c: Likewise.
9546 * soft-fp/floattisf.c: Likewise.
9547 * soft-fp/floattitf.c: Likewise.
9548 * soft-fp/floatuntidf.c: Likewise.
9549 * soft-fp/floatuntisf.c: Likewise.
9550 * soft-fp/floatuntitf.c: Likewise.
9551 * soft-fp/trunctfxf2.c: Likewise.
9553 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9554 * soft-fp/fixdfti.c: Likewise.
9555 * soft-fp/fixsfti.c: Likewise.
9556 * soft-fp/fixtfti.c: Likewise.
9557 * soft-fp/fixunsdfti.c: Likewise.
9558 * soft-fp/fixunssfti.c: Likewise.
9559 * soft-fp/fixunstfti.c: Likewise.
9560 * soft-fp/floattidf.c: Likewise.
9561 * soft-fp/floattisf.c: Likewise.
9562 * soft-fp/floattitf.c: Likewise.
9563 * soft-fp/floatuntidf.c: Likewise.
9564 * soft-fp/floatuntisf.c: Likewise.
9565 * soft-fp/floatuntitf.c: Likewise.
9566 * soft-fp/trunctfxf2.c: Likewise.
9568 2013-10-10 David S. Miller <davem@davemloft.net>
9570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9572 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9574 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9575 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9576 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9577 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9578 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9579 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9580 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9582 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9583 for NaNs before doing comparisons on argument.
9584 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9587 2013-10-10 Will Newton <will.newton@linaro.org>
9589 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9590 passed to _int_memalign does not overflow.
9592 2013-10-10 Torvald Riegel <triegel@redhat.com>
9594 * scripts/bench.pl: Add include-sources directive.
9595 * benchtests/README: Update documentation.
9597 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9599 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9600 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9601 instead of FP_INIT_ROUNDMODE.
9602 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9603 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9606 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9607 copy class of input value.
9608 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9609 not handle exceptions.
9610 * soft-fp/negsf2.c (__negsf2): Likewise.
9611 * soft-fp/negtf2.c (__negtf2): Likewise.
9612 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9614 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9616 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9617 semicolon. From Linux kernel.
9619 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9621 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9623 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9626 * manual/socket.texi: Added statement about buffer
9627 for gethostbyname2_r.
9629 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9631 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9632 Use .p2align directive instead, throughout.
9633 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9634 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9635 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9636 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9637 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9638 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9639 * sysdeps/x86_64/strchr.S: Likewise.
9640 * sysdeps/x86_64/strrchr.S: Likewise.
9642 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9644 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9646 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9648 * sysdeps/generic/math_private.h (__mpsin1): Remove
9650 (__mpcos1): Likewise.
9651 (__mpsin): New argument __range_reduce.
9652 (__mpcos): Likewise.
9653 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9654 (slow): Use __mpsin and __mpcos.
9661 (bsloww1): Likewise.
9662 (bsloww2): Likewise.
9665 (csloww1): Likewise.
9666 (csloww2): Likewise.
9667 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9668 range_reduce. Merge in __mpsin1.
9669 (__mpcos): Likewise.
9671 (__mpcos1): Likewise.
9673 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9675 * locale/loadlocale.c (_nl_intern_locale_data): Use
9677 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9678 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9679 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9680 obstack data is appropriately aligned.
9681 (obstack_int32_grow_fast): Likewise.
9682 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9683 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9684 (add_locale_uint32_array): Likewise.
9686 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9688 * benchtests/Makefile: Remove ARGLIST and RET variables.
9689 ($(objpfx)bench-%.c): Pass only function name to the script.
9690 * benchtests/README: Update documentation.
9691 * benchtests/acos-inputs: Add new directives.
9692 * benchtests/acosh-inputs: Likewise.
9693 * benchtests/asin-inputs: Likewise.
9694 * benchtests/asinh-inputs: Likewise.
9695 * benchtests/atan-inputs: Likewise.
9696 * benchtests/atanh-inputs: Likewise.
9697 * benchtests/cos-inputs: Likewise.
9698 * benchtests/cosh-inputs: Likewise.
9699 * benchtests/exp-inputs: Likewise.
9700 * benchtests/log-inputs: Likewise.
9701 * benchtests/pow-inputs: Likewise.
9702 * benchtests/rint-inputs: Likewise.
9703 * benchtests/sin-inputs: Likewise.
9704 * benchtests/sinh-inputs: Likewise.
9705 * benchtests/tan-inputs: Likewise.
9706 * benchtests/tanh-inputs: Likewise.
9707 * scripts/bench.pl: Add support for new directives.
9709 2013-10-07 Alan Modra <amodra@gmail.com>
9711 * README: Fix careless merge.
9713 2013-10-05 Alan Modra <amodra@gmail.com>
9715 * NEWS: Mention powerpc64le support and bugs fixed.
9716 * README: Both big-endian and little-endian powerpc64 supported.
9718 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9720 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9721 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9722 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9723 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9725 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9727 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9730 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9732 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9733 Move -mhard-float appending from
9734 ports/sysdeps/powerpc/powerpc32/Makefile.
9735 [$(with-fp) = yes] (ASFLAGS): Likewise.
9736 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9737 * sysdeps/powerpc/nofpu: Move directory from
9738 ports/sysdeps/powerpc/nofpu.
9739 * sysdeps/powerpc/soft-fp: Move directory from
9740 ports/sysdeps/powerpc/soft-fp.
9741 * sysdeps/powerpc/powerpc32/405: Move directory from
9742 ports/sysdeps/powerpc/powerpc32/405.
9743 * sysdeps/powerpc/powerpc32/440: Move directory from
9744 ports/sysdeps/powerpc/powerpc32/440.
9745 * sysdeps/powerpc/powerpc32/464: Move directory from
9746 ports/sysdeps/powerpc/powerpc32/464.
9747 * sysdeps/powerpc/powerpc32/476: Move directory from
9748 ports/sysdeps/powerpc/powerpc32/476.
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9750 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9752 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9754 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9756 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9758 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9759 * README: Update for powerpc-*-linux-gnu software floating point
9762 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9763 case to powerpc/powerpc32*.
9764 * sysdeps/unix/sysv/linux/configure: Regenerated.
9766 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9767 (_FPU_MASK_OM): Define as 0x04.
9768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9773 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9776 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9779 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9782 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9783 and setcontext_e500.
9785 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9787 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9789 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9791 * manual/threads.texi (Default Thread Attributes): Fix typo.
9793 2013-10-04 Will Newton <will.newton@linaro.org>
9795 * malloc/Makefile: Add tst-memalign.
9796 * malloc/tst-memalign.c: New file.
9798 * malloc/tst-posix_memalign.c: Add comments.
9799 (do_test): Add comments and call free on all potentially
9800 allocated pointers. Add space after cast.
9802 * malloc/tst-pvalloc.c: Add comments.
9803 (do_test): Add comments and call free on all potentially
9804 allocated pointers. Remove duplicate check for NULL pointer.
9805 Add space after cast.
9807 * malloc/tst-valloc.c: Add comments.
9808 (do_test): Add comments and call free on all potentially
9809 allocated pointers. Remove duplicate check for NULL pointer.
9810 Add space after cast.
9812 2013-10-04 Alan Modra <amodra@gmail.com>
9814 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9815 Use stdint types in rather than __attribute__((mode())).
9816 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9818 2013-10-04 Alan Modra <amodra@gmail.com>
9820 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9821 Correct handling of unaligned relocs for little-endian.
9822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9824 2013-10-04 Alan Modra <amodra@gmail.com>
9826 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9827 * configure: Regenerate.
9828 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9829 * shlib-versions: Likewise.
9831 2013-10-04 Alan Modra <amodra@gmail.com>
9833 * string/tester.c (test_memrchr): Increment reported test cycle.
9835 2013-10-04 Alan Modra <amodra@gmail.com>
9837 * string/test-memcpy.c (do_one_test): When reporting errors, print
9838 string address and don't overrun end of string.
9840 2013-10-04 Alan Modra <amodra@gmail.com>
9842 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9843 insrdi. Make better use of reg selection to speed exit slightly.
9844 Schedule entry path a little better. Remove useless "are we done"
9845 checks on entry to main loop. Handle wrapping around zero address.
9846 Correct main loop count. Handle single left-over word from main
9847 loop inline rather than by using loop_small. Remove extra word
9848 case in loop_small caused by wrong loop count. Add little-endian
9850 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9851 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9853 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9854 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9855 support. Avoid rlwimi.
9856 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9858 2013-10-04 Alan Modra <amodra@gmail.com>
9860 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9862 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9863 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9864 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9865 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9866 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9867 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9869 2013-10-04 Alan Modra <amodra@gmail.com>
9871 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9872 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9873 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9874 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9875 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9876 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9877 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9878 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9879 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9880 use of regs. Use power7 mtocrf. Tidy function tails.
9882 2013-10-04 Alan Modra <amodra@gmail.com>
9884 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9885 Formatting. Consistently use rXXX register defines or rN defines.
9886 Use early exit labels that avoid restoring unused non-volatile regs.
9887 Make cr field use more consistent with rWORDn compares. Rename
9888 regs used as shift registers for unaligned loop, using rN defines
9889 for short lifetime/multiple use regs.
9890 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9891 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9892 addi 1,1,64 to pop stack frame. Simplify return value code.
9893 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9895 2013-10-04 Alan Modra <amodra@gmail.com>
9897 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9898 support. Correct typos, formatting. Optimize tail. Use insrdi
9900 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9901 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9902 little-endian support. Correct typos.
9903 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9905 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9906 in loop and entry code to keep "and." results.
9907 (strchr): Add little-endian support. Comment. Move cntlzd
9909 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9911 2013-10-04 Alan Modra <amodra@gmail.com>
9913 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9914 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9915 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9916 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9918 2013-10-04 Alan Modra <amodra@gmail.com>
9920 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9921 (rTMP): Define as r11.
9922 (strcmp): Add little-endian support. Optimise tail.
9923 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9924 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9925 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9926 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9927 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9929 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9931 2013-10-04 Alan Modra <amodra@gmail.com>
9933 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9934 little-endian support. Remove unnecessary "are we done" tests.
9935 Handle "s" wrapping around zero and extremely large "size".
9936 Correct main loop count. Handle single left-over word from main
9937 loop inline rather than by using small_loop. Correct comments.
9938 Delete "zero" tail, use "end_max" instead.
9939 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9941 2013-10-04 Alan Modra <amodra@gmail.com>
9943 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9944 support. Don't branch over align.
9945 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9946 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9947 support. Rearrange tmp reg use to suit. Comment.
9948 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9950 2013-10-04 Alan Modra <amodra@gmail.com>
9952 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9954 2013-10-04 Alan Modra <amodra@gmail.com>
9956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9957 conditional form of branch and link when obtaining pc.
9958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9960 2013-10-04 Alan Modra <amodra@gmail.com>
9962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9967 2013-10-04 Alan Modra <amodra@gmail.com>
9969 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9970 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9971 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9972 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9973 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9974 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9975 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9976 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9977 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9978 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9980 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9981 Alistair Popple <alistair@ozlabs.au.ibm.com>
9982 Alan Modra <amodra@gmail.com>
9985 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9986 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9987 _dl_hwcap access for little-endian.
9988 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9989 destroy vmx regs when saving unaligned.
9990 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9991 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9992 destroy vmx regs when saving unaligned.
9994 2013-10-04 Alan Modra <amodra@gmail.com>
9996 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9997 Don't use a union to pack hi/low value.
9999 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10001 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10003 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10004 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10005 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10006 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10007 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10009 2013-10-04 Alan Modra <amodra@gmail.com>
10011 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10012 constants to usual value for .cst8 section, and remove redundant
10014 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10015 constant for 0x1p52. Load little-endian words of double from
10016 correct stack offsets.
10018 2013-10-04 Alan Modra <amodra@gmail.com>
10020 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10021 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10022 words of double from correct stack offsets.
10023 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10024 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10025 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10026 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10027 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10028 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10029 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10030 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10031 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10032 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10033 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10034 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10035 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10036 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10037 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10038 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10039 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10041 2013-10-04 Alan Modra <amodra@gmail.com>
10043 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10044 64-bit int/double union.
10045 (_FPU_SETCW): Likewise.
10046 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10047 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10049 2013-10-04 Alan Modra <amodra@gmail.com>
10051 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10052 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10054 2013-10-04 Alan Modra <amodra@gmail.com>
10056 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10057 use vector int constants.
10058 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10060 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10062 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10063 array with long long.
10064 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10065 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10066 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10067 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10068 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10069 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10070 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10071 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10072 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10073 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10074 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10075 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10076 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10078 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10080 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10081 (__signbit): Likewise. Correct for little-endian.
10082 (__signbitl): Call __signbit.
10083 (lrint): Correct for little-endian.
10084 (lrintf): Call lrint.
10086 2013-10-04 Alan Modra <amodra@gmail.com>
10088 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10089 union 32-bit int array member with 64-bit int array.
10090 (t515, tm256): Double rather than long double.
10091 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10093 2013-10-04 Alan Modra <amodra@gmail.com>
10095 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10097 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10098 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10099 version of math_ldbl.h.
10101 2013-10-04 Alan Modra <amodra@gmail.com>
10103 [BZ #15734], [BZ #15735]
10104 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10105 all uses of ieee875 long double macros and unions. Simplify test
10106 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10107 ldbl_extract_mantissa value for ix,iy exponents. Properly
10108 normalize after ldbl_extract_mantissa, and don't add hidden bit
10109 already handled. Don't treat low word of ieee854 mantissa like
10110 low word of IBM long double and mask off bit when testing for
10112 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10113 all uses of ieee875 long double macros and unions. Simplify tests
10114 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10115 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10116 two1022, instead use their values. Recognise that tests for large
10117 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10118 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10119 Rewrite all uses of ieee875 long double macros and unions. Simplify
10120 test for 0.0L and nan. Correct negation.
10121 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10122 ieee875 long double macros and unions. Correct output for large
10123 magnitude x. Correct absolute value calculation.
10124 (__erfcl): Likewise.
10125 * math/libm-test.inc: Add tests for errors discovered in IBM long
10126 double versions of fmodl, remainderl, erfl and erfcl.
10128 2013-10-04 Alan Modra <amodra@gmail.com>
10130 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10131 all uses of ieee854 long double macros and unions. Simplify tests
10132 for long doubles that are fully specified by the high double.
10133 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10135 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10136 Remove dead code too.
10137 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10138 (__ieee754_ynl): Likewise.
10139 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10140 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10141 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10142 Remove dead code too.
10143 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10144 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10145 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10146 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10148 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10150 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10151 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10152 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10153 Comment on variable precision.
10154 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10155 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10157 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10158 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10159 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10160 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10161 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10163 2013-10-04 Alan Modra <amodra@gmail.com>
10165 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10166 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10167 all uses of ieee854 long double macros and unions.
10168 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10170 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10171 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10172 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10173 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10175 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10176 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10177 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10178 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10179 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10180 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10181 Simplify sign and nan test too.
10182 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10183 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10184 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10185 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10187 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10188 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10191 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10192 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10193 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10194 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10195 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10197 2013-10-04 Alan Modra <amodra@gmail.com>
10199 * stdio-common/printf_size.c (__printf_size): Don't use
10200 union ieee854_long_double in fpnum union.
10201 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10202 signbit macro to retrieve sign from long double.
10203 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10204 retrieve sign from long double.
10205 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10206 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10207 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10208 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10209 * math/test-misc.c (main): Don't use union ieee854_long_double.
10211 2013-10-04 Alan Modra <amodra@gmail.com>
10214 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10215 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10216 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10217 calculation. Remove unnecessary test for denormal exponent.
10218 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10219 Correct handling of denormals. Avoid undefined shift behaviour.
10220 Correct normalisation of low mantissa when low double is denormal.
10221 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10222 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10223 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10224 Correct normalisation of low mantissa. Test for overflow of high
10225 mantissa and normalise.
10226 (ldbl_nearbyint): Use more readable constant for two52.
10227 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10228 (__mpn_construct_long_double): Fix test for overflow of high
10229 mantissa and correct normalisation. Avoid undefined shift.
10231 2013-10-04 Alan Modra <amodra@gmail.com>
10233 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10234 (union ibm_extended_long_double): Define as an array of ieee754_double.
10235 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10236 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10237 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10238 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10242 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10245 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10247 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10249 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10250 page size instead of calling getpagesize.
10252 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10253 (LOCFILE_ALIGN_MASK): Likewise.
10254 (LOCFILE_ALIGN_UP): Likewise.
10255 (LOCFILE_ALIGNED_P): Likewise.
10256 * locale/programs/ld-collate.c (collate_output): Use the new
10257 macros instead of __alignof__ (int32_t).
10258 * locale/weight.h (findidx): Likewise.
10260 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10263 * manual/string.texi: Fix strncat and wcsncat.
10265 2013-10-03 Brooks Moses <bmoses@google.com>
10268 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10269 * Makerules: ...here, and adjust associated comments.
10271 2013-10-02 Will Newton <will.newton@linaro.org>
10273 * malloc/Makefile: Add tst-pvalloc.
10274 * malloc/tst-pvalloc.c: New file.
10276 2013-10-02 Will Newton <will.newton@linaro.org>
10278 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10279 improve test coverage.
10281 2013-10-02 Will Newton <will.newton@linaro.org>
10283 * malloc/Makefile: Add tst-posix_memalign.
10284 * malloc/tst-posix_memalign.c: New file.
10286 2013-10-01 Eric Blake <eblake@redhat.com>
10288 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10289 Use __THROWNL rather than __THROW on static functions.
10291 2013-09-30 Petr Machata <pmachata@redhat.com>
10293 * elf/elf.h (R_AARCH64_ABS16): New macro.
10294 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10295 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10296 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10297 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10298 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10299 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10300 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10301 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10302 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10303 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10304 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10305 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10306 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10307 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10308 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10309 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10310 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10311 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10312 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10313 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10314 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10315 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10316 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10317 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10318 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10319 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10320 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10321 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10322 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10323 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10324 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10325 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10326 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10327 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10328 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10329 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10330 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10331 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10332 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10333 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10334 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10335 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10336 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10337 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10338 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10339 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10340 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10341 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10342 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10343 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10344 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10345 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10346 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10347 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10348 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10349 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10350 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10351 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10352 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10353 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10354 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10355 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10356 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10357 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10358 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10359 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10360 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10361 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10362 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10363 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10364 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10365 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10366 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10367 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10368 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10369 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10370 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10371 (R_AARCH64_TLSDESC_LDR): Likewise.
10372 (R_AARCH64_TLSDESC_ADD): Likewise.
10373 (R_AARCH64_TLSDESC_CALL): Likewise.
10375 2013-09-30 Andreas Schwab <schwab@suse.de>
10378 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10379 the nss database lookup.
10380 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10383 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10385 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10387 2013-09-28 P. J. McDermott <pj@pehjota.net>
10389 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10390 ${Bash-specific parameter/pattern/string} parameter expansion.
10391 * sysdeps/unix/make-syscalls.sh: Likewise.
10393 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10395 * sysdeps/sh/stackguard-macros.h: New file.
10397 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10401 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10402 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10403 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10404 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10406 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10408 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10409 Fix thread ID register.
10411 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10413 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10414 [POSIX || UNIX98]: Require rather than permitting all symbols from
10416 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10417 element of struct sched_param.
10418 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10419 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10420 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10421 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10424 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10426 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10427 argument calculation.
10429 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10431 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10433 [POSIX] (pthread_attr_t): Do not require type.
10434 [POSIX] (pthread_cond_t): Likewise.
10435 [POSIX] (pthread_condattr_t): Likewise.
10436 [POSIX] (pthread_key_t): Likewise.
10437 [POSIX] (pthread_mutex_t): Likewise.
10438 [POSIX] (pthread_mutexattr_t): Likewise.
10439 [POSIX] (pthread_once_t): Likewise.
10440 [POSIX] (pthread_t): Likewise.
10441 [POSIX-based standards] (pthread_atfork): Expect function.
10443 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10444 Richard Sandiford <richard@codesourcery.com>
10446 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10447 (swap_endianness_p): New extern variable.
10448 (set_big_endian): New inline function.
10449 (maybe_swap_uint32): Likewise.
10450 (maybe_swap_uint32_array): Likewise.
10451 (maybe_swap_uint32_obstack): Likewise.
10452 * locale/programs/locfile.c: Include <stdbool.h>.
10453 (swap_endianness_p): New variable.
10454 (add_locale_uint32): Call maybe_swap_uint32.
10455 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10456 (write_locale_data): Call maybe_swap_uint32_array.
10457 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10459 (obstack_int32_grow_fast): Likewise.
10460 (output_weightwc): Call maybe_swap_uint32_obstack.
10461 (collate_output): Likewise.
10462 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10463 (OPT_LITTLE_ENDIAN): Likewise.
10464 (options): Add --little-endian and --big-endian options.
10465 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10466 * locale/programs/locarchive.c: Include "locfile.h".
10470 (create_archive): Use the new macros to access fields of
10471 structures directly mapped from or written to locale archives.
10472 (oldlocrecentcmp): Likewise.
10473 (enlarge_archive): Likewise.
10474 (insert_name): Likewise.
10475 (add_alias): Likewise.
10476 (add_locale): Likewise.
10477 (delete_locales_from_archive): Likewise.
10478 (show_archive_content): Likewise.
10479 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10482 2013-09-24 Roland McGrath <roland@hack.frob.com>
10484 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10485 http://www.gnu.org/doc/freemanuals.texi.
10486 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10488 2013-09-24 Will Newton <will.newton@linaro.org>
10490 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10493 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10495 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10498 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10500 * manual/threads.texi (POSIX Threads): Fix a typo.
10502 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10505 * string/tst-strcoll-overflow.c: New test case.
10506 * string/Makefile (xtests): Add tst-strcoll-overflow.
10507 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10508 cache if string sizes may cause integer overflow.
10511 * string/strcoll_l.c (coll_seq): New members rule, idx,
10512 save_idx and back_us.
10513 (get_next_seq_nocache): New function.
10514 (do_compare_nocache): New function.
10515 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10518 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10521 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10522 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10523 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10526 * elf/Makefile (tests): Add tst-ptrguard1.
10527 (tests-static): Add tst-ptrguard1-static.
10528 (tst-ptrguard1-ARGS): Define.
10529 (tst-ptrguard1-static-ARGS): Define.
10530 * elf/tst-ptrguard1.c: New file.
10531 * elf/tst-ptrguard1-static.c: New file.
10532 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10533 * sysdeps/i386/stackguard-macros.h: Likewise.
10534 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10535 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10536 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10537 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10538 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10539 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10541 2013-09-23 Hector Marco <hecmargi@upv.es>
10542 Ismael Ripoll <iripoll@disca.upv.es>
10543 Carlos O'Donell <carlos@redhat.com>
10546 * sysdeps/generic/stackguard-macros.h: Define
10547 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10548 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10549 Define __pointer_chk_guard_local.
10550 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10551 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10553 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10556 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10558 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10560 * include/string.h (__ffs): Declare as hidden.
10561 * string/ffs.c (__ffs): Define as hidden.
10562 * sysdeps/i386/ffs.c (__ffs): Likewise.
10563 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10564 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10565 * sysdeps/s390/ffs.c (__ffs): Likewise.
10566 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10568 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10570 * NEWS: Mention malloc probes.
10572 * malloc/arena.c (new_heap): New memory_heap_new probe.
10573 (grow_heap): New memory_heap_more probe.
10574 (shrink_heap): New memory_heap_less probe.
10575 (heap_trim): New memory_heap_free probe.
10576 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10577 (systrim): New memory_sbrk_less probe.
10578 * manual/probes.texi: Document them.
10580 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10581 * manual/probes.texi: Document it.
10583 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10584 (__libc_realloc): Add memory_realloc_retry probe.
10585 (__libc_memalign): Add memory_memalign_retry probe.
10586 (__libc_valloc): Add memory_valloc_retry probe.
10587 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10588 (__libc_calloc): Add memory_calloc_retry probe.
10589 * manual/probes.texi: Document them.
10591 * malloc/arena.c (get_free_list): Add probe
10592 memory_arena_reuse_free_list.
10593 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10594 and memory_arena_reuse.
10595 (arena_get2) [!PER_THREAD]: Likewise.
10596 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10597 memory_arena_reuse_realloc.
10598 * manual/probes.texi: Document them.
10600 * malloc/malloc.c (__libc_free): Add
10601 memory_mallopt_free_dyn_thresholds probe.
10602 (__libc_mallopt): Add multiple memory_mallopt probes.
10603 * manual/probes.texi: Document them.
10605 * malloc/malloc.c: Include stap-probe.h.
10606 (__libc_mallopt): Add memory_mallopt probe.
10607 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10608 * manual/probes.texi: New.
10609 * manual/Makefile (chapters): Add probes.
10610 * manual/threads.texi: Set next node.
10612 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10614 [BZ #15963, #13985]
10615 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10616 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10617 Add `Chinese' to `nan' entry name.
10619 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10621 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10622 (POLYNOMIAL): Likewise.
10623 (TAYLOR_SINCOS): Likewise.
10624 (TAYLOR_SLOW): Likewise.
10625 (__sin): Use TAYLOR_SINCOS.
10627 (slow): Use TAYLOR_SLOW.
10629 (bsloww): Likewise.
10630 (csloww): Likewise.
10632 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10634 * stdlib/strtod_l.c: Fix buffer overrun.
10636 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10638 * benchtests/Makefile (bench): Add sincos.
10639 * benchtests/bench-sincos.c: New file.
10641 * math/libm-test.inc (cos_test_data): New test inputs.
10642 (sin_test_data): Likewise.
10644 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10650 (sloww1): Likewise.
10651 (sloww2): Likewise.
10652 (bsloww1): Likewise.
10653 (bsloww2): Likewise.
10654 (cslow2): Likewise.
10655 (csloww1): Likewise.
10656 (csloww2): Likewise.
10658 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10663 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10667 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10669 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10670 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10671 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10672 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10673 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10674 * elf/cache.c (print_entry): Handle the new cache flags.
10676 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10677 Aldy Hernandez <aldyh@redhat.com>
10679 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10680 Change condition to [_SOFT_FLOAT].
10681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10683 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10686 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10687 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10688 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10689 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10693 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10696 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10699 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10701 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10702 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10703 (__longjmp): Use LOAD_GP to load saved GPRs.
10704 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10705 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10706 (__sigsetjmp): Use SAVE_GP to save GPRs.
10708 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10709 Do not append -msoft-float.
10710 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10712 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10714 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10716 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10719 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10720 (_FPU_GETCW): Use initial "__" on variable and field names but not
10721 on macro parameter name.
10722 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10723 parentheses around reference to macro parameter.
10725 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10727 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10729 (ctype_startup): Use uint32_t in cast and sizeof for
10732 2013-09-11 Jia Liu <proljc@gmail.com>
10734 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10736 [__FreeBSD__]: Likewise.
10738 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10740 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10741 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10742 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10743 (strchr): Remove __strchr_sse42 ifunc selection.
10744 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10745 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10747 2013-09-11 Will Newton <will.newton@linaro.org>
10749 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10750 parameter to RES. Remove hardcoded 1000 value.
10751 * benchtests/bench-skeleton.c (main): Pass RES parameter
10752 to TIMING_INIT and multiply result by 1000.
10754 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10758 2013-09-11 Andreas Schwab <schwab@suse.de>
10760 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10762 (O_TMPFILE) [__USE_GNU]: Define.
10763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10766 2013-09-11 Will Newton <will.newton@linaro.org>
10769 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10772 2013-09-11 Will Newton <will.newton@linaro.org>
10775 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10778 2013-09-11 Will Newton <will.newton@linaro.org>
10781 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10784 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10786 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10787 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10788 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10792 2013-09-10 Allan McRae <allan@archlinux.org>
10795 * manual/arith.texi (Parsing of Floats): Clarify
10799 * manual/install.texi (Running make install): Mention
10801 * INSTALL: Regenerated.
10803 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10805 * csu/init-first.c (_init): Remove the !SHARED condition around
10806 FPU control word initialization.
10807 * elf/dl-support.c (_dl_fpu_control): New variable.
10808 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10809 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10810 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10811 * math/test-fpucw-static.c: New file.
10812 * math/test-fpucw-ieee.c: New file.
10813 * math/test-fpucw-ieee-static.c: New file.
10814 * math/Makefile (tests): Add `test-fpucw-ieee' and
10816 (tests-static): New variable.
10817 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10819 [($(build-shared),yes)]
10820 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10822 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10825 2013-09-09 Allan McRae <allan@archlinux.org>
10828 * manual/string.texi (Collation Functions): Fix typo in
10830 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10833 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10836 * libio/memstream.c (open_memstream): Fix memory leak.
10837 * libio/wmemstream.c (open_wmemstream): Likewise.
10840 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10842 2013-09-09 Will Newton <will.newton@linaro.org>
10844 * malloc/Makefile: Add tst-realloc to tests.
10845 * malloc/tst-realloc.c: New file.
10847 2013-09-09 Allan McRae <allan@archlinux.org>
10850 * COPYING: Update from GNU website to fix FSF address.
10851 * COPYING.LIB: Likewise.
10853 2013-09-06 David S. Miller <davem@davemloft.net>
10855 * po/zh_TW.po: Update Chinese (traditional) translation from
10856 translation project.
10858 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10859 Joseph Myers <joseph@codesourcery.com>
10861 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10863 (obstack_chunk_alloc): New macro.
10864 (obstack_chunk_free): Likewise.
10865 (record_offset): New function.
10866 (init_locale_data): Likewise.
10867 (align_locale_data): Likewise.
10868 (add_locale_empty): Likewise.
10869 (add_locale_raw_data): Likewise.
10870 (add_locale_raw_obstack): Likewise.
10871 (add_locale_string): Likewise.
10872 (add_locale_wstring): Likewise.
10873 (add_locale_uint32): Likewise.
10874 (add_locale_uint32_array): Likewise.
10875 (add_locale_char): Likewise.
10876 (start_locale_structure): Likewise.
10877 (end_locale_structure): Likewise.
10878 (start_locale_prelude): Likewise.
10879 (end_locale_prelude): Likewise.
10880 (write_locale_data): Take locale_file structure rather than an
10882 * locale/programs/locfile.h: Include "obstack.h".
10883 (struct locale_file): Change to store locale file contents instead
10885 (init_locale_data): New prototype.
10886 (align_locale_data): Likewise.
10887 (add_locale_empty): Likewise.
10888 (add_locale_raw_data): Likewise.
10889 (add_locale_raw_obstack): Likewise.
10890 (add_locale_string): Likewise.
10891 (add_locale_wstring): Likewise.
10892 (add_locale_uint32): Likewise.
10893 (add_locale_uint32_array): Likewise.
10894 (add_locale_char): Likewise.
10895 (start_locale_structure): Likewise.
10896 (end_locale_structure): Likewise.
10897 (start_locale_prelude): Likewise.
10898 (end_locale_prelude): Likewise.
10899 (write_locale_data): Update prototype.
10900 * locale/programs/3level.h (struct TABLE): Remove result field.
10901 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10902 Use new locale_file interface.
10903 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10904 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10905 * locale/programs/ld-address.c (address_output): Use new
10906 locale_file interface.
10907 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10909 (collate_finish): Don't call collseq_table_finalize.
10910 (collate_output): Use new locale_file interface.
10911 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10913 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10914 (TABLE): Move defines earlier in file.
10915 (ELEMENT): Likewise.
10916 (DEFAULT): Likewise.
10917 (wctrans_table_add): Move macro and inline function earlier in
10919 (struct wctype_table): Move type earlier in file.
10920 (add_locale_wctype_table): New static prototype.
10921 (struct locale_ctype_t): Use logical types instead of struct iovec
10922 pointers for members.
10923 (ctype_output): Use new locale_file interface.
10924 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10925 new locale_file interface.
10926 (allocate_arrays): Update for use of new locale_file interface.
10927 * locale/programs/ld-identification.c (identification_output): Use
10928 new locale_file interface.
10929 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10930 * locale/programs/ld-messages.c (messages_output): Likewise.
10931 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10932 * locale/programs/ld-name.c (name_output): Likewise.
10933 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10934 * locale/programs/ld-paper.c (paper_output): Likewise.
10935 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10936 * locale/programs/ld-time.c (time_output): Likewise.
10938 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10940 * benchtests/Makefile: Add memrchr benchmark.
10941 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10942 benchmark as memrchr.
10943 * benchtests/bench-memrchr-ifunc.c: New file.
10944 * benchtests/bench-memrchr.c: New file.
10946 2013-09-06 Will Newton <will.newton@linaro.org>
10948 * benchtests/Makefile (string-bench): Add memcpy.
10950 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10951 Cong Wang <amwang@redhat.com>
10954 * sysdeps/unix/sysv/linux/bits/in.h
10955 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10956 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10957 before __USE_KERNEL_IPV6_DEFS uses.
10958 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10960 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10961 sockaddr_in6, or ipv6_mreq.
10963 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10965 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10966 memory access for final bytes in some large inputs.
10967 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10969 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10971 * string/test-memrchr.c: New file.
10972 * string/test-memrchr-ifunc.c: New file.
10973 * string/Makefile: Add new memrchr testcase.
10975 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10977 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10978 fanotify_init returns EPERM.
10980 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10982 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10984 (top level): Treat second token from macro or constant entries for
10985 allowed headers as allowed.
10986 * include/complex.h: Condition internal declarations on
10988 * include/fenv.h: Condition include of <stdbool.h> and internal
10989 declarations on [!_ISOMAC].
10991 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10994 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10996 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10998 * configure.in (--enable-versioning): Remove configure option.
10999 (libc_cv_asm_symver_directive): Remove configure test.
11000 (libc_cv_ld_version_script_option): Likewise.
11001 (VERSIONING): Remove variable and AC_SUBST.
11002 (DO_VERSIONING): Remove AC_DEFINE.
11003 * configure: Regenerated.
11004 * config.h.in (DO_VERSIONING): Remove macro.
11005 * Makerules [$(versioning) = yes]: Change conditionals to
11006 [$(build-shared) = yes].
11007 * config.make.in (versioning): Remove variable.
11008 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11009 [$(build-shared) = yes].
11010 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11011 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11012 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11013 [$(build-shared) = yes].
11014 * extra-lib.mk [$(versioning) = yes]: Likewise.
11015 * hurd/Makefile [$(versioning) = yes]: Likewise.
11016 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11018 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11020 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11021 [SHARED && !NO_HIDDEN].
11022 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11024 [SHARED && DO_VERSIONING]: Likewise..
11025 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11026 [$(build-shared) = yes].
11027 * manual/install.texi (--disable-versioning): Remove
11029 * INSTALL: Regenerated.
11030 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11032 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11033 [$(build-shared) = yes].
11034 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11035 * sysdeps/i386/i686/multiarch/strstr-c.c
11036 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11037 [SHARED && !NO_HIDDEN].
11038 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11039 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11040 * sysdeps/powerpc/powerpc32/dl-machine.c
11041 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11042 * sysdeps/powerpc/powerpc32/sysdep.h
11043 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11044 to [SHARED && PIC && !NO_HIDDEN].
11045 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11046 conditional to [SHARED].
11048 2013-09-04 Will Newton <will.newton@linaro.org>
11050 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11051 * benchtests/bench-string.h: Include bench-timing.h instead
11052 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11053 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11054 call to HP_TIMING_DIFF_INIT.
11055 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11056 instead of hp-timing.h macros.
11057 * benchtests/bench-memchr.c: Likewise.
11058 * benchtests/bench-memcmp.c: Likewise.
11059 * benchtests/bench-memcpy.c: Likewise.
11060 * benchtests/bench-memmem.c: Likewise.
11061 * benchtests/bench-memmove.c: Likewise.
11062 * benchtests/bench-memset.c: Likewise.
11063 * benchtests/bench-rawmemchr.c: Likewise.
11064 * benchtests/bench-strcasecmp.c: Likewise.
11065 * benchtests/bench-strcasestr.c: Likewise.
11066 * benchtests/bench-strcat.c: Likewise.
11067 * benchtests/bench-strchr.c: Likewise.
11068 * benchtests/bench-strcmp.c: Likewise.
11069 * benchtests/bench-strcpy.c: Likewise.
11070 * benchtests/bench-strcpy_chk.c: Likewise.
11071 * benchtests/bench-strlen.c: Likewise.
11072 * benchtests/bench-strncasecmp.c: Likewise.
11073 * benchtests/bench-strncat.c: Likewise.
11074 * benchtests/bench-strncmp.c: Likewise.
11075 * benchtests/bench-strncpy.c: Likewise.
11076 * benchtests/bench-strnlen.c: Likewise.
11077 * benchtests/bench-strpbrk.c: Likewise.
11078 * benchtests/bench-strrchr.c: Likewise.
11079 * benchtests/bench-strspn.c: Likewise.
11080 * benchtests/bench-strstr.c: Likewise.
11082 2013-09-04 Will Newton <will.newton@linaro.org>
11084 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11086 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11089 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11090 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11091 * math/libm-test.inc (lgamma_test_data): Add more tests.
11092 * sysdeps/i386/fpu/libm-test-ulps: Update.
11093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11095 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11097 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11098 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11101 Add strcmp-sse2-unaligned
11102 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11104 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11106 * Versions.def (libc): Add GLIBC_2.19.
11108 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11110 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11111 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11113 2013-09-02 Joseph Myers <joseph@codesourcery.com>
11116 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11117 intermediate calculations in recurrence.
11118 (__ieee754_ynf): Likewise.
11119 * math/libm-test.inc (jn_test_data): Do not allow spurious
11120 underflow exception. Add more tests.
11121 (yn_test_data): Add more tests.
11122 * sysdeps/i386/fpu/libm-test-ulps: Update.
11123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11125 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
11127 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11129 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11131 * csu/init-first.c: Fix then/than typos.
11132 * locale/programs/ld-collate.c: Likewise.
11133 * locale/programs/linereader.h: Likewise.
11134 * manual/charset.texi: Likewise.
11135 * manual/filesys.texi: Likewise.
11136 * manual/stdio.texi: Likewise.
11137 * manual/string.texi: Likewise.
11138 * stdlib/fmtmsg.c: Likewise.
11139 * sysdeps/i386/stpncpy.S: Likewise.
11140 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11141 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11142 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11143 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11145 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11147 * elf/dl-open.c: Fix typos.
11148 * iconvdata/gbbig5.c: Likewise.
11149 * iconvdata/iso-2022-jp.c: Likewise.
11150 * iconv/gconv_int.h: Likewise.
11151 * iconv/loop.c: Likewise.
11152 * nis/rpcsvc/nis.h: Likewise.
11153 * resolv/ns_name.c: Likewise.
11154 * stdio-common/vfscanf.c: Likewise.
11155 * streams/stropts.h: Likewise.
11156 * sunrpc/rpc_thread.c: Likewise.
11157 * sysdeps/i386/strpbrk.S: Likewise.
11158 * sysdeps/ieee754/k_standard.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11161 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11162 * sysdeps/mach/hurd/profil.c: Likewise.
11163 * sysdeps/s390/dl-procinfo.h: Likewise.
11164 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11165 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11166 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11167 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11168 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11170 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11172 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11173 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11175 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11177 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11178 aix specific files.
11179 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11180 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11181 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11182 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11183 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11184 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11185 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11186 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11188 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11189 Roland McGrath <roland@hack.frob.com>
11191 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11192 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11194 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11196 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11197 __executable_start symbol instead of _start.
11199 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11201 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11202 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11204 * sysdeps/gnu/ldsodefs.h: ... this new file.
11206 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11207 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11208 instead of ELFOSABI_LINUX.
11210 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11211 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11212 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11213 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11215 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11216 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11217 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11219 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11220 (ibm_extended_long_double): Add ieee_nan member.
11221 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11222 (do_test): New function.
11224 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11226 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11227 functions, renamed from truncdfsf_test, trunctfsf_test,
11229 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11231 (do_test): Run all these.
11233 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11235 * argp/argp-help.c: Fix typos.
11236 * argp/argp-parse.c: Likewise.
11237 * debug/backtracesyms.c: Likewise.
11238 * elf/elf.h: Likewise.
11239 * malloc/malloc.c: Likewise.
11240 * nis/nis_print.c: Likewise.
11241 * resolv/res_comp.c: Likewise.
11242 * stdlib/stdlib.h: Likewise.
11243 * sunrpc/clnt_tcp.c: Likewise.
11244 * sunrpc/clnt_udp.c: Likewise.
11245 * sunrpc/clnt_unix.c: Likewise.
11246 * sysdeps/unix/bsd/ptsname.c: Likewise.
11247 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11248 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11255 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11257 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11259 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11262 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11265 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11266 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11267 ($(objpfx)bug-dl-leaf): New rule.
11268 ($(objpfx)bug-dl-leaf.so): Likewise.
11269 ($(objpfx)bug-dl-leaf.out): Likewise.
11270 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11271 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11272 * dlfcn/bug-dl-leaf.c: New test.
11273 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11274 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11275 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11276 (dlclose): Likewise.
11277 (dlmopen): Likewise.
11279 2013-08-27 Roland McGrath <roland@hack.frob.com>
11281 * include/netdb.h [!_ISOMAC]:
11282 Don't include <tls.h>.
11283 (h_errno, __libc_h_errno): Move declaration and macros out of
11286 * include/resolv.h [_RESOLV_H_]:
11287 Don't include <tls.h>.
11288 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11289 * resolv/res_libc.c: Don't include <tls.h>.
11290 (_res): Use __attribute__ ((nocommon)) in place of
11291 __attribute__ ((section (".bss"))).
11293 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11294 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11296 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11298 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11299 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11301 * resolv/res_mkquery.c: Include <sys/time.h>.
11303 * inet/ifreq.c: Moved to ...
11304 * sysdeps/unix/ifreq.c: ... here.
11305 * inet/ifreq.c: New file, true stub version.
11307 * socket/sa_len.c: New file.
11308 * socket/Makefile (aux): Add it.
11309 * sysdeps/unix/sysv/linux/Makefile
11310 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11311 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11312 and #include <socket/sa_len.c>.
11313 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11314 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11316 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11317 * bits/socket.h: ... here.
11319 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11320 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11321 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11323 2013-08-27 Andreas Schwab <schwab@suse.de>
11326 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11327 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11328 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11329 * string/test-strcasecmp.c (test_main): Run tests in several
11331 * string/test-strncasecmp.c (test_main): Likewise.
11333 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11334 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11335 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11336 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11337 (__strncasecmp_ssse3) [PIC]: Likewise.
11339 2013-08-26 Roland McGrath <roland@hack.frob.com>
11341 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11343 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11344 instead of explicitly declaring xdecrypt.
11345 * nis/nss_nis/nis-publickey.c: Likewise.
11347 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11350 * nscd/aicache.c: Include res_hconf.h.
11351 (addhstaiX): Initialize res_hconf.
11353 2013-08-26 Andreas Schwab <schwab@suse.de>
11355 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11356 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11358 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11360 * nscd/aicache.c (addhstaiX): Fix indentation.
11362 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11364 * configure.ac: Quote $build_pt_chown test.
11365 * configure: Regenerated.
11367 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11370 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11371 * math/s_cexpf.c (__cexpf): Likewise.
11372 * math/s_cexpl.c (__cexpl): Likewise.
11373 * math/libm-test.inc (cexp_test_data): Correct expected return
11374 value for NaN + i0. Add another test.
11376 2013-08-22 David S. Miller <davem@davemloft.net>
11378 * po/ca.po: Update Catalan translation from translation project.
11379 * po/uk.po: Add Ukrainian translations from translation project.
11381 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11384 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11385 is infinite, not alongside NaN test.
11386 * math/s_fdimf.c (__fdimf): Likewise.
11387 * math/s_fdiml.c (__fdiml): Likewise.
11388 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11389 errno is unchanged.
11391 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11393 * argp/argp-help.c: Fix typos.
11394 * crypt/speeds.c: Likewise.
11395 * csu/check_fds.c: Likewise.
11396 * elf/dl-load.c: Likewise.
11397 * elf/dl-open.c: Likewise.
11398 * elf/reldep3.c: Likewise.
11399 * elf/reldep.c: Likewise.
11400 * elf/sprof.c: Likewise.
11401 * iconv/iconv_charmap.c: Likewise.
11402 * iconv/skeleton.c: Likewise.
11403 * iconv/strtab.c: Likewise.
11404 * io/lockf64.c: Likewise.
11405 * libio/libioP.h: Likewise.
11406 * resolv/gai_notify.c: Likewise.
11407 * resolv/ns_name.c: Likewise.
11408 * resolv/ns_samedomain.c: Likewise.
11409 * resolv/res_send.c: Likewise.
11410 * stdlib/random.c: Likewise.
11411 * sunrpc/rpc/xdr.h: Likewise.
11412 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11413 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11414 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11415 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11416 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11417 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11418 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11419 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11420 * sysdeps/mach/hurd/check_fds.c: Likewise.
11421 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11422 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11423 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11424 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11425 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11426 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11427 * sysdeps/pthread/aio_notify.c: Likewise.
11428 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11429 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11430 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11431 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11432 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11434 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11436 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11437 version if bit_Slow_SSE4_2 is set.
11438 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11439 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11441 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11444 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11445 trampoline stack frame information.
11446 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11447 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11448 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11449 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11450 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11451 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11452 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11453 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11455 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11456 interrupting a syscall and set with option SA_SIGINFO.
11458 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11461 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11462 argument is infinite.
11463 * math/s_cprojf.c (__cprojf): Likewise.
11464 * math/s_cprojl.c (__cprojl): Likewise.
11465 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11466 * math/libm-test.inc (cproj_test_data): Add more tests.
11468 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11470 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11471 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11472 size. Use __ffs to determine corresponding shift.
11474 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11475 Roland McGrath <roland@hack.frob.com>
11477 * Makefile (INSTALL): Remove trailing blank lines from output of
11480 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11482 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11483 Align 32 bit compat elf_greg to 8 bytes.
11485 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11487 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11489 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11491 * string/strcoll_l.c (coll_seq): New structure.
11492 (get_next_seq_cached): New function.
11493 (get_next_seq): New function.
11494 (do_compare): New function.
11495 (STRCOLL): Use GNU style definition. Simplify implementation
11496 by using get_next_seq, get_next_seq_cached and do_compare.
11498 2013-08-16 Florian Weimer <fweimer@redhat.com>
11502 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11504 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11506 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11507 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11508 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11510 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11511 GETDENTS_64BIT_ALIGNED.
11512 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11513 * manual/filesys.texi (Reading/Closing Directory): Document
11514 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11516 * manual/conf.texi (Limits for Files): Add portability note to
11517 NAME_MAX, PATH_MAX.
11518 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11520 2013-08-13 Andreas Schwab <schwab@suse.de>
11523 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11525 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11526 LDBL_MAX_EXP >= 16384]: Add tests for it.
11528 2013-08-12 David S. Miller <davem@davemloft.net>
11530 * version.h (RELEASE): Set to "development".
11531 (VERSION): Set to "2.18.90".
11532 * NEWS: Add 2.19 section.
11534 2013-08-03 David S. Miller <davem@davemloft.net>
11536 * po/ko.po: Update Korean translation from translation project.
11538 2013-08-01 David S. Miller <davem@davemloft.net>
11540 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11541 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11544 2013-07-30 David S. Miller <davem@davemloft.net>
11546 * po/fr.po: Update French translation from translation project.
11548 2013-07-28 David S. Miller <davem@davemloft.net>
11550 * po/cs.po: Update Czech translation from translation project.
11552 * po/sv.po: Update Swedish translation from translation project.
11554 2013-07-27 David S. Miller <davem@davemloft.net>
11556 * po/eo.po: Update Esperanto translation from translation project.
11558 * po/vi.po: Update Vietnamese translation from translation project.
11560 * po/de.po: Update German translation from translation project.
11562 2013-07-26 David S. Miller <davem@davemloft.net>
11564 * po/bg.po: Update Bulgarian translation from translation project.
11566 * po/nl.po: Update Dutch translation from translation project.
11567 * po/pl.po: Update Polish translation from translation project.
11568 * po/ru.po: Update Russian translation from translation project.
11570 2013-07-24 David S. Miller <davem@davemloft.net>
11572 * po/libc.pot: Update.
11574 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11576 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11577 variable page size.
11578 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11579 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11580 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11582 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11584 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11586 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11587 Andreas Schwab <schwab@suse.de>
11588 Roland McGrath <roland@hack.frob.com>
11589 Joseph Myers <joseph@codesourcery.com>
11590 Carlos O'Donell <carlos@redhat.com>
11593 * config.h.in: Define HAVE_PT_CHOWN.
11594 * config.make.in (build-pt-chown): New variable.
11595 * configure.in (--enable-pt_chown): New configure option.
11596 * configure: Regenerate.
11597 * login/Makefile: Include Makeconfig. Build pt_chown only if
11598 build-pt-chown is enabled.
11599 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11600 pt_chown to fix pty ownership.
11601 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11603 * manual/install.texi (Configuring and compiling): Mention
11604 --enable-pt_chown. Add @findex for grantpt.
11605 * INSTALL: Regenerate.
11607 2013-07-20 David S. Miller <davem@davemloft.net>
11609 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11610 difference between 32-bit and 64-bit.
11612 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11615 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11616 Avoid system header dependency with -ffreestanding.
11617 ($(objpfx)bits/syscall%d): Likewise.
11619 2013-07-13 David S. Miller <davem@davemloft.net>
11621 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11622 underflows from atanl/atan2l due to bug 15319.
11623 (casinh_test_data): Likewise.
11625 2013-07-07 David S. Miller <davem@davemloft.net>
11627 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11629 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11631 * sysdeps/i386/fpu/libm-test-ulps: Update.
11632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11634 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11636 * configure.in (--enable-lock-elision): Fix message text.
11637 * INSTALL: Regenerate.
11638 * configure: Regenerate.
11640 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11644 2013-07-03 Andreas Jaeger <aj@suse.de>
11646 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11648 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11649 (ptrace_peeksiginfo_args): Add.
11650 (__ptrace_peeksiginfo_flags): Add.
11651 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11652 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11653 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11655 2013-07-03 Allan McRae <allan@archlinux.org>
11657 * sysdeps/i386/fpu/libm-test-ulps: Update.
11659 2013-07-02 David S. Miller <davem@davemloft.net>
11661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11663 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11667 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11669 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11672 2013-07-02 Andi Kleen <ak@linux.intel.com>
11674 * config.h.in (ENABLE_LOCK_ELISION): Add.
11675 * configure.in (--enable-lock-elision): Add option.
11676 * manual/install.texi: Document --enable lock elision.
11677 * configure: Regenerate
11678 * INSTALL: Regenerate.
11680 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11682 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11683 SSE4.2 strcasecmp for libc.a.
11684 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11686 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11689 * soft-fp/op-common.h (_FP_FMA): New macro.
11690 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11691 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11692 (_FP_MUL_MEAT_1_imm): ... here.
11693 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11694 (_FP_MUL_MEAT_1_wide): ... here.
11695 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11696 (_FP_MUL_MEAT_1_hard): ... here.
11697 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11698 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11699 (_FP_MUL_MEAT_2_wide): ... here.
11700 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11701 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11702 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11703 (_FP_MUL_MEAT_2_gmp): ... here.
11704 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11705 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11706 (_FP_MUL_MEAT_4_wide): ... here.
11707 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11708 (_FP_MUL_MEAT_4_gmp): ... here.
11709 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11710 (_FP_WFRACBITS_DW_S): Likewise.
11711 (_FP_WFRACXBITS_DW_S): Likewise.
11712 (_FP_HIGHBIT_DW_S): Likewise.
11713 (FP_FMA_S): Likewise.
11714 (_FP_FRAC_HIGH_DW_S): Likewise.
11715 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11716 (_FP_WFRACBITS_DW_D): Likewise.
11717 (_FP_WFRACXBITS_DW_D): Likewise.
11718 (_FP_HIGHBIT_DW_D): Likewise.
11719 (FP_FMA_D): Likewise.
11720 (_FP_FRAC_HIGH_DW_D): Likewise.
11721 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11722 (_FP_WFRACBITS_DW_E): Likewise.
11723 (_FP_WFRACXBITS_DW_E): Likewise.
11724 (_FP_HIGHBIT_DW_E): Likewise.
11725 (FP_FMA_E): Likewise.
11726 (_FP_FRAC_HIGH_DW_E): Likewise.
11727 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11728 (_FP_WFRACBITS_DW_Q): Likewise.
11729 (_FP_WFRACXBITS_DW_Q): Likewise.
11730 (_FP_HIGHBIT_DW_Q): Likewise.
11731 (FP_FMA_Q): Likewise.
11732 (_FP_FRAC_HIGH_DW_Q): Likewise.
11733 * soft-fp/fmasf4.c: New file.
11734 * soft-fp/fmadf4.c: Likewise.
11735 * soft-fp/fmatf4.c: Likewise.
11737 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11740 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11742 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11744 (index_Slow_SSE4_2): Likewise.
11745 (index_Prefer_PMINUB_for_stringop): Likewise.
11746 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11747 bit_Slow_SSE4_2 is set.
11748 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11749 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11751 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11753 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11754 rtld_global._dl_hwcap2.
11755 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11757 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11758 POWER8 feature descriptions defined in _dl_hwcap2.
11759 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11760 string handling for POWER8 feature bits.
11761 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11762 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11763 _dl_powerpc_cap_flags.
11764 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11765 * sysdeps/powerpc/rtld-global-offsets.sym
11766 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11767 _dl_hwcap2 in the rtld_global_ro structure.
11769 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11771 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11772 hardware capabilities in support of AT_HWCAP2.
11773 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11774 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11776 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11777 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11778 explicitly the unknown a_type display mechanism is used.
11779 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11780 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11782 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11783 to macro prototype for AT_HWCAP2 support.
11784 * sysdeps/i386/dl-procinfo.h: Likewise.
11785 * sysdeps/s390/dl-procinfo.h: Likewise.
11786 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11787 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11788 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11789 return -1 for unknown a_type display fallback.
11790 * sysdeps/sparc/dl-procinfo.h: Likewise.
11791 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11792 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11794 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11796 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11797 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11799 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11802 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11803 mprotect making __stack_prot writable.
11805 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11806 Joseph Myers <joseph@codesourcery.com>
11808 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11809 as being properly aligned.
11811 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11813 * dlfcn/modstatic5.c: New file.
11814 * dlfcn/tststatic5.c: New file.
11815 * dlfcn/Makefile (tests): Add tststatic5.
11816 (tests-static): Likewise.
11817 (modules-names): Add modstatic5.
11818 (tststatic5-ENV): New variable.
11819 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11822 * elf/dl-support.c (_dl_main_map): New variable.
11823 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11824 (_dl_nns, _dl_load_adds): Set to 1.
11825 (_dl_initial_searchlist): Refer to _dl_main_map.
11826 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11827 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11828 call to _dl_get_origin.
11829 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11831 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11832 * dlfcn/modstatic3.c: New file.
11833 * dlfcn/tststatic3.c: New file.
11834 * dlfcn/tststatic4.c: New file.
11835 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11836 (tests-static): Likewise.
11837 (modules-names): Add modstatic3.
11838 (tststatic3-ENV, tststatic4-ENV): New variables.
11839 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11840 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11842 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11844 * configure.in (CC): Require GCC version 4.4 or later.
11845 * configure: Regenerated.
11846 * manual/install.texi (Tools for Compilation): Update GCC version
11848 * INSTALL: Regenerated.
11850 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11853 * string/test-memcmp.c (check2): New.
11854 (main): Call check2.
11856 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11858 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11861 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11863 (dl_open_worker) [!SHARED]: ... here.
11865 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11867 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11869 2013-06-25 Richard Henderson <rth@redhat.com>
11871 * locale/programs/locarchive.c: Include <libc-internal.h>
11873 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11875 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11876 trailing whitespace removed.
11878 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11881 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11882 * locale/programs/locarchive.c: Include libc-mmap.h.
11883 (prepare_address_space): Take two new outputs (the mmap base and len).
11884 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11886 (create_archive): Declare new mmap base and len values for
11887 prepare_address_space, and store the result in ah.
11888 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11889 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11890 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11891 Declare new mmap base and len values for
11892 prepare_address_space, and store the result in new_ah.
11893 (open_archive): Declare new mmap base and len values for
11894 prepare_address_space, and store the result in ah.
11895 (close_archive): If ah->mmap_base is not NULL, use that and
11896 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11897 * sysdeps/generic/libc-mmap.h: New file.
11899 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11901 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11902 (ALIGN_UP): Likewise.
11903 (PTR_ALIGN_DOWN): Likewise.
11904 (PTR_ALIGN_UP): Likewise.
11906 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11908 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11909 entry mapped to PPC_PLATFORM_POWER8.
11910 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11912 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11913 (_dl_string_platform): Add case for exporting platform position for
11915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11916 search path to sysdeps/powerpc/powerpc32/power8 directory.
11917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11918 search path to sysdeps/powerpc/powerpc64/power8 directory.
11919 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11920 power7 directories.
11921 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11922 power7 directories.
11924 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11926 * INSTALL: Regenerate.
11928 * nscd/connections.c (nscd_init): Fix comment.
11930 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11932 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11935 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11936 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11938 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11940 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11942 (DL_DST_REQ_STATIC): Remove macro.
11944 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11947 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11948 with a shift of 0 bits.
11950 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11952 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11955 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11958 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11960 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11962 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11963 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11964 accepts -fno-tree-loop-distribute-patterns.
11965 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11966 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11968 * string/memset.c (memset): Likewise.
11969 * string/test-memmove.c (simple_memmove): Disable loop transformation
11971 * string/test-memset.c (simple_memset): Likewise.
11972 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11973 * benchtests/bench-memset.c (simple_memset): Likewise.
11974 * configure: Regenerated.
11976 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11978 * math/test-misc.c (main): Ignore fesetround failure when failures
11979 of subsequent rounding tests would be ignored.
11982 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11983 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11984 * math/fegetenv.c (__fegetenv): Return 0.
11985 * math/fegetexcept.c (fegetexcept): Return 0.
11986 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11988 * math/feholdexcpt.c (feholdexcept): Return 0.
11989 * math/fesetenv.c (__fesetenv): Return 0.
11990 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11991 argument FE_TONEAREST.
11992 * math/feupdateenv.c (__feupdateenv): Return 0.
11993 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11995 2013-06-18 Roland McGrath <roland@hack.frob.com>
11997 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11998 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11999 ($(objpfx)rtld-%.os rules): Use them.
12001 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12003 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12006 2013-06-17 Roland McGrath <roland@hack.frob.com>
12008 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12009 length of target pattern, then descending length of dependency pattern.
12010 * configure.in (AWK): Require gawk 3.1.2 or newer.
12011 * manual/install.texi (Tools for Compilation): Say that we do.
12012 * configure: Regenerated.
12014 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12015 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12016 * scripts/sysd-rules.awk: ... this new script.
12017 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12018 than a glob-style pattern.
12020 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12022 * math/test-misc.c (main): Do not treat incorrectly rounded
12023 conversions as failure unless ROUNDING_TESTS passes.
12025 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12028 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12029 restore exception state around main square root computation, then
12030 check for inexactness explicitly.
12032 * math/libm-test.inc (fma_test_data): Add another test.
12034 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12036 * manual/threads.texi (Non-POSIX Extensions): New document
12037 node. Document pthread_getattr_default_np and
12038 pthread_setattr_default_np.
12040 * Versions.def (libpthread): Add GLIBC_2.18.
12041 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12050 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12061 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12064 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12066 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12067 H.J. Lu <hjl.tools@gmail.com>
12070 * sysdeps/x86_64/rtld-memset.c: Remove file.
12071 * sysdeps/x86_64/rtld-memset.S: New file.
12073 2013-06-14 Joseph Myers <joseph@codesourcery.com>
12075 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12076 (test_in_one_mode): Take arguments for whether the rounding mode
12077 is supported for each floating-point type.
12078 (do_test): Pass new arguments to test_in_one_mode using
12081 2013-06-13 Roland McGrath <roland@hack.frob.com>
12083 * posix/tst-waitid.c (do_test): Distinguish different instances of
12084 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12085 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12086 before entering the kernel for waitpid.
12088 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12090 * NEWS: Fix note on clock function precision. Text by Roland
12093 2013-06-13 Roland McGrath <roland@hack.frob.com>
12095 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12096 it into place only when and if the sanity check passes.
12098 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12100 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12101 output for whether conversion result is exact. Take argument
12102 indicating whether type is IBM long double.
12103 (round_for_all): Change need_exact field to ibm_ld.
12104 * stdlib/tst-strtod-round.c (struct exactness): New type.
12105 (struct test): Change bool ld_ok field to struct exactness exact.
12106 (TEST): Update all definitions for change to field.
12107 (tests): Regenerate array contents.
12108 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12109 field value. Check for IBM long double here.
12110 (do_test): Update calls to test_in_one_mode.
12112 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12115 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12116 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12118 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12121 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12122 generated by the compiler on loop optimizations.
12123 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12124 general definitions.
12126 2013-06-12 Joseph Myers <joseph@codesourcery.com>
12128 * math/bug-nextafter.c: Include <math-tests.h>.
12129 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12131 * math/bug-nexttoward.c: Include <math-tests.h>.
12132 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12134 * math/test-misc.c: Include <math-tests.h>.
12135 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12138 2013-06-12 Andreas Jaeger <aj@suse.de>
12140 * po/ia.po: Update Interlingua translation from translation
12143 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12145 * include/fenv.h: Include stdbool.h.
12146 (struct rm_ctx): New structure.
12147 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12149 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12150 (SET_RESTORE_ROUNDF): Likewise.
12151 (SET_RESTORE_ROUNDL): Likewise.
12152 (SET_RESTORE_ROUND_NOEX): Likewise.
12153 (SET_RESTORE_ROUND_NOEXF): Likewise.
12154 (SET_RESTORE_ROUND_NOEXL): Likewise.
12155 (SET_RESTORE_ROUND_53BIT): Likewise.
12156 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12157 (libc_feresetround_noexf_ctx): Likewise.
12158 (libc_feresetround_noexl_ctx): Likewise.
12159 (libc_feholdsetround_53bit_ctx): Likewise.
12160 (libc_feresetround_53bit_ctx): Likewise.
12161 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12162 (libc_feholdexcept_setround_sse_ctx): New function.
12163 (libc_fesetenv_sse_ctx): Likewise.
12164 (libc_feupdateenv_sse_ctx): Likewise.
12165 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12166 (libc_feholdexcept_setround_387_ctx): Likewise.
12167 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12168 (libc_feholdsetround_387_prec_ctx): Likewise.
12169 (libc_feholdsetround_387_ctx): Likewise.
12170 (libc_feholdsetround_387_53bit_ctx): Likewise.
12171 (libc_feholdsetround_sse_ctx): Likewise.
12172 (libc_feresetround_sse_ctx): Likewise.
12173 (libc_feresetround_387_ctx): Likewise.
12174 (libc_feupdateenv_387_ctx): Likewise.
12175 (libc_feholdexcept_setroundf_ctx): Define macro.
12176 (libc_fesetenvf_ctx): Likewise.
12177 (libc_feupdateenvf_ctx): Likewise.
12178 (libc_feholdsetroundf_ctx): Likewise.
12179 (libc_feresetroundf_ctx): Likewise.
12180 (libc_feholdexcept_setround_ctx): Likewise.
12181 (libc_fesetenv_ctx): Likewise.
12182 (libc_feupdateenv_ctx): Likewise.
12183 (libc_feholdsetround_ctx): Likewise.
12184 (libc_feresetround_ctx): Likewise.
12185 (libc_feholdexcept_setroundl_ctx): Likewise.
12186 (libc_feupdateenvl_ctx): Likewise.
12187 (libc_feholdsetroundl_ctx): Likewise.
12188 (libc_feresetroundl_ctx): Likewise.
12189 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12190 (libc_feresetround_53bit_ctx): Likewise.
12192 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12194 * locale/iso-639.def: Convert to UTF-8.
12196 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12198 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12199 (EXCEPTION_TESTS_double): Likewise.
12200 (EXCEPTION_TESTS_long_double): Likewise.
12201 (EXCEPTION_TESTS): Likewise.
12202 * math/libm-test.inc (test_exceptions): Only test exceptions if
12203 EXCEPTION_TESTS (FLOAT).
12205 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12207 * benchtests/Makefile (string-bench): Add strcpy_chk and
12209 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12210 * benchtests/bench-stpcpy_chk.c: New file.
12211 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12212 * benchtests/bench-strcpy_chk.c: New file.
12213 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12215 (do_test): Likewise.
12217 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12219 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12220 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12221 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12222 with tabs where appropriate.
12223 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12225 [PPC_PLATFORM_PPC440]: Likewise.
12226 [PPC_PLATFORM_PPC464]: Likewise.
12227 [PPC_PLATFORM_PPC476]: Likewise.
12228 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12229 ppc464, and ppc476 platform strings merging from ports/
12232 2013-06-11 Andreas Schwab <schwab@suse.de>
12235 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12236 (from_ucs4_idx): Regenerate.
12237 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12238 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12239 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12240 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12241 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12242 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12243 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12244 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12245 from FROM_LOOP and TO_LOOP specific macros.
12246 (BODY): Handle combining characters.
12247 * iconvdata/BIG5HKSCS.irreversible: Update.
12248 * iconvdata/BIG5HKSCS.precomposed: New file.
12249 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12251 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12253 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12255 * include/sys/time.h: Fix indentation and add copyright header.
12257 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12258 (do_test): Likewise.
12259 * string/test-memchr.c (do_one_test): Likewise.
12260 (do_test): Likewise.
12261 * string/test-memcmp.c (do_one_test): Likewise.
12262 (do_test): Likewise.
12263 * string/test-memcpy.c (do_one_test): Likewise.
12264 (do_test): Likewise.
12265 * string/test-memmem.c (do_one_test): Likewise.
12266 (do_test): Likewise.
12267 (do_random_tests): Likewise.
12268 * string/test-memmove.c (do_one_test): Likewise.
12269 (do_test): Likewise.
12270 * string/test-memset.c (do_one_test): Likewise.
12271 (do_test): Likewise.
12272 * string/test-rawmemchr.c (do_one_test): Likewise.
12273 (do_test): Likewise.
12274 * string/test-strcasecmp.c (do_one_test): Likewise.
12275 (do_test): Likewise.
12276 * string/test-strcasestr.c (do_one_test): Likewise.
12277 (do_test): Likewise.
12278 * string/test-strcat.c (do_one_test): Likewise.
12279 (do_test): Likewise.
12280 * string/test-strchr.c (do_one_test): Likewise.
12281 (do_test): Likewise.
12282 * string/test-strcmp.c (do_one_test): Likewise.
12283 (do_test): Likewise.
12284 * string/test-strcpy.c (do_one_test): Likewise.
12285 (do_test): Likewise.
12286 * string/test-string.h: Likewise.
12287 (test_init): Likewise.
12288 * string/test-strlen.c (do_one_test): Likewise.
12289 (do_test): Likewise.
12290 * string/test-strncasecmp.c (do_one_test): Likewise.
12291 (do_test): Likewise.
12292 * string/test-strncat.c (do_one_test): Likewise.
12293 (do_test): Likewise.
12294 * string/test-strncmp.c (do_one_test): Likewise.
12295 (do_test_limit): Likewise.
12296 (do_test): Likewise.
12297 * string/test-strncpy.c (do_one_test): Likewise.
12298 (do_test): Likewise.
12299 * string/test-strnlen.c (do_one_test): Likewise.
12300 (do_test): Likewise.
12301 * string/test-strpbrk.c (do_one_test): Likewise.
12302 (do_test): Likewise.
12303 * string/test-strrchr.c (do_one_test): Likewise.
12304 (do_test): Likewise.
12305 * string/test-strspn.c (do_one_test): Likewise.
12306 (do_test): Likewise.
12307 * string/test-strstr.c (do_one_test): Likewise.
12308 (do_test): Likewise.
12310 * benchtests/Makefile (string-bench): Add string benchmarks.
12311 * benchtests/bench-bcopy-ifunc.c: New file.
12312 * benchtests/bench-bcopy.c: New file.
12313 * benchtests/bench-bzero-ifunc.c: New file.
12314 * benchtests/bench-bzero.c: New file.
12315 * benchtests/bench-memccpy-ifunc.c: New file.
12316 * benchtests/bench-memccpy.c: New file.
12317 * benchtests/bench-memchr-ifunc.c: New file.
12318 * benchtests/bench-memchr.c: New file.
12319 * benchtests/bench-memcmp-ifunc.c: New file.
12320 * benchtests/bench-memcmp.c: New file.
12321 * benchtests/bench-memmem-ifunc.c: New file.
12322 * benchtests/bench-memmem.c: New file.
12323 * benchtests/bench-memmove-ifunc.c: New file.
12324 * benchtests/bench-memmove.c: New file.
12325 * benchtests/bench-mempcpy-ifunc.c: New file.
12326 * benchtests/bench-mempcpy.c: New file.
12327 * benchtests/bench-memset-ifunc.c: New file.
12328 * benchtests/bench-memset.c: New file.
12329 * benchtests/bench-rawmemchr-ifunc.c: New file.
12330 * benchtests/bench-rawmemchr.c: New file.
12331 * benchtests/bench-stpcpy-ifunc.c: New file.
12332 * benchtests/bench-stpcpy.c: New file.
12333 * benchtests/bench-stpncpy-ifunc.c: New file.
12334 * benchtests/bench-stpncpy.c: New file.
12335 * benchtests/bench-strcasecmp-ifunc.c: New file.
12336 * benchtests/bench-strcasecmp.c: New file.
12337 * benchtests/bench-strcasestr-ifunc.c: New file.
12338 * benchtests/bench-strcasestr.c: New file.
12339 * benchtests/bench-strcat-ifunc.c: New file.
12340 * benchtests/bench-strcat.c: New file.
12341 * benchtests/bench-strchr-ifunc.c: New file.
12342 * benchtests/bench-strchr.c: New file.
12343 * benchtests/bench-strchrnul-ifunc.c: New file.
12344 * benchtests/bench-strchrnul.c: New file.
12345 * benchtests/bench-strcmp-ifunc.c: New file.
12346 * benchtests/bench-strcmp.c: New file.
12347 * benchtests/bench-strcpy-ifunc.c: New file.
12348 * benchtests/bench-strcpy.c: New file.
12349 * benchtests/bench-strcspn-ifunc.c: New file.
12350 * benchtests/bench-strcspn.c: New file.
12351 * benchtests/bench-strlen-ifunc.c: New file.
12352 * benchtests/bench-strlen.c: New file.
12353 * benchtests/bench-strncasecmp-ifunc.c: New file.
12354 * benchtests/bench-strncasecmp.c: New file.
12355 * benchtests/bench-strncat-ifunc.c: New file.
12356 * benchtests/bench-strncat.c: New file.
12357 * benchtests/bench-strncmp-ifunc.c: New file.
12358 * benchtests/bench-strncmp.c: New file.
12359 * benchtests/bench-strncpy-ifunc.c: New file.
12360 * benchtests/bench-strncpy.c: New file.
12361 * benchtests/bench-strnlen-ifunc.c: New file.
12362 * benchtests/bench-strnlen.c: New file.
12363 * benchtests/bench-strpbrk-ifunc.c: New file.
12364 * benchtests/bench-strpbrk.c: New file.
12365 * benchtests/bench-strrchr-ifunc.c: New file.
12366 * benchtests/bench-strrchr.c: New file.
12367 * benchtests/bench-strspn-ifunc.c: New file.
12368 * benchtests/bench-strspn.c: New file.
12369 * benchtests/bench-strstr-ifunc.c: New file.
12370 * benchtests/bench-strstr.c: New file.
12372 * benchtests/Makefile: Disable parallel execution of targets.
12373 (string-bench): Add memcpy.
12374 (benchset): New variable to store a list of benchmark sets.
12375 (bench-func): Renamed from bench.
12376 (bench-set): New target.
12377 (bench): Depend on bench-func and bench-set.
12378 * benchtests/README: Add section on benchmark sets.
12379 * benchtests/bench-memcpy-ifunc.c: New file.
12380 * benchtests/bench-memcpy.c: New file.
12381 * benchtests/bench-string.h: New file.
12383 2013-06-11 Andreas Schwab <schwab@suse.de>
12386 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12387 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12388 values in the triple.
12389 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12390 terminator in the group key.
12392 2013-06-11 Andreas Jaeger <aj@suse.de>
12394 * po/zh_TW.po: Update Chinese (traditional) translation from
12395 translation project.
12397 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12399 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12400 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12401 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12402 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12403 (clock_getcpuclockid): Likewise.
12404 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12405 Add weak_alias and libc_hidden_def.
12406 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12407 * rt/clock_gettime.c (clock_gettime): Rename to
12408 __clock_gettime. Add weak_alias and libc_hidden_def.
12409 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12410 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12411 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12412 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12413 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12415 * rt/clock_settime.c (clock_settime): Rename to
12416 __clock_settime. Add weak_alias and libc_hidden_def.
12417 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12419 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12421 * mach/err_boot.sub: Remove trailing whitespace.
12422 * mach/err_ipc.sub: Likewise.
12423 * mach/err_mach.sub: Likewise.
12425 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12426 (ROUNDING_TESTS_double): Likewise.
12427 (ROUNDING_TESTS_long_double): Likewise.
12428 (ROUNDING_TESTS): Likewise.
12429 * math/libm-test.inc: Include <math-tests.h>.
12430 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12431 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12432 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12433 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12435 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12437 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12440 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12442 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12443 otherwise empty TRANS lines.
12444 * sysdeps/gnu/errlist.c: Regenerated.
12446 * catgets/gencat.c (error_print): Use (void) in function
12448 * crypt/crypt_util.c (__init_des): Likewise.
12449 * crypt/speeds.c (Stop): Likewise.
12451 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12452 * inet/ruserpass.c (token): Likewise.
12453 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12454 * intl/localealias.c (extend_alias_table): Likewise.
12455 * intl/plural-exp.c (init_germanic_plural): Likewise.
12456 * libio/fcloseall.c (__fcloseall): Likewise.
12457 * libio/genops.c (_IO_flush_all): Likewise.
12458 (_IO_flush_all_linebuffered): Likewise.
12459 (_IO_cleanup): Likewise.
12460 (_IO_iter_begin): Likewise.
12461 (_IO_iter_end): Likewise.
12462 (_IO_list_lock): Likewise.
12463 (_IO_list_unlock): Likewise.
12464 (_IO_list_resetlock): Likewise.
12465 * libio/getchar.c (getchar): Likewise.
12466 * libio/getchar_u.c (getchar_unlocked): Likewise.
12467 * libio/getwchar.c (getwchar): Likewise.
12468 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12469 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12470 * login/getpt.c (__getpt): Likewise.
12471 * login/tst-utmp.c (main): Likewise.
12472 * malloc/hooks.c (__malloc_check_init): Likewise.
12473 * malloc/malloc.c (__malloc_stats): Likewise.
12474 * malloc/mtrace.c (tr_break): Likewise.
12475 (mtrace): Likewise.
12476 (muntrace): Likewise.
12477 * misc/fstab.c (endfsent): Likewise.
12478 * misc/getclktck.c (__getclktck): Likewise.
12479 * misc/getdtsz.c (__getdtablesize): Likewise.
12480 * misc/gethostid.c (gethostid): Likewise.
12481 * misc/getpagesize.c (__getpagesize): Likewise.
12482 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12483 (__get_nprocs): Likewise.
12484 (__get_phys_pages): Likewise.
12485 (__get_avphys_pages): Likewise.
12486 * misc/getttyent.c (getttyent): Likewise.
12487 (setttyent): Likewise.
12488 (endttyent): Likewise.
12489 * misc/getusershell.c (getusershell): Likewise.
12490 (endusershell): Likewise.
12491 (setusershell): Likewise.
12492 (initshells): Likewise.
12493 * misc/hsearch.c (__hdestroy): Likewise.
12494 * misc/sync.c (sync): Likewise.
12495 * misc/syslog.c (closelog_internal): Likewise.
12496 (closelog): Likewise.
12497 * misc/ttyslot.c (ttyslot): Likewise.
12498 * misc/vhangup.c (vhangup): Likewise.
12499 * posix/fork.c (__fork): Likewise.
12500 * posix/getegid.c (__getegid): Likewise.
12501 * posix/geteuid.c (__geteuid): Likewise.
12502 * posix/getgid.c (__getgid): Likewise.
12503 * posix/getpid.c (__getpid): Likewise.
12504 * posix/getppid.c (__getppid): Likewise.
12505 * posix/getuid.c (__getuid): Likewise.
12506 * posix/pause.c (pause): Likewise.
12507 * posix/setpgrp.c (setpgrp): Likewise.
12508 * posix/setsid.c (__setsid): Likewise.
12509 * posix/test-vfork.c (noop): Likewise.
12510 * resolv/gethnamaddr.c (_endhtent): Likewise.
12511 (_gethtent): Likewise.
12512 (ht_endhostent): Likewise.
12513 (gethostent): Likewise.
12514 (dns_service): Likewise.
12515 * stdlib/drand48.c (drand48): Likewise.
12516 * stdlib/lrand48.c (lrand48): Likewise.
12517 * stdlib/mrand48.c (mrand48): Likewise.
12518 * stdlib/rand.c (rand): Likewise.
12519 * stdlib/random.c (__random): Likewise.
12520 * stdlib/setenv.c (clearenv): Likewise.
12521 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12522 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12523 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12524 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12525 (__get_nprocs): Likewise.
12526 (__get_phys_pages): Likewise.
12527 (__get_avphys_pages): Likewise.
12528 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12529 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12530 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12531 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12532 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12533 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12534 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12535 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12536 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12537 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12538 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12539 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12540 * sysdeps/posix/clock.c (clock): Likewise.
12541 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12542 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12543 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12544 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12545 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12546 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12547 (__get_nprocs_conf): Likewise.
12548 (__get_phys_pages): Likewise.
12549 (__get_avphys_pages): Likewise.
12550 * time/clock.c (clock): Likewise.
12551 * time/tzset.c (__tzname_max): Likewise.
12553 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12555 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12556 (__bswap_32): Do not use "register".
12557 * crypt/crypt.c (_ufc_doit_r): Likewise.
12558 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12559 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12560 * gmon/gmon.c (__monstartup): Likewise.
12561 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12562 * hurd/hurdmalloc.c (more_memory): Likewise.
12563 (malloc): Likewise.
12565 (realloc): Likewise.
12566 (malloc_fork_prepare): Likewise.
12567 (malloc_fork_parent): Likewise.
12568 (malloc_fork_child): Likewise.
12569 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12570 (_svcauth_des): Likewise.
12571 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12572 * inet/inet_net.c (inet_network): Likewise.
12573 * inet/inet_netof.c (inet_netof): Likewise.
12574 * inet/rcmd.c (__validuser2_sa): Likewise.
12575 * io/fts.c (fts_open): Likewise.
12576 (fts_load): Likewise.
12577 (fts_close): Likewise.
12578 (fts_read): Likewise.
12579 (fts_children): Likewise.
12580 (fts_build): Likewise.
12581 (fts_stat): Likewise.
12582 (fts_sort): Likewise.
12583 (fts_alloc): Likewise.
12584 (fts_lfree): Likewise.
12585 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12586 (_IO_file_xsgetn): Likewise.
12587 (_IO_file_xsgetn_mmap): Likewise.
12588 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12589 (_IO_cookie_write): Likewise.
12590 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12591 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12592 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12593 * malloc/obstack.c (_obstack_begin): Likewise.
12594 (_obstack_begin_1): Likewise.
12595 (_obstack_newchunk): Likewise.
12596 (_obstack_allocated_p): Likewise.
12597 (obstack_free): Likewise.
12598 (_obstack_memory_used): Likewise.
12599 * misc/getttyent.c (getttynam): Likewise.
12600 (getttyent): Likewise.
12603 * misc/getusershell.c (initshells): Likewise.
12604 * misc/syslog.c (__vsyslog_chk): Likewise.
12605 * misc/ttyslot.c (ttyslot): Likewise.
12606 * nis/nis_hash.c (__nis_hash): Likewise.
12607 * posix/fnmatch_loop.c (FCT): Likewise.
12608 * posix/getconf.c (print_all): Likewise.
12610 * posix/getopt.c (exchange): Likewise.
12611 * posix/glob.c (globfree): Likewise.
12612 (prefix_array): Likewise.
12613 (__glob_pattern_type): Likewise.
12614 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12615 (NS_GET32): Likewise.
12616 (NS_PUT16): Likewise.
12617 (NS_PUT32): Likewise.
12618 * resolv/gethnamaddr.c (getanswer): Likewise.
12619 (gethostbyname2): Likewise.
12620 (gethostbyaddr): Likewise.
12621 (_gethtent): Likewise.
12622 (_gethtbyname2): Likewise.
12623 (_gethtbyaddr): Likewise.
12624 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12625 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12626 * resolv/res_init.c (__res_vinit): Likewise.
12627 (net_mask): Likewise.
12628 * resolv/res_mkquery.c (outchar): Likewise.
12630 * stdio-common/printf_fp.c (outchar): Likewise.
12632 * stdio-common/printf_fphex.c (outchar): Likewise.
12634 * stdio-common/printf_size.c (outchar): Likewise.
12636 * stdio-common/test_rdwr.c (main): Likewise.
12637 * stdio-common/tfformat.c (matches): Likewise.
12638 * stdio-common/vfprintf.c (outchar): Likewise.
12639 (printf_unknown): Likewise.
12640 (buffered_vfprintf): Likewise.
12641 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12642 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12643 (ReadFile): Likewise.
12644 * stdlib/qsort.c (SWAP): Likewise.
12645 (_quicksort): Likewise.
12646 * stdlib/setenv.c (__add_to_environ): Likewise.
12647 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12648 * stdlib/strtol_l.c (__strtol_l): Likewise.
12649 * stdlib/tst-strtod.c (main): Likewise.
12650 * stdlib/tst-strtol.c (main): Likewise.
12651 * stdlib/tst-strtoll.c (main): Likewise.
12652 * string/bits/string2.h (__strcmp_cc): Likewise.
12653 (__strcmp_cg): Likewise.
12654 (__strcspn_c1): Likewise.
12655 (__strcspn_c2): Likewise.
12656 (__strcspn_c3): Likewise.
12657 (__strspn_c1): Likewise.
12658 (__strspn_c2): Likewise.
12659 (__strspn_c3): Likewise.
12660 (__strsep_1c): Likewise.
12661 (__strsep_2c): Likewise.
12662 (__strsep_3c): Likewise.
12663 * string/memccpy.c (__memccpy): Likewise.
12664 * string/stpcpy.c (__stpcpy): Likewise.
12665 * string/strcmp.c (strcmp): Likewise.
12666 * string/strrchr.c (strrchr): Likewise.
12667 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12669 * sysdeps/mach/hurd/getcwd.c
12670 (_hurd_canonicalize_directory_name_internal): Likewise.
12671 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12672 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12673 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12674 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12675 Likewise, in both definitions.
12676 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12678 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12679 64] (__bswap_64): Likewise.
12680 * time/test_time.c (main): Likewise.
12681 * time/tzfile.c (__tzfile_read): Likewise.
12682 (__tzfile_compute): Likewise.
12683 * time/tzset.c (__tzset_parse_tz): Likewise.
12684 (tzset_internal): Likewise.
12685 (compute_change): Likewise.
12686 * wcsmbs/wcscat.c (__wcscat): Likewise.
12687 * wcsmbs/wcschr.c (wcschr): Likewise.
12688 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12689 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12690 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12691 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12692 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12693 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12694 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12695 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12696 * wcsmbs/wmemset.c (wmemset): Likewise.
12698 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12700 * scripts/config.guess: Update to version 2013-05-16.
12701 * scripts/config.sub: Update to version 2013-04-24.
12702 * scripts/install-sh: Update to version 2011-11-20.07.
12703 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12704 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12706 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12708 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12709 * elf/sln.c: Likewise.
12710 * hurd/hurd/ioctl.h: Likewise.
12711 * hurd/hurdmalloc.c: Likewise.
12712 * hurd/xattr.c: Likewise.
12713 * include/shlib-compat.h: Likewise.
12714 * inet/ruserpass.c: Likewise.
12715 * libio/iofgets_u.c: Likewise.
12716 * libio/iofgetws_u.c: Likewise.
12717 * locale/programs/ld-identification.c: Likewise.
12718 * locale/programs/ld-time.c: Likewise.
12719 * mach/msg-destroy.c: Likewise.
12720 * nss/nss_files/files-netgrp.c: Likewise.
12721 * resolv/res_data.c: Likewise.
12722 * soft-fp/op-1.h: Likewise.
12723 * soft-fp/op-2.h: Likewise.
12724 * soft-fp/op-4.h: Likewise.
12725 * soft-fp/op-common.h: Likewise.
12726 * stdio-common/printf_fphex.c: Likewise.
12727 * stdlib/strtod_l.c: Likewise.
12728 * sunrpc/rpc/clnt.h: Likewise.
12729 * sysdeps/generic/framestate.c: Likewise.
12730 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12731 * sysdeps/i386/bsd-setjmp.S: Likewise.
12732 * sysdeps/i386/__longjmp.S: Likewise.
12733 * sysdeps/i386/setjmp.S: Likewise.
12734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12735 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12736 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12737 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12738 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12739 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12748 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12752 * sysdeps/ieee754/support.c: Likewise.
12753 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12754 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12755 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12756 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12757 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12758 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12759 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12760 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12761 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12762 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12763 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12764 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12765 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12766 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12767 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12768 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12769 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12772 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12774 * posix/transbug.c: Remove executable mode.
12776 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12778 * crypt/speeds.c: Remove trailing whitespace.
12779 * dlfcn/default.c: Likewise.
12780 * elf/ifuncdep2.c: Likewise.
12781 * elf/ifuncmain1.c: Likewise.
12782 * elf/ifuncmain1vis.c: Likewise.
12783 * elf/testobj.h: Likewise.
12784 * elf/tst-stackguard1.c: Likewise.
12785 * gmon/sys/gmon.h: Likewise.
12786 * hurd/hurdmsg.c: Likewise.
12787 * hurd/new-fd.c: Likewise.
12788 * hurd/ports-get.c: Likewise.
12789 * iconvdata/ibm1008_420.c: Likewise.
12790 * inet/tst-getni1.c: Likewise.
12791 * inet/tst-getni2.c: Likewise.
12792 * libio/ioungetc.c: Likewise.
12793 * libio/wfiledoalloc.c: Likewise.
12794 * manual/libm-err-tab.pl: Likewise.
12795 * math/w_dremf.c: Likewise.
12796 * misc/ftruncate.c: Likewise.
12797 * posix/bug-glob2.c: Likewise.
12798 * posix/tst-pcre.c: Likewise.
12799 * posix/wait4.c: Likewise.
12800 * resolv/README: Likewise.
12801 * resolv/res_debug.h: Likewise.
12802 * resolv/tst-inet_ntop.c: Likewise.
12803 * setjmp/bug269-setjmp.c: Likewise.
12804 * soft-fp/extended.h: Likewise.
12805 * soft-fp/op-1.h: Likewise.
12806 * soft-fp/op-2.h: Likewise.
12807 * soft-fp/op-4.h: Likewise.
12808 * soft-fp/op-8.h: Likewise.
12809 * soft-fp/testit.c: Likewise.
12810 * stdio-common/bug16.c: Likewise.
12811 * stdlib/random.c: Likewise.
12812 * sunrpc/rpcsvc/rquota.x: Likewise.
12813 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12814 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12815 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12816 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12817 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12818 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12819 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12820 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12821 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12822 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12823 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12840 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12842 * sysdeps/ieee754/s_lib_version.c: Likewise.
12843 * sysdeps/mach/hurd/check_fds.c: Likewise.
12844 * sysdeps/mach/hurd/getsockname.c: Likewise.
12845 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12846 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12847 * sysdeps/powerpc/bits/link.h: Likewise.
12848 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12849 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12850 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12851 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12852 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12853 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12854 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12855 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12856 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12857 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12858 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12859 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12860 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12861 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12862 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12863 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12864 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12865 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12866 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12867 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12868 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12869 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12870 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12871 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12872 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12873 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12874 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12875 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12876 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12877 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12878 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12879 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12880 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12881 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12882 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12883 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12884 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12885 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12886 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12887 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12888 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12889 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12890 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12891 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12892 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12893 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12894 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12895 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12896 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12897 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12898 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12899 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12900 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12901 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12902 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12903 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12904 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12905 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12906 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12907 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12908 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12909 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12910 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12911 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12912 * sysdeps/powerpc/sysdep.h: Likewise.
12913 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12914 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12915 * sysdeps/sh/dl-trampoline.S: Likewise.
12916 * sysdeps/sh/memset.S: Likewise.
12917 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12918 * sysdeps/sh/strlen.S: Likewise.
12919 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12920 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12921 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12922 * sysdeps/sparc/sparc32/rem.S: Likewise.
12923 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12924 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12925 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12926 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12927 * sysdeps/sparc/sparc32/urem.S: Likewise.
12928 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12929 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12930 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12931 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12932 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12933 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12934 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12935 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12936 * sysdeps/unix/bsd/times.c: Likewise.
12937 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12938 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12942 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12943 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12944 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12945 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12946 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12947 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12948 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12949 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12950 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12951 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12952 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12953 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12954 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12955 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12956 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12957 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12958 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12959 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12960 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12961 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12962 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12963 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12964 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12965 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12966 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12967 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12968 * sysdeps/x86_64/strcspn.S: Likewise.
12970 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12972 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12973 generated file. Regenerate properly from gen-translit.pl.
12974 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12975 locale/C-translit.h.
12977 2013-06-05 Andreas Schwab <schwab@suse.de>
12980 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12981 week as 6 instead of -1.
12982 * time/tst-strptime.c (day_tests): Add test case.
12984 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12986 * sysdeps/generic/math_private.h
12987 (libc_feholdexcept_setround_53bit): Replace with
12988 libc_feholdsetround_53bit.
12989 (libc_feupdateenv_53bit): Replace with
12990 libc_feresetround_53bit.
12991 (SET_RESTORE_ROUND_53BIT): Adjust.
12993 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12995 * string/test-strchrnul.c: Add copyright header.
12997 * posix/tst-getaddrinfo4.c: Increase test timeout.
12999 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13002 * math/libm-test.inc (MAX_EXP): Remove
13004 (ulp): Use MIN_EXP - MANT_DIG.
13005 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13007 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13009 * po/be.po: Revert last change.
13010 * po/zh_CN.po: Likewise.
13011 * po/header.pot: Likewise.
13013 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13015 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13016 link-libc-deps to empty as target-specific variable.
13017 * Makerules (link-libc-args): New variable.
13018 (libc-for-link): Likewise.
13019 (link-libc-deps): Likewise.
13020 (lib%.so): Depend on $(link-libc-deps). Link with
13022 (build-module): Link with $(link-libc-args).
13023 (build-module-asneeded): Likewise.
13024 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13026 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13027 target-specific variable.
13028 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13029 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13030 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13032 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13034 ($(objpfx)libpcprofile.so): Likewise.
13035 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13037 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13038 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13039 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13041 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13042 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13043 * login/Makefile ($(objpfx)libutil.so): Likewise.
13044 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13045 * math/Makefile ($(objpfx)libm.so): Likewise.
13046 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13047 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13048 variable instead of depending directly on libc.
13049 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13050 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13052 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13054 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13055 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13056 ($(objpfx)libanl.so): Likewise.
13057 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13059 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13061 * sysdeps/i386/fpu/Makefile: Remove file.
13062 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13063 ($(objpfx)libm.so): Remove dependency on ld.so.
13065 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
13068 * nis/yp_xdr.c (XDRMAXNAME): Define.
13069 (XDRMAXRECORD): Define.
13070 (xdr_domainname): Use XDRMAXNAME.
13071 (xdr_mapname): Likewise.
13072 (xdr_peername): Likewise.
13073 (xdr_keydat): Use XDRMAXRECORD.
13074 (xdr_valdat): Likewise.
13076 2013-05-30 Jeff Law <law@redhat.com>
13079 * manual/errno.texi (ESTALE): Update to account for more than
13080 just NFS file systems.
13081 * sysdeps/gnu/errlist.c: Regenerated.
13083 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13086 * elf/Makefile (tests): Add tst-null-argv.
13087 (modules-names): Add tst-null-argv-lib.
13088 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13089 (tst-null-argv-ENV): Set environment for tst-null-argv.
13090 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13091 (RTLD_PROGNAME): New macro.
13092 * elf/tst-null-argv.c: New test case.
13093 * elf/tst-null-argv-lib.c: Library for test case.
13094 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13095 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13096 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13097 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13098 * elf/dl-init.c (call_init): Likewise.
13099 (_dl_init): Likewise.
13100 * elf/dl-load.c (print_search_path): Likewise.
13101 (_dl_map_object): Likewise.
13102 * elf/dl-lookup.c (do_lookup_x): Likewise.
13103 (add_dependency): Likewise.
13104 (_dl_lookup_symbol_x): Likewise.
13105 (_dl_debug_bindings): Likewise.
13106 * elf/dl-open.c (_dl_show_scope): Likewise.
13107 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13108 * elf/dl-version.c (match_symbol): Likewise.
13109 (_dl_check_map_versions): Likewise.
13110 * elf/rtld.c (dl_main): Likewise.
13111 (print_unresolved): Use RTLD_PROGNAME.
13112 (print_missing_version): Likewise.
13113 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13114 (elf_machine_rela): Likewise.
13115 * sysdeps/powerpc/powerpc32/dl-machine.c
13116 (__process_machine_rela): Likewise.
13117 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13119 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13121 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13123 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13124 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13126 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13128 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13130 2013-05-28 Carlos O'Donell <carlos@redhat.com>
13132 * po/be.po: Add descriptive title.
13133 * po/zh_CN.po: Likewise.
13134 * po/header.pot: Likewise.
13136 2013-05-28 Mike Frysinger <vapier@gentoo.org>
13138 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13140 (enlarge_archive): Likewise.
13142 2013-05-28 Ben North <ben@redfrontdoor.org>
13144 * manual/arith.texi (frexp): It is the magnitude of the return
13145 value which lies in [0.5, 1), not the return value itself.
13147 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13151 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13153 * stdio-common/bug26.c (main): Correct fscanf template.
13155 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13156 declare _dl_skip_args.
13158 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13161 * manual/platform.texi: Add missing @end deftypefun.
13163 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13166 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13167 bit of mantissa of 2^16382.
13168 * math/libm-test.inc (hypot_test_data): Add more tests.
13170 * math/libm-test.inc: Add drem and pow10 to list of tested
13172 (pow10_test): New function.
13173 (drem_test): Likewise.
13174 (drem_test_tonearest): Likewise.
13175 (drem_test_towardzero): Likewise.
13176 (drem_test_downward): Likewise.
13177 (drem_test_upward): Likewise.
13178 (main): Call the new functions.
13180 * math/libm-test.inc (finite_test_data): Remove.
13181 (finite_test): Run tests from isfinite_test_data.
13182 (gamma_test_data): Remove.
13183 (gamma_test): Run tests from lgamma_test_data.
13184 * sysdeps/i386/fpu/libm-test-ulps: Update.
13185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13187 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13189 * manual/platform.texi: Add PowerPC PPR function set documentation.
13190 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13193 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13195 * math/libm-test.inc (MAX_EXP): Define.
13197 (ulp): New function.
13198 (check_float_internal): Use ULPDIFF.
13199 (cpow_test): Disable failing test.
13200 (check_ulp): Test ulp() implemetnation.
13201 (main): Call check_ulp before starting tests.
13203 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13205 * math/gen-libm-test.pl (generate_testfile): Do not handle
13206 START_DATA and END_DATA.
13207 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13209 (acos_tonearest_test_data): Likewise.
13210 (acos_towardzero_test_data): Likewise.
13211 (acos_downward_test_data): Likewise.
13212 (acos_upward_test_data): Likewise.
13213 (acosh_test_data): Likewise.
13214 (asin_test_data): Likewise.
13215 (asin_tonearest_test_data): Likewise.
13216 (asin_towardzero_test_data): Likewise.
13217 (asin_downward_test_data): Likewise.
13218 (asin_upward_test_data): Likewise.
13219 (asinh_test_data): Likewise.
13220 (atan_test_data): Likewise.
13221 (atanh_test_data): Likewise.
13222 (atan2_test_data): Likewise.
13223 (cabs_test_data): Likewise.
13224 (cacos_test_data): Likewise.
13225 (cacosh_test_data): Likewise.
13226 (carg_test_data): Likewise.
13227 (casin_test_data): Likewise.
13228 (casinh_test_data): Likewise.
13229 (catan_test_data): Likewise.
13230 (catanh_test_data): Likewise.
13231 (cbrt_test_data): Likewise.
13232 (ccos_test_data): Likewise.
13233 (ccosh_test_data): Likewise.
13234 (ceil_test_data): Likewise.
13235 (cexp_test_data): Likewise.
13236 (cimag_test_data): Likewise.
13237 (clog_test_data): Likewise.
13238 (clog10_test_data): Likewise.
13239 (conj_test_data): Likewise.
13240 (copysign_test_data): Likewise.
13241 (cos_test_data): Likewise.
13242 (cos_tonearest_test_data): Likewise.
13243 (cos_towardzero_test_data): Likewise.
13244 (cos_downward_test_data): Likewise.
13245 (cos_upward_test_data): Likewise.
13246 (cosh_test_data): Likewise.
13247 (cosh_tonearest_test_data): Likewise.
13248 (cosh_towardzero_test_data): Likewise.
13249 (cosh_downward_test_data): Likewise.
13250 (cosh_upward_test_data): Likewise.
13251 (cpow_test_data): Likewise.
13252 (cproj_test_data): Likewise.
13253 (creal_test_data): Likewise.
13254 (csin_test_data): Likewise.
13255 (csinh_test_data): Likewise.
13256 (csqrt_test_data): Likewise.
13257 (ctan_test_data): Likewise.
13258 (ctan_tonearest_test_data): Likewise.
13259 (ctan_towardzero_test_data): Likewise.
13260 (ctan_downward_test_data): Likewise.
13261 (ctan_upward_test_data): Likewise.
13262 (ctanh_test_data): Likewise.
13263 (ctanh_tonearest_test_data): Likewise.
13264 (ctanh_towardzero_test_data): Likewise.
13265 (ctanh_downward_test_data): Likewise.
13266 (ctanh_upward_test_data): Likewise.
13267 (erf_test_data): Likewise.
13268 (erfc_test_data): Likewise.
13269 (exp_test_data): Likewise.
13270 (exp_tonearest_test_data): Likewise.
13271 (exp_towardzero_test_data): Likewise.
13272 (exp_downward_test_data): Likewise.
13273 (exp_upward_test_data): Likewise.
13274 (exp10_test_data): Likewise.
13275 (exp2_test_data): Likewise.
13276 (expm1_test_data): Likewise.
13277 (fabs_test_data): Likewise.
13278 (fdim_test_data): Likewise.
13279 (finite_test_data): Likewise.
13280 (floor_test_data): Likewise.
13281 (fma_test_data): Likewise.
13282 (fma_towardzero_test_data): Likewise.
13283 (fma_downward_test_data): Likewise.
13284 (fma_upward_test_data): Likewise.
13285 (fmax_test_data): Likewise.
13286 (fmin_test_data): Likewise.
13287 (fmod_test_data): Likewise.
13288 (fpclassify_test_data): Likewise.
13289 (frexp_test_data): Likewise.
13290 (gamma_test_data): Likewise.
13291 (hypot_test_data): Likewise.
13292 (ilogb_test_data): Likewise.
13293 (isfinite_test_data): Likewise.
13294 (isgreater_test_data): Likewise.
13295 (isgreaterequal_test_data): Likewise.
13296 (isinf_test_data): Likewise.
13297 (isless_test_data): Likewise.
13298 (islessequal_test_data): Likewise.
13299 (islessgreater_test_data): Likewise.
13300 (isnan_test_data): Likewise.
13301 (isnormal_test_data): Likewise.
13302 (issignaling_test_data): Likewise.
13303 (isunordered_test_data): Likewise.
13304 (j0_test_data): Likewise.
13305 (j1_test_data): Likewise.
13306 (jn_test_data): Likewise.
13307 (ldexp_test_data): Likewise.
13308 (lgamma_test_data): Likewise.
13309 (lrint_test_data): Likewise.
13310 (lrint_tonearest_test_data): Likewise.
13311 (lrint_towardzero_test_data): Likewise.
13312 (lrint_downward_test_data): Likewise.
13313 (lrint_upward_test_data): Likewise.
13314 (llrint_test_data): Likewise.
13315 (llrint_tonearest_test_data): Likewise.
13316 (llrint_towardzero_test_data): Likewise.
13317 (llrint_downward_test_data): Likewise.
13318 (llrint_upward_test_data): Likewise.
13319 (log_test_data): Likewise.
13320 (log10_test_data): Likewise.
13321 (log1p_test_data): Likewise.
13322 (log2_test_data): Likewise.
13323 (logb_test_data): Likewise.
13324 (logb_downward_test_data): Likewise.
13325 (lround_test_data): Likewise.
13326 (llround_test_data): Likewise.
13327 (modf_test_data): Likewise.
13328 (nearbyint_test_data): Likewise.
13329 (nextafter_test_data): Likewise.
13330 (nexttoward_test_data): Likewise.
13331 (pow_test_data): Likewise.
13332 (pow_tonearest_test_data): Likewise.
13333 (pow_towardzero_test_data): Likewise.
13334 (pow_downward_test_data): Likewise.
13335 (pow_upward_test_data): Likewise.
13336 (remainder_test_data): Likewise.
13337 (remainder_tonearest_test_data): Likewise.
13338 (remainder_towardzero_test_data): Likewise.
13339 (remainder_downward_test_data): Likewise.
13340 (remainder_upward_test_data): Likewise.
13341 (remquo_test_data): Likewise.
13342 (rint_test_data): Likewise.
13343 (rint_tonearest_test_data): Likewise.
13344 (rint_towardzero_test_data): Likewise.
13345 (rint_downward_test_data): Likewise.
13346 (rint_upward_test_data): Likewise.
13347 (round_test_data): Likewise.
13348 (scalb_test_data): Likewise.
13349 (scalbn_test_data): Likewise.
13350 (scalbln_test_data): Likewise.
13351 (signbit_test_data): Likewise.
13352 (sin_test_data): Likewise.
13353 (sin_tonearest_test_data): Likewise.
13354 (sin_towardzero_test_data): Likewise.
13355 (sin_downward_test_data): Likewise.
13356 (sin_upward_test_data): Likewise.
13357 (sincos_test_data): Likewise.
13358 (sinh_test_data): Likewise.
13359 (sinh_tonearest_test_data): Likewise.
13360 (sinh_towardzero_test_data): Likewise.
13361 (sinh_downward_test_data): Likewise.
13362 (sinh_upward_test_data): Likewise.
13363 (sqrt_test_data): Likewise.
13364 (tan_test_data): Likewise.
13365 (tan_tonearest_test_data): Likewise.
13366 (tan_towardzero_test_data): Likewise.
13367 (tan_downward_test_data): Likewise.
13368 (tan_upward_test_data): Likewise.
13369 (tanh_test_data): Likewise.
13370 (tgamma_test_data): Likewise.
13371 (trunc_test_data): Likewise.
13372 (y0_test_data): Likewise.
13373 (y1_test_data): Likewise.
13374 (yn_test_data): Likewise.
13375 (significand_test_data): Likewise.
13377 * math/gen-libm-test.pl (@functions): Remove variable.
13378 (generate_testfile): Don't handle START and END lines.
13379 * math/libm-test.inc (START): New macro.
13381 (END_COMPLEX): Likewise.
13382 (acos_test): Use END macro without arguments.
13383 (acos_test_tonearest): Likewise.
13384 (acos_test_towardzero): Likewise.
13385 (acos_test_downward): Likewise.
13386 (acos_test_upward): Likewise.
13387 (acosh_test): Likewise.
13388 (asin_test): Likewise.
13389 (asin_test_tonearest): Likewise.
13390 (asin_test_towardzero): Likewise.
13391 (asin_test_downward): Likewise.
13392 (asin_test_upward): Likewise.
13393 (asinh_test): Likewise.
13394 (atan_test): Likewise.
13395 (atanh_test): Likewise.
13396 (atan2_test): Likewise.
13397 (cabs_test): Likewise.
13398 (cacos_test): Use END_COMPLEX macro without arguments.
13399 (cacosh_test): Likewise.
13400 (carg_test): Use END macro without arguments.
13401 (casin_test): Use END_COMPLEX macro without arguments.
13402 (casinh_test): Likewise.
13403 (catan_test): Likewise.
13404 (catanh_test): Likewise.
13405 (cbrt_test): Use END macro without arguments.
13406 (ccos_test): Use END_COMPLEX macro without arguments.
13407 (ccosh_test): Likewise.
13408 (ceil_test): Use END macro without arguments.
13409 (cexp_test): Use END_COMPLEX macro without arguments.
13410 (cimag_test): Use END macro without arguments.
13411 (clog_test): Use END_COMPLEX macro without arguments.
13412 (clog10_test): Likewise.
13413 (conj_test): Likewise.
13414 (copysign_test): Use END macro without arguments.
13415 (cos_test): Likewise.
13416 (cos_test_tonearest): Likewise.
13417 (cos_test_towardzero): Likewise.
13418 (cos_test_downward): Likewise.
13419 (cos_test_upward): Likewise.
13420 (cosh_test): Likewise.
13421 (cosh_test_tonearest): Likewise.
13422 (cosh_test_towardzero): Likewise.
13423 (cosh_test_downward): Likewise.
13424 (cosh_test_upward): Likewise.
13425 (cpow_test): Use END_COMPLEX macro without arguments.
13426 (cproj_test): Likewise.
13427 (creal_test): Use END macro without arguments.
13428 (csin_test): Use END_COMPLEX macro without arguments.
13429 (csinh_test): Likewise.
13430 (csqrt_test): Likewise.
13431 (ctan_test): Likewise.
13432 (ctan_test_tonearest): Likewise.
13433 (ctan_test_towardzero): Likewise.
13434 (ctan_test_downward): Likewise.
13435 (ctan_test_upward): Likewise.
13436 (ctanh_test): Likewise.
13437 (ctanh_test_tonearest): Likewise.
13438 (ctanh_test_towardzero): Likewise.
13439 (ctanh_test_downward): Likewise.
13440 (ctanh_test_upward): Likewise.
13441 (erf_test): Use END macro without arguments.
13442 (erfc_test): Likewise.
13443 (exp_test): Likewise.
13444 (exp_test_tonearest): Likewise.
13445 (exp_test_towardzero): Likewise.
13446 (exp_test_downward): Likewise.
13447 (exp_test_upward): Likewise.
13448 (exp10_test): Likewise.
13449 (exp2_test): Likewise.
13450 (expm1_test): Likewise.
13451 (fabs_test): Likewise.
13452 (fdim_test): Likewise.
13453 (finite_test): Likewise.
13454 (floor_test): Likewise.
13455 (fma_test): Likewise.
13456 (fma_test_towardzero): Likewise.
13457 (fma_test_downward): Likewise.
13458 (fma_test_upward): Likewise.
13459 (fmax_test): Likewise.
13460 (fmin_test): Likewise.
13461 (fmod_test): Likewise.
13462 (fpclassify_test): Likewise.
13463 (frexp_test): Likewise.
13464 (gamma_test): Likewise.
13465 (hypot_test): Likewise.
13466 (ilogb_test): Likewise.
13467 (isfinite_test): Likewise.
13468 (isgreater_test): Likewise.
13469 (isgreaterequal_test): Likewise.
13470 (isinf_test): Likewise.
13471 (isless_test): Likewise.
13472 (islessequal_test): Likewise.
13473 (islessgreater_test): Likewise.
13474 (isnan_test): Likewise.
13475 (isnormal_test): Likewise.
13476 (issignaling_test): Likewise.
13477 (isunordered_test): Likewise.
13478 (j0_test): Likewise.
13479 (j1_test): Likewise.
13480 (jn_test): Likewise.
13481 (ldexp_test): Likewise.
13482 (lgamma_test): Likewise.
13483 (lrint_test): Likewise.
13484 (lrint_test_tonearest): Likewise.
13485 (lrint_test_towardzero): Likewise.
13486 (lrint_test_downward): Likewise.
13487 (lrint_test_upward): Likewise.
13488 (llrint_test): Likewise.
13489 (llrint_test_tonearest): Likewise.
13490 (llrint_test_towardzero): Likewise.
13491 (llrint_test_downward): Likewise.
13492 (llrint_test_upward): Likewise.
13493 (log_test): Likewise.
13494 (log10_test): Likewise.
13495 (log1p_test): Likewise.
13496 (log2_test): Likewise.
13497 (logb_test): Likewise.
13498 (logb_test_downward): Likewise.
13499 (lround_test): Likewise.
13500 (llround_test): Likewise.
13501 (modf_test): Likewise.
13502 (nearbyint_test): Likewise.
13503 (nextafter_test): Likewise.
13504 (nexttoward_test): Likewise.
13505 (pow_test): Likewise.
13506 (pow_test_tonearest): Likewise.
13507 (pow_test_towardzero): Likewise.
13508 (pow_test_downward): Likewise.
13509 (pow_test_upward): Likewise.
13510 (remainder_test): Likewise.
13511 (remainder_test_tonearest): Likewise.
13512 (remainder_test_towardzero): Likewise.
13513 (remainder_test_downward): Likewise.
13514 (remainder_test_upward): Likewise.
13515 (remquo_test): Likewise.
13516 (rint_test): Likewise.
13517 (rint_test_tonearest): Likewise.
13518 (rint_test_towardzero): Likewise.
13519 (rint_test_downward): Likewise.
13520 (rint_test_upward): Likewise.
13521 (round_test): Likewise.
13522 (scalb_test): Likewise.
13523 (scalbn_test): Likewise.
13524 (scalbln_test): Likewise.
13525 (signbit_test): Likewise.
13526 (sin_test): Likewise.
13527 (sin_test_tonearest): Likewise.
13528 (sin_test_towardzero): Likewise.
13529 (sin_test_downward): Likewise.
13530 (sin_test_upward): Likewise.
13531 (sincos_test): Likewise.
13532 (sinh_test): Likewise.
13533 (sinh_test_tonearest): Likewise.
13534 (sinh_test_towardzero): Likewise.
13535 (sinh_test_downward): Likewise.
13536 (sinh_test_upward): Likewise.
13537 (sqrt_test): Likewise.
13538 (tan_test): Likewise.
13539 (tan_test_tonearest): Likewise.
13540 (tan_test_towardzero): Likewise.
13541 (tan_test_downward): Likewise.
13542 (tan_test_upward): Likewise.
13543 (tanh_test): Likewise.
13544 (tgamma_test): Likewise.
13545 (trunc_test): Likewise.
13546 (y0_test): Likewise.
13547 (y1_test): Likewise.
13548 (yn_test): Likewise.
13549 (significand_test): Likewise.
13551 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13554 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13556 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13559 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13560 __ppc_mdoio and __ppc_mdoom.
13561 * manual/platform.texi: Document new functions __ppc_yield,
13562 __ppc_mdoio and __ppc_mdoom.
13564 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13566 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13567 (main): Mention "tls" pseudo-hwcap is legacy.
13568 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13570 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13572 * math/gen-libm-test.pl (parse_args): Output only string of
13573 arguments as text for test name, not full call or descriptions of
13574 tests for extra outputs.
13575 (generate_testfile): Do not pass function name to parse_args.
13576 Generate this_func variable from START.
13577 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13579 (struct test_ff_f_data): Likewise.
13580 (test_ff_f_data_nexttoward): Likewise.
13581 (struct test_fi_f_data): Likewise.
13582 (struct test_fl_f_data): Likewise.
13583 (struct test_if_f_data): Likewise.
13584 (struct test_fff_f_data): Likewise.
13585 (struct test_c_f_data): Likewise.
13586 (struct test_f_f1_data): Likewise. Remove field extra_name.
13587 (struct test_fF_f1_data): Likewise.
13588 (struct test_ffI_f1_data): Likewise.
13589 (struct test_c_c_data): Rename test_name field to arg_str.
13590 (struct test_cc_c_data): Likewise.
13591 (struct test_f_i_data): Likewise.
13592 (struct test_ff_i_data): Likewise.
13593 (struct test_f_l_data): Likewise.
13594 (struct test_f_L_data): Likewise.
13595 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13597 (COMMON_TEST_SETUP): New macro.
13598 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13599 (COMMON_TEST_CLEANUP): Likewise.
13600 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13601 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13603 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13604 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13606 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13607 (RUN_TEST_fff_f): Take argument string. Call new setup and
13609 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13610 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13612 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13613 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13615 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13616 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13618 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13619 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13621 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13622 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13624 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13625 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13627 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13628 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13630 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13631 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13633 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13634 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13636 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13637 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13639 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13640 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13642 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13643 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13645 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13646 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13648 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13649 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13651 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13652 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13654 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13656 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13658 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13659 to _sifields.sigfault.
13660 (si_addr_lsb): Define new macro.
13661 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13662 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13663 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13665 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13668 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13670 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13672 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13673 loading the domain.
13675 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13677 * math/gen-libm-test.pl (parse_args): Do not include expected
13678 result in test name.
13679 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13680 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13681 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13682 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13683 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13686 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13688 * benchtests/Makefile: Sort function entries.
13690 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13691 tanh, asinh, acosh, atanh.
13692 * benchtests/acos-inputs: New file.
13693 * benchtests/acosh-inputs: New file.
13694 * benchtests/asin-inputs: New file.
13695 * benchtests/asinh-inputs: New file.
13696 * benchtests/atanh-inputs: New file.
13697 * benchtests/cosh-inputs: New file.
13698 * benchtests/log-inputs: New file.
13699 * benchtests/sinh-inputs: New file.
13700 * benchtests/tanh-inputs: New file.
13702 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13705 * posix/tst-getaddrinfo4.c: New test.
13706 * posix/Makefile (tests): Add it.
13708 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13711 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13712 when no services were used.
13713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13714 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13716 2013-05-21 Andreas Schwab <schwab@suse.de>
13719 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13720 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13722 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13723 redundant variable declarations and reallocation of buffer when
13724 parsing as IPv6 address. Always set NSS status when called from
13725 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13726 buffer too small. Correct computation of needed size.
13727 * nss/Makefile (tests): Add test-digits-dots.
13728 * nss/test-digits-dots.c: New test.
13730 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13732 * benchtests/Makefile: Remove instructions for adding
13734 * benchtests/README: New file to explain how to execute and
13735 enhance the benchmark tests.
13737 2013-05-21 Andreas Schwab <schwab@suse.de>
13740 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13741 * setjmp/tst-sigsetjmp.c: New test.
13743 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13745 * sysdeps/x86_64/memset.S (memset): New implementation.
13746 (__bzero): Likewise.
13747 (__memset_tail): New function.
13749 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13751 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13752 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13753 __memcpy_sse2_unaligned ifunc selection.
13754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13755 Add memcpy-sse2-unaligned.S.
13756 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13757 Add: __memcpy_sse2_unaligned.
13759 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13762 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13763 math_force_eval before restoring floating-point envrionment.
13764 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13765 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13767 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13769 (__nearbyintl): Use math_force_eval before restoring
13770 floating-point environment.
13771 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13773 * math/gen-libm-test.pl (special_functions): Remove.
13774 (parse_args): Don't handle TEST_extra. Handle functions with no
13776 * math/libm-test.inc (struct test_sincos_data): Replace with
13777 struct test_fFF_11_data.
13778 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13779 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13780 (sincos_test_data): Change element type to struct
13781 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13782 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13783 RUN_TEST_LOOP_sincos.
13784 * math/README.libm-test: Don't mention special handling of
13785 individual functions.
13786 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13787 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13788 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13789 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13790 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13793 * math/gen-libm-test.pl (get_variable): Remove function.
13794 (parse_args): Don't show pointer parameters to call in test
13795 names. Use "extra output N" in test names for extra outputs
13796 rather than naming variables.
13798 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13801 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13802 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13803 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13805 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13807 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13810 * math/gen-libm-test.pl (@tests): Remove variable.
13811 ($count): Likewise.
13812 (new_test): Remove function.
13813 (show_exceptions): New function.
13814 (special_functions): Use show_exceptions instead of new_test.
13815 (parse_args): Likewise.
13816 (generate_testfile): Pass only function name in generated call to
13817 print_max_error or print_complex_max_error.
13818 (get_ulps): Do not handle complex tests specially.
13819 (output_test): Rename to ...
13820 (get_all_ulps_for_test): ... this. Return a string rather than
13821 printing to a file. Require ulps to be present.
13822 (output_ulps): Generate arrays rather than #defines.
13823 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13824 (struct ulp_data): New type.
13825 (BUILD_COMPLEX_ULP): Remove macro.
13826 (compare_ulp_data): New function.
13827 (find_ulps): Likewise.
13828 (find_test_ulps): Likewise.
13829 (find_function_ulps): Likewise.
13830 (find_complex_function_ulps): Likewise.
13831 (print_max_error): Determine allowed ulps using
13832 find_function_ulps.
13833 (print_complex_max_error): Determine allowed ulps using
13834 find_complex_function_ulps.
13835 (check_float_internal): Determine max ulps using find_test_ulps.
13836 (check_float): Do not take max_ulp parameter. Update call to
13837 check_float_internal.
13838 (check_complex): Likewise.
13839 (check_int): Do not take max_ulp parameter.
13840 (check_long): Likewise.
13841 (check_bool): Likewise.
13842 (check_longlong): Likewise.
13843 (struct test_f_f_data): Remove max_ulp field.
13844 (struct test_ff_f_data): Likewise.
13845 (struct test_ff_f_data_nexttoward): Likewise.
13846 (struct test_fi_f_data): Likewise.
13847 (struct test_fl_f_data): Likewise.
13848 (struct test_if_f_data): Likewise.
13849 (struct test_fff_f_data): Likewise.
13850 (struct test_c_f_data): Likewise.
13851 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13852 (struct test_fF_f1_data): Likewise.
13853 (struct test_ffI_f1_data): Likewise.
13854 (struct test_c_c_data): Remove max_ulp field.
13855 (struct test_cc_c_data): Likewise.
13856 (struct test_f_i_data): Likewise.
13857 (struct test_ff_i_data): Likewise.
13858 (struct test_f_l_data): Likewise.
13859 (struct test_f_L_data): Likewise.
13860 (struct test_sincos_data): Likewise.
13861 (RUN_TEST_f_f): Do not handle ulps.
13862 (RUN_TEST_LOOP_f_f): Likewise.
13863 (RUN_TEST_2_f): Likewise.
13864 (RUN_TEST_LOOP_2_f): Likewise.
13865 (RUN_TEST_fff_f): Likewise.
13866 (RUN_TEST_LOOP_fff_f): Likewise.
13867 (RUN_TEST_c_f): Likewise.
13868 (RUN_TEST_LOOP_c_f): Likewise.
13869 (RUN_TEST_f_f1): Likewise.
13870 (RUN_TEST_LOOP_f_f1): Likewise.
13871 (RUN_TEST_fF_f1): Likewise.
13872 (RUN_TEST_LOOP_fF_f1): Likewise.
13873 (RUN_TEST_fI_f1): Likewise.
13874 (RUN_TEST_LOOP_fI_f1): Likewise.
13875 (RUN_TEST_ffI_f1): Likewise.
13876 (RUN_TEST_LOOP_ffI_f1): Likewise.
13877 (RUN_TEST_c_c): Likewise.
13878 (RUN_TEST_LOOP_c_c): Likewise.
13879 (RUN_TEST_cc_c): Likewise.
13880 (RUN_TEST_LOOP_cc_c): Likewise.
13881 (RUN_TEST_f_i): Likewise.
13882 (RUN_TEST_LOOP_f_i): Likewise.
13883 (RUN_TEST_f_i_tg): Likewise.
13884 (RUN_TEST_LOOP_f_i_tg): Likewise.
13885 (RUN_TEST_ff_i_tg): Likewise.
13886 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13887 (RUN_TEST_f_b): Likewise.
13888 (RUN_TEST_LOOP_f_b): Likewise.
13889 (RUN_TEST_f_b_tg): Likewise.
13890 (RUN_TEST_LOOP_f_b_tg): Likewise.
13891 (RUN_TEST_f_l): Likewise.
13892 (RUN_TEST_LOOP_f_l): Likewise.
13893 (RUN_TEST_f_L): Likewise.
13894 (RUN_TEST_LOOP_f_L): Likewise.
13895 (RUN_TEST_sincos): Likewise.
13896 (RUN_TEST_LOOP_sincos): Likewise.
13898 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13902 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13903 main case of finite arguments, set rounding mode to FE_TONEAREST
13904 and discard exceptions.
13905 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13907 (remainder_tonearest_test_data): New variable.
13908 (remainder_test_tonearest): New function.
13909 (remainder_towardzero_test_data): New variable.
13910 (remainder_test_towardzero): New function.
13911 (remainder_downward_test_data): New variable.
13912 (remainder_test_downward): New function.
13913 (remainder_upward_test_data): New variable.
13914 (remainder_test_upward): New function.
13915 (main): Call the new test functions.
13917 * math/libm-test.inc (struct test_f_f1_data): Remove field
13919 (struct test_fF_f1_data): Likewise.
13920 (struct test_ffI_f1_data): Likewise.
13921 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13922 based on value of EXTRA_EXPECTED.
13923 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13924 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13925 EXTRA_VAR based on value of EXTRA_EXPECTED.
13926 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13927 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13928 EXTRA_VAR based on value of EXTRA_EXPECTED.
13929 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13930 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13931 EXTRA_VAR based on value of EXTRA_EXPECTED.
13932 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13933 * math/gen-libm-test.pl (parse_args): Don't output initializers
13934 for extra output values.
13936 * math/libm-test.inc (check_int): Expect result to be exactly
13937 equal to expected value and do not handle ulps.
13938 (check_long): Likewise.
13939 (check_longlong): Likewise.
13941 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13943 (cimag_test_data): Likewise.
13944 (conj_test_data): Likewise.
13945 (copysign_test_data): Likewise.
13946 (cproj_test_data): Likewise.
13947 (creal_test_data): Likewise.
13948 (fabs_test_data): Likewise.
13949 (fdim_test_data): Likewise.
13950 (finite_test_data): Likewise.
13951 (floor_test_data): Likewise.
13952 (fmax_test_data): Likewise.
13953 (fmin_test_data): Likewise.
13954 (fmod_test_data): Likewise.
13955 (fpclassify_test_data): Likewise.
13956 (frexp_test_data): Likewise.
13957 (ilogb_test_data): Likewise.
13958 (isfinite_test_data): Likewise.
13959 (isgreater_test_data): Likewise.
13960 (isgreaterequal_test_data): Likewise.
13961 (isinf_test_data): Likewise.
13962 (isless_test_data): Likewise.
13963 (islessequal_test_data): Likewise.
13964 (islessgreater_test_data): Likewise.
13965 (isnan_test_data): Likewise.
13966 (isnormal_test_data): Likewise.
13967 (issignaling_test_data): Likewise.
13968 (isunordered_test_data): Likewise.
13969 (ldexp_test_data): Likewise.
13970 (lrint_test_data): Likewise.
13971 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13972 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13973 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13974 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13975 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13976 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13978 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13979 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13980 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13981 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13983 (lrint_downward_test_data): Test for "inexact" exceptions.
13984 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13985 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13986 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13988 (lrint_upward_test_data): Test for "inexact" exceptions.
13989 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13991 (llrint_test_data): Test for "inexact" exceptions.
13992 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13993 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13994 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13995 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13996 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13997 (llrint_downward_test_data): Test for "inexact" exceptions.
13998 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13999 (llrint_upward_test_data): Test for "inexact" exceptions.
14000 (logb_test_data): Likewise.
14001 (logb_downward_test_data): Likewise.
14002 (nextafter_test_data): Likewise.
14003 (nexttoward_test_data): Likewise.
14004 (remainder_test_data): Likewise.
14005 (remquo_test_data): Likewise.
14006 (scalbn_test_data): Likewise.
14007 (scalbln_test_data): Likewise.
14008 (signbit_test_data): Likewise.
14009 (sqrt_test_data): Likewise.
14010 (significand_test_data): Likewise.
14012 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14015 * benchtests/bench-modf.c (struct args): Mark arg0 as
14017 * scripts/bench.pl: Mark members of struct args as volatile.
14019 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14022 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14023 negative infinity on POWER6 or lower.
14024 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14026 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14029 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14030 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14031 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14032 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14033 (_FP_SETQNAN): New macro.
14034 (_FP_SETQNAN_SEMIRAW): Likewise.
14035 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14036 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14037 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14038 (FP_EXTEND): Use _FP_FRAC_SNANP.
14039 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14040 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14042 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14044 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14047 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14049 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14050 with DIVIDE_BY_ZERO_EXCEPTION.
14051 (gamma_test_data): Likewise.
14052 (lgamma_test_data): Likewise.
14053 (log_test_data): Likewise.
14054 (log10_test_data): Likewise.
14055 (log2_test_data): Likewise.
14056 (tgamma_test_data): Likewise.
14058 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14059 (acos_test_tonearest): Likewise.
14060 (acos_test_towardzero): Likewise.
14061 (acos_test_downward): Likewise.
14062 (acos_test_upward): Likewise.
14063 (acosh_test): Likewise.
14064 (asin_test): Likewise.
14065 (asin_test_tonearest): Likewise.
14066 (asin_test_towardzero): Likewise.
14067 (asin_test_downward): Likewise.
14068 (asin_test_upward): Likewise.
14069 (asinh_test): Likewise.
14070 (atan_test): Likewise.
14071 (atanh_test): Likewise.
14072 (atan2_test): Likewise.
14073 (cabs_test): Likewise.
14074 (cacos_test): Likewise.
14075 (cacosh_test): Likewise.
14076 (casin_test): Likewise.
14077 (casinh_test): Likewise.
14078 (catan_test): Likewise.
14079 (catanh_test): Likewise.
14080 (cbrt_test): Likewise.
14081 (ccos_test): Likewise.
14082 (ccosh_test): Likewise.
14083 (cexp_test): Likewise.
14084 (clog_test): Likewise.
14085 (clog10_test): Likewise.
14086 (cos_test): Likewise.
14087 (cos_test_tonearest): Likewise.
14088 (cos_test_towardzero): Likewise.
14089 (cos_test_downward): Likewise.
14090 (cos_test_upward): Likewise.
14091 (cosh_test): Likewise.
14092 (cosh_test_tonearest): Likewise.
14093 (cosh_test_towardzero): Likewise.
14094 (cosh_test_downward): Likewise.
14095 (cosh_test_upward): Likewise.
14096 (cpow_test): Likewise.
14097 (csin_test): Likewise.
14098 (csinh_test): Likewise.
14099 (csqrt_test): Likewise.
14100 (ctan_test): Likewise.
14101 (ctan_test_tonearest): Likewise.
14102 (ctan_test_towardzero): Likewise.
14103 (ctan_test_downward): Likewise.
14104 (ctan_test_upward): Likewise.
14105 (ctanh_test): Likewise.
14106 (ctanh_test_tonearest): Likewise.
14107 (ctanh_test_towardzero): Likewise.
14108 (ctanh_test_downward): Likewise.
14109 (ctanh_test_upward): Likewise.
14110 (erf_test): Likewise.
14111 (erfc_test): Likewise.
14112 (exp_test): Likewise.
14113 (exp_test_tonearest): Likewise.
14114 (exp_test_towardzero): Likewise.
14115 (exp_test_downward): Likewise.
14116 (exp_test_upward): Likewise.
14117 (exp10_test): Likewise.
14118 (exp2_test): Likewise.
14119 (expm1_test): Likewise.
14120 (fmod_test): Likewise.
14121 (gamma_test): Likewise.
14122 (hypot_test): Likewise.
14123 (j0_test): Likewise.
14124 (j1_test): Likewise.
14125 (jn_test): Likewise.
14126 (lgamma_test): Likewise.
14127 (log_test): Likewise.
14128 (log10_test): Likewise.
14129 (log1p_test): Likewise.
14130 (log2_test): Likewise.
14131 (logb_test_downward): Likewise.
14132 (pow_test): Likewise.
14133 (pow_test_tonearest): Likewise.
14134 (pow_test_towardzero): Likewise.
14135 (pow_test_downward): Likewise.
14136 (pow_test_upward): Likewise.
14137 (remainder_test): Likewise.
14138 (remquo_test): Likewise.
14139 (sin_test): Likewise.
14140 (sin_test_tonearest): Likewise.
14141 (sin_test_towardzero): Likewise.
14142 (sin_test_downward): Likewise.
14143 (sin_test_upward): Likewise.
14144 (sincos_test): Likewise.
14145 (sinh_test): Likewise.
14146 (sinh_test_tonearest): Likewise.
14147 (sinh_test_towardzero): Likewise.
14148 (sinh_test_downward): Likewise.
14149 (sinh_test_upward): Likewise.
14150 (sqrt_test): Likewise.
14151 (tan_test): Likewise.
14152 (tan_test_tonearest): Likewise.
14153 (tan_test_towardzero): Likewise.
14154 (tan_test_downward): Likewise.
14155 (tan_test_upward): Likewise.
14156 (tanh_test): Likewise.
14157 (tgamma_test): Likewise.
14158 (y0_test): Likewise.
14159 (y1_test): Likewise.
14160 (yn_test): Likewise.
14162 * math/gen-libm-test.pl (adjust_arg): Remove function.
14163 (special_function): Remove argument $in_func. Only handle
14164 generating output for tables of tests, not inside functions.
14165 (parse_args): Likewise.
14166 (generate_testfile): Remove variable $in_func. Update call to
14168 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14169 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14170 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14171 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14172 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14173 (MAX_VALUE_INIT): Rename macro to max_value.
14174 (MIN_VALUE_INIT): Rename macro to min_value.
14175 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14176 (plus_zero): Remove variable.
14177 (minus_zero): Likewise.
14178 (plus_infty): Likewise.
14179 (minus_infty): Likewise.
14180 (qnan_value): Likewise.
14181 (max_value): Likewise.
14182 (min_value): Likewise.
14183 (min_subnorm_value): Likewise.
14185 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14187 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14188 uint64_t or uint32_t usage.
14189 * crypt/sha256-block.c: Likewise.
14190 * crypt/sha256-crypt.c: Likewise.
14191 * crypt/sha256.c: Likewise.
14192 * crypt/sha512-block.c: Likewise.
14193 * crypt/sha512-crypt.c: Likewise.
14194 * crypt/sha512.c: Likewise.
14195 * debug/backtrace-tst.c: Likewise.
14196 * debug/pcprofiledump.c: Likewise.
14197 * elf/cache.c: Likewise.
14198 * elf/dl-cache.c: Likewise.
14199 * elf/dl-misc.c: Likewise.
14200 * elf/dl-profile.c: Likewise.
14201 * elf/dl-support.c: Likewise.
14202 * elf/ldconfig.c: Likewise.
14203 * elf/sprof.c: Likewise.
14204 * iconv/dummy-repertoire.c: Likewise.
14205 * iconv/iconv_charmap.c: Likewise.
14206 * iconv/skeleton.c: Likewise.
14207 * iconvdata/8bit-generic.c: Likewise.
14208 * iconvdata/cp737.h: Likewise.
14209 * iconvdata/cp775.h: Likewise.
14210 * iconvdata/ibm1008.h: Likewise.
14211 * iconvdata/ibm1025.h: Likewise.
14212 * iconvdata/ibm1046.h: Likewise.
14213 * iconvdata/ibm1097.h: Likewise.
14214 * iconvdata/ibm1112.h: Likewise.
14215 * iconvdata/ibm1122.h: Likewise.
14216 * iconvdata/ibm1123.h: Likewise.
14217 * iconvdata/ibm1124.h: Likewise.
14218 * iconvdata/ibm1129.h: Likewise.
14219 * iconvdata/ibm1130.h: Likewise.
14220 * iconvdata/ibm1132.h: Likewise.
14221 * iconvdata/ibm1133.h: Likewise.
14222 * iconvdata/ibm1137.h: Likewise.
14223 * iconvdata/ibm1140.h: Likewise.
14224 * iconvdata/ibm1141.h: Likewise.
14225 * iconvdata/ibm1142.h: Likewise.
14226 * iconvdata/ibm1143.h: Likewise.
14227 * iconvdata/ibm1144.h: Likewise.
14228 * iconvdata/ibm1145.h: Likewise.
14229 * iconvdata/ibm1146.h: Likewise.
14230 * iconvdata/ibm1147.h: Likewise.
14231 * iconvdata/ibm1148.h: Likewise.
14232 * iconvdata/ibm1149.h: Likewise.
14233 * iconvdata/ibm1153.h: Likewise.
14234 * iconvdata/ibm1154.h: Likewise.
14235 * iconvdata/ibm1155.h: Likewise.
14236 * iconvdata/ibm1156.h: Likewise.
14237 * iconvdata/ibm1157.h: Likewise.
14238 * iconvdata/ibm1158.h: Likewise.
14239 * iconvdata/ibm1160.h: Likewise.
14240 * iconvdata/ibm1161.h: Likewise.
14241 * iconvdata/ibm1162.h: Likewise.
14242 * iconvdata/ibm1163.h: Likewise.
14243 * iconvdata/ibm1164.h: Likewise.
14244 * iconvdata/ibm1166.h: Likewise.
14245 * iconvdata/ibm1167.h: Likewise.
14246 * iconvdata/ibm12712.h: Likewise.
14247 * iconvdata/ibm1390.h: Likewise.
14248 * iconvdata/ibm1399.h: Likewise.
14249 * iconvdata/ibm16804.h: Likewise.
14250 * iconvdata/ibm4517.h: Likewise.
14251 * iconvdata/ibm4899.h: Likewise.
14252 * iconvdata/ibm4909.h: Likewise.
14253 * iconvdata/ibm4971.h: Likewise.
14254 * iconvdata/ibm5347.h: Likewise.
14255 * iconvdata/ibm803.h: Likewise.
14256 * iconvdata/ibm856.h: Likewise.
14257 * iconvdata/ibm901.h: Likewise.
14258 * iconvdata/ibm902.h: Likewise.
14259 * iconvdata/ibm9030.h: Likewise.
14260 * iconvdata/ibm9066.h: Likewise.
14261 * iconvdata/ibm921.h: Likewise.
14262 * iconvdata/ibm922.h: Likewise.
14263 * iconvdata/ibm9448.h: Likewise.
14264 * iconvdata/isiri-3342.h: Likewise.
14265 * iconvdata/jis0201.h: Likewise.
14266 * include/link.h: Likewise.
14267 * include/netdb.h: Likewise.
14268 * inet/check_native.c: Likewise.
14269 * inet/check_pf.c: Likewise.
14270 * inet/getipv4sourcefilter.c: Likewise.
14271 * inet/getnameinfo.c: Likewise.
14272 * inet/getsourcefilter.c: Likewise.
14273 * inet/htonl.c: Likewise.
14274 * inet/setipv4sourcefilter.c: Likewise.
14275 * inet/setsourcefilter.c: Likewise.
14276 * inet/test-inet6_opt.c: Likewise.
14277 * inet/tst-network.c: Likewise.
14278 * locale/C-collate.c: Likewise.
14279 * locale/C-ctype.c: Likewise.
14280 * locale/C-time.c: Likewise.
14281 * locale/C-translit.h: Likewise.
14282 * locale/loadarchive.c: Likewise.
14283 * locale/programs/3level.h: Likewise.
14284 * locale/programs/charmap.c: Likewise.
14285 * locale/programs/charmap.h: Likewise.
14286 * locale/programs/ld-address.c: Likewise.
14287 * locale/programs/ld-collate.c: Likewise.
14288 * locale/programs/ld-ctype.c: Likewise.
14289 * locale/programs/ld-identification.c: Likewise.
14290 * locale/programs/ld-measurement.c: Likewise.
14291 * locale/programs/ld-messages.c: Likewise.
14292 * locale/programs/ld-monetary.c: Likewise.
14293 * locale/programs/ld-name.c: Likewise.
14294 * locale/programs/ld-numeric.c: Likewise.
14295 * locale/programs/ld-paper.c: Likewise.
14296 * locale/programs/ld-telephone.c: Likewise.
14297 * locale/programs/ld-time.c: Likewise.
14298 * locale/programs/linereader.c: Likewise.
14299 * locale/programs/locale.c: Likewise.
14300 * locale/programs/locarchive.c: Likewise.
14301 * locale/programs/locfile.h: Likewise.
14302 * locale/programs/repertoire.c: Likewise.
14303 * locale/programs/simple-hash.c: Likewise.
14304 * locale/programs/simple-hash.h: Likewise.
14305 * malloc/memusage.c: Likewise.
14306 * malloc/memusagestat.c: Likewise.
14307 * nis/nis_defaults.c: Likewise.
14308 * nis/nis_hash.c: Likewise.
14309 * nis/nis_print.c: Likewise.
14310 * nis/nis_xdr.c: Likewise.
14311 * nscd/connections.c: Likewise.
14312 * nscd/hstcache.c: Likewise.
14313 * nscd/nscd_gethst_r.c: Likewise.
14314 * nscd/nscd_getserv_r.c: Likewise.
14315 * nscd/nscd_helper.c: Likewise.
14316 * nscd/servicescache.c: Likewise.
14317 * nss/makedb.c: Likewise.
14318 * nss/nss_db/db-XXX.c: Likewise.
14319 * nss/nss_db/db-initgroups.c: Likewise.
14320 * nss/nss_db/db-netgrp.c: Likewise.
14321 * nss/nss_files/files-network.c: Likewise.
14322 * nss/nss_files/files-parse.c: Likewise.
14323 * posix/bug-regex5.c: Likewise.
14324 * posix/fnmatch_loop.c: Likewise.
14325 * posix/regcomp.c: Likewise.
14326 * posix/regexec.c: Likewise.
14327 * posix/tst-rfc3484-2.c: Likewise.
14328 * posix/tst-rfc3484-3.c: Likewise.
14329 * posix/tst-rfc3484.c: Likewise.
14330 * resolv/nss_dns/dns-canon.c: Likewise.
14331 * resolv/nss_dns/dns-network.c: Likewise.
14332 * resolv/res_init.c: Likewise.
14333 * resolv/res_mkquery.c: Likewise.
14334 * resolv/tst-aton.c: Likewise.
14335 * stdlib/cxa_atexit.c: Likewise.
14336 * stdlib/cxa_finalize.c: Likewise.
14337 * stdlib/gen-fpioconst.c: Likewise.
14338 * stdlib/strtol_l.c: Likewise.
14339 * string/tst-endian.c: Likewise.
14340 * sunrpc/auth_des.c: Likewise.
14341 * sunrpc/clnt_udp.c: Likewise.
14342 * sunrpc/rtime.c: Likewise.
14343 * sunrpc/svcauth_des.c: Likewise.
14344 * sunrpc/xdr.c: Likewise.
14345 * sunrpc/xdr_intXX_t.c: Likewise.
14346 * sunrpc/xdr_rec.c: Likewise.
14347 * sysdeps/generic/ldconfig.h: Likewise.
14348 * sysdeps/generic/ldsodefs.h: Likewise.
14349 * sysdeps/generic/memusage.h: Likewise.
14350 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14351 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14352 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14353 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14354 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14355 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14356 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14357 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14358 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14359 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14360 * sysdeps/posix/getaddrinfo.c: Likewise.
14361 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14362 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14363 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14364 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14365 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14366 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14367 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14368 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14369 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14370 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14371 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14372 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14373 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14374 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14375 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14376 * sysdeps/x86_64/dl-tls.h: Likewise.
14377 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14378 * time/alt_digit.c: Likewise.
14379 * time/era.c: Likewise.
14380 * wcsmbs/tst-c16c32-1.c: Likewise.
14382 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14384 * math/libm-test.inc (struct test_sincos_data): New type.
14385 (RUN_TEST_LOOP_sincos): New macro.
14386 (sincos_test_data): New variable.
14387 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14389 2013-05-16 Richard Henderson <rth@redhat.com>
14391 * math/atest-exp2.c (LIMB64): New macro.
14392 (CONSTSZ): New macro.
14393 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14395 (print_mpn_fp): ... to function scope.
14396 (read_mpn_hex): Remove.
14397 (get_log2): Remove.
14398 (exp2_mpn): Use mp_log2.
14399 (main): Use mp_exp1.
14401 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14403 * math/libm-test.inc: Remove comment about not testing "inexact"
14405 (INEXACT_EXCEPTION): New macro.
14406 (NO_INEXACT_EXCEPTION): Likewise.
14407 (INVALID_EXCEPTION_OK): Update value.
14408 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14409 (OVERFLOW_EXCEPTION_OK): Likewise.
14410 (UNDERFLOW_EXCEPTION_OK): Likewise.
14411 (IGNORE_ZERO_INF_SIGN): Likewise.
14412 (ERRNO_UNCHANGED): Likewise.
14413 (ERRNO_EDOM): Likewise.
14414 (ERRNO_ERANGE): Likewise.
14415 (test_exceptions): Handle testing "inexact" exceptions.
14416 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14417 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14418 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14419 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14421 (rint_towardzero_test_data): Likewise.
14422 (rint_downward_test_data): Likewise.
14423 (rint_upward_test_data): Likewise.
14425 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14426 with OVERFLOW_EXCEPTION.
14427 (exp10_test_data): Likewise.
14428 (exp2_test_data): Likewise.
14429 (expm1_test_data): Likewise.
14430 (lgamma_test_data): Likewise.
14431 (pow_test_data): Likewise.
14432 (tgamma_test_data): Likewise.
14433 (yn_test_data): Remove duplicate test of overflow.
14435 * math/libm-test.inc (struct test_cc_c_data): New type.
14436 (RUN_TEST_LOOP_cc_c): New macro.
14437 (cpow_test_data): New variable.
14438 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14440 * math/libm-test.inc (struct test_f_L_data): New type.
14441 (RUN_TEST_LOOP_f_L): New macro.
14442 (llrint_test_data): New variable.
14443 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14444 (llrint_tonearest_test_data): New variable.
14445 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14446 (llrint_towardzero_test_data): New variable.
14447 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14448 (llrint_downward_test_data): New variable.
14449 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14450 (llrint_upward_test_data): New variable.
14451 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14452 (llround_test_data): New variable.
14453 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14455 2013-05-13 Peter Collingbourne <pcc@google.com>
14457 * math/atest-exp2.c (get_log2): Remove const attribute.
14459 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14461 * math/libm-test.inc (struct test_f_l_data): New type.
14462 (RUN_TEST_LOOP_f_l): New macro.
14463 (lrint_test_data): New variable.
14464 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14465 (lrint_tonearest_test_data): New variable.
14466 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14467 (lrint_towardzero_test_data): New variable.
14468 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14469 (lrint_downward_test_data): New variable.
14470 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14471 (lrint_upward_test_data): New variable.
14472 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14473 (lround_test_data): New variable.
14474 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14476 2013-05-15 Peter Collingbourne <pcc@google.com>
14478 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14479 (EXTRACT_WORDS64) Use where appropriate.
14480 (INSERT_WORDS64) Likewise.
14482 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14483 constraints with x constraints.
14484 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14486 * malloc/obstack.c (_obstack_compat): Add initializer.
14488 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14490 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14491 si_trapno and add si_addr_lsb to _sifields.sigfault.
14492 (si_trapno): Remove macro.
14493 (si_addr_lsb): Define new macro.
14494 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14496 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14498 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14499 instead of TEST_f_l.
14500 (llrint_test_tonearest): Likewise.
14501 (llrint_test_towardzero): Likewise.
14502 (llrint_test_downward): Likewise.
14503 (llrint_test_upward): Likewise.
14504 (llround_test): Likewise.
14506 * math/libm-test.inc (struct test_f_i_data): Add comment.
14507 (RUN_TEST_LOOP_f_b): New macro.
14508 (RUN_TEST_LOOP_f_b_tg): Likewise.
14509 (finite_test_data): New variable.
14510 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14511 (isfinite_test_data): New variable.
14512 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14513 (isinf_test_data): New variable.
14514 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14515 (isnan_test_data): New variable.
14516 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14517 (isnormal_test_data): New variable.
14518 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14519 (issignaling_test_data): New variable.
14520 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14521 (signbit_test_data): New variable.
14522 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14524 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14525 with INVALID_EXCEPTION.
14526 (acosh_test_data): Likewise.
14527 (asin_test_data): Likewise.
14528 (atanh_test_data): Likewise.
14529 (fmod_test_data): Likewise.
14530 (log_test_data): Likewise.
14531 (log10_test_data): Likewise.
14532 (log2_test_data): Likewise.
14533 (pow_test_data): Likewise.
14534 (sqrt_test_data): Likewise.
14535 (y0_test_data): Likewise.
14536 (y1_test_data): Likewise.
14537 (yn_test_data): Likewise.
14539 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14542 * math/libm-test.inc (struct test_ff_i_data): New type.
14543 (RUN_TEST_LOOP_ff_i_tg): New macro.
14544 (isgreater_test_data): New variable.
14545 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14546 (isgreaterequal_test_data): New variable.
14547 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14548 (isless_test_data): New variable.
14549 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14550 (islessequal_test_data): New variable.
14551 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14552 (islessgreater_test_data): New variable.
14553 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14554 (isunordered_test_data): New variable.
14555 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14557 2013-05-14 David S. Miller <davem@davemloft.net>
14559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14561 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14563 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14565 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14567 (struct test_f_i_data): Change type of max_ulp to int.
14569 * math/libm-test.inc (test_ffI_f1_data): New type.
14570 (RUN_TEST_LOOP_ffI_f1): New macro.
14571 (remquo_test_data): New variable.
14572 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14574 * setjmp/tst-setjmp-fp.c: New file.
14575 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14576 (link-libm): New variable.
14577 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14579 * math/libm-test.inc (struct test_f_i_data): New type.
14580 (RUN_TEST_LOOP_f_i): New macro.
14581 (RUN_TEST_LOOP_f_i_tg): Likewise.
14582 (fpclassify_test_data): New variable.
14583 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14584 (ilogb_test_data): New variable.
14585 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14587 * math/libm-test.inc (scalbln_test): Correct function name in END
14590 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14591 (RUN_TEST_LOOP_fI_f1): New macro.
14592 (frexp_test_data): New variable.
14593 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14595 * math/libm-test.inc (struct test_fF_f1_data): New type.
14596 (RUN_TEST_LOOP_fF_f1): New macro.
14597 (modf_test_data): New variable.
14598 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14600 * math/libm-test.inc (struct test_f_f1_data): New type.
14601 (RUN_TEST_LOOP_f_f1): New macro.
14602 (gamma_test_data): New variable.
14603 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14604 (lgamma_test_data): New variable.
14605 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14607 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14609 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14610 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14611 (main): Comment "tls" pseudo-hwcap.
14613 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14615 * math/libm-test.inc (struct test_fl_f_data): New type.
14616 (RUN_TEST_LOOP_fl_f): New variable.
14617 (scalbln_test_data): New variable.
14618 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14620 * math/libm-test.inc (struct test_fi_f_data): New type.
14621 (RUN_TEST_LOOP_fi_f): New macro.
14622 (ldexp_test_data): New variable.
14623 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14624 (scalbn_test_data): New variable.
14625 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14627 * math/libm-test.inc (struct test_c_f_data): New type.
14628 (RUN_TEST_LOOP_c_f): New macro.
14629 (cabs_test_data): New variable.
14630 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14631 (carg_test_data): New variable.
14632 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14633 (cimag_test_data): New variable.
14634 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14635 (creal_test_data): New variable.
14636 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14638 * math/libm-test.inc (struct test_if_f_data): New type.
14639 (RUN_TEST_LOOP_if_f): New macro.
14640 (jn_test_data): New variable.
14641 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14642 (yn_test_data): New variable.
14643 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14645 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14647 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14649 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14650 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14652 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14654 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14655 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14656 (bench-deps): Add bench-timing.h.
14657 * benchtests-bench-skeleton.c: Include bench-timing.h.
14658 (main): Use TIMING_* macros instead of clock_gettime.
14659 * benchtests/bench-timing.h: New file.
14662 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14663 Renamed from _LIB_VERSION.
14664 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14666 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14668 * math/libm-test.inc (struct test_fff_f_data): New type.
14669 (RUN_TEST_LOOP_fff_f): New macro.
14670 (fma_test_data): New variable.
14671 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14672 (fma_towardzero_test_data): New variable.
14673 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14674 (fma_downward_test_data): New variable.
14675 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14676 (fma_upward_test_data): New variable.
14677 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14679 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14680 (struct test_c_c_data): New type.
14681 (RUN_TEST_LOOP_c_c): New macro.
14682 (cacos_test_data): New variable.
14683 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14684 (cacosh_test_data): New variable.
14685 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14686 (casin_test_data): New variable.
14687 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14688 (casinh_test_data): New variable.
14689 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14690 (catan_test_data): New variable.
14691 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14692 (catanh_test_data): New variable.
14693 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14694 (ccos_test_data): New variable.
14695 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14696 (ccosh_test_data): New variable.
14697 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14698 (cexp_test_data): New variable.
14699 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14700 (clog_test_data): New variable.
14701 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14702 (clog10_test_data): New variable.
14703 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14704 (conj_test_data): New variable.
14705 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14706 (cproj_test_data): New variable.
14707 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14708 (csin_test_data): New variable.
14709 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14710 (csinh_test_data): New variable.
14711 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14712 (csqrt_test_data): New variable.
14713 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14714 (ctan_test_data): New variable.
14715 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14716 (ctan_tonearest_test_data): New variable.
14717 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14718 (ctan_towardzero_test_data): New variable.
14719 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14720 (ctan_downward_test_data): New variable.
14721 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14722 (ctan_upward_test_data): New variable.
14723 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14724 (ctanh_test_data): New variable.
14725 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14726 (ctanh_tonearest_test_data): New variable.
14727 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14728 (ctanh_towardzero_test_data): New variable.
14729 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14730 (ctanh_downward_test_data): New variable.
14731 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14732 (ctanh_upward_test_data): New variable.
14733 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14734 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14737 * math/libm-test.inc (struct test_ff_f_data): New type.
14738 (struct test_ff_f_data_nexttoward): Likewise.
14739 (RUN_TEST_LOOP_2_f): New macro.
14740 (RUN_TEST_LOOP_ff_f): Likewise.
14741 (atan2_test_data): New variable.
14742 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14743 (copysign_test_data): New variable.
14744 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14745 (fdim_test_data): New variable.
14746 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14747 (fmax_test_data): New variable.
14748 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14749 (fmin_test_data): New variable.
14750 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14751 (fmod_test_data): New variable.
14752 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14753 (hypot_test_data): New variable.
14754 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14755 (nextafter_test_data): New variable.
14756 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14757 (nexttoward_test_data): New variable.
14758 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14759 (pow_test_data): New variable.
14760 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14761 (pow_tonearest_test_data): New variable.
14762 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14763 (pow_towardzero_test_data): New variable.
14764 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14765 (pow_downward_test_data): New variable.
14766 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14767 (pow_upward_test_data): New variable.
14768 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14769 (remainder_test_data): New variable.
14770 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14771 (scalb_test_data): New variable.
14772 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14773 * sysdeps/i386/fpu/libm-test-ulps: Update.
14775 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14777 * math/libm-test.inc (fma_test): Use max_value instead of local
14779 (nextafter_test): Likewise.
14781 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14782 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14783 (acos_downward_test_data): New variable.
14784 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14785 (acos_upward_test_data): New variable.
14786 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14787 (acosh_test_data): New variable.
14788 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14789 (asin_test_data): New variable.
14790 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14791 (asin_tonearest_test_data): New variable.
14792 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14793 (asin_towardzero_test_data): New variable.
14794 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14795 (asin_downward_test_data): New variable.
14796 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14797 (asin_upward_test_data): New variable.
14798 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14799 (asinh_test_data): New variable.
14800 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14801 (atan_test_data): New variable.
14802 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14803 (atanh_test_data): New variable.
14804 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14805 (cbrt_test_data): New variable.
14806 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14807 (ceil_test_data): New variable.
14808 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14809 (cos_test_data): New variable.
14810 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14811 (cos_tonearest_test_data): New variable.
14812 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14813 (cos_towardzero_test_data): New variable.
14814 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14815 (cos_downward_test_data): New variable.
14816 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14817 (cos_upward_test_data): New variable.
14818 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14819 (cosh_test_data): New variable.
14820 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14821 (cosh_tonearest_test_data): New variable.
14822 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14823 (cosh_towardzero_test_data): New variable.
14824 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14825 (cosh_downward_test_data): New variable.
14826 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14827 (cosh_upward_test_data): New variable.
14828 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14829 (erf_test_data): New variable.
14830 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14831 (erfc_test_data): New variable.
14832 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14833 (exp_test_data): New variable.
14834 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14835 (exp_tonearest_test_data): New variable.
14836 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14837 (exp_towardzero_test_data): New variable.
14838 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14839 (exp_downward_test_data): New variable.
14840 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14841 (exp_upward_test_data): New variable.
14842 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14843 (exp10_test_data): New variable.
14844 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14845 (exp2_test_data): New variable.
14846 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14847 (expm1_test_data): New variable.
14848 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14849 (fabs_test_data): New variable.
14850 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14851 (floor_test_data): New variable.
14852 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14853 (j0_test_data): New variable.
14854 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14855 (j1_test_data): New variable.
14856 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14857 (log_test_data): New variable.
14858 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14859 (log10_test_data): New variable.
14860 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14861 (log1p_test_data): New variable.
14862 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14863 (log2_test_data): New variable.
14864 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14865 (logb_test_data): New variable.
14866 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14867 (logb_downward_test_data): New variable.
14868 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14869 (nearbyint_test_data): New variable.
14870 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14871 (rint_test_data): New variable.
14872 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14873 (rint_tonearest_test_data): New variable.
14874 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14875 (rint_towardzero_test_data): New variable.
14876 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14877 (rint_downward_test_data): New variable.
14878 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14879 (rint_upward_test_data): New variable.
14880 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14881 (round_test_data): New variable.
14882 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14883 (sin_test_data): New variable.
14884 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14885 (sin_tonearest_test_data): New variable.
14886 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14887 (sin_towardzero_test_data): New variable.
14888 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14889 (sin_downward_test_data): New variable.
14890 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14891 (sin_upward_test_data): New variable.
14892 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14893 (sinh_test_data): New variable.
14894 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14895 (sinh_tonearest_test_data): New variable.
14896 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14897 (sinh_towardzero_test_data): New variable.
14898 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14899 (sinh_downward_test_data): New variable.
14900 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14901 (sinh_upward_test_data): New variable.
14902 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14903 (sqrt_test_data): New variable.
14904 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14905 (tan_test_data): New variable.
14906 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14907 (tan_tonearest_test_data): New variable.
14908 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14909 (tan_towardzero_test_data): New variable.
14910 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14911 (tan_downward_test_data): New variable.
14912 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14913 (tan_upward_test_data): New variable.
14914 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14915 (tanh_test_data): New variable.
14916 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14917 (tgamma_test_data): New variable.
14918 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14919 (trunc_test_data): New variable.
14920 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14921 (y0_test_data): New variable.
14922 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14923 (y1_test_data): New variable.
14924 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14925 (significand_test_data): New variable.
14926 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14928 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14931 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14933 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14935 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14937 2013-05-10 Andreas Jaeger <aj@suse.de>
14940 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14941 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14943 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14945 * math/gen-libm-test.pl (adjust_arg): New function.
14946 (special_functions): Handle generating output in both functions
14948 (parse_args): Likewise.
14949 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14950 $in_func argument to parse_args.
14951 * math/libm-test.inc (struct test_f_f_data): New type.
14952 (IF_ROUND_INIT_): New macro.
14953 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14954 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14955 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14956 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14957 (ROUND_RESTORE_): Likewise.
14958 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14959 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14960 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14961 (ROUND_RESTORE_FE_UPWARD): Likewise.
14962 (RUN_TEST_LOOP_f_f): New macro.
14963 (acos_test_data): New variable.
14964 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14965 (acos_tonearest_test_data): New variable.
14966 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14968 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14970 * benchtests/bench-skeleton.c (startup): Fix coding style.
14972 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14975 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14976 negative infinity argument.
14977 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14978 negative infinity argument.
14979 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14980 negative infinity argument.
14981 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14984 2013-05-10 Florian Weimer <fweimer@redhat.com>
14986 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14987 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14988 * iconv/iconv_prog.c (main): Likewise.
14989 * locale/programs/charmap-dir.c (charmap_readdir)
14990 (fopen_uncompressed): Likewise.
14991 * locale/programs/locfile.c (siblings_uncached)
14992 (write_locale_data): Use lstat64 instead of lstat.
14993 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14996 2013-05-10 Andreas Jaeger <aj@suse.de>
14999 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15001 Include <locale.h>.
15003 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15005 * elf/dl-close.c (_dl_close_worker): Add comments.
15007 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15010 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15012 (__ieee754_rem_pio2l): Update comments.
15015 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15017 (__ieee754_rem_pio2l): Update comments.
15019 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15020 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15022 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15025 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15026 (M_PI_34_LOG10El): Likewise.
15027 (M_PI2_LOG10El): Likewise.
15028 (M_PI4_LOG10El): Likewise.
15029 (M_PI_LOG10El): Likewise.
15031 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15035 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15037 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15038 (MINUS_ZERO_INIT): Likewise.
15039 (PLUS_INFTY_INIT): Likewise.
15040 (MINUS_INFTY_INIT): Likewise.
15041 (QNAN_VALUE_INIT): Likewise.
15042 (MAX_VALUE_INIT): Likewise.
15043 (MIN_VALUE_INIT): Likewise.
15044 (MIN_SUBNORM_VALUE_INIT): Likewise.
15045 (plus_zero): Initialize with PLUS_ZERO_INIT.
15046 (minus_zero): Initialize with MINUS_ZERO_INIT.
15047 (plus_infty): Initialize with PLUS_INFTY_INIT.
15048 (minus_infty): Initialize with MINUS_INFTY_INIT.
15049 (qnan_value): Initialize with QNAN_VALUE_INIT.
15050 (max_value): Initialize with MAX_VALUE_INIT.
15051 (min_value): Initialize with MIN_VALUE_INIT.
15052 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15054 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15055 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15056 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15057 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15059 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15060 (RUN_TEST_2_f): Likewise.
15061 (RUN_TEST_ff_f): Likewise.
15062 (RUN_TEST_fi_f): Likewise.
15063 (RUN_TEST_fl_f): Likewise.
15064 (RUN_TEST_fff_f): Likewise.
15065 (RUN_TEST_c_f): Likewise.
15066 (RUN_TEST_f_f1): Likewise.
15067 (RUN_TEST_fF_f1): Likewise.
15068 (RUN_TEST_fI_f1): Likewise.
15069 (RUN_TEST_ffI_f1): Likewise.
15070 (RUN_TEST_c_c): Likewise.
15071 (RUN_TEST_cc_c): Likewise.
15072 (RUN_TEST_f_i): Likewise.
15073 (RUN_TEST_f_i_tg): Likewise.
15074 (RUN_TEST_ff_i_tg): Likewise.
15075 (RUN_TEST_f_b): Likewise.
15076 (RUN_TEST_f_b_tg): Likewise.
15077 (RUN_TEST_f_l): Likewise.
15078 (RUN_TEST_f_L): Likewise.
15079 (RUN_TEST_sincos): Likewise.
15080 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15081 whether to show exceptions. Do not include ");\n" in return
15083 (special_functions): Output call to RUN_TEST_sincos instead of
15084 check_float calls. Update calls to new_test.
15085 (parse_args): Output call to single RUN_TEST_* macro instead of
15086 check_* calls and other assignments. Update calls to new_test.
15092 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15093 input to result for tgamma overflow.
15094 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15095 (gamma_coeff): New variable.
15096 (NCOEFF): New macro.
15097 (gamma_positive): New function.
15098 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15099 underflow here. Use gamma_positive instead of exp (lgamma) for
15101 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15102 (gamma_coeff): New variable.
15103 (NCOEFF): New macro.
15104 (gammaf_positive): New function.
15105 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15106 underflow here. Use gamma_positive instead of exp (lgamma) for
15108 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15109 (gamma_coeff): New variable.
15110 (NCOEFF): New macro.
15111 (gammal_positive): New function.
15112 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15113 underflow here. Use gamma_positive instead of exp (lgamma) for
15115 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15116 (gamma_coeff): New variable.
15117 (NCOEFF): New macro.
15118 (gammal_positive): New function.
15119 (__ieee754_gammal_r): Handle positive infinity, overflow and
15120 underflow here. Handle NaN the same as positive infinity. Remove
15121 check x < 0xffffffff for negative integers. Use gamma_positive
15122 instead of exp (lgamma) for other arguments.
15123 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15124 (gamma_coeff): New variable.
15125 (NCOEFF): New macro.
15126 (gammal_positive): New function.
15127 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15128 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15129 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15130 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15131 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15132 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15133 * sysdeps/generic/math_private.h (__gamma_productf): New
15135 (__gamma_product): Likewise.
15136 (__gamma_productl): Likewise.
15137 * math/Makefile (libm-calls): Add gamma_product.
15138 * math/libm-test.inc (tgamma_test): Add more tests.
15139 * sysdeps/i386/fpu/libm-test-ulps: Update.
15140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15142 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15144 * benchtests/bench-skeleton.c (main): Preheat CPU.
15146 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15148 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15150 2013-05-07 Roland McGrath <roland@hack.frob.com>
15152 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15153 and _dl_skip_args_internal.
15155 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15157 * manual/message.texi (Message Translation): Talk about users.
15158 Message to key mapping impacts design.
15160 2013-05-06 Roland McGrath <roland@hack.frob.com>
15162 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15164 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15166 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15167 * sysdeps/wordsize-64/glob64.c: ... here.
15169 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15170 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15173 * debug/getlogin_r_chk.c: Moved to ...
15174 * login/getlogin_r_chk.c: ... here.
15175 * debug/Makefile (routines): Move getlogin_r_chk to ...
15176 * login/Makefile (routines): ... here.
15177 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15178 * login/Versions (libc: GLIBC_2.4): ... here.
15180 * io/poll.c (__poll): Renamed from poll.
15181 Add libc_hidden_def.
15182 (poll): Define as weak alias.
15184 * debug/ptsname_r_chk.c: Moved to ...
15185 * login/ptsname_r_chk.c: ... here.
15186 * debug/Makefile (routines): Move ptsname_r_chk to ...
15187 * login/Makefile (routines): ... here.
15188 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15189 * login/Versions (libc: GLIBC_2.4): ... here.
15191 * posix/getlogin.c: Moved to ...
15192 * login/getlogin.c: ... here.
15193 * posix/getlogin_r.c: Moved to ...
15194 * login/getlogin_r.c: ... here.
15195 * posix/getlogin_r.c: Moved to ...
15196 * login/getlogin_r.c: ... here.
15197 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15198 * login/Makefile (routines): ... here.
15199 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15200 * login/Versions (libc: GLIBC_2.0): ... here.
15202 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15203 (setrlimit): Define as weak alias.
15205 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15206 Call __ names for open, ftruncate, and close.
15207 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15208 (truncate): Define as weak alias.
15210 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15212 * math/gen-libm-test.pl (parse_args): Initialize x before each
15213 test of frexp, modf and remquo.
15215 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15216 test signgam value.
15218 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15222 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15224 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15226 2013-05-06 Roland McGrath <roland@hack.frob.com>
15228 * elf/dl-writev.h: New file.
15229 * elf/dl-misc.c: Include it.
15230 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15231 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15233 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15235 * math/libm-test.inc (noXFails): Remove variable.
15236 (noXPasses): Likewise.
15237 (BUILD_COMPLEX_INT): Remove macro.
15238 (print_screen): Remove xfail argument.
15239 (print_screen_max_error): Likewise.
15240 (update_stats): Likewise.
15241 (print_max_error): Likewise. Update calls to other affected
15243 (print_complex_max_error): Likewise.
15244 (test_single_exception): Update calls to print_screen.
15245 (test_single_errno): Likewise.
15246 (check_float_internal): Remove xfail argument. Update calls to
15247 other affected functions.
15248 (check_float): Likewise.
15249 (check_complex): Likewise.
15250 (check_int): Likewise.
15251 (check_long): Likewise.
15252 (check_bool): Likewise.
15253 (check_longlong): Likewise.
15254 (main): Don't print noXFails and noXPasses.
15255 * math/gen-libm-test.pl (top level): Don't mention expected
15256 failure handling in comment.
15257 (new_test): Don't handle expected failures.
15258 (parse_args): Don't mention expected failure handling in comment.
15259 (generate_testfile): Don't handle expected failures.
15260 (parse_ulps): Likewise.
15261 (print_ulps_file): Likewise.
15262 (get_failure): Remove function.
15263 (output_test): Don't handle expected failures.
15264 * make/README.libm-test: Don't mention expected failure handling.
15266 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15267 (minus_zero): Likewise.
15268 (plus_infty): Likewise.
15269 (minus_infty): Likewise.
15270 (qnan_value): Likewise.
15271 (max_value): Likewise.
15272 (min_value): Likewise.
15273 (min_subnorm_value): Likewise.
15274 (initialize): Do not initialize those variables dynamically.
15276 2013-05-03 Roland McGrath <roland@hack.frob.com>
15278 * io/open.c (__open_2): Moved to ...
15279 * io/open_2.c: ... this new file.
15280 * io/open64.c (__open64_2): Moved to ...
15281 * io/open64_2.c: ... this new file.
15282 * io/openat.c (__openat_2): Moved to ...
15283 * io/openat_2.c: ... this new file.
15284 * io/openat64.c (__openat64_2): Moved to ...
15285 * io/openat64_2.c: ... this new file.
15286 * io/Makefile (routines): Add them.
15287 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15288 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15289 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15290 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15291 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15292 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15293 (__openat64): Add hidden_ver.
15294 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15295 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15297 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15298 Separately conditionalize setting of GLRO(dl_sysinfo) so
15299 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15300 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15302 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15304 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15305 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15307 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15308 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15309 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15310 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15311 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15313 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15315 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15316 test signgam value.
15318 * math/libm-test.inc (hypot_test): Do not use
15319 IGNORE_ZERO_INF_SIGN.
15321 2013-05-03 Andreas Jaeger <aj@suse.de>
15323 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15325 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15326 (PF_MAX): Adjust for VSOCK change.
15328 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15332 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15335 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15336 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15337 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15339 2013-05-02 David S. Miller <davem@davemloft.net>
15341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15343 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15345 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15347 2013-05-01 Roland McGrath <roland@hack.frob.com>
15349 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15351 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15354 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15355 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15356 Use __attribute__ ((__gnu_inline__)).
15357 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15358 Don't use __attribute__ ((__gnu_inline__)).
15360 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15363 * math/s_catan.c (__catan): Handle small real or imaginary part of
15364 input specially to avoid spurious underflow.
15365 * math/s_catanf.c (__catanf): Likewise.
15366 * math/s_catanh.c (__catanh): Likewise.
15367 * math/s_catanhf.c (__catanhf): Likewise.
15368 * math/s_catanhl.c (__catanhl): Likewise.
15369 * math/s_catanl.c (__catanl): Likewise.
15370 * math/libm-test.inc (catan_test): Add more tests.
15371 (catanh_test): Likewise.
15372 * sysdeps/i386/fpu/libm-test-ulps: Update.
15373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15375 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15379 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15382 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15383 accurately for denominator in atan2.
15384 * math/s_catanf.c (__catanf): Likewise.
15385 * math/s_catanh.c (__catanh): Likewise.
15386 * math/s_catanhf.c (__catanhf): Likewise.
15387 * math/s_catanhl.c (__catanhl): Likewise.
15388 * math/s_catanl.c (__catanl): Likewise.
15389 * math/libm-test.inc (catan_test): Add more tests.
15390 (catanh_test): Likewise.
15391 * sysdeps/i386/fpu/libm-test-ulps: Update.
15392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15394 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15396 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15398 * benchtests/Makefile (bench): Remove slow benchmarks.
15399 * benchtests/atan-inputs: Add slow benchmark inputs.
15400 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15401 (BENCH_FUNC): Accept variant offset.
15403 * benchtests/bench-skeleton.c (main): Run benchmark for each
15405 * benchtests/cos-inputs: Add slow benchmark inputs.
15406 * benchtests/exp-inputs: Likewise.
15407 * benchtests/pow-inputs: Likewise.
15408 * benchtests/sin-inputs: Likewise.
15409 * benchtests/slowatan-inputs: Remove.
15410 * benchtests/slowatan.c: Remove.
15411 * benchtests/slowcos-inputs: Remove.
15412 * benchtests/slowcos.c: Remove.
15413 * benchtests/slowexp-inputs: Remove.
15414 * benchtests/slowexp.c: Remove.
15415 * benchtests/slowpow-inputs: Remove.
15416 * benchtests/slowpow.c: Remove.
15417 * benchtests/slowsin-inputs: Remove.
15418 * benchtests/slowsin.c: Remove.
15419 * benchtests/slowtan-inputs: Remove.
15420 * benchtests/slowtan.c: Remove.
15421 * benchtests/tan-inputs: Add slow benchmark inputs.
15422 * scripts/bench.pl: Parse comments and directives.
15424 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15426 ($(objpfx)bench-%.c): Remove *-ITER.
15427 * benchtests/bench-modf.c: Remove definition of ITER.
15428 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15429 (main): Loop for DURATION seconds instead of fixed number of
15431 * scripts/bench.pl: Don't expect iterations in parameters.
15433 2013-04-29 Roland McGrath <roland@hack.frob.com>
15435 * io/fchdir.c (__fchdir): Renamed from fchdir.
15436 (fchdir): Define as weak alias.
15438 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15440 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15441 (ERRNO_EDOM): Likewise.
15442 (ERRNO_ERANGE): Likewise.
15443 (noErrnoTests): New variable.
15444 (init_max_error): Set errno to 0.
15445 (test_single_errno): New function.
15446 (test_errno): Likewise.
15447 (check_float_internal): Call test_errno. Set errno to 0.
15448 (check_complex): Refer to errno tests in comment.
15449 (check_int): Call test_errno. Set errno to 0.
15450 (check_long): Likewise.
15451 (check_bool): Likewise.
15452 (check_longlong): Likewise.
15453 (cos_test): Use ERRNO_* flags for errno tests instead of
15455 (expm1_test): Likewise.
15456 (fmod_test): Likewise.
15457 (ilogb_test): Likewise.
15458 (lgamma_test): Likewise.
15459 (pow_test): Likewise.
15460 (remainder_test): Likewise.
15461 (sin_test): Likewise.
15462 (tan_test): Likewise.
15463 (yn_test): Likewise.
15464 (initialize): Set errno to 0.
15465 (main): Print number of errno tests.
15466 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15468 2013-04-29 Andreas Jaeger <aj@suse.de>
15471 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15475 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15476 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15480 * stdlib/random.c (__initstate): Return NULL if
15484 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15485 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15488 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15492 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15494 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15495 of individual tests.
15496 (casin_test): Likewise.
15497 (casinh_test): Likewise.
15499 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15502 * math/s_catan.c (__catan): Handle arguments with large real or
15503 imaginary part separately without squaring.
15504 * math/s_catanf.c (__catanf): Likewise.
15505 * math/s_catanh.c (__catanh): Likewise.
15506 * math/s_catanhf.c (__catanhf): Likewise.
15507 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15509 (__catanhl): Handle arguments with large real or imaginary part
15510 separately without squaring.
15511 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15513 (__catanl): Handle arguments with large real or imaginary part
15514 separately without squaring.
15515 * math/libm-test.inc (catan_test): Add more tests.
15516 (catanh_test): Likewise.
15517 * sysdeps/i386/fpu/libm-test-ulps: Update.
15518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15520 2013-04-27 Andreas Jaeger <aj@suse.de>
15523 * stdlib/stdlib.h: Update guards for qecvt.
15524 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15527 2013-04-27 Allan McRae <allan@archlinux.org>
15529 * sysdeps/i386/fpu/libm-test-ulps: Update.
15531 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15534 * math/s_catan.c: Include <float.h>.
15535 (__catan): Ensure underflow exception occurs for underflowed
15537 * math/s_catanf.c: Include <float.h>.
15538 (__catanf): Ensure underflow exception occurs for underflowed
15540 * math/s_catanh.c: Include <float.h>.
15541 (__catanh): Ensure underflow exception occurs for underflowed
15543 * math/s_catanhf.c: Include <float.h>.
15544 (__catanhf): Ensure underflow exception occurs for underflowed
15546 * math/s_catanhl.c: Include <float.h>.
15547 (__catanhl): Ensure underflow exception occurs for underflowed
15549 * math/s_catanl.c: Include <float.h>.
15550 (__catanl): Ensure underflow exception occurs for underflowed
15552 * math/libm-test.inc (catan_test): Add more tests.
15553 (catanh_test): Likewise.
15556 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15557 underflowed result.
15558 * math/s_ccoshf.c (__ccoshf): Likewise.
15559 * math/s_ccoshl.c (__ccoshl): Likewise.
15560 * math/s_csin.c (__csin): Likewise.
15561 * math/s_csinf.c (__csinf): Likewise.
15562 * math/s_csinh.c (__csinh): Likewise.
15563 * math/s_csinhf.c (__csinhf): Likewise.
15564 * math/s_csinhl.c (__csinhl): Likewise.
15565 * math/s_csinl.c (__csinl): Likewise.
15566 * math/libm-test.inc (ccos_test): Add more tests.
15567 (ccosh_test): Likewise.
15568 (csin_test): Likewise.
15569 (csinh_test): Likewise.
15571 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15573 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15574 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15575 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15576 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15577 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15578 powerpc/power5+/fpu folders.
15579 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15582 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15586 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15588 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15589 additions to variable.
15590 [$(config-machine) = x86_64] (modules-names): Likewise.
15591 ($(objpfx)tst-audit3): Remove dependency.
15592 ($(objpfx)tst-audit3.out): Likewise.
15593 ($(objpfx)tst-audit4): Likewise.
15594 ($(objpfx)tst-audit4.out): Likewise.
15595 ($(objpfx)tst-audit5): Likewise.
15596 ($(objpfx)tst-audit5.out): Likewise.
15597 ($(objpfx)tst-audit6): Likewise.
15598 ($(objpfx)tst-audit6.out): Likewise.
15599 ($(objpfx)tst-audit7): Likewise.
15600 ($(objpfx)tst-audit7.out): Likewise.
15601 (tst-audit3-ENV): Remove variable.
15602 (tst-audit4-ENV): Likewise.
15603 (tst-audit5-ENV): Likewise.
15604 (tst-audit6-ENV): Likewise.
15605 (tst-audit7-ENV): Likewise.
15606 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15607 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15608 addition to variable.
15609 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15610 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15611 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15612 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15613 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15614 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15615 tst-audit3, tst-audit4 and tst-audit5.
15616 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15617 tst-audit6 and tst-audit7.
15618 [$(subdir) = elf] (modules-names): Add audit modules for those
15620 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15621 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15622 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15623 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15624 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15625 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15626 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15627 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15628 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15629 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15630 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15631 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15632 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15633 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15634 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15635 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15637 [$(subdir) = elf && $(config-cflags-avx) = yes]
15638 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15639 [$(subdir) = elf && $(config-cflags-avx) = yes]
15640 (CFLAGS-tst-auditmod4a.c): Likewise.
15641 [$(subdir) = elf && $(config-cflags-avx) = yes]
15642 (CFLAGS-tst-auditmod4b.c): Likewise.
15643 [$(subdir) = elf && $(config-cflags-avx) = yes]
15644 (CFLAGS-tst-auditmod6b.c): Likewise.
15645 [$(subdir) = elf && $(config-cflags-avx) = yes]
15646 (CFLAGS-tst-auditmod6c.c): Likewise.
15647 [$(subdir) = elf && $(config-cflags-avx) = yes]
15648 (CFLAGS-tst-auditmod7b.c): Likewise.
15649 * elf/tst-audit3.c: Move to ...
15650 * sysdeps/x86_64/tst-audit3.c: ... here.
15651 * elf/tst-audit4.c: Move to ...
15652 * sysdeps/x86_64/tst-audit4.c: ... here.
15653 * elf/tst-audit5.c: Move to ...
15654 * sysdeps/x86_64/tst-audit5.c: ... here.
15655 * elf/tst-audit6.c: Move to ...
15656 * sysdeps/x86_64/tst-audit6.c: ... here.
15657 * elf/tst-audit7.c: Move to ...
15658 * sysdeps/x86_64/tst-audit7.c: ... here.
15659 * elf/tst-auditmod3a.c: Move to ...
15660 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15661 * elf/tst-auditmod3b.c: Move to ...
15662 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15663 * elf/tst-auditmod4a.c: Move to ...
15664 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15665 * elf/tst-auditmod4b.c: Move to ...
15666 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15667 * elf/tst-auditmod5a.c: Move to ...
15668 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15669 * elf/tst-auditmod5b.c: Move to ...
15670 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15671 * elf/tst-auditmod6a.c: Move to ...
15672 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15673 * elf/tst-auditmod6b.c: Move to ...
15674 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15675 * elf/tst-auditmod6c.c: Move to ...
15676 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15677 * elf/tst-auditmod7a.c: Move to ...
15678 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15679 * elf/tst-auditmod7b.c: Move to ...
15680 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15682 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15685 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15686 define unconditionally.
15687 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15688 define unconditionally.
15689 (INT8_C, INT16_C, etc.): Likewise.
15691 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15693 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15694 __ehdr_start with hidden visibility.
15696 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15698 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15700 * math/libm-test.inc (cos_test): Use accurate hex constants.
15701 (sincost_test): Likewise.
15703 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15705 * math/libm-test.inc (catan_test): Add more tests.
15706 (catanh_test): Likewise.
15708 * math/s_catanf.c (__catanf): Use suffixed floating-point
15710 * math/s_catanhf.c (__catanhf): Likewise.
15711 * math/s_catanhl.c (__catanhl): Likewise.
15712 * math/s_catanl.c (__catanl): Likewise.
15715 * math/s_catan.c (__catan): Calculate imaginary part of result
15716 with log1p not log unless computing log of number close to 0.
15717 * math/s_catanf.c (__catanf): Likewise.
15718 * math/s_catanl.c (__catanl): Likewise.
15719 * math/s_catanh.c (__catanh): Calculate real part of result with
15720 log1p not log unless computing log of number close to 0.
15721 * math/s_catanhf.c (__catanhf): Likewise.
15722 * math/s_catanhl.c (__catanhl): Likewise.
15723 * math/libm-test.inc (catan_test): Add more tests.
15724 (catanh_test): Likewise.
15725 * sysdeps/i386/fpu/libm-test-ulps: Update.
15726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15728 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15730 * benchtests/Makefile: Mention files in which fast and slow
15731 paths of math functions are implemented.
15733 2013-04-23 Roland McGrath <roland@hack.frob.com>
15735 * sysdeps/posix/timespec_get.c: New file.
15737 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15739 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15741 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15743 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15744 powerpc/power5/fpu folders.
15745 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15746 * benchtests/Makefile: Add modf testcase.
15747 * benchtests/bench-modf.c: New file: Benchmark test for mo
15749 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15752 * time/Makefile (tests): Add tst-strptime-whitespace.
15753 * time/strptime_l.c (get_number): Use ISSPACE.
15754 (__strptime_internal): Likewise.
15755 * time/tst-strptime-whitespace.c: New test case.
15757 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15759 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15761 (_nss_files_init): Set it here.
15763 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15765 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15766 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15769 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15771 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15773 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15775 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15778 2013-04-21 David S. Miller <davem@davemloft.net>
15780 * po/ru.po: Update Russion translation from translation project.
15782 2013-04-17 Adam Conrad <adconrad@0c3.net>
15784 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15787 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15789 * configure.in: Remove i386 configure warning. Remove i386 case.
15790 * configure: Regenerate.
15791 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15792 Add example to error message.
15793 * sysdeps/i386/configure: Regenerate.
15795 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15797 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15799 * benchtests/cos-inputs: New file.
15800 * benchtests/slowcos-inputs: New file.
15801 * benchtests/slowcos.c: New file.
15802 * benchtests/slowtan-inputs: New file.
15803 * benchtests/slowtan.c: New file.
15804 * benchtests/tan-inputs: New file.
15806 2013-04-16 Roland McGrath <roland@hack.frob.com>
15808 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15811 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15813 * benchtests/Makefile: Include cppflags-iterator.mk to add
15814 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15816 * Makefile.in (bench-clean): New target.
15817 * benchtests/Makefile (bench-clean): Likewise.
15819 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15821 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15823 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15825 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15827 2013-04-15 Andreas Schwab <schwab@suse.de>
15829 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15830 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15831 * nscd/pwdcache.c (cache_addpw): Likewise.
15832 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15835 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15837 * benchtests/Makefile (bench): Write all output to
15838 bench-out.tmp together.
15840 2013-04-15 Andreas Schwab <schwab@suse.de>
15842 * nscd/nscd.c (main): Don't fork again after closing files.
15844 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15846 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15848 * benchtests/Rules (bench-deps): Collect dependencies into a
15849 single variable. Add Makefile to dependencies.
15850 ($(objpfx)bench-%.c): Depend on bench-deps.
15852 2013-04-12 Roland McGrath <roland@hack.frob.com>
15853 Xavier Roche <roche+kml2@exalead.com>
15856 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15857 just that it's a file descriptor.
15858 * manual/llio.texi (Synchronizing AIO Operations): Update description
15859 for EBADF error from aio_fsync.
15861 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15863 * Rules (bench): Move target definition...
15864 * benchtests/Makefile: ... here.
15866 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15868 * math/libm-test.inc (cos_test): Fix PI/2 test.
15869 (sincos_test): Likewise.
15870 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15871 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15873 2013-04-11 Andreas Schwab <schwab@suse.de>
15876 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15877 accept exponent character only when digits were seen.
15878 * stdio-common/Makefile (tests): Add bug26.
15879 * stdio-common/bug26.c: New file.
15882 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15885 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15887 * Makeconfig (rtld-prefix): Define built linker prefix.
15888 * Rules (run-bench): Use it.
15889 * math/Makefile (run-regen-ulps): Likewise.
15891 * Rules (bench): Remove eval.
15893 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15894 Roland McGrath <roland@hack.frob.com>
15895 Ondrej Bilka <neleai@seznam.cz>
15898 * time/getdate.c: Include ctype.h and alloca.h.
15899 (__getdate_r): Trim leading and trailing spaces of input.
15900 * time/tst-getdate.c (tests): Add tests with leading and
15903 2013-04-08 Roland McGrath <roland@hack.frob.com>
15906 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15907 when computing value.
15909 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15911 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15912 Use testrun.sh to run libm tests.
15915 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15917 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15920 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15922 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15924 * Makefile.in (regen-ulps): New target.
15925 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15926 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15927 [ifneq (no,$(PERL)] (regen-ulps): New target.
15928 [ifeq (no,$(PERL)] (regen-ulps): New target.
15929 * math/libm-test.inc (ulps_file_name): Define.
15930 (output_dir): New variable.
15931 (options): Add "output-dir" option.
15932 (parse_opt): Handle 'o' case.
15933 (main): If output_dir is non-NULL use it as a prefix
15935 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15937 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15939 [BZ #10060, #10062]
15940 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15941 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15942 fail configure if __sync_val_compare_and_swap is not inlined.
15943 * sysdeps/i386/configure: Regenerate.
15944 * configure.in: Build for i686 when configured for i386.
15945 * configure: Regenerate.
15946 * README: Remove i386 reference.
15948 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15950 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15951 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15953 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15955 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15956 (lmsnanval): New variables.
15957 (F): Add conversion tests.
15958 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15959 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15961 * stdio-common/tstdiomisc.c (F): Properly collect individual
15964 [BZ #14686, #15336]
15965 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15966 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15967 Instead, use input NaN values or generate a qNaN by arithmetic
15968 operation. Also fix bugs to comply with the standard.
15969 * math/libm-test.inc (remainder_test): Add more tests.
15971 [BZ #15335, #15342]
15972 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15974 input NaN values or generate a qNaN by arithmetic operation.
15976 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15979 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15982 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15985 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15986 underflowed result.
15987 * math/s_cexpf.c (__cexpf): Likewise.
15988 * math/s_cexpl.c (__cexpl): Likewise.
15989 * math/libm-test.inc (cexp_test): Add more tests.
15991 2013-04-03 Andreas Schwab <schwab@suse.de>
15994 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15995 order arrays from heap if bigger than alloca cutoff.
15997 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15999 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16000 (SNAN_TESTS_double): Refer to GCC PR56831.
16001 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16004 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16006 * Rules (bench): Move bench.out after the run is complete.
16008 * Rules (bench): Echo currently running benchmark.
16010 * benchtests/Makefile (bench): Add atan and slowatan.
16011 * benchtests/atan-inputs: New file.
16012 * benchtests/slowatan-inputs: New file.
16013 * benchtests/slowatan.c: New file.
16015 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16016 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16020 * sysdeps/unix/sysv/linux/kernel-features.h
16021 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16022 __ASSUME_XFS_RESTRICTED_CHOWN.
16023 * sysdeps/unix/sysv/linux/pathconf.c
16024 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16025 Save and restore errno.
16027 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16030 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16031 arguments using __kernel_casinh.
16032 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16033 arguments using __kernel_casinhf.
16034 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16035 arguments using __kernel_casinhl.
16036 * math/libm-test.inc (cacosh_test): Add more tests.
16037 * sysdeps/i386/fpu/libm-test-ulps: Update.
16038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16040 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16042 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16043 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16045 * bench/Makefile (bench): Add sin and slowsin.
16046 * benchtests/sin-inputs: New file.
16047 * benchtests/slowsin-inputs: New file.
16048 * benchtests/slowsin.c: New file.
16050 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16051 (bench): Add slowexp and slowpow.
16052 (exp-ITER): Increase iterations.
16053 (pow-ITER): Likewise.
16054 * benchtests/exp-inputs: Change input.
16055 * benchtests/pow-inputs: Likewise.
16056 * benchtests/slowexp-inputs: New file.
16057 * benchtests/slowexp.c: New file.
16058 * benchtests/slowpow-inputs: New file.
16059 * benchtests/slowpow.c: New file.
16061 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16063 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16065 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16066 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16067 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16068 * benchtests/Makefile: Add rint benchtest.
16069 * benchtests/rint-inputs: Input for rint benchtest.
16071 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16073 * Versions.def (libm): Add GLIBC_2.18.
16074 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16075 hidden libm prototypes.
16076 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16077 * math/Makefile (libm-calls): Add s_issignaling.
16078 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16079 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16080 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16082 * math/math.h [__USE_GNU] (issignaling): New macro.
16083 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16084 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16085 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16086 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16087 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16088 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16089 * manual/arith.texi (issignaling): New section.
16090 * manual/libm-err-tab.pl (@all_functions): Update comment.
16091 * math/gen-libm-test.pl (parse_args): Apply special handling for
16093 * math/libm-test.inc (print_float, issignaling_test): New
16095 (check_float_internal): Add issignaling checks.
16096 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16097 default definition.
16098 * sysdeps/powerpc/math-tests.h: New file.
16099 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16101 * math/test-snan.c (TEST_FUNC): Likewise.
16103 2013-03-30 David S. Miller <davem@davemloft.net>
16105 * po/de.po: Update from translation team.
16107 2013-03-30 Joseph Myers <joseph@codesourcery.com>
16110 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16111 imaginary part less than 1.0 and real part less than 0.5
16113 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16114 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16115 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16116 (cacos_test): Add more tests.
16117 (casin_test): Likewise.
16118 (casinh_test): Likewise.
16119 * sysdeps/i386/fpu/libm-test-ulps: Update.
16120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16122 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16124 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16125 ONE with its value.
16127 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16128 (__pow_mp): Replace ONE and MONE with their values.
16129 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16130 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16131 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16132 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16133 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16134 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16136 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16138 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16139 (__pow_mp): Replace ZERO and MZERO with their values.
16140 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16141 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16142 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16143 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16144 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16145 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16148 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16150 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16152 2013-03-28 Roland McGrath <roland@hack.frob.com>
16154 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16155 Declare with __attribute__ ((weak)).
16156 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16157 Call __call_tls_dtors only if it's not NULL.
16159 2013-03-28 Roland McGrath <roland@hack.frob.com>
16161 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16162 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16163 magic __ehdr_start linker symbol if it's defined.
16164 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16165 them up here if it was already done.
16167 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16168 (_dl_aux_init): Use const in cast when setting it.
16169 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16170 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16171 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16173 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16175 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16176 * csu/libc-tls.c: Nor here.
16177 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16179 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16180 (__libc_message): Never call vsyslog.
16182 2013-03-28 Alan Modra <amodra@gmail.com>
16184 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16186 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16189 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16192 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16196 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16199 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16200 Don't add gid passed as argument.
16202 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16204 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16207 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16208 imaginary part between 1.0 and 1.5 and real part less than 0.5
16210 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16211 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16212 * math/libm-test.inc (cacos_test): Add more tests.
16213 (casin_test): Likewise.
16214 (casinh_test): Likewise.
16215 * sysdeps/i386/fpu/libm-test-ulps: Update.
16216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16218 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16220 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16223 (denorm): Likewise.
16224 (__dbl_mp): Likewise.
16225 (add_magnitudes): Likewise.
16226 (sub_magnitudes): Likewise.
16234 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16236 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16237 (__dubcos): Likewise.
16238 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16239 (__ieee754_acos): Likewise.
16240 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16241 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16242 (__exp1): Likewise.
16243 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16244 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16246 (my_log2): Likewise.
16247 (checkint): Likewise.
16248 * sysdeps/ieee754/dbl-64/e_remainder.c
16249 (__ieee754_remainder): Likewise.
16250 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16251 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16252 (bsloww): Likewise.
16253 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16255 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16256 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16257 MANTISSA_STORE_T to store computations on mantissa. Use
16258 macros for rounding and division.
16259 (denorm): Likewise.
16260 (__dbl_mp): Likewise.
16261 (add_magnitudes): Likewise.
16262 (sub_magnitudes): Likewise.
16265 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16266 powers of two in terms of TWOPOW macro.
16267 (mp_no): Make type of mantissa as MANTISSA_T.
16268 [!RADIXI]: Define RADIXI.
16269 [!TWO52]: Define TWO52.
16270 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16272 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16274 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16275 llroundl symbol when building for PPC32.
16277 2013-03-24 Mark H Weaver <mhw@netris.org>
16279 * manual/arith.texi (Normalization Functions): Fix prototypes for
16280 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16282 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16286 high value to check if expl overflow.
16287 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16288 to check for underflow and overflow.
16289 * math/libm-test.inc: Add exp test.
16291 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16294 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16297 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16299 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16302 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16304 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16305 wrap blocks consisting of several statements.
16307 * sysdeps/generic/math-tests.h: New file.
16308 * sysdeps/i386/fpu/math-tests.h: Likewise.
16309 * math/test-snan.c: Include it.
16310 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16312 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16315 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16316 (__ieee754_j0l): Do not improve calculations using cos of twice
16317 input for inputs above LDBL_MAX / 2.0L.
16318 (__ieee754_y0l): Likewise.
16319 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16320 (__ieee754_j1l): Do not improve calculations using cos of twice
16321 input for inputs above LDBL_MAX / 2.0L.
16322 (__ieee754_y1l): Likewise.
16323 * math/libm-test.inc (j0_test): Add another test.
16324 (j1_test): Likewise.
16325 (y0_test): Likewise.
16326 (y1_test): Likewise.
16327 * sysdeps/i386/fpu/libm-test-ulps: Update.
16329 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16331 * Rules ($(objpfx)bench-%.c): Include code from a C source
16334 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16337 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16338 imaginary part 1.0 and real part less than 0.5 specially.
16339 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16340 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16341 * math/libm-test.inc (cacos_test): Add more tests.
16342 (casin_test): Likewise.
16343 (casinh_test): Likewise.
16344 * sysdeps/i386/fpu/libm-test-ulps: Update.
16345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16347 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16349 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16350 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16352 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16354 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16355 * config.make.in (config-cflags-sse4): Remove variable.
16356 (config-cflags-avx): Likewise.
16357 (config-cflags-sse2avx): Likewise.
16358 (config-cflags-novzeroupper): Likewise.
16359 (config-asflags-i686): Likewise.
16360 (have-mfma4): Likewise.
16361 (have-as-vis3): Likewise.
16363 * configure.in (MIG): Do not AC_SUBST.
16364 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16365 (libc_cv_cc_sse4): Do not AC_SUBST.
16366 (libc_cv_cc_avx): Likewise.
16367 (libc_cv_cc_sse2avx): Likewise.
16368 (libc_cv_cc_novzeroupper): Likewise.
16369 (libc_cv_cc_fma4): Likewise.
16370 (libc_cv_as_i686): Likewise.
16371 (libc_cv_sparc_as_vis3): Likewise.
16372 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16374 (config-asflags-i686): Likewise.
16375 (config-cflags-avx): Likewise.
16376 (config-cflags-sse2avx): Likewise.
16377 (have-mfma4): Likewise.
16378 (config-cflags-novzeroupper): Likewise.
16379 * sysdeps/mach/configure.in (MIG): Likewise.
16380 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16381 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16383 (config-cflags-avx): Likewise.
16384 (config-cflags-sse2avx): Likewise.
16385 (have-mfma4): Likewise.
16386 (config-cflags-novzeroupper): Likewise.
16387 * configure: Regenerated.
16388 * sysdeps/i386/configure: Likewise.
16389 * sysdeps/mach/configure: Likewise.
16390 * sysdeps/sparc/configure: Likewise.
16391 * sysdeps/x86_64/configure: Likewise.
16393 2013-03-20 Roland McGrath <roland@hack.frob.com>
16396 * locale/programs/localedef.c (options): Put N_ translation marker
16397 on argument names, not just descriptions.
16399 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16401 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16403 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16406 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16408 2013-03-19 Roland McGrath <roland@hack.frob.com>
16410 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16411 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16412 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16413 [!BEFORE_ABORT] (before_abort): New function.
16414 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16415 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16416 (writev_for_fatal): New function.
16417 (WRITEV_FOR_FATAL): New macro; call that.
16418 (backtrace_and_maps): New function.
16419 (BEFORE_ABORT): New macro; call that.
16420 (struct str_list): Type removed.
16421 (__libc_message, __libc_fatal): Functions removed.
16422 Include <sysdeps/posix/libc_fatal.c> instead.
16424 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16426 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16428 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16431 2013-03-19 Andreas Schwab <schwab@suse.de>
16433 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16434 * sysdeps/gnu/configure: Regenerate.
16436 * configure.in: Substitute libc_cv_rtlddir.
16437 * configure: Regenerate.
16438 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16439 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16440 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16441 * elf/Makefile (install-others, CFLAGS-interp.c)
16442 (ldso_install, common-ldd-rewrite): Likewise.
16443 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16444 $(inst_slibdir)/$(rtld-installed-name).
16445 * scripts/rellns-sh: Add -p option.
16446 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16449 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16451 * manual/nptl.texi: Renamed to ...
16452 * manual/threads.texi: ... this.
16453 * manual/Makefile (chapters): Update.
16455 2013-03-18 Roland McGrath <roland@hack.frob.com>
16458 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16459 on argument names, not just descriptions.
16460 * malloc/memusagestat.c (options): Likewise.
16461 * nss/getent.c (options): Likewise.
16463 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16466 * iconv/iconv_prog.c (options): Put N_ translation marker
16467 on argument names, not just descriptions.
16468 * iconv/iconvconfig.c (options): Likewise.
16470 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16472 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16473 implementation which is faster on all x86_64 architectures.
16474 Tested on AMD, Intel Nehalem, SNB, IVB.
16475 * sysdeps/x86_64/strnlen.S: Likewise.
16477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16478 Remove all multiarch strlen and strnlen versions.
16479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16480 Remove strlen and strnlen related parts.
16482 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16483 Inline strlen part.
16484 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16486 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16487 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16488 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16489 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16490 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16491 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16493 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16495 * manual/memory.texi (Malloc Tunable Parameters):
16496 Sort parameters alphabetically. Add comments for missing entries.
16498 2013-03-17 David S. Miller <davem@davemloft.net>
16500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16502 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16505 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16506 for arguments at most half maximum finite value.
16507 * math/libm-test.inc (j0_test): Add more tests.
16508 (j1_test): Likewise.
16509 (y0_test): Likewise.
16510 (y1_test): Likewise.
16511 * sysdeps/i386/fpu/libm-test-ulps: Update.
16512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16515 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16516 1 / x and functions P and Q for arguments above 0x1p256L.
16517 (__ieee754_y0l): Likewise.
16518 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16519 (__ieee754_y1l): Likewise.
16520 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16521 (j1_test): Likewise.
16522 (y0_test): Likewise.
16523 (y1_test): Likewise.
16525 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16527 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16530 2013-03-15 Roland McGrath <roland@hack.frob.com>
16532 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16533 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16534 zero since it's initialized to EXEC_PAGESIZE.
16536 * sysdeps/unix/sysv/linux/ldsodefs.h
16537 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16538 * sysdeps/generic/ldsodefs.h: ... here.
16540 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16542 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16544 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16546 * math/test-snan.c: Renamed from
16547 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16548 * math/Makefile (tests): Add test-snan.
16549 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16552 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16553 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16555 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16556 __builtin_nan family of functions.
16557 * math/libm-test.inc (initialize): Initialize qnan_value with
16558 __builtin_nan family of functions.
16559 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16561 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16563 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16564 storage class. Initialize qNaN_var and sNaN_var with
16565 __builtin_nan and __builtin_nans families of functions,
16568 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16569 (sqrt_test): Remove duplicate test with qNaN input.
16570 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16571 (round_test, signbit_test, significand_test): Note missing +/-Inf
16572 as well as qNaN tests.
16574 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16575 qNaN_var. Fix a few strings, too.
16576 * math/libm-test.inc (nan_value): Rename to qnan_value.
16577 * math/gen-libm-test.pl (%beautify): Adjust to that.
16578 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16579 * math/test-misc.c (main): Likewise.
16580 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16581 to __qnan_bytes, and __qnan_union, respectively.
16582 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16584 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16585 and lqnanval, respectively.
16586 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16587 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16588 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16589 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16591 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16592 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16595 * math/test-misc.c (main): Fix copy'n'pastos.
16596 * misc/tst-efgcvt.c (special): Likewise.
16598 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16599 Remove declarations.
16601 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16603 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16604 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16605 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16606 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16608 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16610 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16611 macro to return vdso values correctly in IFUNC implementations.
16612 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16613 Optimization by using IFUNC.
16615 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16616 Richard Henderson <rth@redhat.com>
16617 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16619 * Makefile.in (bench): New target.
16620 * NEWS: Mention the benchmark framework.
16621 * Rules (bench): Likewise.
16622 (binaries-bench): Generate binaries for functions to
16624 * benchtests/Makefile: New makefile for benchmark tests.
16625 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16627 * benchtests/exp-inputs: New input file for EXP function.
16628 * benchtests/pow-inputs: New input file for POW function.
16629 * scripts/bench.pl: New script to generate source files for
16630 benchmark programs.
16632 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16634 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16635 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16636 computations on mantissa. Use macros for rounding and
16638 (denorm): Likewise.
16639 (__dbl_mp): Likewise.
16640 (add_magnitudes): Likewise.
16641 (sub_magnitudes): Likewise.
16644 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16645 powers of two in terms of TWOPOW macro.
16646 (mp_no): Make type of mantissa as MANTISSA_T.
16647 [!RADIXI]: Define RADIXI.
16648 [!TWO52]: Define TWO52.
16649 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16651 * manual/nptl.texi (cindex): Modify threads to pthreads.
16653 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16655 * sysdeps/x86_64/preconfigure: Regenerated.
16657 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16660 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16662 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16663 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16665 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16666 * math/libm-test.inc (j0_test): Do not allow one spurious
16667 underflow exception.
16668 (y1_test): Likewise.
16670 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16672 * manual/Makefile (chapters): Add nptl.
16673 * manual/debug.texi (Debugging Support): Add link to Threads
16675 * manual/nptl.texi: New file.
16677 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16679 2013-03-14 Petr Baudis <pasky@ucw.cz>
16681 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16682 for non-NULL pointer before the memory validity test. Pointed
16683 out by Holger Brunck <holger.brunck@keymile.com>.
16685 2013-03-13 Andreas Schwab <schwab@suse.de>
16687 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16690 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16692 * timezone/zic.c: Update from tzcode 2013b.
16694 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16696 * manual/install.texi (Configuring and compiling):
16697 Mention i686 and i586.
16698 * INSTALL: Regenerate.
16700 2013-03-12 Roland McGrath <roland@hack.frob.com>
16702 * sysdeps/init_array/elf-init.c: New file.
16704 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16705 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16707 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16708 __gmon_start__ as global, but as static with a .preinit_array pointer.
16709 * sysdeps/init_array/gmon-start.c: New file. Use that.
16710 * sysdeps/init_array/crti.S: New file, empty except for comments.
16711 * sysdeps/init_array/crtn.S: Likewise.
16713 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16715 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16718 Remove Prefer_SSE_for_memop.
16719 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16720 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16721 HAS_PREFER_SSE_FOR_MEMOP.
16722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16725 Remove bzero, memset ifunc support.
16726 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16727 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16728 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16729 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16731 2013-03-11 Andreas Schwab <schwab@suse.de>
16734 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16737 (GLIBC_2.16): Remove pthread_atfork.
16739 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16741 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16742 (ptestcases.h): Likewise.
16744 2013-03-08 Roland McGrath <roland@hack.frob.com>
16746 * Makeconfig ($(common-objpfx)config.status): Depend on
16747 sysdeps/*/preconfigure{,.in} too.
16749 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16751 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16752 (__free_hook): Use void * instead of __malloc_ptr_t.
16753 (__malloc_hook): Likewise.
16754 (__realloc_hook): Likewise.
16755 (__memalign_hook): Likewise.
16756 (__after_morecore_hook): Likewise.
16757 * malloc/arena.c (save_malloc_hook): Likewise.
16758 (save_free_hook): Likewise.
16759 * malloc/hooks.c (malloc_hook_ini): Likewise.
16760 (realloc_hook_ini): Likewise.
16761 (memalign_hook_ini): Likewise.
16762 * malloc/malloc.c (malloc_hook_ini): Likewise.
16763 (realloc_hook_ini): Likewise.
16764 (memalign_hook_ini): Likewise.
16765 (__free_hook): Likewise.
16766 (__malloc_hook): Likewise.
16767 (__realloc_hook): Likewise.
16768 (__memalign_hook): Likewise.
16769 (__libc_malloc): Likewise.
16770 (__libc_free): Likewise.
16771 (__libc_realloc): Likewise.
16772 (__libc_memalign): Likewise.
16773 (__libc_valloc): Likewise.
16774 (__libc_pvalloc): Likewise.
16775 (__libc_calloc): Likewise.
16776 (__posix_memalign): Likewise.
16777 * malloc/morecore.c (__sbrk): Likewise.
16778 (__default_morecore): Likewise.
16780 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16782 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16783 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16784 __malloc_ptrdiff_t.
16786 * malloc/malloc.h (__malloc_size_t): Remove macro.
16787 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16789 (old_memalign_hook): Likewise.
16790 (old_realloc_hook): Likewise.
16791 (struct hdr): Likewise.
16793 (mallochook): Likewise.
16794 (memalignhook): Likewise.
16795 (reallochook): Likewise.
16796 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16797 (tr_old_realloc_hook): Likewise.
16798 (tr_old_memalign_hook): Likewise.
16799 (tr_mallochook): Likewise.
16800 (tr_reallochook): Likewise.
16801 (tr_memalignhook): Likewise.
16803 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16805 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16806 default_ldbl_pack and using as default implementation.
16807 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16809 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16810 redundant definition.
16811 (ldbl_insert_mantissa): Likewise.
16812 (ldbl_canonicalize): Likewise.
16813 (ldbl_nearbyint): Likewise.
16814 (ldbl_pack): Rename to ldbl_pack_ppc.
16815 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16816 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16817 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16819 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16822 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16823 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16824 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16826 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16827 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16828 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16830 2013-03-07 Andreas Jaeger <aj@suse.de>
16832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16835 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16837 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16838 Include mpa.h and declare __MPEXP.
16839 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16840 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16841 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16842 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16843 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16844 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16845 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16847 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16848 (__slowpow): Use long double EXPL and LOGL functions to
16850 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16851 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16852 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16853 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16854 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16855 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16858 intermediate variable to calculate exponent.
16860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16864 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16865 [!NO__SQR]: Define __sqr.
16866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16867 and NO__SQR. Remove all code except __mul and __sqr. Include
16868 sysdeps/ieee754/dbl-64/mpa.c.
16869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16872 * posix/Makefile (tests): Add tst-pathconf.
16873 * posix/tst-pathconf.c: New test case.
16874 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16876 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16878 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16880 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16882 2013-03-06 Andreas Jaeger <aj@suse.de>
16884 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16885 definition via __MAP_ANONYMOUS.
16887 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16888 it's not part of Linux headers.
16890 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16891 (MAP_HUGE_MASK): Define.
16893 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16895 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16896 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16898 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16899 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16901 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16902 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16904 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16906 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16907 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16908 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16909 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16910 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16911 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16913 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16916 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16917 Handle f2fs and efivarfs.
16919 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16922 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16923 (EFIVARFS_MAGIC): Add.
16924 (F2FS_LINK_MAX): Add.
16926 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16928 * stdio-common/vfprintf.c: Replace __builtin_expect with
16931 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16934 * sysdeps/generic/bp-sym.h: Remove file.
16935 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16936 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16937 <bp-sym.h> and <bp-asm.h>.
16938 (__longjmp): Don't use BP_SYM.
16939 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16941 (memcpy): Don't use BP_SYM.
16942 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16943 <bp-sym.h> and <bp-asm.h>.
16944 (memcpy): Don't use BP_SYM.
16945 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16947 (memcpy): Don't use BP_SYM.
16948 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16950 (memset): Don't use BP_SYM.
16951 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16952 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16953 (__bzero): Don't use BP_SYM.
16954 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16955 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16956 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16957 <bp-sym.h> and <bp-asm.h>.
16958 (memcmp): Don't use BP_SYM. Remove comment about bounded
16960 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16961 <bp-sym.h> and <bp-asm.h>.
16962 (memcpy): Don't use BP_SYM.
16963 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16964 <bp-sym.h> and <bp-asm.h>.
16965 (memset): Don't use BP_SYM.
16966 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16967 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16968 (__bzero): Don't use BP_SYM.
16969 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16970 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16971 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16972 <bp-sym.h> and <bp-asm.h>.
16973 (strncmp): Don't use BP_SYM. Remove comment about bounded
16975 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16976 <bp-sym.h> and <bp-asm.h>.
16977 (memcpy): Don't use BP_SYM.
16978 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16979 <bp-sym.h> and <bp-asm.h>.
16980 (memset): Don't use BP_SYM.
16981 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16982 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16983 (__bzero): Don't use BP_SYM.
16984 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16985 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16986 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16987 <bp-sym.h> and <bp-asm.h>.
16988 (__memchr): Don't use BP_SYM.
16989 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16990 <bp-sym.h> and <bp-asm.h>.
16991 (memcmp): Don't use BP_SYM. Remove comment about bounded
16993 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16994 <bp-sym.h> and <bp-asm.h>.
16995 (memcpy): Don't use BP_SYM.
16996 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16997 <bp-sym.h> and <bp-asm.h>.
16998 (__mempcpy): Don't use BP_SYM.
16999 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17000 <bp-sym.h> and <bp-asm.h>.
17001 (__memrchr): Don't use BP_SYM.
17002 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17003 <bp-sym.h> and <bp-asm.h>.
17004 (memset): Don't use BP_SYM.
17005 (__bzero): Likewise.
17006 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17007 <bp-sym.h> and <bp-asm.h>.
17008 (__rawmemchr): Don't use BP_SYM.
17009 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17010 <bp-sym.h> and <bp-asm.h>.
17011 (__STRCMP): Don't use BP_SYM.
17012 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17013 <bp-sym.h> and <bp-asm.h>.
17014 (strchr): Don't use BP_SYM.
17015 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17016 <bp-sym.h> and <bp-asm.h>.
17017 (__strchrnul): Don't use BP_SYM.
17018 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17019 <bp-sym.h> and <bp-asm.h>.
17020 (strlen): Don't use BP_SYM.
17021 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17022 <bp-sym.h> and <bp-asm.h>.
17023 (strncmp): Don't use BP_SYM. Remove comment about bounded
17025 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17026 <bp-sym.h> and <bp-asm.h>.
17027 (__strnlen): Don't use BP_SYM.
17028 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17029 <bp-sym.h> and <bp-asm.h>.
17030 (__GI__setjmp): Don't use BP_SYM.
17031 (_setjmp): Likewise.
17032 (__sigsetjmp): Likewise.
17033 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17034 (L(start_addresses)): Don't use BP_SYM.
17035 (_start): Likewise.
17036 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17038 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17039 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17040 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17041 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17042 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17044 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17045 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17046 about bounded pointers.
17047 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17048 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17049 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17051 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17052 about bounded pointers. Remove GKM FIXME comments.
17053 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17054 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17056 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17057 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17058 Remove GKM FIXME comments.
17059 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17060 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17061 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17063 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17064 about bounded pointers. Remove GKM FIXME comment.
17065 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17067 (strncmp): Don't use BP_SYM. Remove comment about bounded
17069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17070 <bp-sym.h> and <bp-asm.h>.
17071 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17073 <bp-sym.h> and <bp-asm.h>.
17074 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17077 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17079 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17082 2013-03-05 David S. Miller <davem@davemloft.net>
17084 * po/es.po: Update from translation team.
17086 2013-03-05 Andreas Jaeger <aj@suse.de>
17088 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17089 <bits/mman-linux.h>.
17090 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17092 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17093 <bits/mman-linux.h> to end of file.
17094 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17096 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17097 <bits/mman-linux.h> to end of file.
17098 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17100 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17101 <bits/mman-linux.h> to end of file.
17103 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17104 (MCL_CURRENT, MCL_FUTURE): Define here.
17106 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17109 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17111 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17113 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17115 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17116 fourth parameter needed for rt_sigprocmask syscall.
17117 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17118 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17119 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17120 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17121 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17122 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17124 2013-03-04 Joseph Myers <joseph@codesourcery.com>
17127 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17128 comment about bounded pointers.
17129 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17130 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17132 2013-03-04 Andreas Jaeger <aj@suse.de>
17134 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17135 common definitions.
17137 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17138 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17139 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17140 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17141 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17142 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17144 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17147 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17148 __ieee754_sqrl instead of __sqrl.
17150 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17152 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17153 * sysdeps/powerpc/fpu_control.h: ... here.
17154 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17155 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17156 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17157 * sysdeps/powerpc/bits/mathinline.h: ... here.
17159 2013-03-01 Roland McGrath <roland@hack.frob.com>
17161 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17162 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17163 to just [NEED_DL_SYSINFO_DSO].
17164 * elf/dl-support.c: Likewise.
17165 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17166 * elf/rtld.c (dl_main): Likewise.
17167 * elf/setup-vdso.h (setup_vdso): Likewise.
17168 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17169 * sysdeps/unix/sysv/linux/dl-sysdep.c
17170 (_dl_discover_osversion): Likewise.
17172 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17174 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17175 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17177 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17179 * NEWS: Mention libm performance improvements and non-x86 PI
17182 * csu/libc-start.c (__pthread_initialize_minimal): Change
17183 function arguments.
17184 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17186 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17189 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17190 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17191 <bp-sym.h> and <bp-asm.h>.
17192 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17193 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17195 (memcpy): Don't use BP_SYM.
17196 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17198 (__mpn_add_n): Don't use BP_SYM.
17199 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17200 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17202 (__mpn_addmul_1): Don't use BP_SYM.
17203 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17204 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17206 (_setjmp): Don't use BP_SYM.
17207 (__novmx_setjmp): Likewise.
17208 (__GI__setjmp): Likewise.
17209 (__vmx_setjmp): Likewise.
17210 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17212 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17213 (__bzero): Don't use BP_SYM.
17214 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17215 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17216 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17217 <bp-sym.h> and <bp-asm.h>.
17218 (memcpy): Don't use BP_SYM.
17219 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17220 <bp-sym.h> and <bp-asm.h>.
17221 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17222 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17223 <bp-sym.h> and <bp-asm.h>.
17224 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17225 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17227 (__mpn_lshift): Don't use BP_SYM.
17228 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17229 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17231 (memset): Don't use BP_SYM.
17232 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17233 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17234 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17236 (__mpn_mul_1): Don't use BP_SYM.
17237 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17238 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17239 <bp-sym.h> and <bp-asm.h>.
17240 (memcmp): Don't use BP_SYM.
17241 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17242 <bp-sym.h> and <bp-asm.h>.
17243 (memcpy): Don't use BP_SYM.
17244 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17245 <bp-sym.h> and <bp-asm.h>.
17246 (memset): Don't use BP_SYM.
17247 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17248 <bp-sym.h> and <bp-asm.h>.
17249 (strncmp): Don't use BP_SYM.
17250 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17251 <bp-sym.h> and <bp-asm.h>.
17252 (memcpy): Don't use BP_SYM.
17253 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17254 <bp-sym.h> and <bp-asm.h>.
17255 (memset): Don't use BP_SYM.
17256 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17257 <bp-sym.h> and <bp-asm.h>.
17258 (__memchr): Don't use BP_SYM.
17259 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17260 <bp-sym.h> and <bp-asm.h>.
17261 (memcmp): Don't use BP_SYM.
17262 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17263 <bp-sym.h> and <bp-asm.h>.
17264 (memcpy): Don't use BP_SYM.
17265 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17266 <bp-sym.h> and <bp-asm.h>.
17267 (__mempcpy): Don't use BP_SYM.
17268 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17269 <bp-sym.h> and <bp-asm.h>.
17270 (__memrchr): Don't use BP_SYM.
17271 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17272 <bp-sym.h> and <bp-asm.h>.
17273 (memset): Don't use BP_SYM.
17274 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17275 <bp-sym.h> and <bp-asm.h>.
17276 (__rawmemchr): Don't use BP_SYM.
17277 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17278 <bp-sym.h> and <bp-asm.h>.
17279 (__STRCMP): Don't use BP_SYM.
17280 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17281 <bp-sym.h> and <bp-asm.h>.
17282 (strchr): Don't use BP_SYM.
17283 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17284 <bp-sym.h> and <bp-asm.h>.
17285 (__strchrnul): Don't use BP_SYM.
17286 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17287 <bp-sym.h> and <bp-asm.h>.
17288 (strlen): Don't use BP_SYM.
17289 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17290 <bp-sym.h> and <bp-asm.h>.
17291 (strncmp): Don't use BP_SYM.
17292 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17293 <bp-sym.h> and <bp-asm.h>.
17294 (__strnlen): Don't use BP_SYM.
17295 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17297 (__mpn_rshift): Don't use BP_SYM.
17298 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17299 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17300 <bp-sym.h> and <bp-asm.h>.
17301 (__sigsetjmp): Don't use BP_SYM.
17302 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17303 (L(start_addresses)): Don't use BP_SYM.
17304 (_start): Likewise.
17305 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17307 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17308 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17309 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17310 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17312 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17313 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17314 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17315 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17317 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17319 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17320 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17322 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17324 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17325 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17326 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17328 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17330 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17332 (strncmp): Don't use BP_SYM,
17333 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17335 (__mpn_sub_n): Don't use BP_SYM.
17336 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17337 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17339 (__mpn_submul_1): Don't use BP_SYM.
17340 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17342 <bp-sym.h> and <bp-asm.h>.
17343 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17345 <bp-sym.h> and <bp-asm.h>.
17346 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17349 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17352 Use ZK to minimize writes to Z.
17353 (sub_magnitudes): Simplify code a bit.
17354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17355 Use ZK to minimize writes to Z.
17356 (sub_magnitudes): Simplify code a bit.
17358 2013-02-27 Roland McGrath <roland@hack.frob.com>
17360 * csu/gmon-start.c: Add special exception to license text.
17362 2013-02-27 Richard Henderson <rth@redhat.com>
17364 * scripts/config.guess: Update from config.git.
17365 * scripts/config.sub: Likewise.
17367 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17369 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17371 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17373 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17375 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17377 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17379 2013-02-26 Roland McGrath <roland@hack.frob.com>
17381 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17382 [$(build-shared = yes].
17384 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17386 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17387 (__mul): Reduce iterations for calculating mantissa.
17389 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17391 (__mpranred): Likewise.
17394 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17395 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17397 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17399 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17400 Define __attribute__.
17402 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17404 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17406 * posix/regex_internal.h (__attribute): Remove.
17407 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17408 (re_string_context_at): Likewise.
17409 (bitset_not): Use __attribute__ and mark function as possibly
17411 (bitset_merge): Likewise.
17412 (bitset_mask): Likewise.
17413 (re_string_char_size_at): Likewise.
17414 (re_string_wchar_at): Likewise.
17415 (re_string_elem_size_at): Likewise.
17417 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17419 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17423 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17427 (denorm): Likewise.
17428 (__dbl_mp): Likewise.
17429 (add_magnitudes): Likewise.
17430 (sub_magnitudes): Likewise.
17434 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17437 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17440 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17444 up changes with default code.
17445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17448 2013-02-24 Allan McRae <allan@archlinux.org>
17450 * manual/socket.texi (The Internet Namespace): Order menu items
17451 to match that in the file.
17453 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17454 node listing of the info page menu.
17456 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17459 * sysdeps/i386/bp-asm.h: Remove file.
17460 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17461 (PARMS): Do not use macros from bp-asm.h.
17465 (__mpn_add_n): Do not use BP_SYM
17466 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17468 (PARMS): Do not use macros from bp-asm.h.
17471 (__mpn_addmul_1): Do not use BP_SYM
17472 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17474 (PARMS): Do not use macros from bp-asm.h.
17475 (SIGMSK): Likewise.
17476 (_setjmp): Likewise. Do not use BP_SYM.
17477 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17479 (PARMS): Do not use macros from bp-asm.h.
17480 (SIGMSK): Likewise.
17481 (setjmp): Likewise. Do not use BP_SYM.
17482 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17484 (PARMS): Do not use macros from bp-asm.h.
17485 (__frexp): Do not use BP_SYM.
17487 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17489 (PARMS): Do not use macros from bp-asm.h.
17490 (__frexpf): Do not use BP_SYM.
17491 (frexpf): Likewise.
17492 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17494 (PARMS): Do not use macros from bp-asm.h.
17495 (__frexpl): Do not use BP_SYM.
17496 (frexpl): Likewise.
17497 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17499 (PARMS): Do not use macros from bp-asm.h.
17500 (__remquo): Do not use BP_SYM.
17501 (remquo): Likewise.
17502 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17504 (PARMS): Do not use macros from bp-asm.h.
17505 (__remquof): Do not use BP_SYM.
17506 (remquof): Likewise.
17507 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17509 (PARMS): Do not use macros from bp-asm.h.
17510 (__remquol): Do not use BP_SYM.
17511 (remquol): Likewise.
17512 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17514 (PARMS): Do not use macros from bp-asm.h.
17517 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17518 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17520 (PARMS): Do not use macros from bp-asm.h.
17521 (strlen): Do not use BP_SYM.
17522 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17524 (PARMS): Do not use macros from bp-asm.h.
17528 (__mpn_add_n): Do not use BP_SYM.
17529 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17531 (PARMS): Do not use macros from bp-asm.h.
17534 (__mpn_addmul_1): Do not use BP_SYM.
17535 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17538 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17540 (PARMS): Do not use macros from bp-asm.h.
17543 (__mpn_lshift): Do not use BP_SYM.
17544 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17546 (PARMS): Do not use macros from bp-asm.h.
17550 (memcpy): Likewise. Do not use BP_SYM.
17551 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17552 libc_hidden_def and weak_alias.
17553 (mempcpy): Do not use BP_SYM in weak_alias.
17554 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17556 (PARMS): Do not use macros from bp-asm.h.
17559 [!BZERO_P] (CHR): Likewise.
17560 (memset): Likewise. Do not use BP_SYM.
17561 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17563 (PARMS): Do not use macros from bp-asm.h.
17566 (__mpn_mul_1): Do not use BP_SYM.
17567 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17569 (PARMS): Do not use macros from bp-asm.h.
17572 (__mpn_rshift): Do not use BP_SYM.
17573 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17575 (PARMS): Do not use macros from bp-asm.h.
17578 (strchr): Likewise. Do not use BP_SYM.
17579 (index): Do not use BP_SYM in weak_alias.
17580 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17582 (PARMS): Do not use macros from bp-asm.h.
17585 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17586 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17588 (PARMS): Do not use macros from bp-asm.h.
17589 (strlen): Do not use BP_SYM.
17590 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17592 (PARMS): Do not use macros from bp-asm.h.
17596 (__mpn_sub_n): Do not use BP_SYM.
17597 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17599 (PARMS): Do not use macros from bp-asm.h.
17602 (__mpn_submul_1): Do not use BP_SYM.
17603 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17605 (PARMS): Do not use macros from bp-asm.h.
17609 (__mpn_add_n): Do not use BP_SYM.
17610 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17613 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17615 (PARMS): Do not use macros from bp-asm.h.
17618 (memcmp): Do not use BP_SYM.
17619 (bcmp): Do not use BP_SYM in weak_alias.
17620 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17622 (PARMS): Do not use macros from bp-asm.h.
17626 (memcpy): Likewise. Do not use BP_SYM.
17627 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17629 (PARMS): Do not use macros from bp-asm.h.
17633 (memmove): Likewise. Do not use BP_SYM.
17634 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17636 (PARMS): Do not use macros from bp-asm.h.
17640 (__mempcpy): Likewise. Do not use BP_SYM.
17641 (mempcpy): Do not use BP_SYM in weak_alias.
17642 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17644 (PARMS): Do not use macros from bp-asm.h.
17647 [!BZERO_P] (CHR): Likewise.
17648 (memset): Likewise. Do not use BP_SYM.
17649 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17651 (PARMS): Do not use macros from bp-asm.h.
17653 (strcmp): Do not use BP_SYM.
17654 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17656 (PARMS): Do not use macros from bp-asm.h.
17659 [USE_AS_STRTOK_R] (SAVE): Likewise.
17660 (FUNCTION): Likewise. Do not use BP_SYM.
17661 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17663 (strtok_r): Likewise.
17664 (__GI___strtok_r): Likewise.
17665 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17666 (PARMS): Do not use macros from bp-asm.h.
17669 (__mpn_lshift): Do not use BP_SYM.
17670 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17671 (PARMS): Do not use macros from bp-asm.h.
17674 (__memchr): Do not use BP_SYM.
17675 (memchr): Do not use BP_SYM in weak_alias.
17676 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17677 (PARMS): Do not use macros from bp-asm.h.
17680 (memcmp): Do not use BP_SYM.
17681 (bcmp): Do not use BP_SYM in weak_alias.
17682 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17683 (PARMS): Do not use macros from bp-asm.h.
17686 (__mpn_mul_1): Do not use BP_SYM.
17687 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17689 (PARMS): Do not use macros from bp-asm.h.
17692 (__rawmemchr): Do not use BP_SYM.
17693 (rawmemchr): Do not use BP_SYM in weak_alias.
17694 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17695 (PARMS): Do not use macros from bp-asm.h.
17698 (__mpn_rshift): Do not use BP_SYM.
17699 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17700 (PARMS): Do not use macros from bp-asm.h.
17701 (SIGMSK): Likewise.
17702 (__sigsetjmp): Likewise. Do not use BP_SYM.
17703 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17704 (_start): Do not use BP_SYM.
17705 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17706 (PARMS): Do not use macros from bp-asm.h.
17709 (__stpcpy): Likewise. Do not use BP_SYM.
17710 (stpcpy): Do not use BP_SYM in weak_alias.
17711 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17713 (PARMS): Do not use macros from bp-asm.h.
17717 (__stpncpy): Likewise. Do not use BP_SYM.
17718 (stpncpy): Do not use BP_SYM in weak_alias.
17719 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17720 (PARMS): Do not use macros from bp-asm.h.
17723 (strchr): Likewise. Do not use BP_SYM.
17724 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17726 (PARMS): Do not use macros from bp-asm.h.
17729 (__strchrnul): Likewise. Do not use BP_SYM.
17730 (strchrnul): Do not use BP_SYM in weak_alias.
17731 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17733 (PARMS): Do not use macros from bp-asm.h.
17735 (strcspn): Do not use BP_SYM.
17736 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17738 (PARMS): Do not use macros from bp-asm.h.
17741 (strpbrk): Likewise. Do not use BP_SYM.
17742 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17744 (PARMS): Do not use macros from bp-asm.h.
17747 (strrchr): Likewise. Do not use BP_SYM.
17748 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17749 (PARMS): Do not use macros from bp-asm.h.
17751 (strspn): Do not use BP_SYM.
17752 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17753 (PARMS): Do not use macros from bp-asm.h.
17757 (FUNCTION): Likewise. Do not use BP_SYM.
17758 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17760 (strtok_r): Likewise.
17761 (__GI___strtok_r): Likewise.
17762 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17763 (PARMS): Do not use macros from bp-asm.h.
17767 (__mpn_sub_n): Do not use BP_SYM.
17768 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17770 (PARMS): Do not use macros from bp-asm.h.
17773 (__mpn_submul_1): Do not use BP_SYM.
17774 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17776 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17778 (PARMS): Do not use macros from bp-asm.h.
17783 (__clone): Do not use BP_SYM.
17784 (clone): Do not use BP_SYM in weak_alias.
17785 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17787 (PARMS): Do not use macros from bp-asm.h.
17789 (__mmap64): Do not use BP_SYM.
17790 (mmap64): Do not use BP_SYM in weak_alias.
17791 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17792 <bp-sym.h> and <bp-asm.h>.
17793 (PARMS): Do not use macros from bp-asm.h.
17794 (__posix_fadvise64_l64): Do not use BP_SYM.
17795 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17796 (PARMS): Do not use macros from bp-asm.h.
17798 (semtimedop): Do not use BP_SYM.
17799 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17802 2013-02-21 Allan McRae <allan@archlinux.org>
17804 * manual/message.texi (Charset conversion in gettext):
17805 Move @end statement to beginning of line.
17807 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17814 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17815 (denorm): Likewise.
17816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17819 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17821 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17822 tail-call to the resolved function if pltexit isn't needed.
17824 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17827 or Y being zero as being unlikely.
17828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17831 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17833 * manual/nss.texi (System Databases and Name Service Switch):
17834 Remove frobnicate @pxref.
17836 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17838 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17839 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17841 2013-02-20 Petr Machata <pmachata@redhat.com>
17843 * elf/elf.h (R_ARM_TARGET1): New macro.
17844 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17845 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17846 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17847 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17848 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17849 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17850 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17851 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17852 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17853 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17854 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17855 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17856 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17857 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17858 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17859 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17860 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17861 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17862 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17863 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17864 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17865 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17866 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17867 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17868 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17869 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17870 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17871 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17872 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17873 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17874 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17875 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17876 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17877 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17878 (R_ARM_THM_GOT_BREL12): Likewise.
17879 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17880 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17881 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17882 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17883 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17884 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17885 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17886 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17887 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17889 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17891 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17892 __attribute_used__ to __attribute__ ((unused)).
17894 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17896 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17899 comment formatting.
17900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17902 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17905 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17907 (ENTER): Remove both macro definitions.
17909 (CHECK_BOUNDS_LOW): Likewise.
17910 (CHECK_BOUNDS_HIGH): Likewise.
17911 (CHECK_BOUNDS_BOTH): Likewise.
17912 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17913 (RETURN_BOUNDED_POINTER): Likewise.
17914 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17915 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17916 (POP_ERRNO_LOCATION_RETURN): Likewise.
17917 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17918 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17919 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17921 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17922 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17923 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17924 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17925 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17926 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17927 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17928 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17929 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17930 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17931 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17932 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17933 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17934 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17936 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17937 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17939 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17940 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17941 * sysdeps/i386/i586/memset.S (memset): Likewise.
17942 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17943 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17944 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17946 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17947 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17948 Change uses of L(2) to L(out).
17949 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17950 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17951 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17952 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17953 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17955 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17956 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17958 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17959 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17960 (RETURN): Do not use macro LEAVE.
17961 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17962 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17963 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17964 * sysdeps/i386/i686/memset.S (memset): Likewise.
17965 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17966 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17967 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17968 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17970 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17971 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17972 L(1_2) and L(1_3) into L(1).
17973 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17974 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17975 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17976 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17977 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17978 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17979 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17980 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17981 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17983 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17984 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17985 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17986 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17987 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17988 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17989 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17990 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17991 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17992 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17993 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17994 * sysdeps/i386/strspn.S (strspn): Likewise.
17995 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17997 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17998 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17999 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18000 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18001 L(1_3) into L(1_1).
18002 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18003 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18004 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18006 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18008 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18010 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18013 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18015 * math/atest-exp.c (exp_mpn): Remove ROUND.
18016 * math/atest-exp2.c (exp_mpn): Likewise.
18017 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18019 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18020 * stdlib/tst-tls-atexit-lib.c: Likewise.
18021 * stdlib/tst-tls-atexit.c: Likewise.
18023 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18025 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18026 and __attribute_alloc_size__.
18028 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18030 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18031 __attribute_alloc_size__.
18032 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18033 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18035 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18037 * include/programs/xmalloc.h: New file.
18038 * catgets/gencat.c: Include it.
18039 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18040 * elf/pldd.c: Likewise.
18041 * iconv/iconv_charmap.c: Likewise.
18042 * iconv/iconvconfig.c: Likewise.
18043 * iconv/strtab.c: Likewise.
18044 * locale/programs/locale.c: Likewise.
18045 * locale/programs/localedef.h: Likewise.
18046 * locale/programs/simple-hash.c: Likewise.
18047 * nscd/nscd.h: Likewise.
18048 * nss/makedb.c: Likewise.
18049 * sysdeps/generic/ldconfig.h: Likewise.
18051 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18053 * Versions.def: Add GLIBC_2.18.
18054 * include/link.h (struct link_map): New member l_tls_dtor_count.
18055 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18056 (__call_tls_dtors): Likewise.
18057 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18058 __cxa_thread_atexit_impl.
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18067 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18075 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18076 (tests): Add test case tst-tls-atexit.
18077 (modules-names): Add shared library for tst-tls-atexit.
18078 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18079 (GLIBC_PRIVATE): Add __call_tls_dtors.
18080 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18082 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18083 * stdlib/tst-tls-atexit.c: New test case.
18084 * stdlib/tst-tls-atexit-lib.c: New test case.
18086 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18088 * elf/Versions (ld): Add _dl_find_dso_for_object.
18089 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18090 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18091 (dl_open_worker): Use _dl_find_dso_for_object.
18092 * elf/dl-sym.c (do_sym): Likewise.
18093 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18095 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18097 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18098 Syntactic changes only.
18099 (_dl_runtime_profile): Do a tail-call to the resolved function.
18101 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18104 * sysdeps/x86_64/bp-asm.h: Remove file.
18105 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18106 <bp-sym.h> and <bp-asm.h>.
18107 (__clone): Do not use BP_SYM.
18108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18109 <bp-sym.h> and <bp-asm.h>.
18110 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18111 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18113 (_setjmp): Do not use BP_SYM.
18114 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18116 (setjmp): Do not use BP_SYM.
18117 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18119 (mempcpy): Do not use BP_SYM in weak_alias.
18120 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18122 (strchr): Do not use BP_SYM.
18123 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18125 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18126 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18127 (_start): Do not use BP_SYM.
18128 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18130 (strcat): Do not use BP_SYM.
18131 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18133 (STRCMP): Do not use BP_SYM.
18134 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18136 (STRCPY): Do not use BP_SYM.
18137 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18139 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18141 (FUNCTION): Do not use BP_SYM.
18142 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18144 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18146 2013-02-17 Andreas Jaeger <aj@suse.de>
18148 * time/Versions: Sort entries.
18149 * string/Versions: Likewise.
18150 * resolv/Versions: Likewise.
18151 * posix/Versions: Likewise.
18152 * iconv/Versions: Likewise.
18153 * elf/Versions: Likewise.
18154 * wcsmbs/Versions: Likewise.
18156 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18158 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18159 loop termination condition.
18161 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18162 variable to calculate EZ.
18165 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18166 the lower precision input.
18168 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18171 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18172 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18173 (run-via-rtld-prefix): Do not handle %-bp tests.
18174 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18175 (all-object-suffixes): Remove .ob.
18176 (bppfx): Remove variable.
18177 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18178 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18179 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18180 [$(build-bounded) = yes] (libtype.ob): Likewise.
18181 * Makerules (elide-routines.ob): Remove variable.
18182 (do-tests-clean): Do not handle *-bp.out.
18183 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18184 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18185 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18186 (tests): Do not include $(tests-bp.out).
18187 (xtests): Do not include $(xtests-bp.out).
18188 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18189 [$(build-bounded) = yes] ($(addprefix
18190 $(objpfx),$(binaries-bounded))): Remove rule.
18191 ($(objpfx)%-bp.out): Remove rule.
18192 * config.make.in (build-bounded): Remove variable.
18193 * crypt/Makefile [$(build-bounded) = yes]
18194 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18195 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18196 append to variable.
18197 [$(build-bounded) = yes] (install-lib): Likewise.
18198 [$(build-bounded) = yes] (generated): Likewise.
18199 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18201 * intl/Makefile [$(build-bounded) = yes]
18202 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18203 * math/Makefile [$(build-bounded) = yes]
18204 ($(tests:%=$(objpfx)%-bp): Likewise.
18205 * misc/Makefile [$(build-bounded) = yes]
18206 ($(objpfx)tst-tsearch-bp): Likewise.
18207 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18208 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18210 * string/Makefile (o-objects.ob): Remove variable.
18211 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18212 (CFLAGS-.ob): Remove variable.
18213 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18214 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18215 both definitions of variable.
18216 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18217 (ASFLAGS-.ob): Remove variable.
18219 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18222 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18223 Remove __BOUNDED_POINTERS__ from condition.
18224 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18225 * string/bits/string2.h [!__NO_STRING_INLINES &&
18226 !__BOUNDED_POINTERS__]: Likewise.
18227 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18229 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18230 Remove conditional code.
18231 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18232 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18233 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18237 * csu/libc-start.c: Do not include <bp-sym.h>.
18238 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18239 * elf/dl-open.c: Do not include <bp-sym.h>.
18240 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18241 * math/fegetenv.c: Do not include <bp-sym.h>.
18242 (fegetenv): Do not use BP_SYM in versioned symbols.
18243 * nptl/sysdeps/pthread/bits/libc-lockP.h
18244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18247 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18249 (__pthread_mutex_destroy): Likewise.
18250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18251 (__pthread_mutex_lock): Likewise.
18252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18253 (__pthread_mutex_trylock): Likewise.
18254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18255 (__pthread_mutex_unlock): Likewise.
18256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18257 (__pthread_mutexattr_init): Likewise.
18258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18259 (__pthread_mutexattr_destroy): Likewise.
18260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18261 (__pthread_mutexattr_settype): Likewise.
18262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18263 (__pthread_rwlock_init): Likewise.
18264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18265 (__pthread_rwlock_destroy): Likewise.
18266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18267 (__pthread_rwlock_rdlock): Likewise.
18268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18269 (__pthread_rwlock_tryrdlock): Likewise.
18270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18271 (__pthread_rwlock_wrlock): Likewise.
18272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18273 (__pthread_rwlock_trywrlock): Likewise.
18274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18275 (__pthread_rwlock_unlock): Likewise.
18276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18277 (__pthread_key_create): Likewise.
18278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18279 (__pthread_setspecific): Likewise.
18280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18281 (__pthread_getspecific): Likewise.
18282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18285 (_pthread_cleanup_push_defer): Likewise.
18286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18287 (_pthread_cleanup_pop_restore): Likewise.
18288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18289 (pthread_setcancelstate): Likewise.
18290 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18292 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18293 (memchr): Do not use BP_SYM in weak_alias.
18294 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18295 (fegetenv): Do not use BP_SYM in versioned symbols.
18296 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18297 (fesetenv): Do not use BP_SYM in versioned symbols.
18298 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18299 (feupdateenv): Do not use BP_SYM in versioned symbols.
18300 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18301 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18302 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18303 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18304 (open64): Do not use BP_SYM in weak_alias.
18305 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18306 (fegetenv): Do not use BP_SYM in versioned symbols.
18307 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18308 (fesetenv): Do not use BP_SYM in versioned symbols.
18309 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18310 (feupdateenv): Do not use BP_SYM in versioned symbols.
18311 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18312 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18313 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18314 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18315 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18316 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18317 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18319 (__libc_start_main): Do not use BP_SYM.
18321 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18324 redundant return line.
18326 (denorm): Likewise.
18327 (dbl_mp): Likewise.
18328 (sub_magnitudes): Likewise.
18334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18336 (denorm): Likewise.
18337 (dbl_mp): Likewise.
18338 (sub_magnitudes): Likewise.
18345 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18347 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18348 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18351 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18352 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18353 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18354 of __mul for squares.
18355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18359 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18360 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18362 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18365 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18367 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18368 prototype or function definition. Rename ubp_* variables and
18369 parameters. Remove argv definitions conditional on
18370 [__BOUNDED_POINTERS__].
18371 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18372 * elf/dl-runtime.c (_dl_fixup): Likewise.
18373 * include/set-hooks.h (RUN_HOOK): Likewise.
18374 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18376 * string/strcpy.c (strcpy): Do not use __unbounded.
18377 * sysdeps/generic/frame.h (struct layout): Likewise.
18378 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18379 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18380 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18381 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18382 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18383 (__backtrace): Likewise.
18384 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18386 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18387 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18388 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18390 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18391 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18392 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18393 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18394 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18395 Do not use __unbounded.
18396 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18397 Rename __unboundedrlimits parameter to rlimits in prototype.
18398 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18399 Do not use __unbounded.
18400 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18401 not use __ptrvalue.
18402 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18403 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18404 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18405 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18406 __ptrvalue or __unbounded.
18407 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18408 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18410 (__new_msgctl): Do not use __ptrvalue.
18411 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18413 (__libc_msgrcv): Do not use __ptrvalue.
18414 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18415 startup_info): Do not use __unbounded.
18416 (__libc_start_main): Likewise. Rename ubp_* variables and
18417 parameters. Remove argv definitions conditional on
18418 [__BOUNDED_POINTERS__].
18419 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18421 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18423 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18425 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18427 (__new_shmctl): Do not use __ptrvalue.
18428 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18429 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18431 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18432 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18433 (__libc_sigaction): Likewise.
18434 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18435 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18437 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18439 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18441 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18443 * string/mempcpy.c: Implement by calling memcpy.
18445 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18447 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18449 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18452 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18453 values in the mantissa.
18455 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18456 minimize writes to Z.
18457 (sub_magnitudes): Simplify code a bit.
18459 2013-02-12 Roland McGrath <roland@hack.frob.com>
18461 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18462 from the message. The linker prefixes all warnings with that already.
18464 2013-02-12 Andreas Schwab <schwab@suse.de>
18467 * posix/regexec.c (extend_buffers): Add parameter min_len.
18468 (check_matching): Pass minimum needed length.
18469 (clean_state_log_if_needed): Likewise.
18470 (get_subexp): Likewise.
18471 * posix/Makefile (tests): Add bug-regex34.
18472 (bug-regex34-ENV): Define.
18473 * posix/bug-regex34.c: New file.
18476 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18477 elements compare against the byte sequence of it, not its name.
18478 * posix/Makefile (tests): Add bug-regex35.
18479 (bug-regex35-ENV): Define.
18480 * posix/bug-regex35.c: New file.
18482 2013-02-11 Tom de Vries <tom@codesourcery.com>
18484 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18486 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18487 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18488 (CHECK_EOL): Add undef.
18490 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18492 * bits/stdlib-bsearch.h: New file.
18493 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18494 * stdlib/stdlib.h: Likewise.
18496 2013-02-11 Roland McGrath <roland@hack.frob.com>
18498 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18499 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18501 * manual/search.texi (Array Search Function): Add missing const in
18503 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18504 declaration to use rlim_t.
18505 (Basic Scheduling Functions): Remove erroneous const from
18506 sched_getparam prototype. Remove erroneous * from
18507 sched_get_priority_max and sched_get_priority_min prototypes.
18508 (Resource Usage): Fix summary @comment on vtimes to refer to
18509 sys/vtimes.h rather than vtimes.h.
18510 Add missing *s in vtimes prototype.
18511 (Limits on Resources): Fix ulimit prototype to return long int.
18512 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18513 prototypes to use long int rather than double.
18514 (BSD Random): Fix initstate and setstate to use char *, not void *.
18515 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18516 prototype to make second argument 'struct aiocb64 *const[]'.
18517 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18518 (Status of AIO Operations): Remove erroneous const in aio_return and
18519 aio_return64 prototypes.
18520 (Synchronizing I/O): Fix sync prototype to return void.
18521 * manual/startup.texi (Suboptions): Remove an erroneous const in
18522 getsubopt prototype.
18523 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18524 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18525 use size_t rather than int.
18526 (Scanning All Users): Likewise for getpwent_r.
18527 (Setting Groups): Add missing const to setgroups prototype.
18528 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18529 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18530 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18531 'const void *' rather than 'const char *'.
18532 (Host Address Functions): Likewise for inet_ntop.
18533 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18534 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18535 ssize_t for return value.
18536 (Sending Data): Likewise for send, sendto, sendmsg.
18537 (Socket Option Functions): Add a missing const in setsockopt prototype.
18538 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18539 use wchar_t for the argument.
18540 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18541 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18543 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18544 double/float/long double for second argument.
18545 Fix return types of significand, significandf, significandl.
18546 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18547 argument in fchmod prototype.
18548 (File Owner): Use uid_t and gid_t in fchown prototype.
18549 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18550 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18551 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18552 use 'const struct dirent **' as argument types to CMP function pointer
18554 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18555 (File Times): Fix summary magic @comment for struct utimbuf and utime
18556 to refer to utime.h, not time.h.
18557 * manual/string.texi (Argz Functions): Add missing const in
18558 argz_extract and argz_next prototypes.
18559 (Finding Tokens in a String): Likewise for basename.
18560 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18561 (Copying and Concatenation): Fix typo in wmemmove prototype.
18562 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18563 (Signal Stack): Remove erroneous const in sigstack prototype.
18564 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18566 (Simple Calendar Time): Likewise for stime.
18567 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18569 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18570 say sys/sysctl.h instead.
18571 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18572 and vsyslog prototypes.
18574 2013-02-11 Tom de Vries <tom@codesourcery.com>
18576 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18579 2013-02-11 Roland McGrath <roland@hack.frob.com>
18581 * misc/sys/mman.h: Fix typo in mremap comment.
18583 2013-02-08 Roland McGrath <roland@hack.frob.com>
18585 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18586 the '\0' terminator.
18588 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18591 * debug/segfault.c: Don't include <bp-checks.h>.
18592 * sysdeps/generic/bp-checks.h: Remove file.
18593 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18594 (__GETDENTS): Don't use CHECK_N.
18595 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18596 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18597 (__getgroups): Don't use CHECK_N.
18598 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18599 (setgroups): Don't use CHECK_N.
18600 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18601 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18602 (__libc_msgrcv): Don't use CHECK_N.
18603 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18604 (__libc_msgsnd): Don't use CHECK_N.
18605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18607 (__libc_pread): Don't use CHECK_N.
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18609 include <bp-checks.h>.
18610 (__libc_pread64): Don't use CHECK_N.
18611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18612 include <bp-checks.h>.
18613 (__libc_pwrite): Don't use CHECK_N.
18614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18615 include <bp-checks.h>.
18616 (__libc_pwrite64): Don't use CHECK_N.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18619 (__libc_pread): Don't use CHECK_N.
18620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18621 include <bp-checks.h>.
18622 (__libc_pread64): Don't use CHECK_N.
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18624 include <bp-checks.h>.
18625 (__libc_pwrite): Don't use CHECK_N.
18626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18627 include <bp-checks.h>.
18628 (__libc_pwrite64): Don't use CHECK_N.
18629 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18630 (do_pread): Don't use CHECK_N.
18631 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18632 (do_pread64): Don't use CHECK_N.
18633 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18634 (do_pwrite): Don't use CHECK_N.
18635 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18636 (do_pwrite64): Don't use CHECK_N.
18637 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18638 (__libc_readv): Don't use CHECK_N.
18639 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18640 (semop): Don't use CHECK_N.
18641 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18643 (semtimedop): Don't use CHECK_N.
18644 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18645 (__libc_pread): Don't use CHECK_N.
18646 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18648 (__libc_pread64): Don't use CHECK_N.
18649 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18651 (__libc_pwrite): Don't use CHECK_N.
18652 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18654 (__libc_pwrite64): Don't use CHECK_N.
18655 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18657 (__libc_msgrcv): Don't use CHECK_N.
18658 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18659 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18660 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18661 (__libc_writev): Don't use CHECK_N.
18663 2013-02-08 Roland McGrath <roland@hack.frob.com>
18665 * string/strcpy.c: Removed unused variable.
18667 * Makeconfig (+sysdep-includes): Define with := rather than =.
18668 Use an existing include/ subdir of each sysdeps dir before it.
18670 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18672 * nscd/connection.c (register_traced_file): Comment function.
18673 [HAVE_INOTIFY] (union __inev): Define.
18674 [HAVE_INOTIFY] (inotify_check_files): New function.
18675 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18676 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18678 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18680 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18682 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18683 loaded if not already and that a failure is permanent.
18685 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18688 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18689 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18691 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18694 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18695 (CHECK_1_NULL_OK): Likewise.
18696 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18697 (__fxstat): Do not use CHECK_1.
18698 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18700 (___fxstat64): Do not use CHECK_1.
18701 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18703 (__fxstatat): Do not use CHECK_1.
18704 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18706 (__fxstatat64): Do not use CHECK_1.
18707 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18709 (__fxstat): Do not use CHECK_1.
18710 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18712 (__fxstatat): Do not use CHECK_1.
18713 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18715 (__getresgid): Do not use CHECK_1.
18716 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18718 (__getresuid): Do not use CHECK_1.
18719 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18721 (__lxstat): Do not use CHECK_1.
18722 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18724 (__old_msgctl): Do not use CHECK_1.
18725 (__new_msgctl): Likewise.
18726 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18728 (__new_setrlimit): Do not use CHECK_1.
18729 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18731 (__old_shmctl): Do not use CHECK_1.
18732 (__new_shmctl): Likewise.
18733 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18735 (__xstat): Do not use CHECK_1.
18736 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18737 (__lxstat): Do not use CHECK_1.
18738 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18740 (___lxstat64): Do not use CHECK_1.
18741 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18742 (__old_msgctl): Do not use CHECK_1.
18743 (__new_msgctl): Likewise.
18744 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18746 (__gettimeofday): Do not use CHECK_1.
18747 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18748 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18749 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18751 (__gettimeofday): Do not use CHECK_1.
18752 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18753 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18754 (__new_shmctl): Do not use CHECK_1.
18755 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18757 (do_sigtimedwait): Do not use CHECK_1.
18758 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18760 (do_sigwaitinfo): Do not use CHECK_1.
18761 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18763 (msgctl): Do not use CHECK_1.
18764 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18766 (shmctl): Do not use CHECK_1.
18767 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18768 (ustat): Do not use CHECK_1.
18769 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18771 (__fxstat): Do not use CHECK_1.
18772 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18774 (__fxstatat): Do not use CHECK_1.
18775 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18777 (__lxstat): Do not use CHECK_1.
18778 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18780 (__xstat): Do not use CHECK_1.
18781 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18782 (__xstat): Do not use CHECK_1.
18783 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18784 (___xstat64): Do not use CHECK_1.
18787 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18789 (CHECK_BOUNDS_HIGH): Likewise.
18790 * string/strcpy.c: Do not include <bp-checks.h>.
18791 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18793 2013-02-07 Roland McGrath <roland@hack.frob.com>
18795 * nscd/nscd-client.h (__nscd_drop_map_ref):
18796 Add __attribute__ ((unused)).
18797 * nis/nss-nisplus.h (niserr2nss): Likewise.
18799 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18800 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18802 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18803 Remove inline keyword.
18804 * include/rounding-mode.h (round_away): Likewise.
18805 * libio/wfileops.c (adjust_wide_data): Likewise.
18806 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18807 (__m128i_strloadu_tolower): Likewise.
18808 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18809 (__m128i_strloadu_tolower): Likewise.
18810 * time/mktime.c (ydhms_diff): Likewise.
18811 * locale/elem-hash.h (elem_hash): Likewise.
18812 * locale/setlocale.c (setdata): Likewise.
18813 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18814 (re_string_wchar_at): Likewise.
18815 (bitset_not, bitset_merge, bitset_mask): Likewise.
18816 [!(__GNUC__ > 3)] (inline): Remove macro.
18817 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18818 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18819 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18820 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18821 * string/memcmp.c (memcmp_bytes): Likewise.
18822 * locale/programs/locarchive.c (compute_hashval): Likewise.
18823 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18824 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18825 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18826 * nss/getent.c (print_rpc, print_protocols): Likewise.
18827 (print_passwd, print_group, print_aliases): Likewise.
18828 * nis/nss-nisplus.h (niserr2nss): Likewise.
18829 * nscd/connections.c (restart_p): Likewise.
18830 Change return type to bool.
18832 2013-02-05 Roland McGrath <roland@hack.frob.com>
18834 * Makeconfig (all-Depend-files): Add existing
18835 $(sorted-subdirs:=/Depend) files.
18836 (all-subdirs): Remove nss.
18837 * sysdeps/unix/inet/Subdirs: Add it here instead.
18838 * hesiod/Depend: New file.
18840 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18841 instead of calling alloca.
18843 * io/lseek.c (__lseek): Rename to __libc_lseek.
18844 Define __lseek as an alias.
18846 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18848 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18850 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18851 else clause and remove check for non-standard endianness.
18853 2013-02-04 David S. Miller <davem@davemloft.net>
18855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18857 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18860 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18861 (__ubp_memchr): Remove prototype.
18862 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18863 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18864 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18865 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18866 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18868 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18869 (__ubp_memchr): Likewise.
18870 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18871 (__ubp_memchr): Likewise.
18872 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18873 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18874 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18875 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18877 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18878 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18879 (__getcwd): Do not use CHECK_STRING.
18880 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18882 (__real_chown): Do not use CHECK_STRING.
18883 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18885 (fchownat): Do not use CHECK_STRING.
18886 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18888 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18890 (__lchown): Do not use CHECK_STRING.
18891 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18892 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18893 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18894 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18896 include <bp-checks.h>.
18897 (truncate64): Do not use CHECK_STRING.
18898 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18900 (__real_chown): Do not use CHECK_STRING.
18901 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18903 (__lchown): Do not use CHECK_STRING.
18904 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18906 (__chown): Do not use CHECK_STRING.
18907 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18909 (truncate64): Do not use CHECK_STRING.
18910 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18912 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18913 (__xmknod): Do not use CHECK_STRING.
18914 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18916 (__xmknodat): Do not use CHECK_STRING.
18917 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18918 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18920 2013-02-04 Andreas Schwab <schwab@suse.de>
18923 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18924 * include/netdb.h: Likewise for h_errno.
18925 * elf/tst-stackguard1.c: Include <tls.h>.
18927 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18929 * elf/link.h (struct link_map): Extend the l_addr comment.
18930 * include/link.h (struct link_map): Likewise.
18932 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18935 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18936 (BOUNDED_1): Remove macro.
18937 * debug/backtrace.c: Don't include <bp-checks.h>.
18938 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18939 (__backtrace): Likewise.
18940 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18942 (__backtrace): Don't use BOUNDED_1.
18943 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18945 (__backtrace): Don't use BOUNDED_1.
18946 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18947 (__backtrace): Don't use BOUNDED_1.
18948 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18949 (shmat): Don't use BOUNDED_N.
18951 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18954 * sysdeps/generic/bp-start.h: Remove file.
18955 * csu/libc-start.c: Don't include <bp-start.h>.
18956 (LIBC_START_MAIN): Set up __environ directly instead of using
18957 INIT_ARGV_and_ENVIRON.
18958 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18962 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18964 (CHECK_FCNTL): Likewise.
18965 (CHECK_N_PAGES): Likewise.
18968 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18970 (CHECK_SIGSET_NULL_OK): Likewise.
18971 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18973 (sigpending): Don't use CHECK_SIGSET.
18974 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18976 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18977 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18979 (do_sigsuspend): Don't use CHECK_SIGSET.
18980 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18982 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18983 (do_sigwait): Don't use CHECK_SIGSET.
18984 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18986 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18987 include <bp-checks.h>.
18988 (sigpending): Don't use CHECK_SIGSET.
18989 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18990 include <bp-checks.h>.
18991 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18992 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18994 (sigpending): Don't use CHECK_SIGSET.
18995 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18997 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19000 * sysdeps/generic/bp-semctl.h: Remove file.
19001 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19002 <bp-checks.h> and <bp-semctl.h>.
19003 (__old_semctl): Don't use CHECK_SEMCTL.
19004 (__new_semctl): Likewise.
19005 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19007 (__old_semctl): Don't use CHECK_SEMCTL.
19008 (__new_semctl): Likewise.
19009 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19010 <bp-checks.h> and <bp-semctl.h>.
19011 (__old_semctl): Don't use CHECK_SEMCTL.
19012 (__new_semctl): Likewise.
19013 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19014 <bp-checks.h> and <bp-semctl.h>.
19015 (semctl): Don't use CHECK_SEMCTL.
19018 * Makerules (elide-bp-thunks): Remove variable.
19019 (elide-routines.oS): Don't use $(elide-bp-thunks).
19020 (elide-routines.os): Likewise.
19021 (elide-routines.o): Likewise.
19022 (elide-routines.op): Likewise.
19023 (elide-routines.og): Likewise.
19024 (objects): Don't use $(bp-thunks).
19025 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19027 (common-generated): Do not add s-proto-bp.d.
19028 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19031 Do not generate makefile rules for bounded-pointer thunks.
19032 * sysdeps/generic/bp-thunks.h: Remove file.
19033 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19034 * sysdeps/unix/s-proto-bp.S: Likewise.
19037 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19038 parts of result separately when argument is not close to line from
19039 -i to i and one part of argument is small.
19040 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19041 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19042 * math/libm-test.inc (cacos_test): Add more tests.
19043 (casin_test): Likewise.
19044 (casinh_test): Likewise.
19045 * sysdeps/i386/fpu/libm-test-ulps: Update.
19046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19048 2013-01-31 David S. Miller <davem@davemloft.net>
19050 * po/de.po: Update from translation team.
19052 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19054 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19056 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19058 * configure.in (_AC_PROG_CC_C89): New definition.
19059 * configure: Regenerate.
19061 * configure.in (AC_PROG_CPP): New definition.
19062 * configure: Regenerate.
19064 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19066 * debug/tst-backtrace.h: New file.
19067 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19068 (ret): Remove variable.
19070 (FAIL): Remove macro.
19071 (NO_INLINE): Likewise.
19072 (fn1): Use match function instead of strstr.
19073 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19074 (ret): Remove variable.
19076 (FAIL): Remove macro.
19077 (NO_INLINE): Likewise.
19078 (fn): Use match function instead of strstr.
19079 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19080 (ret): Remove variable.
19082 (FAIL): Remove macro.
19083 (NO_INLINE): Likewise.
19084 (handle_signal): Use match function instead of strstr.
19085 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19086 (ret): Remove variable.
19088 (FAIL): Remove macro.
19089 (NO_INLINE): Likewise.
19090 (handle_signal): Use match function instead of strstr.
19092 2013-01-23 Roland McGrath <roland@hack.frob.com>
19094 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19096 2013-01-23 David S. Miller <davem@davemloft.net>
19098 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19099 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19100 argument of CAS if possible.
19101 * sysdeps/sparc/sparc64/bits/atomic.h
19102 (__arch_compare_and_exchange_val_32_acq): Likewise.
19103 (__arch_compare_and_exchange_val_64_acq): Likewise.
19105 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19107 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19108 * sysdeps/posix/ulimit.c: ... this.
19109 Include <limits.h>.
19110 * sysdeps/unix/bsd/ulimit.c: Remove file.
19112 2013-01-23 Adam Conrad <adconrad@0c3.net>
19114 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19115 (LDFLAGS-tst-array5): Likewise.
19117 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19120 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19121 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19122 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19123 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19125 2013-01-21 David S. Miller <davem@davemloft.net>
19127 * sysdeps/sparc/backtrace.c: New file.
19128 * sysdeps/sparc/sparc32/backtrace.h: New file.
19129 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19130 * sysdeps/sparc/sparc64/backtrace.h: New file.
19131 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19132 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19135 2013-01-21 Andreas Schwab <schwab@suse.de>
19138 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19141 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19143 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19145 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19147 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19148 Mark Mitchell <mark@codesourcery.com>
19149 Tom de Vries <tom@codesourcery.com>
19150 Paul Pluzhnikov <ppluzhnikov@google.com>
19152 * debug/tst-backtrace2.c: New file.
19153 * debug/tst-backtrace3.c: Likewise.
19154 * debug/tst-backtrace4.c: Likewise.
19155 * debug/tst-backtrace5.c: Likewise.
19156 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19157 (CFLAGS-tst-backtrace3.c): Likewise.
19158 (CFLAGS-tst-backtrace4.c): Likewise.
19159 (CFLAGS-tst-backtrace5.c): Likewise.
19160 (LDFLAGS-tst-backtrace2): Likewise.
19161 (LDFLAGS-tst-backtrace3): Likewise.
19162 (LDFLAGS-tst-backtrace4): Likewise.
19163 (LDFLAGS-tst-backtrace5): Likewise.
19164 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19165 tst-backtrace4 and tst-backtrace5.
19167 2013-01-18 Anton Blanchard <anton@samba.org>
19168 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19170 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19171 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19172 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19173 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19175 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19176 "+r" and remove output regs list as redundant. Add explicit inline
19177 asm to specify register of return val to work around compiler codegen
19178 bug. Remove (int) cast on return value. Add return type parameter to
19179 use in macro so that this macro does not truncate return value for
19181 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19182 pass to INTERNAL_VSYSCALL_NCS.
19183 (INLINE_VSYSCALL): Add 'long int' as return type to
19184 INTERNAL_VSYSCALL_NCS macro invocation.
19185 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19186 INTERNAL_VSYSCALL_NCS macro invocation.
19187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19189 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19192 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19193 Fix application of SIMD FP exception mask.
19195 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19196 mp_no from a power of two.
19197 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19198 __mpexp_twomm1. Use __pow_mp.
19200 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19203 2013-01-17 David S. Miller <davem@davemloft.net>
19205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19207 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19210 * include/complex.h: Condition contents on [!_COMPLEX_H].
19211 (__kernel_casinhf): New prototype.
19212 (__kernel_casinh): Likewise.
19213 (__kernel_casinhl): Likewise.
19214 * math/Makefile (libm_calls): Add k_casinh.
19215 * math/k_casinh.c: New file.
19216 * math/k_casinhf.c: Likewise.
19217 * math/k_casinhl.c: Likewise.
19218 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19219 finite nonzero arguments.
19220 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19221 finite nonzero arguments.
19222 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19223 finite nonzero arguments.
19224 * math/s_casinh.c: Do not include <float.h>.
19225 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19226 * math/s_casinhf.c: Do not include <float.h>.
19227 (__casinhf): Move code for finite nonzero arguments to
19229 * math/s_casinhl.c: Do not include <float.h>.
19230 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19232 (__casinhl): Move code for finite nonzero arguments to
19234 * math/libm-test.inc (cacos_test): Add more tests.
19235 * sysdeps/i386/fpu/libm-test-ulps: Update.
19236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19238 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19240 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19241 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19242 [!HAVE_MREMAP]: Remove [defined linux] case.
19243 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19245 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19247 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19249 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19251 * elf/elf.h (R_386_SIZE32): New relocation.
19252 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19254 (elf_machine_rela): Likewise.
19255 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19256 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19258 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19260 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19261 (FP_FAST_FMA): Do not define.
19262 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19263 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19264 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19265 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19266 !_SOFT_FLOAT]: Likewise.
19267 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19268 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19270 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19271 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19272 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19273 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19274 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19275 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19278 2013-01-16 Andreas Schwab <schwab@suse.de>
19281 * include/stdlib.h (__mktemp): Add declaration.
19282 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19283 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19285 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19287 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19289 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19290 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19291 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19293 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19294 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19296 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19298 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19299 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19300 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19302 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19303 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19305 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19307 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19309 2013-01-15 David S. Miller <davem@davemloft.net>
19311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19312 trunc{,f} to libm-sysdep_routes.
19313 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19323 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19324 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19325 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19326 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19327 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19328 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19331 nearbyint{,f} to libm-sysdep_routes.
19332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19343 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19345 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19346 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19348 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19349 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19350 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19352 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19353 libc_feholdexcept and libc_fesetenv.
19355 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19357 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19359 2013-01-14 David S. Miller <davem@davemloft.net>
19361 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19362 (SPARC_ASM_VIS2_IFUNC): Likewise.
19363 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19365 use of 'siam' instruction.
19366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19399 routines to libm-sysdep_routines.
19400 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19403 fdim/fdimf to libm-sysdep_routines.
19404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19412 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19413 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19414 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19415 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19417 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19419 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19420 to optimize copies.
19422 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19427 local variable MPTWO.
19428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19431 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19433 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19436 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19438 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19440 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19442 * manual/pattern.texi (glob_t): Document gl_flags.
19443 (glob64_t): Likewise.
19445 2013-01-11 David S. Miller <davem@davemloft.net>
19447 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19448 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19449 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19450 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19451 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19452 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19453 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19454 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19455 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19456 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19457 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19458 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19459 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19461 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19462 sparc V9 rather than using V8 code.
19463 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19464 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19466 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19468 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19471 2013-01-11 Roland McGrath <roland@hack.frob.com>
19473 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19474 not in the main loop.
19475 * configure: Regenerated.
19477 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19479 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19480 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19482 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19483 [!__GLIBC_HAVE_LONG_LONG] case.
19484 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19485 condition to just #else.
19486 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19487 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19488 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19489 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19491 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19492 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19493 #elif condition to just #else.
19494 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19495 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19496 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19497 #elif condition to just #else.
19499 2013-01-11 Steve Ellcey <sellcey@mips.com>
19501 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19502 (EF_MIPS_ARCH_64): Fix value.
19503 (EF_MIPS_ARCH_32R2): New.
19504 (EF_MIPS_ARCH_64R2): New.
19506 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19508 * Makeconfig (+link-pie-before-libc): New.
19509 (+link-pie-after-libc): Likewise.
19510 (+link-pie-tests): Likewise.
19511 (+link-pie): Rewritten.
19512 (link-before-libc): Remove $(config-LDFLAGS).
19513 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19514 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19515 (config-LDFLAGS): Renamed to ...
19516 (rtld-LDFLAGS): This.
19517 (rtld-tests-LDFLAGS): New macro.
19518 (link-libc-rpath-link): Likewise.
19519 (link-libc-tests-rpath-link): Likewise.
19520 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19521 (link-libc): Prepand $(link-libc-rpath-link).
19522 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19523 (test-program-prefix): New macro.
19524 (test-via-rtld-prefix): Likewise.
19525 (test-program-cmd): Likewise.
19526 (host-test-program-cmd): Likewise.
19527 * Makefile ($(common-objpfx)testrun.sh): Replace
19528 $(run-program-prefix) with $(test-program-prefix).
19529 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19531 ($(common-objpfx)shlib.lds): Likewise.
19532 (build-module-helper): Likewise.
19533 ($(common-objpfx)format.lds): Likewise.
19534 * Rules (binaries-pie-tests): New.
19535 (binaries-pie-notests): Likewise.
19536 (binaries-pie): Rewritten.
19537 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19538 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19539 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19540 (make-test-out): Replace $(host-built-program-cmd) with
19541 $(host-test-program-cmd).
19542 * config.make.in (build-hardcoded-path-in-tests): New variable.
19543 * configure.in (--enable-hardcoded-path-in-tests): New configure
19545 (hardcoded_path_in_tests): New AC_SUBST.
19546 * configure: Regenerated.
19547 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19548 $(built-program-cmd) with $(test-program-cmd).
19549 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19550 (test_program_cmd): This.
19551 * elf/Makefile ($(objpfx)order.out): Run test with
19552 $(test-program-prefix).
19553 ($(objpfx)order2.out): Likewise.
19554 ($(objpfx)tst-initorder.out): Likewise.
19555 ($(objpfx)tst-initorder2.out): Likewise.
19556 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19557 $(test-program-cmd).
19558 ($(objpfx)tst-array1-static.out): Likewise.
19559 ($(objpfx)tst-array2.out): Likewise.
19560 ($(objpfx)tst-array3.out): Likewise.
19561 ($(objpfx)tst-array4.out): Likewise.
19562 ($(objpfx)tst-array5.out): Likewise.
19563 ($(objpfx)tst-array5-static.out): Likewise.
19564 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19565 $(test-program-cmd).
19566 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19567 $(run-program-prefix) with $(test-program-prefix).
19568 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19569 (test_program_prefix): This.
19570 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19571 $(run-program-prefix) with $(test-program-prefix).
19572 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19573 (test_program_prefix): This.
19574 * iconvdata/tst-tables.sh: Likewise.
19575 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19576 $(run-program-prefix) with $(test-program-prefix).
19577 ($(objpfx)tst-translit.out): Likewise.
19578 ($(objpfx)tst-gettext2.out): Likewise.
19579 ($(objpfx)tst-gettext4.out): Likewise.
19580 ($(objpfx)tst-gettext6.out): Likewise.
19581 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19582 (test_program_prefix): This.
19583 * intl/tst-gettext2.sh: Likewise.
19584 * intl/tst-gettext4.sh Likewise.
19585 * intl/tst-gettext6.sh: Likewise.
19586 * intl/tst-translit.sh: Likewise.
19587 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19588 with $(test-program-cmd).
19589 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19590 $(run-program-prefix) with $(test-program-prefix).
19591 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19592 (test_program_prefix): This.
19593 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19594 $(run-program-prefix) with $(test-program-prefix).
19595 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19596 (test_program_prefix): This.
19597 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19598 * posix/Makefile ($(objpfx)globtest.out): Replace
19599 $(run-via-rtld-prefix) and $(test-wrapper) with
19600 $(test-program-prefix) and $(test-via-rtld-prefix).
19601 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19602 $(test-program-prefix).
19603 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19604 $(host-test-program-cmd).
19605 (tst-spawn-ARGS): Likewise.
19606 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19607 $(test-program-prefix).
19608 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19609 (test_via_rtld_prefix): This.
19610 (test_wrapper): Renamed to ...
19611 (test_program_prefix): This.
19612 (run_program_prefix): Replaced by test_program_prefix.
19613 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19614 (test_program_prefix): This.
19615 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19616 with $(host-test-program-cmd).
19617 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19618 $(run-program-prefix) with $(test-program-prefix).
19619 ($(objpfx)tst-printf.out): Likewise.
19620 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19621 $(test-program-cmd).
19622 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19623 (test_program_prefix): This.
19624 * stdio-common/tst-unbputc.sh: Likewise.
19625 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19626 $(run-program-prefix) with $(test-program-prefix).
19627 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19628 (test_program_prefix): This.
19629 * string/Makefile ($(objpfx)tst-svc.out): Replace
19630 $(built-program-cmd) with $(test-program-cmd).
19632 2013-01-11 Andreas Jaeger <aj@suse.de>
19635 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19636 value. Sync with Linux 3.7.
19638 2013-01-10 David S. Miller <davem@davemloft.net>
19640 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19641 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19642 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19644 2013-01-10 Roland McGrath <roland@hack.frob.com>
19646 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19648 * configure: Regenerated.
19650 2013-01-10 David S. Miller <davem@davemloft.net>
19652 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19653 sparc V9 rather than using V8 code.
19654 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19655 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19657 2013-01-10 Roland McGrath <roland@hack.frob.com>
19659 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19660 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19661 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19662 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19663 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19664 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19665 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19666 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19667 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19668 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19669 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19670 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19671 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19672 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19673 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19674 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19675 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19676 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19677 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19678 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19679 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19680 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19681 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19682 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19683 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19684 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19685 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19687 2013-01-10 David S. Miller <davem@davemloft.net>
19689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19691 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19693 * posix/Makefile (tests-static): New variable.
19694 (tests): Add $(tests-static).
19695 (tst-exec-static-ARGS): New variable.
19696 (tst-spawn-static-ARGS): Likewise.
19697 * posix/tst-exec-static.c: New file.
19698 * posix/tst-spawn-static.c: Likewise.
19699 * posix/tst-exec.c: Support run directly.
19700 * posix/tst-spawn.c: Likewise.
19702 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19704 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19706 * math/bits/mathcalls.h (llrint): Likewise.
19707 (llround): Likewise.
19708 * stdlib/stdlib.h (struct drand48_data): Likewise.
19709 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19710 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19711 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19713 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19715 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19716 (elf_greg_t): Likewise.
19717 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19718 (__jmp_buf): Likewise.
19719 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19721 (llrint): Likewise, for all definitions.
19722 (llrintl): Likewise.
19724 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19725 Remove [__GNUC__] condition.
19726 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19727 condition to just [__USE_ISOC99].
19728 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19730 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19733 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19734 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19736 (_POSIX_V6_ILP32_OFF32): Likewise.
19737 (_XBS5_ILP32_OFF32): Likewise.
19738 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19739 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19741 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19743 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19745 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19746 doubles __mpexp_twomm1. Adjust usage.
19747 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19750 2013-01-10 Andreas Schwab <schwab@suse.de>
19753 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19754 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19756 2013-01-09 David S. Miller <davem@davemloft.net>
19759 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19760 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19761 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19762 (TCP_FASTOPEN): Define.
19763 (tcp_repair_opt): New structure.
19764 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19766 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19767 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19768 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19769 (tcp_cookie_transactions): New structure.
19771 2013-01-09 Anton Blanchard <anton@samba.org>
19773 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19774 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19775 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19776 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19778 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19780 * include/features.h (__USE_ANSI): Remove.
19782 2013-01-09 Roland McGrath <roland@hack.frob.com>
19784 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19786 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19788 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19790 * sysdeps/s390/fpu/libm-test-ulps: Update.
19792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19794 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19798 (denorm): Likewise.
19799 (__mp_dbl): Likewise.
19800 (__dbl_mp): Likewise.
19801 (add_magnitudes): Likewise.
19802 (sub_magnitudes): Likewise.
19808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19812 (denorm): Likewise.
19813 (__mp_dbl): Likewise.
19814 (__dbl_mp): Likewise.
19815 (add_magnitudes): Likewise.
19816 (sub_magnitudes): Likewise.
19822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19826 (denorm): Likewise.
19827 (__mp_dbl): Likewise.
19828 (__dbl_mp): Likewise.
19829 (add_magnitudes): Likewise.
19830 (sub_magnitudes): Likewise.
19837 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19839 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19840 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19841 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19842 2 && __USE_EXTERN_INLINES]: Likewise.
19844 2013-01-08 Andreas Jaeger <aj@suse.de>
19847 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19849 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19850 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19852 2013-01-07 Anton Blanchard <anton@samba.org>
19854 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19855 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19856 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19857 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19858 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19859 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19860 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19861 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19863 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19864 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19865 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19866 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19867 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19868 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19869 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19870 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19871 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19872 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19873 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19874 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19875 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19876 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19877 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19878 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19879 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19880 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19881 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19882 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19883 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19884 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19886 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19887 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19888 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19889 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19890 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19891 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19892 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19893 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19894 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19895 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19896 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19898 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19900 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19901 (__MALLOC_PMT): Likewise.
19902 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19903 [__GNUC__], only on [_LIBC].
19904 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19905 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19906 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19907 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19908 forward declaration.
19909 (realloc_hook_ini): Likewise.
19910 (memalign_hook_ini): Likewise.
19911 (__libc_memalign): Do not use __MALLOC_PMT in variable
19913 (__libc_valloc): Likewise.
19914 (__libc_pvalloc): Likewise.
19915 (__libc_calloc): Likewise.
19916 (__posix_memalign): Likewise.
19919 * math/s_casinh.c: Include <float.h>.
19920 (__casinh): Do not do computation with squaring and square root
19921 for large arguments.
19922 * math/s_casinhf.c: Include <float.h>.
19923 (__casinhf): Do not do computation with squaring and square root
19924 for large arguments.
19925 * math/s_casinhl.c: Include <float.h>.
19926 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19927 (__casinhl): Do not do computation with squaring and square root
19928 for large arguments.
19929 * math/libm-test.inc (casin_test): Add more tests.
19930 (casinh_test): Likewise.
19931 * sysdeps/i386/fpu/libm-test-ulps: Update.
19932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19934 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19936 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19937 (__x86_64_raw_data_cache_size): Likewise.
19938 (__x86_64_data_cache_size_half): Likewise.
19939 (__x86_64_raw_data_cache_size_half): Likewise.
19940 (__x86_64_shared_cache_size): Likewise.
19941 (__x86_64_raw_shared_cache_size): Likewise.
19942 (__x86_64_shared_cache_size_half): Likewise.
19943 (__x86_64_raw_shared_cache_size_half): Likewise.
19944 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19946 (__x86_data_cache_size): This.
19947 (__x86_64_raw_data_cache_size): Renamed to ...
19948 (__x86_raw_data_cache_size): This.
19949 (__x86_64_data_cache_size_half): Renamed to ...
19950 (__x86_data_cache_size_half): This.
19951 (__x86_64_raw_data_cache_size_half): Renamed to ...
19952 (__x86_raw_data_cache_size_half): This.
19953 (__x86_64_shared_cache_size): Renamed to ...
19954 (__x86_shared_cache_size): This.
19955 (__x86_64_raw_shared_cache_size): Renamed to ...
19956 (__x86_raw_shared_cache_size): This.
19957 (__x86_64_shared_cache_size_half): Renamed to ...
19958 (__x86_shared_cache_size_half): This.
19959 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19960 (__x86_raw_shared_cache_size_half): This.
19961 * sysdeps/x86_64/memcpy.S: Updated.
19962 * sysdeps/x86_64/memset.S: Likewise.
19963 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19964 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19965 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19967 2013-01-04 David S. Miller <davem@davemloft.net>
19969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19971 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19973 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19974 1 to avoid redefinition warning.
19975 (__USE_GNU): Don't define.
19976 (init_signaling_nan): Protoize.
19978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19980 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19982 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19984 (__cpymn): Likewise.
19985 (norm): Remove commented code.
19986 (denorm): Likewise.
19987 (__mp_dbl): Likewise.
19989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19990 (__cpymn): Likewise.
19991 (norm): Remove commented code.
19992 (denorm): Likewise.
19993 (__mp_dbl): Likewise.
19996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19997 mp_no value for 1.0 and 2.0.
19998 (norm): Use RADIXI instead of radixi.d.
19999 (denorm): Likewise.
20000 (__mul): Use 0.0 instead of zero.d.
20001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20002 mp_no value for 1.0 and 2.0.
20003 (norm): Use RADIXI instead of radixi.d.
20004 (denorm): Likewise.
20005 (__mul): Use 0.0 instead of zero.d.
20007 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20010 * math/s_casinh.c (__casinh): Reduce finite argument to first
20011 quadrant then set signs of results at the end.
20012 * math/s_casinhf.c (__casinhf): Likewise.
20013 * math/s_casinhl.c (__casinhl): Likewise.
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 Siddhesh Poyarekar <siddhesh@redhat.com>
20021 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20023 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20025 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20027 (denorm): Likewise.
20028 (__mp_dbl): Likewise.
20031 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20032 and adjust the header comment.
20034 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20035 variable name from declaration.
20037 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20040 Initialize COMMON_CPUID_INDEX_7 element.
20041 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20042 (CPUID_RTM): Likewise.
20043 (HAS_RTM): Likewise.
20044 (COMMON_CPUID_INDEX_7): New enum.
20046 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20049 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20050 size is zero, record memory as freed.
20052 2013-01-03 Andreas Jaeger <aj@suse.de>
20054 * po/ia.po: Add new Interlingua translation.
20056 2012-01-03 Allan McRae <allan@archlinux.org>
20058 * locale/programs/localedef.c: Fix description of '--posix' flag.
20060 2013-01-02 Joseph Myers <joseph@codesourcery.com>
20062 * NEWS: Update dates in second copyright notice.
20063 * README: Update copyright dates in example.
20064 * manual/libc.texinfo: Update copyright dates.
20065 * scripts/test-installation.pl: Update copyright date in --version
20068 * hurd/ctty-input.c: Fix copyright notice formatting.
20069 * hurd/ctty-output.c: Likewise.
20070 * hurd/dtable.c: Likewise.
20071 * hurd/hurd-raise.c: Likewise.
20072 * hurd/hurdprio.c: Likewise.
20073 * hurd/msgportdemux.c: Likewise.
20074 * misc/sys/file.h: Likewise.
20075 * misc/sys/ioctl.h: Likewise.
20076 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20077 * sysdeps/mach/hurd/chdir.c: Likewise.
20078 * sysdeps/mach/hurd/fchdir.c: Likewise.
20079 * sysdeps/mach/hurd/rename.c: Likewise.
20080 * sysdeps/mach/hurd/rmdir.c: Likewise.
20081 * sysdeps/mach/hurd/seekdir.c: Likewise.
20082 * sysdeps/mach/hurd/setsid.c: Likewise.
20083 * sysdeps/posix/wait3.c: Likewise.
20085 * All files with FSF copyright notices: Update copyright dates
20086 using scripts/update-copyrights.
20087 * intl/plural.c: Regenerated.
20088 * locale/programs/charmap-kw.h: Likewise.
20089 * locale/programs/locfile-kw.h: Likewise.
20091 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20093 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20096 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20097 calculation loop and add branch prediction.
20099 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20100 check access beyond bounds of m1np.
20102 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20104 (__inv): Remove local variable MPTWO to use the global
20106 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20107 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20109 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20110 MP3HALFS static const.
20112 2013-01-01 David S. Miller <davem@davemloft.net>
20114 * po/ca.po: Update from translation team.
20116 2013-01-01 Joseph Myers <joseph@codesourcery.com>
20118 * scripts/update-copyrights: New file.
20119 * Makeconfig: Reformat copyright notice.
20120 * ctype/ctype.h: Likewise.
20121 * debug/swprintf_chk.c: Likewise.
20122 * elf/dl-cache.c: Likewise.
20123 * elf/dl-debug.c: Likewise.
20124 * elf/dl-object.c: Likewise.
20125 * grp/initgroups.c: Likewise.
20126 * hurd/Makefile: Likewise.
20127 * hurd/hurd/signal.h: Likewise.
20128 * hurd/hurdfault.c: Likewise.
20129 * hurd/hurdioctl.c: Likewise.
20130 * hurd/hurdlookup.c: Likewise.
20131 * hurd/intr-msg.c: Likewise.
20132 * iconv/gconv_open.c: Likewise.
20133 * libio/swprintf.c: Likewise.
20134 * locale/lc-ctype.c: Likewise.
20135 * locale/nl_langinfo.c: Likewise.
20136 * mach/Machrules: Likewise.
20137 * mach/Makefile: Likewise.
20138 * malloc/obstack.h: Likewise.
20139 * manual/Makefile: Likewise.
20140 * manual/tsort.awk: Likewise.
20141 * misc/bits/stab.def: Likewise.
20142 * nis/nis_print_group_entry.c: Likewise.
20143 * nis/nis_table.c: Likewise.
20144 * nis/nss_compat/compat-pwd.c: Likewise.
20145 * nis/nss_compat/compat-spwd.c: Likewise.
20146 * po/Makefile: Likewise.
20147 * posix/fnmatch.c: Likewise.
20148 * posix/regex.h: Likewise.
20149 * resolv/Makefile: Likewise.
20150 * resolv/nss_dns/dns-network.c: Likewise.
20151 * resolv/res_hconf.c: Likewise.
20152 * scripts/gen-sorted.awk: Likewise.
20153 * soft-fp/soft-fp.h: Likewise.
20154 * stdio-common/printf.h: Likewise.
20155 * stdlib/monetary.h: Likewise.
20156 * stdlib/random.c: Likewise.
20157 * stdlib/random_r.c: Likewise.
20158 * sysdeps/generic/Makefile: Likewise.
20159 * sysdeps/gnu/Makefile: Likewise.
20160 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20161 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20162 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20164 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20167 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20168 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20169 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20170 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20171 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20172 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20173 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20174 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20175 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20176 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20177 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20178 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20179 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20180 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20181 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20182 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20183 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20184 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20185 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20186 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20187 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20188 * sysdeps/mach/hurd/errnos.awk: Likewise.
20189 * sysdeps/mach/hurd/fork.c: Likewise.
20190 * sysdeps/mach/hurd/getcwd.c: Likewise.
20191 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20192 * sysdeps/mach/hurd/mmap.c: Likewise.
20193 * sysdeps/mach/hurd/utimes.c: Likewise.
20194 * sysdeps/mach/hurd/xmknod.c: Likewise.
20195 * sysdeps/posix/profil.c: Likewise.
20196 * sysdeps/posix/readdir_r.c: Likewise.
20197 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20198 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20199 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20200 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20202 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20203 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20204 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20206 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20207 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20208 * sysdeps/pthread/lio_listio.c: Likewise.
20209 * sysdeps/sparc/dl-procinfo.h: Likewise.
20210 * sysdeps/unix/i386/sysdep.S: Likewise.
20211 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20212 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20213 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20214 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20216 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20217 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20218 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20219 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20220 * sysdeps/wordsize-32/divdi3.c: Likewise.
20221 * time/sys/time.h: Likewise.
20222 * wcsmbs/Makefile: Likewise.
20224 2013-01-01 David S. Miller <davem@davemloft.net>
20226 * po/fr.po: Update from translation team.
20228 * catgets/gencat.c: Update copyright year.
20229 * csu/version.c: Likewise.
20230 * debug/catchsegv.sh: Likewise.
20231 * debug/pcprofiledump.c: Likewise.
20232 * debug/xtrace.sh: Likewise.
20233 * elf/ldconfig.c: Likewise.
20234 * elf/ldd.bash.in: Likewise.
20235 * elf/pldd.c: Likewise.
20236 * elf/sotruss.ksh: Likewise.
20237 * elf/sprof.c: Likewise.
20238 * iconv/iconv_prog.c: Likewise.
20239 * iconv/iconvconfig.c: Likewise.
20240 * locale/programs/locale.c: Likewise.
20241 * locale/programs/localedef.c: Likewise.
20242 * login/programs/pt_chown.c: Likewise.
20243 * malloc/memusage.sh: Likewise.
20244 * malloc/memusagestat.c: Likewise.
20245 * malloc/mtrace.pl: Likewise.
20246 * nscd/nscd.c: Likewise.
20247 * nss/getent.c: Likewise.
20248 * nss/makedb.c: Likewise.
20249 * posix/getconf.c: Likewise.
20251 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20253 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20256 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20258 * math/bits/mathcalls.h (modf): Use __nonnull.
20260 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20262 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20263 (split): Use macro CN instead of the bare value.
20264 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20266 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20267 instead of the bare value.
20268 (power1): Likewise.
20270 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20272 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20274 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20276 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20278 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20279 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20280 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20281 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20283 2012-12-28 Andreas Jaeger <aj@suse.de>
20285 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20286 values are from Linux 3.7.
20288 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20289 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20291 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20293 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20296 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20298 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20299 variables with preprocessor constants.
20300 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20301 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20302 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20304 2012-12-27 Bruno Haible <bruno@clisp.org>
20307 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20310 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20313 and use variable directly.
20314 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20316 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20318 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20319 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20321 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20323 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20324 include directive. Remove local variable MPONE.
20325 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20326 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20327 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20329 2012-12-25 David S. Miller <davem@davemloft.net>
20331 * version.h (RELEASE): Set to "development".
20332 (VERSION): Set to "2.17.90".
20333 * NEWS: Add 2.18 section.
20335 2012-12-21 David S. Miller <davem@davemloft.net>
20337 * po/hr.po: Update from translation team.
20339 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20341 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20343 2012-12-19 Steve Ellcey <sellcey@mips.com>
20345 * NEWS: Mention new memcpy for MIPS.
20347 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20349 * manual/contrib.texi (Contributors): Spelling correction.
20351 2012-12-15 David S. Miller <davem@davemloft.net>
20353 * po/ru.po: Update from translation team.
20355 2012-12-13 David S. Miller <davem@davemloft.net>
20357 * NEWS: Mention IFUNC testsuite enhancements.
20359 * po/pl.po: Update from translation team.
20360 * po/bg.po: Likewise.
20362 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20363 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20365 2012-12-11 David S. Miller <davem@davemloft.net>
20367 * po/sv.po: Update from translation team.
20369 * po/vi.po: Update from translation team.
20371 * po/cs.po: Update from translation team.
20373 * po/de.po: Update from translation team.
20374 * po/eo.po: Likewise.
20375 * po/nl.po: Likewise.
20377 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20380 * manual/argp.texi (Argp Helper Functions): Move node to follow
20381 Argp Parsing State.
20384 * manual/conf.texi (Limits on File System Capacity): Mention if
20385 terminating null is included in the max size.
20387 2012-12-10 Andreas Jaeger <aj@suse.de>
20389 * po/cs.po: Update from translation team.
20391 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20393 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20394 void pointer and cast to uintptr_t.
20395 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20397 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20398 * sysdeps/s390/s390-64/memset.S: Likewise.
20400 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20403 * menual/message.texi (Message Translation): Fix typos.
20404 (Helper programs for gettext): Likewise.
20406 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20409 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20412 2012-12-07 David S. Miller <davem@davemloft.net>
20414 * po/libc.pot: Update.
20416 2012-12-07 Richard Henderson <rth@redhat.com>
20419 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20420 normal/normal case to before the switch.
20421 (_FP_DIV): Likewise.
20423 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20424 Mike Frysinger <vapier@gentoo.org>
20426 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20427 check for __NR_fadvise64_64.
20429 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20431 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20432 0, not just to plain "0" as a statement.
20433 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20436 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20438 * NEWS: Use sourceware.org in Bugzilla URL.
20440 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20443 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20445 * stdio-common/tst-put-error.c (do_test): Add newline to the
20446 padded test to ensure flush.
20448 2012-12-05 Jeff Law <law@redhat.com>
20450 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20452 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20454 * README: Don't refer to ports add-on as distributed separately.
20455 Mention AArch64 in list of systems supported in the ports add-on.
20457 * LICENSES: Add more non-FSF copyright and license notices.
20459 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20462 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20464 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20465 10000 as width of padded output.
20467 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20469 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20471 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20472 variable LX with __attribute__ ((unused)).
20473 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20475 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20476 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20477 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20478 with __attribute__ ((unused)).
20480 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20482 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20484 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20486 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20487 (CFLAGS-nldbl-acos.c): New variable.
20488 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20489 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20490 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20491 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20492 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20493 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20494 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20495 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20496 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20497 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20498 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20499 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20500 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20501 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20502 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20503 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20504 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20505 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20506 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20507 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20508 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20509 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20510 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20511 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20512 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20513 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20514 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20515 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20516 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20517 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20518 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20519 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20520 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20521 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20522 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20523 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20524 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20525 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20526 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20527 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20528 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20529 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20530 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20531 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20532 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20533 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20534 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20535 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20536 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20537 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20538 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20539 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20540 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20541 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20542 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20543 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20544 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20545 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20546 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20547 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20548 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20549 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20550 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20551 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20552 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20553 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20554 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20555 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20556 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20557 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20558 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20559 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20560 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20561 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20562 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20563 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20564 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20565 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20566 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20567 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20568 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20569 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20570 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20571 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20572 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20573 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20574 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20575 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20576 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20577 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20578 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20579 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20580 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20581 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20582 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20583 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20584 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20587 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20591 whole low double instead of just low 47 bits when splitting values
20594 2012-12-03 Allan McRae <allan@archlinux.org>
20596 * manual/stdio.texi (Predefined Printf Handlers): Remove
20597 @hsep and @vsep usage.
20599 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20601 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20602 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20604 2012-12-03 Jeff Law <law@redhat.com>
20606 * time/sys/time.h (settimeofday): Do not mark TV argument
20609 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20611 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20612 when currently writing and seek to current position when not.
20613 * libio/Makefile (tests): Remove bug-fclose1.
20614 * libio/bug-fclose1.c: Delete.
20616 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20618 * manual/arith.texi (feenableexcept): Fix typo.
20619 (fedisableexcept): Likewise.
20621 2012-11-30 Roland McGrath <roland@hack.frob.com>
20623 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20624 second, differently-typed declaration, rather than a cast.
20626 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20628 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20629 * include/rpc/svc.h: ... here.
20631 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20634 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20635 depending n and resplen2 to catch cases where answer
20638 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20640 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20641 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20643 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20645 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20647 2012-11-29 Roland McGrath <roland@hack.frob.com>
20649 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20651 2012-11-28 Jeff Law <law@redhat.com>
20654 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20655 dataset_temporary. Track alloca usage into alloca_used.
20656 If dataset is large allocate and release it via malloc/free.
20658 2012-06-04 Florian Weimer <fweimer@redhat.com>
20661 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20663 2012-11-28 David S. Miller <davem@davemloft.net>
20665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20667 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20670 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20671 of pi/2 rounded to nearest to 64 bits.
20672 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20673 nearest to 64 bits.
20674 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20677 2012-11-28 Jeff Law <law@redhat.com>
20678 Martin Osvald <mosvald@redhat.com>
20681 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20682 * sunrpc/svc.c: Include time.h.
20683 (__svc_accept_failed): New function.
20684 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20685 any reason other than EINTR, call __svc_accept_failed.
20686 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20687 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20689 2012-11-28 Andreas Schwab <schwab@suse.de>
20691 * scripts/abilist.awk: Also handle indirect functions in .opd
20694 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20697 * sysdeps/x86/fpu/powl_helper.c: New file.
20698 * sysdeps/x86/fpu/Makefile: Likewise.
20699 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20701 (__ieee754_powl): Use __powl_helper for finite arguments except
20702 integer exponents below 8.
20703 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20705 (__ieee754_powl): Use __powl_helper for finite arguments except
20706 integer exponents below 8.
20707 * math/libm-test.inc (pow_test): Add more tests and enable some
20708 previously disabled tests.
20709 * sysdeps/i386/fpu/libm-test-ulps: Update.
20710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20712 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20713 Carlos O'Donell <carlos_odonell@mentor.com>
20715 * nss/makedb.c (is_prime): Assert that input is odd and greater
20716 than 4. Note that fact in a comment too.
20717 (next_prime): Add 4 to input.
20719 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20722 * libio/Makefile (tests): Add test case tst-fwrite-error.
20723 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20724 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20725 * libio/tst-fwrite-error.c: New test case.
20727 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20729 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20730 before casting to void *.
20731 * include/libc-internal.h (__pointer_type): New macro.
20732 (__integer_if_pointer_type_sub): Likewise.
20733 (__integer_if_pointer_type): Likewise.
20734 (cast_to_integer): Likewise.
20735 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20736 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20737 before casting to atomic64_t.
20738 (atomic_exchange_acq): Likewise.
20739 (__arch_exchange_and_add_body): Likewise.
20740 (__arch_add_body): Likewise.
20741 (atomic_add_negative): Likewise.
20742 (atomic_add_zero): Likewise.
20744 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20746 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20747 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20748 (add_fdes): Likewise.
20749 (linear_search_fdes): Likewise.
20750 (binary_search_unencoded_fdes): Likewise.
20752 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20754 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20756 2012-11-24 Adam Conrad <adconrad@0c3.net>
20758 * configure.in: Autodetect C++ header directories.
20759 * configure: Regenerated.
20761 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20763 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20765 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20769 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20771 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20772 LDBL_MANT_DIG == 106]: Disable some tests.
20773 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20775 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20779 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20780 input for small inputs. Return +/- pi/2 for large inputs.
20781 * math/libm-test.inc (atan_test): Add more tests.
20783 * sysdeps/generic/unwind-dw2-fde-glibc.c
20784 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20785 __attribute__ ((unused)).
20788 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20789 x * y if x and y are nonzero and z is zero.
20792 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20793 nonzero exponents with absolute value below 0x1p-117 to +/-
20797 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20798 up arguments below 2**-450, not just those below 2**-500.
20799 * math/libm-test.inc (hypot_test): Add another test.
20802 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20803 Return a+b for ratio over 2**120, not 2**60.
20804 * math/libm-test.inc (hypot_test): Add another test.
20806 * math/libm-test.inc (clog_test): Use
20807 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20808 (clog10_test): Likewise.
20811 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20813 2012-11-22 Andreas Schwab <schwab@suse.de>
20815 * sysdeps/i386/fpu/libm-test-ulps: Update.
20817 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20819 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20820 printf output with newline.
20822 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20825 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20826 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20827 -z nodlopen, -z initfirst and -z execstack support.
20828 * configure: Regenerated.
20830 * elf/elf.h (DF_1_NODIRECT): New macro.
20831 (DF_1_IGNMULDEF): Likewise.
20832 (DF_1_NOKSYMS): Likewise.
20833 (DF_1_NOHDR): Likewise.
20834 (DF_1_EDITED): Likewise.
20835 (DF_1_NORELOC): Likewise.
20836 (DF_1_SYMINTPOSE): Likewise.
20837 (DF_1_GLOBAUDIT): Likewise.
20838 (DF_1_SINGLETON): Likewise.
20839 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20840 DT_1_SUPPORTED_MASK bits.
20841 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20843 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20845 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20847 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20849 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20852 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20853 (sendmmsg): Move declarations...
20854 * socket/sys/socket.h: ... here.
20855 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20856 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20858 * socket/recvmmsg.c: ... this new file.
20859 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20860 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20861 definition of __sendmmsg hidden.
20862 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20863 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20864 Move ENOSYS stub into and include it from...
20865 * socket/sendmmsg.c: ... this new file.
20866 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20867 (sysdep_routines): Move recvmmsg and sendmmsg...
20868 * socket/Makefile (routines): ... here.
20869 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20870 (GLIBC_PRIVATE): Add __sendmmsg.
20871 * include/sys/socket.h (__sendmmsg): Add declarations.
20872 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20875 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20877 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20878 variable I1 with __attribute__ ((unused)).
20879 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20881 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20883 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20884 DUMMY variables with __attribute__ ((unused)).
20886 * bits/byteswap.h: Include <bits/types.h>.
20887 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20889 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20891 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20892 string_t. Do not manually set errno.
20893 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20894 length with __strnlen. Make sure to both set errno and return it on
20897 2012-11-19 David S. Miller <davem@davemloft.net>
20899 With help from Joseph Myers.
20900 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20901 very large arguments properly.
20902 * math/libm-test.inc (atan_test): New tests.
20903 (atan2_test): New tests.
20904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20907 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20910 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20913 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20914 [POSIX] (EADDRNOTAVAIL): Likewise.
20915 [POSIX] (EAFNOSUPPORT): Likewise.
20916 [POSIX] (EALREADY): Likewise.
20917 [POSIX] (ECONNABORTED): Likewise.
20918 [POSIX] (ECONNREFUSED): Likewise.
20919 [POSIX] (ECONNRESET): Likewise.
20920 [POSIX] (EDESTADDRREQ): Likewise.
20921 [POSIX] (EDQUOT): Likewise.
20922 [POSIX] (EHOSTUNREACH): Likewise.
20923 [POSIX] (EIDRM): Likewise.
20924 [POSIX] (EISCONN): Likewise.
20925 [POSIX] (ELOOP): Likewise.
20926 [POSIX] (EMULTIHOP): Likewise.
20927 [POSIX] (ENETDOWN): Likewise.
20928 [POSIX] (ENETUNREACH): Likewise.
20929 [POSIX] (ENOBUFS): Likewise.
20930 [POSIX] (ENODATA): Likewise.
20931 [POSIX] (ENOLINK): Likewise.
20932 [POSIX] (ENOMSG): Likewise.
20933 [POSIX] (ENOPROTOOPT): Likewise.
20934 [POSIX] (ENOSR): Likewise.
20935 [POSIX] (ENOSTR): Likewise.
20936 [POSIX] (ENOTCONN): Likewise.
20937 [POSIX] (ENOTSOCK): Likewise.
20938 [POSIX] (EOPNOTSUPP): Likewise.
20939 [POSIX] (EOVERFLOW): Likewise.
20940 [POSIX] (EPROTO): Likewise.
20941 [POSIX] (EPROTONOSUPPORT): Likewise.
20942 [POSIX] (EPROTOTYPE): Likewise.
20943 [POSIX] (ESTALE): Likewise.
20944 [POSIX] (ETIME): Likewise.
20945 [POSIX] (ETXTBSY): Likewise.
20946 [POSIX] (EWOULDBLOCK): Likewise.
20947 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20948 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20949 [POSIX] (SEEK_CUR): Likewise.
20950 [POSIX] (SEEK_END): Likewise.
20951 [POSIX || UNIX98] (mode_t): Do not require.
20952 [POSIX] (off_t): Likewise.
20953 [POSIX] (pid_t): Likewise.
20954 [POSIX] (sys/stat.h): Do not allow header.
20955 [POSIX] (unistd.h): Likewise.
20956 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20957 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20958 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20959 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20961 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20962 sigevent): Specify elements.
20963 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20965 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20966 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20968 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20969 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20970 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20971 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20972 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20973 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20974 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20975 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20976 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20977 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20978 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20979 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20980 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20981 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20983 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20985 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20987 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20989 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20990 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20991 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20992 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20993 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20994 Specify lower bound on value.
20995 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20996 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20997 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20998 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20999 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21000 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21001 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21002 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21004 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21006 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21007 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21008 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21009 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21010 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21011 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21012 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21013 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21014 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21015 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21016 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21017 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21018 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21019 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21020 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21021 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21023 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21025 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21026 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21027 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21028 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21029 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21030 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21032 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21033 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21034 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21035 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21036 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21037 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21038 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21040 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21041 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21042 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21043 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21044 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21045 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21046 specify as optional.
21047 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21048 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21049 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21050 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21051 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21052 [XPG3] (NL_LANGMAX): Likewise.
21053 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21054 [POSIX || XPG3] (NL_NMAX): Likewise.
21055 [POSIX || XPG3] (NL_SETMAX): Likewise.
21056 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21057 [XPG3] (NZERO): Likewise.
21058 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21059 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21060 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21061 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21062 (REG_ERANGE): Expect.
21063 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21065 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21066 Use (void) in prototype.
21067 [POSIX] (*_t): Allow.
21068 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21069 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21070 (WRDE_BADVAL): Expect.
21072 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21074 [XPG3 || XPG4] (O_RSYNC): Likewise.
21075 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21077 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21078 [XPG3 || XPG4] (sigqueue): Likewise.
21079 [XPG3 || XPG4] (sigtimedwait): Likewise.
21080 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21081 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21082 [XPG3 || XPG4] (vsnprintf): Likewise.
21083 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21085 [XPG3 || XPG4] (blksize_t): Likewise.
21086 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21088 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21089 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21090 [XPG3 || XPG4] (struct itimerspec): Likewise.
21091 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21092 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21093 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21094 [XPG3 || XPG4] (clockid_t): Likewise.
21095 [XPG3 || XPG4] (timer_t): Likewise.
21096 [XPG3 || XPG4] (clock_getres): Likewise.
21097 [XPG3 || XPG4] (clock_gettime): Likewise.
21098 [XPG3 || XPG4] (clock_settime): Likewise.
21099 [XPG3 || XPG4] (nanosleep): Likewise.
21100 [XPG3 || XPG4] (timer_create): Likewise.
21101 [XPG3 || XPG4] (timer_delete): Likewise.
21102 [XPG3 || XPG4] (timer_gettime): Likewise.
21103 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21104 [XPG3 || XPG4] (timer_settime): Likewise.
21105 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21106 [XPG3 || XPG4] (getlogin_r): Likewise.
21107 [XPG3 || XPG4] (pread): Likewise.
21108 [XPG3 || XPG4] (pthread_atfork): Likewise.
21109 [XPG3 || XPG4] (pwrite): Likewise.
21112 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21115 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21117 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21118 finalizing MALLSTREAM.
21120 * sysdeps/mach/hurd/syncfs.c: New file.
21122 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21125 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21126 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21127 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21128 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21129 (_nss_dns_gethostbyname4_r): Likewise.
21130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21131 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21133 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21136 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21138 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21140 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21141 * elf/cache.c (print_entry): Print ",AArch64" for
21144 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21145 * elf/cache.c (print_entry): Print ",hard-float" for
21148 2012-11-18 David S. Miller <davem@davemloft.net>
21150 With help from Joseph Myers.
21151 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21153 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21155 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21156 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21158 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21159 * math/libm-test.inc (y0_test): New tests.
21160 (y1_test): New tests.
21161 * sysdeps/i386/fpu/libm-test-ulps: Update.
21162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21165 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21167 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21169 * configure: Regenerated.
21171 2012-11-17 David S. Miller <davem@davemloft.net>
21174 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21175 nonzero exponents with absolute value below 0x1p-128 to +/-
21178 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21180 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21182 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21184 * posix/getconf-speclist.c: New file.
21185 * posix/posix-envs.def: Likewise.
21186 * posix/confstr.c (START_ENV_GROUP): New macro.
21187 (END_ENV_GROUP): Likewise.
21188 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21189 (KNOWN_PRESENT_ENV_STRING): Likewise.
21190 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21191 (UNKNOWN_ENVIRONMENT): Likewise.
21192 (confstr): Include posix-envs.def instead of handling
21193 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21194 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21195 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21196 (END_ENV_GROUP): Likewise.
21197 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21198 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21199 (UNKNOWN_ENVIRONMENT): Likewise.
21200 (__sysconf): Include posix-envs.def instead of handling associated
21201 cases directly here.
21202 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21203 preprocessing getconf-speclist.c rather than running getconf or
21204 generating empty file.
21206 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21208 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21210 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21213 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21215 2012-11-16 David S. Miller <davem@davemloft.net>
21217 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21218 smaller than LDBL_EPSILON/2.0L, just return xm1.
21220 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21222 * elf/tst-array1.c (init): Set constructor priority to 1000.
21223 (fini): Set destructor priority to 1000.
21224 * elf/tst-array2dep.c: Likewise.
21226 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21229 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21230 (_IO_new_file_xsputn): Also return EOF if none of the input
21231 data was written when overflow failed.
21232 * libio/iopadn.c (_IO_padn): Likewise.
21233 * libio/iowpadn.c (_IO_wpadn): Likewise.
21234 * stdio-common/tst-put-error.c: Add copyright notice.
21235 (do_test): Add case for printing padded string.
21236 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21237 _IO_padn returned error.
21238 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21239 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21242 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21244 * libio/libioP.h: Add comment note that the references to C++
21245 bits are now obsolete.
21247 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21249 * math/libm-test.inc (check_complex): Use asprintf.
21251 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21253 * debug/pcprofiledump.c (print_version): Update copyright year.
21254 * malloc/memusagestat.c (print_version): Likewise.
21256 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21259 * elf/Makefile (tests): Add tst-audit8.
21260 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21261 ($(objpfx)tst-audit8.out): New target.
21262 (tst-audit8-ENV): New variable.
21263 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21264 audit if l_reloc_result is NULL.
21265 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21266 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21267 * elf/tst-audit8.c: New file.
21269 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21271 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21272 * misc/Makefile (CFLAGS-select.c): Define.
21273 * posix/Makefile (CFLAGS-pause.c): Define.
21275 2012-11-13 David S. Miller <davem@davemloft.net>
21277 * crypt/Makefile: Move test targets after toplevel Rules
21278 inclusion. Grab any necessary sysdep routines when linking.
21279 * crypt/md5.c (md5_process_block): Remove define, we will always
21280 name it __md5_process_block.
21281 (md5_finish_ctx): Update md5_process_block call.
21282 (md5_stream): Likewise.
21283 (md5_process_bytes): Likewise.
21284 (md5_process_block): Rename to __md5_process_block and move to ...
21285 * crypt/md5-block.c: ... here.
21286 * crypt/sha256.c (sha256_process_block): Move to ...
21287 * crypt/sha256-block.c: ... here.
21288 * crypt/sha512.c (sha512_process_block): Move to ...
21289 * crypt/sha512-block.c: ... here.
21290 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21292 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21293 * sysdeps/sparc/sparc64/multiarch/Makefile
21294 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21296 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21297 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21299 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21300 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21301 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21302 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21303 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21304 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21305 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21306 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21307 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21309 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21310 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21312 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21314 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21316 * timezone/tzselect.ksh: Update from tzcode git revision
21317 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21318 * timezone/zdump.c: Likewise.
21319 * timezone/zic.c: Likewise.
21320 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21321 in TZVERSION setting, not $(PKGVERSION).
21322 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21323 REPORT_BUGS_TO settings.
21326 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21329 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21331 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21332 detection to immediately after _FP_ROUND().
21333 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21336 2012-11-11 David S. Miller <davem@davemloft.net>
21338 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21340 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21341 __close rather than their public counterparts.
21343 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21345 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21347 [UNIX98] (sem_timedwait): Do not expect.
21348 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21349 [XPG4 || UNIX98] (sockatmark): Do not expect.
21350 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21351 (clock_getcpuclockid): Do not expect.
21352 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21353 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21355 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21356 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21357 [UNIX98] (vwscanf): Likewise.
21358 [UNIX98] (vswscanf): Likewise.
21360 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21362 * timezone/version.h: Remove file.
21363 * timezone/README: Do not refer to version.h.
21364 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21365 $(objpfx)version.h.
21366 ($(objpfx)zdump.o): Likewise.
21367 ($(objpfx)version.h): New target.
21369 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21371 * timezone/README: Don't mention modification to tzselect.ksh.
21372 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21373 work on unmodified tzselect.ksh. Substitute version numbers in
21376 * Makefile (format-me): Remove.
21377 (INSTALL): Adjust indentation. Use commands directly instead of
21378 using $(format-me).
21380 * aclocal.m4 (ACX_PKGVERSION): New macro.
21381 (ACX_BUGURL): Likewise.
21382 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21383 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21384 (REPORT_BUGS_TO): Likewise.
21385 * configure: Regenerated.
21386 * config.h.in (PKGVERSION): New macro.
21387 (REPORT_BUGS_TO): Likewise.
21388 * config.make.in (PKGVERSION): New variable.
21389 (PKGVERSION_TEXI): Likewise.
21390 (REPORT_BUGS_TO): Likewise.
21391 (REPORT_BUGS_TEXI): Likewise.
21392 * Makefile (format-me): Use -I$(common-objpfx)manual.
21393 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21394 ($(common-objpfx)manual/%): New target.
21395 (manual/%): Remove target.
21396 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21397 (print_version): Use PKGVERSION.
21398 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21399 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21400 and REPORT_BUGS_TO.
21401 ($(objpfx)xtrace): Likewise.
21402 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21403 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21404 (print_version): Use PKGVERSION.
21405 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21406 (do_version): Use PKGVERSION.
21407 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21409 (common-ldd-rewrite): Likewise.
21410 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21411 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21412 (print_version): Use PKGVERSION.
21413 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21414 * elf/pldd.c (argp_program_bug_address): Remove variable.
21415 (more_help): New function.
21416 (argp): Use more_help.
21417 (print_version): Use PKGVERSION.
21418 * elf/sln.c (main): Use PKGVERSION.
21419 (usage): Use REPORT_BUGS_TO.
21420 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21421 (top level): Use PKGVERSION.
21422 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21423 (print_version): Use PKGVERSION.
21424 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21425 (print_version): Use PKGVERSION.
21426 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21427 (print_version): Use PKGVERSION.
21428 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21429 (print_version): Use PKGVERSION.
21430 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21431 (print_version): Use PKGVERSION.
21432 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21433 (print_version): Use PKGVERSION.
21434 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21436 ($(objpfx)memusage): Likewise.
21437 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21438 (do_version): Use PKGVERSION.
21439 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21440 (print_version): Use PKGVERSION.
21441 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21442 ($PKGVERSION): New variable.
21443 ($REPORT_BUGS_TO): Likewise.
21444 (usage): Use $REPORT_BUGS_TO.
21445 (top level): Use $PKGVERSION.
21446 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21447 ($(objpfx)pkgvers.texi): New rule.
21448 ($(objpfx)stamp-pkgvers): Likewise.
21449 * manual/install.texi: Include pkgvers.texi.
21450 (--with-pkgversion): Document new configure option.
21451 (--with-bugurl): Likewise.
21452 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21453 than necessarily for this particular distribution. Use
21454 REPORT_BUGS_TO for where to report bugs.
21455 * INSTALL: Regenerated.
21456 * manual/libc.texinfo: Include pkgvers.texi.
21457 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21458 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21459 (print_version): Use PKGVERSION.
21460 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21461 (print_version): Use PKGVERSION.
21462 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21463 (print_version): Use PKGVERSION.
21464 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21465 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21467 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21468 (print_version): Use PKGVERSION.
21469 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21470 (print_version): Use PKGVERSION.
21471 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21474 * timezone/checktab.awk: Update from tzcode 2012i.
21475 * timezone/ialloc.c: Likewise.
21476 * timezone/private.h: Likewise.
21477 * timezone/scheck.c: Likewise.
21478 * timezone/tzfile.h: Likewise.
21479 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21480 (TZVERSION): Hardcode tzcode version number.
21481 * timezone/zdump.c: Update from tzcode 2012i.
21482 * timezone/zic.c: Likewise.
21483 * timezone/version.h: New file.
21484 * timezone/README: Describe version.h. Update upstream location.
21487 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21488 (mktemp): Enable declaration.
21489 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21490 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21491 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21492 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21494 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21496 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21498 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21500 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21502 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21506 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21507 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21508 for copies of such integer values.
21509 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21510 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21512 2012-11-09 Andreas Jaeger <aj@suse.de>
21514 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21515 definitions and declarations that are provided by
21516 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21518 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21520 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21521 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21522 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21525 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21527 * elf/elf.h: Update comment before AArch64 relocations.
21529 2012-11-07 David S. Miller <davem@davemloft.net>
21531 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21532 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21533 (__start_context): Declare.
21534 (__makecontext_ret): Delete.
21535 (__makecontext): Hook up __start_context instead of
21537 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21538 (sysdep_routines): Add __start_context when in stdlib.
21540 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21542 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21543 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21544 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21546 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21547 (READELF): New variable. Use it instead of hardcoded "readelf".
21549 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21551 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21552 * sysdeps/x86/Makefile: Here.
21553 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21554 * sysdeps/x86/tst-xmmymm.sh: This.
21556 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21558 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21560 [UNIX98] (pthread_barrier_t): Do not expect.
21561 [UNIX98] (pthread_barrierattr_t): Likewise.
21562 [UNIX98] (pthread_spinlock_t): Likewise.
21563 [UNIX98] (pthread_barrier_destroy): Likewise.
21564 [UNIX98] (pthread_barrier_init): Likewise.
21565 [UNIX98] (pthread_barrier_wait): Likewise.
21566 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21567 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21568 [UNIX98] (pthread_barrierattr_init): Likewise.
21569 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21570 [UNIX98] (pthread_getcpuclockid): Likewise.
21571 [UNIX98] (pthread_mutex_timedlock): Likewise.
21572 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21573 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21574 [UNIX98] (pthread_sigmask): Likewise.
21575 [UNIX98] (pthread_spin_destroy): Likewise.
21576 [UNIX98] (pthread_spin_init): Likewise.
21577 [UNIX98] (pthread_spin_lock): Likewise.
21578 [UNIX98] (pthread_spin_trylock): Likewise.
21579 [UNIX98] (pthread_spin_unlock): Likewise.
21580 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21582 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21583 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21584 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21585 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21586 [XPG3 || XPG4] (pthread_key_t): Likewise.
21587 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21588 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21589 [XPG3 || XPG4] (pthread_once_t): Likewise.
21590 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21591 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21592 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21593 [XPG3 || XPG4] (pthread_t): Likewise.
21595 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21597 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21599 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21600 Change function return type to int.
21602 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21603 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21604 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21605 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21606 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21607 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21608 [!POSIX] (posix_madvise): Likewise.
21609 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21611 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21612 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21613 (mode_t): Likewise.
21614 (posix_mem_offset): Likewise.
21615 (posix_typed_mem_get_info): Likewise.
21616 (posix_typed_mem_open): Likewise.
21618 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21619 Change condition to [XOPEN2K8].
21621 * conform/conformtest.pl: Preprocess allow-header data with -x c
21622 instead of from stdin.
21623 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21624 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21625 [C99-based standards] (cerfc): Likewise.
21626 [C99-based standards] (cexp2): Likewise.
21627 [C99-based standards] (cexpm1): Likewise.
21628 [C99-based standards] (clog10): Likewise.
21629 [C99-based standards] (clog1p): Likewise.
21630 [C99-based standards] (clog2): Likewise.
21631 [C99-based standards] (clgamma): Likewise.
21632 [C99-based standards] (ctgamma): Likewise.
21633 [C99-based standards] (cerff): Likewise.
21634 [C99-based standards] (cerfcf): Likewise.
21635 [C99-based standards] (cexp2f): Likewise.
21636 [C99-based standards] (cexpm1f): Likewise.
21637 [C99-based standards] (clog10f): Likewise.
21638 [C99-based standards] (clog1pf): Likewise.
21639 [C99-based standards] (clog2f): Likewise.
21640 [C99-based standards] (clgammaf): Likewise.
21641 [C99-based standards] (ctgammaf): Likewise.
21642 [C99-based standards] (cerfl): Likewise.
21643 [C99-based standards] (cerfcl): Likewise.
21644 [C99-based standards] (cexp2l): Likewise.
21645 [C99-based standards] (cexpm1l): Likewise.
21646 [C99-based standards] (clog10l): Likewise.
21647 [C99-based standards] (clog1pl): Likewise.
21648 [C99-based standards] (clog2l): Likewise.
21649 [C99-based standards] (clgammal): Likewise.
21650 [C99-based standards] (ctgammal): Likewise.
21651 * conform/data/inttypes.h-data [C99-based standards]: Include
21652 stdint.h-data. Remove all expectations for stdint.h contents.
21653 [C99-based standards] (PRI*): Do not allow.
21654 [C99-based standards] (SCN*): Likewise.
21655 [C99-based standards] (*_t): Likewise.
21656 [C99-based-standards] (PRId8): Expect macro.
21657 [C99-based-standards] (PRIi8): Likewise.
21658 [C99-based-standards] (PRIo8): Likewise.
21659 [C99-based-standards] (PRIu8): Likewise.
21660 [C99-based-standards] (PRIx8): Likewise.
21661 [C99-based-standards] (PRIX8): Likewise.
21662 [C99-based-standards] (SCNd8): Likewise.
21663 [C99-based-standards] (SCNi8): Likewise.
21664 [C99-based-standards] (SCNo8): Likewise.
21665 [C99-based-standards] (SCNu8): Likewise.
21666 [C99-based-standards] (SCNx8): Likewise.
21667 [C99-based-standards] (PRIdLEAST8): Likewise.
21668 [C99-based-standards] (PRIiLEAST8): Likewise.
21669 [C99-based-standards] (PRIoLEAST8): Likewise.
21670 [C99-based-standards] (PRIuLEAST8): Likewise.
21671 [C99-based-standards] (PRIxLEAST8): Likewise.
21672 [C99-based-standards] (PRIXLEAST8): Likewise.
21673 [C99-based-standards] (SCNdLEAST8): Likewise.
21674 [C99-based-standards] (SCNiLEAST8): Likewise.
21675 [C99-based-standards] (SCNoLEAST8): Likewise.
21676 [C99-based-standards] (SCNuLEAST8): Likewise.
21677 [C99-based-standards] (SCNxLEAST8): Likewise.
21678 [C99-based-standards] (PRIdFAST8): Likewise.
21679 [C99-based-standards] (PRIiFAST8): Likewise.
21680 [C99-based-standards] (PRIoFAST8): Likewise.
21681 [C99-based-standards] (PRIuFAST8): Likewise.
21682 [C99-based-standards] (PRIxFAST8): Likewise.
21683 [C99-based-standards] (PRIXFAST8): Likewise.
21684 [C99-based-standards] (SCNdFAST8): Likewise.
21685 [C99-based-standards] (SCNiFAST8): Likewise.
21686 [C99-based-standards] (SCNoFAST8): Likewise.
21687 [C99-based-standards] (SCNuFAST8): Likewise.
21688 [C99-based-standards] (SCNxFAST8): Likewise.
21689 [C99-based-standards] (PRId16): Likewise.
21690 [C99-based-standards] (PRIi16): Likewise.
21691 [C99-based-standards] (PRIo16): Likewise.
21692 [C99-based-standards] (PRIu16): Likewise.
21693 [C99-based-standards] (PRIx16): Likewise.
21694 [C99-based-standards] (PRIX16): Likewise.
21695 [C99-based-standards] (SCNd16): Likewise.
21696 [C99-based-standards] (SCNi16): Likewise.
21697 [C99-based-standards] (SCNo16): Likewise.
21698 [C99-based-standards] (SCNu16): Likewise.
21699 [C99-based-standards] (SCNx16): Likewise.
21700 [C99-based-standards] (PRIdLEAST16): Likewise.
21701 [C99-based-standards] (PRIiLEAST16): Likewise.
21702 [C99-based-standards] (PRIoLEAST16): Likewise.
21703 [C99-based-standards] (PRIuLEAST16): Likewise.
21704 [C99-based-standards] (PRIxLEAST16): Likewise.
21705 [C99-based-standards] (PRIXLEAST16): Likewise.
21706 [C99-based-standards] (SCNdLEAST16): Likewise.
21707 [C99-based-standards] (SCNiLEAST16): Likewise.
21708 [C99-based-standards] (SCNoLEAST16): Likewise.
21709 [C99-based-standards] (SCNuLEAST16): Likewise.
21710 [C99-based-standards] (SCNxLEAST16): Likewise.
21711 [C99-based-standards] (PRIdFAST16): Likewise.
21712 [C99-based-standards] (PRIiFAST16): Likewise.
21713 [C99-based-standards] (PRIoFAST16): Likewise.
21714 [C99-based-standards] (PRIuFAST16): Likewise.
21715 [C99-based-standards] (PRIxFAST16): Likewise.
21716 [C99-based-standards] (PRIXFAST16): Likewise.
21717 [C99-based-standards] (SCNdFAST16): Likewise.
21718 [C99-based-standards] (SCNiFAST16): Likewise.
21719 [C99-based-standards] (SCNoFAST16): Likewise.
21720 [C99-based-standards] (SCNuFAST16): Likewise.
21721 [C99-based-standards] (SCNxFAST16): Likewise.
21722 [C99-based-standards] (PRId32): Likewise.
21723 [C99-based-standards] (PRIi32): Likewise.
21724 [C99-based-standards] (PRIo32): Likewise.
21725 [C99-based-standards] (PRIu32): Likewise.
21726 [C99-based-standards] (PRIx32): Likewise.
21727 [C99-based-standards] (PRIX32): Likewise.
21728 [C99-based-standards] (SCNd32): Likewise.
21729 [C99-based-standards] (SCNi32): Likewise.
21730 [C99-based-standards] (SCNo32): Likewise.
21731 [C99-based-standards] (SCNu32): Likewise.
21732 [C99-based-standards] (SCNx32): Likewise.
21733 [C99-based-standards] (PRIdLEAST32): Likewise.
21734 [C99-based-standards] (PRIiLEAST32): Likewise.
21735 [C99-based-standards] (PRIoLEAST32): Likewise.
21736 [C99-based-standards] (PRIuLEAST32): Likewise.
21737 [C99-based-standards] (PRIxLEAST32): Likewise.
21738 [C99-based-standards] (PRIXLEAST32): Likewise.
21739 [C99-based-standards] (SCNdLEAST32): Likewise.
21740 [C99-based-standards] (SCNiLEAST32): Likewise.
21741 [C99-based-standards] (SCNoLEAST32): Likewise.
21742 [C99-based-standards] (SCNuLEAST32): Likewise.
21743 [C99-based-standards] (SCNxLEAST32): Likewise.
21744 [C99-based-standards] (PRIdFAST32): Likewise.
21745 [C99-based-standards] (PRIiFAST32): Likewise.
21746 [C99-based-standards] (PRIoFAST32): Likewise.
21747 [C99-based-standards] (PRIuFAST32): Likewise.
21748 [C99-based-standards] (PRIxFAST32): Likewise.
21749 [C99-based-standards] (PRIXFAST32): Likewise.
21750 [C99-based-standards] (SCNdFAST32): Likewise.
21751 [C99-based-standards] (SCNiFAST32): Likewise.
21752 [C99-based-standards] (SCNoFAST32): Likewise.
21753 [C99-based-standards] (SCNuFAST32): Likewise.
21754 [C99-based-standards] (SCNxFAST32): Likewise.
21755 [C99-based-standards] (PRId64): Likewise.
21756 [C99-based-standards] (PRIi64): Likewise.
21757 [C99-based-standards] (PRIo64): Likewise.
21758 [C99-based-standards] (PRIu64): Likewise.
21759 [C99-based-standards] (PRIx64): Likewise.
21760 [C99-based-standards] (PRIX64): Likewise.
21761 [C99-based-standards] (SCNd64): Likewise.
21762 [C99-based-standards] (SCNi64): Likewise.
21763 [C99-based-standards] (SCNo64): Likewise.
21764 [C99-based-standards] (SCNu64): Likewise.
21765 [C99-based-standards] (SCNx64): Likewise.
21766 [C99-based-standards] (PRIdLEAST64): Likewise.
21767 [C99-based-standards] (PRIiLEAST64): Likewise.
21768 [C99-based-standards] (PRIoLEAST64): Likewise.
21769 [C99-based-standards] (PRIuLEAST64): Likewise.
21770 [C99-based-standards] (PRIxLEAST64): Likewise.
21771 [C99-based-standards] (PRIXLEAST64): Likewise.
21772 [C99-based-standards] (SCNdLEAST64): Likewise.
21773 [C99-based-standards] (SCNiLEAST64): Likewise.
21774 [C99-based-standards] (SCNoLEAST64): Likewise.
21775 [C99-based-standards] (SCNuLEAST64): Likewise.
21776 [C99-based-standards] (SCNxLEAST64): Likewise.
21777 [C99-based-standards] (PRIdFAST64): Likewise.
21778 [C99-based-standards] (PRIiFAST64): Likewise.
21779 [C99-based-standards] (PRIoFAST64): Likewise.
21780 [C99-based-standards] (PRIuFAST64): Likewise.
21781 [C99-based-standards] (PRIxFAST64): Likewise.
21782 [C99-based-standards] (PRIXFAST64): Likewise.
21783 [C99-based-standards] (SCNdFAST64): Likewise.
21784 [C99-based-standards] (SCNiFAST64): Likewise.
21785 [C99-based-standards] (SCNoFAST64): Likewise.
21786 [C99-based-standards] (SCNuFAST64): Likewise.
21787 [C99-based-standards] (SCNxFAST64): Likewise.
21788 [C99-based-standards] (PRIdMAX): Likewise.
21789 [C99-based-standards] (PRIiMAX): Likewise.
21790 [C99-based-standards] (PRIoMAX): Likewise.
21791 [C99-based-standards] (PRIuMAX): Likewise.
21792 [C99-based-standards] (PRIxMAX): Likewise.
21793 [C99-based-standards] (PRIXMAX): Likewise.
21794 [C99-based-standards] (SCNdMAX): Likewise.
21795 [C99-based-standards] (SCNiMAX): Likewise.
21796 [C99-based-standards] (SCNoMAX): Likewise.
21797 [C99-based-standards] (SCNuMAX): Likewise.
21798 [C99-based-standards] (SCNxMAX): Likewise.
21799 [C99-based-standards] (PRIdPTR): Likewise.
21800 [C99-based-standards] (PRIiPTR): Likewise.
21801 [C99-based-standards] (PRIoPTR): Likewise.
21802 [C99-based-standards] (PRIuPTR): Likewise.
21803 [C99-based-standards] (PRIxPTR): Likewise.
21804 [C99-based-standards] (PRIXPTR): Likewise.
21805 [C99-based-standards] (SCNdPTR): Likewise.
21806 [C99-based-standards] (SCNiPTR): Likewise.
21807 [C99-based-standards] (SCNoPTR): Likewise.
21808 [C99-based-standards] (SCNuPTR): Likewise.
21809 [C99-based-standards] (SCNxPTR): Likewise.
21810 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21812 * conform/data/stdint.h-data: Update comments to clarify
21814 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21816 [C99-based standards] (INT8_MAX): Likewise.
21817 [C99-based standards] (INT16_MIN): Likewise.
21818 [C99-based standards] (INT16_MAX): Likewise.
21819 [C99-based standards] (INT32_MIN): Likewise.
21820 [C99-based standards] (INT32_MAX): Likewise.
21821 [C99-based standards] (INT64_MIN): Likewise.
21822 [C99-based standards] (INT64_MAX): Likewise.
21823 [C99-based standards] (UINT8_MAX): Likewise.
21824 [C99-based standards] (UINT16_MAX): Likewise.
21825 [C99-based standards] (UINT32_MAX): Likewise.
21826 [C99-based standards] (UINT64_MAX): Likewise.
21827 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21828 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21829 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21830 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21831 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21832 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21833 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21834 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21835 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21836 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21837 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21838 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21839 [C99-based standards] (INT_FAST8_MIN): Likewise.
21840 [C99-based standards] (INT_FAST8_MAX): Likewise.
21841 [C99-based standards] (INT_FAST16_MIN): Likewise.
21842 [C99-based standards] (INT_FAST16_MAX): Likewise.
21843 [C99-based standards] (INT_FAST32_MIN): Likewise.
21844 [C99-based standards] (INT_FAST32_MAX): Likewise.
21845 [C99-based standards] (INT_FAST64_MIN): Likewise.
21846 [C99-based standards] (INT_FAST64_MAX): Likewise.
21847 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21848 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21849 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21850 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21851 [C99-based standards] (INTPTR_MIN): Likewise.
21852 [C99-based standards] (INTPTR_MAX): Likewise.
21853 [C99-based standards] (UINTPTR_MAX): Likewise.
21854 [C99-based standards] (INTMAX_MIN): Likewise.
21855 [C99-based standards] (INTMAX_MAX): Likewise.
21856 [C99-based standards] (UINTMAX_MAX): Likewise.
21857 [C99-based standards] (PTRDIFF_MIN): Likewise.
21858 [C99-based standards] (PTRDIFF_MAX): Likewise.
21859 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21860 [C99-based standards] (SIZE_MAX): Likewise.
21861 [C99-based standards] (WCHAR_MAX): Likewise.
21862 [C99-based standards] (WINT_MAX): Likewise.
21863 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21864 constraint on value.
21865 [C99-based standards] (WCHAR_MIN): Likewise.
21866 [C99-based standards] (WINT_MIN): Likewise.
21867 [C99-based standards] (*_t): Allow.
21868 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21869 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21870 Include math.h-data and complex.h-data. Remove all expectations
21871 of math.h and complex.h contents.
21872 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21874 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21875 (struct tm): Expect tag.
21876 [C99-based-standards] (wcstof): Expect function.
21877 [C99-based-standards] (wcstold): Likewise.
21878 [C99-based-standards] (wcstoll): Likewise.
21879 [C99-based-standards] (wcstoull): Likewise.
21880 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21881 macro-int-constant. Specify type.
21882 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21883 constraint on value.
21884 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21886 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21888 [ISO C standards]: Do not allow headers.
21889 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21890 wcs[abcdefghijklmnopqrstuvwxyz]*.
21891 [ISO C standards] (*_t): Do not allow.
21892 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21894 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21895 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21897 [ISO C standards]: Do not allow headers.
21898 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21899 is[abcdefghijklmnopqrstuvwxyz]*.
21900 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21901 to[abcdefghijklmnopqrstuvwxyz]*.
21902 [ISO C standards] (*_t): Do not allow.
21903 * conform/data/stdalign.h-data: New file.
21904 * conform/data/stdbool.h-data: Likewise.
21905 * conform/data/stdnoreturn.h-data: Likewise.
21907 2012-11-07 Roland McGrath <roland@hack.frob.com>
21910 * manual/filesys.texi (Directory Entries): Typo fix.
21911 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21913 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21915 * elf/elf.h (EM_AARCH64): New macro.
21916 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21917 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21918 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21919 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21920 (R_AARCH64_TLSDESC): Likewise.
21921 (NT_ARM_TLS): Likewise.
21922 (NT_ARM_HW_BREAK): Likewise.
21923 (NT_ARM_HW_WATCH): Likewise.
21925 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21928 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21929 (__ieee754_powl): Saturate nonzero exponents with absolute value
21930 below 0x1p-79 to +/- 0x1p-79.
21931 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21932 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21933 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21934 nonzero exponents with absolute value below 0x1p-32 to +/-
21936 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21937 (__ieee754_powl): Saturate nonzero exponents with absolute value
21938 below 0x1p-79 to +/- 0x1p-79.
21939 * math/libm-test.inc (pow_test): Add more tests.
21941 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21943 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21944 _dl_s390_cap_flags with kernel. Increase string length.
21945 (_dl_s390_platforms): Add z196 and zEC12.
21947 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21949 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21950 Change XOPEN21K to XOPEN2K.
21952 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21954 * string/memmove.c: Use memcpy when possible.
21956 2012-11-06 Andreas Jaeger <aj@suse.de>
21958 * po/eo.po: Update from translation team.
21960 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21964 exponent and small x and y exponents, scale x or y up. Increase
21965 by 2 the exponent used in scaling up.
21966 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21967 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21968 * math/libm-test.inc (fma_test): Add more tests.
21969 (fma_test_towardzero): Likewise.
21970 (fma_test_downward): Likewise.
21971 (fma_test_upward): Likewise.
21973 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21976 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21980 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21981 namespace for names of struct fields.
21982 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21984 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21985 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21987 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21990 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21992 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21994 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21998 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22001 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22005 definitely overflow as x * y not x * y + z.
22006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22008 * math/libm-test.inc (fma_test): Add more tests.
22009 (fma_test_towardzero): Likewise.
22010 (fma_test_downward): Likewise.
22011 (fma_test_upward): Likewise.
22013 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22017 * include/stub-tag.h: Remove file.
22018 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22020 * manual/maint.texi (Porting): Don't reference it.
22021 * Makerules ($(objpfx)stubs): Likewise.
22022 * dirent/closedir.c: Don't include <stub-tag.h>.
22023 * dirent/dirfd.c: Likewise.
22024 * dirent/fdopendir.c: Likewise.
22025 * dirent/getdents.c: Likewise.
22026 * dirent/getdents64.c: Likewise.
22027 * dirent/opendir.c: Likewise.
22028 * dirent/readdir.c: Likewise.
22029 * dirent/readdir64.c: Likewise.
22030 * dirent/readdir64_r.c: Likewise.
22031 * dirent/readdir_r.c: Likewise.
22032 * dirent/rewinddir.c: Likewise.
22033 * dirent/seekdir.c: Likewise.
22034 * dirent/telldir.c: Likewise.
22035 * gmon/profil.c: Likewise.
22036 * grp/setgroups.c: Likewise.
22037 * inet/if_index.c: Likewise.
22038 * io/access.c: Likewise.
22039 * io/chdir.c: Likewise.
22040 * io/chmod.c: Likewise.
22041 * io/chown.c: Likewise.
22042 * io/close.c: Likewise.
22043 * io/dup.c: Likewise.
22044 * io/dup2.c: Likewise.
22045 * io/dup3.c: Likewise.
22046 * io/euidaccess.c: Likewise.
22047 * io/faccessat.c: Likewise.
22048 * io/fchdir.c: Likewise.
22049 * io/fchmod.c: Likewise.
22050 * io/fchmodat.c: Likewise.
22051 * io/fchown.c: Likewise.
22052 * io/fchownat.c: Likewise.
22053 * io/fcntl.c: Likewise.
22054 * io/flock.c: Likewise.
22055 * io/fstatfs.c: Likewise.
22056 * io/fstatfs64.c: Likewise.
22057 * io/fstatvfs.c: Likewise.
22058 * io/fstatvfs64.c: Likewise.
22059 * io/futimens.c: Likewise.
22060 * io/fxstat.c: Likewise.
22061 * io/fxstat64.c: Likewise.
22062 * io/fxstatat.c: Likewise.
22063 * io/fxstatat64.c: Likewise.
22064 * io/getcwd.c: Likewise.
22065 * io/isatty.c: Likewise.
22066 * io/lchmod.c: Likewise.
22067 * io/lchown.c: Likewise.
22068 * io/link.c: Likewise.
22069 * io/linkat.c: Likewise.
22070 * io/lseek.c: Likewise.
22071 * io/lseek64.c: Likewise.
22072 * io/lxstat64.c: Likewise.
22073 * io/mkdir.c: Likewise.
22074 * io/mkdirat.c: Likewise.
22075 * io/mkfifo.c: Likewise.
22076 * io/mkfifoat.c: Likewise.
22077 * io/open.c: Likewise.
22078 * io/open64.c: Likewise.
22079 * io/openat.c: Likewise.
22080 * io/openat64.c: Likewise.
22081 * io/pipe.c: Likewise.
22082 * io/pipe2.c: Likewise.
22083 * io/poll.c: Likewise.
22084 * io/posix_fadvise.c: Likewise.
22085 * io/posix_fadvise64.c: Likewise.
22086 * io/posix_fallocate.c: Likewise.
22087 * io/posix_fallocate64.c: Likewise.
22088 * io/read.c: Likewise.
22089 * io/readlink.c: Likewise.
22090 * io/readlinkat.c: Likewise.
22091 * io/rmdir.c: Likewise.
22092 * io/sendfile.c: Likewise.
22093 * io/sendfile64.c: Likewise.
22094 * io/statfs.c: Likewise.
22095 * io/statfs64.c: Likewise.
22096 * io/statvfs.c: Likewise.
22097 * io/statvfs64.c: Likewise.
22098 * io/symlink.c: Likewise.
22099 * io/symlinkat.c: Likewise.
22100 * io/ttyname.c: Likewise.
22101 * io/ttyname_r.c: Likewise.
22102 * io/umask.c: Likewise.
22103 * io/unlink.c: Likewise.
22104 * io/unlinkat.c: Likewise.
22105 * io/utime.c: Likewise.
22106 * io/utimensat.c: Likewise.
22107 * io/write.c: Likewise.
22108 * io/xmknod.c: Likewise.
22109 * io/xmknodat.c: Likewise.
22110 * io/xstat.c: Likewise.
22111 * io/xstat64.c: Likewise.
22112 * login/getpt.c: Likewise.
22113 * login/grantpt.c: Likewise.
22114 * login/unlockpt.c: Likewise.
22115 * math/e_acoshl.c: Likewise.
22116 * math/e_acosl.c: Likewise.
22117 * math/e_asinl.c: Likewise.
22118 * math/e_atan2l.c: Likewise.
22119 * math/e_atanhl.c: Likewise.
22120 * math/e_coshl.c: Likewise.
22121 * math/e_expl.c: Likewise.
22122 * math/e_fmodl.c: Likewise.
22123 * math/e_gammal_r.c: Likewise.
22124 * math/e_hypotl.c: Likewise.
22125 * math/e_j0l.c: Likewise.
22126 * math/e_j1l.c: Likewise.
22127 * math/e_jnl.c: Likewise.
22128 * math/e_lgammal_r.c: Likewise.
22129 * math/e_log10l.c: Likewise.
22130 * math/e_log2l.c: Likewise.
22131 * math/e_logl.c: Likewise.
22132 * math/e_powl.c: Likewise.
22133 * math/e_rem_pio2l.c: Likewise.
22134 * math/e_sinhl.c: Likewise.
22135 * math/e_sqrtl.c: Likewise.
22136 * math/fclrexcpt.c: Likewise.
22137 * math/fedisblxcpt.c: Likewise.
22138 * math/feenablxcpt.c: Likewise.
22139 * math/fegetenv.c: Likewise.
22140 * math/fegetexcept.c: Likewise.
22141 * math/fegetround.c: Likewise.
22142 * math/feholdexcpt.c: Likewise.
22143 * math/fesetenv.c: Likewise.
22144 * math/fesetround.c: Likewise.
22145 * math/feupdateenv.c: Likewise.
22146 * math/fgetexcptflg.c: Likewise.
22147 * math/fraiseexcpt.c: Likewise.
22148 * math/fsetexcptflg.c: Likewise.
22149 * math/ftestexcept.c: Likewise.
22150 * math/k_cosl.c: Likewise.
22151 * math/k_rem_pio2l.c: Likewise.
22152 * math/k_sinl.c: Likewise.
22153 * math/k_tanl.c: Likewise.
22154 * math/s_asinhl.c: Likewise.
22155 * math/s_atanl.c: Likewise.
22156 * math/s_cbrtl.c: Likewise.
22157 * math/s_erfl.c: Likewise.
22158 * math/s_expm1l.c: Likewise.
22159 * math/s_log1pl.c: Likewise.
22160 * math/s_tanhl.c: Likewise.
22161 * misc/acct.c: Likewise.
22162 * misc/brk.c: Likewise.
22163 * misc/chflags.c: Likewise.
22164 * misc/chroot.c: Likewise.
22165 * misc/fchflags.c: Likewise.
22166 * misc/fgetxattr.c: Likewise.
22167 * misc/flistxattr.c: Likewise.
22168 * misc/fremovexattr.c: Likewise.
22169 * misc/fsetxattr.c: Likewise.
22170 * misc/fsync.c: Likewise.
22171 * misc/ftruncate.c: Likewise.
22172 * misc/futimes.c: Likewise.
22173 * misc/futimesat.c: Likewise.
22174 * misc/getdomain.c: Likewise.
22175 * misc/getdtsz.c: Likewise.
22176 * misc/gethostid.c: Likewise.
22177 * misc/gethostname.c: Likewise.
22178 * misc/getloadavg.c: Likewise.
22179 * misc/getpagesize.c: Likewise.
22180 * misc/getsysstats.c: Likewise.
22181 * misc/getxattr.c: Likewise.
22182 * misc/gtty.c: Likewise.
22183 * misc/ioctl.c: Likewise.
22184 * misc/lgetxattr.c: Likewise.
22185 * misc/listxattr.c: Likewise.
22186 * misc/llistxattr.c: Likewise.
22187 * misc/lremovexattr.c: Likewise.
22188 * misc/lsetxattr.c: Likewise.
22189 * misc/lutimes.c: Likewise.
22190 * misc/madvise.c: Likewise.
22191 * misc/mincore.c: Likewise.
22192 * misc/mlock.c: Likewise.
22193 * misc/mlockall.c: Likewise.
22194 * misc/mmap.c: Likewise.
22195 * misc/mprotect.c: Likewise.
22196 * misc/msync.c: Likewise.
22197 * misc/munlock.c: Likewise.
22198 * misc/munlockall.c: Likewise.
22199 * misc/munmap.c: Likewise.
22200 * misc/preadv.c: Likewise.
22201 * misc/preadv64.c: Likewise.
22202 * misc/ptrace.c: Likewise.
22203 * misc/pwritev.c: Likewise.
22204 * misc/pwritev64.c: Likewise.
22205 * misc/readv.c: Likewise.
22206 * misc/reboot.c: Likewise.
22207 * misc/remap_file_pages.c: Likewise.
22208 * misc/removexattr.c: Likewise.
22209 * misc/revoke.c: Likewise.
22210 * misc/select.c: Likewise.
22211 * misc/setdomain.c: Likewise.
22212 * misc/setegid.c: Likewise.
22213 * misc/seteuid.c: Likewise.
22214 * misc/sethostid.c: Likewise.
22215 * misc/sethostname.c: Likewise.
22216 * misc/setregid.c: Likewise.
22217 * misc/setreuid.c: Likewise.
22218 * misc/setxattr.c: Likewise.
22219 * misc/sstk.c: Likewise.
22220 * misc/stty.c: Likewise.
22221 * misc/swapoff.c: Likewise.
22222 * misc/swapon.c: Likewise.
22223 * misc/sync.c: Likewise.
22224 * misc/syncfs.c: Likewise.
22225 * misc/syscall.c: Likewise.
22226 * misc/truncate.c: Likewise.
22227 * misc/ualarm.c: Likewise.
22228 * misc/usleep.c: Likewise.
22229 * misc/ustat.c: Likewise.
22230 * misc/utimes.c: Likewise.
22231 * misc/vhangup.c: Likewise.
22232 * misc/writev.c: Likewise.
22233 * posix/_exit.c: Likewise.
22234 * posix/alarm.c: Likewise.
22235 * posix/execve.c: Likewise.
22236 * posix/fexecve.c: Likewise.
22237 * posix/fork.c: Likewise.
22238 * posix/fpathconf.c: Likewise.
22239 * posix/getaddrinfo.c: Likewise.
22240 * posix/getegid.c: Likewise.
22241 * posix/geteuid.c: Likewise.
22242 * posix/getgid.c: Likewise.
22243 * posix/getgroups.c: Likewise.
22244 * posix/getlogin.c: Likewise.
22245 * posix/getlogin_r.c: Likewise.
22246 * posix/getpgid.c: Likewise.
22247 * posix/getpid.c: Likewise.
22248 * posix/getppid.c: Likewise.
22249 * posix/getresgid.c: Likewise.
22250 * posix/getresuid.c: Likewise.
22251 * posix/getsid.c: Likewise.
22252 * posix/getuid.c: Likewise.
22253 * posix/glob64.c: Likewise.
22254 * posix/nanosleep.c: Likewise.
22255 * posix/pathconf.c: Likewise.
22256 * posix/pause.c: Likewise.
22257 * posix/posix_madvise.c: Likewise.
22258 * posix/pread.c: Likewise.
22259 * posix/pread64.c: Likewise.
22260 * posix/pwrite.c: Likewise.
22261 * posix/pwrite64.c: Likewise.
22262 * posix/sched_getaffinity.c: Likewise.
22263 * posix/sched_getp.c: Likewise.
22264 * posix/sched_gets.c: Likewise.
22265 * posix/sched_primax.c: Likewise.
22266 * posix/sched_primin.c: Likewise.
22267 * posix/sched_rr_gi.c: Likewise.
22268 * posix/sched_setaffinity.c: Likewise.
22269 * posix/sched_setp.c: Likewise.
22270 * posix/sched_sets.c: Likewise.
22271 * posix/sched_yield.c: Likewise.
22272 * posix/setgid.c: Likewise.
22273 * posix/setlogin.c: Likewise.
22274 * posix/setpgid.c: Likewise.
22275 * posix/setresgid.c: Likewise.
22276 * posix/setresuid.c: Likewise.
22277 * posix/setsid.c: Likewise.
22278 * posix/setuid.c: Likewise.
22279 * posix/sleep.c: Likewise.
22280 * posix/spawni.c: Likewise.
22281 * posix/sysconf.c: Likewise.
22282 * posix/times.c: Likewise.
22283 * posix/wait.c: Likewise.
22284 * posix/wait3.c: Likewise.
22285 * posix/wait4.c: Likewise.
22286 * posix/waitpid.c: Likewise.
22287 * resolv/gai_sigqueue.c: Likewise.
22288 * resource/getpriority.c: Likewise.
22289 * resource/getrlimit.c: Likewise.
22290 * resource/getrusage.c: Likewise.
22291 * resource/nice.c: Likewise.
22292 * resource/setpriority.c: Likewise.
22293 * resource/setrlimit.c: Likewise.
22294 * resource/ulimit.c: Likewise.
22295 * rt/aio_cancel.c: Likewise.
22296 * rt/aio_fsync.c: Likewise.
22297 * rt/aio_read.c: Likewise.
22298 * rt/aio_sigqueue.c: Likewise.
22299 * rt/aio_suspend.c: Likewise.
22300 * rt/aio_write.c: Likewise.
22301 * rt/clock_getres.c: Likewise.
22302 * rt/clock_gettime.c: Likewise.
22303 * rt/clock_nanosleep.c: Likewise.
22304 * rt/clock_settime.c: Likewise.
22305 * rt/lio_listio.c: Likewise.
22306 * rt/mq_close.c: Likewise.
22307 * rt/mq_getattr.c: Likewise.
22308 * rt/mq_notify.c: Likewise.
22309 * rt/mq_open.c: Likewise.
22310 * rt/mq_receive.c: Likewise.
22311 * rt/mq_send.c: Likewise.
22312 * rt/mq_setattr.c: Likewise.
22313 * rt/mq_timedreceive.c: Likewise.
22314 * rt/mq_timedsend.c: Likewise.
22315 * rt/mq_unlink.c: Likewise.
22316 * rt/shm_open.c: Likewise.
22317 * rt/shm_unlink.c: Likewise.
22318 * rt/timer_create.c: Likewise.
22319 * rt/timer_delete.c: Likewise.
22320 * rt/timer_getoverr.c: Likewise.
22321 * rt/timer_gettime.c: Likewise.
22322 * rt/timer_settime.c: Likewise.
22323 * setjmp/__longjmp.c: Likewise.
22324 * setjmp/setjmp.c: Likewise.
22325 * signal/kill.c: Likewise.
22326 * signal/killpg.c: Likewise.
22327 * signal/raise.c: Likewise.
22328 * signal/sigaction.c: Likewise.
22329 * signal/sigaltstack.c: Likewise.
22330 * signal/sigblock.c: Likewise.
22331 * signal/sigignore.c: Likewise.
22332 * signal/sigintr.c: Likewise.
22333 * signal/signal.c: Likewise.
22334 * signal/sigpause.c: Likewise.
22335 * signal/sigpending.c: Likewise.
22336 * signal/sigqueue.c: Likewise.
22337 * signal/sigreturn.c: Likewise.
22338 * signal/sigset.c: Likewise.
22339 * signal/sigsetmask.c: Likewise.
22340 * signal/sigstack.c: Likewise.
22341 * signal/sigsuspend.c: Likewise.
22342 * signal/sigtimedwait.c: Likewise.
22343 * signal/sigvec.c: Likewise.
22344 * signal/sigwait.c: Likewise.
22345 * signal/sigwaitinfo.c: Likewise.
22346 * signal/sysv_signal.c: Likewise.
22347 * socket/accept.c: Likewise.
22348 * socket/accept4.c: Likewise.
22349 * socket/bind.c: Likewise.
22350 * socket/connect.c: Likewise.
22351 * socket/getpeername.c: Likewise.
22352 * socket/getsockname.c: Likewise.
22353 * socket/getsockopt.c: Likewise.
22354 * socket/isfdtype.c: Likewise.
22355 * socket/listen.c: Likewise.
22356 * socket/recv.c: Likewise.
22357 * socket/recvfrom.c: Likewise.
22358 * socket/recvmsg.c: Likewise.
22359 * socket/send.c: Likewise.
22360 * socket/sendmsg.c: Likewise.
22361 * socket/sendto.c: Likewise.
22362 * socket/setsockopt.c: Likewise.
22363 * socket/shutdown.c: Likewise.
22364 * socket/sockatmark.c: Likewise.
22365 * socket/socket.c: Likewise.
22366 * socket/socketpair.c: Likewise.
22367 * stdio-common/ctermid.c: Likewise.
22368 * stdio-common/cuserid.c: Likewise.
22369 * stdio-common/remove.c: Likewise.
22370 * stdio-common/rename.c: Likewise.
22371 * stdio-common/renameat.c: Likewise.
22372 * stdio-common/tempname.c: Likewise.
22373 * stdlib/getcontext.c: Likewise.
22374 * stdlib/makecontext.c: Likewise.
22375 * stdlib/setcontext.c: Likewise.
22376 * stdlib/swapcontext.c: Likewise.
22377 * stdlib/system.c: Likewise.
22378 * streams/fattach.c: Likewise.
22379 * streams/fdetach.c: Likewise.
22380 * streams/getmsg.c: Likewise.
22381 * streams/getpmsg.c: Likewise.
22382 * streams/putmsg.c: Likewise.
22383 * streams/putpmsg.c: Likewise.
22384 * sysdeps/unix/bsd/getpt.c: Likewise.
22385 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22386 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22387 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22390 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22391 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22392 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22393 * sysvipc/msgctl.c: Likewise.
22394 * sysvipc/msgget.c: Likewise.
22395 * sysvipc/msgrcv.c: Likewise.
22396 * sysvipc/msgsnd.c: Likewise.
22397 * sysvipc/semctl.c: Likewise.
22398 * sysvipc/semget.c: Likewise.
22399 * sysvipc/semop.c: Likewise.
22400 * sysvipc/semtimedop.c: Likewise.
22401 * sysvipc/shmat.c: Likewise.
22402 * sysvipc/shmctl.c: Likewise.
22403 * sysvipc/shmdt.c: Likewise.
22404 * sysvipc/shmget.c: Likewise.
22405 * termios/tcdrain.c: Likewise.
22406 * termios/tcflow.c: Likewise.
22407 * termios/tcflush.c: Likewise.
22408 * termios/tcgetattr.c: Likewise.
22409 * termios/tcgetpgrp.c: Likewise.
22410 * termios/tcsendbrk.c: Likewise.
22411 * termios/tcsetattr.c: Likewise.
22412 * termios/tcsetpgrp.c: Likewise.
22413 * time/adjtime.c: Likewise.
22414 * time/clock.c: Likewise.
22415 * time/getitimer.c: Likewise.
22416 * time/gettimeofday.c: Likewise.
22417 * time/setitimer.c: Likewise.
22418 * time/settimeofday.c: Likewise.
22419 * time/stime.c: Likewise.
22420 * time/time.c: Likewise.
22422 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22424 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22427 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22429 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22431 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22435 FE_TONEAREST before applying Dekker multiplication and Knuth
22436 addition. Clear inexact exceptions and check for exact zero
22437 results afterwards.
22438 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22441 * math/libm-test.inc (fma_test): Add more tests.
22442 (fma_test_towardzero): Likewise.
22443 (fma_test_downward): Likewise.
22444 (fma_test_upward): Likewise.
22445 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22447 (libc_fesetround): New macro.
22448 (libc_fesetroundf): Likewise.
22449 (libc_fesetroundl): Likewise.
22450 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22452 (libc_fesetround_387): Likewise.
22453 (libc_fesetroundf): New macro.
22454 (libc_fesetround): Likewise.
22455 (libc_fesetroundl): Likewise.
22456 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22458 (libc_fesetroundf): New macro.
22459 (libc_fesetround): Likewise.
22460 (libc_fesetroundl): Likewise.
22461 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22462 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22463 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22465 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22466 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22468 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22469 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22471 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22475 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22476 integer constant usable in #if and use that to give value to enum
22478 (FE_DIVBYZERO): Likewise.
22479 (FE_UNDERFLOW): Likewise.
22480 (FE_OVERFLOW): Likewise.
22481 (FE_INVALID): Likewise.
22482 (FE_INVALID_SNAN): Likewise.
22483 (FE_INVALID_ISI): Likewise.
22484 (FE_INVALID_IDI): Likewise.
22485 (FE_INVALID_ZDZ): Likewise.
22486 (FE_INVALID_IMZ): Likewise.
22487 (FE_INVALID_COMPARE): Likewise.
22488 (FE_INVALID_SOFTWARE): Likewise.
22489 (FE_INVALID_SQRT): Likewise.
22490 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22491 (FE_TONEAREST): Likewise.
22492 (FE_TOWARDZERO): Likewise.
22493 (FE_UPWARD): Likewise.
22494 (FE_DOWNWARD): Likewise.
22495 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22496 (FE_DIVBYZERO): Likewise.
22497 (FE_OVERFLOW): Likewise.
22498 (FE_UNDERFLOW): Likewise.
22499 (FE_INEXACT): Likewise.
22500 (FE_TONEAREST): Likewise.
22501 (FE_DOWNWARD): Likewise.
22502 (FE_UPWARD): Likewise.
22503 (FE_TOWARDZERO): Likewise.
22504 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22505 (FE_UNDERFLOW): Likewise.
22506 (FE_OVERFLOW): Likewise.
22507 (FE_DIVBYZERO): Likewise.
22508 (FE_INVALID): Likewise.
22509 (FE_TONEAREST): Likewise.
22510 (FE_TOWARDZERO): Likewise.
22511 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22512 (FE_OVERFLOW): Likewise.
22513 (FE_UNDERFLOW): Likewise.
22514 (FE_DIVBYZERO): Likewise.
22515 (FE_INEXACT): Likewise.
22516 (FE_TONEAREST): Likewise.
22517 (FE_TOWARDZERO): Likewise.
22518 (FE_UPWARD): Likewise.
22519 (FE_DOWNWARD): Likewise.
22520 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22521 (FE_DIVBYZERO): Likewise.
22522 (FE_OVERFLOW): Likewise.
22523 (FE_UNDERFLOW): Likewise.
22524 (FE_INEXACT): Likewise.
22525 (FE_TONEAREST): Likewise.
22526 (FE_DOWNWARD): Likewise.
22527 (FE_UPWARD): Likewise.
22528 (FE_TOWARDZERO): Likewise.
22530 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22532 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22534 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22536 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22537 commands. Quote $PWD.
22538 (blacklist_exports): Don't use remove_newlines. Replace "declare
22540 (remove_newlines): Remove.
22542 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22544 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22545 * stdlib/stdlib.h (atof): Moved to ...
22546 * include/bits/stdlib-float.h: Here. New file.
22547 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22548 * stdlib/bits/stdlib-float.h: New file.
22549 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22551 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22554 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22556 * conform/conformtest.pl (@headers): Add fenv.h.
22557 * conform/data/fenv.h-data: New file.
22558 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22559 include of <math/fenv.h>.
22561 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22562 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22563 && !UNIX98]. Enables tests for XOPEN2K8.
22564 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22565 POSIX2008]: Likewise.
22567 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22568 (struct rusage): Do not expect type or its members.
22571 * math/math.h (FP_NAN): Define macro to integer constant usable in
22572 #if and use that to give value to enum constant.
22573 (FP_INFINITE): Likewise.
22574 (FP_ZERO): Likewise.
22575 (FP_SUBNORMAL): Likewise.
22576 (FP_NORMAL): Likewise.
22578 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22580 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22581 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22584 2012-11-02 Roland McGrath <roland@hack.frob.com>
22586 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22587 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22588 autoconf-time if not.
22589 * configure.in: Remove AC_PREREQ.
22591 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22593 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22594 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22595 of the internal implementation.
22597 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22599 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22600 except include of <misc/sys/syslog.h>.
22602 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22605 function returns with a NULL context exit with zero.
22607 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22609 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22611 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22613 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22614 (run_program_cmd): This.
22615 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22616 (tst_langinfo): New variable. Use it.
22618 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22620 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22621 floating point opcodes.
22623 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22625 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22628 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22630 * sysdeps/mach/hurd/powerpc: Remove directory.
22631 * sysdeps/mach/powerpc: Likewise.
22633 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22635 * scripts/check-local-headers.sh: Ignore c++ headers.
22637 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22639 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22640 __libc_cleanup_region_start argument.
22642 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22647 x * y using scaling, not as x * y + z.
22648 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22649 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22650 * math/libm-test.inc (fma_test): Add more tests.
22651 (fma_test_towardzero): Likewise.
22652 (fma_test_downward): Likewise.
22653 (fma_test_upward): Likewise.
22655 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22657 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22659 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22661 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22664 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22666 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22668 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22675 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22678 Fix the order of the list for glibc 2.17.
22679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22682 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22686 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22689 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22690 for low part of x being zero before using __atanl (y).
22691 * math/libm-test.inc (atan2_test): Add another test.
22693 * manual/install.texi (Configuring and compiling): Document
22694 general use of test-wrapper and test-wrapper-env.
22695 * INSTALL: Regenerated.
22697 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22698 (__fma): Do not extract and scale down low bits on after-rounding
22699 systems when result rounded to normal precision would have normal
22701 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22702 (__fmal): Do not extract and scale down low bits on after-rounding
22703 systems when result rounded to normal precision would have normal
22705 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22706 (__fmal): Do not extract and scale down low bits on after-rounding
22707 systems when result rounded to normal precision would have normal
22709 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22711 (fma_test): Add more tests.
22712 (fma_test_towardzero): Likewise.
22713 (fma_test_downward): Likewise.
22714 (fma_test_upward): Likewise.
22716 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22718 * sysdeps/i386/tininess.h: Renamed to ...
22719 * sysdeps/x86/tininess.h: This.
22720 * sysdeps/x86_64/tininess.h: Removed.
22722 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22724 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22725 input. Use $(build-program-cmd).
22726 ($(objpfx)tst-array1-static.out): Likewise.
22727 ($(objpfx)tst-array2.out): Likewise.
22728 ($(objpfx)tst-array3.out): Likewise.
22729 ($(objpfx)tst-array4.out): Likewise.
22730 ($(objpfx)tst-array5.out): Likewise.
22731 ($(objpfx)tst-array5-static.out): Likewise.
22733 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22735 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22738 * nss/nsswitch.h (nss_interface_function): Provide new
22739 macro for use with NSS functions.
22740 * grp/initgroups.c: Use new macro.
22741 * nss/getXXbyYY.c: Likewise.
22742 * nss/getXXbyYY_r.c: Likewise.
22743 * nss/getXXent.c: Likewise.
22744 * nss/getXXent_r.c: Likewise.
22745 * sysdeps/posix/getaddrinfo.c: Likewise.
22747 2012-10-30 Andreas Jaeger <aj@suse.de>
22749 * po/ru.po: Update Russion translation from translation project.
22751 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22756 result and shift together with sticky bit instead of replicating
22757 round-to-nearest rounding.
22758 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22759 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22760 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22761 missing underflow exceptions.
22762 (fma_test_towardzero): Add more tests.
22763 (fma_test_downward): Likewise.
22764 (fma_test_upward): Likewise.
22767 * sysdeps/generic/tininess.h: New file.
22768 * sysdeps/i386/tininess.h: Likewise.
22769 * sysdeps/sh/tininess.h: Likewise.
22770 * sysdeps/x86_64/tininess.h: Likewise.
22771 * stdlib/tst-strtod-underflow.c: Likewise.
22772 * stdlib/tst-tininess.c: Likewise.
22773 * stdlib/strtod_l.c: Include <tininess.h>.
22774 (round_and_return): Do not set errno for exact underflow cases.
22775 Force an underflow exception when setting errno for underflow.
22776 Determine underflow based on rounding to normal precision if
22777 TININESS_AFTER_ROUNDING.
22778 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22779 ERANGE for exact underflow cases.
22780 * stdlib/Makefile (tests): Add tst-tininess and
22781 tst-strtod-underflow.
22782 ($(objpfx)tst-tininess): Use $(link-libm).
22783 ($(objpfx)tst-strtod-underflow): Likewise.
22785 2012-10-30 Andreas Jaeger <aj@suse.de>
22788 * elf/Makefile (tests): Remove conditional for have-initfini-array
22789 since this is now always required and the variable does not exist
22791 (tests-static): Likewise.
22792 (modules-names): Likewise.
22794 * po/eo.po: Add Esperanto translation from translation project.
22796 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22797 merged with constructor/destructor.
22798 (init_array): Likewise.
22799 * elf/tst-array2dep.c (fini_array): Likewise.
22800 (init_array): Likewise.
22802 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22804 * manual/message.texi: Delete @cartouche tags.
22806 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22808 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22810 * sysdeps/mach/hurd/fsync.c: Likewise.
22812 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22813 [_POSIX_REALTIME_SIGNALS]: Change condition to
22814 [_POSIX_REALTIME_SIGNALS > 0].
22816 2012-10-27 Andreas Jaeger <aj@suse.de>
22818 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22819 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22820 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22821 [__WORDSIZE != 64]: Likewise.
22823 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22825 * iconvdata/tst-table.sh: Remove ${SHELL}.
22826 * iconvdata/tst-tables.sh: Likewise.
22828 2012-10-25 David S. Miller <davem@davemloft.net>
22830 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22831 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22834 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22836 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22837 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22838 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22841 2012-10-25 Roland McGrath <roland@hack.frob.com>
22843 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22844 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22847 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22848 Jim Blandy <jimb@codesourcery.com>
22850 * scripts/cross-test-ssh.sh: New file.
22851 * manual/install.texi (Configuring and compiling): Document use of
22853 * INSTALL: Regenerated.
22855 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22857 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22860 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22862 * Makeconfig (run-program-prefix): Fix comment.
22864 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22865 Jim Blandy <jimb@codesourcery.com>
22867 * Makeconfig (test-wrapper): New variable,
22868 (test-wrapper-env): Likewise.
22869 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22870 (run-built-tests): Define to yes.
22871 (run-program-prefix): Use $(test-wrapper).
22872 (built-program-cmd): Likewise.
22873 * Rules (make-test-out): Use $(test-wrapper-env) and
22874 $(host-built-program-cmd).
22875 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22876 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22878 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22879 $(test-wrapper-env) to tst-rtld-load-self.sh.
22880 ($(objpfx)order2.out): Use $(test-wrapper).
22881 ($(objpfx)tst-initorder.out): Likewise.
22882 ($(objpfx)tst-initorder2.out): Likewise.
22883 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22884 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22885 (test_wrapper_env): New variable. Use it to run ld.so.
22886 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22887 Use it to run ld.so.
22888 (test_wrapper_env): Likewise.
22889 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22890 $(test-wrapper) to run-iconv-test.sh.
22891 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22892 (ICONV): Use $test_wrapper.
22893 * posix/Makefile ($(objpfx)globtest.out): Pass
22894 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22895 globtest.sh, not $(run-program-prefix).
22896 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22897 (test_wrapper): Likewise.
22898 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22899 set together with run_via_rtld_prefix.
22900 (run_program_prefix): Define in terms of test_wrapper and
22901 run_via_rtld_prefix.
22903 2012-10-24 Roland McGrath <roland@hack.frob.com>
22905 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22906 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22910 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22911 Declare __clock_getres, __clock_gettime, __clock_settime,
22912 __clock_nanosleep, and __clock_getcpuclockid.
22913 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22914 Remove librt_hidden_def (clock_gettime).
22915 * sysdeps/unix/clock_gettime.c: Likewise.
22916 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22917 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22918 * rt/clock_getres.c: Define __clock_getres as an alias.
22919 * sysdeps/posix/clock_getres.c: Likewise.
22920 * rt/clock_settime.c: Define __clock_settime as an alias.
22921 * sysdeps/unix/clock_settime.c: Likewise.
22922 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22923 * sysdeps/unix/clock_nanosleep.c: Likewise.
22924 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22925 * rt/clock-compat.c: New file.
22926 * rt/Makefile (librt-routines): Add clock-compat and move
22927 $(clock-routines) to ...
22928 (routines): ... here, new variable.
22929 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22930 Don't add get_clockfreq here.
22931 * rt/Versions (libc: GLIBC_2.17): New version set.
22932 Add clock_* symbols here.
22933 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22934 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22935 (GLIBC_2.17): Add clock_* symbols.
22936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22938 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22947 * NEWS: Mention the move.
22949 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22950 Use __open, __read, __close rather than their public counterparts.
22951 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22952 (__get_clockfreq_via_cpuinfo): Likewise.
22953 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22954 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22956 * config.h.in (HAVE_IFUNC): New #undef.
22957 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22959 * configure: Regenerated.
22961 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22963 * configure.in: Move READELF check to start of file.
22964 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22965 libc_cv_asm_gnu_indirect_function in the process.
22966 * configure: Regenerated.
22968 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22970 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22971 send the output to /dev/null.
22972 (libc_cv_cc_with_libunwind): Likewise.
22973 (libc_cv_as_noexecstack): Likewise.
22974 * configure: Regenerate.
22976 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22978 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22980 * posix/globtest.sh (TMPDIR): Do not set.
22981 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22982 (testout): Likewise.
22984 2012-10-24 Andreas Jaeger <aj@suse.de>
22986 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22987 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22988 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22989 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22990 posix_fadvise64, posix_fallocate64.
22992 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22993 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22994 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22996 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22998 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23001 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23002 <bits/fcntl-linux.h>.
23003 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23005 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23006 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23007 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23008 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23009 [__WORDSIZE != 64]: Likewise.
23011 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23013 * Makeconfig (run-built-tests): New variable.
23014 * Rules [$(cross-compiling) = yes]: Change condition to
23015 [$(run-built-tests) = no].
23016 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23017 to [$(run-built-tests) = yes].
23018 * elf/Makefile [$(cross-compiling) = no]: Likewise
23019 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23020 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23021 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23022 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23023 * io/Makefile [$(cross-compiling) = no]: Likewise.
23024 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23025 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23026 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23027 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23028 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23029 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23030 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23031 * string/Makefile [$(cross-compiling) = no]: Likewise.
23033 * posix/Makefile ($(objpfx)globtest.out): Pass
23034 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23035 $(rtld-installed-name).
23036 * posix/globtest.sh (elf_objpfx): Remove variable.
23037 (rtld_installed_name): Likewise.
23038 (library_path): Likewise.
23039 (run_program_prefix): New variable. Use for running globtest
23042 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23043 Joseph Myers <joseph@codesourcery.com>
23045 * Makeconfig (host-built-program-cmd): New variable.
23046 * elf/Makefile (tst-stackguard1-ARGS): Use
23047 $(host-built-program-cmd).
23048 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23049 (tst-spawn-ARGS): Likewise.
23050 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23052 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23053 Jim Blandy <jimb@codesourcery.com>
23055 * Makeconfig (run-via-rtld-prefix): New variable.
23056 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23057 (built-program-cmd): Likewise.
23059 2012-10-22 Andreas Jaeger <aj@suse.de>
23061 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23062 __O_RSYNC if it exists, otherwise to O_SYNC.
23064 2012-10-22 Jim Blandy <jimb@codesourcery.com>
23065 Joseph Myers <joseph@codesourcery.com>
23067 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23069 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23071 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23074 2012-10-22 Andreas Jaeger <aj@suse.de>
23076 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23081 bits/fcntl-linux.h.
23083 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23084 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23088 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23091 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23092 Joseph Myers <joseph@codesourcery.com>
23094 * config.make.in (NM): New variable.
23096 2012-10-21 Andreas Jaeger <aj@suse.de>
23098 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23099 definitions and declarations that are provided by
23100 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23102 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23105 * elf/Makefile (tests-static): Add tst-leaks1-static.
23106 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23107 ($(objpfx)tst-leaks1-static): New rule.
23108 ($(objpfx)tst-leaks1-static-mem): Likewise.
23109 (tst-leaks1-static-ENV): New macro.
23110 * elf/dl-open.c (dl_open_worker): Check the main application
23111 only if SHARED is defined.
23112 * elf/tst-leaks1-static.c: New file.
23114 2012-10-20 Andreas Jaeger <aj@suse.de>
23116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23117 generic values for Linux.
23118 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23119 and declarations that are provided by <bits/fcntl-linux.h> and
23120 include <bits/fcntl-linux.h>.
23121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23122 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23124 2012-10-20 Roland McGrath <roland@hack.frob.com>
23126 * io/fcntl.h: Move include of <bits/types.h> to the top and
23127 include it unconditionally.
23129 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23131 * wcsmbs/Makefile (tests-ifunc): New variable.
23132 (tests): Add $(tests-ifunc).
23133 * wcsmbs/test-wcschr-ifunc.c: New file.
23134 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23135 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23136 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23137 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23138 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23140 * string/Makefile (tests-ifunc): New variable.
23141 (tests): Add $(tests-ifunc).
23142 * string/test-memccpy.c (TEST_NAME): New macro.
23143 * string/test-memchr.c (TEST_NAME): Likewise.
23144 * string/test-memcmp.c (TEST_NAME): Likewise.
23145 * string/test-memcpy.c (TEST_NAME): Likewise.
23146 * string/test-memmem.c (TEST_NAME): Likewise.
23147 * string/test-memmove.c (TEST_NAME): Likewise.
23148 * string/test-memset.c (TEST_NAME): Likewise.
23149 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23150 * string/test-stpcpy.c (TEST_NAME): Likewise.
23151 * string/test-stpncpy.c (TEST_NAME): Likewise.
23152 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23153 * string/test-strcasestr.c (TEST_NAME): Likewise.
23154 * string/test-strcat.c (TEST_NAME): Likewise.
23155 * string/test-strchr.c (TEST_NAME): Likewise.
23156 * string/test-strcmp.c(TEST_NAME): Likewise.
23157 * string/test-strcpy.c (TEST_NAME): Likewise.
23158 * string/test-strcspn.c (TEST_NAME): Likewise.
23159 * string/test-strlen.c (TEST_NAME): Likewise.
23160 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23161 * string/test-strncmp.c (TEST_NAME): Likewise.
23162 * string/test-strncpy.c (TEST_NAME): Likewise.
23163 * string/test-strnlen.c (TEST_NAME): Likewise.
23164 * string/test-strpbrk.c (TEST_NAME): Likewise.
23165 * string/test-strrchr.c (TEST_NAME): Likewise.
23166 * string/test-strspn.c (TEST_NAME): Likewise.
23167 * string/test-strstr.c (TEST_NAME): Likewise.
23168 * string/test-bcopy-ifunc.c: New file.
23169 * string/test-bzero-ifunc.c: Likewise.
23170 * string/test-memccpy-ifunc.c: Likewise.
23171 * string/test-memchr-ifunc.c: Likewise.
23172 * string/test-memcmp-ifunc.c: Likewise.
23173 * string/test-memcpy-ifunc.c: Likewise.
23174 * string/test-memmem-ifunc.c: Likewise.
23175 * string/test-memmove-ifunc.c: Likewise.
23176 * string/test-mempcpy-ifunc.c: Likewise.
23177 * string/test-memset-ifunc.c: Likewise.
23178 * string/test-rawmemchr-ifunc.c: Likewise.
23179 * string/test-stpcpy-ifunc.c: Likewise.
23180 * string/test-stpncpy-ifunc.c: Likewise.
23181 * string/test-strcasecmp-ifunc.c: Likewise.
23182 * string/test-strcasestr-ifunc.c: Likewise.
23183 * string/test-strcat-ifunc.c: Likewise.
23184 * string/test-strchr-ifunc.c: Likewise.
23185 * string/test-strchrnul-ifunc.c: Likewise.
23186 * string/test-strcmp-ifunc.c: Likewise.
23187 * string/test-strcpy-ifunc.c: Likewise.
23188 * string/test-strcspn-ifunc.c: Likewise.
23189 * string/test-strlen-ifunc.c: Likewise.
23190 * string/test-strncasecmp-ifunc.c: Likewise.
23191 * string/test-strncat-ifunc.c: Likewise.
23192 * string/test-strncmp-ifunc.c: Likewise.
23193 * string/test-strncpy-ifunc.c: Likewise.
23194 * string/test-strnlen-ifunc.c: Likewise.
23195 * string/test-strpbrk-ifunc.c: Likewise.
23196 * string/test-strrchr-ifunc.c: Likewise.
23197 * string/test-strspn-ifunc.c: Likewise.
23198 * string/test-strstr-ifunc.c: Likewise.
23200 * debug/Makefile (tests-ifunc): New variable.
23201 (tests): Add $(tests-ifunc).
23202 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23203 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23204 * debug/test-stpcpy_chk-ifunc.c: New file.
23205 * debug/test-strcpy_chk-ifunc.c: Likewise.
23207 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23210 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23211 header is not read in.
23213 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23215 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23216 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23217 directly. Pass built executable to script as
23218 $(built-program-cmd).
23219 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23220 $testprogram without using LD_LIBRARY_PATH and $ldso.
23222 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23223 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23224 $(rtld-installed-name).
23225 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23226 (rtld_installed_name): Likewise.
23227 (library_path): Likewise.
23228 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23229 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23230 $(run-program-prefix) to tst-tables.sh.
23231 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23232 it to run tst-table-from and tst-table-to.
23233 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23234 Pass it to tst-table.sh.
23235 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23236 $(run-program-prefix) to tst-gettext.sh.
23237 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23239 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23241 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23242 to run tst-gettext.
23243 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23244 to run tst-gettext2.
23245 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23246 to run tst-translit.
23247 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23248 $(run-program-prefix) to tst-mtrace.sh.
23249 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23251 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23252 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23253 $(rtld-installed-name).
23254 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23255 (rtld_installed_name): Likewise.
23256 (run_program_prefix): New variable. Use it to run wordexp-test.
23258 * Makeconfig (ARCH): Remove all definitions.
23259 (machine): Likewise.
23260 [ARCH]: Remove conditional code.
23261 [!objdir]: Give error.
23262 [!objdir] (objpfx): Remove.
23263 [!objdir] (common-objpfx): Likewise.
23264 [!objdir] (common-objdir): Likewise.
23265 * configure.in (config_makefile): Remove. Hardcode Makefile in
23266 AC_CONFIG_FILES call.
23267 * configure: Regenerated.
23270 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23272 (testout): Likewise.
23274 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23275 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23276 $(rtld-installed-name).
23277 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23278 (rtld_installed_name): Likwise.
23279 (runit): Remove function.
23280 (run_getconf): New variable, Use it for running getconf binary.
23282 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23285 * string/test-memmem.c (check_result): New function.
23286 (do_one_test): Use it.
23287 (check1): New function.
23288 (test_main): Use it.
23290 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23292 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23294 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23296 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23297 (_G_LSEEK64): Likewise.
23298 (_G_MMAP64): Likewise.
23299 (_G_FSTAT64): Likewise.
23300 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23301 (_G_LSEEK64): Likewise.
23302 (_G_MMAP64): Likewise.
23303 (_G_FSTAT64): Likewise.
23304 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23305 unconditional. Call __mmap64 directly.
23306 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23307 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23308 __lseek64 directly.
23309 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23310 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23312 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23313 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23314 __lseek64 directly.
23315 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23316 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23317 __lseek64 directly.
23318 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23319 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23320 __lseek64 directly.
23321 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23322 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23323 __fxstat64 directly.
23324 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23325 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23327 (freopen64) [!_G_OPEN64]: Remove conditional code.
23328 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23330 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23331 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23333 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23334 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23336 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23337 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23339 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23340 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23342 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23343 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23345 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23346 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23348 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23350 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23353 * manual/memory.texi (Malloc Tunable Parameters): Add note
23354 about free list pointers overwriting some perturb bytes.
23355 Wording suggested by Roland McGrath.
23357 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23359 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23360 (lgamma_test): Likewise.
23361 (tgamma_test): Likewise.
23363 2012-10-16 Florian Weimer <fweimer@redhat.com>
23366 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23367 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23369 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23371 * NEWS: Mention BZ #14716.
23372 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23373 when removing AVAILABLE1_USES_J macro.
23375 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23377 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23378 (__bswap_64): __uint64_t for unsigned 64-bit int.
23380 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23382 * include/string.h (memmem): Declare libc hidden alias.
23383 * string/memmem.c (memmem): Define libc hidden alias.
23384 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23385 __read, __close instead of open, read, close.
23387 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23390 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23392 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23393 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23394 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23396 (__rawmemchr_sse2): Likewise.
23397 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23398 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23399 (__strchr_sse2): Likewise.
23400 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23401 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23402 (__strcasecmp_sse2): Likewise.
23403 (__strncasecmp_sse2): Likewise.
23404 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23405 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23406 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23407 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23408 (__strrchr_sse2): Likewise.
23409 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23411 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23412 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23413 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23414 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23415 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23416 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23417 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23418 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23419 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23420 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23421 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23422 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23423 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23424 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23425 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23426 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23427 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23428 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23429 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23430 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23431 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23432 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23433 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23434 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23435 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23436 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23437 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23438 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23439 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23440 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23442 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23444 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23445 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23446 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23447 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23449 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23451 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23452 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23453 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23454 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23456 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23457 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23458 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23459 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23460 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23461 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23462 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23463 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23464 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23465 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23466 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23467 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23468 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23469 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23470 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23471 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23472 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23473 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23474 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23475 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23476 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23477 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23478 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23479 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23480 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23481 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23482 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23483 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23484 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23485 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23486 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23487 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23488 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23489 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23490 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23491 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23492 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23493 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23494 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23495 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23496 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23498 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23499 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23500 * include/ifunc-impl-list.h: New file.
23501 * misc/ifunc-impl-list.c: Likewise.
23502 * misc/Makefile (routines): Add ifunc-impl-list.
23503 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23504 * string/test-string.h: Include <ifunc-impl-list.h>.
23505 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23506 TEST_NAME]: New variables.
23507 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23509 (test_init): Call __libc_ifunc_impl_list to initialize
23510 func_list if TEST_IFUNC and TEST_NAME are defined.
23512 * string/Makefile (strop-tests): Add bcopy and bzero.
23513 * string/test-bcopy.c: New file.
23514 * string/test-bzero.c: Likewise.
23515 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23517 * string/test-memset.c: Support bzero test if TEST_BZERO is
23519 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23521 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23523 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23526 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23528 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23529 * configure: Regenerated.
23531 * Makeconfig (+link-static-before-libc): Don't include
23532 $(link-static-libc).
23534 * libio/libio.h (_IO_pos_t): Remove.
23536 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23538 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23541 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23543 * crypt/crypt-entry.c: Include fips-private.h.
23544 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23545 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23546 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23547 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23549 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23551 * crypt/crypt-private.h: Include stdbool.h.
23552 (_ufc_setup_salt_r): Return bool.
23553 * crypt/crypt-entry.c: Include errno.h.
23554 (__crypt_r): Return NULL with EINVAL for bad salt.
23555 * crypt/crypt_util.c (bad_for_salt): New.
23556 (_ufc_setup_salt_r): Check that salt is long enough and within
23557 the specified alphabet.
23558 * crypt/badsalttest.c: New file.
23559 * crypt/Makefile (tests): Add it.
23560 ($(objpfx)badsalttest): New.
23562 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23564 * NEWS: Add entry for BZ #14602.
23566 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23568 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23570 * math/libm-test.inc: Update comment listing what functions and
23572 (isgreater_test): New function.
23573 (isgreaterequal_test): Likewise.
23574 (isless_test): Likewise.
23575 (islessequal_test): Likewise.
23576 (islessgreater_test): Likewise.
23577 (isunordered_test): Likewise.
23578 (main): Call the new functions.
23580 2012-10-09 Roland McGrath <roland@hack.frob.com>
23582 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23583 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23584 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23585 * sysdeps/i386/configure: Regenerated.
23586 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23587 * sysdeps/mach/configure: Regenerated.
23588 * sysdeps/mach/hurd/configure: Regenerated.
23589 * sysdeps/powerpc/configure: Regenerated.
23590 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23591 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23592 * sysdeps/s390/s390-32/configure: Regenerated.
23593 * sysdeps/s390/s390-64/configure: Regenerated.
23594 * sysdeps/sh/configure: Regenerated.
23595 * sysdeps/sparc/configure: Regenerated.
23596 * sysdeps/unix/sysv/linux/configure: Regenerated.
23597 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23598 * sysdeps/x86_64/configure: Regenerated.
23600 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23601 defined. Don't check if MAP is NULL.
23603 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23605 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23606 (_G_stat64): Likewise.
23607 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23608 (_G_stat64): Likewise.
23609 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23610 instead of struct _G_stat64.
23611 * libio/fileops.c (mmap_remap_check): Likewise.
23612 (decide_maybe_mmap): Likewise.
23613 (_IO_new_file_seekoff): Likewise.
23614 (_IO_file_stat): Likewise.
23615 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23617 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23618 instead of struct _G_stat64.
23619 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23621 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23624 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23626 (CHECK_EOL): New macro.
23627 (two_way_short_needle): Check beginning of haystack for EOL. Use
23629 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23630 Replace with CHECK_EOL.
23631 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23632 Replace with CHECK_EOL.
23634 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23636 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23638 * math/libm-test.inc: Update comment listing what functions and
23640 (finite_test): New function.
23641 (isinf_test): Likewise.
23642 (isnan_test): Likewise.
23643 (fpclassify_test): Test subnormal input.
23644 (isfinite_test): Likewise.
23645 (isnormal_test): Likewise.
23646 (main): Call the new functions.
23648 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23651 * Makerules (%.dynsym): Force C locale when running
23652 $(OBJDUMP) --dynamic-syms.
23654 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23656 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23659 2012-10-06 David S. Miller <davem@davemloft.net>
23661 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23662 upper 32-bits of the length value in %o2 since we use branch-on-register
23663 tests which consider the entire 64-bit register.
23665 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23667 * string/test-strstr.c (check2): Add a test for page boundary.
23669 2012-10-05 David S. Miller <davem@davemloft.net>
23671 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23672 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23674 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23676 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23677 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23678 and bzero when HWCAP_SPARC_CRYPTO is present.
23680 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23683 * string/test-strstr.c (check2): New function.
23684 (test_main): Call check2.
23686 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23688 * string/bug-strcasestr1.c (do_test): Moved to ...
23689 * string/test-strcasestr.c (check1): Here. New function.
23690 (do_one_test): Break out result checking code into ...
23691 (check_result): This. New function.
23692 (do_one_test): Call check_result.
23693 (test_main): Call check1.
23694 * string/bug-strchr1.c (do_test): Moved to ...
23695 * string/test-strchr.c (check1): Here. New function.
23696 (do_one_test): Break out result checking code into ...
23697 (check_result): This. New function.
23698 (do_one_test): Call check_result.
23699 (test_main): Call check1.
23700 * string/bug-strstr1.c (main): Moved to ...
23701 * string/test-strstr.c (check1): Here. New function.
23702 (do_one_test): Break out result checking code into ...
23703 (check_result): This. New function.
23704 (do_one_test): Call check_result.
23705 (test_main): Call check1.
23706 * string/bug-strcasestr1.c: Removed.
23707 * string/bug-strchr1.c: Likewise.
23708 * string/bug-strstr1.c: Likewise.
23710 * elf/Makefile (dl-routines): Add hwcaps.
23711 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23712 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23713 (_dl_important_hwcaps): Moved to ...
23714 * elf/dl-hwcaps.c: Here. New file.
23715 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23718 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23719 if IS_IN_rtld isn't defined.
23721 * elf/dl-support.c (_dl_sysinfo_map): New.
23722 Include "get-dynamic-info.h" and "setup-vdso.h".
23723 (_dl_non_dynamic_init): Call setup_vdso.
23724 * elf/dynamic-link.h: Don't include <assert.h>.
23725 (elf_get_dynamic_info): Moved to ...
23726 * elf/get-dynamic-info.h: Here. New file.
23727 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23728 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23729 * elf/setup-vdso.h: Here. New file.
23730 * elf/rtld.c: Include "setup-vdso.h".
23731 (dl_main): Call setup_vdso.
23733 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23735 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23736 creal in comment listing functions tested. List finite, isinf,
23737 isnan, isless, islessequal, isgreater, isgreaterequal,
23738 islessgreater, isunordered, lgamma_r and pow10 as functions and
23739 macros not tested. Mention which functions not tested are aliases
23740 for other functions. Fix typo. Note that signs of NaNs are not
23743 * scripts/config.guess: Update from config.git.
23744 * scripts/config.sub: Likewise.
23746 2012-10-04 Roland McGrath <roland@hack.frob.com>
23748 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23749 * misc/madvise.c (madvise): Renamed to __madvise.
23750 Make madvise a weak alias.
23751 * include/sys/mman.h: Declare __madvise.
23752 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23753 * sysdeps/unix/syscalls.list
23754 (madvise): Make __madvise the strong name, and madvise a weak alias.
23755 * sysdeps/unix/sysv/linux/syscalls.list
23756 (madvise, mmap): Remove redundant entries.
23757 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23758 * malloc/malloc.c (mtrim): Likewise.
23759 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23761 2012-10-03 Roland McGrath <roland@hack.frob.com>
23763 * sysdeps/mach/hurd/dl-cache.c: File removed.
23764 * config.h.in (USE_LDCONFIG): New #undef.
23765 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23766 * configure: Regenerated.
23767 * elf/Makefile (dl-routines): Add dl-cache only under
23768 [$(use-ldconfig) = yes].
23769 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23770 cache on [USE_LDCONFIG].
23771 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23773 * elf/rtld.c (dl_main): Likewise.
23775 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23777 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23778 _SC_LEVEL4_CACHE_LINESIZE.
23780 2012-10-03 Roland McGrath <roland@hack.frob.com>
23782 * sysdeps/unix/bsd/confstr.h: File removed.
23784 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23786 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23789 2012-10-02 Roland McGrath <roland@hack.frob.com>
23791 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23792 Make 'mapoff' field ElfW(Off) rather than off_t.
23794 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23796 * nscd/Makefile: Remove nscd-cflags and all its users.
23797 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23798 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23801 * malloc.c (malloc_printerr): Clarify error message.
23803 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23807 Set bit_FMA_Usable if FMA is supported.
23808 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23810 (bit_FMA4_Usable): Updated.
23811 (index_FMA_Usable): New macro.
23812 (CPUID_FMA): Likewise
23813 (HAS_FMA): Defined with bit_FMA_Usable.
23815 2012-10-01 Roland McGrath <roland@hack.frob.com>
23817 * bits/types.h (__swblk_t): Type removed.
23818 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23819 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23820 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23821 (__SWBLK_T_TYPE): Likewise.
23822 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23823 (__SWBLK_T_TYPE): Likewise.
23824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23825 (__SWBLK_T_TYPE): Likewise.
23826 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23827 (__SWBLK_T_TYPE): Likewise.
23829 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23830 Honza Horak <hhorak@redhat.com>
23832 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23833 (xdr_mapname): Use YPMAXMAP as maxsize.
23834 (xdr_peername): Use YPMAXPEER as maxsize.
23835 (xdr_keydat): Use YPAXRECORD as maxsize.
23836 (xdr_valdat): Use YPMAXRECORD as maxsize.
23838 2012-10-01 Roland McGrath <roland@hack.frob.com>
23840 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23842 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23843 * csu/init-first.c: ... here.
23844 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23845 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23846 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23847 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23848 * sysdeps/i386/init-first.c: File removed.
23849 * sysdeps/sh/init-first.c: File removed.
23851 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23855 if x * y might underflow to zero and z is zero.
23856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23858 * math/libm-test.inc (min_subnorm_value): New variable.
23859 (fma_test): Add more tests.
23860 (fma_test_towardzero): Likewise.
23861 (fma_test_downward): Likewise
23862 (fma_test_upward): Likewise.
23863 (initialize): Set min_subnorm_value.
23865 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23870 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23871 mode for addition resulting in exact zero.
23872 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23875 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23876 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23877 * math/libm-test.inc (fma_test): Add more tests.
23878 (fma_test_towardzero): New function.
23879 (fma_test_downward): Likewise.
23880 (fma_test_upward): Likewise.
23881 (main): Call the new functions.
23883 2012-09-28 David S. Miller <davem@davemloft.net>
23885 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23887 2012-09-28 Roland McGrath <roland@hack.frob.com>
23889 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23890 instead of SIGALRM.
23892 * sysdeps/gnu/_G_config.h: Moved to ...
23893 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23894 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23895 * sysdeps/generic/_G_config.h: ... here.
23897 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23899 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23901 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23902 Conditionalize target on [libnss_test1.so-version].
23904 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23906 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23907 (elfobjdir): Move out of conditionals.
23909 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23910 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23911 (__nss_lookup_function): Conditionalize label remove_from_tree on
23912 [!DO_STATIC_NSS || SHARED], matching its only use.
23914 2012-09-28 David S. Miller <davem@davemloft.net>
23916 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23917 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23919 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23921 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23922 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23923 when HWCAP_SPARC_CRYPTO is present.
23925 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23927 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23929 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23932 * stdio-common/vfprintf.c (process_string_arg): Revert
23935 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23937 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23939 * stdio-common/tst-sprintf.c: Include <locale.h>
23940 (main): Test sprintf's handling of incomplete multibyte
23943 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23945 * elf/dl-runtime.c (VERSYMIDX): Removed.
23946 * elf/dl-version.c (VERSYMIDX): Likewise.
23947 * elf/do-rel.h (VERSYMIDX): Likewise.
23948 (VALIDX): Likewise.
23949 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23950 * elf/rtld.c (VALIDX): Likewise.
23951 (ADDRIDX): Likewise.
23952 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23953 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23954 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23955 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23956 (VALIDX): Likewise.
23957 (ADDRIDX): Likewise.
23959 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23961 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23963 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23966 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23968 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23969 addresses are in the same scope as 192.0.2/24.
23970 * posix/gai.conf: Document new scope table defaults.
23972 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23975 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23976 for ftell. Compute offsets from write pointers instead.
23977 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23979 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23982 * libio/Makefile (tests): New test case tst-fseek.
23983 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23984 combination works in wide mode.
23985 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23986 state when the external buffer state changes.
23988 2012-09-27 David S. Miller <davem@davemloft.net>
23991 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23992 pass reloc->r_addend in as the 'high' argument to
23993 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23997 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23999 * rt/tst-aio2.c: Include <pthread.h>.
24000 * rt/tst-aio3.c: Likewise.
24002 2012-09-27 Steve Ellcey <sellcey@mips.com>
24004 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24006 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24008 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24009 contents on [SHARED].
24011 2012-09-26 Marek Polacek <polacek@redhat.com>
24015 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24016 for C++ and GCC <4.3 as well as for non GCC compilers.
24018 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24022 2012-09-25 Roland McGrath <roland@hack.frob.com>
24024 * Makefile.in (all, install): Declare with .PHONY.
24025 Reported by Michael Hope <michael.hope@linaro.org>.
24027 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24029 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24030 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24032 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24034 (sydep_routines): Add the new and the internal functions.
24035 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24036 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24038 (GLIBC_2.17): Add the new function.
24039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24040 (GLIBC_2.17): Likewise.
24041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24042 (GLIBC_2.17): Likewise.
24043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24044 (GLIBC_2.17): Likewise.
24045 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24047 2012-09-25 Alan Modra <amodra@gmail.com>
24049 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24050 Add release barrier before setting once_control to say
24051 initialisation is done. Add hints on lwarx. Use macro in
24053 (clear_once_control): Add release barrier.
24055 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24058 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24060 * math/s_clog10.c (__clog10): Likewise.
24061 * math/s_clog10f.c (__clog10f): Likewise.
24062 * math/s_clog10l.c (__clog10l): Likewise.
24063 * math/s_clogf.c (__clogf): Likewise.
24064 * math/s_clogl.c (__clogl): Likewise.
24065 * math/Makefile (libm-calls): Add x2y2m1.
24066 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24067 (__x2y2m1): Likewise.
24068 (__x2y2m1l): Likewise.
24069 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24070 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24071 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24072 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24073 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24074 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24075 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24076 * sysdeps/i386/fpu/libm-test-ulps: Update.
24077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24080 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24081 int as type of variable DEPTH.
24082 (glob): Use size_t instead of int as type of variables NEWCOUNT
24085 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24087 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24088 Add s_sincosf-sse2.
24089 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24090 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24091 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24092 macros for using routine as __sincosf_ia32.
24093 Use macro for function declaration and weak_alias.
24094 * sysdeps/i386/fpu/libm-test-ulps: Update.
24096 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24099 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24100 subnormal argument.
24101 * math/s_cexpf.c (__cexpf): Likewise.
24102 * math/s_csinf.c (__csinf): Likewise.
24103 * math/s_csinhf.c (__csinhf): Likewise.
24104 * math/s_ctanf.c (__ctanf): Likewise.
24105 * math/s_ctanhf.c (__ctanhf): Likewise.
24106 * math/s_ccosh.c (__ccoshf): Likewise.
24107 * math/s_cexp.c (__cexpl): Likewise.
24108 * math/s_csin.c (__csin): Likewise.
24109 * math/s_csinh.c (__csinh): Likewise.
24110 * math/s_ctan.c (__ctan): Likewise.
24111 * math/s_ctanh.c (ctanh): Likewise.
24112 * math/s_ccoshl.c (__ccoshl): Likewise.
24113 * math/s_cexpl.c (__cexpl): Likewise.
24114 * math/s_csinl.c (__csinl): Likewise.
24115 * math/s_csinhl.c (__csinhl): Likewise.
24116 * math/s_ctanl.c (__ctanl): Likewise.
24117 * math/s_ctanhl.c (__ctanhl): Likewise.
24119 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24121 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24122 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24123 (_IO_off_t): Define to __off_t, not _G_off_t.
24124 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24125 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24126 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24127 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24128 type of __dummy and __dummy2 fields.
24129 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24130 (_G_ssize_t): Likewise.
24131 (_G_off_t): Likewise.
24132 (_G_pid_t): Likewise.
24133 (_G_uid_t): Likewise.
24134 (_G_wchar_t): Likewise.
24135 (_G_wint_t): Likewise.
24136 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24137 (_G_ssize_t): Likewise.
24138 (_G_off_t): Likewise.
24139 (_G_pid_t): Likewise.
24140 (_G_uid_t): Likewise.
24141 (_G_wchar_t): Likewise.
24142 (_G_wint_t): Likewise.
24143 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24144 (_G_ssize_t): Likewise.
24145 (_G_off_t): Likewise.
24146 (_G_pid_t): Likewise.
24147 (_G_uid_t): Likewise.
24148 (_G_wchar_t): Likewise.
24149 (_G_wint_t): Likewise.
24151 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24153 * malloc/arena.c: Include malloc-sysdep.h.
24154 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24155 is sufficient to shrink the heap or an unmap is needed.
24156 * sysdeps/generic/malloc-sysdep.h: New file. Define
24157 new function check_may_shrink_heap.
24158 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24159 new function check_may_shrink_heap.
24161 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24163 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24166 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24168 * catgets/test-gencat.sh: Add "set -e".
24169 * elf/tst-pathopt.sh: Likewise.
24170 * grp/tst_fgetgrent.sh: Likewise.
24171 * iconvdata/run-iconv-test.sh: Likewise.
24172 * intl/tst-gettext.sh: Likewise.
24173 * intl/tst-gettext2.sh: Likewise.
24174 * intl/tst-gettext4.sh: Likewise.
24175 * intl/tst-gettext6.sh: Likewise.
24176 * intl/tst-translit.sh: Likewise.
24177 * io/ftwtest-sh: Likewise.
24178 * libio/test-freopen.sh: Likewise.
24179 * malloc/tst-mtrace.sh: Likewise.
24180 * posix/globtest.sh: Likewise.
24181 * posix/tst-getconf.sh: Likewise.
24182 * posix/wordexp-tst.sh: Likewise.
24183 * stdio-common/tst-printf.sh: Likewise.
24184 * stdio-common/tst-unbputc.sh: Likewise.
24185 * stdlib/tst-fmtmsg.sh: Likewise.
24186 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24187 * catgets/Makefile: Do not specify -e option when running
24188 testsuite shell scripts.
24189 * elf/Makefile: Likewise.
24190 * grp/Makefile: Likewise.
24191 * iconvdata/Makefile: Likewise.
24192 * intl/Makefile: Likewise.
24193 * io/Makefile: Likewise.
24194 * libio/Makefile: Likewise.
24195 * malloc/Makefile: Likewise.
24196 * posix/Makefile: Likewise.
24197 * stdio-common/Makefile: Likewise.
24198 * stdlib/Makefile: Likewise.
24199 * sysdeps/x86_64/Makefile: Likewise.
24201 * io/ftwtest-sh: Add copyright header.
24202 * posix/globtest.sh: Likewise.
24203 * posix/tst-getconf.sh: Likewise.
24204 * posix/wordexp-tst.sh: Likewise.
24205 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24207 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24210 * Makeconfig (+link): Defined as $(+link-static) if
24211 $(build-shared) isn't yes.
24212 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24214 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24216 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24219 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24220 new chunk size with MALLOC_ALIGN_MASK.
24222 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24225 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24227 (__printf_fphex): Determine rounding using get_rounding_mode and
24229 * stdio-common/tst-printf-round.c (struct hex_test): New
24231 (hex_tests): New variable.
24232 (test_hex_in_one_mode): New function.
24233 (do_test): Also run tests for hex float output.
24235 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24237 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24238 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24239 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24240 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24241 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24242 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24243 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24244 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24246 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24248 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24249 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24250 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24251 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24253 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24256 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24258 * elf/tst-rtld-load-self.sh: New test.
24259 * elf/Makefile: Run it.
24261 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24263 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24264 (tst-writev-ENV): Remove.
24265 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24267 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24269 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24271 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24273 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24275 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24277 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24278 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24279 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24282 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24285 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24286 * config.make.in (have-cpp-asm-debuginfo): Removed.
24287 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24288 * configure: Regenerated.
24290 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24293 * stdio-common/printf_fp.c: Include <stdbool.h> and
24295 (___printf_fp): Determine rounding using get_rounding_mode and
24297 * stdio-common/tst-printf-round.c: New file.
24298 * stdio-common/Makefile (tests): Add tst-printf-round.
24299 (link-libm): New variable.
24300 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24302 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24305 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24306 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24308 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24311 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24313 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24314 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24315 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24316 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24318 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24321 * include/rounding-mode.h: New file.
24322 * sysdeps/generic/get-rounding-mode.h: Likewise.
24323 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24324 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24325 (MAX_VALUE): New macro.
24326 (MIN_VALUE): Likewise.
24327 (overflow_value): New function.
24328 (underflow_value): Likewise.
24329 (round_and_return): Use overflow_value and underflow_value to
24330 determine return values in overflow and underflow cases. Use
24331 round_away to determine rounding depending on rounding mode.
24332 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24333 determine return values in overflow and underflow cases.
24334 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24335 (struct test_results): New structure.
24336 (struct test): Use struct test_results to store expected results
24337 for all rounding modes.
24338 (TEST): Include expected results for all rounding modes.
24339 (test_in_one_mode): New function.
24340 (do_test): Use test_in_one_mode to compute and check results.
24341 Check results for all rounding modes.
24342 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24345 2012-12-09 Allan McRae <allan@archlinux.org>
24347 * sysdeps/i386/fpu/libm-test-ulps: Update
24349 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24351 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24352 (_G_int32_t): Likewise.
24353 (_G_uint16_t): Likewise.
24354 (_G_uint32_t): Likewise.
24355 (_G_HAVE_BOOL): Likewise.
24356 (_G_HAVE_ATEXIT): Likewise.
24357 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24358 (_G_HAVE_IO_FILE_OPEN): Likewise.
24359 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24360 (_G_int32_t): Likewise.
24361 (_G_uint16_t): Likewise.
24362 (_G_uint32_t): Likewise.
24363 (_G_HAVE_BOOL): Likewise.
24364 (_G_HAVE_ATEXIT): Likewise.
24365 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24366 (_G_HAVE_IO_FILE_OPEN): Likewise.
24367 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24368 (_G_int32_t): Likewise.
24369 (_G_uint16_t): Likewise.
24370 (_G_uint32_t): Likewise.
24371 (_G_HAVE_BOOL): Likewise.
24372 (_G_HAVE_ATEXIT): Likewise.
24373 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24374 (_G_HAVE_IO_FILE_OPEN): Likewise.
24376 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24378 * csu/libc-tls.c: Update copyright years.
24380 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24382 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24383 [!_G_USING_THUNKS]: Remove conditional code.
24384 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24385 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24387 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24388 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24389 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24390 (_G_VTABLE_LABEL_PREFIX): Likewise.
24391 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24392 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24393 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24394 (_G_VTABLE_LABEL_PREFIX): Likewise.
24395 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24396 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24397 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24398 (_G_VTABLE_LABEL_PREFIX): Likewise.
24399 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24401 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24403 * libio/Makefile: Include ../Makeconfig before tests.
24404 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24405 only if $(build-shared) is yes.
24407 * iconv/gconv_db.c: Update copyright years.
24409 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24411 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24412 unwind info if defined PIC. Fix special cases description.
24413 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24415 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24417 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24419 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24421 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24423 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24426 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24427 (LDLIBS-tst-chk4): This.
24428 (LDFLAGS-tst-chk5): Renamed to ...
24429 (LDLIBS-tst-chk5): This.
24430 (LDFLAGS-tst-chk6): Renamed to ...
24431 (LDLIBS-tst-chk6): This.
24432 (LDFLAGS-tst-lfschk4): Renamed to ...
24433 (LDLIBS-tst-lfschk4): This.
24434 (LDFLAGS-tst-lfschk5): Renamed to ...
24435 (LDLIBS-tst-lfschk5): This.
24436 (LDFLAGS-tst-lfschk6): Renamed to ...
24437 (LDLIBS-tst-lfschk6): This.
24439 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24440 on $(common-objpfx)soversions.mk.
24442 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24445 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24448 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24450 * malloc/arena.c (arena_get_retry): New function that gets
24451 another arena for the caller to try its request on.
24452 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24453 current arena cannot fulfill the request.
24454 (__libc_memalign): Likewise.
24455 (__libc_memalign): Likewise.
24456 (__libc_pvalloc): Likewise.
24457 (__libc_calloc): Likewise.
24459 2012-09-05 John Tobey <john.tobey@gmail.com>
24462 * manual/arith.texi (Operations on Complex): Fix description
24463 of carg branch cut.
24465 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24468 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24472 * manual/memory.texi (Memory): Make order of menu items match
24475 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24477 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24478 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24479 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24481 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24483 * csu/libc-tls.c (static_dtv): Renamed to ...
24484 (_dl_static_dtv): This. Make it global.
24485 (_dl_initial_dtv): Removed.
24486 (__libc_setup_tls): Updated.
24487 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24488 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24491 2012-09-06 Petr Machata <pmachata@redhat.com>
24493 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24494 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24495 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24496 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24498 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24501 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24502 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24505 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24508 * Makeconfig (link-static-before-libc): Replace $(+prector)
24510 (link-static-after-libc): Replace $(+postctor) with
24512 (link-bounded): Replace $(+prector)/$(+postctor) with
24513 $(+prectorT)/$(+postctorT).
24514 (+prectorT): New macro.
24515 (+postctorT): Likewise.
24517 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24519 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24520 (round_str): Handle values above the maximum for IBM long double
24522 * stdlib/tst-strtod-round.c (tests): Regenerated.
24524 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24526 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24528 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24529 zarch_nohighgprs around the zarch optimized routines.
24530 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24531 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24532 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24535 2012-09-05 David S. Miller <davem@davemloft.net>
24537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24539 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24540 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24541 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24542 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24545 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24547 * malloc/arena.c: Fold copyright years.
24548 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24550 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24552 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24554 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24556 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24558 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24560 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24561 change internal state upon failure.
24563 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24565 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24566 * malloc/memusage.c (mmap): Likewise.
24567 (mmap64, mremap): Likewise. Adjust name in comment.
24569 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24571 * libio/fileops.c: Fix typos in comments.
24572 * libio/oldfileops.c: Likewise.
24573 * libio/wfileops.c: Likewise.
24575 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24578 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24579 (tst-malloc-usable-ENV): Set environment for test case.
24580 * malloc/hooks.c (malloc_check_get_size): New function to get
24582 * malloc/malloc.c (musable): Use malloc_check_get_size.
24583 * malloc/tst-malloc-usable.c: New test case.
24585 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24587 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24589 2012-09-05 Allan McRae <allan@archlinux.org>
24592 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24593 determine header location.
24594 * configure: Regenerated.
24596 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24598 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24600 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24601 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24603 (test): Regenerate.
24605 2012-09-04 David S. Miller <davem@davemloft.net>
24607 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24608 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24609 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24611 2012-09-04 Florian Weimer <fweimer@redhat.com>
24613 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24616 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24618 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24621 * libio/iogetdelim.c: Include <limits.h>.
24622 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24623 + len + 1 would overflow.
24625 2012-09-03 Andreas Jaeger <aj@suse.de>
24627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24628 * sysdeps/i386/fpu/libm-test-ulps: Update.
24630 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24632 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24633 Add s_sinf-sse2, s_conf-sse2.
24635 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24636 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24637 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24638 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24640 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24641 for using routine as __sinf_ia32.
24642 Use macro for function declaration and weak_alias.
24643 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24644 for using routine as __cosf_ia32.
24645 Use macro for function declaration and weak_alias.
24647 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24648 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24650 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24651 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24654 * math/libm-test.inc (cos_test): Add more test cases.
24655 (sin_test): Likewise.
24656 (sincos_test): Likewise.
24658 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24660 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24661 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24663 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24665 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24668 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24669 first element of the GOT.
24670 (elf_machine_load_address): Return the difference between
24671 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24673 2012-09-01 Allan McRae <allan@archlinux.org>
24676 * configure.in (AWK): Require gawk version 3.0 or later.
24677 * configure: Regenerated.
24679 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24681 * sysdeps/unix/sysv/linux/kernel-features.h
24682 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24683 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24684 [__NR_clock_getres]: Make code unconditional.
24685 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24686 (clock_getcpuclockid): Remove code left unreachable by removal of
24688 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24689 code unconditional.
24690 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24691 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24692 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24693 Make code unconditional.
24694 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24695 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24696 * sysdeps/unix/sysv/linux/clock_settime.c
24697 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24699 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24700 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24702 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24705 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24706 scripts/test-installation.pl.
24708 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24709 and $ld_so_version if it is set.
24711 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24714 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24715 failure if reading from procfs failed.
24716 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24718 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24720 * sysdeps/unix/sysv/linux/kernel-features.h
24721 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24722 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24723 Remove conditional code.
24724 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24725 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24726 Remove conditional code.
24727 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24728 * sysdeps/unix/sysv/linux/i386/fxstat.c
24729 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24730 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24731 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24732 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24733 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24734 * sysdeps/unix/sysv/linux/i386/lxstat.c
24735 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24736 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24737 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24738 Remove conditional code.
24739 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24740 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24741 Remove conditional code.
24742 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24743 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24744 <kernel-features.h>.
24745 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24747 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24748 Remove conditional code.
24749 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24750 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24751 Remove conditional.
24753 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24756 * NEWS: Add fixed bug number.
24758 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24761 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24762 underflowing exponent in case of negative sign.
24763 * stdlib/tst-strtod-round-data: Add more tests.
24764 * stdlib/tst-strtod-round.c (tests): Regenerated.
24767 * stdlib/strtod_l.c (NDIG): Remove.
24768 (HEXNDIG): Likewise.
24769 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24770 smallest representable value.
24771 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24772 lie within an exact representation of 1/2 ulp of the result.
24773 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24775 (TENS_P9_IDX): Define unconditionally.
24776 (TENS_P9_SIZE): Likewise.
24777 (TENS_P10_IDX): Likewise.
24778 (TENS_P10_SIZE): Likewise.
24779 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24780 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24781 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24782 entries for 10^2^13 and 10^2^14.
24783 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24784 (TENS_P13_IDX): Define.
24785 (TENS_P13_SIZE): Likewise.
24786 (TENS_P14_IDX): Likewise.
24787 (TENS_P14_SIZE): Likewise.
24788 (_fpioconst_pow10): Change array size to
24789 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24791 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24792 1024]: Add entries for 10^2^13 and 10^2^14.
24793 [LAST_POW10 > _LAST_POW10]: Remove #error.
24794 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24795 (_fpioconst_pow10): Change array size to
24796 FPIOCONST_POW10_ARRAY_SIZE.
24797 * stdlib/gen-fpioconst.c: New file.
24798 * stdlib/gen-tst-strtod-round.c: Likewise.
24799 * stdlib/tst-strtod-round-data: Likewise.
24800 * stdlib/tst-strtod-round.c: Likewise.
24801 * stdlib/Makefile (tests): Add tst-strtod-round.
24804 * stdlib/strtod_l.c: Include <stdint.h>.
24805 (NDEBUG): Do not define.
24806 (round_and_return): Change EXPONENT parameter to type intmax_t.
24807 Rearrange calculations to avoid internal overflow possibilities.
24808 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24809 Rearrange calculations to avoid internal overflow possibilities.
24810 Assert that number fits inside MPNSIZE limbs.
24811 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24812 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24813 calculations and add assertions to avoid internal overflow
24814 possibilities. Add casts to avoid signed/unsigned operations.
24815 * stdlib/tst-strtod-overflow.c: New file.
24816 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24818 2012-08-25 Marek Polacek <polacek@redhat.com>
24820 * time/time.h: Fix some typos in comments.
24822 2012-08-23 Roland McGrath <roland@hack.frob.com>
24824 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24825 * posix/tst-rfc3484-2.c: Likewise.
24826 * posix/tst-rfc3484-3.c: Likewise.
24828 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24830 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24831 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24833 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24835 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24836 #include of fxstatat64.c.
24838 2012-08-22 Roland McGrath <roland@hack.frob.com>
24840 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24841 * shadow/getspent_r.c: Likewise.
24842 * shadow/getspnam.c: Likewise.
24843 * shadow/getspnam_r.c: Likewise.
24844 * gshadow/getsgent.c: Likewise.
24845 * gshadow/getsgent_r.c: Likewise.
24846 * gshadow/getsgnam.c: Likewise.
24847 * gshadow/getsgnam_r.c: Likewise.
24848 * inet/getnetbyad.c: Likewise.
24849 * inet/getnetbyad_r.c: Likewise.
24850 * inet/getnetbynm.c: Likewise.
24851 * inet/getnetbynm_r.c: Likewise.
24852 * inet/getnetent.c: Likewise.
24853 * inet/getnetent_r.c: Likewise.
24854 * inet/getproto.c: Likewise.
24855 * inet/getproto_r.c: Likewise.
24856 * inet/getprtent.c: Likewise.
24857 * inet/getprtent_r.c: Likewise.
24858 * inet/getprtname.c: Likewise.
24859 * inet/getprtname_r.c: Likewise.
24860 * inet/getrpcbyname.c: Likewise.
24861 * inet/getrpcbyname_r.c: Likewise.
24862 * inet/getrpcbynumber.c: Likewise.
24863 * inet/getrpcbynumber_r.c: Likewise.
24864 * inet/getrpcent.c: Likewise.
24865 * inet/getrpcent_r.c: Likewise.
24866 * inet/getaliasent.c: Likewise.
24867 * inet/getaliasent_r.c: Likewise.
24868 * inet/getaliasname.c: Likewise.
24869 * inet/getaliasname_r.c: Likewise.
24870 * nscd/getgrgid_r.c: Likewise.
24871 * nscd/getgrnam_r.c: Likewise.
24872 * nscd/gethstbyad_r.c: Likewise.
24873 * nscd/gethstbynm3_r.c: Likewise.
24874 * nscd/getpwnam_r.c: Likewise.
24875 * nscd/getpwuid_r.c: Likewise.
24876 * nscd/getsrvbynm_r.c: Likewise.
24877 * nscd/getsrvbypt_r.c: Likewise.
24878 * nscd/gai.c: Likewise.
24880 * configure.in (build_nscd): New substituted variable, set
24881 by --disable-build-nscd and defaults to $use_nscd.
24882 * configure: Regenerated.
24883 * config.make.in (build-nscd): New substituted variable.
24884 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24885 Change conditional to require [$(build-nscd) = yes] as well.
24886 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24889 * configure.in (use_nscd): New substituted variable, set by
24890 --disable-nscd. If enabled, define USE_NSCD.
24891 * configure: Regenerated.
24892 * config.h.in: Add USE_NSCD.
24893 * config.make.in (use-nscd): New substituted variable.
24894 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24895 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24896 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24897 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24898 (CFLAGS-getgrnam_r.c): Likewise.
24899 (CFLAGS-initgroups.c): Likewise.
24900 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24901 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24903 * inet/getnetgrent_r.c
24904 (nscd_setnetgrent): New function, broken out of ...
24905 (setnetgrent): ... here. Call it.
24906 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24907 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24908 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24909 * nscd/Makefile (routines, aux): Move definitions after include of
24910 Makeconfig. Conditionalize on [$(use-nscd) != no].
24911 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24912 Conditionalize on [USE_NSCD].
24913 (is_nscd, nscd_init_cb): Likewise.
24914 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24915 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24916 * nss/nss_db/db-init.c: Likewise.
24917 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24919 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24920 (make_request): Use it.
24921 (cache_valid_p): New function.
24922 (__check_pf): Use it.
24923 * NEWS: Add item for --disable-nscd.
24925 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24927 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24928 to support sed >= 4.2.1-20-ga9bf076.
24929 * configure: Regenerated.
24931 2012-08-22 Roland McGrath <roland@hack.frob.com>
24933 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24934 Conditionalize whole body on [IREL].
24936 2012-08-22 Jeff Law <law@redhat.com>
24939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24940 if the family is PF_UNSPEC.
24942 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24944 * Makerules (lib-version): Rename from V.
24945 (install-lib-nosubdir): Change V to lib-version.
24947 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24950 * powerpc32/power6/wcschr.c: New file.
24951 * powerpc32/power6/wcscpy.c: New file.
24952 * powerpc32/power6/wcsrchr.c: New file.
24953 * powerpc64/power6/wcschr.c: New file.
24954 * powerpc64/power6/wcscpy.c: New file.
24955 * powerpc64/power6/wcsrchr.c: New file.
24957 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24959 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24960 (two_way_short_needle): Use it.
24961 * string/strstr.c (AVAILABLE1_USES_J): Define.
24962 * string/strcasestr.c: Likewise.
24964 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24966 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24969 * NEWS: Add an entry.
24970 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24971 define their defaults.
24972 (two_way_short_needle): Detect end-of-string on-the-fly.
24973 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24974 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24975 * string/bug-strcasestr1.c: New test.
24976 * string/Makefile: Run it.
24978 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24981 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24982 the first character.
24984 2012-08-21 Roland McGrath <roland@hack.frob.com>
24986 * csu/elf-init.c (__libc_csu_irel): Function removed.
24987 * csu/libc-start.c (apply_irel): New function.
24988 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24990 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24992 * sysdeps/unix/sysv/linux/kernel-features.h
24993 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24994 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24995 <kernel-features.h>.
24996 [__NR_fadvise64_64]: Make code unconditional.
24997 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24998 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24999 !__NR_fadvise64_64)]: Likewise.
25000 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25001 !__NR_fadvise64_64))]: Likewise.
25002 [__NR_fadvise64]: Make code unconditional.
25003 [!__NR_fadvise64]: Remove conditional code.
25004 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25005 <kernel-features.h>.
25006 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25008 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25011 not include <kernel-features.h>.
25012 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25014 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25016 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25017 include <kernel-features.h>.
25018 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25020 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25023 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25025 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25026 slight instruction rearrangements per scrollpipe analysis.
25027 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25029 2012-08-20 Roland McGrath <roland@hack.frob.com>
25031 * manual/syslog.texi (syslog; vsyslog, closelog):
25032 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25033 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25035 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25036 DSOCAPS to match condition on defining it.
25038 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25040 * sysdeps/unix/sysv/linux/kernel-features.h
25041 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25043 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25044 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25046 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25047 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25049 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25050 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25052 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25053 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25055 * sysdeps/unix/sysv/linux/kernel-features.h
25056 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25057 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25059 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25060 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25061 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25062 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25063 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25064 Make code unconditional.
25065 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25066 (__mmap64) [!__NR_mmap2]: Likewise.
25067 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25068 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25069 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25070 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25071 [__NR_mmap2]: Make code unconditional.
25072 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25073 (__mmap64) [!__NR_mmap2]: Likewise.
25075 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25077 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25079 2012-08-18 Andreas Jaeger <aj@suse.de>
25081 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25083 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25085 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25086 * include/unistd.h (__have_sock_cloexec): Likewise.
25087 (__have_pipe2): Likewise.
25088 (__have_dup3): Likewise.
25090 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25093 * include/unistd.h (__have_pipe2): Change define into an extern int.
25094 (__have_dup3): Likewise.
25095 * socket/have_sock_cloexec.c: Include fcntl.h.
25096 (__have_pipe2): New variable.
25097 (__have_dup3): Likewise.
25099 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25101 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25103 2012-08-17 Marek Polacek <polacek@redhat.com>
25105 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25106 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25108 2012-08-17 Roland McGrath <roland@hack.frob.com>
25110 * configure.in: Add AC_SUBST for sysheaders.
25111 * configure: Regenerated.
25112 * config.make.in (sysheaders): New substituted variable.
25114 * sysdeps/unix/mkfifo.c: Moved ...
25115 * sysdeps/posix/mkfifo.c: ... here.
25116 * sysdeps/unix/mkfifoat.c: Moved ...
25117 * sysdeps/posix/mkfifoat.c: ... here.
25119 * sysdeps/unix/utime.c: Moved ...
25120 * sysdeps/posix/utime.c: ... here.
25122 * sysdeps/unix/time.c: Moved ...
25123 * sysdeps/posix/time.c: ... here.
25124 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25125 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25127 * sysdeps/unix/nice.c: Moved ...
25128 * sysdeps/posix/nice.c: ... here.
25130 * sysdeps/unix/alarm.c: Moved ...
25131 * sysdeps/posix/alarm.c: ... here.
25133 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25135 2012-08-17 Jeff Law <law@redhat.com>
25137 * intl/Makefile (codeset_mo): New variable.
25138 ($(codeset_mo)): New target.
25139 (tst-codeset.out): Depend on that. Remove explicit rule.
25140 (tst-gettext3.out, tst-gettext5.out): Likewise.
25141 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25142 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25143 * intl/tst-codeset.sh: Remove.
25144 * intl/tst-gettext3.sh: Likewise.
25145 * intl/tst-gettext5.sh: Likewise.
25147 2012-08-17 Roland McGrath <roland@hack.frob.com>
25149 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25150 * sysdeps/unix/syscalls.list: ... here.
25152 * sysdeps/posix/getaddrinfo.c
25153 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25154 (gaiconf_init, gaiconf_reload): Use them.
25155 [!_STATBUF_ST_NSEC]
25156 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25157 Define using time_t rather than struct timespec.
25159 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25160 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25162 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25164 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25165 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25168 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25169 __libc_cleanup_push argument.
25171 * bits/param.h: New file.
25172 * misc/sys/param.h: New file.
25173 * include/sys/param.h: New file.
25174 * misc/Makefile (headers): Add bits/param.h.
25175 * sysdeps/generic/sys/param.h: File removed.
25176 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25177 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25178 * sysdeps/mach/hurd/bits/param.h: New file.
25179 * sysdeps/mach/hurd/sys/param.h: File removed.
25181 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25184 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25186 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25187 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25190 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25191 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25192 rather than -D_IO_MTSAFE_IO conditionally.
25193 * stdio-common/Makefile (CPPFLAGS): Likewise.
25194 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25195 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25196 Use $(libio-mtsafe).
25197 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25198 of -D_IO_MTSAFE_IO.
25199 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25200 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25201 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25202 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25203 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25204 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25205 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25206 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25207 (CFLAGS-fread_u_chk.c): Likewise.
25208 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25209 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25210 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25211 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25212 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25213 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25214 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25215 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25216 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25218 * libio/Makefile: Test [$(libc-reentrant) = yes]
25219 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25222 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25223 * sysdeps/pthread/configure: File removed.
25224 * sysdeps/pthread/Makeconfig: New file.
25225 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25226 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25228 2012-08-16 Gary Benson <gbenson@redhat.com>
25230 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25231 unmapping the first object in a namespace.
25233 2012-08-16 Roland McGrath <roland@hack.frob.com>
25235 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25236 (__internal_setnetgrent): ... this. Add internal_function to
25237 definition. Add libc_hidden_def.
25238 (setnetgrent): Update caller.
25239 (internal_endnetgrent): Renamed to ...
25240 (__internal_endnetgrent): ... this. Add internal_function to
25241 definition. Add libc_hidden_def.
25242 (endnetgrent): Update caller.
25243 (internal_getnetgrent_r): Renamed to ...
25244 (__internal_getnetgrent_r): ... this. Add internal_function to
25245 definition. Add libc_hidden_def.
25246 (__getnetgrent_r): Update caller.
25247 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25249 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25251 * stdlib/longlong.h: Update from GCC.
25253 2012-08-16 Roland McGrath <roland@hack.frob.com>
25255 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25256 on _QL, which is set by umul_ppmm but never used.
25257 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25258 variables, which are set by GMP macros but never used.
25259 * stdio-common/_itowa.c (_itowa): Likewise.
25260 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25261 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25263 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25265 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25266 struct La_sh_regs is not constant.
25267 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25268 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25269 and struct La_sparc64_regs are not constant.
25271 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25273 * sysdeps/unix/sysv/linux/kernel-features.h
25274 (__ASSUME_POSIX_TIMERS): Remove.
25275 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25276 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25277 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25278 Make code unconditional.
25279 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25280 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25281 Make code unconditional.
25282 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25283 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25284 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25285 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25286 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25287 Make code unconditional.
25288 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25289 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25290 (__libc_missing_posix_timers): Remove.
25292 2012-08-15 Roland McGrath <roland@hack.frob.com>
25294 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25295 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25297 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25299 * elf/dl-sym.c: Include <stdlib.h>.
25301 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25302 constants, which avoids warnings in 32-bit builds.
25304 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25305 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25307 * misc/lseek.c: File moved to ...
25308 * io/lseek.c: ... here.
25310 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25312 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25313 shifting LEN more than 31 bits at once.
25315 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25318 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25319 segmentation fault for a case of two empty input strings.
25320 * string/test-strncasecmp.c (check1): Renamed to...
25321 (bz12205): ...this.
25322 (bz14195): Add new testcase for two empty input strings and N > 0.
25323 (test_main): Call new testcase, adapt for renamed function.
25325 2012-08-15 Andreas Jaeger <aj@suse.de>
25328 * crypt/md5test2.c: New test, based on test supplied by Serge
25329 Belyshev <belyshev@depni.sinp.msu.ru>.
25330 * crypt/Makefile (xtests): Add md5test-giant..
25331 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25333 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25336 * crypt/md5.c (md5_process_block): Don't assume the buffer
25337 length is less than 2**32.
25338 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25339 length is less than 2**64.
25341 2012-08-15 Roland McGrath <roland@hack.frob.com>
25343 * string/str-two-way.h: Include <sys/param.h>.
25344 (MAX): Macro removed.
25346 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25347 Move #define and #undef of memmove to just before and after
25348 including <string.h>.
25350 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25351 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25352 and after including <string.h>. Move declarations of
25353 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25354 to before #include "string/memmove.c".
25356 * include/dirent.h: Declare __getdirentries.
25358 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25359 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25361 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25363 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25364 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25365 * sysdeps/i386/configure: Regenerated.
25366 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25367 STABS_CURRENT_FILE, and STABS_FUN.
25368 (END): Remove call to STABS_FUN_END.
25369 (STABS_CURRENT_FILE1): Delete.
25370 (STABS_CURRENT_FILE): Likewise.
25371 (STABS_FUN): Likewise.
25372 (STABS_FUN_END): Likewise.
25373 (STABS_FUN2): Likewise.
25374 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25375 * sysdeps/x86_64/configure: Regenerated.
25377 2012-08-14 Roland McGrath <roland@hack.frob.com>
25379 * elf/dl-open.c: Include <atomic.h>.
25380 * elf/dl-lookup.c: Likewise.
25382 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25384 * sysdeps/unix/sysv/linux/kernel-features.h
25385 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25386 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25388 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25390 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25391 condition on __ASSUME_CLONE_THREAD_FLAGS.
25393 2012-08-14 Andreas Jaeger <aj@suse.de>
25395 * sysdeps/i386/fpu/libm-test-ulps: Update.
25397 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25399 * include/atomic.h (atomic_exchange_and_add): Split into ...
25400 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25403 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25407 2012-08-13 Jeff Law <law@redhat.com>
25409 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25410 null byte in the output string.
25412 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25414 * sysdeps/unix/sysv/linux/kernel-features.h
25415 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25416 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25417 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25418 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25419 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25420 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25421 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25423 2012-08-09 Jeff Law <law@redhat.com>
25426 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25427 When avoid_arena is set, don't retry in the that arena. Pick the
25428 next one, whatever it might be.
25429 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25430 (arena_lock): Pass in new parameter to arena_get2.
25431 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25433 (__libc_malloc): Unify retrying after main arena failure with
25434 __libc_memalign version.
25435 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25437 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25440 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25441 to __redirect_strstr.
25442 (__strstr_sse42): Use typeof __redirect_strstr.
25443 (__strstr_ia32): Likewise.
25444 (__libc_strstr): New prototype.
25445 (strstr): Renamed to ...
25446 (__libc_strstr): This.
25447 (strstr): New strong alias of __libc_strstr.
25448 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25449 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25452 (__libc_time): New prototype.
25453 (time_ifunc): Replace time with __libc_time.
25454 (time): New strong alias and hidden definition of __libc_time.
25455 (__GI_time): Remove strong alias.
25456 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25457 Include <stddef.h>.
25458 (memmove): Redefined to __redirect_memmove.
25459 (__memmove_sse2): Use typeof __redirect_memmove.
25460 (__memmove_ssse3): Likewise.
25461 (__memmove_ssse3_back): Likewise.
25462 (__libc_memmove): New prototype.
25463 (memmove): Renamed to ...
25464 (__libc_memmove): This.
25465 (memmove): New strong alias of __libc_memmove.
25467 2012-08-08 Mark Salter <msalter@redhat.com>
25470 (R_MN10300_TLS_GD): Define.
25471 (R_MN10300_TLS_LD): Likewise.
25472 (R_MN10300_TLS_LDO): Likewise.
25473 (R_MN10300_TLS_GOTIE): Likewise.
25474 (R_MN10300_TLS_IE): Likewise.
25475 (R_MN10300_TLS_LE): Likewise.
25476 (R_MN10300_TLS_DTPMOD): Likewise.
25477 (R_MN10300_TLS_DTPOFF): Likewise.
25478 (R_MN10300_TLS_TPOFF): Likewise.
25479 (R_MN10300_SYM_DIFF): Likewise.
25480 (R_MN10300_ALIGN): Likewise.
25481 (R_MN10300_NUM): Update.
25483 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25485 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25488 2012-08-08 Roland McGrath <roland@hack.frob.com>
25490 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25492 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25493 sysdeps/unix -> sysdeps/posix move.
25494 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25496 2012-08-07 Allan McRae <allan@archlinux.org>
25499 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25500 (SUNOS_CPP): Likewise.
25501 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25503 (open_input): Call CPP using execvp.
25505 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25507 * sysdeps/unix/sysv/linux/kernel-features.h
25508 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25509 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25510 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25511 (__ASSUME_WAITID_SYSCALL): Likewise.
25512 * sysdeps/unix/sysv/linux/dl-execstack.c
25513 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25514 code unconditional.
25515 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25517 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25518 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25519 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25521 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25523 [__ASSUME_WAITID_SYSCALL]: Likewise.
25524 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25526 2012-08-07 Roland McGrath <roland@hack.frob.com>
25528 * sysdeps/unix/closedir.c: Renamed to ...
25529 * sysdeps/posix/closedir.c: ... here.
25530 * sysdeps/unix/dirfd.c: Renamed to ...
25531 * sysdeps/posix/dirfd.c: ... here.
25532 * sysdeps/unix/dirstream.h: Renamed to ...
25533 * sysdeps/posix/dirstream.h: ... here.
25534 * sysdeps/unix/fdopendir.c: Renamed to ...
25535 * sysdeps/posix/fdopendir.c: ... here.
25536 * sysdeps/unix/opendir.c: Renamed to ...
25537 * sysdeps/posix/opendir.c: ... here.
25538 * sysdeps/unix/readdir.c: Renamed to ...
25539 * sysdeps/posix/readdir.c: ... here.
25540 * sysdeps/unix/readdir_r.c: Renamed to ...
25541 * sysdeps/posix/readdir_r.c: ... here.
25542 * sysdeps/unix/rewinddir.c: Renamed to ...
25543 * sysdeps/posix/rewinddir.c: ... here.
25544 * sysdeps/unix/seekdir.c: Renamed to ...
25545 * sysdeps/posix/seekdir.c: ... here.
25546 * sysdeps/unix/telldir.c: Renamed to ...
25547 * sysdeps/posix/telldir.c: ... here.
25548 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25549 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25550 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25551 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25553 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25554 * bits/fcntl.h: ... here.
25556 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25558 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25559 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25560 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25561 (struct flock): Move l_start, l_len to the beginning.
25562 Use __pid_t for l_pid.
25563 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25564 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25565 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25566 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25567 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25568 [__USE_LARGEFILE64] (struct flock64): New type.
25569 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25571 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25572 * bits/dirent.h: ... here.
25574 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25575 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25577 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25579 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25580 Change from 2.6.0 to 2.6.16.
25581 * sysdeps/unix/sysv/linux/configure: Regenerated.
25582 * sysdeps/unix/sysv/linux/kernel-features.h
25583 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25584 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25586 (__ASSUME_UTIMES): Likewise.
25587 (__ASSUME_CLONE_STOPPED): Remove.
25588 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25589 architectures, not kernel version.
25590 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25591 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25592 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25593 (__ASSUME_WAITID_SYSCALL): Likewise.
25594 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25595 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25596 * README: State 2.6.16 as minimum Linux kernel version. Do not
25597 refer to older versions.
25599 2012-08-06 Roland McGrath <roland@hack.frob.com>
25601 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25602 Define alphasort64 as an alias.
25603 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25604 Define versionsort64 as an alias.
25605 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25606 Define scandir64 as an alias.
25607 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25608 Define scandirat64 as an alias.
25609 * dirent/alphasort64.c (alphasort64):
25610 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25611 * dirent/versionsort64.c: Likewise.
25612 * dirent/scandir64.c: Likewise.
25613 * dirent/scandirat64.c: Likewise.
25614 * sysdeps/wordsize-64/alphasort.c: File removed.
25615 * sysdeps/wordsize-64/alphasort64.c: File removed.
25616 * sysdeps/wordsize-64/scandir.c: File removed.
25617 * sysdeps/wordsize-64/scandir64.c: File removed.
25618 * sysdeps/wordsize-64/scandirat.c: File removed.
25619 * sysdeps/wordsize-64/scandirat64.c: File removed.
25620 * sysdeps/wordsize-64/versionsort.c: File removed.
25621 * sysdeps/wordsize-64/versionsort64.c: File removed.
25622 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25623 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25624 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25625 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25626 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25627 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25628 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25629 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25631 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25632 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25633 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25634 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25635 [defined __arch64__ || defined __sparcv9]
25636 (__INO_T_MATCHES_INO64_T): New macro.
25637 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25638 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25639 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25640 * sysdeps/unix/sysv/linux/bits/dirent.h
25641 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25642 (_DIRENT_MATCHES_DIRENT64): New macro.
25644 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25645 Define lockf64 as an alias.
25646 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25647 Define fseeko64 as an alias.
25648 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25649 Define ftello64 as an alias.
25650 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25651 Define _IO_fgetpos64 and fgetpos64 as aliases.
25652 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25653 Define _IO_fsetpos64 and fsetpos64 as aliases.
25654 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25655 Conditionalize body on this.
25656 * libio/fseeko64.c: Likewise.
25657 * libio/ftello64.c: Likewise.
25658 * libio/iofgetpos64.c: Likewise.
25659 * libio/iofsetpos64.c: Likewise.
25660 * sysdeps/wordsize-64/lockf.c: File removed.
25661 * sysdeps/wordsize-64/lockf64.c: File removed.
25662 * sysdeps/wordsize-64/fseeko.c: File removed.
25663 * sysdeps/wordsize-64/fseeko64.c: File removed.
25664 * sysdeps/wordsize-64/ftello.c: File removed.
25665 * sysdeps/wordsize-64/ftello64.c: File removed.
25666 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25667 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25668 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25669 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25670 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25671 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25672 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25673 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25674 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25675 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25676 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25677 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25678 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25679 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25681 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25682 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25683 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25685 [defined __arch64__ || defined __sparcv9]
25686 (__OFF_T_MATCHES_OFF64_T): New macro.
25687 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25688 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25689 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25690 (__OFF_T_MATCHES_OFF64_T): New macro.
25692 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25694 * stdlib/secure-getenv.c (__secure_getenv): Replace
25695 GLIBC_2_16 with GLIBC_2_17.
25697 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25699 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25700 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25702 2012-08-03 David S. Miller <davem@davemloft.net>
25704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25706 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25708 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25710 (__ASSUME_CORRECT_SI_PID): Likewise.
25711 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25712 (__ASSUME_TMPFS_NAME): Likewise.
25713 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25714 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25715 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25716 (HAVE_AUX_SECURE): Make definition unconditional.
25717 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25718 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25720 2012-08-03 Roland McGrath <roland@hack.frob.com>
25722 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25723 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25724 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25725 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25726 __eloop_threshold instead of SYMLOOP_MAX.
25728 * sysdeps/generic/eloop-threshold.h: New file.
25729 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25731 * elf/chroot_canon.c (chroot_canon): Likewise.
25733 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25736 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25737 Change to 2.6.0 everywhere.
25738 * sysdeps/unix/sysv/linux/configure: Regenerated.
25739 * sysdeps/unix/sysv/linux/kernel-features.h
25740 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25741 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25743 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25744 (__ASSUME_FUTEX_REQUEUE): Remove.
25745 (__ASSUME_STATFS64): Define unconditionally.
25746 (__ASSUME_AT_SECURE): Likewise.
25747 (__ASSUME_CORRECT_SI_PID): Likewise.
25748 (__ASSUME_TGKILL): Define without depending on kernel version for
25750 (__ASSUME_UTIMES): Likewise.
25751 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25753 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25754 (__ASSUME_TMPFS_NAME): Likewise.
25755 * README: Update reference to Linux kernel versions.
25757 2012-08-02 Marek Polacek <polacek@redhat.com>
25760 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25761 libc_cv_asm_type_prefix with %.
25762 * configure: Regenerated.
25763 * include/libc-symbols.h: Remove comment about
25764 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25765 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25766 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25767 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25768 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25769 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25770 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25771 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25772 * elf/tst-unique2mod1.c: Likewise.
25773 * elf/tst-unique1mod2.c: Likewise.
25774 * elf/tst-unique1mod1.c: Likewise.
25775 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25776 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25777 Replace ASM_TYPE_DIRECTIVE with .type.
25778 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25779 * sysdeps/i386/sysdep.h: Likewise.
25780 * sysdeps/x86_64/sysdep.h: Likewise.
25781 * sysdeps/sh/sysdep.h: Likewise.
25782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25783 Do not define ASM_TYPE_DIRECTIVE.
25784 * sysdeps/powerpc/sysdep.h: Likewise.
25785 * sysdeps/powerpc/powerpc32/sysdep.h:
25786 Replace ASM_TYPE_DIRECTIVE with .type.
25787 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25788 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25789 * sysdeps/i386/fpu/e_powf.S: Likewise.
25790 * sysdeps/i386/fpu/e_expl.S: Likewise.
25791 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25792 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25793 * sysdeps/i386/fpu/e_pow.S: Likewise.
25794 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25795 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25796 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25797 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25798 * sysdeps/i386/fpu/e_log2.S: Likewise.
25799 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25800 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25801 * sysdeps/i386/fpu/e_powl.S: Likewise.
25802 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25803 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25804 * sysdeps/i386/fpu/e_logl.S: Likewise.
25805 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25806 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25807 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25808 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25809 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25810 * sysdeps/i386/fpu/e_log.S: Likewise.
25811 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25812 * sysdeps/i386/fpu/e_logf.S: Likewise.
25813 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25814 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25815 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25816 * sysdeps/i386/fpu/e_log10.S: Likewise.
25817 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25818 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25819 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25820 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25821 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25822 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25823 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25824 * sysdeps/i386/i686/strtok.S: Likewise.
25825 * sysdeps/i386/i386-mcount.S: Likewise.
25826 * sysdeps/i386/strtok.S: Likewise.
25827 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25828 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25829 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25830 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25831 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25832 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25833 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25834 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25835 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25836 * sysdeps/x86_64/_mcount.S: Likewise.
25837 * sysdeps/x86_64/strtok.S: Likewise.
25838 * sysdeps/sh/_mcount.S: Likewise.
25840 2012-08-01 Roland McGrath <roland@hack.frob.com>
25842 * libio/iofopen.c: Include <fcntl.h>.
25843 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25844 (_IO_fopen64, fopen64): Define as aliases.
25845 * libio/iofopen64.c: Include <fcntl.h>.
25846 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25847 Conditionalize body on this.
25848 * sysdeps/wordsize-64/iofopen.c: File removed.
25849 * sysdeps/wordsize-64/iofopen64.c: File removed.
25851 2012-08-01 Marek Polacek <polacek@redhat.com>
25853 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25854 Use dlfcn directly instead of a variable.
25855 (binfmt-subdir): Do not define.
25858 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25860 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25861 Remove all definitions.
25862 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25863 <kernel-features.h>.
25864 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25865 (miss_F_GETOWN_EX): Remove all definitions.
25866 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25868 [!__ASSUME_FCNTL64]: Remove conditional code.
25869 [__ASSUME_FCNTL64]: Make code unconditional.
25870 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25871 <kernel-features.h>.
25872 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25873 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25874 (lockf64) [__NR_fcntl64]: Make code unconditional.
25875 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25877 * sysdeps/unix/sysv/linux/kernel-features.h
25878 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25879 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25880 Make code unconditional.
25881 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25882 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25884 [__NR_vfork]: Make code unconditional.
25885 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25886 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25888 [__NR_vfork]: Make code unconditional.
25889 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25890 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25892 2012-08-01 Roland McGrath <roland@hack.frob.com>
25894 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25895 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25897 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25898 Define mkstemp64 as an alias.
25899 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25900 Define mkstemps64 as an alias.
25901 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25902 Define mkostemp64 as an alias.
25903 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25904 Define mkostemps64 as an alias.
25905 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25906 Conditionalize body on this.
25907 * misc/mkostemp64.c: Likewise.
25908 * misc/mkostemps64.c: Likewise.
25909 * misc/mkstemps64.c: Likewise.
25910 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25911 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25912 * sysdeps/wordsize-64/mkostemp.c: File removed.
25913 * sysdeps/wordsize-64/mkstemp.c: File removed.
25914 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25915 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25916 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25917 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25920 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25921 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25922 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25923 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25925 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25926 compat_symbol macros from <shlib-compat.h> rather than the underlying
25927 default_symbol_version and symbol_version macros, so that DEFAULT
25928 lines in shlib-versions are respected.
25929 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25931 2012-08-01 Florian Weimer <fweimer@redhat.com>
25933 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25934 Declare with warn_unused_result.
25935 (setgid, setregid, setegid, setresgid): Likewise.
25936 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25938 * WUR-REPORT: Remove set*id functions.
25940 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25942 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25944 2012-07-31 Roland McGrath <roland@hack.frob.com>
25947 * include/sys/socket.h (__libc_accept, __libc_accept4):
25948 Add attribute_hidden.
25949 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25951 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25953 * inet/getnetgrent_r.c (setup): Likewise.
25955 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25957 2012-07-31 David S. Miller <davem@davemloft.net>
25959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25961 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25964 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25965 value between 1.0 and 2.0 and smaller part has absolute value less
25967 * math/s_clog10.c (__clog10): Likewise.
25968 * math/s_clog10f.c (__clog10f): Likewise.
25969 * math/s_clog10l.c (__clog10l): Likewise.
25970 * math/s_clogf.c (__clogf): Likewise.
25971 * math/s_clogl.c (__clogl): Likewise.
25972 * math/libm-test.inc (clog_test): Add more tests.
25973 (clog10_test): Likewise.
25974 * sysdeps/i386/fpu/libm-test-ulps: Update.
25975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25977 2012-07-31 Florian Weimer <fweimer@redhat.com>
25979 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25980 Exit with zero in case no suitable GID is found, and write a
25981 message to standard error.
25983 2012-07-30 Roland McGrath <roland@hack.frob.com>
25985 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25987 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25988 (MAXPATHLEN): Removed.
25989 (NOGROUP, NODEV): New macros.
25990 (setbit, clrbit, isset, isclr): New macros.
25991 (howmany, roundup, powerof2): New macros.
25992 (DEV_BSIZE): New macro.
25994 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25995 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25997 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25998 definition on [!__NO_LONG_DOUBLE_MATH].
26000 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26001 PTR_MANGLE and PTR_DEMANGLE.
26003 * socket/accept4.c (accept4): Rename to __libc_accept4.
26004 Define accept4 as a weak alias.
26006 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26007 on [_DIRENT_HAVE_D_TYPE].
26008 * io/ftw.c (ftw_dir): Likewise.
26010 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26012 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26014 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26015 Use the BSD numbers rather than the arbitrary ones we had.
26016 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26017 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26018 (SIGXCPU, SIGXFSZ): New macros.
26021 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26022 initializer on [_LIBC_REENTRANT].
26024 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26025 definitions inside [_POSIX_MAPPED_FILES].
26027 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26029 * dirent/opendir.c: Include <fcntl.h>.
26031 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26032 (__libc_getspecific): Likewise.
26033 (__libc_key_create): Likewise.
26035 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26036 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26037 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26038 (tmpfile64): Define as alias.
26039 * sysdeps/wordsize-64/tmpfile.c: File removed.
26040 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26041 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26042 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26044 * stdio-common/vfscanf.c: Include <stdbool.h>.
26045 * nss/makedb.c: Likewise.
26046 * stdio-common/_i18n_number.h: Likewise.
26047 * argp/argp-help.c: Likewise.
26048 * posix/wordexp.c: Likewise.
26049 * sysdeps/posix/spawni.c: Likewise.
26050 * nss/nss_files/files-initgroups.c: Likewise.
26051 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26052 * nss/nss_files/files-initgroups.c: Likewise.
26053 * nss/nss_db/db-netgrp.c: Likewise.
26054 * nss/nss_db/db-initgroups.c: Likewise.
26055 * io/fchmodat.c: Include <sys/stat.h>.
26057 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26058 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26060 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26063 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26064 Add multiple inclusion protection.
26066 2012-07-27 David S. Miller <davem@davemloft.net>
26068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26070 2012-07-27 Gary Benson <gbenson@redhat.com>
26073 * elf/rtld.c: Include <stap-probe.h>.
26074 (dl_main): Added static probes "init_start" and "init_complete".
26075 * elf/dl-load.c: Include <stap-probe.h>.
26076 (lose): Take new parameter "nsid".
26077 Added static probe "map_failed".
26078 (_dl_map_object_from_fd): Pass namespace id to lose.
26079 Added static probe "map_start".
26080 (open_verify): Pass namespace id to lose.
26081 * elf/dl-open.c: Include <stap-probe.h>.
26082 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26083 and "reloc_complete".
26084 * elf/dl-close.c: Include <stap-probe.h>.
26085 (_dl_close_worker): Added static probes "unmap_start" and
26087 * elf/rtld-debugger-interface.txt: New file documenting the above.
26089 2012-07-26 Roland McGrath <roland@hack.frob.com>
26091 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26092 rather than a string variable.
26093 * sunrpc/rpc_main.c (h_output): Likewise.
26094 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26096 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26098 * inet/check_native.c: New file.
26100 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26103 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26104 if larger part has absolute value 1.0.
26105 * math/s_clog10.c (__clog10): Likewise.
26106 * math/s_clog10f.c (__clog10f): Likewise.
26107 * math/s_clog10l.c (__clog10l): Likewise.
26108 * math/s_clogf.c (__clogf): Likewise.
26109 * math/s_clogl.c (__clogl): Likewise.
26110 * math/libm-test.inc (clog_test): Add more tests.
26111 (clog10_test): Likewise.
26112 * sysdeps/i386/fpu/libm-test-ulps: Update.
26113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26115 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26116 (pltexit): Likewise.
26117 (La_regs): Likewise.
26118 (La_retval): Likewise.
26119 (int_retval): Likewise.
26120 Update #error for removed macros to refer only to definitions in
26122 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26124 (pltexit): Likewise.
26125 (La_regs): Likewise.
26126 (La_retval): Likewise.
26127 (int_retval): Likewise.
26128 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26130 (pltexit): Likewise.
26131 (La_regs): Likewise.
26132 (La_retval): Likewise.
26133 (int_retval): Likewise.
26134 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26136 (pltexit): Likewise.
26137 (La_regs): Likewise.
26138 (La_retval): Likewise.
26139 (int_retval): Likewise.
26140 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26142 (pltexit): Likewise.
26143 (La_regs): Likewise.
26144 (La_retval): Likewise.
26145 (int_retval): Likewise.
26146 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26148 (pltexit): Likewise.
26149 (La_regs): Likewise.
26150 (La_retval): Likewise.
26151 (int_retval): Likewise.
26152 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26154 (pltexit): Likewise.
26155 (La_regs): Likewise.
26156 (La_retval): Likewise.
26157 (int_retval): Likewise.
26158 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26159 macro definitions in tst-audit.h.
26160 * sysdeps/i386/tst-audit.h: New file.
26161 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26162 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26163 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26164 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26165 * sysdeps/sh/tst-audit.h: Likewise.
26166 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26167 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26168 * sysdeps/x86_64/tst-audit.h: Likewise.
26170 2012-07-26 Andreas Jaeger <aj@suse.de>
26172 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26175 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26176 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26177 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26179 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26180 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26181 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26183 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26186 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26188 (si_call_addr, si_syscall, si_arch): Define new macro.
26189 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26191 (si_call_addr, si_syscall, si_arch): Define new marcro.
26192 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26194 (si_call_addr, si_syscall, si_arch): Define new macro.
26195 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26197 (si_call_addr, si_syscall, si_arch): Define new macro.
26199 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26202 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26203 Change to 2.4.21 where previously 2.4.1.
26204 * sysdeps/unix/sysv/linux/configure: Regenerated.
26205 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26206 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26207 Linux kernel version.
26208 (__ASSUME_STD_AUXV): Remove.
26209 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26211 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26212 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26213 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26214 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26215 (__ASSUME_NETLINK_SUPPORT): Likewise.
26216 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26217 (__no_netlink_support): Remove conditional definition.
26218 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26220 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26221 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26222 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26223 (if_nameindex_ioctl): Remove.
26224 (if_nameindex_netlink): Do not handle __no_netlink_support.
26225 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26227 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26228 Remove conditional code.
26229 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26231 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26233 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26234 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26235 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26237 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26238 [!__ASSUME_STD_AUXV]: Remove conditional code.
26239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26240 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26241 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26243 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26244 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26246 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26248 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26249 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26251 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26253 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26256 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26259 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26260 code unconditional.
26261 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26263 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26265 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26268 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26270 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26273 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26274 code unconditional.
26275 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26277 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26279 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26282 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26283 code unconditional.
26284 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26286 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26288 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26291 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26293 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26294 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26295 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26296 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26297 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26298 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26299 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26300 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26301 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26302 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26303 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26304 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26305 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26306 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26307 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26308 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26309 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26310 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26311 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26313 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26314 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26315 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26317 2012-07-25 Florian Weimer <fweimer@redhat.com>
26319 * Versions.def: Add GLIBC_2.17.
26320 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26321 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26322 Introduce __libc_secure_getenv.
26323 * stdlib/Versions (2.17): Add secure_getenv
26324 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26325 * stdlib/secure-getenv.c: Rename __secure_getenv to
26326 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26327 symbol __secure_getenv for GLIBC_2.0.
26328 * stdlib/tst-secure-getenv.c: New.
26329 * stdlib/Makefile (tests): Add testcase.
26330 * manual/startup.texi (Environment Access): Document
26332 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26333 __libc_secure_getenv.
26334 * inet/ruserpass.c (ruserpass): Likewise.
26335 * malloc/mtrace.c (mtrace): Likewise.
26336 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26337 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26338 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26339 * sysdeps/posix/tempname.c: Likewise. Evaluate
26340 HAVE_SECURE_GETENV.
26341 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26342 __secure_getenv to __libc_secure_getenv.
26343 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26350 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26356 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26358 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26359 (struct La_i86_retval): Likewise.
26360 (struct La_x86_64_regs): Likewise.
26361 (struct La_x86_64_retval): Likewise.
26362 (struct La_x32_regs): Likewise.
26363 (struct La_x32_retval): Likewise.
26364 (struct La_ppc32_regs): Likewise.
26365 (struct La_ppc32_retval): Likewise.
26366 (struct La_ppc64_regs): Likewise.
26367 (struct La_ppc64_retval): Likewise.
26368 (struct La_sh_regs): Likewise.
26369 (struct La_sh_retval): Likewise.
26370 (struct La_s390_32_regs): Likewise.
26371 (struct La_s390_32_retval): Likewise.
26372 (struct La_s390_64_regs): Likewise.
26373 (struct La_s390_64_retval): Likewise.
26374 (struct La_sparc32_regs): Likewise.
26375 (struct La_sparc32_retval): Likewise.
26376 (struct La_sparc64_regs): Likewise.
26377 (struct La_sparc64_retval): Likewise.
26378 (struct audit_ifaces): Remove architecture-specific pltenter and
26380 * sysdeps/i386/ldsodefs.h: New file.
26381 * sysdeps/powerpc/ldsodefs.h: Likewise.
26382 * sysdeps/s390/ldsodefs.h: Likewise.
26383 * sysdeps/sh/ldsodefs.h: Likewise.
26384 * sysdeps/sparc/ldsodefs.h: Likewise.
26385 * sysdeps/x86_64/ldsodefs.h: Likewise.
26387 2012-07-25 Marek Polacek <polacek@redhat.com>
26390 * math/libm-test.inc (yn_test): Add another test.
26391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26392 to ERANGE when the result is +-Inf.
26393 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26394 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26395 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26396 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26398 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26400 * conform/data/time.h-data (NULL): Use macro-constant. Require
26402 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26404 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26406 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26408 * configure.in <sysdeps resolving>: Correct printing
26410 * configure: Regenerate.
26412 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26414 * math/w_ilogb.c: Include <limits.h>.
26415 * math/w_ilogbl.c: Likewise.
26417 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26419 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26420 va_copy. Document allowing for unavailable va_copy only as
26421 pre-C99 compatibility.
26422 * manual/string.texi (Copying and Concatenation): Use va_copy
26423 instead of __va_copy in concat example.
26425 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26427 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26428 (__sendto): Use create_address_port. Initialize APORT and deallocate
26431 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26432 with O_NOLINK passed to __file_name_lookup.
26434 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26435 with O_NOLINK passed to __file_name_lookup.
26437 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26438 negative N or less than NGIDS.
26440 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26441 type to string_t. Set ERANGE as errno and return it if NAME is not big
26442 enough. Use memcpy instead of strncpy.
26444 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26446 * elf/Makefile (check-data): Remove.
26447 (localplt.data): New vpath directive.
26448 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26449 instead of $(check-data).
26450 * scripts/data/localplt-generic.data: Move to ...
26451 * sysdeps/generic/localplt.data: ... here.
26452 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26453 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26454 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26457 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26460 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26463 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26466 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26469 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26473 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26475 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26476 PPC32 and PPC64 files.
26477 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26478 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26480 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26482 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26483 __makecontext_ret to ...
26484 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26485 ... here and call exit if uc_link is NULL. New file.
26486 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26487 __makecontext_ret.S.
26488 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26489 __makecontext_ret to ...
26490 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26491 ... here and call exit if uc_link is NULL. New file.
26492 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26493 __makecontext_ret.S.
26495 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26497 * elf/elf.h (R_390_IRELATIVE): New definition.
26498 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26499 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26500 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26501 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26502 (elf_machine_lazy_rel): Likewise.
26503 * sysdeps/s390/dl-irel.h: New file.
26504 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26505 * sysdeps/s390/s390-64/memset.S: New asm code.
26506 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26507 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26508 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26509 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26510 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26511 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26512 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26513 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26514 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26515 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26516 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26517 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26518 * sysdeps/s390/s390-32/memset.S: New asm code.
26519 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26521 2012-07-17 Marek Polacek <polacek@redhat.com>
26524 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26525 * sysdeps/s390/s390-64/configure.in: Likewise.
26526 * sysdeps/sparc/configure.in: Likewise.
26527 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26528 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26529 * sysdeps/i386/configure.in: Likewise.
26530 * sysdeps/x86_64/configure.in: Likewise.
26531 * sysdeps/sh/configure.in: Likewise.
26532 * sysdeps/s390/s390-32/configure: Regenerated.
26533 * sysdeps/s390/s390-64/configure: Likewise.
26534 * sysdeps/x86_64/configure: Likewise.
26535 * sysdeps/sh/configure: Likewise.
26536 * sysdeps/powerpc/powerpc64/configure: Likewise.
26537 * sysdeps/powerpc/powerpc32/configure: Likewise.
26538 * sysdeps/sparc/configure: Likwise.
26539 * sysdeps/i386/configure: Likewise.
26541 * elf/dl-open.c: Comment fixes.
26543 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26545 * Makefile [CXX] (check-data): Remove.
26546 [CXX] (c++-types.data): New vpath directive.
26547 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26548 vpath. Do not allow for C++ type data being missing.
26549 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26550 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26551 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26552 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26553 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26554 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26555 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26558 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26561 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26564 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26567 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26570 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26573 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26576 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26579 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26580 definitions to architecture-specific files.
26581 (TLS_IE): Likewise.
26582 (TLS_LD): Likewise.
26583 (TLS_GD): Likewise.
26584 * sysdeps/i386/tls-macros.h: New file.
26585 * sysdeps/powerpc/tls-macros.h: Likewise.
26586 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26587 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26588 * sysdeps/sh/tls-macros.h: Likewise.
26589 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26590 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26591 * sysdeps/x86_64/tls-macros.h: Likewise.
26593 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26595 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26596 zero value for regular exit case.
26598 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26599 (__start_context): Preserve zero value for regular exit case.
26601 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26602 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26604 * manual/setjmp.texi (setcontext): Clarify normal process
26605 termination when uc_link is the null pointer.
26606 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26609 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26611 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26612 preprocessor. Test for each exception mask separately.
26614 2012-07-16 Andreas Jaeger <aj@suse.de>
26616 * po/ru.po: Update from translation team.
26618 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26620 * conform/data/string.h-data (NULL): Use macro-constant. Require
26622 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26623 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26624 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26625 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26626 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26628 2012-07-13 Andreas Jaeger <aj@suse.de>
26630 * po/fr.po: Update from translation team.
26632 2012-07-12 Marek Polacek <polacek@redhat.com>
26635 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26636 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26639 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26642 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26643 Change to 2.4.1 where previously 2.4.0.
26644 * sysdeps/unix/sysv/linux/configure: Regenerated.
26645 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26646 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26648 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26649 (__ASSUME_AT_CLKTCK): Remove.
26650 (__ASSUME_AT_PAGESIZE): Likewise.
26651 (__ASSUME_AT_XID): Likewise.
26652 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26653 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26654 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26656 (HAVE_AUX_PAGESIZE): Likewise.
26657 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26658 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26659 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26661 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26665 the temporary buffer used to invoke __gethostbyname2_r,
26666 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26667 host_data / struct gaih_addrtuple.
26668 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26669 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26670 header file nss/nsswitch.h.
26671 * nss/nsswitch.h (global scope): Add definition of implementation
26672 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26673 resolv/nss_dns/dns-host.c).
26675 2012-07-11 Andreas Jaeger <aj@suse.de>
26677 * po/fr.po: Update from translation team.
26679 * po/sv.po: Update from translation team
26680 * po/fr.po: Another update from translation team.
26682 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26684 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26685 for subnormals or multiply small sinh result by itself.
26686 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26689 2012-07-11 David S. Miller <davem@davemloft.net>
26691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26693 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26696 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26697 (INTERNAL_MARK): Shift it here.
26699 2012-07-10 Marek Polacek <polacek@redhat.com>
26702 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26703 libc_cv_asm_global_directive with .globl.
26704 * configure: Regenerated.
26705 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26707 * sysdeps/i386/configure: Regenerated.
26708 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26710 * sysdeps/x86_64/configure: Regenerated.
26711 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26712 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26713 * elf/tst-unique2mod2.c: Likewise.
26714 * elf/tst-unique2mod1.c: Likewise.
26715 * elf/tst-unique1mod2.c: Likewise.
26716 * elf/tst-unique1mod1.c: Likewise.
26717 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26718 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26719 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26720 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26721 * sysdeps/mach/sysdep.h: Likewise.
26722 * sysdeps/i386/sysdep.h: Likewise.
26723 * sysdeps/i386/i386-mcount.S: Likewise.
26724 * sysdeps/x86_64/_mcount.S: Likewise.
26725 * sysdeps/x86_64/sysdep.h: Likewise.
26726 * sysdeps/sh/_mcount.S: Likewise.
26727 * sysdeps/sh/sysdep.h: Likewise.
26728 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26729 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26730 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26731 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26732 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26733 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26734 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26735 * locale/localeinfo.h: Likewise.
26736 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26737 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26739 2012-07-09 Roland McGrath <roland@hack.frob.com>
26742 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26744 * manual/message.texi (The Uniforum approach): Likewise.
26745 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26746 (glibc iconv Implementation): Likewise.
26748 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26751 * math/s_clog.c (__clog): Avoid scaling a value down where that
26752 could result in underflow.
26753 * math/s_clog10.c (__clog10): Likewise.
26754 * math/s_clog10f.c (__clog10f): Likewise.
26755 * math/s_clog10l.c (__clog10l): Likewise.
26756 * math/s_clogf.c (__clogf): Likewise.
26757 * math/s_clogl.c (__clogl): Likewise.
26758 * math/libm-test.inc (clog_test): Add more tests.
26759 (clog10_test): Likewise.
26760 * sysdeps/i386/fpu/libm-test-ulps: Update.
26761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26763 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26766 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26767 by 7 not 8 to examine high bit of fractional part.
26770 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26771 for call to __mcount_internal.
26772 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26773 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26774 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26776 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26779 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26780 approximation for values within 0x1p-13f of an odd multiple of
26782 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26783 exception. Add more tests.
26784 * sysdeps/i386/fpu/libm-test-ulps: Update.
26787 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26788 inputs and return -1 for them. Do not check for +Inf in case not
26789 reachable for +Inf.
26790 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26791 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26792 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26793 and return -1 for them. Do not check for +Inf in case not
26794 reachable for +Inf.
26795 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26797 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26798 and return -1 for them. Do not check for +Inf in case not
26799 reachable for +Inf.
26800 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26801 spurious underflow.
26802 * sysdeps/i386/fpu/libm-test-ulps: Update.
26803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26805 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26807 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26809 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26813 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26814 could result in spurious underflow. Scale down values above
26815 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26816 * math/s_csqrtf.c (__csqrtf): Likewise.
26817 * math/s_csqrtl.c (__csqrtl): Likewise.
26818 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26819 spurious underflow.
26820 * sysdeps/i386/fpu/libm-test-ulps: Update.
26821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26823 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26825 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26827 * catgets/xopen-msg.awk: New file.
26828 * catgets/xopen-msg.sed: Removed.
26830 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26832 * intl/po2test.awk: New file.
26833 * intl/po2test.sed: Removed.
26835 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26838 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26839 or multiply small sinh result by itself.
26840 * math/s_ctanf.c (__ctanf): Likewise.
26841 * math/s_ctanh.c (__ctanh): Likewise.
26842 * math/s_ctanhf.c (__ctanhf): Likewise.
26843 * math/s_ctanhl.c (__ctanhl): Likewise.
26844 * math/s_ctanl.c (__ctanl): Likewise.
26845 * math/libm-test.inc (ctan_test_tonearest): New function.
26846 (ctan_test_towardzero): Likewise.
26847 (ctan_test_downward): Likewise.
26848 (ctan_test_upward): Likewise.
26849 (ctanh_test_tonearest): Likewise.
26850 (ctanh_test_towardzero): Likewise.
26851 (ctanh_test_downward): Likewise.
26852 (ctanh_test_upward): Likewise.
26853 (main): Call these new functions.
26854 * sysdeps/i386/fpu/libm-test-ulps: Update.
26855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26857 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26859 * .gitignore: Delete /ports entry.
26861 2012-07-03 Andreas Jaeger <aj@suse.de>
26863 * po/bg.po: Update from translation team.
26864 * po/cs.po: Likewise.
26865 * po/de.po: Likewise.
26866 * po/hr.po: Likewise.
26867 * po/nl.pl: Likewise.
26868 * po/pl.po: Likewise.
26869 * po/vi.po: Likewise.
26871 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26873 * Makeconfig [!+link] (+link-before-libc): New variable.
26874 [!+link] (+link-after-libc): Likewise.
26875 [!+link] (+link-tests): Likewise.
26876 [!+link] (+link): Define in terms of $(+link-before-libc) and
26877 $(+link-after-libc).
26878 [!+link-static] (+link-static-before-libc): New variable.
26879 [!+link-static] (+link-static-after-libc): Likewise.
26880 [!+link-static] (+link-static-tests): Likewise.
26881 [!+link-static] (+link-static): Define in terms of
26882 $(+link-static-before-libc) and $(+link-static-after-libc).
26883 [build-shared] (link-libc-before-gnulib): New variable.
26884 [build-shared] (link-libc-tests): Likewise.
26885 [build-shared] (link-libc): Define in terms of
26886 $(link-libc-before-gnulib).
26887 [!build-shared] (link-libc-tests): New variable.
26888 (link-libc-static-tests): New variable.
26889 [!gnulib] (gnulib-arch): New variable.
26890 [!gnulib] (gnulib-tests): Likewise.
26891 [!gnulib] (static-gnulib-arch): Likewise.
26892 [!gnulib] (static-gnulib-tests): Likewise.
26893 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26894 Define with "=" instead of ":=".
26895 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26896 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26897 * Rules (binaries-all-notests): New variable.
26898 (binaries-all-tests): Likewise.
26899 (binaries-static-notests): Likewise.
26900 (binaries-static-tests): Likewise.
26901 (binaries-all): Define using $(binaries-all-notests) and
26902 $(binaries-all-tests).
26903 (binaries-static): Define using $(binaries-static-notests) and
26904 $(binaries-static-tests).
26905 (binaries-shared-tests): New variable.
26906 (binaries-shared-notests): Likewise.
26907 (binaries-shared): Remove variable.
26908 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26909 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26910 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26911 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26912 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26913 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26914 * elf/Makefile (sln-modules): New variable.
26915 (extra-objs): Add $(sln-modules:=.o).
26916 (ldconfig-modules): Add static-stubs.
26917 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26918 * elf/static-stubs.c: New file.
26921 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26922 by 7 not 8 to examine high bit of fractional part. Use volatile
26923 variables when splitting into final array of floats if
26924 __FLT_EVAL_METHOD__ != 0.
26925 * math/libm-test.inc (cos_test): Add another test.
26926 (sin_test): Likewise.
26927 * sysdeps/i386/fpu/libm-test-ulps: Update.
26930 * math/libm-test.inc (cosh_test): Add more tests.
26932 * version.h (RELEASE): Set to "development".
26933 (VERSION): Set to "2.16.90".
26935 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26937 * NEWS: Update copyright. Remove last-updated date.
26938 Mention math library bug fixes and timezone data changes.
26939 * README: Mention GNU/Hurd, x32, and HPPA support status.
26941 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26943 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26945 2012-06-27 Andreas Jaeger <aj@suse.de>
26947 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26949 2012-06-25 Andreas Jaeger <aj@suse.de>
26951 * sysdeps/s390/fpu/libm-test-ulps: Update.
26953 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26954 Thomas Schwinge <thomas@codesourcery.com>
26956 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26957 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26958 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26961 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26963 * sysdeps/mach/start.c: Remove file.
26964 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26965 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26966 * sysdeps/sh/init-first.c: Likewise.
26968 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26969 registers for frame unwinding purposes, add CFI directives.
26970 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26971 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26972 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26975 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26976 __fortify_fail returning.
26977 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26979 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26980 sysdeps/sh/____longjmp_chk.S.
26981 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26982 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26983 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26984 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26986 * sysdeps/sh/abort-instr.h: New file.
26987 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26988 process in case exit returns.
26990 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26991 initialize the GOT register before use.
26993 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26994 calculation of ARGC > 4.
26996 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26997 meaningful names to some local labels.
26999 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27000 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27002 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27003 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27004 (__arch_compare_and_exchange_val_16_acq): Likewise.
27005 (__arch_compare_and_exchange_val_32_acq): Likewise.
27006 (atomic_exchange_and_add): Fix gUSA sequence.
27007 (atomic_add): Likewise.
27008 (atomic_add_negative): Likewise.
27009 (atomic_add_zero): Likewise.
27010 (atomic_bit_test_set): Likewise.
27012 2012-06-22 Andreas Schwab <schwab@redhat.com>
27015 * include/link.h (struct link_map): Add l_free_initfini.
27016 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27018 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27019 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27020 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27023 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27025 * configure.in: Use AC_LANG_SOURCE.
27026 * configure: Regenerate.
27028 2012-06-22 Roland McGrath <roland@hack.frob.com>
27030 * configure.in (libc_cv_localstatedir): New substituted variable.
27031 * configure: Regenerated.
27032 * config.make.in (localstatedir): New variable, substituted from
27033 libc_cv_localstatedir.
27034 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27035 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27036 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27037 * sysdeps/gnu/configure: Regenerated.
27039 2012-06-21 Jeff Law <law@redhat.com>
27042 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27043 free. Simplify list management for _LIBC case.
27045 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27048 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27049 Clear sign bit of 64-bit integer value before comparing against
27052 * sysdeps/mach/configure: Regenerated.
27054 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27057 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27059 2012-06-21 Jeff Law <law@redhat.com>
27062 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27063 uint16_t for elements in the "seen" array to avoid char overflows.
27064 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27065 * elf/dl-open.c (dl_open_worker): Likewise.
27067 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27069 * scripts/list-sources.sh: Scan PORTS for translations.
27070 * po/libc.pot: Regenerated.
27072 2012-06-21 Andreas Jaeger <aj@suse.de>
27075 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27077 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27078 * bits/byteswap-16.h (__bswap_16): Likewise.
27079 * bits/byteswap.h (__bswap_constant_16): Likewise.
27081 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27084 * sysdeps/i386/fpu_control.h: Removed.
27085 * sysdeps/x86_64/fpu_control.h: Moved to ...
27086 * sysdeps/x86/fpu_control.h: Here.
27088 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27089 (_FPU_SETCW): Likewise.
27091 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27094 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27095 * sysdeps/x86/fpu/bits/mathinline.h: This.
27096 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27100 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27101 functions if __x86_64__ is defined.
27103 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27105 * string/endian.h: Add !__ASSEMBLER__ condition for including
27106 conversion interfaces.
27108 2012-06-15 Joseph Myers <joseph@codesourcery.com>
27111 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27112 of ABS(x) in calculating zero to negative powers other than odd
27114 * math/libm-test.inc (pow_test): Add more tests.
27116 2012-06-15 Andreas Jaeger <aj@suse.de>
27118 * manual/contrib.texi (Contributors): Update entry of Liubov
27119 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27122 2012-06-15 Cyril Hrubis <metan@ucw.cz>
27124 * string/string.h: Add __wur to GNU version of strerror_r.
27126 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27129 * string/Makefile (tests): Add tst-strtok_r.
27130 * string/tst-strtok_r.c: New file.
27131 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27132 RAX_LP/RDX_LP on SAVE_PTR.
27134 2012-06-14 Roland McGrath <roland@hack.frob.com>
27136 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27138 2012-06-14 Joseph Myers <joseph@codesourcery.com>
27140 * libm_test.inc (csqrt_test): Allow more spurious underflow
27142 (j0_test): Likewise.
27143 (j1_test): Likewise.
27144 (y0_test): Likewise.
27145 (y1_test): Likewise.
27147 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27149 * po/Makefile (libc.pot): Use UTF-8 charset.
27151 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27154 Suppress sign-conversion warning from FD_SET.
27155 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27156 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27157 not unsigned long int.
27158 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27160 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27164 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27165 __extern_always_inline instead of __extern_inline.
27166 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27167 (__signbit): Likewise.
27168 (__signbitl): Support C++ namespace.
27169 (lrintf): New inline function.
27171 (llrintf): Likewise.
27172 (llrint): Likewise.
27182 (floorf): Likewise.
27183 (nearbyint): Likewise.
27184 (nearbyintf): Likewise.
27186 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27188 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27189 non-default versions.
27191 2012-06-11 Roland McGrath <roland@hack.frob.com>
27194 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27196 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27198 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27199 (FE_UPWARD, FE_DOWNWARD): Don't define.
27200 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27201 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27203 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27205 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27206 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27208 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27210 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27211 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27212 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27213 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27215 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27218 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27219 * sysdeps/i386/fpu/Implies: New file.
27220 * sysdeps/x86_64/fpu/Implies: Likewise.
27221 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27222 * sysdeps/x86/fpu/bits/fenv.h: This.
27224 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27227 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27230 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27231 character 0xffff that matches the last element of the
27234 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27236 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27239 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27241 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27242 values higher than 25.6283.
27244 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27247 subnormal exponent extraction and add some __builtin_expect.
27248 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27249 Fix for subnormal mantissa calculation.
27251 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27253 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27254 cpu2 is -1 and errno is not ENOSYS.
27256 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27259 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27260 * sysdeps/x86/bits/string.h: This.
27261 * sysdeps/x86_64/bits/string.h: Removed.
27263 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27264 if not compiling for x86-64, but compiling for >= i486.
27266 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27267 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27269 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27270 New macro from Linux kernel 3.4.0.
27271 (FP_XSTATE_MAGIC2): Likewise.
27272 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27273 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27274 (struct _fpx_sw_bytes): New struct.
27275 (struct _xsave_hdr): Likewise.
27276 (struct _ymmh_state): Likewise.
27277 (struct _xstate): Likewise.
27279 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27280 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27281 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27282 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27283 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27284 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27286 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27287 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27288 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27289 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27290 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27291 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27293 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27296 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27297 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27298 (sysdep_headers): Include sys/platform/ppc.h.
27299 * sysdeps/powerpc/test-gettimebase.c: Test for
27300 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27301 * manual/Makefile (appendices): Include platform.texi.
27302 * manual/contrib.texi (Contributors): Update @node pointers.
27303 * manual/maint.texi (Maintenance): Likewise.
27304 (Platform): New node.
27305 * manual/platform.texi: New file. Document the new features.
27307 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27308 Jakub Jelinek <jakub@redhat.com>
27311 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27312 where __builtin_expect is unavailable.
27314 2012-06-03 David S. Miller <davem@davemloft.net>
27316 * stdlib/longlong.h: Updated from GCC.
27318 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27321 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27322 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27325 (GLIBC_2.16): Likewise.
27327 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27329 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27331 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27334 (default-abi): New variable.
27335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27336 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27338 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27340 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27342 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27345 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27346 definition. Document in comment.
27348 2012-06-01 David S. Miller <davem@davemloft.net>
27350 * stdlib/longlong.h: Updated from GCC.
27352 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27355 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27356 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27357 sys/debugreg.h sys/io.h here.
27358 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27359 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27361 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27362 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27363 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27364 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27365 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27366 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27368 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27369 Define only if __x86_64__ is defined.
27371 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27374 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27375 Use int64_t for variable i.
27376 * math/libm-test.inc (fmod_test): Add more tests.
27378 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27379 z computation is not scheduled after fetestexcept.
27380 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27381 Use math_force_eval instead of asm to ensure calculation scheduled
27382 before exception test.
27383 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27384 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27386 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27389 computation is not scheduled after fetestexcept.
27391 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27394 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27395 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27397 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27399 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27400 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27402 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27405 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27407 (__WCHAR_MIN): Support __WORDSIZE == 64.
27408 (__WCHAR_MAX): Likewise.
27410 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27411 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27414 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27415 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27418 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27419 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27421 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27422 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27424 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27425 Defined to 1 if __x86_64__ isn't defined.
27426 (_STAT_VER_LINUX_OLD): New.
27427 (st_atime): Remove duplicate.
27428 (st_mtime): Likewise.
27429 (st_ctime): Likewise.
27431 2012-05-31 David S. Miller <davem@davemloft.net>
27433 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27436 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27438 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27442 * elf/dl-reloc.c: Include <_itoa.h>.
27443 (_dl_reloc_bad_type): Remove use of INTUSE.
27444 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27445 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27446 * stdio-common/psiginfo.c (psiginfo): Likewise.
27447 * stdio-common/psignal.c (psignal): Likewise.
27448 * string/strsignal.c (strsignal): Likewise.
27449 * include/signal.h (_sys_siglist): Declare hidden proto.
27450 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27451 INTVARDEF with libc_hidden_data_def.
27452 * stdio-common/itoa-udigits.c: Likewise.
27453 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27454 (_itoa_lower_digits_internal): Remove declaration.
27455 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27456 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27457 (_sys_sigabbrev_internal): Remove aliases.
27458 (_sys_siglist): Define hidden alias.
27460 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27465 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27468 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27469 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27471 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27472 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27473 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27474 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27475 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27476 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27478 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27479 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27480 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27482 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27490 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27491 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27492 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27494 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27495 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27496 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27497 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27498 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27499 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27501 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27502 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27504 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27505 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27507 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27508 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27509 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27511 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27512 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27514 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27516 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27517 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27518 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27520 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27522 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27524 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27526 * math/math.h (M_El): Use two more decimal places.
27527 (M_LOG2El): Likewise.
27528 (M_LOG10El): Likewise.
27529 (M_LN2l): Likewise.
27530 (M_LN10l): Likewise.
27532 (M_PI_2l): Likewise.
27533 (M_PI_4l): Likewise.
27534 (M_1_PIl): Likewise.
27535 (M_2_PIl): Likewise.
27536 (M_2_SQRTPIl): Likewise.
27537 (M_SQRT2l): Likewise.
27538 (M_SQRT1_2l): Likewise.
27540 2012-05-31 David S. Miller <davem@davemloft.net>
27542 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27543 values between float registers.
27544 * sysdeps/sparc/sparc64/memset.S: Likewise.
27545 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27547 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27549 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27550 -D_FORTIFY_SOURCE=1.
27551 (CPPFLAGS-tst-longjmp_chk.c): Define.
27552 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27553 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27554 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27555 CFLAGS-tst-wchar-h.c.
27557 2012-05-31 Marek Polacek <polacek@redhat.com>
27560 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27561 __endmntent_internal): Remove declaration.
27562 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27563 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27564 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27566 2012-05-30 David S. Miller <davem@davemloft.net>
27568 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27569 (___Q_simulate_exceptions): Use real FP ops rather than writing
27571 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27574 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27577 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27578 * sysdeps/x86/bits/xtitypes.h: This.
27580 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27581 * sysdeps/x86/bits/wordsize.h: This.
27583 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27584 * sysdeps/x86/bits/huge_vall.h: This.
27586 * sysdeps/i386/bits/select.h: Removed.
27587 * sysdeps/x86_64/bits/select.h: Renamed to ...
27588 * sysdeps/x86/bits/select.h: This.
27590 * sysdeps/i386/bits/setjmp.h: Removed.
27591 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27592 * sysdeps/x86/bits/setjmp.h: This.
27594 * sysdeps/i386/bits/mathdef.h: Removed.
27595 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27596 * sysdeps/x86/bits/mathdef.h: This.
27598 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27601 * include/sys/socket.h (__connect_internal)
27602 (__libc_sa_len_internal): Remove declaration.
27603 (__connect, __libc_sa_len): Declare hidden_proto.
27604 (SA_LEN): Remove use of INTUSE.
27605 * socket/connect.c: Add libc_hidden_def.
27606 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27607 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27608 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27610 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27611 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27612 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27613 of adding _internal alias.
27615 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27618 * sysdeps/i386/bits/link.h: Removed.
27619 * sysdeps/i386/bits/linkmap.h: Likewise.
27620 * sysdeps/x86_64/bits/link.h: Renamed to ...
27621 * sysdeps/x86/bits/link.h: This.
27622 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27623 * sysdeps/x86/bits/linkmap.h: This.
27625 * sysdeps/i386/bits/endian.h: Removed.
27626 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27627 * sysdeps/x86/bits/endian.h: This.
27629 * sysdeps/i386/bits/byteswap.h: Removed.
27630 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27631 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27632 * sysdeps/x86/bits/byteswap.h: This.
27633 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27634 * sysdeps/x86/bits/byteswap-16.h: This.
27635 * sysdeps/i386/Implies: Add x86.
27636 * sysdeps/x86_64/Implies: Likewise.
27638 2012-05-30 David S. Miller <davem@davemloft.net>
27640 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27641 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27642 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27643 (FP_TRAPPING_EXCEPTIONS): Define.
27644 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27645 (FP_TRAPPING_EXCEPTIONS): Define.
27646 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27647 subnormals only when inexact has been signalled or underflow
27648 exceptions are enabled.
27649 (_FP_PACK_CANONICAL): Likewise.
27651 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27654 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27655 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27657 2012-05-30 Richard Henderson <rth@twiddle.net>
27659 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27660 with #ifndef NOT_IN_libc.
27662 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27663 marked to avoid plt entry.
27665 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27668 * Makeconfig (default-abi): New macro.
27669 (abi-includes): Likewise.
27670 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27671 $(abi-$(default-abi)-lib-soname) for soname if defined.
27672 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27674 * Makefile (installed-stubs): Likewise.
27675 * include/stubs-biarch.h: Removed.
27676 * scripts/lib-names.awk: Only handle one library at a time.
27677 * scripts/soversions.awk: Remove WORDSIZE support.
27678 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27680 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27682 (syscall-list-default-condition): Likewise.
27683 (syscall-list-default-condition): Likewise.
27684 (syscall-list-includes): Likewise.
27685 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27686 syscall-list-* with abi-*. Handle undefined abi-variants.
27687 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27688 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27689 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27690 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27691 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27692 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27694 (syscall-list-32-options): Likewise.
27695 (syscall-list-32-condition): Likewise.
27696 (syscall-list-64-options): Likewise.
27697 (syscall-list-64-condition): Likewise.
27698 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27700 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27703 (abi-64-ld-soname): New macro.
27704 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27705 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27708 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27709 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27711 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27713 * sysdeps/unix/sysv/linux/kernel-features.h
27714 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27715 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27716 include <kernel-features.h>.
27717 [!__NR_ftruncate64]: Remove conditional code.
27718 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27719 [__NR_ftruncate64]: Make code unconditional.
27720 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27721 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27722 include <kernel-features.h>.
27723 [!__NR_ftruncate64]: Remove conditional code.
27724 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27725 [__NR_ftruncate64]: Make code unconditional.
27726 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27728 include <kernel-features.h>.
27729 [!__NR_ftruncate64]: Remove conditional code.
27730 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27731 [__NR_ftruncate64]: Make code unconditional.
27732 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27734 include <kernel-features.h>.
27735 [!__NR_ftruncate64]: Remove conditional code.
27736 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27737 [__NR_ftruncate64]: Make code unconditional.
27738 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27740 * configure.in (libc_cv_fpie): Weaken to a compile test using
27741 LIBC_TRY_CC_OPTION.
27742 * configure: Regenerated.
27744 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27759 2012-05-27 David S. Miller <davem@davemloft.net>
27761 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27763 (__Q_simulate_exceptions): Return void. Change to simulate
27764 exceptions by writing into the %fsr.
27765 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27766 (__Qp_handle_exceptions): Likewise.
27768 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27769 __Qp_handle_exceptions.
27770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27771 __Qp_handle_exceptions.
27772 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27773 as unused and give dummy FP_RND_NEAREST initializer.
27774 (FP_INHIBIT_RESULTS): Define.
27775 (___Q_simulate_exceptions): Update declaration.
27776 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27778 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27779 as unused and give dummy FP_RND_NEAREST initializer.
27780 (__Qp_handle_exceptions): Update declaration.
27781 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27784 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27786 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27787 the temporary FPU control word.
27788 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27789 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27790 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27791 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27792 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27793 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27794 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27795 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27796 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27797 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27798 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27800 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27802 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27805 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27807 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27808 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27809 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27810 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27812 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27813 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27816 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27818 * po/h.po: Update from translation team.
27820 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27822 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27824 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27825 handling of denormals.
27826 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27827 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27828 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27829 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27831 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27832 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27835 2012-05-26 Marek Polacek <polacek@redhat.com>
27838 * math/libm-test.inc (fma_test): Don't always expect underflow
27841 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27844 * elf/tst-execstack.c: Include stackinfo.h.
27845 (do_test): Adjust test case to ensure that pthread_getattr_np
27846 behaviour remains the same after marking stack executable.
27848 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27850 * sysdeps/unix/sysv/linux/kernel-features.h
27851 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27852 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27854 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27855 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27856 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27858 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27859 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27861 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27863 * configure.in: Define the default includes to being none.
27864 * configure: Regenerated.
27866 2012-05-25 Roland McGrath <roland@hack.frob.com>
27868 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27869 * sysdeps/x86_64/setjmp.S: Likewise.
27870 * sysdeps/i386/bsd-setjmp.S: Likewise.
27871 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27872 * sysdeps/i386/setjmp.S: Likewise.
27873 * sysdeps/i386/__longjmp.S: Likewise.
27874 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27875 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27877 * include/stap-probe.h: New file.
27878 * configure.in: Handle --enable-systemtap.
27879 * configure: Regenerated.
27880 * config.h.in (USE_STAP_PROBE): New #undef.
27881 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27882 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27883 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27885 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27888 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27889 to 2.4.0 where earlier.
27890 * sysdeps/unix/sysv/linux/configure: Regenerated.
27891 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27892 <kernel-features.h>.
27893 [__ASSUME_32BITUIDS]: Make code unconditional.
27894 [!__ASSUME_32BITUIDS]: Remove conditional code.
27895 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27896 <kernel-features.h>.
27897 [__ASSUME_32BITUIDS]: Make code unconditional.
27898 [!__ASSUME_32BITUIDS]: Remove conditional code.
27899 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27900 [__ASSUME_32BITUIDS]: Make code unconditional.
27901 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27902 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27903 <kernel-features.h>.
27904 [__ASSUME_32BITUIDS]: Make code unconditional.
27905 [!__ASSUME_32BITUIDS]: Remove conditional code.
27906 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27907 <kernel-features.h>.
27908 [__ASSUME_32BITUIDS]: Make code unconditional.
27909 [!__ASSUME_32BITUIDS]: Remove conditional code.
27910 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27911 <kernel-features.h>.
27912 [__ASSUME_32BITUIDS]: Make code unconditional.
27913 [!__ASSUME_32BITUIDS]: Remove conditional code.
27914 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27915 <kernel-features.h>.
27916 [__ASSUME_32BITUIDS]: Make code unconditional.
27917 [!__ASSUME_32BITUIDS]: Remove conditional code.
27918 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27919 <kernel-features.h>.
27920 [__ASSUME_32BITUIDS]: Make code unconditional.
27921 [!__ASSUME_32BITUIDS]: Remove conditional code.
27922 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27923 <kernel-features.h>.
27924 [__ASSUME_32BITUIDS]: Make code unconditional.
27925 [!__ASSUME_32BITUIDS]: Remove conditional code.
27926 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27927 <kernel-features.h>.
27928 [__ASSUME_32BITUIDS]: Make code unconditional.
27929 [!__ASSUME_32BITUIDS]: Remove conditional code.
27930 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27931 <kernel-features.h>.
27932 [__ASSUME_32BITUIDS]: Make code unconditional.
27933 [!__ASSUME_32BITUIDS]: Remove conditional code.
27934 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27935 <kernel-features.h>.
27936 [__ASSUME_32BITUIDS]: Make code unconditional.
27937 [!__ASSUME_32BITUIDS]: Remove conditional code.
27938 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27939 <kernel-features.h>.
27940 [__ASSUME_32BITUIDS]: Make code unconditional.
27941 [!__ASSUME_32BITUIDS]: Remove conditional code.
27942 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27943 <kernel-features.h>.
27944 [__NR_setresgid] (__setresgid): Do not declare.
27945 [__ASSUME_32BITUIDS]: Make code unconditional.
27946 [!__ASSUME_32BITUIDS]: Remove conditional code.
27947 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27948 <kernel-features.h>.
27949 [__NR_setresuid] (__setresuid): Do not declare.
27950 [__ASSUME_32BITUIDS]: Make code unconditional.
27951 [!__ASSUME_32BITUIDS]: Remove conditional code.
27952 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27953 <kernel-features.h>.
27954 [__ASSUME_32BITUIDS]: Make code unconditional.
27955 [!__ASSUME_32BITUIDS]: Remove conditional code.
27956 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27957 <kernel-features.h>.
27958 [__ASSUME_32BITUIDS]: Make code unconditional.
27959 [!__ASSUME_32BITUIDS]: Remove conditional code.
27960 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27961 <kernel-features.h>.
27962 [__ASSUME_32BITUIDS]: Make code unconditional.
27963 [!__ASSUME_32BITUIDS]: Remove conditional code.
27964 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27965 <kernel-features.h>.
27966 [__ASSUME_32BITUIDS]: Make code unconditional.
27967 [!__ASSUME_32BITUIDS]: Remove conditional code.
27968 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27969 <kernel-features.h>.
27970 [__ASSUME_32BITUIDS]: Make code unconditional.
27971 [!__ASSUME_32BITUIDS]: Remove conditional code.
27972 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27973 <kernel-features.h>.
27974 [__ASSUME_32BITUIDS]: Make code unconditional.
27975 [!__ASSUME_32BITUIDS]: Remove conditional code.
27976 * sysdeps/unix/sysv/linux/i386/setresuid.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/setreuid.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/setuid.c: Do not include
27985 <kernel-features.h>.
27986 [__ASSUME_32BITUIDS]: Make code unconditional.
27987 [!__ASSUME_32BITUIDS]: Remove conditional code.
27988 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27989 <kernel-features.h>.
27990 [__ASSUME_32BITUIDS]: Make code unconditional.
27991 [!__ASSUME_32BITUIDS]: Remove conditional code.
27992 * sysdeps/unix/sysv/linux/kernel-features.h
27993 (__ASSUME_SETRESUID_SYSCALL): Remove.
27994 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27995 (__ASSUME_32BITUIDS): Likewise.
27996 (__ASSUME_LDT_WORKS): Likewise.
27997 (__ASSUME_O_DIRECTORY): Likewise.
27998 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27999 architecture but not kernel version.
28000 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28001 (__ASSUME_MMAP2_SYSCALL): Likewise.
28002 (__ASSUME_STAT64_SYSCALL): Likewise.
28003 (__ASSUME_IPC64): Likewise.
28004 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28005 <kernel-features.h>.
28006 [__ASSUME_32BITUIDS]: Make code unconditional.
28007 [!__ASSUME_32BITUIDS]: Remove conditional code.
28008 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28009 <kernel-features.h>.
28010 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28011 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28012 132096]: Remove conditional code.
28013 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28014 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28015 <kernel-features.h>.
28016 [__ASSUME_32BITUIDS]: Make code unconditional.
28017 [!__ASSUME_32BITUIDS]: Remove conditional code.
28018 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28019 <kernel-features.h>.
28020 [__ASSUME_32BITUIDS]: Make code unconditional.
28021 [!__ASSUME_32BITUIDS]: Remove conditional code.
28022 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28023 <kernel-features.h>.
28024 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28026 (__setresgid): Do not declare.
28027 [__ASSUME_32BITUIDS]: Make code unconditional.
28028 [!__ASSUME_32BITUIDS]: Remove conditional code.
28029 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28030 <kernel-features.h>.
28031 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28033 (__setresuid): Do not declare.
28034 [__ASSUME_32BITUIDS]: Make code unconditional.
28035 [!__ASSUME_32BITUIDS]: Remove conditional code.
28036 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28037 <kernel-features.h>.
28038 [__ASSUME_32BITUIDS]: Make code unconditional.
28039 [!__ASSUME_32BITUIDS]: Remove conditional code.
28040 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28041 <kernel-features.h>.
28042 [__ASSUME_32BITUIDS]: Make code unconditional.
28043 [!__ASSUME_32BITUIDS]: Remove conditional code.
28045 2012-05-25 Richard Henderson <rth@twiddle.net>
28047 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28048 dl_hwcap to ifunc resolver.
28049 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28051 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28052 dl_hwcap to ifunc resolver.
28053 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28055 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28058 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28059 for |x| <= 2**-26, not 2**-57.
28060 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28063 2012-05-24 Jeff Law <law@redhat.com>
28065 * stdio-common/Makefile (tests): Add bug25.
28066 * stdio-common/bug25.c: New test.
28068 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28071 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28072 multiple of MALLOC_ALIGNMENT in size.
28073 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28075 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28077 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28079 (FILENAME_MAX): Use macro-int-constant.
28080 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28081 (_IOFBF): Use macro-int-constant.
28082 (_IOLBF): Likewise.
28083 (_IONBF): Likewise.
28084 (SEEK_CUR): Likewise.
28085 (SEEK_END): Likewise.
28086 (SEEK_SET): Likewise.
28087 (TMP_MAX): Likewise.
28088 (EOF): Use macro-int-constant. Require < 0.
28089 (NULL): Use macro-constant. Require == 0.
28090 (stdin): Require type to be FILE *.
28091 (stdout): Likewise.
28092 (stderr): Likewise.
28093 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28094 macro-int-constant.
28095 (EXIT_SUCCESS): Likewise.
28096 (NULL): Use macro-constant. Require == 0.
28097 (RAND_MAX): Use macro-int-constant.
28098 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28099 [C99-based standards] (strtof): Require function.
28100 [C99-based standards] (strtold): Likewise.
28101 [C99-based standards] (strtoll): Likewise.
28102 [C99-based standards] (strtoull): Likewise.
28103 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28104 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28105 [ISO || ISO99 || ISO11] (math.h): Likewise.
28106 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28107 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28110 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28113 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28114 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28115 * intl/dgettext.c (DCGETTEXT): Likewise.
28116 * intl/gettext.c (DCGETTEXT): Likewise.
28117 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28118 * posix/regex_internal.h (gettext): Likewise.
28119 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28120 Remove declaration.
28121 * include/argz.h (__argz_count_internal)
28122 (__argz_stringify_internal): Remove declaration.
28123 (__argz_count, __argz_stringify): Declare hidden proto.
28124 * intl/dcgettext.c: Remove use of INTDEF.
28125 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28126 * string/argz-stringify.c: Likewise.
28127 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28128 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28129 Declare hidden proto.
28130 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28131 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28132 Declare hidden proto.
28133 * include/stdio.h (__asprintf_internal): Don't declare.
28134 (__asprintf): Don't define as macro. Declare hidden proto.
28135 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28136 (__fsetlocking): Declare hidden proto.
28137 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28138 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28140 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28141 (_IO_setlinebuf): Remove use of INTUSE.
28142 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28143 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28144 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28145 Remove declaration.
28146 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28147 (_IO_do_flush): Remove use of INTUSE.
28148 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28149 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28150 (_IO_adjust_column, _IO_least_wmarker)
28151 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28152 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28153 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28154 (_IO_default_doallocate, _IO_wdefault_doallocate)
28155 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28156 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28157 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28158 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28159 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28160 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28161 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28162 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28163 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28164 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28165 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28166 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28167 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28169 (_IO_flush_all_internal, _IO_adjust_column_internal)
28170 (_IO_default_uflow_internal, _IO_default_finish_internal)
28171 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28172 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28173 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28174 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28175 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28176 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28177 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28178 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28179 (_IO_file_close_internal, _IO_file_close_it_internal)
28180 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28181 (_IO_file_init_internal, _IO_file_attach_internal)
28182 (_IO_file_fopen_internal, _IO_file_read_internal)
28183 (_IO_file_sync_internal, _IO_file_seek_internal)
28184 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28185 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28186 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28187 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28188 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28189 (_IO_list_all_internal, _IO_link_in_internal)
28190 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28191 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28192 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28193 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28194 (_IO_do_write_internal, _IO_padn_internal)
28195 (_IO_getline_info_internal, _IO_getline_internal)
28196 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28197 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28198 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28199 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28200 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28201 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28202 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28203 with libc_hidden_ver, remove use of INTUSE.
28204 * libio/genops.c: Likewise.
28205 * libio/freopen.c: Likewise.
28206 * libio/freopen64.c: Likewise.
28207 * libio/iofclose.c: Likewise.
28208 * libio/iofdopen.c: Likewise.
28209 * libio/iofflush.c: Likewise.
28210 * libio/iofflush_u.c: Likewise.
28211 * libio/iofgets.c: Likewise.
28212 * libio/iofgets_u.c: Likewise.
28213 * libio/iofopen.c: Likewise.
28214 * libio/iofopncook.c: Likewise.
28215 * libio/iofread.c: Likewise.
28216 * libio/iofread_u.c: Likewise.
28217 * libio/ioftell.c: Likewise.
28218 * libio/iofwrite.c: Likewise.
28219 * libio/iogetline.c: Likewise.
28220 * libio/iogets.c: Likewise.
28221 * libio/iogetwline.c: Likewise.
28222 * libio/iopadn.c: Likewise.
28223 * libio/iopopen.c: Likewise.
28224 * libio/ioseekoff.c: Likewise.
28225 * libio/ioseekpos.c: Likewise.
28226 * libio/iosetbuffer.c: Likewise.
28227 * libio/iosetvbuf.c: Likewise.
28228 * libio/ioungetc.c: Likewise.
28229 * libio/ioungetwc.c: Likewise.
28230 * libio/iovdprintf.c: Likewise.
28231 * libio/iovsprintf.c: Likewise.
28232 * libio/iovsscanf.c: Likewise.
28233 * libio/memstream.c: Likewise.
28234 * libio/obprintf.c: Likewise.
28235 * libio/oldfileops.c: Likewise.
28236 * libio/oldiofclose.c: Likewise.
28237 * libio/oldiofdopen.c: Likewise.
28238 * libio/oldiofopen.c: Likewise.
28239 * libio/oldiopopen.c: Likewise.
28240 * libio/oldstdfiles.c: Likewise.
28241 * libio/putc.c: Likewise.
28242 * libio/setbuf.c: Likewise.
28243 * libio/setlinebuf.c: Likewise.
28244 * libio/stdfiles.c: Likewise.
28245 * libio/strops.c: Likewise.
28246 * libio/vasprintf.c: Likewise.
28247 * libio/vscanf.c: Likewise.
28248 * libio/vsnprintf.c: Likewise.
28249 * libio/vswprintf.c: Likewise.
28250 * libio/wfiledoalloc.c: Likewise.
28251 * libio/wfileops.c: Likewise.
28252 * libio/wgenops.c: Likewise.
28253 * libio/wmemstream.c: Likewise.
28254 * libio/wstrops.c: Likewise.
28255 * libio/__fpurge.c: Likewise.
28256 * libio/__fsetlocking.c: Likewise.
28257 * assert/assert.c: Likewise.
28258 * debug/fgets_chk.c: Likewise.
28259 * debug/fgets_u_chk.c: Likewise.
28260 * debug/fread_chk.c: Likewise.
28261 * debug/fread_u_chk.c: Likewise.
28262 * debug/gets_chk.c: Likewise.
28263 * debug/obprintf_chk.c: Likewise.
28264 * debug/vasprintf_chk.c: Likewise.
28265 * debug/vdprintf_chk.c: Likewise.
28266 * debug/vsnprintf_chk.c: Likewise.
28267 * debug/vsprintf_chk.c: Likewise.
28268 * malloc/mtrace.c: Likewise.
28269 * misc/error.c: Likewise.
28270 * misc/syslog.c: Likewise.
28271 * stdio-common/asprintf.c: Likewise.
28272 * stdio-common/fxprintf.c: Likewise.
28273 * stdio-common/getw.c: Likewise.
28274 * stdio-common/isoc99_fscanf.c: Likewise.
28275 * stdio-common/isoc99_scanf.c: Likewise.
28276 * stdio-common/isoc99_vfscanf.c: Likewise.
28277 * stdio-common/isoc99_vscanf.c: Likewise.
28278 * stdio-common/isoc99_vsscanf.c: Likewise.
28279 * stdio-common/printf-prs.c: Likewise.
28280 * stdio-common/printf_fp.c: Likewise.
28281 * stdio-common/printf_fphex.c: Likewise.
28282 * stdio-common/printf_size.c: Likewise.
28283 * stdio-common/putw.c: Likewise.
28284 * stdio-common/scanf.c: Likewise.
28285 * stdio-common/sprintf.c: Likewise.
28286 * stdio-common/tmpfile.c: Likewise.
28287 * stdio-common/vfprintf.c: Likewise.
28288 * stdio-common/vfscanf.c: Likewise.
28289 * stdlib/strfmon_l.c: Likewise.
28290 * sunrpc/openchild.c: Likewise.
28291 * sunrpc/xdr_stdio.c: Likewise.
28292 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28293 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28295 2012-05-24 Roland McGrath <roland@hack.frob.com>
28297 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28299 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28300 in the third column, to generate for the shared library an IFUNC
28301 that uses _dl_vdso_vsym.
28302 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28303 * Makeconfig (object-suffixes-noshared): New variable.
28305 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28306 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28307 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28308 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28311 * include/sys/time.h (__gettimeofday): Remove macro.
28312 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28313 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28315 (__gettimeofday): Add libc_hidden_def.
28316 (gettimeofday): Add libc_hidden_weak.
28317 * sysdeps/mach/gettimeofday.c: Likewise.
28318 * sysdeps/posix/gettimeofday.c: Likewise.
28319 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28320 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28321 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28322 (__gettimeofday_internal): Remove strong_alias.
28323 (__gettimeofday): Add libc_hidden_def.
28324 (gettimeofday): Add libc_hidden_weak.
28325 * sysdeps/unix/syscalls.list (gettimeofday):
28326 Remove __gettimeofday_internal alias.
28328 2012-05-24 Daniel Jacobowitz <drow@false.org>
28329 H.J. Lu <hongjiu.lu@intel.com>
28332 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28333 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28334 (largebin_index_32_big): New.
28335 (largebin_index): Use it for 16-byte alignment.
28336 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28337 correction with front_misalign.
28339 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28367 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28368 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28370 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28374 * math/libm-test.inc (exp_test): Add test from bug 14036.
28375 (pow_test): Add test from bug 10846.
28377 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28379 (special_function): Do not include flags in test name.
28380 (parse_args): Likewise.
28381 * sysdeps/i386/fpu/libm-test-ulps: Update.
28382 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28383 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28384 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28387 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28389 * math/libm-test.inc ("Philosophy"): Update comment about
28391 (UNDERFLOW_EXCEPTION): New macro.
28392 (UNDERFLOW_EXCEPTION_OK): Likewise.
28393 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28394 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28395 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28396 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28397 (INVALID_EXCEPTION_OK): Update value.
28398 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28399 (OVERFLOW_EXCEPTION_OK): Likewise.
28400 (IGNORE_ZERO_INF_SIGN): Likewise.
28401 (test_exceptions): Handle underflow exceptions.
28402 (acos_test): Update for underflow exception expectations.
28403 (cexp_test): Likewise.
28404 (clog_test): Likewise.
28405 (clog10_test): Likewise.
28406 (csqrt_test): Likewise.
28407 (ctan_test): Likewise.
28408 (ctanh_test): Likewise.
28409 (exp_test): Likewise.
28410 (exp10_test): Likewise.
28411 (exp2_test): Likewise.
28412 (expm1_test): Likewise.
28413 (fma_test): Likewise.
28414 (j0_test): Likewise.
28415 (jn_test): Likewise.
28416 (nexttoward_test): Likewise.
28417 (pow_test): Likewise.
28418 (scalbn_test): Likewise.
28419 (scalbln_test): Likewise.
28420 (tan_test): Likewise.
28421 (y1_test): Likewise.
28422 * sysdeps/i386/fpu/libm-test-ulps: Update.
28423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28425 2012-05-23 David S. Miller <davem@davemloft.net>
28427 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28428 (__libc_sigaction): Remove unused local variables.
28430 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28432 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28434 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28436 mktime: avoid signed integer overflow
28437 * time/mktime.c (__mktime_internal): Do not mishandle the case
28438 where diff == INT_MIN.
28440 mktime: simplify computation of average
28441 * time/mktime.c (ranged_convert): Use new time_t_avg function
28442 instead of rolling our own (probably-slower) code.
28444 mktime: do not assume signed right shift propagates sign bit
28445 * time/mktime.c (isdst_differ): New static function.
28446 (__mktime_internal): No need to normalize tm_isdst now.
28447 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28450 mktime: merge another wrapv change from gnulib
28451 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28452 from some compilers.
28454 mktime: remove incorrect attempt at unusual arithmetics
28455 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28456 The code didn't really work on such machines anyway.
28457 (TYPE_MINIMUM): Assume two's complement.
28458 (twos_complement_arithmetic): Verify that long_int and time_t
28459 are two's complement (or unsigned, in the latter case).
28461 mktime: check signed shifts on long_int and time_t, too
28462 * time/mktime.c (SHR): Check that shifts work as desired
28463 on the types long_int and time_t too, as SHR is used on
28466 mktime: do not assume 'long' is wide enough
28467 * time/mktime.c (verify): Move decl up.
28468 (long_int): New type.
28469 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28470 to remove assumption in the code that 'long' is wide enough to
28471 store year values. This assumption is not true on x32 and on
28472 some non-glibc platforms.
28474 mktime: merge wrapv change from gnulib
28475 * time/mktime.c (WRAPV): New macro.
28476 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28477 (guess_time_tm, __mktime_internal): Do not assume that signed
28478 integer overflow wraps around; modern compilers generate code
28479 where this assumption is no longer valid.
28481 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28483 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28484 Replace "jmp L(pseudo_end)" with "ret".
28485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28488 2012-05-23 Andreas Jaeger <aj@suse.de>
28490 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28491 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28493 2012-05-23 Andreas Jaeger <aj@suse.de>
28494 Maximilian Attems <max@stro.at>
28496 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28499 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28501 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28502 code so that pseudo_end is just ret and the stack pointer is
28503 correct also for static library in error case.
28505 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28507 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28508 move to syscalls.list.
28509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28514 * manual/install.texi (Running make install): Do not mention Linux
28515 kernel version for which pt_chown is not needed.
28516 (Linux): Do not mention problems with nscd with 2.0 kernels.
28517 * INSTALL: Regenerated.
28519 2012-05-23 Andreas Jaeger <aj@suse.de>
28521 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28522 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28524 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28525 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28526 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28527 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28528 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28529 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28530 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28531 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28532 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28533 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28534 * sysdeps/unix/sysv/linux/bits/in.h
28535 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28537 2012-05-22 Roland McGrath <roland@hack.frob.com>
28539 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28540 (PREPARE_VERSION): Just use assert instead, it will be elided
28541 under [NDEBUG] anyway.
28543 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28545 * sysdeps/unix/sysv/linux/Makefile: Include
28546 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28547 (sysdep_routines): Remove sysctl.
28548 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28549 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28550 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28551 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28552 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28554 2012-05-22 Andreas Jaeger <aj@suse.de>
28556 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28557 that pseudo_end is just ret and the stack pointer is correct also
28558 for static library in error case.
28560 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28563 * nss/nsswitch.c (defconfig_entries): New variable.
28564 (__nss_database_lookup): Don't leak defconfig entries.
28565 (nss_parse_service_list): Don't leak on error paths.
28566 (free_database_entries): New function.
28567 (free_defconfig): New function.
28568 (free_mem): Move common code to free_database_entries.
28570 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28572 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28574 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28576 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28577 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28580 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28581 (INTERNAL_SYSCALL_TYPES): Likewise.
28582 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28583 (LOAD_REGS_TYPES_[1-6]): Likewise.
28584 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28585 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28587 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28589 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28590 copysignl for GLIBC_2_0.
28591 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28592 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28593 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28594 logbl for GLIBC_2_0.
28595 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28596 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28598 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28600 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28601 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28603 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28606 * time/mktime.c: Update copyright years.
28608 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28610 mktime: merge comment-quoting-style change from gnulib
28611 * time/mktime.c: Quote 'like this' in comments.
28612 The GNU coding standards suggest that we no longer quote `like this',
28613 as "`" and "'" are typically rendered asymmetrically nowadays.
28614 The typical gnulib style is to quote 'like this' when quoting
28615 code, and "like this" when quoting English.
28617 * time/mktime.c (compile-command): Add "-I.".
28619 mktime: merge mktime-internal.h change from gnulib
28620 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28622 mktime: merge time_r change from gnulib
28623 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28625 mktime: merge DEBUG change from gnulib
28626 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28627 case system <time.h> has a #define.
28629 mktime: merge <sys/types.h> change from gnulib
28630 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28631 since <time.t> is now guaranteed to define time_t.
28633 mktime: merge HAVE_CONFIG_H change from gnulib
28634 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28636 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28641 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28643 (struct rusage): Use anonymous union to pad each field to
28646 2012-05-21 David S. Miller <davem@davemloft.net>
28648 * Makefules (o-iterator): Remove .s cases.
28649 (compile-command.s): Delete.
28650 (COMPILE.s): Delete.
28651 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28653 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28655 * configure.in (libc_cv_predef_stack_protector): Only consider
28656 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28657 * configure: Regenerated.
28659 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28662 New macro. Use R*LP on int and pointer.
28663 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28664 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28665 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28666 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28668 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28669 [__WORDSIZE_TIME64_COMPAT32] instead of
28670 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28671 (struct utmp): Likewise.
28672 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28673 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28675 (__WORDSIZE_TIME64_COMPAT32): This.
28676 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28677 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28678 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28679 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28680 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28681 (__WORDSIZE_TIME64_COMPAT32): New macro.
28683 2012-05-21 Andreas Jaeger <aj@suse.de>
28685 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28686 only if [SHARED]. Add prototype for __wcschr_ia32.
28688 2012-05-21 Roland McGrath <roland@hack.frob.com>
28690 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28691 of %rbp unmolested in the jmp_buf while mangling the low bits.
28692 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28693 unmolested high bits of %rbp while demangling the low bits.
28694 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28696 2012-05-21 Andreas Jaeger <aj@suse.de>
28698 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28699 * sunrpc/svc_simple.c: Use it for registerrpc.
28700 * sunrpc/xcrypt.c: Use it for passwd2des.
28702 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28704 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28706 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28707 Don't define if [__SYSCALL_WORDSIZE != 32].
28708 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28711 2012-05-21 Bruno Haible <bruno@clisp.org>
28712 Andreas Jaeger <aj@suse.de>
28714 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28715 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28716 inptr and inend for must_buffer_ch.
28717 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28718 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28719 * stdio-common/Makefile (tests): Remove bug15.
28720 (bug15-ENV): Remove macro.
28721 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28724 2012-05-19 Andreas Jaeger <aj@suse.de>
28725 Roland McGrath <roland@hack.frob.com>
28727 * manual/contrib.texi: Completely rewritten. It contains now an
28728 alphabetical list of contributors and their contributions.
28730 2012-05-21 Richard Henderson <rth@twiddle.net>
28732 * misc/getauxval.c (__getauxval): Use unsigned long int.
28733 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28734 (getauxval): Use unsigned long int.
28736 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28738 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28740 2012-05-21 Roland McGrath <roland@hack.frob.com>
28742 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28743 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28744 __alignof__ (long double).
28746 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28750 2012-05-20 Richard Henderson <rth@twiddle.net>
28752 * misc/getauxval.c: New file.
28753 * misc/sys/auxv.h: New file.
28754 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28755 (routines): Add getauxval.
28756 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28757 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28758 * elf/dl-sysdep.c (_dl_auxv): Remove.
28759 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28760 * elf/dl-support.c (_dl_auxv): New variable.
28761 (_dl_aux_init): Initialize it.
28762 * manual/startup.texi (Auxiliary Vector): New node.
28763 * sysdeps/generic/bits/hwcap.h: New file.
28764 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28765 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28766 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28767 * sysdeps/sparc/sysdep.h: ... here. Include it.
28768 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28769 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28775 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28781 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28785 2012-05-19 David S. Miller <davem@davemloft.net>
28787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28789 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28792 * math/s_ccosh.c: Include <float.h>
28793 (__ccosh): Avoid internal overflow calculating sinh and cosh
28794 values before multiplying by sin and cos values.
28795 * math/s_ccoshf.c: Likewise.
28796 * math/s_ccoshl.c: Likewise.
28797 * math/s_csin.c: Likewise.
28798 * math/s_csinf.c: Likewise.
28799 * math/s_csinl.c: Likewise.
28800 * math/s_csinh.c: Likewise.
28801 * math/s_csinhf.c: Likewise.
28802 * math/s_csinhl.c: Likewise.
28803 * math/libm-test.inc (ccos_test): Add more tests.
28804 (ccosh_test): Likewise.
28805 (csin_test): Likewise.
28806 (csinh_test): Likewise.
28807 * sysdeps/i386/fpu/libm-test-ulps: Update.
28808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28810 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28812 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28813 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28815 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28817 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28819 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28820 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28821 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28822 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28823 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28824 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28825 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28826 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28827 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28828 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28829 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28830 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28831 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28832 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28833 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28834 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28835 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28836 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28837 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28838 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28839 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28840 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28841 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28842 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28843 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28844 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28845 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28846 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28847 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28848 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28849 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28851 2012-05-18 Andreas Jaeger <aj@suse.de>
28853 * csu/.gitignore: Delete.
28855 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28857 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28858 (timex): Use __syscall_slong_t.
28860 2012-05-18 Andreas Jaeger <aj@suse.de>
28861 Carlos O'Donell <carlos_odonell@mentor.com>
28863 * manual/install.texi (Configuring and compiling): Update
28864 description about files modified in the source directory.
28865 * INSTALL: Regenerated.
28867 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28869 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28870 value. Use "or" to set return value to -1.
28871 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28872 negate return value.
28874 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28876 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28877 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28878 failure if the compiler has Graphite support disabled.
28879 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28881 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28882 (CFLAGS-memmove.c): Likewise.
28883 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28886 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28888 * sysdeps/x86_64/x32/_itoa.h: New file.
28890 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28891 getdents system call only if kernel and user dirents have the
28892 same d_ino and d_off.
28894 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28895 LLONG_MAX != LONG_MAX.
28896 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28897 (_fitoa_word): Likewise.
28899 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28901 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28902 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28903 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28905 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28906 include <bits/wordsize.h>. Check __x86_64__ instead of
28908 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28909 if __x86_64__ is defined. Use anonymous union on fpstate.
28911 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28914 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28916 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28917 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28918 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28919 Refer to _rtld_local_ro instead of _rtld_global_ro.
28920 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28922 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28924 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28926 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28927 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28928 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28930 * sysdeps/powerpc/powerpc32/dl-machine.c
28931 (__elf_machine_runtime_setup) [PROF]: Don't reference
28934 2012-05-18 Andreas Jaeger <aj@suse.de>
28936 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28937 function only available for GCCs before 3.4 since GCC 3.4
28938 introduced a builtin.
28940 (llrintf): Likewise.
28941 (llrint): Likewise.
28948 (nearbyint): Likewise.
28949 (nearbyintf): Likewise.
28953 (floorf): Likewise.
28955 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28957 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28958 on both fields and cast pointer to __syscall_ulong_t.
28960 * bits/types.h (__fsword_t): New type.
28961 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28962 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28963 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28964 (__FSWORD_T_TYPE): Likewise.
28965 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28966 (__FSWORD_T_TYPE): Likewise.
28967 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28968 (__FSWORD_T_TYPE): Likewise.
28969 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28970 (__FSWORD_T_TYPE): Likewise.
28971 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28972 __SWORD_TYPE with __fsword_t.
28973 (statfs64): Likewise.
28975 2012-05-17 David S. Miller <davem@davemloft.net>
28977 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28979 2012-05-17 Andreas Jaeger <aj@suse.de>
28981 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28984 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28986 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28988 2012-05-17 Andreas Jaeger <aj@suse.de>
28990 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28993 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28995 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28997 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28999 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29000 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29002 2012-05-17 Andreas Jaeger <aj@suse.de>
29003 Carlos O'Donell <carlos_odonell@mentor.com>
29006 * sysdeps/x86_64/multiarch/init-arch.h
29007 (bit_YMM_Usable): Rename to...
29008 (bit_AVX_Usable): ... this.
29009 (bit_FMA4_Usable): New macro.
29010 (bit_XMM_state): New macro.
29011 (bit_YMM_state): New macro.
29012 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29013 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29014 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29015 (CPUID_OSXSAVE): New macro.
29016 (CPUID_AVX): New macro.
29017 (CPUID_FMA4): New macro.
29018 (index_YMM_Usable): Rename to...
29019 (index_AVX_Usable): ... this.
29020 (HAS_AVX): Use HAS_ARCH_FEATURE.
29021 (HAS_FMA4): Likewise.
29022 (HAS_YMM_USABLE): Remove.
29023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29024 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29026 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29027 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29028 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29029 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29030 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29032 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29034 * math/libm-test.c: Support platforms without multiple rounding modes.
29035 * math/bug-nextafter.c: Support platforms without FP exceptions.
29036 * math/bug-nexttoward.c: Likewise.
29037 * math/test-fenv.c: Likewise.
29038 * math/test-misc.c: Likewise.
29039 * stdlib/bug-getcontext.c: Likewise.
29041 2012-05-17 Andreas Jaeger <aj@suse.de>
29043 * manual/examples/search.c (critter_cmp): Change signature to
29045 * manual/string.texi (Collation Functions): Likewise.
29047 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29049 * bits/types.h: Fold copyright years.
29050 * bits/typesizes.h: Likewise.
29051 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29052 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29053 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29054 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29055 * time/time.h: Likewise.
29057 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29060 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29061 in instead of returning them. Return void.
29062 (__libc_mallinfo): Accumulate over all arenas.
29063 (__malloc_stats): Adjust for change in int_mallinfo interface.
29065 2012-05-16 Roland McGrath <roland@hack.frob.com>
29068 * configure.in (NM): Add AC_CHECK_TOOL for it.
29069 (libc_extra_cflags): New substituted variable.
29070 Check for -fstack-protector being used implicitly.
29071 * configure: Regenerated.
29072 * config.make.in (config-extra-cflags): New variable,
29073 gets @libc_extra_cflags@.
29074 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29077 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29078 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29079 * configure: Regenerated.
29080 * config.make.in (CPPUNDEFS): New substituted variable.
29081 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29082 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29083 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29085 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29087 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29088 (mq_attr): Use __syscall_slong_t.
29090 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29092 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29093 Check __x86_64__ instead of __WORDSIZE.
29094 (_STAT_VER_LINUX): Likewise.
29095 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29096 __syscall_ulong_t and __syscall_slong_t.
29097 (stat64): Likewise.
29099 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29101 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29103 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29105 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29107 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29109 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29112 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29113 include <bits/wordsize.h>. Check __x86_64__ instead of
29115 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29117 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29119 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29120 include <bits/wordsize.h>. Check __x86_64__ instead of
29122 (user_regs_struct): Use "__extension__ unsigned long long"
29123 instead of "unsigned long" if __x86_64__ is defined.
29124 (user): Likewise. Pad after pointer field if __ILP32__ is
29127 2012-05-16 Joseph Myers <joseph@codesourcery.com>
29129 * configure.in (makeinfo): Require version 4.5 or later. Allow
29131 * configure: Regenerated.
29132 * manual/install.texi (texinfo): Increase version requirement to
29134 * INSTALL: Regenerated.
29136 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29138 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29140 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29142 * sysdeps/x86_64/x32/ffs.c: New file.
29144 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29146 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29147 defined. Use __syscall_ulong_t.
29148 (shminfo): Use __syscall_ulong_t.
29149 (shm_info): Likewise.
29151 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29154 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29156 (msgqnum_t): Use __syscall_ulong_t.
29157 (msglen_t): Likewise.
29158 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29161 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29162 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29164 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29166 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29167 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29169 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29172 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29173 include <bits/wordsize.h>. Check __x86_64__ instead of
29176 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29177 "unsigned long long int" if __x86_64__ is defined.
29178 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29180 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29181 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29182 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29184 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29186 (GET_PC): Cast to uintptr_t first.
29187 (GET_FRAME): Likewise.
29188 (GET_STACK): Likewise.
29190 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29191 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29192 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29193 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29194 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29195 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29196 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29197 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29198 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29199 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29200 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29201 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29202 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29203 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29204 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29205 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29206 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29207 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29208 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29209 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29210 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29211 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29212 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29213 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29214 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29215 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29216 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29217 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29218 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29220 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29222 * Makerules (+depfiles): Also collect depfiles from .oS in
29224 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29225 .oS, $(libnldbl-routines)).
29227 * Makerules (native-compile-mkdep-flags): Define.
29228 * sunrpc/Makefile (extra-objs): Add $(addprefix
29229 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29230 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29231 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29232 calling $(make-target-directory).
29234 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29236 * bits/types.h (__snseconds_t): Removed.
29237 * time/time.h (struct timespec): Replace __snseconds_t with
29239 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29240 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29242 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29243 (__SNSECONDS_T_TYPE): Likewise.
29244 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29245 (__SNSECONDS_T_TYPE): Likewise.
29246 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29247 (__SNSECONDS_T_TYPE): Likewise.
29249 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29251 * sysdeps/mach/hurd/bits/typesizes.h
29252 (__SYSCALL_SLONG_TYPE): New macro.
29253 (__SYSCALL_ULONG_TYPE): Likewise.
29255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29257 * bits/types.h (__syscall_slong_t): New type.
29258 (__syscall_ulong_t): Likewise.
29260 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29261 (__SYSCALL_ULONG_TYPE): Likewise.
29262 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29263 (__SYSCALL_SLONG_TYPE): Likewise.
29264 (__SYSCALL_ULONG_TYPE): Likewise.
29265 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29266 (__SYSCALL_SLONG_TYPE): Likewise.
29267 (__SYSCALL_ULONG_TYPE): Likewise.
29268 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29269 (__SYSCALL_SLONG_TYPE): Likewise.
29270 (__SYSCALL_ULONG_TYPE): Likewise.
29272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29274 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29275 Add sigaltstack-offsets.sym.
29276 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29277 <sigaltstack-offsets.h>.
29278 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29279 longjmp_msg pointer.
29280 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29281 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29283 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29285 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29287 * elf/stackguard-macros.h: Remove file.
29288 * sysdeps/generic/stackguard-macros.h: New file.
29289 * sysdeps/i386/stackguard-macros.h: Likewise.
29290 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29291 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29292 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29293 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29294 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29295 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29296 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29297 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29298 <elf/stackguard-macros.h>.
29301 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29302 __aligned__ in attribute.
29303 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29304 (gregset_t): Likewise.
29306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29308 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29309 * sysdeps/x86_64/64/Implies-after: Here. New file.
29310 * sysdeps/x86_64/x32/Implies-after: New file.
29312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29314 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29315 and access return value for _dl_profile_fixup. Use R10_LP to
29318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29320 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29324 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29325 * sysdeps/x86_64/x32/sysdep.h: New file.
29327 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29329 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29330 * sysdeps/x86_64/setjmp.S: Likewise.
29332 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29334 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29335 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29336 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29337 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29338 remove unused global constant.
29340 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29342 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29343 include of <not-cancel.h>.
29345 2012-05-15 Roland McGrath <roland@hack.frob.com>
29347 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29349 2012-05-15 Jeff Law <law@redhat.com>
29350 Andreas Jaeger <aj@suse.de>
29353 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29355 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29356 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29357 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29358 code changing __hst_map_handle.map.
29360 2012-05-15 Roland McGrath <roland@hack.frob.com>
29362 * configure.in (sysnames): Look for Implies-before and Implies-after
29364 * configure: Regenerated.
29366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29368 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29369 8-byte data alignment with LP_SIZE alignment.
29371 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29373 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29376 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29378 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29380 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29382 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29383 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29384 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29386 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29388 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29390 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29391 (stackinfo_sub_sp): Likewise.
29393 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29395 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29400 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29405 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29408 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29410 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29414 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29415 into R11_LP and load __x86_64_shared_cache_size_half into
29418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29420 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29423 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29425 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29427 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29429 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29431 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29432 powerpc32/power7/fpu/s_logb.c via #include.
29433 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29434 powerpc32/power7/fpu/s_logbf.c via #include.
29435 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29436 powerpc32/power7/fpu/s_logbl.c via #include.
29438 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29440 * README.libm: Remove file.
29442 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29444 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29445 count for x32. Use R*_LP and omit operand-size suffix.
29447 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29449 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29450 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29451 * sysdeps/x86_64/x32/shlib-versions: New file.
29453 2012-05-14 Roland McGrath <roland@hack.frob.com>
29455 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29456 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29457 Use _dl_fatal_printf instead.
29459 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29461 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29462 set if not set by the user. Do not allow for being unset.
29463 * sysdeps/unix/sysv/linux/configure: Regenerated.
29465 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29467 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29468 the `q' suffix from lea and replace .quad with ASM_ADDR.
29470 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29473 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29475 (PTR_DEMANGLE): Likewise.
29477 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29479 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29481 (ASM_ADDR): Likewise.
29482 (RAX_LP): Likewise.
29483 (RBP_LP): Likewise.
29484 (RBX_LP): Likewise.
29485 (RCX_LP): Likewise.
29486 (RDI_LP): Likewise.
29487 (RSI_LP): Likewise.
29488 (RSP_LP): Likewise.
29491 (R10_LP): Likewise.
29492 (R10_LP): Likewise.
29493 (R11_LP): Likewise.
29494 (R12_LP): Likewise.
29495 (R13_LP): Likewise.
29496 (R14_LP): Likewise.
29497 (R15_LP): Likewise.
29499 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29501 * sysdeps/x86_64/x32/dl-machine.h: New file.
29503 2012-05-14 Andreas Jaeger <aj@suse.de>
29505 * manual/Makefile (subdir): Remove export of subdir.
29506 (all): Remove target.
29507 (.PHONY): Remove all from list.
29508 (mkinstalldirs): Remove.
29509 (.PHONY): Remove installdirs from list.
29510 ($(inst_infodir)/libc.info): Use make-target-directory.
29511 (installdirs): Remove.
29512 (subdir_%): Remove.
29513 (glibc-targets): Remove.
29516 ($(objpfx)stubs ../po/manual.pot): Remove.
29517 ($(objpfx)stamp%): Remove.
29518 (make-target-directory): Remove.
29519 (subdir_install): Remove.
29520 (routines): Remove.
29527 * manual/.gitignore: Remove, it's not needed anymore.
29528 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29530 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29532 (texis): Renamed to $(objpfx)texis.
29533 (texis-path): New, contains path to generated files.
29534 (chapters.%): Use texis-path for complete path, add extra argument
29536 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29537 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29538 (summary,texi, stamp-summary): Use complete path of
29539 files. Generate files in build dir.
29540 (dir-add.texi): Build in build dir.
29541 (libm-err.texi,stamp-libm-err): Likewise.
29542 (version.texi, stamp-version): Likewise.
29543 (.%c.texi): Likewise.
29544 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29545 (mostlyclean): Remove target.
29546 (realclean): Remove target.
29547 (generated): Add new variable with contents from mostlyclean and
29548 realclean, remove entries duplicated in common-mostlyclean, add
29549 stamp-libm-err and stamp-version.
29550 (generated-dirs): Add libc directory.
29551 ($(inst_infodir)/libc.info): Install files from build dir.
29553 * manual/install.texi (Configuring and compiling): Adjust since
29554 the info files are not part of the tar ball anymore.
29556 2012-05-14 Andreas Jaeger <aj@suse.de>
29558 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29561 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29564 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29565 to 2.2.0 where earlier.
29566 * sysdeps/unix/sysv/linux/configure: Regenerated.
29567 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29568 Remove conditional code.
29569 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29570 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29571 Remove conditional code.
29572 [!__NR_lchown]: Likewise.
29573 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29574 [__NR_lchown]: Likewise.
29575 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29576 comment referencing __ASSUME_LCHOWN_SYSCALL.
29577 * sysdeps/unix/sysv/linux/i386/sigaction.c
29578 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29579 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29580 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29581 Remove conditional code.
29582 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29583 (__protocol_available): Remove #if 0 code.
29584 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29586 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29587 * sysdeps/unix/sysv/linux/kernel-features.h
29588 (__ASSUME_GETCWD_SYSCALL): Don't define.
29589 (__ASSUME_REALTIME_SIGNALS): Likewise.
29590 (__ASSUME_PREAD_SYSCALL): Likewise.
29591 (__ASSUME_PWRITE_SYSCALL): Likewise.
29592 (__ASSUME_POLL_SYSCALL): Likewise.
29593 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29594 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29596 (__ASSUME_SIOCGIFNAME): Don't define.
29597 (__ASSUME_MSG_NOSIGNAL): Likewise.
29598 (__ASSUME_SENDFILE): Define unconditionally.
29599 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29600 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29602 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29603 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29604 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29605 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29606 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29607 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29608 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29610 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29611 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29613 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29614 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29616 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29617 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29619 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29622 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29623 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29625 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29626 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29628 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29629 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29631 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29632 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29633 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29634 Remove conditional code.
29635 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29636 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29637 Remove conditional code.
29638 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29639 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29640 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29641 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29642 Remove conditional code.
29643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29644 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29645 Remove conditional code.
29646 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29647 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29648 Remove conditional code.
29649 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29650 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29651 Remove conditional code.
29652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29653 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29654 Remove conditional code.
29655 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29656 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29657 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29658 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29659 * sysdeps/unix/sysv/linux/sigaction.c
29660 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29661 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29662 * sysdeps/unix/sysv/linux/sigpending.c
29663 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29664 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29665 * sysdeps/unix/sysv/linux/sigprocmask.c
29666 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29667 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29668 * sysdeps/unix/sysv/linux/sigsuspend.c
29669 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29670 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29671 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29672 (__libc_missing_rt_sigs): Remove.
29673 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29674 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29675 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29676 Remove conditional code.
29677 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29678 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29680 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29681 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29682 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29683 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29685 2012-05-14 Andreas Jaeger <aj@suse.de>
29687 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29688 it's not used in glibc.
29689 (__coshm1): Likewise.
29690 (__acosh1p): Likewise.
29693 * manual/string.texi (Copying and Concatenation): Add missing
29694 variable in concat example.
29695 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29697 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29700 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29701 __builtin_clzl with __builtin_clzll.
29703 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29706 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29709 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29711 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29712 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29713 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29714 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29716 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29718 * NEWS: Update ia64 info.
29720 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29722 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29725 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29727 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29728 * sysdeps/unix/syscalls.list (dup3): Likewise.
29729 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29730 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29732 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29734 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29735 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29737 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29739 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29741 (TLS_IE): Use mov/add instead of movq/addq to load thread
29743 (TLS_GD_PREFIX): New.
29746 2012-05-11 David S. Miller <davem@davemloft.net>
29748 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29749 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29750 (_FPU_SETCW): Likewise.
29752 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29754 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29755 is 32-byte aligned.
29757 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29760 * iconvdata/gb18030.c: Update tables.
29761 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29762 characters specially.
29763 (BODY for TO_LOOP): Add encoding of missing ranges.
29765 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29768 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29769 * sysdeps/mach/hurd/dup3.c: Likewise.
29770 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29771 * sysdeps/powerpc/memmove.c:: Likewise.
29773 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29775 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29776 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29778 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29780 * elf/elf.h (R_X86_64_RELATIVE64): New.
29781 (R_X86_64_NUM): Updated.
29782 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29783 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29784 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29785 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29786 tst-quad1pie tst-quad2pie
29787 (modules-names): Add tst-quadmod1 tst-quadmod2.
29788 ($(objpfx)tst-quad1): New dependency.
29789 ($(objpfx)tst-quad2): Likewise.
29790 ($(objpfx)tst-quad1pie): Likewise.
29791 ($(objpfx)tst-quad2pie): Likewise.
29792 * sysdeps/x86_64/tst-quad1.c: New file.
29793 * sysdeps/x86_64/tst-quad1pie.c: New file.
29794 * sysdeps/x86_64/tst-quad2.c: Likewise.
29795 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29796 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29797 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29798 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29799 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29801 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29803 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29804 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29805 * streams/stropts.h (t_scalar_t): Define type.
29807 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29808 (_PATH_PRESERVE): Set to "/var/lib".
29809 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29811 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29814 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29815 if __dir_mkfile succeeded.
29817 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29818 checking for _hurd_dtablesize. Unlock it right after having
29819 finished _hurd_dtable allocation.
29821 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29823 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29824 * sysdeps/mach/hurd/configure: Regenerated.
29825 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29826 special-casing to...
29827 * sysdeps/gnu/configure.in: ... this new file.
29828 * sysdeps/unix/sysv/linux/configure: Regenerated.
29829 * sysdeps/gnu/configure: New generated file.
29831 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29832 for Linux: use nsec instead of usec, as well as:
29833 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29834 members of type struct timespec.
29835 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29837 (struct stat64): Likewise.
29838 (_STATBUF_ST_NSEC): New macro.
29839 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29841 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29842 __strtoul_internal rather than strtoul.
29844 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29846 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29849 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29851 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29852 which preserves existing values.
29853 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29855 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29857 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29858 TIMEOUT values. Return EINVAL for NFDS values either negative or
29859 greater than FD_SETSIZE.
29861 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29863 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29864 allocated, call __vm_protect to finish enabling the existing space, and
29865 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29866 allocate the remainder.
29868 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29870 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29871 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29873 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29875 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29876 sysdeps/mach/hurd/readlink.c.
29878 * posix/tst-sysconf.c (posix_options): Only use
29879 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29880 _POSIX_SYNCHRONIZED_IO when they are defined
29881 * sysdeps/mach/hurd/bits/posix_opt.h:
29882 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29883 (_XOPEN_REALTIME): Undefine macro.
29884 (_XOPEN_REALTIME_THREADS): Undefine macro.
29885 (_XOPEN_SHM): Undefine macro.
29886 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29888 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29890 (_POSIX_ASYNC_IO): Undefine macro.
29891 (_POSIX_PRIORITIZED_IO): Undefine macro.
29892 (_POSIX_SPIN_LOCKS): Define macro to -1.
29894 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29895 SA_NODEFER, SA_RESETHAND.
29896 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29897 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29900 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29902 * elf/Makefile (pldd-modules): Define unconditionally.
29904 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29906 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29908 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29910 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29911 Return ENOENT when name is empty.
29912 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29914 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29916 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29918 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29920 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29922 Fix mlock in all cases except non-readable pages.
29923 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29924 instead of VM_PROT_ALL as parameter to __vm_wire function.
29926 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29927 (__mkdir): When path is `/', just fail with EEXIST.
29928 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29930 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29932 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29933 <sys/uio.h> (for writev).
29934 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29935 and <sys/param.h> (for MIN).
29937 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29939 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29940 REQUESTED_TIME. Properly set the remaining time and return EINTR
29943 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29945 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29946 Depend on against $(link-rpcuserlibs).
29948 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29950 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29951 (__libc_stack_end): Do not use attribute_relro.
29952 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29953 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29954 to libthread-provided value.
29955 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29958 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29961 * bits/libc-lock.h (__libc_once_get): New macro.
29962 * sysdeps/mach/bits/libc-lock.h: Likewise.
29963 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29964 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29965 instead of using implementation details.
29967 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29968 * libio/freopen.c: Likewise.
29969 * libio/freopen64.c: Likewise.
29970 * misc/syslog.c: Likewise.
29971 * nscd/connections.c: Likewise.
29972 * nscd/netgroupcache.c: Likewise.
29973 * sysdeps/posix/getcwd.c: Likewise.
29975 2012-05-10 Roland McGrath <roland@hack.frob.com>
29977 * math/w_ilogbf.c: Add #include <limits.h>.
29979 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29981 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29982 path instead of returning without unlocking.
29984 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29985 immediate-write ioctls.
29986 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29988 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29990 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29991 __builtin_frame_address instead of making assumptions about the
29992 location of the return address relative to DATA. Force early load of
29993 the return address.
29994 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29995 __builtin_frame_address.
29998 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29999 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30000 implement dup3 and do some further code clean-ups.
30001 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30002 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30004 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30006 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30008 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30009 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30010 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30011 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30012 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30015 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30016 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30017 when handler == SIG_ERR, not when handler != SIG_ERR.
30019 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30021 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30022 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30025 accept4 for GNU Hurd.
30026 * include/sys/socket.h (__libc_accept4): New prototype.
30027 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30028 to implement __libc_accept4.
30029 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30031 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30033 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30034 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30035 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30036 signal-defines.sym.
30038 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30040 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30042 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30044 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30045 assertion on O_CLOEXEC flag.
30046 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30047 * hurd/intern-fd.c: Likewise.
30048 * hurd/port2fd.c: Likewise.
30050 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30053 * bits/in.h (IPV6_PKTINFO): Define new macro.
30054 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30056 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30061 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30062 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30063 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30064 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30065 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30066 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30067 * math/libm-test.inc (logb_test) : Additional logb tests.
30069 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30070 Andreas Jaeger <aj@suse.de>
30072 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30073 * configure: Regenerated.
30074 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30075 * config.make.in (link-obsolete-rpc): New substituted variable.
30076 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30077 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30078 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30079 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30080 so that libc.a contains the symbols.
30081 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30082 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30083 * sunrpc/auth_none.c: Likewise.
30084 * sunrpc/auth_unix.c: Likewise.
30085 * sunrpc/authdes_prot.c: Likewise.
30086 * sunrpc/authuxprot.c: Likewise.
30087 * sunrpc/clnt_gen.c: Likewise.
30088 * sunrpc/clnt_perr.c: Likewise.
30089 * sunrpc/clnt_raw.c: Likewise.
30090 * sunrpc/clnt_simp.c: Likewise.
30091 * sunrpc/clnt_tcp.c: Likewise.
30092 * sunrpc/clnt_udp.c: Likewise.
30093 * sunrpc/clnt_unix.c: Likewise.
30094 * sunrpc/des_crypt.c: Likewise.
30095 * sunrpc/des_soft.c: Likewise.
30096 * sunrpc/get_myaddr.c: Likewise.
30097 * sunrpc/key_call.c: Likewise.
30098 * sunrpc/key_prot.c: Likewise.
30099 * sunrpc/netname.c: Likewise.
30100 * sunrpc/pm_getmaps.c: Likewise.
30101 * sunrpc/pm_getport.c: Likewise.
30102 * sunrpc/pmap_clnt.c: Likewise.
30103 * sunrpc/pmap_prot.c: Likewise.
30104 * sunrpc/pmap_prot2.c: Likewise.
30105 * sunrpc/pmap_rmt.c: Likewise.
30106 * sunrpc/publickey.c: Likewise.
30107 * sunrpc/rpc_cmsg.c: Likewise.
30108 * sunrpc/rpc_common.c: Likewise.
30109 * sunrpc/rpc_dtable.c: Likewise.
30110 * sunrpc/rpc_prot.c: Likewise.
30111 * sunrpc/rpc_thread.c: Likewise.
30112 * sunrpc/rtime.c: Likewise.
30113 * sunrpc/svc.c: Likewise.
30114 * sunrpc/svc_auth.c: Likewise.
30115 * sunrpc/svc_raw.c: Likewise.
30116 * sunrpc/svc_run.c: Likewise.
30117 * sunrpc/svc_tcp.c: Likewise.
30118 * sunrpc/svc_udp.c: Likewise.
30119 * sunrpc/svc_unix.c: Likewise.
30120 * sunrpc/svcauth_des.c: Likewise.
30121 * sunrpc/xcrypt.c: Likewise.
30122 * sunrpc/xdr.c: Likewise.
30123 * sunrpc/xdr_array.c: Likewise.
30124 * sunrpc/xdr_float.c: Likewise.
30125 * sunrpc/xdr_intXX_t.c: Likewise.
30126 * sunrpc/xdr_mem.c: Likewise.
30127 * sunrpc/xdr_rec.c: Likewise.
30128 * sunrpc/xdr_ref.c: Likewise.
30129 * sunrpc/xdr_sizeof.c: Likewise.
30130 * sunrpc/xdr_stdio.c: Likewise.
30132 2012-05-10 Roland McGrath <roland@hack.frob.com>
30134 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30135 change. Update copyright years.
30137 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30139 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30141 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30142 Joseph Myers <joseph@codesourcery.com>
30143 Paul Pluzhnikov <ppluzhnikov@google.com>
30146 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30148 [cross-compiling] (extra-libs): Likewise.
30149 [cross-compiling] (extra-libs-others): Likewise.
30150 [cross-compiling] (librpcsvc-routines): Likewise.
30151 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30152 [cross-compiling] (omit-deps): Likewise.
30153 (sunrpc-CPPFLAGS): New variable.
30154 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30155 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30156 (cross-rpcgen-objs): New variable.
30157 (extra-objs): Append $(cross-rpcgen-objs).
30158 ($(cross-rpcgen-objs)): New rule.
30159 ($(objpfx)cross-rpcgen): Likewise.
30160 (rpcgen-cmd): Define to use $(built-program-file). Expand
30162 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30163 ($(objpfx)x%.stmp): Likewise.
30164 * sunrpc/proto.h [IS_IN_build] (_): Define.
30165 [IS_IN_build] (_libc_intl_domainname): Likewise.
30167 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30169 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30170 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30171 and R_X86_64_TPOFF64.
30173 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30175 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30176 sysdeps/unix/sysv/syscalls.list.
30179 * sysdeps/unix/sysv/syscalls.list: Remove file.
30181 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30184 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30185 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30186 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30187 (__LC_IDENTIFICATION): Make these macros useful in #if
30188 expressions, as required by C99.
30190 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30192 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30193 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30196 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30198 * stdlib/longlong.h: Updated from GCC.
30200 2012-05-09 Andreas Jaeger <aj@suse.de>
30202 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30203 default is first entry.
30204 (run_mode): Set type.
30205 (main): Remove informal message about syslog.
30206 (options): Fix typo.
30209 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30212 (llrintf): Likewise.
30213 (llrint): Likewise.
30216 (nearbyint): Likewise.
30217 (nearbyintf): Likewise.
30219 2012-05-09 Andreas Jaeger <aj@suse.de>
30220 Pedro Alves <palves@redhat.com>
30222 * nscd/nscd.c (run_mode): Use enum.
30223 (main): Cleanup coding style issue.
30225 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30226 Andreas Jaeger <aj@suse.de>
30228 * nscd/nscd.c (go_background): Replaced with...
30229 (run_mode): ... this.
30230 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30231 (options): Add -F --foreground.
30232 (main): Implement it.
30233 (parse_opt): Parse it.
30235 2012-05-09 Andreas Jaeger <aj@suse.de>
30238 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30239 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30240 -Wconversion warning.
30241 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30244 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30246 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30248 (LC_ALL): Use macro-int-constant.
30249 (LC_COLLATE): Likewise.
30250 (LC_CTYPE): Likewise.
30251 (LC_MESSAGES): Likewise.
30252 (LC_MONETARY): Likewise.
30253 (LC_NUMERIC): Likewise.
30254 (LC_TIME): Likewise.
30255 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30256 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30258 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30260 [C99-based standards] (float_t): Expect type.
30261 [C99-based standards] (double_t): Expect type.
30262 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30264 [C99-based standards] (HUGE_VALL): Likewise.
30265 [C99-based standards] (INFINITY): Likewise.
30266 [C99-based standards] (NAN): Likewise.
30267 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30268 [C99-based standards] (FP_NAN): Likewise.
30269 [C99-based standards] (FP_NORMAL): Likewise.
30270 [C99-based standards] (FP_SUBNORMAL): Likewise.
30271 [C99-based standards] (FP_ZERO): Likewise.
30272 [C99-based standards] (FP_FAST_FMA): Use
30273 optional-macro-int-constant. Specify type. Require == 1.
30274 [C99-based standards] (FP_FAST_FMAF): Likewise.
30275 [C99-based standards] (FP_FAST_FMAL): Likewise.
30276 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30277 [C99-based standards] (FP_ILOGBNAN): Likewise.
30278 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30280 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30281 [C99-based standards] (math_errhandling): Specify type.
30282 [ISO99 || ISO11] (signgam): Do not allow.
30283 [non-C99-based standards] (copysignf): Do not allow.
30284 [non-C99-based standards] (exp2f): Likewise.
30285 [non-C99-based standards] (log2f): Likewise.
30286 [non-C99-based standards] (modff): Allow.
30287 [non-C99-based standards] (erff): Do not allow.
30288 [non-C99-based standards] (erfcf): Likewise.
30289 [non-C99-based standards] (gammaf): Likewise.
30290 [non-C99-based standards] (hypotf): Likewise.
30291 [non-C99-based standards] (j0f): Likewise.
30292 [non-C99-based standards] (j1f): Likewise.
30293 [non-C99-based standards] (jnf): Likewise.
30294 [non-C99-based standards] (lgammaf): Likewise.
30295 [non-C99-based standards] (tgammaf): Likewise.
30296 [non-C99-based standards] (y0f): Likewise.
30297 [non-C99-based standards] (y1f): Likewise.
30298 [non-C99-based standards] (ynf): Likewise.
30299 [non-C99-based standards] (isnanf): Likewise.
30300 [non-C99-based standards] (acoshf): Likewise.
30301 [non-C99-based standards] (asinhf): Likewise.
30302 [non-C99-based standards] (atanhf): Likewise.
30303 [non-C99-based standards] (cbrtf): Likewise.
30304 [non-C99-based standards] (expm1f): Likewise.
30305 [non-C99-based standards] (ilogbf): Likewise.
30306 [non-C99-based standards] (log1pf): Likewise.
30307 [non-C99-based standards] (logbf): Likewise.
30308 [non-C99-based standards] (nextafterf): Likewise.
30309 [non-C99-based standards] (remainderf): Likewise.
30310 [non-C99-based standards] (rintf): Likewise.
30311 [non-C99-based standards] (scalbf): Likewise.
30312 [non-C99-based standards] (copysignl): Likewise.
30313 [non-C99-based standards] (exp2l): Likewise.
30314 [non-C99-based standards] (log2l): Likewise.
30315 [non-C99-based standards] (modfl): Allow.
30316 [non-C99-based standards] (erfl): Do not allow.
30317 [non-C99-based standards] (erfcl): Likewise.
30318 [non-C99-based standards] (gammal): Likewise.
30319 [non-C99-based standards] (hypotl): Likewise.
30320 [non-C99-based standards] (j0l): Likewise.
30321 [non-C99-based standards] (j1l): Likewise.
30322 [non-C99-based standards] (jnl): Likewise.
30323 [non-C99-based standards] (lgammal): Likewise.
30324 [non-C99-based standards] (tgammal): Likewise.
30325 [non-C99-based standards] (y0l): Likewise.
30326 [non-C99-based standards] (y1l): Likewise.
30327 [non-C99-based standards] (ynl): Likewise.
30328 [non-C99-based standards] (isnanl): Likewise.
30329 [non-C99-based standards] (acoshl): Likewise.
30330 [non-C99-based standards] (asinhl): Likewise.
30331 [non-C99-based standards] (atanhl): Likewise.
30332 [non-C99-based standards] (cbrtl): Likewise.
30333 [non-C99-based standards] (expm1l): Likewise.
30334 [non-C99-based standards] (ilogbl): Likewise.
30335 [non-C99-based standards] (log1pl): Likewise.
30336 [non-C99-based standards] (logbl): Likewise.
30337 [non-C99-based standards] (nextafterl): Likewise.
30338 [non-C99-based standards] (remainderl): Likewise.
30339 [non-C99-based standards] (rintl): Likewise.
30340 [non-C99-based standards] (scalbl): Likewise.
30341 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30342 [non-C99-based standards] (FP_*): Do not allow.
30343 [C99-based standards] (FP_*): Change to
30344 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30345 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30347 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30348 (SIG_ERR): Likewise.
30349 [X/Open-based standards] (SIG_HOLD): Likewise.
30350 (SIG_IGN): Likewise.
30351 (SIGABRT): Use macro-int-constant. Specify type. Require
30353 (SIGFPE): Likewise.
30354 (SIGILL): Likewise.
30355 (SIGINT): Likewise.
30356 (SIGSEGV): Likewise.
30357 (SIGTER): Likewise.
30358 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30359 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30360 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30361 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30362 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30363 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30364 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30365 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30366 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30367 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30368 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30369 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30370 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30371 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30372 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30373 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30374 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30375 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30376 [X/Open-based standards] (SIGTRAP): Likewise.
30377 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30378 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30379 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30380 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30381 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30384 2012-05-08 Ian Wienand <ianw@vmware.com>
30387 * time/tzset.c (__tzset_parse_tz): Update default rules for
30388 daylight time changes in the Energy Policy Act of 2005.
30390 2012-05-09 Andreas Jaeger <aj@suse.de>
30393 * elf/ldconfig.c (parse_conf): Change string to make clear that
30394 ldconfig only issued a warning if ld.so.conf does not exist.
30396 2012-05-08 David S. Miller <davem@davemloft.net>
30398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30399 movxtod instead of popping the value on the stack.
30401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30403 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30405 * config.h.in: Add HAVE_ARM_PCS_VFP.
30407 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30410 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30411 checking but the checks are disabled for any reason.
30413 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30415 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30416 and ELF64_R_TYPE with ELFW(R_TYPE).
30418 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30420 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30421 (ulimit): Likewise.
30423 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30424 (settimeofday): Likewise.
30426 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30428 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30429 a struct th_u2 inside the union, and move tu_block/tu_code into
30430 a new th_u3 union of tu_block/tu_code inside of that. Move
30431 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30432 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30433 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30434 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30435 (th_stuff): Change to th_u1.tu_stuff.
30437 (th_msg): Change to th_u1.th_u2.tu_data.
30439 2012-05-07 David S. Miller <davem@davemloft.net>
30441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30444 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30445 (SETUP_PIC_REG): Use it.
30446 (SETUP_PIC_REG_LEAF): Use it.
30448 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30452 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30454 (EXPL_FINITE): Likewise.
30455 (FLDLOG): Likewise.
30456 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30457 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30459 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30461 (EXPL_FINITE): Likewise.
30462 (FLDLOG): Likewise.
30463 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30464 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30466 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30467 test of -max_value argument for long double.
30468 * sysdeps/i386/fpu/libm-test-ulps: Update.
30469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30471 2012-05-06 David S. Miller <davem@davemloft.net>
30473 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30474 quad soft-float symbols whose references which are compiler
30476 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30478 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30482 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30484 (EXPL_FINITE): Likewise.
30485 (FLDLOG): Likewise.
30488 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30489 Adjust comments for base varying.
30490 (__expl_finite): Change alias to EXPL_FINITE.
30491 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30493 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30494 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30495 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30496 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30497 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30499 (EXPL_FINITE): Likewise.
30500 (FLDLOG): Likewise.
30503 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30504 Adjust comments for base varying.
30505 (__expl_finite): Change alias to EXPL_FINITE.
30506 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30511 * math/libm-test.inc (check_float_internal): Correct ulp
30512 calculation for subnormal expected results.
30514 2012-05-06 Andreas Jaeger <aj@suse.de>
30516 * Makeconfig (+math-flags): New, set to -frounding-math.
30517 (+cflags): Add +math-flags so that all of glibc gets compiled with
30520 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30522 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30524 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30530 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30531 (__ieee754_expl): Allow for and saturate large arguments.
30532 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30533 (u_threshold): Likewise.
30534 (__exp): Call __ieee754_exp before checking for overflow and
30536 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30537 (u_threshold): Likewise.
30538 (__expf): Call __ieee754_expf before checking for overflow and
30540 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30541 (u_threshold): Likewise.
30542 (__expl): Call __ieee754_expl before checking for overflow and
30544 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30545 (__ieee754_expl): Allow for and saturate large arguments.
30546 * math/libm-test.inc (exp_test): Add another test. Do not allow
30547 missing overflow exception on overflow.
30548 (expm1_test): Do not allow missing overflow exception on overflow.
30550 * sysdeps/i386/fpu/e_expl.c: Move to ...
30551 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30552 rather than using inline asm.
30553 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30554 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30555 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30557 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30560 (signal): Likewise.
30564 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30566 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30567 sysdeps/unix/common/syscalls.list.
30568 (fchmod): Likewise.
30569 (fchown): Likewise.
30570 (ftruncate): Likewise.
30571 (getrusage): Likewise.
30572 (gettimeofday): Likewise.
30573 (setpgid): Likewise.
30574 (setregid): Likewise.
30575 (setreuid): Likewise.
30576 (sigaction): Likewise.
30577 (truncate): Likewise.
30578 (vhangup): Likewise.
30579 * sysdeps/unix/common/syscalls.list: Remove file.
30580 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30581 * sysdeps/unix/sysv/linux/Implies: Likewise.
30583 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30585 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30587 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30591 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30594 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30597 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30600 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30603 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30606 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30609 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30613 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30617 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30620 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30624 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30628 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30630 * sysdeps/unix/common/bits/dirent.h: Remove file.
30631 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30633 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30634 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30635 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30636 * sysdeps/unix/bsd/isatty.c: Likewise.
30637 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30638 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30639 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30641 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30644 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30645 long double comparison inaccuracies.
30646 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30649 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30651 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30652 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30654 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30657 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30658 nonzero digits before rounding a hex value.
30659 * stdlib/tst-strtod.c (tests): Add another test.
30661 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30663 * sysdeps/s390/fpu/libm-test-ulps: Update.
30665 2012-05-03 Andreas Jaeger <aj@suse.de>
30667 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30668 does not get optimized out.
30669 (malloc_opt_barrier): New.
30671 2012-05-03 Andreas Jaeger <aj@suse.de>
30672 Roland McGrath <roland@hack.frob.com>
30674 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30675 intermediate file deletion.
30676 (generated): Add .symlist files.
30678 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30681 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30682 Redirect under this condition.
30683 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30684 [__USE_GNU] (__dprintf_chk): Not under this condition.
30685 [__USE_GNU] (__vdprintf_chk): Likewise.
30686 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30687 under this condition.
30688 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30689 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30690 [__USE_XOPEN2K8] (vdprintf): Likewise.
30691 [__USE_GNU] (__dprintf_chk): Not under this condition.
30692 [__USE_GNU] (__vdprintf_chk): Likewise.
30693 [__USE_GNU] (dprintf): Likewise.
30694 [__USE_GNU] (vdprintf): Likewise.
30696 2012-05-03 Roland McGrath <roland@hack.frob.com>
30698 * elf/Makefile (common-generated): Set this instead of generated for
30699 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30700 $(all-built-dso)-derived lists.
30702 2012-05-03 Andreas Jaeger <aj@suse.de>
30704 * sysdeps/i386/fpu/libm-test-ulps: Update.
30707 * FAQ.in: Likewise.
30708 * scripts/gen-FAQ.pl: Likewise.
30709 * manual/install.texi (Installation): Point to online location of
30711 * Makefile (files-for-dist): Remove FAQ.
30714 2012-05-02 Allan McRae <allan@archlinux.org>
30716 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30717 (LDFLAGS-reldepmod5.so): Likewise.
30718 (LDFLAGS-reldep6mod1.so): Likewise.
30719 (LDFLAGS-reldep6mod4.so): Likewise.
30720 (LDFLAGS-reldep8mod3.so): Likewise.
30721 (LDFLAGS-unload4mod1.so): Likewise.
30722 (LDFLAGS-unload4mod2.so): Likewise.
30723 (LDFLAGS-tst-initorder): Likewise.
30724 (LDFLAGS-tst-initordera2.so): Likewise.
30725 (LDFLAGS-tst-initordera3.so): Likewise.
30726 (LDFLAGS-tst-initordera4.so): Likewise.
30727 (LDFLAGS-tst-initorderb2.so): Likewise.
30728 (LDFLAGS-noload): Likewise.
30729 (LDFLAGS-next): Likewise.
30730 (LDFLAGS-order2mod1.so): Likewise.
30731 (LDFLAGS-order2mod2.so): Likewise.
30732 (LDFLAGS-tst-initorder2): Likewise.
30733 (LDFLAGS-tst-initorder2a.so): Likewise.
30734 (LDFLAGS-tst-initorder2b.so): Likewise.
30735 (LDFLAGS-tst-initorder2c.so): Likewise.
30736 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30738 2012-05-02 David S. Miller <davem@davemloft.net>
30740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30742 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30745 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30747 2012-05-02 Andreas Jaeger <aj@suse.de>
30749 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30750 since we manipulate rounding mode.
30751 (CPPFLAGS-test-idouble.c): Likewise.
30752 (CPPFLAGS-test-ifloat.c): Likewise.
30753 (CFLAGS-test-ldouble.c): Likewise.
30754 (CFLAGS-test-double.c): Likewise.
30755 (CFLAGS-test-float.c): Likewise.
30756 (CFLAGS-test-misc.c): Likewise.
30757 (CFLAGS-test-test-fenv.c): Likewise.
30759 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30763 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30764 comparisons to determine direction to adjust input.
30766 2012-05-01 Roland McGrath <roland@hack.frob.com>
30768 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30769 output to the target.
30771 * scripts/localplt.awk: New file.
30772 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30773 (check-localplt-CFLAGS): Variable removed.
30774 ($(all-built-dso:=.jmprel)): New static pattern rule.
30775 (generated): Add those targets.
30776 (localplt-built-dso): New variable.
30777 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30779 * elf/check-localplt.c: File removed.
30781 * scripts/check-execstack.awk: New file.
30782 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30783 (check-execstack-CFLAGS): Variable removed.
30784 ($(objpfx)check-execstack.h): Target removed.
30785 ($(objpfx)execstack-default): New target.
30786 (generated): Add that instead of check-execstack.h.
30787 ($(all-built-dso:=.phdr)): New static pattern rule.
30788 (generated): Add those targets.
30789 * elf/check-execstack.c: File removed.
30791 * scripts/check-textrel.awk: New file.
30792 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30793 (check-textrel-CFLAGS): Variable removed.
30794 (all-built-dso): Use := to define.o
30795 ($(all-built-dso:=.dyn)): New static pattern rule.
30796 (generated): Add those targets.
30797 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30798 * config.make.in (READELF): New substituted variable.
30799 * elf/check-textrel.c: File removed.
30801 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30803 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30805 * conform/data/ctype.h-data [C99-based standards] (isblank):
30807 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30808 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30809 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30810 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30811 Specify type. Require positive value.
30812 (EILSEQ): Likewise.
30813 (ERANGE): Likewise.
30814 [ISO || POSIX] (EILSEQ): Do not expect.
30815 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30816 Specify type. Require positive value.
30817 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30818 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30819 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30820 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30821 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30822 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30823 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30824 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30825 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30826 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30827 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30828 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30829 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30830 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30831 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30832 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30833 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30834 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30835 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30836 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30837 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30838 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30839 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30840 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30841 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30842 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30843 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30844 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30845 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30846 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30847 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30848 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30849 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30850 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30851 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30852 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30853 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30854 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30855 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30856 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30857 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30858 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30859 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30860 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30861 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30862 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30863 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30864 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30865 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30866 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30867 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30868 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30869 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30870 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30871 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30872 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30873 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30874 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30875 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30876 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30877 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30878 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30879 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30880 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30881 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30882 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30883 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30884 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30885 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30886 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30887 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30888 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30889 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30890 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30891 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30892 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30893 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30895 (FLT_ROUNDS): Expect as macro, not constant.
30896 (FLT_MANT_DIG): Use macro-int-constant.
30897 (DBL_MANT_DIG): Likewise.
30898 (LDBL_MANT_DIG): Likewise.
30899 (FLT_DIG): Likewise.
30900 (DBL_DIG): Likewise.
30901 (LDBL_DIG): Likewise.
30902 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30903 (DBL_MIN_EXP): Likewise.
30904 (LDBL_MIN_EXP): Likewise.
30905 (FLT_MAX_EXP): Use macro-int-constant.
30906 (DBL_MAX_EXP): Likewise.
30907 (LDBL_MAX_EXP): Likewise.
30908 (FLT_MAX_10_EXP): Likewise.
30909 (DBL_MAX_10_EXP): Likewise.
30910 (LDBL_MAX_10_EXP): Likewise.
30911 (FLT_MAX): Use macro-constant.
30912 (DBL_MAX): Likewise.
30913 (LDBL_MAX): Likewise.
30914 (FLT_EPSILON): Use macro-constant. Give upper bound.
30915 (DBL_EPSILON): Likewise.
30916 (LDBL_EPSILON): Likewise.
30917 (FLT_MIN): Likewise.
30918 (DBL_MIN): Likewise.
30919 (LDBL_MIN): Likewise.
30920 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30921 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30922 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30923 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30924 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30925 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30926 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30927 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30928 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30929 [ISO11] (FLT_TRUE_MIN): Likewise.
30930 [ISO11] (LDBL_TRUE_MIN): Likewise.
30931 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30932 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30933 (SCHAR_MIN): Use macro-int-constant. Specify type.
30934 (SCHAR_MAX): Likewise.
30935 (UCHAR_MAX): Likewise.
30936 (CHAR_MIN): Likewise.
30937 (CHAR_MAX): Likewise.
30938 (MB_LEN_MAX): Use macro-int-constant.
30939 (SHRT_MIN): Use macro-int-constant. Specify type.
30940 (SHRT_MAX): Likewise.
30941 (USHRT_MAX): Likewise.
30942 (INT_MAX): Likewise.
30943 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30945 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30947 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30949 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30950 bound negative. Suffix upper bound with "L".
30951 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30953 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30955 [C99-based standards] (LLONG_MAX): Likewise.
30956 [C99-based standards] (ULLONG_MAX): Likewise.
30957 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30959 [ISO11] (max_align_t): Require type.
30960 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30962 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30963 from $CFLAGS, without defining away __attribute__ calls.
30964 (checknamespace): Use $CFLAGS_namespace.
30966 * conform/conformtest.pl (@keywords): Only include C99 keywords
30967 for standards based on C99 or C11.
30969 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30971 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30974 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30975 usability of symbols in #if.
30977 * conform/conformtest.pl: If macro or constant types start
30978 "promoted:", expect the symbol to be of the following type
30979 promoted by the integer promotions.
30981 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30982 in one place. Also handle "macro-constant".
30984 * conform/conformtest.pl: Only accept expected macro values with
30985 "==". Parse all "macro" lines in one place.
30986 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30988 * conform/conformtest.pl: Handle braced types on "constant" lines
30989 instead of handling "typed-constant".
30990 * conform/data/signal.h-data: Use "constant" instead of
30993 * conform/conformtest.pl: Handle "optional-" at start of lines in
30994 one place rather than duplicating several cases. Handle each
30995 format of "macro" line with initial "optional-".
30997 * conform/conformtest.pl: Only accept expected constant or
30998 optional-constant values with "==". Parse all "constant" lines in
30999 one place. Parse all "optional-constant" lines in one place.
31000 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31001 * conform/data/fmtmsg.h-data: Likewise.
31002 * conform/data/netinet/in.h-data: Likewise.
31003 * conform/data/tar.h-data: Likewise.
31004 * conform/data/limits.h-data: Use "==" form on "constant" and
31005 "optional-constant" lines.
31007 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31008 Use -std=c99 for XOPEN2K.
31009 (@knownproblems): Remove.
31010 (newtoken): Don't check %isknown.
31012 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31013 Do not expect macro.
31014 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31016 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31017 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31020 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31021 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31022 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31026 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31027 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31034 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31035 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31036 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31037 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31038 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31039 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31040 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31041 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31042 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31044 [XPG3] (acosh): Likewise.
31045 [XPG3] (asinh): Likewise.
31046 [XPG3] (atanh): Likewise.
31047 [XPG3] (cbrt): Likewise.
31048 [XPG3] (expm1): Likewise.
31049 [XPG3] (ilogb): Likewise.
31050 [XPG3] (log1p): Likewise.
31051 [XPG3] (logb): Likewise.
31052 [XPG3] (nextafter): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31054 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31055 [XPG3] (remainder): Likewise.
31056 [XPG3] (rint): Likewise.
31057 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31058 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31059 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31060 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31061 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31062 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31063 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31064 [UNIX98 || XOPEN2K] (scalb): Expect.
31065 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31066 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31067 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31068 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31069 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31070 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31071 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31072 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31073 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31074 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31075 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31076 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31077 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31078 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31079 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31080 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31081 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31082 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31083 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31084 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31085 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31086 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31087 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31088 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31089 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31090 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31091 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31092 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31093 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31094 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31095 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31096 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31097 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31098 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31099 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31100 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31101 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31102 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31103 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31104 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31105 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31106 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31107 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31108 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31109 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31110 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31111 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31112 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31113 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31114 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31115 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31116 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31117 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31118 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31119 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31120 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31121 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31122 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31123 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31124 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31125 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31126 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31127 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31128 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31129 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31130 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31131 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31132 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31133 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31134 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31135 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31136 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31137 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31138 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31139 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31140 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31141 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31142 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31143 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31144 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31145 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31146 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31147 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31148 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31149 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31150 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31151 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31152 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31153 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31154 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31155 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31156 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31157 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31158 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31159 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31160 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31161 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31162 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31163 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31164 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31165 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31166 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31167 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31168 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31169 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31170 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31171 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31172 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31173 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31174 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31175 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31176 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31177 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31178 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31179 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31180 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31181 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31182 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31183 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31184 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31185 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31186 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31187 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31188 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31189 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31190 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31191 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31192 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31193 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31194 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31195 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31196 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31197 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31198 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31199 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31200 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31201 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31203 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31204 _XOPEN_SOURCE_EXTENDED for XPG4.
31206 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31208 * Makeconfig (localtime): Remove variable.
31209 (inst_localtime-file): Likewise.
31211 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31232 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31236 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31237 comparisons to determine direction to adjust input.
31238 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31239 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31240 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31242 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31244 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31246 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31247 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31249 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31251 * math/libm-test.inc (nexttoward_test): Add more tests.
31253 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31256 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31257 in version GLIBC_2.1, not GLIBC_2.0.
31258 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31261 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31264 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31266 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31267 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31268 * math/libm-test.inc (acos_test): Add more tests.
31269 (asin_test): Likewise.
31270 * sysdeps/i386/fpu/libm-test-ulps: Update.
31271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31274 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31276 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31277 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31278 * math/libm-test.inc (acos_test_tonearest): New function.
31279 (acos_test_towardzero): Likewise.
31280 (acos_test_downward): Likewise.
31281 (acos_test_upward): Likewise.
31282 (asin_test_tonearest): Likewise.
31283 (asin_test_towardzero): Likewise.
31284 (asin_test_downward): Likewise.
31285 (asin_test_upward): Likewise.
31286 (main): Call the new functions.
31287 * sysdeps/i386/fpu/libm-test-ulps: Update.
31288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31292 * math/e_exp10.c: Include <float.h>.
31293 (__ieee754_exp10): Handle underflow here rather than multiplying
31294 large negative argument by M_LN10.
31295 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31297 * math/e_exp10l.c: Include <float.h>.
31298 (__ieee754_exp10l): Handle underflow here rather than multiplying
31299 large negative argument by M_LN10l.
31300 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31301 spurious overflow exception on underflow.
31303 2012-04-29 Marek Polacek <polacek@redhat.com>
31305 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31306 (__fortify_function): New macro.
31307 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31308 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31309 __extern_always_inline.
31310 * libio/bits/stdio2.h: Likewise.
31311 * libio/bits/stdio.h: Likewise.
31312 * string/string.h: Likewise.
31313 * string/bits/string3.h: Likewise.
31314 * include/stdio.h: Likewise.
31315 * stdlib/bits/stdlib.h: Likewise.
31316 * stdlib/stdlib.h: Likewise.
31317 * rt/bits/mqueue2.h: Likewise.
31318 * rt/mqueue.h: Likewise.
31319 * posix/bits/unistd.h: Likewise.
31320 * posix/unistd.h: Likewise.
31321 * io/bits/poll2.h: Likewise.
31322 * io/bits/fcntl2.h: Likewise.
31323 * io/fcntl.h: Likewise.
31324 * io/sys/poll.h: Likewise.
31325 * misc/bits/syslog.h: Likewise.
31326 * misc/bits/syslog-ldbl.h: Likewise.
31327 * misc/sys/syslog.h: Likewise.
31328 * socket/bits/socket2.h: Likewise.
31329 * socket/sys/socket.h: Likewise.
31330 * debug/tst-chk1.c: Likewise.
31331 * wcsmbs/bits/wchar2.h: Likewise.
31332 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31333 * wcsmbs/wchar.h: Likewise.
31335 2012-04-29 Andreas Jaeger <aj@suse.de>
31337 * Makerules (tests): Remove enable-check-abi protection.
31338 (check-abi-warn): Remove.
31339 (check-abi-%): Remove check-abi-warn usage.
31341 * configure.in: Remove check-abi configure option.
31342 * configure: Regenerated.
31343 * config.make.in (enable-check-abi): Remove.
31345 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31348 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31349 double functions to double *_finite functions.
31352 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31353 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31355 * stdio-common/Makefile (tests): Add tst-sprintf3.
31356 * stdio-common/tst-sprintf3.c: New file.
31358 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31359 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31361 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31363 * conform/conformtest.pl: Remove duplicate typed-constant
31366 2012-04-28 David S. Miller <davem@davemloft.net>
31368 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31369 (check-abi-%): Remove AWK script prerequisite and explicit
31371 (check-abi): Rewrite to just diff the symlist with the abilist.
31372 (config-tls, config-abi-config): Delete, no longer used.
31373 (update-abi-%): Remove AWK script and explicit abilist directory.
31374 (update-abi): Rewrite to simply compare and conditionally copy the
31375 symlist and the sysdep abilist file. Remove update-abi-config
31377 * abilist/ld.abilist: Remove.
31378 * abilist/libBrokenLocale.abilist: Remove.
31379 * abilist/libanl.abilist: Remove.
31380 * abilist/libcrypt.abilist: Remove.
31381 * abilist/libdl.abilist: Remove.
31382 * abilist/librt.abilist: Remove.
31383 * abilist/libthread_db.abilist: Remove.
31384 * abilist/libutil.abilist: Remove.
31385 * scripts/extract-abilist.awk: Remove.
31386 * scripts/merge-abilist.awk: Remove.
31387 * sysdeps/generic/libcidn.abilist: New file.
31388 * sysdeps/generic/libnss_compat.abilist: New file.
31389 * sysdeps/generic/libnss_db.abilist: New file.
31390 * sysdeps/generic/libnss_dns.abilist: New file.
31391 * sysdeps/generic/libnss_files.abilist: New file.
31392 * sysdeps/generic/libnss_hesiod.abilist: New file.
31393 * sysdeps/generic/libnss_nis.abilist: New file.
31394 * sysdeps/generic/libnss_nisplus.abilist: New file.
31395 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31396 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31397 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31399 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31400 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31401 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31402 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31403 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31404 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31405 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31406 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31407 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31409 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31410 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31411 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31412 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31414 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31415 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31416 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31417 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31418 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31419 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31421 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31422 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31423 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31425 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31528 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31529 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31530 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31532 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31533 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31534 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31535 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31536 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31537 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31538 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31539 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31540 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31541 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31593 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31595 * conform/conformtest.pl: Fix typo in handling typed-constant from
31598 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31600 * README: Cut down references to pre-2.6 Linux kernels and
31601 Linuxthreads. Update lists of configurations in libc and ports
31602 and sort alphabetically. Say "or newer" with Linux kernel version
31605 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31607 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31610 * math/libm-test.inc (logb_test_downward): New test to expose
31611 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31614 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31617 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31619 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31620 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31622 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31624 * sysdeps/unix/i386/brk.S: Remove file.
31625 * sysdeps/unix/i386/dl-brk.S: Likewise.
31626 * sysdeps/unix/i386/pipe.S: Likewise.
31627 * sysdeps/unix/i386/sigreturn.S: Likewise.
31628 * sysdeps/unix/i386/syscall.S: Likewise.
31629 * sysdeps/unix/i386/vfork.S: Likewise.
31630 * sysdeps/unix/i386/wait.S: Likewise.
31632 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31633 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31635 * configure.in (arm*-none*): Do not allow without
31636 --enable-hacker-mode.
31637 (netbsd*): Remove case setting base_os.
31638 (386bsd*): Likewise.
31639 (freebsd*): Likewise.
31642 (sunos*): Likewise.
31643 (ultrix*): Likewise.
31644 (newsos*): Likewise.
31645 (dynix*): Likewise.
31651 (minix*): Likewise.
31652 (irix4*): Likewise.
31653 (irix6*): Likewise.
31654 (solaris[2-9]*): Likewise.
31656 * configure: Regenerated.
31658 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31661 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31662 overflow or cancellation in calculating denominator.
31663 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31664 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31665 down expression to avoid unexpected rounding in newer GCCs.
31666 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31668 2012-04-26 David S. Miller <davem@davemloft.net>
31670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31671 long-double compat symbols.
31672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31686 2012-04-25 David S. Miller <davem@davemloft.net>
31688 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31689 HWCAP_* values only after the memory barriers have been defined.
31690 (atomic_full_barrier): Define.
31691 (atomic_read_barrier): Define.
31692 (atomic_write_barrier): Define.
31694 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31696 * shlib-versions: Add libgcc_s version information.
31697 * sysdeps/generic/libgcc_s.h: Remove.
31698 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31700 * sysdeps/gnu/unwind-resume.c: Likewise.
31701 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31703 2012-04-25 David S. Miller <davem@davemloft.net>
31705 * sysdeps/unix/sparc/brk.S: Delete.
31706 * sysdeps/unix/sparc/dl-brk.S: Delete.
31707 * sysdeps/unix/sparc/pipe.S: Delete.
31708 * sysdeps/unix/sparc/sysdep.S: Delete.
31709 * sysdeps/unix/sparc/sysdep.h: Delete.
31710 * sysdeps/unix/sparc/vfork.S: Delete.
31711 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31712 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31713 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31714 (ret_ERRVAL, r0, r1, MOVE): Define.
31715 (JUMPTARGET): Remove.
31716 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31717 sysdeps/unix/sparc/sysdep.h
31718 (ENTRY, END): Remove.
31719 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31721 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31723 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31724 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31727 * timezone/README: Update upstream location and email address for
31729 * timezone/zdump.c: Update from tzcode 2012b.
31730 * timezone/zic.c: Likewise.
31732 * configure.in (libc_cv_as_needed): Remove test.
31733 * configure: Regenerated.
31734 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31735 conditional definition.
31736 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31737 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31738 * config.make.in (have-as-needed): Remove variable.
31740 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31741 Paul Pluzhnikov <ppluzhnikov@google.com>
31743 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31746 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31748 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31749 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31750 * sysdeps/sh/strlen.S: Likewise.
31752 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31754 * sysdeps/unix/fork.S: Remove file.
31755 * sysdeps/unix/i386/fork.S: Likewise.
31756 * sysdeps/unix/sparc/fork.S: Likewise.
31758 * sysdeps/unix/system.c: Remove file.
31759 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31761 * sysdeps/unix/getegid.S: Remove file.
31762 * sysdeps/unix/geteuid.S: Likewise.
31764 2012-04-24 Roland McGrath <roland@hack.frob.com>
31766 * scripts/check-localplt.awk: New file.
31767 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31769 * scripts/data/localplt-generic.data: Add a comment.
31771 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31772 NODE when __dir_mkfile failed.
31773 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31774 Reported by Ludovic Courtès <ludo@gnu.org>.
31776 2012-04-24 Andreas Jaeger <aj@suse.de>
31778 * Makerules (common-clean): Also remove gen-as-const-headers
31781 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31783 * Makerules (native-compile): Do not change working directory for
31784 build. Use $(OUTPUT_OPTION) in command.
31785 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31787 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31790 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31791 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31792 * math/libm-test.inc (floor_test): Add more tests.
31793 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31795 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31797 * sysdeps/unix/getdents.c: Remove file.
31798 * sysdeps/unix/sysv/getdents.c: Likewise.
31799 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31801 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31802 sysdeps/unix/mman/syscalls.list.
31804 (mprotect): Likewise.
31806 (munmap): Likewise.
31807 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31808 * sysdeps/unix/mman/syscalls.list: Remove.
31809 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31811 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31812 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31813 * configure: Regenerated.
31814 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31815 $(libgcc_s_suffix).
31816 * config.make.in (libgcc_s_suffix): Remove variable.
31818 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31820 * sysdeps/unix/sysv/gethostname.c: Move to ...
31821 * sysdeps/posix/gethostname.c: ... here.
31823 * sysdeps/unix/execve.S: Remove file.
31825 * sysdeps/unix/_exit.S: Remove file.
31827 2012-04-23 Andreas Jaeger <aj@suse.de>
31830 * manual/Makefile: Remove make dist support, there's no
31831 need for a stand-alone documentation tar ball.
31832 (TEXI2DVI): Define always, it's not in Makeconfig.
31835 (edition): Removed.
31836 (glibc-doc-$(edition).tar): Removed
31840 (ETAGS): Remove, it's in Makeconfig.
31841 (move-if-change): Remove, it's in Makeconfig.
31843 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31846 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31847 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31848 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31849 (strtod_l, strtof_l, strtold_l): Remove __wur.
31850 It is not necessarily an error to ignore strtol's return value.
31851 One can reliably look at the stored endptr to decide whether
31852 the number had valid syntax.
31854 2012-04-21 Andreas Jaeger <aj@suse.de>
31857 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31859 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31861 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31862 * sysdeps/unix/sysv/Versions: Remove file.
31864 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31869 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31872 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31873 version from __vm86.
31875 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31877 * sysdeps/unix/common/lxstat.c: Remove file.
31878 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31880 * sysdeps/unix/sysv/Makefile: Remove file.
31882 * sysdeps/unix/sysv/direct.h: Remove file.
31884 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31885 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31886 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31887 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31888 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31889 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31890 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31892 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31894 * sysdeps/unix/xmknod.c: Remove file.
31895 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31897 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31899 * sysdeps/unix/sysv/i386/time.S: Remove file.
31901 * sysdeps/unix/fxstat.c: Remove file.
31902 * sysdeps/unix/xstat.c: Likewise.
31903 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31905 * sysdeps/unix/sysv/sigaction.c: Remove file.
31907 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31908 (sysdep_headers): Remove variable.
31909 [termio.h not in sysdep_headers] (generated): Likewise.
31910 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31911 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31912 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31913 * sysdeps/unix/sysv/tcflow.c: Likewise.
31914 * sysdeps/unix/sysv/tcflush.c: Likewise.
31915 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31916 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31917 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31918 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31919 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31921 * sysdeps/unix/siglist.c: Remove file.
31923 * sysdeps/unix/getppid.S: Remove file.
31925 * sysdeps/unix/mkdir.c: Remove file.
31926 * sysdeps/unix/rmdir.c: Likewise.
31928 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31930 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31932 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31933 errlist-compat value.
31935 2012-04-18 David S. Miller <davem@davemloft.net>
31937 * sysdeps/generic/memcopy.h (reg_char): Delete.
31938 * debug/strcat_chk.c: Use char, not reg_char.
31939 * debug/strcpy_chk.c: Likewise.
31940 * debug/strncat_chk.c: Likewise.
31941 * debug/strncpy_chk.c: Likewise.
31942 * string/memchr.c: Likewise.
31943 * string/memrchr.c: Likewise.
31944 * string/rawmemchr.c: Likewise.
31945 * string/strcat.c: Likewise.
31946 * string/strchr.c: Likewise.
31947 * string/strchrnul.c: Likewise.
31948 * string/strcmp.c: Likewise.
31949 * string/strcpy.c: Likewise.
31950 * string/strncat.c: Likewise.
31951 * string/strncmp.c: Likewise.
31952 * string/strncpy.c: Likewise.
31954 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31956 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31957 __builtin_memcopy is called when src and dest ranges are known to not
31960 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31962 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31963 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31964 fwd_align_merge macro call.
31965 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31966 bwd_align_merge macro call.
31967 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31969 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31971 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31972 bwd_align_merge macros.
31973 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31974 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31975 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31977 2012-04-18 David S. Miller <davem@davemloft.net>
31979 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31981 2012-04-18 Andreas Jaeger <aj@suse.de>
31984 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31985 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31986 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31988 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31989 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31990 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31992 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31993 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31994 Adjust for changed ldbl-128 files.
31996 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31997 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31998 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32000 2012-04-17 David S. Miller <davem@davemloft.net>
32002 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32004 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32006 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32007 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32008 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32009 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32010 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32011 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32013 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32016 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32017 * math/libm-test.inc: Add ilogb errno and exception tests.
32018 * math/w_ilogb.c: New file: ilogb wrapper.
32019 * math/w_ilogbf.c: New file: ilogbf wrapper.
32020 * math/w_ilogbl.c: New file: ilogbl wrapper.
32021 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32022 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32023 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32024 exception being thrown with 0.0 as argument.
32025 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32026 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32027 exception being thrown with 0.0 as argument.
32028 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32029 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32030 exception being thrown with 0.0 as argument.
32031 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32032 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32033 exception being thrown with 0.0 as argument.
32034 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32035 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32036 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32037 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32038 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32039 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32040 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32041 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32042 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32044 2012-04-17 Petr Baudis <pasky@ucw.cz>
32046 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32049 2012-04-16 Marek Polacek <polacek@redhat.com>
32051 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32053 2012-04-16 Marek Polacek <polacek@redhat.com>
32055 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32056 operands of fdivp instruction.
32058 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32060 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32061 * elf/tst-auditmod3b.c: Likewise.
32062 * elf/tst-auditmod4b.c: Likewise.
32063 * elf/tst-auditmod5b.c: Likewise.
32064 * elf/tst-auditmod6b.c: Likewise.
32065 * elf/tst-auditmod6c.c: Likewise.
32066 * elf/tst-auditmod7b.c: Likewise.
32067 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32068 * sysdeps/x86_64/preconfigure.in: Likewise.
32069 * sysdeps/x86_64/preconfigure: Regenerated.
32071 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32073 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32076 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
32078 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32079 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32081 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32084 * locale/iso-639.def: Fix gl language name. Spotted by
32087 2012-04-12 Roland McGrath <roland@hack.frob.com>
32090 * libio/libio.h (__io_write_fn): Update comment.
32092 2012-04-12 Petr Baudis <pasky@ucw.cz>
32095 * stdio.texi (Hook Functions): The user provided writer function
32096 is not allowed to return -1.
32098 2012-04-11 David S. Miller <davem@davemloft.net>
32100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32102 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32104 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32105 Add a leading slash to rtkaio.
32107 2012-04-11 Jim Meyering <meyering@redhat.com>
32110 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32111 It is not necessarily an error to ignore fwrite's return
32112 value. One can reliably use ferror to test for errors after
32115 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32117 * bits/types.h (__snseconds_t): New type.
32118 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32120 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32122 (__SNSECONDS_T_TYPE): Likewise.
32123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32124 (__SNSECONDS_T_TYPE): Likewise.
32125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32126 (__SNSECONDS_T_TYPE): Likewise.
32128 2012-04-10 Andreas Jaeger <aj@suse.de>
32131 * manual/time.texi (Processor Time): Return type of times is
32132 elapsed real time since an arbitrary point in the past.
32133 (CPU Time): Move CLK_TCK from here...
32134 (Processor Time): ...to here. Correct description.
32135 * manual/conf.texi (Constants for Sysconf): Correct description of
32138 2012-04-10 David S. Miller <davem@davemloft.net>
32141 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32142 where the is a gap between DT_REL(A) and DT_JMPREL.
32144 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32146 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32147 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32148 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32150 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32152 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32153 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32154 (dl_main): Handle --inhibit-cache.
32155 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32157 * elf/dl-load.c (_dl_map_object): Use it.
32158 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32160 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32163 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32164 (__ieee754_powl): Saturate large exponents rather than testing for
32165 overflow of y*log2(x).
32166 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32167 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32171 * math/s_ctan.c: Include <float.h>.
32172 (__ctan): Avoid internal overflow or cancellation in calculating
32174 * math/s_ctanf.c: Likewise.
32175 * math/s_ctanl.c: Likewise.
32176 * math/s_ctanh.c: Likewise.
32177 * math/s_ctanhf.c: Likewise.
32178 * math/s_ctanhl.c: Likewise.
32179 * math/libm-test.inc (ctan_test): Add more tests.
32180 (ctanh_test): Likewise.
32181 * sysdeps/i386/fpu/libm-test-ulps: Update.
32182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32184 2012-04-09 Andreas Jaeger <aj@suse.de>
32187 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32188 is an optional BSD extension.
32191 * manual/stdio.texi (Opening Streams): Document additional fopen
32194 2012-04-09 Roland McGrath <roland@hack.frob.com>
32196 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32197 %eax without telling the compiler.
32199 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32202 * manual/install.texi: Use sourceware.org.
32204 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32207 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32208 (__ieee754_pow): Generate overflow and underflow using huge*huge
32209 and tiny*tiny rather than just returning constant infinity or zero
32210 for large exponents.
32211 * math/libm-test.inc (pow_test): Require overflow exceptions for
32212 applicable cases of large exponents.
32215 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32216 (__ieee754_pow): Use iterative multiplication algorithm only for
32217 integer exponents with absolute value below 1024. Check for odd
32218 integer exponents when using algorithm for real exponents.
32219 * math/libm-test.inc (pow_test): Add more tests.
32220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32222 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32225 * math/libm-test.inc (exp_test): Do not allow overflow exception
32228 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32231 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32232 instead of __kernel_standard_f.
32234 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32236 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32237 * sysdeps/x86_64/memset_chk.S: Likewise.
32239 2012-04-08 Andreas Jaeger <aj@suse.de>
32242 * manual/startup.texi (Environment Access): Describe return value
32243 for putenv and setenv.
32246 * manual/filesys.texi (Directory Entries): Add description for
32250 * manual/filesys.texi (Directory Entries): Clarify that it's file
32251 system not operating system in the description of DT_UNKNOWN.
32254 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32256 2012-04-08 Stephen Compall <s11@member.fsf.org>
32259 * manual/llio.texi (Opening and Closing Files): Add cross
32260 reference to explain mode argument.
32262 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32264 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32265 * sysdeps/x86_64/memset_chk.S: Likewise.
32267 2012-04-07 David S. Miller <davem@davemloft.net>
32269 * elf/elf.h (R_SPARC_WDISP10): Define.
32270 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32273 R_SPARC_SIZE64 and R_SPARC_H34.
32275 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32277 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32278 conditions and remove no longer applicable assertion.
32280 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32282 * bits/byteswap.h: Include <features.h>.
32283 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32284 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32286 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32288 * bits/byteswap.h (__bswap_16): Removed.
32289 Include <bits/byteswap-16.h> to get __bswap_16.
32290 * sysdeps/i386/bits/byteswap.h: Likewise.
32291 * sysdeps/s390/bits/byteswap.h: Likewise.
32292 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32293 * bits/byteswap-16.h: New file.
32294 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32295 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32296 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32297 * string/Makefile (headers): Add bits/byteswap-16.h.
32299 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32302 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32304 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32305 * nss/tst-nss-static.c: New.
32307 2012-04-06 Robert Millan <rmh@gnu.org>
32310 * manual/llio.texi (File Position Primitive): lseek
32311 refers to WHENCE when it really means OFFSET.
32313 2012-04-06 Andreas Jaeger <aj@suse.de>
32315 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32316 strncmp declarations.
32318 * abilist/libc.abilist: Add __poll and __ppoll.
32320 2012-04-05 David S. Miller <davem@davemloft.net>
32322 * scripts/check-local-headers.sh: Accept a host triplet in the
32323 path matched by the exclude regexp.
32325 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32327 * sysdeps/powerpc/powerpc32/dl-machine.h
32328 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32329 * sysdeps/s390/s390-32/dl-machine.h
32330 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32331 * sysdeps/sparc/sparc32/dl-machine.h
32332 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32333 * sysdeps/sparc/sparc64/dl-machine.h
32334 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32336 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32338 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32339 undefined symbol errors.
32341 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32344 2012-04-05 Michael Matz <matz@suse.de>
32347 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32349 2012-04-05 Andreas Jaeger <aj@suse.de>
32352 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32355 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32357 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32358 which ROUND is no valid rounding mode.
32360 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32362 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32364 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32366 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32368 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32369 an exception using FPU order intentionally.
32371 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32373 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32374 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32375 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32376 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32378 2012-04-05 Simon Josefsson <simon@josefsson.org>
32381 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32382 EINVAL when BUFLEN is too smal.
32384 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32387 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32388 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32390 2012-04-03 Andreas Jaeger <aj@suse.de>
32393 * manual/setjmp.texi (System V contexts): Fix sentence.
32396 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32397 New macro for this case.
32398 [!__GNUC__] (__bswap_64): New inline function for this case.
32399 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32400 * bits/byteswap.h: Likewise.
32401 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32402 ull, guard with __GLIBC_HAVE_LONG_LONG.
32404 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32405 __GLIBC_HAVE_LONG_LONG.
32407 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32408 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32410 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32413 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32414 inptr and inend, rather than using last_ch.
32416 2012-04-02 David S. Miller <davem@davemloft.net>
32418 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32419 * stdio-common/printf-parse.h (read_int): Change return type to
32420 'int', return -1 on INT_MAX overflow.
32421 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32422 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32423 overflows INT_MAX. Check for overflow of in-format-string precision
32424 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32425 SIZE_MAX not INT_MAX for integer overflow test.
32426 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32427 skip the construct in the format string but do not record anything.
32428 * stdio-common/bug22.c: Adjust to test both width/prevision
32429 INT_MAX overflow as well as total length INT_MAX overflow. Check
32430 explicitly for proper errno values.
32432 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32434 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32436 * string/test-strcmp.c [! WIDE]: Likewise.
32437 * time/tst-mktime2.c: Likewise for INT_MAX.
32438 * string/test-string.h: #include <sys/param.h> for MIN.
32440 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32441 * sysdeps/i386/init-first.c (init): Likewise.
32442 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32443 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32444 * sysdeps/sh/init-first.c (init): Likewise.
32446 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32448 * po/ru.po: Update from translation team.
32449 * po/vi.po: Likewise.
32451 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32453 * resolv/nss_dns/dns-host.c: Merge copyright years.
32455 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32457 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32458 Optimize memcpy with prefetch if
32459 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32460 src, dst pointers have unequal 16 byte alignments.
32462 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32465 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32466 from a CNAME entry and return the minimum ttl for the query.
32467 (gaih_getanswer_slice): Likewise.
32469 2012-03-30 Jeff Law <law@redhat.com>
32471 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32473 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32474 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32476 * resolv/nss_dns/dns-host.c: Update copyright year.
32478 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32480 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32481 requests to save a system call. Fix check that all bytes are sent.
32483 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32484 comments for sendmmsg.
32486 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32489 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32490 with only 1 character between 0x0041 and 0x01b0.
32491 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32492 * wcsmbs/tst-mbsnrtowcs.c: New file.
32494 2012-03-29 David S. Miller <davem@davemloft.net>
32496 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32497 small copies by hand.
32499 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32502 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32503 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32506 2012-03-28 David S. Miller <davem@davemloft.net>
32508 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32509 that branches into memcpy.
32510 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32511 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32512 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32513 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32516 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32517 implementation too.
32518 * sysdeps/sparc/mempcpy.S: New file.
32520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32521 the IFUNC routine in the libc case.
32522 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32524 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32525 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32526 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32527 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32528 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32529 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32530 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32531 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32533 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32534 loop to 256 bytes instead of 64 bytes and fix test signedness.
32536 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32537 * sysdeps/sparc/sparc32/Makefile: rather than here...
32538 * sysdeps/sparc/sparc64/Makefile: and here.
32540 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32542 * malloc/mallocbug.c: Avoid warnings about unused variables.
32544 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32547 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32548 in the right place. Discard and retry query if response is
32549 larger than input buffer size.
32551 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32556 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32557 x for large integer exponent.
32558 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32559 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32560 sign of result as needed afterwards.
32561 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32562 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32563 result for underflowing pow the same as for overflow.
32564 (__kernel_standard_l): Handle powl overflow and underflow here
32565 rather than calling __kernel_standard.
32566 * math/libm-test.inc (pow_test): Add more tests.
32581 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32582 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32583 (__kernel_standard_l): New function.
32584 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32586 * math/w_acosl.c (__acosl): Likewise.
32587 * math/w_asinl.c (__asinl): Likewise.
32588 * math/w_atan2l.c (__atan2l): Likewise.
32589 * math/w_atanhl.c (__atanhl): Likewise.
32590 * math/w_coshl.c (__coshl): Likewise.
32591 * math/w_exp10l.c (__exp10l): Likewise.
32592 * math/w_exp2l.c (__exp2l): Likewise.
32593 * math/w_fmodl.c (__fmodl): Likewise.
32594 * math/w_hypotl.c (__hypotl): Likewise.
32595 * math/w_j0l.c (__j0l, __y0l): Likewise.
32596 * math/w_j1l.c (__j1l, __y1l): Likewise.
32597 * math/w_jnl.c (__jnl, __ynl): Likewise.
32598 * math/w_lgammal.c (__lgammal): Likewise.
32599 * math/w_log10l.c (__log10l): Likewise.
32600 * math/w_log2l.c (__log2l): Likewise.
32601 * math/w_logl.c (__logl): Likewise.
32602 * math/w_powl.c (__powl): Likewise.
32603 * math/w_remainderl.c (__remainderl): Likewise.
32604 * math/w_scalbl.c (sysv_scalbl): Likewise.
32605 * math/w_sinhl.c (__sinhl): Likewise.
32606 * math/w_sqrtl.c (__sqrtl): Likewise.
32607 * math/w_tgammal.c (__tgammal): Likewise.
32608 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32609 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32610 * math/libm-test.inc (acos_test): Add more tests.
32611 (acosh_test): Likewise.
32612 (asin_test): Likewise.
32613 (atanh_test): Likewise.
32614 (exp_test): Likewise.
32615 (exp10_test): Likewise.
32616 (exp2_test): Likewise.
32617 (expm1_test): Likewise.
32618 (lgamma_test): Likewise.
32619 (log_test): Likewise.
32620 (log10_test): Likewise.
32621 (log1p_test): Likewise.
32622 (log2_test): Likewise.
32623 (pow_test): Do not allow some spurious overflow exceptions.
32624 (sqrt_test): Add more tests.
32625 (tgamma_test): Likewise.
32626 (y0_test): Likewise.
32627 (y1_test): Likewise.
32628 (yn_test): Likewise.
32630 2012-03-27 Anton Blanchard <anton@samba.org>
32632 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32634 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32635 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32636 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32638 2012-03-27 David S. Miller <davem@davemloft.net>
32640 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32642 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32643 have-as-vis3 check.
32645 2012-03-27 Andreas Jaeger <aj@suse.de>
32647 * sysdeps/x86_64/elf/configure.in: Moved to ...
32648 * sysdeps/x86_64/configure.in: ... here.
32649 * sysdeps/x86_64/elf/start.S: Moved to ...
32650 * sysdeps/x86_64/start.S: ... here.
32651 * sysdeps/x86_64/elf/configure: Delete.
32653 * sysdeps/x86_64/configure.in: Merge contents from
32654 sysdeps/i386/configure.in (without i686 check).
32656 * sysdeps/i386/elf/Versions: Merge into ...
32657 * sysdeps/i386/Versions: ... this.
32658 * sysdeps/i386/elf/Versions: Delete file.
32659 * sysdeps/i386/elf/start.S: Moved to ...
32660 * sysdeps/i386/start.S: ...here.
32661 * sysdeps/i386/elf/configure.in: Merge into...
32662 * sysdeps/i386/configure.in: ...here.
32663 * sysdeps/i386/elf/configure.in: Delete file.
32664 * sysdeps/i386/elf/configure: Delete file.
32666 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32667 * debug/backtracesyms.c: ... here.
32668 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32669 * debug/backtracesymsfd.c: ... here.
32670 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32671 * sysdeps/generic/ifunc-sel.h: ... here.
32673 * sysdeps/unix/i386/start.c: Delete file.
32674 * sysdeps/unix/sparc/start.c: Delete file.
32675 * sysdeps/unix/start.c: Delete file.
32677 * sysdeps/sh/elf/configure.in: Moved to ...
32678 * sysdeps/sh/configure.in: ... here.
32679 * sysdeps/sh/elf/start.S: Moved to ...
32680 * sysdeps/sh/start.S: ... here.
32681 * sysdeps/sh/elf/configure: Delete file.
32683 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32684 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32685 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32686 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32687 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32688 * sysdeps/powerpc/powerpc64/start.S: here.
32689 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32690 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32691 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32692 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32693 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32695 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32696 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32697 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32698 * sysdeps/powerpc/powerpc32/start.S: ... here.
32699 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32700 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32701 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32703 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32704 * sysdeps/powerpc/ifunc-sel.h: ... here.
32705 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32706 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32708 * sysdeps/sparc/elf/configure.in: Moved to ...
32709 * sysdeps/sparc/configure.in: ... here.
32710 * sysdeps/sparc/elf/configure: Delete file.
32711 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32712 * sysdeps/sparc/sparc32/start.S: ... here.
32713 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32714 * sysdeps/sparc/sparc64/start.S: ... here.
32715 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32716 * sysdeps/sparc/sparc32/Makefile: ... this.
32717 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32718 * sysdeps/sparc/sparc64/Makefile: ... this.
32720 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32721 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32722 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32723 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32724 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32725 * sysdeps/s390/s390-32/setjmp.S: ... here.
32726 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32727 * sysdeps/s390/s390-32/configure.in: ... here.
32728 * sysdeps/s390/s390-32/elf/configure: Delete file.
32729 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32730 * sysdeps/s390/s390-32/start.S: ... here.
32732 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32733 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32734 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32735 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32736 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32737 * sysdeps/s390/s390-64/setjmp.S: ... here.
32738 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32739 * sysdeps/s390/s390-64/configure.in: ... here
32740 * sysdeps/s390/s390-64/elf/configure: Delete file.
32741 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32742 * sysdeps/s390/s390-64/start.S: ... here.
32743 * sysdeps/s390/s390-64/elf/configure: Delete.
32745 * configure.in: Remove support for elf directories in sysdeps.
32747 * configure: Regenerated.
32748 * sysdeps/i386/configure: Regenerated.
32749 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32750 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32751 * sysdeps/s390/s390-32/configure: Regenerated.
32752 * sysdeps/s390/s390-64/configure: Regenerated.
32753 * sysdeps/sh/configure: Regenerated.
32754 * sysdeps/sparc/configure: Regenerated.
32755 * sysdeps/x86_64/configure: Regenerated.
32757 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32761 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32762 denormal result into account.
32764 2012-03-25 Roland McGrath <roland@hack.frob.com>
32766 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32767 Reported by Allan McRae <allan@archlinux.org>.
32769 2012-03-23 Jeff Law <law@redhat.com>
32771 * nss/getnssent.c (__nss_getent): Fix typo.
32773 2012-03-23 David S. Miller <davem@davemloft.net>
32775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32777 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32779 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32780 to pad to uint64_t for each field.
32781 (dl_tls_index): Replace unsigned long with uint64_t.
32783 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32784 Paul Pluzhnikov <ppluzhnikov@google.com>
32787 * grp/Makefile (otherlibs): Don't set it.
32788 * inet/Makefile (otherlibs): Likewise.
32789 * login/Makefile (otherlibs): Likewise.
32790 * nscd/Makefile (otherlibs): Likewise.
32791 * posix/Makefile (otherlibs): Likewise.
32792 * pwd/Makefile (otherlibs): Likewise.
32793 * rt/Makefile (otherlibs): Likewise.
32794 * sunrpc/Makefile (otherlibs): Likewise.
32795 * nss/Makefile (otherlibs): Likewise.
32796 Add libnss_files to routines and static-only-routines.
32797 ($(objpfx)getent): Remove rule.
32798 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32799 static-only-routines.
32801 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32804 * math/s_cexp.c: Include <float.h>.
32805 (__cexp): Handle exp result overflowing not necessarily
32806 overflowing both real and imaginary parts of result.
32807 * math/s_cexpf.c: Likewise.
32808 * math/s_cexpl.c: Likewise.
32809 * math/libm-test.inc (cexp_test): Add more tests.
32810 * sysdeps/i386/fpu/libm-test-ulps: Update.
32811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32813 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32815 * include/link.h (ELFW): New macro.
32816 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32817 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32819 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32821 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32824 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32826 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32828 (struct La_x32_retval): Likewise.
32830 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32832 * sysdeps/x86_64/preconfigure.in: New file.
32833 * sysdeps/x86_64/preconfigure: New generated file.
32835 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32838 * math/e_exp2l.c: Include <float.h>.
32839 (__ieee754_exp2l): Handle overflow and underflow cases
32840 separately. Only pass fractional part of argument to
32842 * math/libm-test.inc (exp2_test): Add more tests.
32844 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32845 negating x to take absolute value.
32846 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32848 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32849 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32851 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32852 computing low part if x was negated.
32853 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32855 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32857 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32858 la_x32_gnu_pltexit.
32859 (pltexit): Cast int_retval to ptrdiff_t.
32860 * elf/tst-auditmod3b.c: Likewise.
32861 * elf/tst-auditmod4b.c: Likewise.
32862 * elf/tst-auditmod5b.c: Likewise.
32863 * elf/tst-auditmod6b.c: Likewise.
32864 * elf/tst-auditmod6c.c: Likewise.
32865 * elf/tst-auditmod7b.c: Likewise.
32867 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32868 and x32_gnu_pltexit.
32870 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32871 __ELF_NATIVE_CLASS.
32872 (La_x32_regs): New macro.
32873 (La_x32_retval): Likewise.
32874 (la_x32_gnu_pltenter): New function prototype.
32875 (la_x32_gnu_pltexit): Likewise.
32877 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32879 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32884 * configure.in (libc_cv_cc_nofma): Check for option to disable
32885 generation of FMA instructions.
32886 * configure: Regenerate.
32887 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32888 * sysdeps/ieee754/dbl-64/Makefile: New file.
32889 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32890 Remove brandred-fma4.
32891 (CFLAGS-brandred-fma4.c): Remove.
32892 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32893 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32895 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32898 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32900 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32901 LLONG_MAX != LONG_MAX.
32902 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32903 (_fitoa_word): Likewise.
32904 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32905 LLONG_MAX != LONG_MAX.
32906 * stdio-common/_itowa.h: Include <_itoa.h>.
32907 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32908 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32909 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32910 only if not defined.
32911 (_ITOA_WORD_TYPE): Likewise.
32912 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32913 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32915 2012-03-21 David S. Miller <davem@davemloft.net>
32917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32919 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32921 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32922 of x86_64 when setting libc_cv_slibdir, libdir and
32924 * sysdeps/unix/sysv/linux/configure: Regenerated.
32926 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32928 * manual/lang.texi (Old Varargs): Remove section.
32929 (How Variadic): Update menu.
32930 (va_start): Do not mention varargs.h.
32932 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32933 Joseph Myers <joseph@codesourcery.com>
32935 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32937 * configure: Regenerated.
32939 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32941 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32942 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32945 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32948 * Makefile (files-for-dist): Remove NOTES.
32949 (NOTES): Remove rule.
32950 * README: Don't refer to NOTES.
32951 * manual/creature.texi: Don't include macros.texi.
32952 * manual/intro.texi (creature.texi): Remove comment referring to
32955 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32956 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32957 * configure: Regenerated.
32958 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32959 LIBC_TRY_CC_OPTION.
32960 (libc_cv_as_i686): Likewise.
32961 (libc_cv_cc_avx): Likewise.
32962 (libc_cv_cc_sse2avx): Likewise.
32963 (libc_cv_cc_fma4): Likewise.
32964 (libc_cv_cc_novzeroupper): Likewise.
32965 * sysdeps/i386/configure: Regenerated.
32968 * sysdeps/i386/fpu/s_cexp.S: Remove.
32969 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32970 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32971 * math/libm-test.inc (cexp_test): Add more tests.
32972 * sysdeps/i386/fpu/libm-test-ulps: Update.
32973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32975 2012-03-21 Allan McRae <allan@archlinux.org>
32977 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32979 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32982 * math/w_exp2.c: Do not include <float.h>.
32983 (o_threshold, u_threshold): Remove.
32984 (__exp2): Calculate result before checking finiteness and calling
32986 * math/w_exp2f.c: Likewise.
32987 * math/w_exp2l.c: Likewise.
32988 * math/libm-test.inc (exp2_test): Require overflow exception for
32992 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32993 range of signed 64-bit integers before using fistpll. Remove
32994 checks for whether integers fit in mantissa bits.
32995 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32996 the range of signed 32-bit integers before using fistpl. Remove
32997 checks for whether integers fit in mantissa bits.
32998 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32999 (__ieee754_powl): Test for y outside the range of signed 64-bit
33000 integers before using fistpll. Reduce 64-bit values to 63-bit
33002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33003 divide-by-zero is raised for zero to large negative powers.
33004 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33005 (__ieee754_powl): Test for y outside the range of signed 64-bit
33006 integers before using fistpll. Reduce 64-bit values to 63-bit
33008 * math/libm-test.inc (pow_test): Add more tests.
33010 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33012 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33013 <stdio-common/_itoa.h>.
33014 * debug/segfault.c: Likewise.
33015 * elf/dl-cache.c: Likewise.
33016 * elf/dl-minimal.c: Likewise.
33017 * elf/dl-misc.c: Likewise.
33018 * elf/dl-sysdep.c: Likewise.
33019 * elf/dl-version.c: Likewise.
33020 * elf/rtld.c: Likewise.
33021 * hurd/hurdsock.c: Likewise.
33022 * hurd/lookup-retry.c: Likewise.
33023 * malloc/malloc.c: Likewise.
33024 * malloc/mtrace.c: Likewise.
33025 * nscd/nscd_getgr_r.c: Likewise.
33026 * nscd/nscd_getpw_r.c: Likewise.
33027 * nscd/nscd_getserv_r.c: Likewise.
33028 * posix/getopt_init.c: Likewise.
33029 * posix/wordexp.c: Likewise.
33030 * stdio-common/_itoa.c: Likewise.
33031 * stdio-common/printf_fphex.c: Likewise.
33032 * stdio-common/vfprintf.c: Likewise.
33033 * string/_strerror.c: Likewise.
33034 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33035 * sysdeps/i386/i686/hp-timing.h: Likewise.
33036 * sysdeps/mach/_strerror.c: Likewise.
33037 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33038 * sysdeps/mach/hurd/sethostid.c: Likewise.
33039 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33040 * sysdeps/mach/xpg-strerror.c: Likewise.
33041 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33042 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33043 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33044 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33045 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33046 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33047 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33048 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33049 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33050 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33051 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33052 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33053 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33054 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33055 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33056 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33057 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33058 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33059 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33060 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33061 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33063 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33065 * stdio-common/_itoa.h: Moved to ...
33066 * sysdeps/generic/_itoa.h: Here.
33068 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33070 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33071 instead of "_itoa.h" and "_itowa.h".
33072 * stdio-common/vfprintf.: Likewise.
33074 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33076 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33078 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33079 (__signbit): Likwise.
33080 (llrintf): Likwise.
33083 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33085 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33088 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33090 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33091 OVERFLOW_EXCEPTION_OK.
33092 * math/libm-test.inc ("Philosophy"): Update comment about
33094 (OVERFLOW_EXCEPTION): Define.
33095 (OVERFLOW_EXCEPTION_OK): Likewise.
33096 (INVALID_EXCEPTION_OK): Renumber.
33097 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33098 (IGNORE_ZERO_INF_SIGN): Likewise.
33099 (test_exceptions): Handle FE_OVERFLOW.
33100 (exp10_test): Expect overflow exceptions.
33101 (exp2_test): Likewise.
33102 (expm1_test): Likewise.
33103 (nextafter_test): Likewise.
33104 (pow_test): Likewise.
33105 (scalbn_test): Likewise.
33106 (scalbln_test): Likewise.
33108 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33110 * sysdeps/x86_64/bits/atomic.h
33111 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33113 (atomic_exchange_acq): Likewise.
33114 (__arch_exchange_and_add_body): Likewise.
33115 (__arch_add_body): Likewise.
33116 (atomic_add_negative): Likewise.
33117 (atomic_add_zero): Likewise.
33119 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33121 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33122 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33124 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33126 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33127 Check __x86_64__ instead of __WORDSIZE.
33129 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33131 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33133 2012-03-19 David S. Miller <davem@davemloft.net>
33135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33137 * sysdeps/sparc/fpu/fenv_private.h: New file.
33138 * sysdeps/sparc/fpu/math_private.h: Use it.
33139 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33141 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33142 (libc_feholdexcept_setroundl): Remove.
33143 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33145 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33146 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33148 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33150 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33151 int64_t instead of long int.
33152 (INSERT_WORDS64): Likwise.
33154 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33156 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33157 _Unwind_GetCFA return to _Unwind_Ptr first.
33159 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33162 * math/s_clog.c: Include <float.h>.
33163 (__clog): Scale large or subnormal inputs.
33164 * math/s_clogf.c: Likewise.
33165 * math/s_clogl.c: Likewise.
33166 * math/s_clog10.c: Include <float.h>.
33167 (M_LOG10_2): Define.
33168 (__clog10): Scale large or subnormal inputs.
33169 * math/s_clog10f.c: Likewise.
33170 * math/s_clog10l.c: Likewise.
33171 * math/libm-test.inc (clog_test): Add more tests.
33172 (clog10_test): Likewise.
33173 * sysdeps/i386/fpu/libm-test-ulps: Update.
33174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33177 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33179 * math/libm-test.inc (atan2_test): Add another test.
33181 * Makerules (common-objdir-compile): Remove.
33182 * sysdeps/unix/Makefile (config-generated): Do not add
33183 $(unix-generated) to variable.
33184 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33185 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33187 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33189 [generic bits/local_lim.h] (before-compile): Do not append to
33191 [generic bits/local_lim.h] (common-generated): Likewise.
33192 [generic sys/param.h] (before-compile): Do not append to variable.
33193 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33194 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33195 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33196 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33198 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33199 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33200 [generic sys/param.h] ($(addprefix
33201 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33202 [generic sys/param.h] (common-generated): Do not append to
33204 [generic sys/param.h] (sysdep_headers): Likewise.
33205 [generic bits/errno.h] (before-compile): Do not append to
33207 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33209 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33210 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33211 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33212 [generic bits/errno.h] (common-generated): Do not append to
33214 [generic bits/ioctls.h] (before-compile): Do not append to
33216 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33218 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33219 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33220 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33222 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33223 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33224 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33225 [generic bits/ioctls.h] (common-generated): Do not append to
33227 [generic sys/syscall.h] (syscall.h): Remove variable.
33228 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33230 [generic sys/syscall.h] (before-compile): Do not append to
33232 [generic sys/syscall.h] (common-generated): Likewise.
33233 * sysdeps/unix/errnos-tmpl.c: Remove file.
33234 * sysdeps/unix/errnos.awk: Likewise.
33235 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33236 * sysdeps/unix/ioctls.awk: Likewise.
33237 * sysdeps/unix/mk-local_lim.c: Likewise.
33238 * sysdeps/unix/snarf-ioctls: Likewise.
33240 2012-03-19 Richard Henderson <rth@twiddle.net>
33242 * sysdeps/i386/fpu/fenv_private.h: New file.
33243 * sysdeps/i386/fpu/math_private.h: Use it.
33244 (math_opt_barrier, math_force_eval): Remove.
33245 (libc_feholdexcept_setround_53bit): Remove.
33246 (libc_feupdateenv_53bit): Remove.
33247 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33248 (math_opt_barrier, math_force_eval): Remove.
33249 (libc_feholdexcept): Remove.
33250 (libc_feholdexcept_setround): Remove.
33251 (libc_fetestexcept, libc_fesetenv): Remove.
33252 (libc_feupdateenv_test): Remove.
33253 (libc_feupdateenv, libc_feholdsetround): Remove.
33254 (libc_feresetround): Remove.
33256 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33257 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33259 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33260 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33261 (libc_feupdateenv_testl): New.
33262 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33263 (libc_feupdateenv_testf): New.
33264 (libc_feupdateenv): Use libc_feupdateenv_test.
33265 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33266 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33268 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33269 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33270 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33271 (libc_feresetround_noex): New.
33272 (libc_feresetround_noexf): New.
33273 (libc_feresetround_noexl): New.
33274 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33275 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33276 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33277 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33279 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33280 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33282 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33283 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33284 SET_RESTORE_ROUND_NOEX.
33285 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33286 SET_RESTORE_ROUND_NOEXF.
33287 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33288 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33289 (libc_feholdsetroundf): New.
33290 (libc_feresetround, libc_feresetroundf): New.
33292 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33293 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33294 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33296 * sysdeps/generic/math_private.h: Include <fenv.h>.
33297 (default_libc_feholdexcept): New.
33298 (default_libc_feholdexcept_setround): New.
33299 (default_libc_fesetenv, default_libc_feupdateenv): New.
33300 (libc_feholdexcept): Only define if undefined.
33301 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33302 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33303 (libc_feholdexcept_setroundl): Likewise.
33304 (libc_feholdexcept_setround_53bit): Likewise.
33305 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33306 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33307 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33308 (libc_feupdateenv_53bit): Likewise.
33309 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33310 (libc_feholdexcept): Convert from macro to inline function.
33311 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33312 (libc_fesetenv, libc_feupdateenv): Likewise.
33314 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33315 not previously defined.
33316 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33317 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33318 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33319 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33320 * sysdeps/ieee754/flt-32/math_private.h: New file.
33321 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33322 math_private.h below SET_FLOAT_WORD.
33323 (__isnan, __isinf_ns, __finite): Remove.
33324 (__isnanf, __isinf_nsf, __finitef): Remove.
33326 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33330 2012-03-17 David S. Miller <davem@davemloft.net>
33333 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33336 2012-03-16 David S. Miller <davem@davemloft.net>
33338 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33342 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33344 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33345 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33346 sysdep_routines when subdir is sysvipc.
33347 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33348 __getshmlba helper.
33350 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33352 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33354 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33357 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33359 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33360 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33361 (__lround): Renamed to ...
33362 (__llround): This. Replace long int with long long int.
33363 Define lround functions as aliases of llround functions.
33364 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33366 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33368 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33369 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33370 adresses to uintptr_t. Replace "long int" and "unsigned long
33371 int" with "greg_t" on va_arg.
33373 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33375 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33376 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33378 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33379 Move e_machine check before EI_CLASS check. Handle x32
33380 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33381 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33382 SKIP_EM_IA_64 and include
33383 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33385 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33386 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33387 (add_system_dir): New macro.
33389 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33390 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33392 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33403 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33405 * math/w_j0f.c (j0f): Likewise.
33407 * math/w_j0l.c (__j0l): Likewise.
33409 * math/w_j1.c (j1): Likewise.
33411 * math/w_j1f.c (j1f): Likewise.
33413 * math/w_j1l.c (__j1l): Likewise.
33415 * math/w_jn.c (jn): Likewise.
33417 * math/w_jnf.c (jnf): Likewise.
33419 * math/w_jnl.c (__jnl): Likewise.
33421 * math/libm-test.inc (j0_test): Add more tests.
33422 (j1_test): Likewise.
33423 (jn_test): Likewise. Add trailing semicolon to existing test.
33424 (y0_test): Likewise.
33425 (y1_test): Likewise.
33426 * sysdeps/i386/fpu/libm-test-ulps: Update.
33427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33431 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33432 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33433 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33434 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33435 (__tanl): Set errno for infinite argument.
33436 * sysdeps/i386/fpu/mptan.c: Remove.
33437 * sysdeps/i386/fpu/s_tan.S: Likewise.
33438 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33439 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33440 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33441 * math/libm-test.inc (tan_test): Add more tests and enable more
33442 tests for double and long double.
33443 * sysdeps/i386/fpu/libm-test-ulps: Update.
33444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33446 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33448 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33449 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33451 2012-03-16 Roland McGrath <roland@hack.frob.com>
33453 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33454 * configure.in: Use it for both main tree and add-ons.
33455 * configure: Regenerated.
33457 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33459 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33461 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33463 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33467 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33468 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33469 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33470 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33471 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33473 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33474 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33475 != 0 for prec == 2.
33476 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33477 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33478 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33479 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33480 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33481 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33482 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33483 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33484 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33485 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33486 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33487 * math/libm-test.inc (cos_test): Add more tests and enable more
33488 tests for long double.
33489 (sin_test): Likewise.
33490 (sincos_test): Likewise.
33491 * sysdeps/i386/fpu/libm-test-ulps: Update.
33492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33494 2012-03-16 David S. Miller <davem@davemloft.net>
33496 * sysdeps/sparc/fpu/math_private.h: New file.
33498 2012-03-15 David S. Miller <davem@davemloft.net>
33500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33510 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33514 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33515 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33517 * sysdeps/sparc/sparc-ifunc.h: New file.
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33544 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33545 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33556 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33557 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33558 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33559 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33560 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33561 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33563 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33565 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33569 2012-03-15 Andreas Jaeger <aj@suse.de>
33572 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33573 ieee754/flt-32 implementation for sin, cos and sincos.
33574 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33575 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33576 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33577 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33578 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33579 ieee754/flt-32 implementation for tan.
33581 * math/libm-test.inc (cos_test): Enable some large input tests for
33583 (sin_test): Likewise.
33584 (sincos_test): Likewise.
33585 (tan_test): Add tests for large input.
33587 * sysdeps/i386/fpu/libm-test-ulps: Update.
33589 2012-03-15 Andreas Jaeger <aj@suse.de>
33592 * math/libm-test.inc (cos_test): Add more test cases.
33593 (sin_test): Likewise.
33594 (sincos_test): Likewise.
33596 2012-03-15 Andreas Jaeger <aj@suse.de>
33599 * math/libm-test.inc (cos_test): Add a test case for large input
33601 (sin_test): Likewise.
33602 (sincos_test): Likewise.
33604 2012-03-15 Andreas Jaeger <aj@suse.de>
33605 Joseph Myers <joseph@codesourcery.com>
33608 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33609 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33610 * sysdeps/i386/fpu/branred.c: Likewise.
33611 * sysdeps/i386/fpu/dosincos.c: Likewise.
33612 * sysdeps/i386/fpu/mpa.c: Likewise.
33613 * sysdeps/i386/fpu/s_cos.S: Likewise.
33614 * sysdeps/i386/fpu/s_sin.S: Likewise.
33615 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33616 * sysdeps/i386/fpu/sincos32.c: Likewise.
33618 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33620 (libc_feupdateenv_53bit): Define.
33621 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33623 (libc_feupdateenv_53bit): Define.
33625 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33626 53 bit (without extend i386 double precision).
33628 * math/libm-test.inc (sincos_test): Add tests for large input.
33632 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33634 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33638 2012-03-15 David S. Miller <davem@davemloft.net>
33640 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33641 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33642 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33643 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33667 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33668 fmin/fmax sysdep routines.
33669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33671 2012-03-14 David S. Miller <davem@davemloft.net>
33673 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33674 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33677 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33678 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33680 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33693 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33694 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33695 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33696 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33697 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33698 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33699 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33700 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33701 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33745 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33750 * sysdeps/sparc/configure.in: New file.
33751 * sysdeps/sparc/configure: Generate.
33752 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33753 * configure: Regenerate.
33754 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33755 * config.make.in (have-as-vis3): New.
33756 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33757 available use -Av9d instead of -Av9a.
33758 * sysdeps/sparc/sparc64/Makefile: Likewise.
33759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33769 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33770 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33771 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33772 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33774 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33775 fzeros/fnegs to load 0x80000000 into a float register instead of
33777 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33779 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33783 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33784 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33785 ($(inst_includedir)/bits/syscall.h): Remove rule.
33786 ($(objpfx)bits/syscall.d): Include instead of
33787 $(objpfx)syscall-list.d.
33788 (generated): Change syscall-list.h and syscall-list.d to
33789 bits/syscall.h and bits/syscall.d.
33791 2012-03-14 Roland McGrath <roland@hack.frob.com>
33794 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33796 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33799 * math/s_csqrt.c: Include <float.h>.
33800 (__csqrt): Scale large or subnormal inputs.
33801 * math/s_csqrtf.c: Likewise.
33802 * math/s_csqrtl.c: Likewise.
33803 * math/libm-test.inc (csqrt_test): Add more tests.
33804 * sysdeps/i386/fpu/libm-test-ulps: Update.
33805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33808 * math/libm-test.inc (hypot_test): Add more tests.
33810 2012-03-13 David S. Miller <davem@davemloft.net>
33813 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33814 double-precision for the calculation instead of scaling.
33816 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33818 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33819 manipulate bits before adding and subtracting TWO52[sx].
33820 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33821 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33823 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33825 2012-03-13 David S. Miller <davem@davemloft.net>
33827 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33828 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33830 rtld-global-offsets.h
33831 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33833 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33836 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33838 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33839 'err' in the ifdef scope in which it is actually used.
33841 * nss/nss_db/db-init.c: Include string.h
33843 2012-03-12 David S. Miller <davem@davemloft.net>
33845 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33846 masking out of the most significant byte of random value used.
33847 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33848 Fix coding style in previous change.
33850 * sysdeps/unix/sysv/linux/kernel-features.h
33851 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33852 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33854 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33857 2012-03-11 David S. Miller <davem@davemloft.net>
33859 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33860 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33861 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33862 for 'resultvar' otherwise things get truncated on 64-bit.
33864 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33865 Fix masking out of the most significant byte of random value used.
33867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33869 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33873 2012-03-09 David S. Miller <davem@davemloft.net>
33875 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33876 variables with appropriate CPP guards.
33877 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33878 from the frame pointer, not the stack pointer. Correct layout
33879 comments. Fix test on resulting framesize and the management of
33880 the outregs buffer for pltexit. Preserve floating point return
33881 values across _dl_call_pltexit call.
33882 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33883 framesize and the management of the outregs buffer for pltexit.
33884 Preserve floating point return values across _dl_call_pltexit
33886 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33887 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33888 (la_sparc64_gnu_pltexit): New functions.
33889 (print_exit): Fix format string for return register value.
33891 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33893 * sunrpc/Makefile (others): Add rpcgen.
33894 ($(objpfx)rpcgen): Remove special build rule and dependency on
33896 * sunrpc/rpcgen.c: New file.
33898 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33901 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33902 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33903 * sysdeps/i386/crti.S: Likewise.
33904 * sysdeps/i386/crtn.S: Likewise.
33905 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33906 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33907 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33908 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33909 * sysdeps/sh/crti.S: Likewise.
33910 * sysdeps/sh/crtn.S: Likewise.
33911 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33914 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33916 * locale/programs/locfile-kw.gperf: Likewise.
33917 * locale/programs/charmap-kw.h: Regenerated.
33918 * locale/programs/locfile-kw.h: Likewise.
33921 * intl/plural.y: Replace FSF snail mail address with URL.
33922 * intl/plural.c: Regenerated.
33924 2012-03-09 Richard Henderson <rth@twiddle.net>
33926 * include/math_private.h: Remove file.
33927 * math/math_private.h: Move file ...
33928 * sysdeps/generic/math_private.h: ... here.
33930 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33931 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33932 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33934 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33935 and <math_private.h>.
33936 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33937 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33938 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33939 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33940 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33941 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33942 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33943 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33944 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33945 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33946 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33947 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33948 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33949 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33950 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33951 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33952 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33953 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33954 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33955 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33956 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33957 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33958 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33959 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33960 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33961 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33962 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33963 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33964 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33966 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33968 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33969 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33970 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33971 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33972 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33973 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33974 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33975 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33976 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33977 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33978 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33979 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33980 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33981 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33982 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33983 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33984 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33985 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33986 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33987 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33988 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33989 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33990 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33991 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33992 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33993 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33994 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33995 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33996 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33997 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33998 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33999 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34000 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34001 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34002 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34003 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34004 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34005 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34006 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34007 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34008 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34009 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34010 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34013 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34014 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34015 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34016 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34017 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34018 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34019 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34020 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34021 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34022 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34023 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34024 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34025 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34026 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34027 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34028 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34029 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34030 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34031 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34032 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34033 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34034 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34035 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34036 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34037 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34038 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34039 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34040 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34041 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34042 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34043 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34044 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34045 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34046 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34047 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34048 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34049 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34050 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34051 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34052 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34053 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34054 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34055 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34056 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34057 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34058 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34059 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34060 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34061 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34062 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34063 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34064 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34065 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34066 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34067 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34068 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34069 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34070 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34071 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34072 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34073 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34074 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34075 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34076 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34077 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34078 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34079 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34080 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34081 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34082 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34083 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34084 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34085 * sysdeps/ieee754/k_standard.c: Likewise.
34086 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34087 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34088 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34089 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34090 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34091 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34092 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34093 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34094 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34095 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34096 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34097 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34098 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34099 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34100 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34101 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34102 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34103 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34104 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34105 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34106 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34107 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34108 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34109 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34110 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34111 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34112 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34113 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34114 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34115 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34116 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34117 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34118 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34119 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34120 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34121 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34122 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34123 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34124 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34125 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34126 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34127 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34128 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34129 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34130 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34131 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34132 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34133 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34134 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34135 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34136 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34137 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34138 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34139 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34140 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34141 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34142 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34143 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34144 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34145 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34146 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34147 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34148 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34149 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34150 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34151 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34152 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34153 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34154 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34155 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34156 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34158 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34159 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34160 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34161 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34162 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34163 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34164 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34165 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34166 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34167 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34168 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34169 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34170 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34171 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34172 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34173 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34174 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34175 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34176 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34177 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34178 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34179 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34180 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34181 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34182 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34183 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34184 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34185 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34186 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34187 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34188 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34189 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34190 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34191 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34192 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34193 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34194 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34195 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34196 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34197 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34198 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34199 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34200 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34201 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34202 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34203 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34204 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34205 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34206 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34207 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34208 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34209 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34210 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34211 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34212 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34213 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34214 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34215 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34216 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34217 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34218 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34219 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34220 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34221 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34222 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34223 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34224 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34225 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34226 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34227 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34228 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34229 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34230 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34231 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34232 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34233 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34234 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34235 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34236 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34237 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34238 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34239 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34240 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34241 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34242 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34243 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34244 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34245 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34246 * sysdeps/ieee754/s_lib_version.c: Likewise.
34247 * sysdeps/ieee754/s_matherr.c: Likewise.
34248 * sysdeps/ieee754/s_signgam.c: Likewise.
34249 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34250 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34251 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34252 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34253 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34254 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34255 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34256 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34257 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34258 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34259 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34260 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34261 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34262 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34263 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34264 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34265 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34266 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34267 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34268 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34269 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34271 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34273 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34274 * sunrpc/rpc_main.c: Likewise.
34275 * sunrpc/rpc_svcout.c: Likewise.
34277 2012-03-09 David S. Miller <davem@davemloft.net>
34279 * include/math_private.h: New file.
34281 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34283 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34284 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34285 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34286 from <bits/socket_type.h>.
34287 (enum __socket_type): Don't define here.
34288 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34290 bits/socket_type.h.
34293 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34294 checking __USE_GNU.
34296 * Makerules ($(inst_includedir)/%.h): New rule.
34297 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34298 (install-others): Remove variable setting.
34299 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34301 2012-03-08 Richard Henderson <rth@twiddle.net>
34303 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34304 from macro to inline function; merge with the
34305 !__LIBC_INTERNAL_MATH_INLINES version.
34306 (__ieee754_sqrtf): Likewise.
34308 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34309 to inline function.
34310 (__rintf, __floor, __floorf): Likewise.
34312 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34313 macro to inline function.
34314 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34316 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34317 not <math/math_private.h>.
34319 2012-03-08 David S. Miller <davem@davemloft.net>
34321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34323 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34325 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34327 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34329 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34330 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34332 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34334 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34335 be defined individually, they must be defined as a block. Define
34336 S for printing a string instead of hidint the different by using a
34337 macro for adding the 'l'.
34338 * stdio-common/tst-fphex-wide.c: Adjust.
34340 2012-03-07 Marek Polacek <polacek@redhat.com>
34342 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34344 2012-03-08 Marek Polacek <polacek@redhat.com>
34347 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34348 * stdio-common/tst-fphex.c: Define a few macros to make the
34349 test reusable. Use them.
34350 * stdio-common/tst-fphex-wide.c: New file.
34352 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34355 * manual/macros.texi (gnusystems): New macro.
34356 (nongnusystems): Likewise.
34357 (gnulinuxhurdsystems): Likewise.
34358 (gnuhurdsystems): Likewise..
34359 (gnulinuxsystems): Likewise.
34360 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34361 variants of the GNU system, not "GNU system".
34362 * manual/conf.texi: Likewise.
34363 * manual/errno.texi: Likewise. Update example of errno macro
34365 * manual/filesys.texi: Likewise.
34366 (getumask): Document as specific to GNU/Hurd.
34367 * manual/install.texi: Likewise. Reword some references to
34369 * manual/intro.texi: Likewise.
34370 * manual/io.texi: Likewise.
34371 (File Name Portability): Detail which constraints are inapplicable
34372 to all GNU systems and which are only inapplicable to GNU/Hurd.
34373 * manual/job.texi: Likewise.
34374 * manual/llio.texi: Likewise.
34375 (O_NOCTTY): Document as present on GNU/Linux.
34376 * manual/maint.texi: Likewise.
34377 * manual/memory.texi: Likewise.
34378 * manual/pattern.texi: Likewise.
34379 * manual/pipe.texi: Likewise.
34380 * manual/process.texi: Likewise.
34381 * manual/resource.texi: Likewise.
34382 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34384 * manual/setjmp.texi: Likewise.
34385 * manual/signal.texi: Likewise.
34386 * manual/startup.texi: Likewise.
34387 * manual/stdio.texi: Likewise.
34388 * manual/terminal.texi: Likewise.
34389 (ONLCR): Document as POSIX.
34390 (OXTABS): Document availability on GNU/Linux as XTABS.
34391 (ONOEOT): Document availability separately from other bits.
34392 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34393 * manual/time.texi: Likewise.
34394 * manual/users.texi: Likewise.
34395 * INSTALL: Regenerated.
34396 * sysdeps/gnu/errlist.c: Regenerated.
34398 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34399 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34400 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34402 * configure: Regenerated.
34404 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34406 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34407 default includes instead of AC_HEADER_CHECK.
34408 * sysdeps/i386/configure: Regenerated.
34411 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34412 * math/s_cacoshf.c (__cacoshf): Likewise.
34413 * math/s_cacoshl.c (__cacoshl): Likewise.
34414 * math/s_casinh.c (__casinh): Set signs of result from argument.
34415 * math/s_casinhf.c (__casinhf): Likewise.
34416 * math/s_casinhl.c (__casinhl): Likewise.
34417 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34418 (casinh_test): Add more tests.
34419 * sysdeps/i386/fpu/libm-test-ulps: Update.
34420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34422 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34424 * po/zh_TW.po: Update from translation team.
34426 * login/Makefile (distribute): Remove variable.
34427 * catgets/Makefile: Likewise.
34428 * mach/Makefile: Likewise.
34429 * malloc/Makefile: Likewise.
34430 * misc/Makefile: Likewise.
34431 * iconv/Makefile: Likewise.
34432 * nscd/Makefile: Likewise.
34433 * hurd/Makefile: Likewise.
34434 * manual/Makefile: Likewise.
34435 * locale/Makefile: Likewise.
34436 * intl/Makefile: Likewise.
34437 * conform/Makefile: Likewise.
34438 * nss/Makefile: Likewise.
34439 * time/Makefile: Likewise.
34440 * soft-fp/Makefile: Likewise.
34441 * dirent/Makefile: Likewise.
34442 * gmon/Makefile: Likewise.
34443 * po/Makefile: Likewise.
34444 * rt/Makefile: Likewise.
34445 * socket/Makefile: Likewise.
34446 * math/Makefile: Likewise.
34447 * signal/Makefile: Likewise.
34448 * debug/Makefile: Likewise.
34449 * elf/Makefile: Likewise.
34450 * timezone/Makefile: Likewise.
34451 * stdlib/Makefile: Likewise.
34452 * iconvdata/Makefile: Likewise.
34453 * sunrpc/Makefile: Likewise.
34454 * io/Makefile: Likewise.
34455 * argp/Makefile: Likewise.
34456 * inet/Makefile: Likewise.
34457 * hesiod/Makefile: Likewise.
34458 * grp/Makefile: Likewise.
34459 * csu/Makefile: Likewise.
34460 * wctype/Makefile: Likewise.
34461 * crypt/Makefile: Likewise.
34462 * libio/Makefile: Likewise.
34463 * string/Makefile: Likewise.
34464 * nis/Makefile: Likewise.
34465 * resolv/Makefile: Likewise.
34466 * stdio-common/Makefile: Likewise.
34467 * wcsmbs/Makefile: Likewise.
34468 * dlfcn/Makefile: Likewise.
34469 * posix/Makefile: Likewise.
34472 * timezone/Makefile: Don't install timezone files, just the programs
34475 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34477 * nss/databases.def: Add missing gshadow entry.
34479 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34481 2012-03-06 Marek Polacek <polacek@redhat.com>
34484 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34485 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34486 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34487 * stdio-common/tst-long-dbl-fphex.c: New file.
34489 2012-03-06 David S. Miller <davem@davemloft.net>
34491 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34492 (set_obp_int): New function.
34493 (get_obp_int): New function.
34494 (__get_clockfreq_via_dev_openprom): Likewise.
34495 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34496 Avoid unused variable warnings on 'val' and use builtin_expect.
34497 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34499 (INLINE_CLONE_SYSCALL): Likewise.
34501 2012-03-05 David S. Miller <davem@davemloft.net>
34503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34505 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34509 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34510 only for |x| >= 40.
34511 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34513 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34515 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34516 Replace gettimeofday with __vdso_gettimeofday.
34518 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34519 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34520 __vdso_clock_gettime and __vdso_getcpu.
34522 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34523 time with __vdso_time.
34525 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34527 * manual/lang.texi (size_t): Note types to which size_t may be
34528 equivalent with the GNU C Library, but do not describe when
34529 differences between them are significant.
34531 2012-03-05 Andreas Jaeger <aj@suse.de>
34533 * sysdeps/i386/fpu/libm-test-ulps: Update.
34535 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34538 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34539 (__ieee754_pow): Save and restore rounding mode and use
34540 round-to-nearest for main computations.
34541 * math/libm-test.inc (pow_test_tonearest): New function.
34542 (pow_test_towardzero): Likewise.
34543 (pow_test_downward): Likewise.
34544 (pow_test_upward): Likewise.
34545 (main): Call the new functions.
34546 * sysdeps/i386/fpu/libm-test-ulps: Update.
34547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34550 * math/libm-test.inc (cosh_test_tonearest): New function.
34551 (cosh_test_towardzero): Likewise.
34552 (cosh_test_downward): Likewise.
34553 (cosh_test_upward): Likewise.
34554 (sinh_test_tonearest): Likewise.
34555 (sinh_test_towardzero): Likewise.
34556 (sinh_test_downward): Likewise.
34557 (sinh_test_upward): Likewise.
34558 (main): Call the new functions.
34559 * sysdeps/i386/fpu/libm-test-ulps: Update.
34560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34562 2012-03-05 Tom de Vries <tom@codesourcery.com>
34564 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34565 default stack guard is set in last bytes.
34566 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34568 2012-03-05 Kees Cook <keescook@chromium.org>
34570 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34573 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34574 possibly allocate from heap instead of stack.
34575 * stdio-common/bug-vfprintf-nargs.c: New file.
34576 * stdio-common/Makefile (tests): Add nargs overflow test.
34578 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34582 2012-03-03 Marek Polacek <polacek@redhat.com>
34584 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34585 * math/math_private.h: Likewise.
34586 * stdlib/tst-strtod.c: Likewise.
34587 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34588 * sysdeps/x86_64/bits/atomic.h: Likewise.
34590 2012-03-02 David S. Miller <davem@davemloft.net>
34592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34596 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34597 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34598 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34599 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34601 2012-03-02 Roland McGrath <roland@hack.frob.com>
34604 * manual/examples/README: New file, says the example source files
34605 can be used under GPL>=2.
34606 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34607 line containing just "*/".
34608 * manual/examples/add.c: Add copyright header (GPL>=2).
34609 * manual/examples/argp-ex1.c: Likewise.
34610 * manual/examples/argp-ex2.c: Likewise.
34611 * manual/examples/argp-ex3.c: Likewise.
34612 * manual/examples/argp-ex4.c: Likewise.
34613 * manual/examples/atexit.c: Likewise.
34614 * manual/examples/db.c: Likewise.
34615 * manual/examples/dir.c: Likewise.
34616 * manual/examples/dir2.c: Likewise.
34617 * manual/examples/execinfo.c: Likewise.
34618 * manual/examples/filecli.c: Likewise.
34619 * manual/examples/filesrv.c: Likewise.
34620 * manual/examples/fmtmsgexpl.c: Likewise.
34621 * manual/examples/genpass.c: Likewise.
34622 * manual/examples/inetcli.c: Likewise.
34623 * manual/examples/inetsrv.c: Likewise.
34624 * manual/examples/isockad.c: Likewise.
34625 * manual/examples/longopt.c: Likewise.
34626 * manual/examples/memopen.c: Likewise.
34627 * manual/examples/memstrm.c: Likewise.
34628 * manual/examples/mkfsock.c: Likewise.
34629 * manual/examples/mkisock.c: Likewise.
34630 * manual/examples/mygetpass.c: Likewise.
34631 * manual/examples/pipe.c: Likewise.
34632 * manual/examples/popen.c: Likewise.
34633 * manual/examples/rprintf.c: Likewise.
34634 * manual/examples/search.c: Likewise.
34635 * manual/examples/select.c: Likewise.
34636 * manual/examples/setjmp.c: Likewise.
34637 * manual/examples/sigh1.c: Likewise.
34638 * manual/examples/sigusr.c: Likewise.
34639 * manual/examples/stpcpy.c: Likewise.
34640 * manual/examples/strdupa.c: Likewise.
34641 * manual/examples/strftim.c: Likewise.
34642 * manual/examples/strncat.c: Likewise.
34643 * manual/examples/subopt.c: Likewise.
34644 * manual/examples/swapcontext.c: Likewise.
34645 * manual/examples/termios.c: Likewise.
34646 * manual/examples/testopt.c: Likewise.
34647 * manual/examples/testpass.c: Likewise.
34648 * manual/examples/timeval_subtract.c: Likewise.
34651 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34653 * manual/timeval_subtract.c.texi: ... here, new file.
34655 2012-03-02 David S. Miller <davem@davemloft.net>
34657 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34659 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34662 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34663 (__sin): Save and restore rounding mode and use round-to-nearest
34664 for all computations.
34665 (__cos): Save and restore rounding mode and use round-to-nearest
34666 for all computations.
34667 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34669 (tan): Save and restore rounding mode and use round-to-nearest for
34671 * math/libm-test.inc (cos_test_tonearest): New function.
34672 (cos_test_towardzero): Likewise.
34673 (cos_test_downward): Likewise.
34674 (cos_test_upward): Likewise.
34675 (sin_test_tonearest): Likewise.
34676 (sin_test_towardzero): Likewise.
34677 (sin_test_downward): Likewise.
34678 (sin_test_upward): Likewise.
34679 (tan_test_tonearest): Likewise.
34680 (tan_test_towardzero): Likewise.
34681 (tan_test_downward): Likewise.
34682 (tan_test_upward): Likewise.
34683 (main): Call the new functions.
34684 * sysdeps/i386/fpu/libm-test-ulps: Update.
34685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34688 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34689 small n, then large n, before computing and testing k+n.
34690 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34691 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34693 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34695 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34696 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34697 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34698 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34699 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34700 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34701 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34702 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34703 * math/libm-test.inc (scalbn_test): Add more tests.
34704 (scalbln_test): Likewise.
34706 * manual/filesys.texi (mode_t): Describe constraints on size and
34707 signedness, not exact equivalence to a particular type.
34709 (ino64_t): Likewise.
34711 (nlink_t): Likewise.
34712 (blkcnt_t): Likewise.
34713 (blkcnt64_t): Likewise.
34714 * manual/llio.texi (off_t): Likewise.
34717 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34718 (__ieee754_exp): Save and restore rounding mode and use
34719 round-to-nearest for all computations.
34720 * math/libm-test.inc (exp_test_tonearest): New function.
34721 (exp_test_towardzero): Likewise.
34722 (exp_test_downward): Likewise.
34723 (exp_test_upward): Likewise.
34724 (main): Call the new functions.
34725 * sysdeps/i386/fpu/libm-test-ulps: Update.
34726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34728 2012-03-01 Chris Demetriou <cgd@google.com>
34730 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34731 have predictable order.
34733 2012-03-01 David S. Miller <davem@davemloft.net>
34735 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34737 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34738 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34739 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34740 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34742 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34743 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34744 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34746 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34747 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34748 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34749 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34750 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34754 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34755 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34756 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34758 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34759 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34760 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34761 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34762 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34763 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34764 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34765 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34766 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34767 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34768 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34769 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34771 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34772 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34773 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34774 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34775 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34776 * sysdeps/sparc/elf/configure: Regenerated.
34778 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34780 * configure.in (AS, LD): Require binutils 2.20 or later.
34781 * configure: Regenerated.
34782 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34783 as required minimum version.
34784 * INSTALL: Regenerated.
34788 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34789 before squaring exponent.
34790 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34791 bottom long double and 27 bits of top long double before squaring
34793 * math/libm-test.inc (erfc_test): Add more tests.
34794 * sysdeps/i386/fpu/libm-test-ulps: Update.
34795 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34798 2012-03-01 Kai Tietz <ktietz@redhat.com>
34800 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34801 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34802 containing bit-fields.
34803 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34804 * soft-fp/single.h (_FP_UNION_S): Likewise.
34805 * soft-fp/double.h (_FP_UNION_D): Likewise.
34807 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34810 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34811 not include ../strcmp.S.
34812 [USE_AS_STRNCASECMP_L]: Likewise.
34813 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34814 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34815 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34816 (__strncasecmp_l_ia32): Define as alias to
34817 __strncasecmp_l_nonascii.
34820 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34821 * sysdeps/i386/fpu/libm-test-ulps: Update.
34822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34824 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34827 2012-02-29 Jeff Law <law@redhat.com>
34829 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34830 out of bounds read.
34832 2012-02-29 Marek Polacek <polacek@redhat.com>
34835 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34836 * elf/Makefile: Add rules to run tst-unused-dep.out.
34838 2012-02-28 David S. Miller <davem@davemloft.net>
34840 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34841 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34842 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34843 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34844 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34845 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34847 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34849 * math/libm-test.inc (llround_test): Move one test from
34850 lround_test. Use TEST_f_L in moved test.
34851 (lround_test): Move misplaced test to llround_test. Add testcase
34854 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34856 * sysdeps/x86_64/fpu/e_expf.S: New file.
34857 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34859 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34862 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34863 of remain_len that may cause incomplete multi-byte character and
34865 * posix/bug-regex33.c: New file.
34866 * posix/Makefile (tests): Add bug-regex33.
34868 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34870 * manual/macros.texi: New file.
34871 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34872 * manual/libc.texinfo: Include macros.texi.
34873 * manual/creatute.texi: Likewise.
34874 * manual/install.texi: Likewise.
34875 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34876 @glibcadj{} in references to the GNU C Library.
34877 * manual/charset.texi: Likewise.
34878 * manual/conf.texi: Likewise.
34879 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34880 when not using those macros.
34881 * manual/creature.texi: Likewise.
34882 * manual/crypt.texi: Likewise.
34883 * manual/errno.texi: Likewise.
34884 * manual/filesys.texi: Likewise.
34885 * manual/header.texi: Likewise.
34886 * manual/install.texi: Likewise.
34887 * manual/intro.texi: Likewise.
34888 * manual/io.texi: Likewise.
34889 * manual/job.texi: Likewise.
34890 * manual/lang.texi: Likewise.
34891 * manual/libc.texiinfo: Likewise.
34892 * manual/llio.texi: Likewise.
34893 * manual/locale.texi: Likewise.
34894 * manual/maint.texi: Likewise.
34895 * manual/math.texi: Likewise.
34896 * manual/memory.texi: Likewise.
34897 * manual/message.texi: Likewise.
34898 * manual/nss.texi: Likewise.
34899 * manual/pattern.texi: Likewise.
34900 * manual/process.texi: Likewise.
34901 * manual/resource.texi: Likewise.
34902 * manual/search.texi: Likewise.
34903 * manual/setjmp.texi: Likewise.
34904 * manual/signal.texi: Likewise.
34905 * manual/socket.texi: Likewise.
34906 * manual/startup.texi: Likewise.
34907 * manual/stdio.texi: Likewise.
34908 * manual/string.texi: Likewise.
34909 * manual/sysinfo.texi: Likewise.
34910 * manual/syslog.texi: Likewise.
34911 * manual/terminal.texi: Likewise.
34912 * manual/time.texi: Likewise.
34913 * manual/users.texi: Likewise.
34914 * INSTALL: Regenerated.
34915 * NOTES: Regenerated.
34916 * sysdeps/gnu/errlist.c: Regenerated.
34918 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34920 * include/dirent.h: Include <dirstream.h> before
34923 2012-02-28 David S. Miller <davem@davemloft.net>
34925 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34926 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34927 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34928 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34930 2012-02-27 David S. Miller <davem@davemloft.net>
34932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34934 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34935 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34938 frame pointer instead of stack pointer relative arg slot.
34939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34940 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34941 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34943 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34946 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34948 2012-02-27 David S. Miller <davem@davemloft.net>
34950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34954 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34955 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34956 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34957 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34959 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34961 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34962 later. Allow versions 5-9.
34963 * configure: Regenerated.
34964 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34965 required minimum version and 4.6 as recommended version. Do not
34966 mention bugs in GCC 2.7 and 2.8.
34967 * INSTALL: Regenerated.
34969 2012-02-27 David S. Miller <davem@davemloft.net>
34971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34975 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34976 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34977 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34978 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34980 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34981 manipulate bits before adding and subtracting TWO112[sx].
34982 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34984 2012-02-27 Roland McGrath <roland@hack.frob.com>
34987 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34988 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34989 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34990 being in POSIX, because they are in 1003.1-2008.
34992 * rt/tst-aio.c: Include <fcntl.h>.
34993 * rt/tst-aio7.c: Likewise.
34994 * rt/tst-aio64.c: Likewise.
34996 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34998 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35000 * manual/install.texi (--with-headers): Describe headers as
35001 interface headers, not private headers.
35002 (Specific advice for GNU/Linux systems): Describe use of headers
35003 from "make headers_install", not private headers from older
35005 * INSTALL: Regenerated.
35006 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35008 * sysdeps/unix/sysv/linux/configure: Regenerated.
35010 * manual/llio.texi (fclean): Remove documentation.
35012 * manual/Makefile (libc-texi-generated): New variable. Include
35014 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35015 $(libc-texi-generated), not duplicated list of files.
35016 (version.texi, stamp-version): New rules.
35017 (realclean): Remove $(libc-texi-generated), not individual files
35018 from that list. Do not remove dir-add.texinfo.
35019 * manual/libc.texinfo: Comment out uses of edition numbers and
35020 references to printed manual. Remove last-updated dates.
35021 (EDITION): Comment out.
35023 (VERSION, UPDATED): Remove.
35024 (version.texi): Include.
35026 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35028 * sysdeps/posix/spawni.c: Include <signal.h>.
35029 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35030 * sysdeps/pthread/aio_fsync.c: Likewise.
35032 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35034 * conform/Makefile (tests): Run only when not cross-compiling and
35035 when fast-check is not defined.
35037 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35038 * conform/data/limits.h-data: Fixes for POSIX2008.
35039 * conform/run-conformtest.sh: Run all tests.
35040 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35042 * include/bits/dlfcn.h: Likewise.
35043 * include/langinfo.h: Likewise.
35044 * include/monetary.h: Likewise.
35045 * include/sys/poll.h: Likewise.
35047 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35049 * posix/spawn.h: Define __need_sigset_t.
35050 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35051 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35052 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35053 to get sigevent_t only.
35054 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35055 only for __USE_GNU.
35056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35057 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35058 process_vm_writev only for __USE_GNU.
35059 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35061 * conform/Makefile: For now ignore errors from run-conformtest.
35062 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35063 POSIX to avoid namespace pollution. Don't prepend headers.
35064 * conform/data/aio.h-data: Fixes for POSIX testing.
35065 * conform/data/fcntl.h-data: Likewise.
35066 * conform/data/glob.h-data: Likewise.
35067 * conform/data/grp.h-data: Likewise.
35068 * conform/data/pthread.h-data: Likewise.
35069 * conform/data/pwd.h-data: Likewise.
35070 * conform/data/signal.h-data: Likewise.
35071 * conform/data/spawn.h-data: Likewise.
35072 * conform/data/stdio.h-data: Likewise.
35073 * conform/data/stdlib.h-data: Likewise.
35074 * conform/data/stropts.h-data: Likewise.
35075 * conform/data/sys/mman.h-data: Likewise.
35076 * conform/data/sys/stat.h-data: Likewise.
35077 * conform/data/sys/types.h-data: Likewise.
35078 * conform/data/sys/wait.h-data: Likewise.
35079 * conform/data/time.h-data: Likewise.
35080 * conform/data/unistd.h-data: Likewise.
35081 * conform/data/utime.h-data: Likewise.
35083 * io/sys/stat.h: fchmod was always in POSIX.
35084 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35085 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35086 * rt/aio.h: Define __need_timespec before including <time.h>.
35087 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35088 struct. Add forward declaration of pthread_attr_t and use it in
35090 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35091 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35092 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35093 always remove CLK_TCK definition.
35095 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35097 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35099 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35101 * conform/run-conformtest.sh: New file.
35102 * conform/Makefile: Run run-conformtest for tests.
35103 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35106 * conform/data/uchar.h-data: New file.
35107 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35108 * conform/data/arpa/inet.h-data: Likewise.
35109 * conform/data/assert.h-data: Likewise.
35110 * conform/data/complex.h-data: Likewise.
35111 * conform/data/cpio.h-data: Likewise.
35112 * conform/data/ctype.h-data: Likewise.
35113 * conform/data/dirent.h-data: Likewise.
35114 * conform/data/dlfcn.h-data: Likewise.
35115 * conform/data/errno.h-data: Likewise.
35116 * conform/data/fcntl.h-data: Likewise.
35117 * conform/data/float.h-data: Likewise.
35118 * conform/data/fmtmsg.h-data: Likewise.
35119 * conform/data/fnmatch.h-data: Likewise.
35120 * conform/data/ftw.h-data: Likewise.
35121 * conform/data/glob.h-data: Likewise.
35122 * conform/data/grp.h-data: Likewise.
35123 * conform/data/iconv.h-data: Likewise.
35124 * conform/data/inttypes.h-data: Likewise.
35125 * conform/data/langinfo.h-data: Likewise.
35126 * conform/data/libgen.h-data: Likewise.
35127 * conform/data/limits.h-data: Likewise.
35128 * conform/data/locale.h-data: Likewise.
35129 * conform/data/math.h-data: Likewise.
35130 * conform/data/monetary.h-data: Likewise.
35131 * conform/data/mqueue.h-data: Likewise.
35132 * conform/data/ndbm.h-data: Likewise.
35133 * conform/data/net/if.h-data: Likewise.
35134 * conform/data/netdb.h-data: Likewise.
35135 * conform/data/netinet/in.h-data: Likewise.
35136 * conform/data/nl_types.h-data: Likewise.
35137 * conform/data/poll.h-data: Likewise.
35138 * conform/data/pthread.h-data: Likewise.
35139 * conform/data/pwd.h-data: Likewise.
35140 * conform/data/regex.h-data: Likewise.
35141 * conform/data/sched.h-data: Likewise.
35142 * conform/data/search.h-data: Likewise.
35143 * conform/data/semaphore.h-data: Likewise.
35144 * conform/data/setjmp.h-data: Likewise.
35145 * conform/data/signal.h-data: Likewise.
35146 * conform/data/spawn.h-data: Likewise.
35147 * conform/data/stdarg.h-data: Likewise.
35148 * conform/data/stdio.h-data: Likewise.
35149 * conform/data/stdlib.h-data: Likewise.
35150 * conform/data/string.h-data: Likewise.
35151 * conform/data/strings.h-data: Likewise.
35152 * conform/data/stropts.h-data: Likewise.
35153 * conform/data/sys/ipc.h-data: Likewise.
35154 * conform/data/sys/mman.h-data: Likewise.
35155 * conform/data/sys/msg.h-data: Likewise.
35156 * conform/data/sys/resource.h-data: Likewise.
35157 * conform/data/sys/select.h-data: Likewise.
35158 * conform/data/sys/sem.h-data: Likewise.
35159 * conform/data/sys/shm.h-data: Likewise.
35160 * conform/data/sys/socket.h-data: Likewise.
35161 * conform/data/sys/stat.h-data: Likewise.
35162 * conform/data/sys/statvfs.h-data: Likewise.
35163 * conform/data/sys/time.h-data: Likewise.
35164 * conform/data/sys/timeb.h-data: Likewise.
35165 * conform/data/sys/times.h-data: Likewise.
35166 * conform/data/sys/types.h-data: Likewise.
35167 * conform/data/sys/uio.h-data: Likewise.
35168 * conform/data/sys/un.h-data: Likewise.
35169 * conform/data/sys/utsname.h-data: Likewise.
35170 * conform/data/sys/wait.h-data: Likewise.
35171 * conform/data/syslog.h-data: Likewise.
35172 * conform/data/tar.h-data: Likewise.
35173 * conform/data/termios.h-data: Likewise.
35174 * conform/data/utime.h-data: Likewise.
35175 * conform/data/utmpx.h-data: Likewise.
35176 * conform/data/varargs.h-data: Likewise.
35177 * conform/data/wchar.h-data: Likewise.
35178 * conform/data/wctype.h-data: Likewise.
35179 * conform/data/wordexp.h-data: Likewise.
35181 * include/stropts.h: New file.
35182 * include/uchar.h: New file.
35183 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35184 * include/assert.h: Likewise.
35185 * include/ctype.h: Likewise.
35186 * include/dirent.h: Likewise.
35187 * include/dlfcn.h: Likewise.
35188 * include/fcntl.h: Likewise.
35189 * include/fnmatch.h: Likewise.
35190 * include/glob.h: Likewise.
35191 * include/grp.h: Likewise.
35192 * include/libio.h: Likewise.
35193 * include/locale.h: Likewise.
35194 * include/math.h: Likewise.
35195 * include/net/if.h: Likewise.
35196 * include/netdb.h: Likewise.
35197 * include/netinet/in.h: Likewise.
35198 * include/pthread.h: Likewise.
35199 * include/pwd.h: Likewise.
35200 * include/regex.h: Likewise.
35201 * include/sched.h: Likewise.
35202 * include/search.h: Likewise.
35203 * include/setjmp.h: Likewise.
35204 * include/signal.h: Likewise.
35205 * include/stdio.h: Likewise.
35206 * include/stdlib.h: Likewise.
35207 * include/string.h: Likewise.
35208 * include/sys/cdefs.h: Likewise.
35209 * include/sys/mman.h: Likewise.
35210 * include/sys/msg.h: Likewise.
35211 * include/sys/resource.h: Likewise.
35212 * include/sys/select.h: Likewise.
35213 * include/sys/socket.h: Likewise.
35214 * include/sys/stat.h: Likewise.
35215 * include/sys/statvfs.h: Likewise.
35216 * include/sys/time.h: Likewise.
35217 * include/sys/times.h: Likewise.
35218 * include/sys/uio.h: Likewise.
35219 * include/sys/utsname.h: Likewise.
35220 * include/sys/wait.h: Likewise.
35221 * include/termios.h: Likewise.
35222 * include/time.h: Likewise.
35223 * include/ulimit.h: Likewise.
35224 * include/unistd.h: Likewise.
35225 * include/utime.h: Likewise.
35226 * include/wchar.h: Likewise.
35227 * include/wctype.h: Likewise.
35228 * include/wordexp.h: Likewise.
35230 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35232 * time/time.h: TIME_UTC must be a macro.
35233 Make timespec_get available for ISO C11 only as well.
35235 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35237 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35238 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35240 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35242 * configure.in: Use -o not -a in test for unsupported multi-arch.
35244 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35246 * manual/texinfo.tex: Update to version 2012-01-19.16.
35248 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35250 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35252 2012-02-24 Roland McGrath <roland@hack.frob.com>
35255 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35256 * manual/fdl-1.3.texi: New file.
35257 * manual/fdl-1.1.texi: File removed.
35260 * manual/libc.texinfo (FDL_VERSION): New @set.
35261 Use it for mention of FDL in cover text.
35262 (Documentation License): Use it in @include file name.
35264 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35265 Roland McGrath <roland@hack.frob.com>
35268 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35269 (not LONG_LONG_MAX and LONG_LONG_MIN.
35270 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35271 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35273 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35275 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35279 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35280 manipulate bits before adding and subtracting TWO23[sx].
35281 * math/libm-test.inc (nearbyint_test): Add more tests.
35283 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35286 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35287 bits before adding and subtracting TWO23[sx].
35288 * math/libm-test.inc (rint_test): Add more tests.
35289 (rint_test_tonearest): Likewise.
35290 (rint_test_towardzero): Likewise.
35291 (rint_test_downward): Likewise.
35292 (rint_test_upward: Likewise.
35294 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35297 * include/stdc-predef.h: New file. Extracted from features.h.
35298 * include/features.h: Include stdc-predef.h.
35299 * Makefile (headers): Add stdc-predef.h.
35300 * CONFORMANCE (Compiler limitations): Update.
35302 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35304 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35306 2012-02-21 David S. Miller <davem@davemloft.net>
35308 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35309 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35311 2012-02-20 David S. Miller <davem@davemloft.net>
35313 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35314 using a normal save/restore sequence, rather than allocating a
35315 dummy stack frame just to store a frame pointer and restore.
35316 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35318 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35320 * manual/install.texi: Fix stray word in line-wrapped comment.
35322 2012-02-20 David S. Miller <davem@davemloft.net>
35324 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35325 both binutils and gcc support GOTDATA.
35327 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35328 "rd %pc" in the PIC register setup sequences.
35330 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35331 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35332 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35333 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35334 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35335 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35336 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35337 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35338 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35339 (SYSCALL_ERROR_HANDLER): Likewise.
35340 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35341 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35342 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35343 (SYSCALL_ERROR_HANDLER): Likewise.
35345 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35346 (HAVE_GCC_GOTDATA): New.
35347 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35348 relocation support in both binutils and gcc.
35349 * sysdeps/sparc/elf/configure: Regenerate.
35351 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35352 * sysdeps/sparc/sparc32/elf/configure: Delete.
35353 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35354 * sysdeps/sparc/sparc64/elf/configure: Delete.
35355 * sysdeps/sparc/elf/configure.in: New file.
35356 * sysdeps/sparc/elf/configure: Generate.
35358 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35359 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35360 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35361 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35362 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35364 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35366 * manual/install.texi: Do not mention specific glibc version
35368 * manual/libc.texinfo (VERSION, UPDATED): Update.
35369 (@copying): Use @copyright{} and range of years.
35371 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35374 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35375 [crti.S not in sysdirs] (generated): Do not append.
35376 [crti.S not in sysdirs] (omit-deps): Likewise.
35377 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35378 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35379 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35380 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35381 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35383 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35384 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35385 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35386 * csu/defs.awk: Remove file.
35387 * sysdeps/generic/initfini.c: Likewise.
35388 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35390 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35393 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35395 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35396 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35397 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35398 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35399 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35400 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35402 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35403 (__EPOLL_PACKED): Define to empty if not defined by
35405 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35409 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35411 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35412 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35413 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35414 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35416 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35420 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35422 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35424 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35425 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35426 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35429 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35431 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35432 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35434 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35436 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35437 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35439 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35441 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35444 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35446 * math/w_acos.c: Use non-signaling floating-point comparisons.
35447 * math/w_acosf.c: Likewise.
35448 * math/w_acosh.c: Likewise.
35449 * math/w_acoshf.c: Likewise.
35450 * math/w_acoshl.c: Likewise.
35451 * math/w_acosl.c: Likewise.
35452 * math/w_asin.c: Likewise.
35453 * math/w_asinf.c: Likewise.
35454 * math/w_asinl.c: Likewise.
35455 * math/w_atanh.c: Likewise.
35456 * math/w_atanhf.c: Likewise.
35457 * math/w_atanhl.c: Likewise.
35458 * math/w_exp2.c: Likewise.
35459 * math/w_exp2f.c: Likewise.
35460 * math/w_exp2l.c: Likewise.
35461 * math/w_j0.c: Likewise.
35462 * math/w_j0f.c: Likewise.
35463 * math/w_j0l.c: Likewise.
35464 * math/w_j1.c: Likewise.
35465 * math/w_j1f.c: Likewise.
35466 * math/w_j1l.c: Likewise.
35467 * math/w_jn.c: Likewise.
35468 * math/w_jnf.c: Likewise.
35469 * math/w_log.c: Likewise.
35470 * math/w_log10.c: Likewise.
35471 * math/w_log10f.c: Likewise.
35472 * math/w_log10l.c: Likewise.
35473 * math/w_log2.c: Likewise.
35474 * math/w_log2f.c: Likewise.
35475 * math/w_log2l.c: Likewise.
35476 * math/w_logf.c: Likewise.
35477 * math/w_logl.c: Likewise.
35478 * math/w_sqrt.c: Likewise.
35479 * math/w_sqrtf.c: Likewise.
35480 * math/w_sqrtl.c: Likewise.
35481 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35482 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35483 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35484 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35485 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35487 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35490 * manual/string.texi (strnlen): Use correct parameter name in
35491 equivalent expression.
35493 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35496 * manual/users.texi (seteuid): Consistently use neweuid for
35499 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35502 * manual/nss.texi (Services in the NSS configuration): Correct
35503 list of services in example configuration file.
35505 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35508 * manual/arith.texi: Remove statements about negative zero
35509 behaving identically to zero.
35511 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35514 * manual/install.texi: Do not document upgrading from libc5.
35516 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35519 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35521 2012-02-18 David S. Miller <davem@davemloft.net>
35523 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35524 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35525 %o7 across the call.
35526 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35528 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35529 SETUP_PIC_REG_LEAF.
35530 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35531 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35532 * sysdeps/sparc/crtn.S: Likewise.
35534 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35536 * aout/Makefile: Remove.
35538 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35541 * manual/examples/argp-ex1.c (main): Format definition in GNU
35543 * manual/examples/argp-ex2.c (main): Likewise.
35544 * manual/examples/argp-ex3.c (main): Likewise.
35545 * manual/examples/argp-ex4.c (main): Likewise.
35546 * manual/examples/longopt.c (main): Use new-style prototype
35548 * manual/examples/strncat.c (main): Specify return type and use
35549 (void) for arguments.
35550 * manual/examples/subopt.c (main): Use char **argv argument.
35552 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35555 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35558 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35561 * manual/string.texi (strchr): Change when strchrnul is
35564 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35567 * manual/locale.texi (setlocale): Document LOCPATH.
35569 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35572 * manual/process.texi (execle): Move @dots{} before last argument.
35574 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35577 * manual/charset.texi (Generic Charset Conversion): Fix typo
35578 (LC_TYPE -> LC_CTYPE).
35580 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35583 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35584 (scalbnf): Likewise.
35585 (scalbnl): Likewise.
35586 (scalbln): Likewise.
35587 (scalblnf): Likewise.
35588 (scalblnl): Likewise.
35589 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35590 (vwarnx): Likewise.
35593 * manual/filesys.texi (telldir): Use braces around return type.
35594 * manual/llio.texi (mmap): Add space after comma.
35595 (mmap64): Likewise.
35596 * manual/math.texi (jn): Use @var{} on parameter names.
35602 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35604 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35606 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35607 (sched_get_priority_max): Likewise.
35608 * manual/signal.texi (sigvec): Add space after comma.
35609 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35611 (if_indextoname): Likewise.
35612 (if_freenameindex): Likewise.
35613 (sendto): Use ',' instead of '.' in prototype.
35614 * manual/startup.texi (syscall): Use @dots{} instead of literal
35616 * manual/stdio.texi (__fpending): Separate initial words of
35617 paragraph from @deftypefun line.
35618 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35620 (vsyslog): Use @var{} on parameter names.
35621 * manual/terminal.texi (stty): Use @var{} on parameter names.
35622 * manual/users.texi (getutmp): Use @var{} on parameter names.
35623 (getutmpx): Likewise.
35625 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35628 * manual/stdio.texi (fopen): Fix typos in description of
35631 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35634 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35635 get clock_id definition.
35637 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35640 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35641 (madvise): Cast every argument to void on its own.
35643 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35646 * manual/startup.texi (Exit Status): Fix typo.
35648 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35651 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35652 * manual/examples/argp-ex2.c: Likewise.
35653 * manual/examples/argp-ex3.c: Likewise.
35655 2012-02-16 Richard Henderson <rth@redhat.com>
35657 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35658 * sysdeps/s390/s390-32/initfini.c: Remove.
35659 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35660 * sysdeps/s390/s390-64/initfini.c: Remove.
35662 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35664 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35665 compiler output for sysdeps/generic/initfini.c.
35666 * sysdeps/sh/elf/initfini.c: Remove file.
35668 2012-02-16 David S. Miller <davem@davemloft.net>
35671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35673 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35674 * sysdeps/sparc/crti.S: New file.
35675 * sysdeps/sparc/crtn.S: New file.
35676 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35677 * sysdeps/sparc/sparc64/Makefile: Likewise.
35679 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35682 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35684 2012-02-15 Roland McGrath <roland@hack.frob.com>
35687 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35689 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35690 (write, read, close): Likewise.
35691 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35693 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35695 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35696 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35697 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35698 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35700 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35704 2012-02-14 Marek Polacek <polacek@redhat.com>
35706 * sysdeps/x86_64/crti.S: New file.
35707 * sysdeps/x86_64/crtn.S: New file.
35708 * sysdeps/x86_64/elf/initfini.c: Remove file.
35710 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35712 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35713 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35714 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35715 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35717 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35721 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35723 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35724 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35725 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35726 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35728 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35732 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35734 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35735 __feraiseexcept instead of feraiseexcept.
35737 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35738 nanosleep invocations.
35739 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35740 strings, and add error checking for a nanosleep invocations.
35742 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35744 Replace FSF snail mail address with URLs, as per GNU coding standards.
35745 Most of the snail mail addresses were wrong anyway, and omitting
35746 them makes the source code easier to maintain. Almost all of the
35747 changes are to license notices and to locale LC_IDENTIFICATION
35748 addresses, except for this one:
35749 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35750 not its snail mail address.
35752 2012-02-09 Richard Henderson <rth@twiddle.net>
35754 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35755 of kernel-features.h.
35757 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35759 2012-02-08 Marek Polacek <polacek@redhat.com>
35761 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35762 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35763 * sysdeps/gnu/_G_config.h: Likewise.
35764 * sysdeps/generic/_G_config.h: Likewise.
35766 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35768 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35772 * sysdeps/powerpc/powerpc32/crti.S: New file.
35773 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35774 * sysdeps/powerpc/powerpc64/crti.S: New file.
35775 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35777 * Makeconfig (have-initfini): Don't set.
35778 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35779 * configure.in (nopic_initfini): Don't substitute.
35780 * config.h.in (HAVE_INITFINI): Don't #undef.
35781 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35782 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35784 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35786 Support crti.S and crtn.S provided directly by architectures.
35787 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35788 [crti.S in sysdirs] (omit-deps): Likewise.
35789 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35790 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35791 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35792 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35793 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35794 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35795 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35796 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35797 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35798 compiler output for sysdeps/generic/initfini.c.
35799 * sysdeps/i386/elf/Makefile: Remove file.
35800 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35802 2012-02-07 Marek Polacek <polacek@redhat.com>
35804 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35805 * sysdeps/gnu/_G_config.h: Likewise.
35806 * sysdeps/mach/hurd/_G_config.h: Likewise.
35808 2012-02-07 Marek Polacek <polacek@redhat.com>
35810 * math/Makefile (tests): Add tst-CMPLX2.
35811 * math/tst-CMPLX2.c: New file.
35813 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35815 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35817 * math/libm-test.inc (jn_test): Add missing L suffix.
35819 2012-02-06 Marek Polacek <polacek@redhat.com>
35821 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35822 * sysdeps/i386/fpu/e_powf.S: Likewise.
35823 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35824 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35825 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35826 * sysdeps/i386/fpu/e_pow.S: Likewise.
35827 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35828 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35829 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35830 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35831 * sysdeps/i386/fpu/e_log2.S: Likewise.
35832 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35833 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35834 * sysdeps/i386/fpu/e_powl.S: Likewise.
35835 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35836 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35837 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35838 * sysdeps/i386/fpu/e_logl.S: Likewise.
35839 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35840 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35841 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35842 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35843 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35844 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35845 * sysdeps/i386/fpu/e_log.S: Likewise.
35846 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35847 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35848 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35849 * sysdeps/i386/fpu/e_logf.S: Likewise.
35850 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35851 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35852 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35853 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35854 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35855 * sysdeps/i386/fpu/e_log10.S: Likewise.
35856 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35857 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35858 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35859 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35860 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35861 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35862 * sysdeps/i386/asm-syntax.h: Likewise.
35863 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35864 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35865 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35866 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35867 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35868 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35869 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35870 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35871 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35872 * sysdeps/powerpc/sysdep.h: Likewise.
35873 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35874 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35876 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35879 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35881 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35883 * sysdeps/i386/sysdep.h: Include <features.h>.
35884 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35887 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35889 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35891 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35894 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35896 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35897 (SETUP_PIC_REG): Use GET_PC_THUNK.
35898 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35901 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35903 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35904 for non-PIC compilation.
35905 (SETUP_PIC_REG): Add .p2align directive.
35906 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35907 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35908 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35909 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35910 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35911 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35912 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35913 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35914 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35915 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35916 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35917 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35918 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35919 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35920 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35921 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35922 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35923 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35924 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35925 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35926 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35927 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35928 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35929 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35930 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35931 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35932 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35933 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35934 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35935 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35936 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35937 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35938 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35939 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35940 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35941 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35942 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35943 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35944 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35945 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35946 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35948 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35950 * math/tst-CMPLX.c: Include <stdio.h>.
35952 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35954 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35956 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35957 * sysdeps/sparc/bits/mathdef.h: Likewise.
35959 2012-01-31 Marek Polacek <polacek@redhat.com>
35961 * libio/libio.h: Don't define _PARAMS.
35962 * locale/programs/config.h: Don't define PARAMS.
35963 * stdlib/strtol_l.c: Likewise.
35964 (__strtol_l): Remove PARAMS from the prototype.
35966 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35968 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35969 names. Just use the correct names. Remove unnecessary wrapper
35971 * malloc/arena.c: Likewise.
35972 * malloc/hooks.c: Likewise.
35974 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35975 ARENA_TEST says not to. Simplify test for creation of a new arena.
35976 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35978 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35980 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35982 (update_get_addr): New function.
35983 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35984 GET_ADDR_MODULE parameter.
35986 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35988 * crypt/cert.c: Remove __STDC__ conditionals.
35989 * crypt/crypt-entry.c: Likewise.
35990 * crypt/crypt_util.c: Likewise.
35991 * libio/filedoalloc.c: Likewise.
35992 * libio/fileops.c: Likewise.
35993 * libio/genops.c: Likewise.
35994 * libio/iofclose.c: Likewise.
35995 * libio/iofdopen.c: Likewise.
35996 * libio/iofopen.c: Likewise.
35997 * libio/iofopen64.c: Likewise.
35998 * libio/iogetdelim.c: Likewise.
35999 * libio/iopopen.c: Likewise.
36000 * libio/obprintf.c: Likewise.
36001 * libio/oldfileops.c: Likewise.
36002 * libio/oldiofclose.c: Likewise.
36003 * libio/oldiofdopen.c: Likewise.
36004 * libio/oldiofopen.c: Likewise.
36005 * libio/oldiopopen.c: Likewise.
36006 * libio/wfiledoalloc.c: Likewise.
36007 * libio/wgenops.c: Likewise.
36008 * locale/programs/xmalloc.c: Likewise.
36009 * misc/syslog.c: Likewise.
36010 * stdio-common/xbug.c: Likewise.
36011 * string/memchr.c: Likewise.
36012 * string/memcmp.c: Likewise.
36013 * string/memrchr.c: Likewise.
36014 * string/rawmemchr.c: Likewise.
36015 * sysdeps/posix/getcwd.c: Likewise.
36016 * time/strftime_l.c: Likewise.
36018 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36020 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36021 * config.make.in (config-cflags-sse2avx): Define.
36022 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36025 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36027 * scripts/config.guess: Update from upstream config git repository.
36028 * scripts/config.sub: Likewise.
36030 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36032 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36034 (R_TILEPRO_*, R_TILEGX_*): New macros.
36036 * scripts/firstversions.awk: Fix bug in version range handling.
36038 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36040 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36042 * include/sys/epoll.h: New file.
36043 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36046 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36048 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36049 Avoid unnecessary __WORDSIZE == 64 test.
36050 (fmaxf): Use VEX format if possible.
36055 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36056 * math/math_private.h: Remove libc_fegetround* and
36058 * sysdeps/i386/configure.in: Check for -msse2avx.
36059 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36060 also if SSE2AVX is defined.
36061 Remove libc_fegetround* and libc_fesetround*.
36062 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36063 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36064 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36066 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36067 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36068 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36069 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36070 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36072 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36074 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36076 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36078 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36080 2012-01-27 Ulrich Drepper <drepper@gmail.com>
36083 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36085 * Makeconfig (libm): Define.
36086 * elf/Makefile: Add rules to build and run tst-relsort1.
36087 * elf/tst-relsort1.c: New file.
36088 * elf/tst-relsort1mod1.c: New file.
36089 * elf/tst-relsort1mod2.c: New file.
36091 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36093 * math/s_ldexp.c: Remove __STDC__ conditionals.
36094 * math/s_ldexpf.c: Likewise.
36095 * math/s_ldexpl.c: Likewise.
36096 * math/s_nextafter.c: Likewise.
36097 * math/s_nexttowardf.c: Likewise.
36098 * math/s_significand.c: Likewise.
36099 * math/s_significandf.c: Likewise.
36100 * math/s_significandl.c: Likewise.
36101 * math/w_jnl.c: Likewise.
36102 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36103 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36104 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36105 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36106 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36107 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36108 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36109 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36110 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36111 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36112 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36113 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36114 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36115 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36116 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36117 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36118 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36119 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36120 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36121 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36122 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36123 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36124 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36125 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36126 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36127 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36128 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36129 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36130 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36131 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36132 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36133 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36134 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36135 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36136 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36137 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36138 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36139 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36140 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36141 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36142 * sysdeps/ieee754/k_standard.c: Likewise.
36143 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36144 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36145 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36146 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36147 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36148 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36149 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36150 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36151 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36152 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36153 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36154 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36155 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36156 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36157 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36158 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36159 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36160 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36161 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36162 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36163 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36164 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36165 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36166 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36167 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36168 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36169 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36170 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36172 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36173 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36174 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36175 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36176 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36177 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36178 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36179 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36180 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36181 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36182 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36183 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36184 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36185 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36186 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36187 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36188 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36189 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36190 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36191 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36192 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36193 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36194 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36195 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36196 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36197 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36198 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36199 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36200 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36201 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36202 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36203 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36204 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36205 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36206 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36207 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36208 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36209 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36210 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36211 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36212 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36213 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36214 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36215 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36216 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36217 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36218 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36219 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36220 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36221 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36222 * sysdeps/ieee754/s_matherr.c: Likewise.
36223 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36224 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36225 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36226 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36228 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36230 * crypt/md5.h: Remove __STDC__ conditionals.
36231 * libio/libioP.h: Likewise.
36232 * locale/programs/config.h: Likewise.
36233 * sysdeps/generic/sysdep.h: Likewise.
36234 * sysdeps/i386/asm-syntax.h: Likewise.
36235 * sysdeps/s390/asm-syntax.h: Likewise.
36236 * sysdeps/unix/sysdep.h: Likewise.
36237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36240 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36242 * libio/libio.h: Remove __STDC__ conditionals.
36243 * malloc/obstack.h: Likewise.
36244 * math/complex.h: Likewise.
36245 * math/math.h: Likewise.
36246 * sysdeps/generic/_G_config.h: Likewise.
36247 * sysdeps/gnu/_G_config.h: Likewise.
36248 * sysdeps/mach/hurd/_G_config.h: Likewise.
36249 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36250 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36251 * sysdeps/sparc/bits/mathdef.h: Likewise.
36253 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36256 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36257 Clean up HAS_* macros.
36258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36259 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36261 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36263 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36264 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36265 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36266 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36267 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36269 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36271 * elf/tst-unique3.cc (gets): Remove declaration.
36272 * elf/tst-unique3lib.cc (gets): Likewise.
36273 * elf/tst-unique3lib2.cc (gets): Likewise.
36274 * elf/tst-unique4.cc (gets): Likewise.
36276 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36278 * include/stdio.h: Add C++ protection. Add gets declarations and
36280 * debug/tst-chk1.c: Don't declare gets here.
36281 * stdio-common/tst-gets.c: Likewise.
36283 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36285 * posix/glob: Remove directory.
36287 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36289 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36291 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36293 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36294 of the non-standard EPFNOSUPPORT.
36296 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36298 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36299 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36300 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36302 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36304 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36306 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36308 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36310 * nscd/grpcache.c (cache_addgr): Likewise.
36311 * nscd/hstcache.c (cache_addhst): Likewise.
36312 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36313 * nscd/pwdcache.c (cache_addpw): Likewise.
36314 * nscd/servicescache.c (cache_addserv): Likewise.
36316 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36318 * malloc/malloc.c: Various cleanups.
36319 * malloc/hooks.c: Likewise.
36321 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36322 * stdlib/bug-fmtmsg1.c: New file.
36324 * stdlib/fmtmsg.c (init): Add missing unlock.
36325 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36327 2012-01-12 Marek Polacek <polacek@redhat.com>
36329 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36332 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36334 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36335 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36336 macro to ensure uniqueness of label name.
36337 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36338 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36340 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36342 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36344 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36345 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36346 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36347 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36349 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36351 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36353 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36354 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36355 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36357 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36359 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36360 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36361 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36362 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36364 * math/bits/math-finite.h: Add ldexp support.
36366 2012-01-10 Marek Polacek <polacek@redhat.com>
36368 * locale/programs/localedef.h (show_archive_content): Add noreturn
36371 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36373 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36375 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36377 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36379 * io/Makefile (headers): Add bits/poll2.h.
36381 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36384 typo #include statement.
36386 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36388 * include/sys/cdefs.h: Define __attribute_alloc_size.
36389 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36390 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36391 * elf/pldd.c: Likewise.
36392 * iconv/iconv_charmap.c: Likewise.
36393 * iconv/iconvconfig.c: Likewise.
36394 * iconv/strtab.c: Likewise.
36395 * locale/programs/locale.c: Likewise.
36396 * locale/programs/localedef.h: Likewise.
36397 * locale/programs/simple-hash.c: Likewise.
36398 * nscd/nscd.h: Likewise.
36399 * nss/makedb.c: Likewise.
36400 * sysdeps/generic/ldconfig.h: Likewise.
36401 * locale/programs/localedef.c: Remove xmalloc prototype.
36402 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36404 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36406 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36409 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36411 * math/Makefile (tests): Add tst-CMPLX.
36412 * math/tst-CMPLX.c: New file.
36414 * math/complex.h (CMPLXL): Fix typo.
36416 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36417 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36419 * debug/tst-chk1.c: Add poll and ppoll tests.
36420 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36421 * include/sys/poll.h: Add hidden proto for ppoll.
36422 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36423 * sysdeps/mach/hurd/ppoll.c: Likewise.
36424 * io/ppoll.c: Likewise.
36425 * debug/poll_chk.c: New file.
36426 * debug/ppoll_chk.c: New file.
36427 * include/bits/poll2.h: New file.
36428 * io/bits/poll2.h: New file.
36431 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36433 * configure.in: static is always set to yes. Remove.
36434 * config.make.in: Don't set build-static.
36435 * Makeconfig: Remove use of build-static.
36436 * dlfcn/Makefile: Likewise.
36437 * elf/Makefile: Likewise.
36438 * math/Makefile: Likewise.
36439 * misc/Makefile: Likewise.
36440 * nptl/Makefile: Likewise.
36441 * sysdeps/mach/hurd/Makefile: Likewise.
36443 * configure.in: PWD_P is not used anymore.
36444 * config.make.in: Remove PWD_P entry.
36446 * configure.in: Remove last remnants of RANLIB.
36447 No need to check for signed size_t anymore.
36448 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36450 Remove __builtin_expect test because we require at least gcc 3.4.
36451 * aclocal.m4: Likewise.
36453 * wcsmbs/mbrtoc16.c: Implement using towc function.
36454 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36455 * wcsmbs/wcsmbsload.c: Likewise.
36456 * iconv/gconv_simple.c: Likewise.
36457 * iconv/gconv_int.h: Likewise.
36458 * iconv/gconv_builtin.h: Likewise.
36459 * iconv/iconv_prog.c: Remove CHAR16 handling.
36461 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36463 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36465 * configure.in: Remove --with-elf and --enable-bounded options.
36466 Dont set base_machine for ia64. More non-ELF conditions removed.
36467 Remove testing and setting of leading underscore information.
36468 * config.make.in (build-bounded): Set to no.
36469 * config.h.in: Remove NO_UNDERSCORES entry.
36470 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36472 * csu/start.c: Remove !NO_UNDERSCORE code.
36473 * locale/localeinfo.h: Likewise.
36474 * sysdeps/generic/machine-gmon.h: Likewise.
36475 * sysdeps/generic/sysdep.h: Likewise.
36476 * sysdeps/i386/sysdep.h: Likewise.
36477 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36478 * sysdeps/mach/sysdep.h: Likewise.
36479 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36480 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36481 * sysdeps/sh/sysdep.h: Likewise.
36482 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36483 * sysdeps/unix/i386/sysdep.S: Likewise.
36484 * sysdeps/unix/sparc/start.c: Likewise.
36485 * sysdeps/unix/sparc/sysdep.S: Likewise.
36486 * sysdeps/unix/sparc/sysdep.h: Likewise.
36487 * sysdeps/unix/start.c: Likewise.
36488 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36489 * sysdeps/x86_64/sysdep.h: Likewise.
36491 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36494 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36496 * argp/argp-fmtstream.h: Use const instead __const.
36497 * argp/argp.h: Likewise.
36498 * assert/assert.h: Likewise.
36499 * bits/fenv.h: Likewise.
36500 * bits/sched.h: Likewise.
36501 * bits/sigset.h: Likewise.
36502 * bits/sigthread.h: Likewise.
36503 * catgets/nl_types.h: Likewise.
36504 * conform/data/pthread.h-data: Likewise.
36505 * crypt/crypt-private.h: Likewise.
36506 * crypt/crypt.h: Likewise.
36507 * crypt/crypt_util.c: Likewise.
36508 * ctype/ctype.h: Likewise.
36509 * debug/execinfo.h: Likewise.
36510 * debug/mbsnrtowcs_chk.c: Likewise.
36511 * debug/mbsrtowcs_chk.c: Likewise.
36512 * debug/wcsnrtombs_chk.c: Likewise.
36513 * debug/wcsrtombs_chk.c: Likewise.
36514 * debug/wcstombs_chk.c: Likewise.
36515 * dirent/dirent.h: Likewise.
36516 * dlfcn/dlfcn.h: Likewise.
36517 * elf/neededtest4.c: Likewise.
36518 * grp/grp.h: Likewise.
36519 * gshadow/gshadow.h: Likewise.
36520 * iconv/gconv.h: Likewise.
36521 * iconv/gconv_int.h: Likewise.
36522 * iconv/gconv_simple.c: Likewise.
36523 * iconv/iconv.h: Likewise.
36524 * iconv/loop.c: Likewise.
36525 * iconv/skeleton.c: Likewise.
36526 * include/aio.h: Likewise.
36527 * include/aliases.h: Likewise.
36528 * include/argz.h: Likewise.
36529 * include/arpa/inet.h: Likewise.
36530 * include/assert.h: Likewise.
36531 * include/dirent.h: Likewise.
36532 * include/dlfcn.h: Likewise.
36533 * include/execinfo.h: Likewise.
36534 * include/fcntl.h: Likewise.
36535 * include/fenv.h: Likewise.
36536 * include/glob.h: Likewise.
36537 * include/grp.h: Likewise.
36538 * include/libintl.h: Likewise.
36539 * include/mntent.h: Likewise.
36540 * include/netdb.h: Likewise.
36541 * include/pwd.h: Likewise.
36542 * include/rpc/netdb.h: Likewise.
36543 * include/sched.h: Likewise.
36544 * include/search.h: Likewise.
36545 * include/shadow.h: Likewise.
36546 * include/signal.h: Likewise.
36547 * include/stdio.h: Likewise.
36548 * include/stdlib.h: Likewise.
36549 * include/string.h: Likewise.
36550 * include/sys/socket.h: Likewise.
36551 * include/sys/stat.h: Likewise.
36552 * include/sys/statfs.h: Likewise.
36553 * include/sys/statvfs.h: Likewise.
36554 * include/sys/syslog.h: Likewise.
36555 * include/sys/time.h: Likewise.
36556 * include/sys/uio.h: Likewise.
36557 * include/time.h: Likewise.
36558 * include/unistd.h: Likewise.
36559 * include/utmp.h: Likewise.
36560 * include/wchar.h: Likewise.
36561 * include/wctype.h: Likewise.
36562 * inet/aliases.h: Likewise.
36563 * inet/arpa/inet.h: Likewise.
36564 * inet/netinet/ether.h: Likewise.
36565 * inet/netinet/in.h: Likewise.
36566 * intl/libintl.h: Likewise.
36567 * io/bits/fcntl2.h: Likewise.
36568 * io/fcntl.h: Likewise.
36569 * io/ftw.h: Likewise.
36570 * io/sys/poll.h: Likewise.
36571 * io/sys/stat.h: Likewise.
36572 * io/sys/statfs.h: Likewise.
36573 * io/sys/statvfs.h: Likewise.
36574 * io/utime.h: Likewise.
36575 * libio/bits/stdio.h: Likewise.
36576 * libio/bits/stdio2.h: Likewise.
36577 * libio/libio.h: Likewise.
36578 * libio/libioP.h: Likewise.
36579 * libio/stdio.h: Likewise.
36580 * locale/lc-ctype.c: Likewise.
36581 * locale/locale.h: Likewise.
36582 * login/utmp.h: Likewise.
36583 * malloc/arena.c: Likewise.
36584 * malloc/malloc.c: Likewise.
36585 * malloc/malloc.h: Likewise.
36586 * malloc/mcheck.c: Likewise.
36587 * malloc/mtrace.c: Likewise.
36588 * math/bits/mathcalls.h: Likewise.
36589 * math/fenv.h: Likewise.
36590 * math/math_private.h: Likewise.
36591 * misc/bits/error.h: Likewise.
36592 * misc/bits/syslog.h: Likewise.
36593 * misc/err.h: Likewise.
36594 * misc/error.h: Likewise.
36595 * misc/fstab.h: Likewise.
36596 * misc/mntent.h: Likewise.
36597 * misc/regexp.h: Likewise.
36598 * misc/search.h: Likewise.
36599 * misc/sgtty.h: Likewise.
36600 * misc/sys/mman.h: Likewise.
36601 * misc/sys/syslog.h: Likewise.
36602 * misc/sys/uio.h: Likewise.
36603 * misc/sys/xattr.h: Likewise.
36604 * misc/ttyent.h: Likewise.
36605 * nis/rpcsvc/ypclnt.h: Likewise.
36606 * nss/nss.h: Likewise.
36607 * posix/bits/unistd.h: Likewise.
36608 * posix/fnmatch.h: Likewise.
36609 * posix/glob.h: Likewise.
36610 * posix/sched.h: Likewise.
36611 * posix/spawn.h: Likewise.
36612 * posix/sys/wait.h: Likewise.
36613 * posix/unistd.h: Likewise.
36614 * posix/wordexp.h: Likewise.
36615 * pwd/pwd.h: Likewise.
36616 * resolv/netdb.h: Likewise.
36617 * resource/sys/resource.h: Likewise.
36618 * rt/aio.h: Likewise.
36619 * rt/bits/mqueue2.h: Likewise.
36620 * rt/mqueue.h: Likewise.
36621 * shadow/shadow.h: Likewise.
36622 * signal/signal.h: Likewise.
36623 * socket/send.c: Likewise.
36624 * socket/sendto.c: Likewise.
36625 * socket/sys/socket.h: Likewise.
36626 * stdio-common/printf.h: Likewise.
36627 * stdlib/bits/stdlib.h: Likewise.
36628 * stdlib/fmtmsg.h: Likewise.
36629 * stdlib/monetary.h: Likewise.
36630 * stdlib/stdlib.h: Likewise.
36631 * stdlib/ucontext.h: Likewise.
36632 * streams/stropts.h: Likewise.
36633 * string/argz.h: Likewise.
36634 * string/bits/string2.h: Likewise.
36635 * string/string.h: Likewise.
36636 * string/strings.h: Likewise.
36637 * sunrpc/rpc/auth.h: Likewise.
36638 * sunrpc/rpc/auth_des.h: Likewise.
36639 * sunrpc/rpc/clnt.h: Likewise.
36640 * sunrpc/rpc/netdb.h: Likewise.
36641 * sunrpc/rpc/pmap_clnt.h: Likewise.
36642 * sunrpc/rpc/xdr.h: Likewise.
36643 * sysdeps/generic/inttypes.h: Likewise.
36644 * sysdeps/generic/net/if.h: Likewise.
36645 * sysdeps/generic/sys/swap.h: Likewise.
36646 * sysdeps/gnu/net/if.h: Likewise.
36647 * sysdeps/gnu/utmpx.h: Likewise.
36648 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36649 * sysdeps/i386/i486/bits/string.h: Likewise.
36650 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36651 * sysdeps/s390/bits/string.h: Likewise.
36652 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36653 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36654 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36655 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36656 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36657 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36658 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36659 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36660 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36661 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36662 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36663 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36664 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36665 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36666 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36667 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36668 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36670 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36671 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36672 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36673 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36674 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36675 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36676 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36677 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36678 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36679 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36680 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36681 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36682 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36683 * sysvipc/sys/ipc.h: Likewise.
36684 * sysvipc/sys/msg.h: Likewise.
36685 * sysvipc/sys/sem.h: Likewise.
36686 * sysvipc/sys/shm.h: Likewise.
36687 * termios/termios.h: Likewise.
36688 * time/sys/time.h: Likewise.
36689 * time/time.h: Likewise.
36690 * wcsmbs/bits/wchar2.h: Likewise.
36691 * wcsmbs/uchar.h: Likewise.
36692 * wcsmbs/wchar.h: Likewise.
36693 * wctype/wctype.h: Likewise.
36696 * Makeconfig: Remove all but ELF support including AIX support.
36697 * Makerules: Likewise.
36698 * config.h.in: Likewise.
36699 * config.make.in: Likewise.
36700 * configure: Likewise.
36701 * configure.in: Likewise.
36702 * csu/Makefile: Likewise.
36703 * csu/version.c: Likewise.
36704 * debug/Makefile: Likewise.
36705 * dlfcn/Makefile: Likewise.
36706 * elf/Makefile: Likewise.
36707 * extra-lib.mk: Likewise.
36708 * iconv/Makefile: Likewise.
36709 * include/libc-symbols.h: Likewise.
36710 * include/shlib-compat.h: Likewise.
36711 * resolv/Makefile: Likewise.
36712 * resolv/res_libc.c: Likewise.
36713 * rt/Makefile: Likewise.
36714 * sysdeps/i386/asm-syntax.h: Likewise.
36715 * sysdeps/i386/sysdep.h: Likewise.
36716 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36717 * sysdeps/mach/sysdep.h: Likewise.
36718 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36719 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36720 * sysdeps/s390/asm-syntax.h: Likewise.
36721 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36722 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36723 * sysdeps/sh/sysdep.h: Likewise.
36724 * sysdeps/unix/sparc/sysdep.h: Likewise.
36725 * sysdeps/wordsize-32/divdi3.c: Likewise.
36726 * sysdeps/x86_64/sysdep.h: Likewise.
36728 * argp/Versions: Remove _argp_unlock_xxx.
36731 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36732 * abilist/libBrokenLocale.abilist: Likewise.
36733 * abilist/libanl.abilist: Likewise.
36734 * abilist/libc.abilist: Likewise.
36735 * abilist/libcrypt.abilist: Likewise.
36736 * abilist/libdl.abilist: Likewise.
36737 * abilist/libm.abilist: Likewise.
36738 * abilist/libnsl.abilist: Likewise.
36739 * abilist/libpthread.abilist: Likewise.
36740 * abilist/libresolv.abilist: Likewise.
36741 * abilist/librt.abilist: Likewise.
36742 * abilist/libthread_db.abilist: Likewise.
36743 * abilist/libutil.abilist: Likewise.
36744 * abilist/libnss_db.abilist: New file.
36746 * scripts/abilist.awk: Add support for indirect functions.
36748 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36750 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36752 * shlib-versions: Remove entries for ports architectures.
36754 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36756 * elf/stackguard-macros.h: Remove support for IA-64.
36757 * elf/tst-auditmod1.c: Likewise.
36758 * sysdeps/generic/ldsodefs.h: Likewise.
36760 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36761 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36765 * configure.in: Remove --enable-omitfp support.
36767 * config.make.in: Likewise.
36768 * Makeconfig: Likewise.
36769 * manual/install.texi: Likewise.
36771 In case anyone cares, the IA-64 architecture could move to ports.
36772 * sysdeps/ia64/*: Removed.
36773 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36774 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36777 * configure.in: Remove entries for unsupported architectures.
36780 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36781 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36783 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36784 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36785 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36786 fall back to using wcrtomb.
36787 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36788 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36790 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36791 * wcsmbs/tst-c16c32-1.c: New file.
36793 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36796 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36798 * elf/tst-unique3.cc: Add explicit declaration of gets.
36799 * elf/tst-unique3lib.cc: Likewise.
36800 * elf/tst-unique3lib2.cc: Likewise.
36801 * elf/tst-unique4.cc: Likewise.
36803 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36805 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36808 * assert/assert.h (static_assert): Don't define for C++.
36809 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36810 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36812 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36814 * iconv/loop.c (single loop): Fix assertion in storing of
36817 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36819 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36821 * posix/getconf.c: Update copyright year.
36822 * nss/getent.c: Likewise.
36823 * nss/makedb.c: Likewise.
36824 * iconv/iconvconfig.c: Likewise.
36825 * iconv/iconv_prog.c: Likewise.
36826 * elf/ldconfig.c: Likewise.
36827 * elf/pldd.c: Likewise.
36828 * elf/sotruss.ksh: Likewise.
36829 * catgets/gencat.c: Likewise.
36830 * csu/version.c: Likewise.
36831 * elf/ldd.bash.in: Likewise.
36832 * elf/sprof.c (print_version): Likewise.
36833 * locale/programs/locale.c: Likewise.
36834 * locale/programs/localedef.c: Likewise.
36835 * login/programs/pt_chown.c: Likewise.
36836 * nscd/nscd.c (print_version): Likewise.
36837 * debug/xtrace.sh: Likewise.
36838 * malloc/memusage.sh: Likewise.
36839 * malloc/mtrace.pl: Likewise.
36840 * debug/catchsegv.sh: Likewise.
36842 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36844 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36847 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36850 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36851 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36853 * iconv/gconv_int.h: Likewise.
36854 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36855 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36856 from libc for GLIBC_2.16.
36857 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36858 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36859 * wcsmbs/uchar.h: Really define mbstate_t.
36860 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36861 * wcsmbs/c16rtomb.c: New file.
36862 * wcsmbs/mbrtoc16.c: New file.
36863 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36864 for C/POSIX locale.
36865 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36866 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36868 * wcsmbs/wchar.h: Add missing __restrict.
36870 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36873 * time/Makefile (routines): Add timespec_get.
36874 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36875 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36876 timespec for ISO C11.
36877 * time/timespec_get.c: New file.
36878 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36879 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36882 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36883 * stdlib/stdlib.h: Declare aligned_alloc.
36884 * Versions.def: Add GLIBC_2.16 for libc.
36885 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36888 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36891 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36895 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36898 * assert/assert.h (static_assert): Define.
36900 * version.h: Update for 2.16 development version.
36903 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36906 * version.h (RELEASE): Bump for 2.15 release.
36907 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36909 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36910 Patch by Marek Polacek <mpolacek@redhat.com>.
36912 * bits/byteswap.h: Protect long long constants with __extension__.
36913 * sysdeps/i386/bits/byteswap.h: Likewise.
36914 * sysdeps/ia64/bits/byteswap.h: Likewise.
36915 * sysdeps/s390/bits/byteswap.h: Likewise.
36916 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36918 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36921 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36922 destination buffer.
36923 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36925 2011-12-23 Marek Polacek <polacek@redhat.com>
36927 * elf/dl-addr.c (determine_info): Add inline keyword.
36928 * elf/tst-auditmod4b.c (check_avx): Likewise.
36929 * elf/tst-auditmod6b.c (check_avx): Likewise.
36930 * elf/tst-auditmod6c.c (check_avx): Likewise.
36931 * elf/tst-auditmod7b.c (check_avx): Likewise.
36933 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36935 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36938 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36941 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36942 processing for last bytes.
36944 2011-08-06 Bruno Haible <bruno@clisp.org>
36947 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36948 U+0385, not to U+1FEE.
36951 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36952 entry for U+00A5 U+0301.
36954 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36957 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36958 buffer for the output is too small.
36960 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36964 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36965 SSE flags if possible.
36967 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36970 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36971 processing for last bytes.
36973 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36975 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36976 (syscall-list-default-options, syscall-list-default-condition)
36977 (syscall-list-includes): Define.
36978 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36979 list of ABIs and options and #if conditions for each ABI. Do not
36980 handle common syscalls between ABIs specially.
36981 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36983 (syscall-list-variants, syscall-list-32bit-options)
36984 (syscall-list-32bit-condition, syscall-list-64bit-options)
36985 (syscall-list-64bit-condition): Define.
36986 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36987 (syscall-list-variants, syscall-list-32bit-options)
36988 (syscall-list-32bit-condition, syscall-list-64bit-options)
36989 (syscall-list-64bit-condition): Define.
36990 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36992 (syscall-list-variants, syscall-list-32bit-options)
36993 (syscall-list-32bit-condition, syscall-list-64bit-options)
36994 (syscall-list-64bit-condition): Define.
36995 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36997 (syscall-list-variants, syscall-list-32bit-options)
36998 (syscall-list-32bit-condition, syscall-list-64bit-options)
36999 (syscall-list-64bit-condition): Define.
37001 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37003 * locale/iso-639.def: Add brx entry.
37006 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37007 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37009 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37010 __feraiseexcept_renamed.
37012 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37015 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37016 EPOLLET with unsigned values.
37017 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37018 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37020 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37021 to large cancellation.
37022 * math/s_cacoshf.c: Likewise.
37023 * math/s_cacoshl.c: Likewise.
37025 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37029 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37030 * math/s_cacoshf.c: Likewise.
37031 * math/s_cacoshl.c: Likewise.
37033 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37036 * iconv/gconv.h: Define __GCONV_SWAP.
37037 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37038 * iconvdata/utf-16.c: Likewise.
37039 * iconvdata/utf-32.c: Likewise.
37041 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37044 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37045 numerator after shifting it by one limb.
37047 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37049 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37050 under [__USE_EXTERN_INLINES].
37052 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37055 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37057 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37059 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37060 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37062 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37063 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37064 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37065 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37066 for strncasecmp/strncasecmp_l compilation.
37067 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37068 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37070 2011-12-08 Marek Polacek <mpolacek@redhat.com>
37073 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37076 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37079 * time/tzfile.c (__tzfile_read): Check values from file header.
37081 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37083 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37084 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37085 * powerpc/powerpc32/dl-start.S: Likewise.
37086 * powerpc/powerpc32/elf/start.S: Likewise.
37087 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37088 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37089 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37090 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37091 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37092 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37093 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37094 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37095 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37096 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37097 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37098 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37099 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37100 * powerpc/powerpc32/memset.S: Likewise.
37101 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37102 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37103 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37104 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37105 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37106 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37107 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37108 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37109 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37110 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37111 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37112 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37113 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37115 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37117 * math/libm-test.inc: Added more nearbyint tests.
37118 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37119 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37120 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37121 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37123 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37125 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37128 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37130 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37131 Add wcscpy-ssse3 wcscpy-c.
37132 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37133 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37134 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37135 * sysdeps/x86_64/wcschr.S: New file.
37136 * sysdeps/x86_64/wcsrchr.S: New file.
37137 * string/test-strcmp.c: Remove checking of wcscmp function for
37139 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37140 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37141 wcsrchr-sse2 wcsrchr-c.
37142 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37143 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37144 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37145 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37146 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37147 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37148 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37149 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37150 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37151 * wcsmbc/wcschr.c (WCSCHR): New macro.
37153 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37155 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37156 * wcsmbs/test-wcsrchr.c: New file.
37157 * string/test-strrchr.c: Add wcsrchr support.
37159 * wcsmbs/test-wcscpy.c: New file.
37160 * string/test-strcpy.c: Add wcscpy support.
37163 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37165 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37168 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37171 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37173 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37175 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37176 Minor optimizations.
37178 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37179 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37180 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37182 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37184 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37185 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37186 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37187 for gcc to avoid warnings.
37188 * inet/Makefile (tests): Add tst-checks.
37189 * inet/tst-checks.c: New file.
37191 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37194 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37197 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37198 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37200 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37202 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37204 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37207 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37209 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37211 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37212 conditional on GCC version.
37213 (__arch_compare_and_exchange_val_8_acq)
37214 (__arch_compare_and_exchange_val_16_acq)
37215 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37216 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37217 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37219 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37221 * sysdeps/sh/backtrace.c: New file.
37223 2011-12-02 Andreas Schwab <schwab@redhat.com>
37225 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37228 2011-12-01 Andreas Schwab <schwab@redhat.com>
37230 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37231 falling back to utime.
37233 2011-11-30 Andreas Schwab <schwab@redhat.com>
37235 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37236 expectations for float.
37238 2011-11-29 Andreas Schwab <schwab@redhat.com>
37240 * locale/weight.h (findidx): Add parameter len.
37241 * locale/weightwc.h (findidx): Likewise.
37242 * posix/fnmatch_loop.c (FCT): Adjust caller.
37243 * posix/regcomp.c (build_equiv_class): Likewise.
37244 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37245 * posix/regexec.c (check_node_accept_bytes): Likewise.
37246 * string/strcoll_l.c (STRCOLL): Likewise.
37247 * string/strxfrm_l.c (STRXFRM): Likewise.
37249 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37251 * Makefile.in: Remove CVSOPT handling.
37252 * configure.in: Remove use of AC_REVISION.
37253 * iconvdata/Makefile (distribute): No need to filter out CVS.
37254 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37257 2011-11-16 Andreas Schwab <schwab@redhat.com>
37259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37260 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37261 [USE_AS_STRNCASECMP_L]: Likewise.
37262 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37263 NO_TLS_DIRECT_SEG_REFS.
37264 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37265 Fix argument offsets for non-PIC.
37266 [USE_AS_STRNCASECMP_L]: Likewise.
37267 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37268 NO_TLS_DIRECT_SEG_REFS.
37270 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37272 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37274 * locale/loadlocale.c (_nl_load_locale): Likewise.
37276 2011-11-15 Andreas Schwab <schwab@redhat.com>
37278 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37279 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37280 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37281 (SYSCALL_GETTIME): Set errno on error.
37283 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37284 count references to noai6ai_cached.
37286 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37288 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37290 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37291 FD_CLOEXEC for /proc/self/maps.
37293 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37294 FD_CLOEXEC for /proc/meminfo.
37296 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37299 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37300 FD_CLOEXEC for given file.
37302 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37304 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37305 FD_CLOEXEC for /etc/hosts.
37306 (_gethtent): Likewise.
37308 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37310 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37311 cancellation and set FD_CLOEXEC for /etc/netgroup.
37313 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37314 reading /etc/publickey.
37316 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37317 allow cancellation when reading /etc/group.
37319 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37321 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37323 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37324 when using data file.
37326 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37328 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37329 (write_nis_obj): Use "c" and "e" in fopen.
37331 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37333 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37335 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37337 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37339 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37342 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37344 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37346 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37348 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37349 file parsing and set FD_CLOEXEC.
37351 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37353 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37355 2011-11-14 Andreas Schwab <schwab@redhat.com>
37357 * malloc/arena.c (arena_get2): Don't call reused_arena when
37358 _int_new_arena failed.
37360 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37362 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37363 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37364 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37365 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37366 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37367 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37368 to compile strcasecmp and strncasecmp.
37369 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37370 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37374 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37376 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37377 locale-defines.sym to gen-as-const-headers.
37378 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37379 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37381 to compile strcasecmp and strncasecmp.
37382 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37383 strcasecmp_l and strncasecmp_l.
37384 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37385 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37386 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37387 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37388 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37389 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37390 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37391 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37392 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37393 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37394 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37396 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37398 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37399 result of SYSDEP_GETTIME_CPU to retval.
37400 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37401 parameter list to macro. Remove trailing semicolon. Adjust users.
37403 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37406 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37408 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37410 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37411 from unused variable.
37413 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37415 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37418 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37421 * sunrpc/rpc_prot.c (rejected): Fix case value.
37423 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37424 unsigned long long int to avoid warnings in shift.
37426 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37428 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37431 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37432 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37433 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37435 * nis/nis_table.c (nis_list): Use variable of correct type for
37436 result of __follow_path call.
37438 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37440 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37441 of math functions ceil, trunc, floor, round, and sqrt, when
37442 avaliable on the platform.
37443 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37445 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37446 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37447 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37449 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37451 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37452 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37454 2011-11-11 Roland McGrath <roland@hack.frob.com>
37456 * include/unistd.h: Fix __readlink return type.
37457 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37459 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37461 * stdlib/ucontext.h: Undo last change for makecontext.
37463 2011-11-11 Andreas Schwab <schwab@redhat.com>
37465 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37467 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37468 * setjmp/setjmp.h: Mark functions as non-leaf.
37469 * setjmp/bits/setjmp2.h: Likewise.
37470 * stdlib/ucontext.h: Likewise.
37472 2011-11-10 Andreas Schwab <schwab@redhat.com>
37474 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37475 (reused_arena): Don't check arena limit.
37476 (arena_get2): Atomically check arena limit.
37478 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37480 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37481 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37486 2011-11-07 Andreas Schwab <schwab@redhat.com>
37488 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37489 handler when locking.
37491 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37492 Fix size of allocated buffer.
37494 2011-11-04 Andreas Schwab <schwab@redhat.com>
37497 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37498 declarations for long double functions.
37499 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37501 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37503 2011-11-03 Andreas Schwab <schwab@redhat.com>
37505 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37508 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37511 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37513 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37515 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37517 * include/alloca.h (stackinfo_alloca_round): Define.
37518 (extend_alloca): Use it.
37519 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37520 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37523 * scripts/check-local-headers.sh: Ignore libaudit.h.
37525 * nscd/Makefile (extra-objs): Make recursively expanded.
37527 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37529 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37530 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37532 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37533 * posix/tst-rfc3484-2.c: Likewise.
37534 * posix/tst-rfc3484-3.c: Likewise.
37536 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37538 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37540 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37541 process_vm_writev from libc using GLIBC_2.15 version.
37543 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37545 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37547 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37550 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37553 * nss/getent.c (initgroups_keys): Show error message in case no group
37556 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37557 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37558 __bump_nl_timestamp.
37559 * nscd/connections (nscd_init): When host database is served open
37560 netlink socket and request notification about configuration changes.
37561 (main_loop_poll): Track netlink file descriptor and bump timestamp
37562 in case data becomes available.
37563 (main_loop_epoll): Likewise.
37564 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37565 (database_pers_head): Add extra_data fileds.
37566 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37567 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37568 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37570 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37571 in6ai data, call __free_in6ai.
37572 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37573 Add -DHAVE_NETLINK.
37574 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37575 interface information. Reuse previous data if netlink timestamp
37577 (__bump_nl_timestamp): New function.
37578 (__free_in6ai): New function.
37580 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37582 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37583 close_not_cancel_no_status here.
37584 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37586 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37589 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37592 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37593 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37594 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37596 2011-07-03 Andreas Jaeger <aj@suse.de>
37599 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37600 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37601 * math/libm-test.inc (sin_test): Add test case.
37603 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37606 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37607 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37609 * elf/chroot_canon.c (chroot_canon): Cleanups.
37611 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37614 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37615 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37617 * string/test-strchr.c: Make usable for strchrnul testing.
37618 * string/test-strchrnul.c: New file.
37619 * string/Makefile (strop-tests): Add strchrnul.
37621 * po/it.po: Update from translation team.
37622 * po/es.po: Likewise.
37624 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37626 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37627 the three constants needed as parameters. Drop the others.
37628 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37629 __m128i_strloadu_tolower.
37630 Create and initialize variable zero and use it in all the places
37631 where _mm_setzero_si128 was used.
37633 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37634 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37635 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37636 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37638 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37639 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37640 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37641 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37642 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37643 __mpranred, __mptan.
37644 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37645 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37646 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37647 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37648 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37649 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37650 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37651 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37652 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37654 2011-10-28 Andreas Schwab <schwab@redhat.com>
37656 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37657 redefine if SHARED.
37658 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37660 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37661 wide char related routines to wcsmbs subdir.
37663 2011-10-27 Andreas Schwab <schwab@redhat.com>
37666 * misc/sys/cdefs.h (__THROWNL): Define.
37667 * posix/unistd.h: Use __THREADNL instead of __THREAD
37668 for memory synchronization functions.
37670 2011-10-26 Roland McGrath <roland@hack.frob.com>
37673 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37675 * manual/stdio.texi (Obstack Streams): Node removed.
37677 2011-10-26 Andreas Schwab <schwab@redhat.com>
37679 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37680 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37681 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37683 * math/math_private.h (math_force_eval): Allow non-addressable
37685 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37687 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37689 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37690 file is not needed.
37692 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37693 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37694 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37695 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37696 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37697 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37698 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37699 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37701 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37702 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37703 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37704 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37705 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37706 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37707 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37708 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37709 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37710 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37711 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37712 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37713 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37714 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37715 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37716 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37717 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37718 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37719 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37721 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37722 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37724 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37725 place. Use VEX encoding when compiling for AVX.
37727 2011-10-25 Andreas Schwab <schwab@redhat.com>
37729 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37730 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37732 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37734 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37736 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37737 useless if() expression.
37738 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37739 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37740 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37741 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37742 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37743 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37744 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37745 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37746 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37747 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37748 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37749 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37750 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37751 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37752 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37753 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37754 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37755 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37756 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37758 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37760 2011-10-25 Andreas Schwab <schwab@redhat.com>
37762 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37764 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37766 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37768 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37769 .text section. Avoid duplicate constants.
37770 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37772 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37774 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37777 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37778 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37779 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37780 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37781 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37782 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37783 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37784 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37785 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37786 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37787 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37788 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37790 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37791 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37792 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37793 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37794 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37795 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37796 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37797 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37798 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37799 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37800 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37801 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37802 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37803 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37804 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37805 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37806 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37807 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37808 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37809 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37810 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37811 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37812 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37813 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37814 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37816 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37818 * sysdeps/x86_64/dla.h: Move to ...
37819 * sysdeps/x86_64/fpu/dla.h: ...here.
37820 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37821 situations. Use __builtin_fma only for gcc 4.6 and up.
37823 * config.make.in: Add have-mfma4 entry.
37824 * configure.in: Substitute libc_cv_cc_fma4.
37825 * math/Makefile (dbl-only-routines): Add sincostab.
37826 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37827 Use __sincostab not sincos.
37828 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37830 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37831 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37832 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37835 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37836 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37837 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37838 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37840 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37841 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37843 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37844 define aliases when function name is a macro.
37845 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37846 sysdeps/ieee754/dbl-64/sincos.tbl.
37847 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37848 fma4-enabled routines.
37849 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37850 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37851 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37852 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37853 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37854 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37855 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37856 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37857 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37858 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37859 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37860 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37861 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37862 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37863 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37864 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37865 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37866 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37867 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37868 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37869 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37870 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37871 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37872 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37873 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37874 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37875 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37876 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37877 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37878 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37880 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37882 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37883 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37888 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37891 2011-10-24 Andreas Schwab <schwab@redhat.com>
37893 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37895 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37897 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37899 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37901 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37903 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37904 Remove unused variable magic_bits.
37905 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37907 * string/strnlen.c: Define and use STRNLEN macro.
37908 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37909 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37910 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37911 * wcsmbs/wcslen.c: Define and use WCSLEN.
37912 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37913 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37914 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37915 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37916 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37917 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37918 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37920 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37923 strnlen-sse2-no-bsf.
37924 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37925 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37926 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37927 Add strnlen support.
37928 (USE_AS_STRNLEN): New macro.
37929 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37930 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37931 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37932 * sysdeps/x86_64/wcslen.S: New file.
37934 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37936 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37937 XMM-moves are used for copying on small sizes.
37939 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37941 * wcsmbs/Makefile (strop-tests): Add wcschr.
37942 * wcsmbs/test-wcschr.c: New file.
37943 * string/test-strchr.c: Update.
37944 Add wcschr support.
37947 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37949 * wcsmbs/Makefile (strop-tests): Add wcslen.
37950 * wcsmbs/test-wcslen.c: New file.
37951 * string/test-strlen.c: Update.
37952 Add wcslen support.
37955 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37957 * po/it.po: Update from translation team.
37959 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37961 * sysdeps/x86_64/wcscmp.S: Update.
37962 Fix wrong comparison semantics.
37963 wcscmp shall use signed comparison not unsigned.
37964 Don't use substraction to avoid overflow bug.
37965 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37966 * wcsmbc/wcscmp.c: Likewise.
37967 * string/test-strcmp.c: Likewise.
37968 Add new tests to check cases with negative values.
37970 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37972 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37973 * sysdeps/x86_64/dla.h: ...here. New file.
37974 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37975 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37979 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37981 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37982 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37984 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37986 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37987 __ynl_finite aliases.
37989 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37993 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37995 [DLA_FMA] (EMULV): Use DLA_FMA.
37996 [DLA_FMA] (MUL12): Use EMULV.
37997 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37998 that are not needed.
37999 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38004 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38005 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38007 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38009 * math/s_nan.c: Undef __nan.
38010 * math/s_nanf.c: Undef __nanf.
38011 * math/s_nanl.c: Undef __nanl.
38012 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38015 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38017 * math/s_catan.c: Add branch predictions.
38018 * math/s_catanf.c: Likewise.
38019 * math/s_catanh.c: Likewise.
38020 * math/s_catanhf.c: Likewise.
38021 * math/s_catanhl.c: Likewise.
38022 * math/s_catanl.c: Likewise.
38023 * math/s_cexp.c: Likewise.
38024 * math/s_cexpf.c: Likewise.
38025 * math/s_cexpl.c: Likewise.
38026 * math/s_clog.c: Likewise.
38027 * math/s_clog10.c: Likewise.
38028 * math/s_clog10f.c: Likewise.
38029 * math/s_clog10l.c: Likewise.
38030 * math/s_clogf.c: Likewise.
38031 * math/s_clogl.c: Likewise.
38032 * math/s_csqrt.c: Likewise.
38033 * math/s_csqrtf.c: Likewise.
38034 * math/s_csqrtl.c: Likewise.
38035 * math/s_ctanf.c: Likewise.
38036 * math/s_ctanh.c: Likewise.
38037 * math/s_ctanhf.c: Likewise.
38038 * math/s_ctanhl.c: Likewise.
38039 * math/s_ctanl.c: Likewise.
38041 * math/math_private.h: Define __nan, __nanf, __nanl.
38042 * math/s_cacosh.c: Include <math_private.h>.
38043 * math/s_cacoshl.c: Likewise.
38044 * math/s_casinh.c: Likewise.
38045 * math/s_casinhf.c: Likewise.
38046 * math/s_casinhl.c: Likewise.
38047 * math/s_ccos.c: Rely entire on ccosh.
38048 * math/s_ccosf.c: Rely entire on ccoshf.
38049 * math/s_ccosl.c: Rely entirely on ccoshl.
38050 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38051 Remove tests for FE_INVALID.
38052 * math/s_ccoshf.c: Likewise.
38053 * math/s_ccoshl.c: Likewise.
38054 * math/s_csin.c: Likewise.
38055 * math/s_csinf.c: Likewise.
38056 * math/s_csinh.c Likewise.
38057 * math/s_csinhf.c: Likewise.
38058 * math/s_csinhl.c: Likewise.
38059 * math/s_csinl.c: Likewise.
38060 * math/s_ctan.c: Likewise.
38061 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38062 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38063 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38065 2011-10-21 Ulrich Drepper <drepper@gmail.com>
38067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38068 compilation problems.
38070 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38073 2011-10-20 Ulrich Drepper <drepper@gmail.com>
38075 * sysdeps/i386/configure.in: Test for -mfma4 option.
38076 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38077 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38078 COMMON_CPUID_INDEX_80000001.
38079 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38080 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38081 use it if FMA3 is not supported.
38082 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38084 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38085 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38087 2011-10-20 Andreas Schwab <schwab@redhat.com>
38090 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38091 it would create a cycle with a link time dependency.
38093 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38095 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38097 * string/Makefile (strop-tests): Add rawmemchr.
38098 * string/test-rawmemchr.c: New file.
38100 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38101 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38102 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38103 when compiling str{,n}casecmp and when AVX is available. Hook up
38104 new optimized code in initializers.
38106 2011-10-19 Andreas Schwab <schwab@redhat.com>
38108 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38109 __feraiseexcept instead of feraiseexcept.
38111 2011-10-18 Ulrich Drepper <drepper@gmail.com>
38113 * math/math_private.h: Define defaults for libc_fetestexcept and
38115 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38116 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38117 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38118 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38119 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38120 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38121 libc_fetestexcept and libc_feupdateenv.
38123 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38124 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38125 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38126 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38127 libc_feholdexcept_setround.
38129 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38130 Add s_nearbyint-c and s_nearbyintf-c.
38131 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38132 nearbyintf inlines.
38133 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38134 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38135 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38136 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38138 * math/math_private.h: Define defaults for libc_fegetround,
38139 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38140 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38141 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38142 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38143 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38144 standard functions.
38145 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38146 Remove comments and hacks for old compiler versions.
38147 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38148 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38149 libc_feholdexceptl.
38151 2011-10-18 Andreas Schwab <schwab@redhat.com>
38153 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38154 (__feraiseexcept_renamed): Add __NTH.
38155 (feraiseexcept): Add __NTH. Rename local variables to fix
38156 namespace violations.
38158 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38160 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38162 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38164 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38165 recently added interfaces.
38166 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38168 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38169 about macro parameter expansion.
38171 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38172 __NO_MATH_INLINES is defined. Cleanups.
38174 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38175 and __floorf is target has SSE4.1.
38176 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38177 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38178 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38179 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38181 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38183 (floorf): Likewise.
38185 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38187 2011-10-17 Andreas Schwab <schwab@redhat.com>
38189 * misc/sys/cdefs.h: Fix last change.
38191 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38194 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38196 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38198 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38199 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38200 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38201 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38202 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38203 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38204 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38205 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38206 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38207 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38208 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38209 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38210 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38211 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38212 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38213 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38214 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38215 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38216 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38217 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38218 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38219 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38221 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38222 ceil, ceilf, floor, floorf.
38224 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38225 Perform IRELATIVE relocations last.
38227 * elf/do-rel.h: Add another parameter nrelative, replacing the
38228 local variable with the same name. Change name of the function
38229 to end in Rel or Rela (uppercase).
38230 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38231 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38232 elf_dynamic_do_##reloc function.
38234 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38236 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38237 is sufficient, at least on modern CPUs.
38239 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38241 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38242 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38244 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38246 * math/bits/math-finite.h: Add entries for exp.
38247 * math/e_expl.c: Add __*_finite alias.
38248 * sysdeps/i386/fpu/e_exp.S: Likewise.
38249 * sysdeps/i386/fpu/e_expf.S: Likewise.
38250 * sysdeps/i386/fpu/e_expl.c: Likewise.
38251 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38252 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38253 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38254 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38255 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38256 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38257 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38259 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38260 is sufficient, at least on modern CPUs.
38262 * ctype/ctype-info.c (__ctype_init): Define.
38263 * include/ctype.h (__ctype_init): Declare.
38264 (__ctype_b_loc): The variable is always initialized.
38265 (__ctype_toupper_loc): Likewise.
38266 (__ctype_tolower_loc): Likewise.
38267 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38268 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38270 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38272 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38274 * configure.in: Also look in $cxxmachine/include for C++ system
38277 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38279 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38280 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38281 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38282 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38283 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38284 (USE_AS_WMEMCMP): New macro.
38286 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38287 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38288 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38289 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38291 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38292 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38293 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38294 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38295 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38296 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38297 (USE_AS_WMEMCMP): New macro.
38298 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38299 * sysdeps/string/test-memcmp.c: Update.
38300 Fix simple_wmemcmp.
38302 * wcsmbs/wmemcmp.c: Update.
38303 (WMEMCMP): New macro.
38306 2011-10-12 Andreas Jaeger <aj@suse.de>
38309 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38311 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38313 * libio/iofwide.c (do_length): Avoid warning.
38315 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38317 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38319 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38321 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38322 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38323 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38324 * sysdeps/i386/i686/fpu/e_log.S: New file.
38325 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38326 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38328 * ctype/ctype.h: Add support for inlined isXXX functions when
38329 compiling C++ code.
38331 2011-10-14 Andreas Schwab <schwab@redhat.com>
38333 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38335 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38337 2011-10-13 Roland McGrath <roland@hack.frob.com>
38340 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38342 2011-10-13 Andreas Schwab <schwab@redhat.com>
38344 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38345 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38348 * sysdeps/x86_64/memrchr.S: Check for zero size.
38350 * string/stratcliff.c: Add memrchr tests.
38352 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38355 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38356 rawmemchr-sse2 rawmemchr-sse2-bsf.
38357 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38358 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38359 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38360 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38361 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38362 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38363 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38364 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38365 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38366 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38367 * string/memrchr.c (MEMRCHR): New macro.
38369 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38371 Add integration with gcc's -ffinite-math-only and optimize wrapper
38373 * Versions.def: Define GLIBC_2.15 version for libm.
38374 * math/Makefile (headers): Add bits/math-finite.h.
38375 * math/bits/math-finite.h: New file.
38376 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38377 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38378 * math/e_acoshl.c: Add __*_finite alias.
38379 * math/e_acosl.c: Likewise.
38380 * math/e_asinl.c: Likewise.
38381 * math/e_atan2l.c: Likewise.
38382 * math/e_atanhl.c: Likewise.
38383 * math/e_coshl.c: Likewise.
38384 * math/e_exp10.c: Likewise.
38385 * math/e_exp10f.c: Likewise.
38386 * math/e_exp10l.c: Likewise.
38387 * math/e_exp2l.c: Likewise.
38388 * math/e_fmodl.c: Likewise.
38389 * math/e_gammal_r.c: Likewise.
38390 * math/e_hypotl.c: Likewise.
38391 * math/e_j0l.c: Likewise.
38392 * math/e_j1l.c: Likewise.
38393 * math/e_jnl.c: Likewise.
38394 * math/e_lgammal_r.c: Likewise.
38395 * math/e_log10l.c: Likewise.
38396 * math/e_log2l.c: Likewise.
38397 * math/e_logl.c: Likewise.
38398 * math/e_powl.c: Likewise.
38399 * math/e_sinhl.c: Likewise.
38400 * math/e_sqrtl.c: Likewise.
38401 * math/e_scalb.c: Completely rewritten and optimized.
38402 * math/e_scalbf.c: Likewise.
38403 * math/e_scalbl.c: Likewise.
38404 * math/w_acos.c: Likewise.
38405 * math/w_acosf.c: Likewise.
38406 * math/w_acosl.c: Likewise.
38407 * math/w_acosh.c: Likewise.
38408 * math/w_acoshf.c: Likewise.
38409 * math/w_acoshl.c: Likewise.
38410 * math/w_asin.c: Likewise.
38411 * math/w_asinf.c: Likewise.
38412 * math/w_asinl.c: Likewise.
38413 * math/w_atan2.c: Likewise.
38414 * math/w_atan2f.c: Likewise.
38415 * math/w_atan2l.c: Likewise.
38416 * math/w_atanh.c: Likewise.
38417 * math/w_atanhf.c: Likewise.
38418 * math/w_atanhl.c: Likewise.
38419 * math/w_exp10.c: Likewise.
38420 * math/w_exp10f.c: Likewise.
38421 * math/w_exp10l.c: Likewise.
38422 * math/w_fmod.c: Likewise.
38423 * math/w_fmodf.c: Likewise.
38424 * math/w_fmodl.c: Likewise.
38425 * math/w_j0.c: Likewise.
38426 * math/w_j0f.c: Likewise.
38427 * math/w_j0l.c: Likewise.
38428 * math/w_j1.c: Likewise.
38429 * math/w_j1f.c: Likewise.
38430 * math/w_j1l.c: Likewise.
38431 * math/w_jn.c: Likewise.
38432 * math/w_jnf.c: Likewise.
38433 * math/w_log.c: Likewise.
38434 * math/w_logf.c: Likewise.
38435 * math/w_logl.c: Likewise.
38436 * math/w_log10.c: Likewise.
38437 * math/w_log10f.c: Likewise.
38438 * math/w_log10l.c: Likewise.
38439 * math/w_log2.c: Likewise.
38440 * math/w_log2f.c: Likewise.
38441 * math/w_log2l.c: Likewise.
38442 * math/w_pow.c: Likewise.
38443 * math/w_powf.c: Likewise.
38444 * math/w_powl.c: Likewise.
38445 * math/w_remainder.c: Likewise.
38446 * math/w_remainderf.c: Likewise.
38447 * math/w_remainderl.c: Likewise.
38448 * math/w_scalb.c: Likewise.
38449 * math/w_scalbf.c: Likewise.
38450 * math/w_scalbl.c: Likewise.
38451 * math/w_sqrt.c: Likewise.
38452 * math/w_sqrtf.c: Likewise.
38453 * math/w_sqrtl.c: Likewise.
38454 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38455 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38457 * math/math_private.h: Declare __kernel_standard_f.
38458 * math/w_cosh.c: Remove cruft and optimize a bit.
38459 * math/w_coshf.c: Likewise.
38460 * math/w_coshl.c: Likewise.
38461 * math/w_exp2.c: Likewise.
38462 * math/w_exp2f.c: Likewise.
38463 * math/w_exp2l.c: Likewise.
38464 * math/w_hypot.c: Likewise.
38465 * math/w_hypotf.c: Likewise.
38466 * math/w_hypotl.c: Likewise.
38467 * math/w_lgamma.c: Likewise.
38468 * math/w_lgamma_r.c: Likewise.
38469 * math/w_lgammaf.c: Likewise.
38470 * math/w_lgammaf_r.c: Likewise.
38471 * math/w_lgammal.c: Likewise.
38472 * math/w_lgammal_r.c: Likewise.
38473 * math/w_sinh.c: Likewise.
38474 * math/w_sinhf.c: Likewise.
38475 * math/w_sinhl.c: Likewise.
38476 * math/w_tgamma.c: Likewise.
38477 * math/w_tgammaf.c: Likewise.
38478 * math/w_tgammal.c: Likewise.
38479 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38480 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38481 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38482 Minor optimizations. Pretty printing. Remove cruft.
38483 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38484 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38485 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38486 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38487 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38488 * sysdeps/i386/fpu/e_asin.S: Likewise.
38489 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38490 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38491 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38492 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38493 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38494 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38495 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38496 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38497 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38498 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38499 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38500 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38501 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38502 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38503 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38504 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38505 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38506 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38507 * sysdeps/i386/fpu/e_log.S: Likewise.
38508 * sysdeps/i386/fpu/e_log10.S: Likewise.
38509 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38510 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38511 * sysdeps/i386/fpu/e_log2.S: Likewise.
38512 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38513 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38514 * sysdeps/i386/fpu/e_logf.S: Likewise.
38515 * sysdeps/i386/fpu/e_logl.S: Likewise.
38516 * sysdeps/i386/fpu/e_pow.S: Likewise.
38517 * sysdeps/i386/fpu/e_powf.S: Likewise.
38518 * sysdeps/i386/fpu/e_powl.S: Likewise.
38519 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38520 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38521 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38522 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38523 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38524 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38525 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38526 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38527 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38528 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38529 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38530 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38531 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38532 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38533 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38534 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38535 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38536 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38537 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38538 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38539 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38541 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38542 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38544 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38545 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38546 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38547 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38548 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38549 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38550 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38551 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38552 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38553 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38554 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38555 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38556 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38557 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38558 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38559 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38560 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38561 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38562 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38563 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38564 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38565 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38566 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38567 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38568 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38569 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38570 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38571 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38572 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38573 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38574 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38575 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38576 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38577 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38578 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38579 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38580 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38581 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38582 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38583 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38584 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38585 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38586 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38587 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38588 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38589 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38590 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38591 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38592 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38593 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38594 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38595 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38596 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38597 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38598 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38599 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38600 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38601 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38602 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38603 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38604 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38605 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38606 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38607 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38608 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38609 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38610 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38611 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38612 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38613 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38614 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38615 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38616 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38617 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38618 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38619 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38620 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38621 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38622 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38623 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38624 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38625 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38626 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38627 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38628 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38629 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38630 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38631 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38632 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38633 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38634 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38635 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38636 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38637 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38638 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38639 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38640 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38641 (__isnanf): Likewise.
38642 (__isinf_ns): Likewise.
38643 (__isinf_nsf): Likewise.
38644 (__finite): Likewise.
38645 (__finitef): Likewise.
38646 (__ieee754_sqrt): Define as macro.
38647 (__ieee754_sqrtf): Define as macro.
38648 (__ieee754_sqrtl): Define as macro.
38649 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38651 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38652 __FINITE_MATH_ONLY__ consistent.
38653 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38655 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38657 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38660 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38662 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38664 * po/ja.po: Update from translation team.
38666 2011-10-08 Roland McGrath <roland@hack.frob.com>
38668 * locale/programs/locarchive.c (prepare_address_space): New function.
38669 (create_archive, enlarge_archive, open_archive): Use it.
38671 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38672 inside [SHARED], where it is used.
38674 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38676 * nss/getent.c (netgroup_keys): Remove unused variable.
38677 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38679 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38681 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38682 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38683 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38684 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38685 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38686 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38687 * math/Makefile (libm-calls): Add s_isinf_ns.
38688 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38689 * math/multc3.c: Likewise.
38690 * math/s_casin.c: Likewise.
38691 * math/s_casinf.c: Likewise.
38692 * math/s_casinl.c: Likewise.
38693 * math/s_ccos.c: Likewise.
38694 * math/s_ccosf.c: Likewise.
38695 * math/s_ccosl.c: Likewise.
38696 * math/s_ctan.c: Likewise.
38697 * math/s_ctanf.c: Likewise.
38698 * math/s_ctanh.c: Likewise.
38699 * math/s_ctanhf.c: Likewise.
38700 * math/s_ctanhl.c: Likewise.
38701 * math/s_ctanl.c: Likewise.
38702 * math/w_fmod.c: Likewise.
38703 * math/w_fmodf.c: Likewise.
38704 * math/w_fmodl.c: Likewise.
38705 * math/w_remainder.c: Likewise.
38706 * math/w_remainderf.c: Likewise.
38707 * math/w_remainderl.c: Likewise.
38708 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38709 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38710 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38711 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38712 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38713 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38714 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38715 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38717 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38719 * stdio-common/printf_fphex.c: Likewise.
38720 * stdio-common/printf_size.c: Likewise.
38722 * math/e_exp10.c: Include math_private.h using <...> not "...".
38723 * math/e_exp10f.c: Likewise.
38724 * math/e_exp10l.c: Likewise.
38725 * math/e_exp2l.c: Likewise.
38726 * math/e_j0l.c: Likewise.
38727 * math/e_j1l.c: Likewise.
38728 * math/e_jnl.c: Likewise.
38729 * math/e_lgammal_r.c: Likewise.
38730 * math/e_rem_pio2l.c: Likewise.
38731 * math/e_scalb.c: Likewise.
38732 * math/e_scalbf.c: Likewise.
38733 * math/e_scalbl.c: Likewise.
38734 * math/k_cosl.c: Likewise.
38735 * math/k_sinl.c: Likewise.
38736 * math/k_tanl.c: Likewise.
38737 * math/s_cacoshf.c: Likewise.
38738 * math/s_catan.c: Likewise.
38739 * math/s_catanf.c: Likewise.
38740 * math/s_catanh.c: Likewise.
38741 * math/s_catanhf.c: Likewise.
38742 * math/s_catanhl.c: Likewise.
38743 * math/s_catanl.c: Likewise.
38744 * math/s_ccosh.c: Likewise.
38745 * math/s_ccoshf.c: Likewise.
38746 * math/s_ccoshl.c: Likewise.
38747 * math/s_cexp.c: Likewise.
38748 * math/s_cexpf.c: Likewise.
38749 * math/s_cexpl.c: Likewise.
38750 * math/s_clog.c: Likewise.
38751 * math/s_clog10.c: Likewise.
38752 * math/s_clog10f.c: Likewise.
38753 * math/s_clog10l.c: Likewise.
38754 * math/s_clogf.c: Likewise.
38755 * math/s_clogl.c: Likewise.
38756 * math/s_csin.c: Likewise.
38757 * math/s_csinf.c: Likewise.
38758 * math/s_csinh.c: Likewise.
38759 * math/s_csinhf.c: Likewise.
38760 * math/s_csinhl.c: Likewise.
38761 * math/s_csinl.c: Likewise.
38762 * math/s_csqrt.c: Likewise.
38763 * math/s_csqrtf.c: Likewise.
38764 * math/s_csqrtl.c: Likewise.
38765 * math/s_ctan.c: Likewise.
38766 * math/s_ctanf.c: Likewise.
38767 * math/s_ctanh.c: Likewise.
38768 * math/s_ctanhf.c: Likewise.
38769 * math/s_ctanhl.c: Likewise.
38770 * math/s_ctanl.c: Likewise.
38771 * math/s_ldexp.c: Likewise.
38772 * math/s_ldexpf.c: Likewise.
38773 * math/s_ldexpl.c: Likewise.
38774 * math/s_significand.c: Likewise.
38775 * math/s_significandf.c: Likewise.
38776 * math/s_significandl.c: Likewise.
38777 * math/w_acos.c: Likewise.
38778 * math/w_acosf.c: Likewise.
38779 * math/w_acosh.c: Likewise.
38780 * math/w_acoshf.c: Likewise.
38781 * math/w_acoshl.c: Likewise.
38782 * math/w_acosl.c: Likewise.
38783 * math/w_asin.c: Likewise.
38784 * math/w_asinf.c: Likewise.
38785 * math/w_asinl.c: Likewise.
38786 * math/w_atan2.c: Likewise.
38787 * math/w_atan2f.c: Likewise.
38788 * math/w_atan2l.c: Likewise.
38789 * math/w_atanh.c: Likewise.
38790 * math/w_atanhf.c: Likewise.
38791 * math/w_atanhl.c: Likewise.
38792 * math/w_cosh.c: Likewise.
38793 * math/w_coshf.c: Likewise.
38794 * math/w_coshl.c: Likewise.
38795 * math/w_dremf.c: Likewise.
38796 * math/w_exp10.c: Likewise.
38797 * math/w_exp10f.c: Likewise.
38798 * math/w_exp10l.c: Likewise.
38799 * math/w_exp2.c: Likewise.
38800 * math/w_exp2f.c: Likewise.
38801 * math/w_fmod.c: Likewise.
38802 * math/w_fmodf.c: Likewise.
38803 * math/w_fmodl.c: Likewise.
38804 * math/w_hypot.c: Likewise.
38805 * math/w_hypotf.c: Likewise.
38806 * math/w_hypotl.c: Likewise.
38807 * math/w_j0.c: Likewise.
38808 * math/w_j0f.c: Likewise.
38809 * math/w_j0l.c: Likewise.
38810 * math/w_j1.c: Likewise.
38811 * math/w_j1f.c: Likewise.
38812 * math/w_j1l.c: Likewise.
38813 * math/w_jn.c: Likewise.
38814 * math/w_jnf.c: Likewise.
38815 * math/w_jnl.c: Likewise.
38816 * math/w_lgamma.c: Likewise.
38817 * math/w_lgamma_r.c: Likewise.
38818 * math/w_lgammaf.c: Likewise.
38819 * math/w_lgammaf_r.c: Likewise.
38820 * math/w_lgammal.c: Likewise.
38821 * math/w_lgammal_r.c: Likewise.
38822 * math/w_log.c: Likewise.
38823 * math/w_log10.c: Likewise.
38824 * math/w_log10f.c: Likewise.
38825 * math/w_log10l.c: Likewise.
38826 * math/w_log2.c: Likewise.
38827 * math/w_log2f.c: Likewise.
38828 * math/w_log2l.c: Likewise.
38829 * math/w_logf.c: Likewise.
38830 * math/w_logl.c: Likewise.
38831 * math/w_pow.c: Likewise.
38832 * math/w_powf.c: Likewise.
38833 * math/w_powl.c: Likewise.
38834 * math/w_remainder.c: Likewise.
38835 * math/w_remainderf.c: Likewise.
38836 * math/w_remainderl.c: Likewise.
38837 * math/w_scalb.c: Likewise.
38838 * math/w_scalbf.c: Likewise.
38839 * math/w_scalbl.c: Likewise.
38840 * math/w_sinh.c: Likewise.
38841 * math/w_sinhf.c: Likewise.
38842 * math/w_sinhl.c: Likewise.
38843 * math/w_sqrt.c: Likewise.
38844 * math/w_sqrtf.c: Likewise.
38845 * math/w_sqrtl.c: Likewise.
38846 * math/w_tgamma.c: Likewise.
38847 * math/w_tgammaf.c: Likewise.
38848 * math/w_tgammal.c: Likewise.
38850 * po/ja.po: Update from translation team.
38852 2011-09-29 Andreas Jaeger <aj@suse.de>
38855 * sunrpc/netname.c (netname2host): Fix logic.
38859 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38861 * math/w_remainder.c (__remainder): Likewise.
38862 * math/w_remainderf.c (__remainderf): Likewise.
38863 * math/libm-test.inc (remainder_test): Add test cases.
38865 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38867 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38870 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38872 * string/test-memcmp.c: Avoid unncessary #defines.
38873 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38875 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38877 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38878 Use new sse2 version for core i3 - i7 as it's faster
38879 than sse42 version.
38880 (bit_Prefer_PMINUB_for_stringop): New.
38881 * sysdeps/x86_64/rawmemchr.S: Update.
38882 Replace with faster SSE2 version.
38883 * sysdeps/x86_64/memrchr.S: New file.
38884 * sysdeps/x86_64/memchr.S: Update.
38885 Replace with faster SSE2 version.
38887 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38889 * elf/dl-load.c (lose): Add cast to avoid warning.
38891 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38893 * po/ca.po: Update from translation team.
38895 * inet/getnetgrent_r.c: Hook up nscd.
38896 * nscd/Makefile (routines): Add nscd_netgroup.
38897 (nscd-modules): Add netgroupcache.
38898 (CFLAGS-netgroupcache.c): Define.
38899 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38900 (cache_search): Add const to second parameter.
38901 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38903 (dbs): Add netgrdb entry.
38904 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38905 (verify_persistent_db): Handle netgrdb.
38906 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38907 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38909 (netgroup_response_header): Define.
38910 (innetgroup_response_header): Define.
38911 (datahead): Add netgroup_response_header and innetgroup_response_header
38913 * nscd/nscd.conf: Add entries for netgroup cache.
38914 * nscd/nscd.h (dbtype): Add netgrdb.
38915 (_PATH_NSCD_NETGROUP_DB): Define.
38916 (netgroup_iov_disabled): Declare.
38917 (xmalloc, xcalloc, xrealloc): Move declarations here.
38918 (cache_search): Adjust prototype.
38919 Add netgroup-related prototypes.
38920 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38921 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38922 (__nscd_innetgr): Declare.
38923 * nscd/selinux.c (perms): Use access_vector_t as element type and
38924 add netgroup-related initializers.
38925 * nscd/netgroupcache.c: New file.
38926 * nscd/nscd_netgroup.c: New file.
38927 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38928 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38929 For four parameters use innetgr.
38930 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38931 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38932 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38933 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38935 * nscd/connections.c (register_traced_file): Don't register file
38936 for disabled databases.
38938 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38940 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38942 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38943 from tree and freeing node.
38945 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38947 * nss/nsswitch.c (__nss_database_lookup): Handle
38948 nss_parse_service_list out of memory case.
38950 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38952 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38953 out of memory case.
38955 2011-10-04 Andreas Schwab <schwab@redhat.com>
38957 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38958 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38960 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38961 elf_machine_rela, elf_machine_lazy_rel.
38962 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38963 (ELF_DYNAMIC_DO_REL): Likewise.
38964 (ELF_DYNAMIC_DO_RELA): Likewise.
38965 (ELF_DYNAMIC_RELOCATE): Likewise.
38966 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38967 to ELF_DYNAMIC_DO_REL.
38968 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38969 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38970 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38972 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38973 skip_ifunc, don't call ifunc function if non-zero.
38974 (elf_machine_rela): Likewise.
38975 (elf_machine_lazy_rel): Likewise.
38976 (elf_machine_lazy_rela): Likewise.
38977 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38978 (elf_machine_lazy_rel): Likewise.
38979 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38981 (elf_machine_lazy_rel): Likewise.
38982 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38984 (elf_machine_lazy_rel): Likewise.
38985 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38986 (elf_machine_lazy_rel): Likewise.
38987 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38988 (elf_machine_lazy_rel): Likewise.
38989 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38990 (elf_machine_lazy_rel): Likewise.
38991 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38992 (elf_machine_lazy_rel): Likewise.
38993 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38994 (elf_machine_lazy_rel): Likewise.
38995 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38996 (elf_machine_lazy_rel): Likewise.
38998 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39000 * nss/nss_files/files-init.c (_nss_files_init): Use static
39001 initialization for all the *_traced_file variables.
39003 2011-09-28 Andreas Schwab <schwab@redhat.com>
39005 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39007 2011-09-27 Roland McGrath <roland@hack.frob.com>
39010 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39012 2011-09-27 Andreas Schwab <schwab@redhat.com>
39014 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39015 Reread the line before reparsing it.
39017 2011-09-26 Andreas Schwab <schwab@redhat.com>
39019 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39021 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39022 Maxim Kuvyrkov <maxim@codesourcery.com>
39023 Joseph Myers <joseph@codesourcery.com>
39025 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39026 if needed for __stack_chk_guard.
39028 2011-09-19 Roland McGrath <roland@hack.frob.com>
39030 * sysdeps/posix/spawni.c (script_execute): Always define it.
39031 It will be optimized away if unused.
39032 (maybe_script_execute): New function.
39033 (__spawni): Call it.
39035 * Makerules: Don't include tls.make.
39036 (config-tls): Always set to thread.
39037 * tls.make.c: File removed.
39039 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39041 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39042 * config.make.in (CPPFLAGS-config): New substituted variable.
39044 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39046 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39049 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39050 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39052 2011-09-15 Roland McGrath <roland@hack.frob.com>
39054 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39055 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39057 (CALL_FAIL): Likewise.
39058 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39059 (CALL_FAIL): Macro removed.
39060 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39062 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39064 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39065 for __FINITE_MATH_ONLY__ == 1.
39067 2011-09-15 Andreas Schwab <schwab@redhat.com>
39069 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39070 __ieee754_sqrt instead of sqrt.
39071 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39072 __ieee754_sqrtf instead of sqrtf.
39073 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39074 __floorf instead of floorf.
39075 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39076 __floorf, __truncf instead of floorf, truncf.
39078 2011-09-14 Ulrich Drepper <drepper@gmail.com>
39080 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39082 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39083 __extern_always_inline.
39084 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39087 2011-09-14 Andreas Schwab <schwab@redhat.com>
39089 * elf/rtld.c (dl_main): Also relocate in dependency order when
39090 doing symbol dependency testing.
39092 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39094 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39095 Always define `refsym'.
39097 2011-09-13 Andreas Schwab <schwab@redhat.com>
39099 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39100 (__FD_ELT): Renamed from __FDELT.
39101 * misc/bits/select2.h (__FD_ELT): Likewise.
39102 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39103 __FD_MASK instead of __FDELT, __FDMASK.
39104 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39106 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39109 * elf/Makefile (gen-ldd): Fix pattern.
39111 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39112 (init_tls): Likewise.
39114 2011-09-12 Ulrich Drepper <drepper@gmail.com>
39116 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39118 2011-09-12 Andreas Schwab <schwab@redhat.com>
39120 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39121 `struct cmsghdr *' instead of `void *'.
39122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39125 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39127 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39129 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39130 ldd_rewrite_script.
39132 2011-09-11 Ulrich Drepper <drepper@gmail.com>
39134 * configure.in: Remove --with-tls option.
39135 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39136 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39137 out in case it is missing.
39138 * sysdeps/ia64/elf/configure.in: Likewise.
39139 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39140 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39141 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39142 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39143 * sysdeps/sh/elf/configure.in: Likewise.
39144 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39145 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39146 * sysdeps/x86_64/elf/configure.in: Likewise.
39147 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39148 * sysdeps/mach/hurd/tls.h: Likewise.
39151 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39154 * configure.in: Fix use of AC_INIT.
39156 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39158 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39160 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39162 * malloc/hooks.c: Likewise.
39165 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39166 variables statically.
39167 (narenas): Initialize.
39168 (list_lock): Initialize.
39169 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39170 initializtion of main_arena and list_lock. Small cleanups.
39171 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39172 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39173 Add initializers to main_arena and mp_.
39174 (malloc_state): Remove pagesize member. Change all users to use
39177 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39178 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39179 is always initialized.
39181 * malloc/malloc.c: Removed unused configurations and dead code.
39182 * malloc/arena.c: Likewise.
39183 * malloc/hooks.c: Likewise.
39184 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39186 * include/tls.h: Removed. USE___THREAD must always be defined.
39187 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39188 * elf/dl-libc.c: Likewise.
39189 * elf/dl-tsd.c: Likewise.
39190 * include/errno.h: Likewise.
39191 * include/netdb.h: Likewise.
39192 * include/resolv.h: Likewise.
39193 * inet/herrno-loc.c: Likewise.
39194 * inet/herrno.c: Likewise.
39195 * malloc/arena.c: Likewise.
39196 * malloc/hooks.c: Likewise.
39197 * malloc/malloc.c: Likewise.
39198 * resolv/res-state.c: Likewise.
39199 * resolv/res_libc.c: Likewise.
39200 * sysdeps/i386/dl-machine.h: Likewise.
39201 * sysdeps/ia64/dl-machine.h: Likewise.
39202 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39203 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39204 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39205 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39206 * sysdeps/sh/dl-machine.h: Likewise.
39207 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39208 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39209 * sysdeps/unix/i386/sysdep.S: Likewise.
39210 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39211 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39212 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39213 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39214 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39215 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39216 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39218 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39219 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39220 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39221 * sysdeps/x86_64/dl-machine.h: Likewise.
39222 * tls.make.c: Likewise.
39224 * configure.in: Remove --with-__thread option. Make tests for
39225 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39226 tls_model attribute fail if no support is available. Remove
39228 * Makeconfig: Adjust for dropped configure option. All features are
39230 * Makerules: Likewise.
39231 * Versions.def: Likewise.
39232 * argp/argp-fmtstream.c: Likewise.
39233 * argp/argp-fmtstream.h: Likewise.
39234 * argp/argp-help.c: Likewise.
39235 * assert/assert.c: Likewise.
39236 * config.h.in: Likewise.
39237 * config.make.in: Likewise.
39238 * configure: Likewise.
39239 * configure.in: Likewise.
39240 * csu/Versions: Likewise.
39241 * csu/init.c: Likewise.
39242 * elf/tst-audit2.c: Likewise.
39243 * elf/tst-tls10.c: Likewise.
39244 * elf/tst-tls10.h: Likewise.
39245 * elf/tst-tls11.c: Likewise.
39246 * elf/tst-tls12.c: Likewise.
39247 * elf/tst-tls14.c: Likewise.
39248 * elf/tst-tlsmod11.c: Likewise.
39249 * elf/tst-tlsmod12.c: Likewise.
39250 * elf/tst-tlsmod13.c: Likewise.
39251 * elf/tst-tlsmod13a.c: Likewise.
39252 * elf/tst-tlsmod14a.c: Likewise.
39253 * elf/tst-tlsmod15b.c: Likewise.
39254 * elf/tst-tlsmod16a.c: Likewise.
39255 * elf/tst-tlsmod16b.c: Likewise.
39256 * elf/tst-tlsmod7.c: Likewise.
39257 * elf/tst-tlsmod8.c: Likewise.
39258 * elf/tst-tlsmod9.c: Likewise.
39259 * gmon/gmon.c: Likewise.
39260 * grp/fgetgrent_r.c: Likewise.
39261 * grp/putgrent.c: Likewise.
39262 * hurd/fopenport.c: Likewise.
39263 * include/libc-symbols.h: Likewise.
39264 * include/tls.h: Likewise.
39265 * intl/gettextP.h: Likewise.
39266 * intl/loadinfo.h: Likewise.
39267 * locale/global-locale.c: Likewise.
39268 * locale/localeinfo.h: Likewise.
39269 * mach/devstream.c: Likewise.
39270 * malloc/arena.c: Likewise.
39271 * malloc/set-freeres.c: Likewise.
39272 * misc/err.c: Likewise.
39273 * misc/getttyent.c: Likewise.
39274 * misc/mntent_r.c: Likewise.
39275 * posix/getopt.c: Likewise.
39276 * posix/wordexp.c: Likewise.
39277 * pwd/fgetpwent_r.c: Likewise.
39278 * resolv/Versions: Likewise.
39279 * resolv/res_hconf.c: Likewise.
39280 * shadow/fgetspent_r.c: Likewise.
39281 * shadow/putspent.c: Likewise.
39282 * stdio-common/printf_fphex.c: Likewise.
39283 * stdio-common/tmpfile.c: Likewise.
39284 * stdlib/abort.c: Likewise.
39285 * stdlib/fmtmsg.c: Likewise.
39286 * sunrpc/auth_unix.c: Likewise.
39287 * sunrpc/clnt_perr.c: Likewise.
39288 * sunrpc/clnt_tcp.c: Likewise.
39289 * sunrpc/clnt_udp.c: Likewise.
39290 * sunrpc/clnt_unix.c: Likewise.
39291 * sunrpc/openchild.c: Likewise.
39292 * sunrpc/svc_simple.c: Likewise.
39293 * sunrpc/svc_tcp.c: Likewise.
39294 * sunrpc/svc_udp.c: Likewise.
39295 * sunrpc/svc_unix.c: Likewise.
39296 * sunrpc/xdr.c: Likewise.
39297 * sunrpc/xdr_array.c: Likewise.
39298 * sunrpc/xdr_rec.c: Likewise.
39299 * sunrpc/xdr_ref.c: Likewise.
39300 * sunrpc/xdr_stdio.c: Likewise.
39302 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39304 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39306 2011-07-03 Andreas Jaeger <aj@suse.de>
39308 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39309 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39310 regenerate with gen-libm-tests.pl.
39312 2010-05-12 Petr Baudis <pasky@suse.cz>
39315 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39316 around j0() zero points by switching to j1().
39317 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39318 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39319 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39320 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39322 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39324 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39326 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39329 Patch in part by Pavel Roskin <proski@gnu.org>.
39332 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39334 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39335 Free memory block if necessary.
39338 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39339 be NULL. Don't lock in this case.
39341 2011-09-09 Roland McGrath <roland@hack.frob.com>
39343 * elf/elf.h (ELFOSABI_GNU): New macro.
39344 (ELFOSABI_LINUX): Define to that.
39346 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39348 * string/strncat.c (strncat): Undef the symbol in case it has been
39349 defined in bits/string.h.
39351 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39353 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39355 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39358 2011-08-17 Andreas Jaeger <aj@suse.de>
39360 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39362 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39363 Ian Lance Taylor <iant@google.com>
39365 * math/libm-test.inc (lround_test): New testcase.
39366 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39368 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39370 * Makefile: Remove support for automatic cvs check-ins.
39371 * Makerules: Likewise.
39372 * config.make.in: Likewise.
39373 * configure.in: Likewise.
39374 * intl/Makefile: Likewise.
39375 * locale/Makefile: Likewise.
39376 * po/Makefile: Likewise.
39377 * posix/Makefile: Likewise.
39378 * sysdeps/gnu/Makefile: Likewise.
39379 * sysdeps/mach/hurd/Makefile: Likewise.
39380 * sysdeps/sparc/sparc32/Makefile: Likewise.
39383 * posix/Makefile (bug-regex32-ENV): Define.
39384 Patch by John Stanley <jpsinthemix@verizon.net>.
39386 * misc/Makefile (headers): Add bits/select2.h.
39387 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39388 * misc/bits/select2.h: New file.
39389 * include/bits/select2.h: New file.
39390 * debug/Makefile (routines): Add fdelt_chk.
39391 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39392 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39394 * debug/fdelt_chk.c: New file.
39396 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39397 * wcsmbs/test-wmemcmp.c: Likewise.
39398 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39399 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39401 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39403 * string/Makefile (strop-tests): Add memcmp.
39404 * string/test-wmemcmp.c: New file.
39405 * string/test-memcmp.c: Add wmemcmp support.
39407 2011-09-08 Roland McGrath <roland@hack.frob.com>
39410 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39413 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39414 garbage value in a __mach_port_mod_refs call in the cases of the
39415 task-self and thread-self ports.
39417 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39419 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39421 2011-09-08 Andreas Schwab <schwab@redhat.com>
39423 * elf/dl-load.c (lose): Check for non-null L.
39425 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39427 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39429 * elf/dl-libc.c (dlerror_run): Pass back error code from
39433 * elf/dl-load.c (lose): Free l_origin if it is valid.
39435 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39437 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39438 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39439 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39440 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39441 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39442 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39444 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39446 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39447 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39448 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39449 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39450 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39451 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39452 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39453 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39454 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39455 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39457 2011-08-15 Alan Modra <amodra@gmail.com>
39460 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39461 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39462 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39463 ppc_mcount to static-only-routines.
39464 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39466 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39467 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39469 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39471 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39472 for finite and infinity parameters.
39474 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39476 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39477 and add nop instructions for throughput optimization.
39478 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39480 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39482 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39483 aligned copy for power7 with vector-scalar instructions.
39484 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39486 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39488 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39491 2011-09-07 Andreas Schwab <schwab@redhat.com>
39494 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39497 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39499 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39500 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39501 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39502 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39505 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39507 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39508 Forgot to demangle the pointer.
39510 * sysdeps/i386/sysdep.h: Define atom_text_section.
39511 * sysdeps/x86_64/sysdep.h: Likewise.
39512 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39513 section with atom_text_section.
39514 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39515 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39516 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39517 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39518 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39520 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39521 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39522 already be defined. Change to take two parameters and don't assign
39523 result to variable. Adjust all users.
39524 Define INTERNAL_GETTIME if not already defined.
39525 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39528 HAVE_CLOCK_GETTIME_VSYSCALL.
39529 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39531 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39532 gettimeofday vsyscall, just use time.
39534 2011-09-06 Andreas Schwab <schwab@redhat.com>
39536 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39539 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39541 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39543 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39545 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39546 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39547 syscall if possible.
39549 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39551 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39552 e_ident. Don't pass to find_mapsXX.
39553 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39555 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39558 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39559 * sysdeps/x86_64/multiarch/strchr.S: Update.
39560 Check bit_slow_BSF bit.
39561 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39562 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39563 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39565 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39568 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39570 (tryshell): Define.
39571 (__spawni): Change last parameter to be flag. Test
39572 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39573 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39574 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39575 * posix/spawni.c: Likewise.
39576 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39577 * posix/spawnp.c: Likewise. Change normal version to use
39578 SPAWN_XFLAGS_USE_PATH.
39579 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39580 SPAWN_XFLAGS_TRY_SHELL.
39583 * posix/glob.h: Remove gcc 1.x support.
39586 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39588 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39591 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39593 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39594 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39595 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39596 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39597 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39598 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39600 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39602 * sysdeps/x86_64/wcscmp.S: New file.
39604 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39605 wcscmp-c wcscmp-sse2
39606 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39607 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39608 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39609 * wcsmbs/wcscmp.c: Allow renaming.
39611 2011-09-05 David S. Miller <davem@davemloft.net>
39613 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39614 stack slot, rather than the struct return pointer slot.
39615 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39616 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39618 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39620 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39622 * po/ja.po: Update from translation team.
39625 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39626 kernel in 64-bit binaries.
39628 2011-09-01 David S. Miller <davem@davemloft.net>
39630 * elf/elf.h (HWCAP_SPARC_*): Move to..
39631 * sysdeps/sparc/sysdep.h: this new file and add new values.
39632 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39633 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39634 _DL_HWCAP_COUNT to 24.
39635 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39637 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39638 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39639 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39640 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39641 instead of magic constants.
39642 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39644 2011-08-31 David S. Miller <davem@davemloft.net>
39646 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39647 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39648 Reimplement to do errno handling inline.
39649 (SYSCALL_ERROR_HANDLER): New macro.
39650 (__SYSCALL_STRING): Do not do errno handling in asm.
39651 (__CLONE_SYSCALL_STRING): Delete.
39652 (__INTERNAL_SYSCALL_STRING): Delete.
39653 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39654 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39655 (PSEUDO): Reimplement to do errno handling inline.
39656 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39657 (SYSCALL_ERROR_HANDLER): New macro.
39658 (__SYSCALL_STRING): Do not do errno handling in asm.
39659 (__CLONE_SYSCALL_STRING): Delete.
39660 (__INTERNAL_SYSCALL_STRING): Delete.
39661 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39662 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39664 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39665 (inline_syscall*): Add 'err' argument.
39666 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39667 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39668 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39669 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39671 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39672 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39674 2011-08-30 Andreas Schwab <schwab@redhat.com>
39676 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39678 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39680 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39683 2011-08-24 David S. Miller <davem@davemloft.net>
39685 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39687 2011-08-24 Andreas Schwab <schwab@redhat.com>
39689 * elf/Makefile: Add rules to build and run unload8 test.
39690 * elf/unload8.c: New file.
39691 * elf/unload8mod1.c: New file.
39692 * elf/unload8mod1x.c: New file.
39693 * elf/unload8mod2.c: New file.
39694 * elf/unload8mod3.c: New file.
39696 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39699 2011-08-23 David S. Miller <davem@davemloft.net>
39701 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39702 subtract stack bias.
39703 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39704 %sp not %fp in calculations.
39705 (_JMPBUF_UNWINDS_ADJ): Likewise.
39707 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39708 (aio_suspend): Call it to force an exception region around the
39709 AIO_MISC_WAIT() invocation.
39711 2011-08-23 Andreas Schwab <schwab@redhat.com>
39713 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39716 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39718 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39720 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39721 and <dl-machine.h>.
39722 (Elf64_FuncDesc): Remove.
39724 2011-08-22 David S. Miller <davem@davemloft.net>
39726 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39727 sigaltstack check, add missing cfi directives.
39728 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39729 missing cfi directives, and sigaltstack handling.
39731 2011-08-16 Andreas Schwab <schwab@redhat.com>
39734 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39735 object is seen twice.
39736 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39738 * elf/Makefile (distribute): Add tst-initorder2.c.
39739 (tests): Add tst-initorder2.
39740 (modules-names): Add tst-initorder2a tst-initorder2b
39741 tst-initorder2c tst-initorder2d. Add rules to build them.
39742 ($(objpfx)tst-initorder2.out): New rule.
39743 * elf/tst-initorder2.c: New file.
39744 * elf/tst-initorder2.exp: New file.
39746 2011-08-22 Andreas Schwab <schwab@redhat.com>
39748 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39750 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39751 dependencies back to end of function.
39753 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39754 $(elfobjdir)/ld.so.
39756 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39758 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39759 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39760 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39761 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39762 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39763 of __vdso_gettimeofday.
39764 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39765 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39767 (_libc_vdso_platform_setup): Remove initialization of
39768 __vdso_gettimeofday and __vdso_time.
39770 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39772 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39773 and fgetc_unlocked.
39774 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39777 * elf/dl-open.c (add_to_global): Report additions to the global scope
39778 for LD_DEBUG=scopes.
39779 (dl_open_worker): Also print scope of newly loaded dependencies.
39780 (_dl_show_scope): Indicate if there is no scope.
39783 * stdio-common/Makefile (tests): Add bug24.
39784 * stdio-common/bug24.c: New file.
39786 2011-08-19 Andreas Jaeger <aj@suse.de>
39789 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39790 non-existant file when using close-on-exec mode.
39792 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39795 the very first instruction.
39797 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39798 the CFI state in the end.
39799 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39800 inclusion of dl-trampoline.h.
39801 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39803 2011-08-19 Andreas Schwab <schwab@redhat.com>
39805 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39806 expectations for long double.
39808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39809 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39811 2011-08-14 David S. Miller <davem@davemloft.net>
39813 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39814 artificual limit depends upon the system page size.
39816 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39818 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39819 * resolv/Makefile: Define CFLAGS-libresolv.
39821 2011-08-17 Andreas Schwab <schwab@redhat.com>
39823 * nss/makedb.c (compute_tables): Make variables used in nested
39826 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39828 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39829 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39830 if buffer was too small.
39832 * elf/pldd.c (main): Attach to all threads in the process.
39833 Rewrite /proc handling to use *at functions.
39835 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39837 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39838 specifies first scope to show.
39839 (dl_open_worker): Update callers. Move printing scope of new
39840 object to before the relocation.
39841 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39842 * sysdeps/generic/ldsodefs.h: Update declaration.
39844 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39845 string for the scope number.
39847 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39849 * nscd/servicescache.c (cache_addserv): Make sure written is always
39852 2011-08-14 Roland McGrath <roland@hack.frob.com>
39854 * sysdeps/i386/i486/bits/atomic.h
39855 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39856 statement expression, so as to suppress "set but not used" warning.
39857 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39859 * string/strncat.c (STRNCAT): Use prototype definition.
39861 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39862 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39864 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39865 (localedef-modules): Add localedef.
39866 (locale-modules): Add locale.
39868 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39869 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39870 to avoid a warning.
39872 2011-08-14 David S. Miller <davem@davemloft.net>
39874 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39875 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39877 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39879 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39880 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39881 * elf/rtld.c (dl_main): Set l_name of vDSO.
39882 Call _dl_show_scope when DL_DEBUG_SCOPES.
39883 (process_dl_debug): Recognize scopes flag and also set it for all.
39884 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39885 Declare _dl_show_scope.
39887 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39888 (do_dlopen): Pass caller_dlopen to dl_open.
39889 (__libc_dlopen_mode): Initialize caller_dlopen.
39891 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39892 of libc. Make tolower call locale-independent. Optimize a bit by
39893 using isdigit instead of isalnum.
39894 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39896 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39898 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39899 was a dependency or dynamically loaded.
39901 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39903 * intl/l10nflist.c: Allow architecture-specific pop function.
39904 * sysdeps/x86_64/l10nflist.c: New file.
39906 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39909 2011-08-10 Andreas Schwab <schwab@redhat.com>
39911 * include/dirent.h: Add libc_hidden_proto for scandirat and
39912 scandirat64. Don't declare __scandirat64.
39913 * dirent/scandirat.c: Add libc_hidden_def.
39914 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39915 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39917 2011-08-10 David S. Miller <davem@davemloft.net>
39919 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39921 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39922 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39923 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39925 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39927 * Versions.def [libc]: Add GLIBC_2.15.
39928 * dirent/Makefile (routines): Add scandirat and scandirat64.
39929 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39931 * dirent/dirent.h: Declare scandirat and scandirat64.
39932 * dirent/scandirat.c: New file.
39933 * dirent/scandirat64.c: New file.
39934 * sysdeps/wordsize-64/scandirat.c: New file.
39935 * sysdeps/wordsize-64/scandirat64.c: New file.
39936 * dirent/opendir.c: Define opendirat.
39937 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39939 * dirent/scandir64.c: Adjust for scandir.c change.
39940 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39941 __scandirat64, and __scandir_cancel_handler.
39942 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39943 additional parameter and use openat instead of open (outside of ld.so).
39944 Add new __opendir as wrapper around __opendirat.
39945 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39946 here without requiring old scandirat implementation.
39948 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39950 * dirent/scandir.c (cancel_handler): Renamed to
39951 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39952 defined. Adjust users.
39953 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39954 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39956 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39958 * string/test-string.h (IMPL): Use __STRING to expand name and then
39961 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39964 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39966 * string/Makefile: Update.
39967 (strop-tests): Append strncat.
39968 * string/test-wcscmp.c: New file.
39969 New comprehensive test for wcscmp.
39970 * string/test-strcmp.c: Update.
39971 (WIDE): New define.
39973 2011-07-22 Andreas Schwab <schwab@redhat.com>
39975 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39978 2011-07-26 Andreas Schwab <schwab@redhat.com>
39980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39981 encoding to ACE if AI_IDN.
39983 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39985 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39986 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39988 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39990 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39991 Fix overflow bug in strncat.
39992 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39994 * string/test-strncat.c: Update.
39995 Add new tests for checking overflow bugs.
39997 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40000 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40001 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40002 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40003 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40004 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40005 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40006 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40007 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40010 (USE_AS_STRCAT): Define.
40011 Add strcat and strncat support.
40012 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40014 2011-07-25 Andreas Schwab <schwab@redhat.com>
40016 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40017 __n bigger than INT_MAX+1.
40018 (__strncmp_g): Likewise.
40020 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40022 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40023 * libio/stido.h: Likewise.
40025 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40027 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40030 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40031 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40032 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40033 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40034 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40037 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40040 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40042 (_dl_x86_64_save_sse): Likewise.
40044 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40048 (_dl_x86_64_save_sse): Likewise.
40050 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40052 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40054 2011-07-21 Andreas Schwab <schwab@redhat.com>
40056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40058 (_dl_x86_64_save_sse): Use correct AVX check.
40060 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40062 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40063 bug in strncpy/strncat.
40064 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40066 2011-07-21 Ulrich Drepper <drepper@gmail.com>
40068 * string/tester.c (test_strcat): Add tests for different alignments
40069 of source and destination.
40070 (test_strncat): Likewise.
40072 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40075 * posix/glob.c (glob): Check passed in values before using them in
40076 expressions to avoid some overflows.
40077 (glob_in_dir): Likewise.
40080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40081 check for AVX enablement so that we don't crash with old kernels and
40083 * elf/tst-audit4.c: Add same checks here.
40084 * elf/tst-audit6.c: Likewise.
40086 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40088 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40090 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40092 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40094 * po/cs.po: Update from translation team.
40095 * po/bg.po: Likewise.
40097 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40099 * misc/sys/cdefs.h: Add support for const attribute.
40100 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40101 to gnu_dev_{major,minor,makedev} functions.
40103 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40105 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40107 2011-07-20 Andreas Schwab <schwab@redhat.com>
40109 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40112 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40114 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40115 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40116 register in order to avoid conflicts with the soft frame pointer
40117 being held in r11 when necessary.
40118 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40119 (INTERNAL_VSYSCALL_NCS): Likewise.
40121 2011-07-14 Marek Polacek <mpolacek@redhat.com>
40123 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40124 * elf/dl-fini.c (_dl_fini): Adjust caller.
40125 * elf/dl-close.c (_dl_close_worker): Likewise.
40126 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40128 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40130 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40131 "aux_cache->nlibs < 0".
40133 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40134 in the reload-count case.
40136 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40139 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40140 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40141 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40142 * sysdeps/x86_64/multiarch/strcat.S: New file.
40143 * sysdeps/x86_64/multiarch/strncat.S: New file.
40144 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40145 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40146 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40147 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40148 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40149 (USE_AS_STRCAT): Define.
40150 Add strcat and strncat support.
40151 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40152 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40153 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40154 * string/strncat.c: Update.
40155 (USE_AS_STRNCAT): Define.
40156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40157 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40159 * sysdeps/x86_64/multiarch/init-arch.h
40160 (bit_Prefer_PMINUB_for_stringop): New.
40161 (index_Prefer_PMINUB_for_stringop): Likewise.
40162 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40163 bit_Prefer_PMINUB_for_stringop.
40165 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40167 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40169 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40170 of casting of buffer.
40171 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40172 buffer32 and buffer64.
40173 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40174 writes instead of casting of buffer.
40175 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40177 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40180 2011-07-19 Andreas Schwab <schwab@redhat.com>
40182 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40184 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40186 * nscd/nscd.c (termination_handler): Don't do anything for a database
40187 if it has not yet been initialized.
40189 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40191 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40193 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40195 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40197 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40199 * po/nl.po: Update from translation team.
40200 * po/sv.po: Likewise.
40202 2011-07-16 Roland McGrath <roland@hack.frob.com>
40204 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40205 now disallowed by GCC.
40207 * configure.in (use-default-link): Default to yes if a test -shared
40208 link meets our qualifications.
40209 * configure: Regenerated.
40211 * config.make.in (output-format): New variable.
40212 * configure.in: Check for ld --print-output-format support.
40213 * configure: Regenerated.
40214 * Makerules ($(common-objpfx)format.lds)
40215 [$(output-format) != unknown]: Just use $(output-format),
40216 instead of the linker-script munging.
40218 2011-07-14 Roland McGrath <roland@hack.frob.com>
40220 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40221 of $(common-objpfx)shlib.lds.
40222 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40224 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40225 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40227 * configure.in (-z relro check): Adjust test code to add a large
40228 writable data section after it.
40229 * configure: Regenerated.
40231 2011-07-11 Roland McGrath <roland@hack.frob.com>
40233 * configure.in (-z relro check): Fix test code to make the variable
40235 * configure: Regenerated.
40237 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40239 * nscd/nscd.h (struct traced_file): Define.
40240 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40241 elements. Add traced_files.
40242 (inotify_fd): Declare.
40243 (register_traced_file): Declare.
40244 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40245 (inotify_fd): Export.
40246 (resolv_conf_descr): Remove.
40247 (nscd_init): Move inotify descriptor creation to main.
40248 Don't register files for notification here.
40249 (register_traced_file): New function.
40250 (invalidate_cache): Don't use reset_res to determine whether to call
40251 res_init, go through the list of registered files.
40252 (main_loop_poll): The inotify descriptors are now stored in the
40253 structures for the traced files.
40254 (main_loop_epoll): Likewise
40255 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40256 to __nss_disable_nscd.
40257 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40258 for a database anymore. Check the records for all the registered
40260 * nss/Makefile (libnss_files-routines): Add files-init.
40261 (libnss_db-routines): Add db-init.
40262 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40263 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40264 * nss/nss_db/db-init.c: New file.
40265 * nss/nss_files/files-init.c: New file.
40266 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40267 __nss_lookup_function.
40268 (__nss_lookup_function): Call nss_load_library.
40269 (nss_load_all_libraries): New function.
40270 (__nss_disable_nscd): Take parameter with callback function for files
40271 to register. Set is_nscd. Load all the DSOs for the NSS modules
40272 used for the cached services.
40273 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40274 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40275 options for features to all the files in nscd.
40277 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40279 2011-07-10 Roland McGrath <roland@hack.frob.com>
40281 * csu/elf-init.c (__libc_csu_init): Comment typo.
40283 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40285 * po/pl.po: Update from translation team.
40286 * po/ja.po: Likewise.
40287 * po/ru.po: Likewise.
40288 * po/ko.po: Likewise.
40289 * po/fr.po: Likewise.
40291 2011-07-09 Roland McGrath <roland@hack.frob.com>
40293 * configure.in (.ctors/.dtors header and trailer check):
40294 Use an empirical test on a built program.
40295 * configure: Regenerated.
40297 * configure.in (-z relro check): Use an empirical test on a built DSO.
40298 Detect, but do not require, on ia64.
40299 * configure: Regenerated.
40301 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40302 Update tests that use readelf to use $READELF instead.
40303 * configure: Regenerated.
40305 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40307 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40308 if the result is not used.
40310 2011-07-05 Andreas Jaeger <aj@suse.de>
40313 * stdlib/tst-strtod.c: Add testcase.
40315 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40317 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40318 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40319 The latter has a higher limit. Take additional parameter to pass to
40321 (__pathconf): Pass file to __statfs_link_max.
40322 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40324 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40328 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40329 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40331 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40332 (__statfs_filesize_max): Likewise.
40333 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40335 2011-07-05 Andreas Jaeger <aj@suse.de>
40337 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40339 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40341 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40343 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40346 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40348 * Makefile (strop-tests): Add strncat.
40349 * string/test-strncat.c: New file.
40351 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40353 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40355 2011-06-21 Andreas Jaeger <aj@suse.de>
40357 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40358 Copy rule from iconvdata/Makefile.
40360 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40363 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40364 but no long options are defined, just return 'W'.
40366 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40369 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40371 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40373 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40375 (innetgr): Likewise.
40377 2011-07-05 Roland McGrath <roland@hack.frob.com>
40379 * config.make.in (install_root): Default to $(DESTDIR).
40381 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40383 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40385 2011-07-02 Roland McGrath <roland@hack.frob.com>
40387 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40389 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40390 containing directory rather than embedding absolute directory names.
40392 * scripts/check-local-headers.sh: Rewritten using awk.
40393 Match by word, not by line. Print error messages for matches.
40394 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40396 * Makerules [shlib-lds-flags empty]:
40397 ($(common-objpfx)libc_pic.opts): New target.
40398 ($(common-objpfx)libc_pic.os.clean): New target.
40399 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40401 * config.make.in (OBJCOPY): New variable.
40402 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40403 * configure: Regenerated.
40405 * config.make.in (use-default-link): New variable.
40406 * configure.in (use_default_link): Grok --with-default-link to set it.
40407 * configure: Regenerated.
40408 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40409 (shlib-lds, shlib-lds-flags): Define to empty.
40411 * Makerules (shlib-lds): New variable.
40412 (shlib-lds-flags): New variable.
40413 (build-shlib, build-moduile, build-module-asneeded): Use it.
40414 ($(common-objpfx)libc.so): Use $(shlib-lds).
40415 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40416 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40418 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40419 DT_FLAGS/DT_FLAGS_1 with zero flags.
40421 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40422 linker script munging.
40424 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40426 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40428 * crypt/sha512.c (sha512_process_block): Perform total addition using
40429 128-bit if possible.
40430 (__sha512_finish_ctx): Likewise.
40431 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40433 * crypt/sha256.c (SWAP64): Define.
40434 (sha256_process_block): Perform total addition using 64-bit if
40436 (__sha256_finish_ctx): Likewise.
40438 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40440 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40441 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40442 * nscd/hstcache.c (cache_addhst): Likewise.
40443 * nscd/grpcache.c (cache_addgr): Likewise.
40444 * nscd/aicache.c (addhstaiX): Likewise
40445 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40447 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40449 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40450 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40451 * nscd/hstcache.c (cache_addhst): Likewise.
40452 * nscd/grpcache.c (cache_addgr): Likewise.
40453 * nscd/aicache.c (addhstaiX): Likewise
40455 2011-07-01 Andreas Schwab <schwab@redhat.com>
40457 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40458 domain only when needed.
40460 2011-06-30 Andreas Schwab <schwab@redhat.com>
40462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40463 is always restored.
40465 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40467 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40468 are re-adding the entry.
40469 * nscd/servicescache.c (cache_addserv): Likewise.
40471 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40473 * sysdeps/generic/dl-irel.h: fix protection against multiple
40475 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40477 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40480 * malloc/memusage.sh: Fix quoting in message.
40481 * debug/xtrace.sh: Likewise.
40483 * configure.in: Remove support for --experimental-malloc option, make
40485 * config.make.in: Likewise.
40486 * malloc/Makefile: Likewise.
40488 2011-06-27 Andreas Schwab <schwab@redhat.com>
40490 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40491 two-byte characters.
40493 2011-06-27 Roland McGrath <roland@hack.frob.com>
40495 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40496 AC_CACHE_CHECK invocation.
40497 * configure: Regenerated.
40499 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40501 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40504 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40505 bit from old_res_options.
40507 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40509 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40510 value type for setfct.
40512 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40514 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40515 __gettimeofday instead of gettimeofday.
40517 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40519 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40521 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40523 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40525 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40528 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40531 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40532 strcpy-sse2-unaligned strncpy-sse2-unaligned
40533 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40534 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40535 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40536 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40537 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40538 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40539 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40540 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40541 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40542 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40543 (STRCPY): Support SSE2 and SSSE3 versions.
40545 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40548 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40549 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40550 kernels which artificially limit size of requests.
40552 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40554 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40555 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40556 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40557 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40558 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40559 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40560 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40561 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40563 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40564 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40565 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40566 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40567 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40568 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40570 Enable unaligned load optimization for Intel Core i3, i5 and i7
40572 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40574 (index_Fast_Unaligned_Load): Define.
40575 (HAS_FAST_UNALIGNED_LOAD): Define.
40577 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40579 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40581 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40584 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40585 until it is clear that the information is realy needed.
40586 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40588 2011-06-22 Andreas Schwab <schwab@redhat.com>
40590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40592 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40595 /sys/devices/system/cpu/online if it is usable.
40597 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40598 reading the information from the /proc filesystem to once a second.
40600 2011-06-21 Andreas Jaeger <aj@suse.de>
40602 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40603 NULL after inclusion of kernel headers.
40605 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40607 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40608 calls to internal_setent.
40611 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40612 addresses using gethostbyname4_r ignore IPv4 addresses.
40614 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40615 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40617 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40619 2011-06-20 David S. Miller <davem@davemloft.net>
40621 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40623 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40625 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40626 (elf_irel): Use it.
40627 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40628 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40629 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40630 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40631 * sysdeps/x86_64/dl-irel.h: Likewise.
40633 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40634 * elf/dl-sym.c: Likewise.
40636 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40638 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40639 need to dereference resplen2.
40641 2011-06-14 Andreas Schwab <schwab@redhat.com>
40643 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40645 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40647 * Makeconfig: Define vardbdir and inst_vardbdir.
40648 * nss/Makefile: Add rules to install db-Makefile.
40650 * nss/nss_db/db-XXX.c: Cleanup.
40652 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40653 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40655 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40656 * nss/makedb.c: Implement -g option to specify that value strings
40657 are generated and should not be added to table iterated over for
40659 * nss/nss_db/db-initgroups.c: New file.
40661 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40664 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40665 (internal_getgrouplist): Adjust to name change.
40666 Update use_initgroups_entry if this is not the first call.
40667 * nss/databases.def: Add initgroups entry.
40669 * nss/makedb.c (compute_tables): Check result of multiple hash table
40670 sizes to minimize maximum chain length.
40672 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40674 * Versions.def: Add entry for libnss_db.
40675 * shlib-versions: Likewise.
40676 * nss/Makefile: Add rules to build libnss_db.
40677 * nss/Versions: Add libnss_db information. Organize libnss_files
40679 * nss/db-Makefile: Add gshadow support. Change rules for the new
40680 makedb progra. Some minor improvements to generate smaller files.
40681 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40683 * nss/makedb.c: ...here.
40684 Improve database format to be smaller and require less memory at
40686 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40688 * nss/nss_db/db-netgrp.c: Likewise.
40689 * nss/nss_db/db-open.c: Likewise.
40690 * nss/nss_files/flies-XXX.x: Adjust comments.
40691 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40692 * nss/nss_files/files-grp.c: Likewise.
40693 * nss/nss_files/files-hosts.c: Likewise.
40694 * nss/nss_files/files-network.c: Likewise.
40695 * nss/nss_files/files-proto.c: Likewise.
40696 * nss/nss_files/files-pwd.c: Likewise.
40697 * nss/nss_files/files-rpc.c: Likewise.
40698 * nss/nss_files/files-service.c: Likewise.
40699 * nss/nss_files/files-sgrp.c: Likewise.
40700 * nss/nss_files/files-spwd.c: Likewise.
40701 * nss/nss_db/db-alias.c: Removed.
40702 * nss/nss_db/dummy-db.h: Removed.
40704 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40706 * nss/makedb.c: Rewritten to not use database library.
40707 * nss/Makefile: Update to build new makedb program.
40709 2011-06-14 Andreas Jaeger <aj@suse.de>
40711 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40712 memset declaration.
40714 2011-06-10 Andreas Schwab <schwab@redhat.com>
40716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40719 2011-06-10 Roland McGrath <roland@hack.frob.com>
40721 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40722 * elf/Makefile ($(objpfx)ld.so): Likewise.
40724 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40725 Don't list ld.so twice in dependencies.
40727 * posix/bug-regex31.c: Include <stdlib.h>.
40729 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40731 * nis/nss_compat/compat-spwd.c
40732 (getspent_next_nss_netgr): Remove unused variable.
40733 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40735 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40736 nonmembers" output to use the right array.
40738 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40740 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40742 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40743 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40744 * catgets/gencat.c (read_input_file): Likewise.
40745 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40747 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40748 variable definition inside #if's controlling its use.
40750 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40752 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40754 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40756 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40759 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40761 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40762 * configure: Regenerated.
40764 * Makerules: Revert last change.
40765 * elf/Makefile: Likewise.
40767 2011-06-09 Roland McGrath <roland@hack.frob.com>
40769 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40770 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40771 (reloc-link): Likewise.
40773 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40775 * elf/Makefile: Add rules to build pldd.
40776 * elf/pldd.c: New file.
40777 * elf/pldd-xx.c: New file.
40779 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40781 * version.h: Update for 2.15 development version.
40783 2011-06-07 David S. Miller <davem@davemloft.net>
40785 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40787 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40788 elf_machine_lazy_rel): Likewise.
40789 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40790 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40791 elf_machine_lazy_rel): Likewise.
40792 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40793 dl_hwcap via passed in argument.
40794 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40797 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40799 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40801 2011-06-06 Roland McGrath <roland@hack.frob.com>
40804 * manual/fdl-1.1.texi: New file, verbatim from:
40805 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40806 * manual/lgpl-2.1.texi: New file, verbatim from:
40807 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40808 * manual/Makefile (licenses): New variable, list those new file names.
40810 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40812 * manual/fdl.texi: File removed.
40813 * manual/lesser.texi: File removed.
40814 * manual/libc.texinfo (Copying, Documentation License):
40815 Use new @include file names, put @appendix directive before @include.
40817 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40820 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40821 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40822 (mq_open): Add __NTH.
40824 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40827 Assume Intel Core i3/i5/i7 processor if AVX is available.
40829 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40831 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40834 2011-05-31 Andreas Schwab <schwab@redhat.com>
40836 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40837 memory. Use alloca_account. Fix memory leak when retrying.
40839 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40841 * version.h (RELEASE): Bump for 2.14 release.
40842 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40844 * config.make.in (RANLIB): Remove entry.
40846 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40848 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40849 (libc.pot): Work around missing support for .ksh extension in xgettext.
40852 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40853 if both request failed.
40854 (send_dg): In case of server errors clear resplen or *resplen2.
40857 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40858 when there are multiple maps.
40859 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40860 (_dl_fini): Remove test here.
40862 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40864 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40867 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40868 bit from old_res_options.
40869 (gaih_inet): Likewise.
40872 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40875 * resolv/res_init.c (res_setoptions): Make the code more compact.
40878 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40882 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40884 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40887 * malloc/malloc.h: Declare malloc hook variables as volatile.
40889 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40893 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40894 raise in the comment.
40895 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40896 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40897 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40899 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40902 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40903 grow the buffers more if it already has to be sufficient.
40904 (build_wcs_upper_buffer): Likewise.
40905 * posix/regexec.c (check_matching): Likewise.
40906 (clean_state_log_if_needed): Likewise.
40907 (extend_buffers): Don't enlarge buffers beyond size of the input
40909 Patches mostly by Emil Wojak <emil@wojak.eu>.
40910 * posix/bug-regex32.c: New file.
40911 * posix/Makefile (tests): Add bug-regex32.
40913 * locale/findlocale.c (_nl_find_locale): Return right away if
40914 _nl_explode_name failed.
40915 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40917 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40919 * debug/xtrace.sh: Unify messages.
40920 * malloc/memusage.sh: Likewise.
40923 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40924 time symbol from vDSO. Substitute with vsyscall if not available.
40925 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40928 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40929 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40930 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40931 Add sendmmsg and internal_sendmmsg.
40932 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40933 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40934 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40936 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40937 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40938 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40940 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40943 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40944 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40946 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40950 * iconvdata/Makefile (tests): Add bug-iconv9.
40951 * iconvdata/bug-iconv9.c: New file.
40953 2011-05-27 Andreas Schwab <schwab@redhat.com>
40956 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40958 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40960 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40961 (struct user_regs_struct): Change intcs field back to cs.
40963 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40965 * po/ja.po: Update from translation team.
40967 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40970 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40971 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40973 2011-05-20 Andreas Schwab <schwab@redhat.com>
40975 * stdlib/longlong.h: Update from GCC.
40977 2011-05-23 Andreas Schwab <schwab@redhat.com>
40979 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40981 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40982 Add parameter name.
40983 (__sysconf): Pass it down.
40985 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40988 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40990 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40991 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40992 add in in __libc_use_alloca calls. Adjust callers.
40993 (glob): Use malloc in some situations.
40995 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40996 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40999 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41001 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41002 and CLOCK_BOOTTIME_ALARM.
41005 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41008 * string/_strerror.c (__strerror_r): Print negative errors as signed
41012 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41013 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41014 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41016 * configure.in: Fix typo in redirection and correct removal of test
41017 files in two cases.
41020 * locale/setlocale.c (new_composite_name): Fix test to check for
41021 identical name of all categories.
41024 * libio/filedoalloc.c (local_isatty): New function.
41025 (_IO_file_doallocate): Use local_isatty.
41026 * stdio-common/perror.c (perror): In case a new stream is used
41027 forward the stream error.
41028 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41031 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41036 * include/alloca.h (extend_alloca_account): Define.
41039 * posix/regex.h: Fix comments with documentation of user-accessible
41040 fields after compilation and describe correct free'ing of pattern
41041 after re_compile_pattern.
41042 Patch by Reuben Thomas <rrt@sc3d.org>.
41044 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41046 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41047 and -mno-altivec to prevent the compiler from using Altivec and/or
41048 VSX instructions when the corresponding registers are not available.
41050 2011-05-19 Andreas Schwab <schwab@redhat.com>
41052 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41054 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41056 * libio/freopen.c (freopen): Use __dup2, not dup2.
41057 * libio/freopen64.c (freopen64): Likewise.
41059 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41062 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41063 * math/Makefile (tests): Add test-powl.
41064 (CFLAGS-test-powl.c): Define.
41065 * math/test-powl.c: New file.
41067 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41069 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41071 2011-05-17 Ulrich Drepper <drepper@gmail.com>
41074 * iconvdata/gb18030.c: Update to GB18020-2005.
41076 2011-05-16 Ulrich Drepper <drepper@gmail.com>
41078 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41079 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41080 Patch by Aharon Robbins <arnold@skeeve.com>.
41083 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41087 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41088 through underflows.
41091 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41092 point to strings before performing equality test for error_one_per_line
41096 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41099 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41100 (struct user_fpregs_struct): Avoid __uint*_t types.
41103 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41104 symbol info. Use it instead of calling _dl_addr locally.
41105 (lock_and_info): New function.
41106 (tr_freehook): Call lock_and_info and pass symbol info as additional
41107 parameter to tr_where.
41108 (tr_mallochook): Likewise.
41109 (tr_reallochook): Likewise.
41110 (tr_memalignhook): Likewise.
41112 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41113 used and couldn't be at all thread-safe.
41115 2011-05-15 Ulrich Drepper <drepper@gmail.com>
41117 * libio/freopen.c (freopen): Don't close old file descriptor
41118 before the new one is opened. Instead dup the new file descriptor
41119 to the old one after the new stream is created.
41120 * libio/freopen64.c (freopen64): Likewise.
41121 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41122 * libio/fileops.c (_IO_new_file_close_it): Handle new
41123 _IO_FLAGS2_NOCLOSE flag.
41124 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41125 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41126 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41127 _IO_FLAGS2_NOCLOSE flag.
41128 * include/unistd.h: Add hidden_proto for dup3.
41129 Define __have_dup3.
41130 * io/dup3.c: Define hidden symbol.
41131 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41134 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41135 when an incomplete long option is used.
41136 * posix/tst-getopt_long1.c: New file.
41137 * posix/Makefile (tests): Add tst-getopt_long1.
41140 * scripts/config.guess: Update from autoconf-2.68.
41141 * scripts/config.sub: Likewise.
41144 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41146 (has_cpuclock): ...this. New function.
41147 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41148 macro here based on has_cpuclock code.
41151 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41152 First byte (not low byte) is now always NUL.
41153 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41155 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41156 Use non-cancelable interfaces.
41159 * locale/iso-639.def: Add entry for Sorani.
41162 * include/stdlib.h: Move include protection to the right place.
41163 Define abort_msg_s. Declare __abort_msg with it.
41164 * stdlib/abort.c (__abort_msg): Adjust type.
41165 * assert/assert.c (__assert_fail_base): New function. Majority
41166 of code from __assert_fail. Allocate memory for __abort_msg with
41168 (__assert_fail): Now call __assert_fail_base.
41169 * assert/assert-perr.c: Remove bulk of implementation. Use
41170 __assert_fail_base.
41171 * include/assert.hL Declare __assert_fail_base.
41172 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41174 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41176 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41180 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41181 until all modules are registered in the DTV.
41182 * elf/Makefile: Add rules to build and run tst-tls19.
41183 * elf/tst-tls19.c: New file.
41184 * elf/tst-tls19mod1.c: New file.
41185 * elf/tst-tls19mod2.c: New file.
41186 * elf/tst-tls19mod3.c: New file.
41187 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41190 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41194 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41195 two-byte sequence errors.
41196 * iconvdata/Makefile (tests): Add bug-iconv8.
41197 * iconvdata/bug-iconv8.c: New file.
41200 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41203 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41206 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41207 (dummy_getcfa): New function.
41208 (init): Get _Unwind_GetCFA address, use dummy if not found.
41209 (backtrace_helper): In recursion check, also check whether CFA changes.
41210 (__backtrace): Completely initialize arg.
41212 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41213 storing incomplete byte sequence in state object. Avoid testing for
41214 guaranteed too small input if we know there is enough data available.
41216 2011-05-11 Andreas Schwab <schwab@redhat.com>
41218 * Makeconfig (+link-pie): Indent.
41219 * Rules (binaries-pie): Define if $(have-fpie) and
41221 (binaries-shared): Also filter out $(binaries-pie).
41222 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41223 * nscd/Makefile (others-pie): Add nscd.
41224 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41225 ($(objpfx)nscd): Remove command override.
41226 * login/Makefile (others-pie): Add pt_chown.
41227 ($(objpfx)pt_chown): Remove command override.
41228 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41229 remove command overrides.
41231 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41233 * libio/tst_putwc.c: Fix error messages.
41236 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41237 currently writing and seek to current position when not.
41238 * libio/Makefile (tests): Add bug-fclose1.
41239 * libio/bug-fclose1.c: New file.
41241 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41244 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41245 don't set DF_1_NODELETE here.
41246 (do_lookup_x): When entering new entry test for copy relocation
41247 and if necessary set DF_1_NODELETE flag.
41248 * elf/tst-unique4.cc: New file.
41249 * elf/tst-unique4.h: New file.
41250 * elf/tst-unique4lib.cc: New file.
41251 * elf/Makefile: Add rules to build and run tst-unique4.
41252 Patch by Piotr Bury <pbury@goahead.com>.
41254 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41257 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41260 * misc/mntent_r.c (addmntent): Flush the stream after the output
41263 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41264 (is_trusted_path_normalize): Skip initial colon. Append slash
41265 to empty buffer. Duplicate is_trusted_path code but allow
41266 constructed patch to be prefix.
41267 (is_dst): Allow $ORIGIN followed by /.
41268 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41269 Correct testing of result of is_trusted_path_normalize
41270 (decompose_rpath): Fix warning.
41272 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41275 * grp/initgroups.c (internal_getgrouplist): When we found the service
41276 list through the initgroups entry in nsswitch.conf do not always
41277 continue on a successful lookup. Don't always use the
41278 __nss_group_database value if it is set.
41279 * nss/nsswitch.conf (initgroups): Change action for successful db
41280 lookup to continue for compatibility.
41282 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41285 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41287 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41289 * iconvdata/tst-tables.sh: Likewise.
41290 * iconvdata/cp770.c: New file.
41291 * iconvdata/cp771.c: New file.
41292 * iconvdata/cp772.c: New file.
41293 * iconvdata/cp773.c: New file.
41294 * iconvdata/cp774.c: New file.
41295 * iconvdata/testdata/CP770: New file.
41296 * iconvdata/testdata/CP770..UTF8: New file.
41297 * iconvdata/testdata/CP771: New file.
41298 * iconvdata/testdata/CP771..UTF8: New file.
41299 * iconvdata/testdata/CP772: New file.
41300 * iconvdata/testdata/CP772..UTF8: New file.
41301 * iconvdata/testdata/CP773: New file.
41302 * iconvdata/testdata/CP773..UTF8: New file.
41303 * iconvdata/testdata/CP774: New file.
41304 * iconvdata/testdata/CP774..UTF8: New file.
41306 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41308 * iconvdata/gen-8bit-gap.sh: Likewise.
41309 * iconvdata/gen-8bit.sh: Likewise.
41311 * locale/iso-639.def: Add ary entry.
41314 * locale/C-translit.h.in: Add U20A1 transliteration.
41317 * locale/iso-639.def: Add wae entry.
41318 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41321 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41325 * locale/C-translit.h.in: Add entry for U20B9.
41326 Patch by pravin.d.s@gmail.com.
41328 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41331 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41332 ENAMETOOLONG use generic getcwd.
41333 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41334 in rtld. Use *stat64.
41335 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41336 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41337 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41338 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41339 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41340 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41341 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41342 __fstatat64 macros.
41343 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41344 * dirent/rewinddir.c: Add libc_hidden_def.
41345 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41346 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41348 * include/dirent.h (__alloc_dir): Add flags parameter.
41349 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41350 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41352 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41353 from fdopendir if O_CLOEXEC is already set.
41355 2011-03-15 Alan Modra <amodra@gmail.com>
41357 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41358 l_tls_firstbyte_offset non-zero. Save padding offset in
41359 l_tls_firstbyte_offset for later use.
41360 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41361 freeing static tls block.
41363 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41365 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41366 where #ifdef was intended. The intent is to prevent ARG_MAX from
41367 being defined by the kernel headers.
41369 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41372 * resolv/resolv.h: Define RES_NOTLDQUERY.
41373 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41374 no-tld-query and set RES_NOTLDQUERY.
41375 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41376 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41377 modern BIND to search name as TLD unless forbidden.
41379 2011-05-07 Petr Baudis <pasky@suse.cz>
41380 Ulrich Drepper <drepper@gmail.com>
41383 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41384 (is_trusted_path): ...to here.
41385 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41386 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41387 using is_trusted_path_normalize() in setuid scripts.
41389 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41391 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41392 __BEGIN/__END_DECLS.
41394 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41396 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41397 NSS_STATUS_NOTFOUND if no record was found.
41399 2011-05-05 Andreas Schwab <schwab@redhat.com>
41401 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41402 (headers-not-in-tirpc): Remove rpc/netdb.h
41403 * resolv/netdb.h: Revert last change.
41405 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41407 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41408 circular dependency between libgcc.a and libc.a.
41410 2011-05-05 Andreas Schwab <schwab@redhat.com>
41412 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41413 * nis/Makefile: Don't install rpcsvc/*.
41414 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41415 instead of <rpc/types.h>.
41416 (MAXHOSTNAMELEN): Define.
41418 2011-05-03 Andreas Schwab <schwab@redhat.com>
41420 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41422 2011-04-28 Maciej Babinski <mbabinski@google.com>
41425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41426 gethostbyname4_r when IPv6 results are possible.
41428 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41431 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41432 _PC_PIPE_BUF handling.
41434 2011-04-30 Bruno Haible <bruno@clisp.org>
41437 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41438 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41440 * inet/getnameinfo.c (getnameinfo): Likewise.
41442 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41444 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41445 to groups setting in database lookup.
41446 * nss/nsswitch.conf: Add initgroups entry.
41448 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41451 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41453 Patch by Eric Blake <eblake@redhat.com>.
41455 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41457 * sunrpc/Makefile (need-export-routines): Add svc_run.
41458 (routines): Remove svc_run.
41459 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41460 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41461 * sunrpc/svc_run.c (svc_run): Likewise.
41462 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41464 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41466 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41467 problem in reallocation in last patch.
41469 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41471 * sunrpc/Makefile: Move inclusion of Rules.
41473 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41475 * nss/nss_files/files-initgroups.c: New file.
41476 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41477 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41478 _nss_files_initgroups_dyn.
41480 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41482 * elf/elf.h (R_ARM_IRELATIVE): Define.
41484 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41486 * po/ru.po: Update from translation team.
41488 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41490 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41493 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41496 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41497 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41498 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41499 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41500 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41502 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41504 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41506 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41507 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41508 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41510 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41513 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41515 * stdlib/bug-getcontext.c: New file.
41516 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41518 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41520 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41521 instructions into .machine "z9-109".
41522 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41523 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41525 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41527 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41528 between environment variables and auxiliary vector.
41530 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41532 * Makefile: Add rules to build linkobj/libc.so.
41533 * include/libc-symbols.h: Define libc_hidden_nolink.
41534 * include/rpc/auth.h: Mark functions which are to be hidden.
41535 * include/rpc/auth_des.h: Likewise.
41536 * include/rpc/auth_unix.h: Likewise.
41537 * include/rpc/clnt.h: Likewise.
41538 * include/rpc/des_crypt.h: Likewise.
41539 * include/rpc/key_prot.h: Likewise.
41540 * include/rpc/pmap_clnt.h: Likewise.
41541 * include/rpc/pmap_prot.h: Likewise.
41542 * include/rpc/pmap_rmt.h: Likewise.
41543 * include/rpc/rpc_msg.h: Likewise.
41544 * include/rpc/svc.h: Likewise.
41545 * include/rpc/svc_auth.h: Likewise.
41546 * include/rpc/xdr.h: Likewise.
41547 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41548 * nss/Makefile: Likewise.
41549 * sunrpc/Makefile: Don't install headers. Build library with normal
41550 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41551 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41552 for the compat linking library. Remove use of INTDEF/INTUSE.
41553 * sunrpc/auth_none.c: Likewise.
41554 * sunrpc/auth_unix.c: Likewise.
41555 * sunrpc/authdes_prot.c: Likewise.
41556 * sunrpc/authuxprot.c: Likewise.
41557 * sunrpc/clnt_gen.c: Likewise.
41558 * sunrpc/clnt_perr.c: Likewise.
41559 * sunrpc/clnt_raw.c: Likewise.
41560 * sunrpc/clnt_simp.c: Likewise.
41561 * sunrpc/clnt_tcp.c: Likewise.
41562 * sunrpc/clnt_udp.c: Likewise.
41563 * sunrpc/clnt_unix.c: Likewise.
41564 * sunrpc/des_crypt.c: Likewise.
41565 * sunrpc/des_soft.c: Likewise.
41566 * sunrpc/get_myaddr.c: Likewise.
41567 * sunrpc/key_call.c: Likewise.
41568 * sunrpc/key_prot.c: Likewise.
41569 * sunrpc/netname.c: Likewise.
41570 * sunrpc/pm_getmaps.c: Likewise.
41571 * sunrpc/pm_getport.c: Likewise.
41572 * sunrpc/pmap_clnt.c: Likewise.
41573 * sunrpc/pmap_prot.c: Likewise.
41574 * sunrpc/pmap_prot2.c: Likewise.
41575 * sunrpc/pmap_rmt.c: Likewise.
41576 * sunrpc/publickey.c: Likewise.
41577 * sunrpc/rpc_cmsg.c: Likewise.
41578 * sunrpc/rpc_common.c: Likewise.
41579 * sunrpc/rpc_dtable.c: Likewise.
41580 * sunrpc/rpc_prot.c: Likewise.
41581 * sunrpc/rpc_thread.c: Likewise.
41582 * sunrpc/rtime.c: Likewise.
41583 * sunrpc/svc.c: Likewise.
41584 * sunrpc/svc_auth.c: Likewise.
41585 * sunrpc/svc_authux.c: Likewise.
41586 * sunrpc/svc_raw.c: Likewise.
41587 * sunrpc/svc_run.c: Likewise.
41588 * sunrpc/svc_simple.c: Likewise.
41589 * sunrpc/svc_tcp.c: Likewise.
41590 * sunrpc/svc_udp.c: Likewise.
41591 * sunrpc/svc_unix.c: Likewise.
41592 * sunrpc/svcauth_des.c: Likewise.
41593 * sunrpc/xcrypt.c: Likewise.
41594 * sunrpc/xdr.c: Likewise.
41595 * sunrpc/xdr_array.c: Likewise.
41596 * sunrpc/xdr_float.c: Likewise.
41597 * sunrpc/xdr_intXX_t.c: Likewise.
41598 * sunrpc/xdr_mem.c: Likewise.
41599 * sunrpc/xdr_rec.c: Likewise.
41600 * sunrpc/xdr_ref.c: Likewise.
41601 * sunrpc/xdr_sizeof.c: Likewise.
41602 * sunrpc/xdr_stdio.c: Likewise.
41604 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41607 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41608 * sysdeps/ia64/dl-tls.h: Likewise.
41609 * sysdeps/powerpc/dl-tls.h: Likewise.
41610 * sysdeps/s390/dl-tls.h: Likewise.
41611 * sysdeps/sh/dl-tls.h: Likewise.
41612 * sysdeps/sparc/dl-tls.h: Likewise.
41613 * sysdeps/x86_64/dl-tls.h: Likewise.
41614 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41616 2011-03-14 Andreas Schwab <schwab@redhat.com>
41618 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41619 rpath element also skip the following colon.
41620 (expand_dynamic_string_token): Add is_path parameter and pass
41621 down to DL_DST_REQUIRED and _dl_dst_substitute.
41622 (decompose_rpath): Call expand_dynamic_string_token with
41623 non-zero is_path. Ignore empty rpaths.
41624 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41627 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41632 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41635 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41636 Patch by Filipe David Manana <fdmanana@apache.org>.
41638 2011-04-07 Andreas Schwab <schwab@redhat.com>
41640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41641 Maintain aligned stack.
41642 (CHECK_RSP): Remove unused macro.
41644 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41646 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41647 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41649 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41651 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41653 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41655 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41658 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41659 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41660 * sysdeps/x86_64/memmove.c: New file.
41661 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41662 (memcpy): Renamed to ...
41663 (__new_memcpy): This.
41664 (memcpy): Provide GLIBC_2_14 memcpy.
41665 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41666 (memcpy): Provide GLIBC_2_2_5 memcpy.
41668 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41671 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41673 2011-03-30 Andreas Schwab <schwab@redhat.com>
41675 * misc/syncfs.c: New file.
41676 * misc/Makefile (routines): Add syncfs.
41677 * posix/unistd.h: Declare syncfs.
41678 * sysdeps/unix/syscalls.list: Add syncfs.
41680 2011-04-01 Andreas Schwab <schwab@redhat.com>
41682 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41684 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41685 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41687 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41689 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41690 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41692 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41694 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41695 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41696 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41698 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41700 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41702 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41703 sync_file_range.c with -fexceptions.
41704 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41705 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41706 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41707 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41708 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41709 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41710 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41711 sync_file_range as cancellation point
41712 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41713 now a wrapper around __call_sync_file_range with cancellation handling.
41714 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41715 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41716 function name to __call_sync_file_range.
41717 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41718 Add call_sync_file_range.
41720 2011-04-01 Andreas Schwab <schwab@redhat.com>
41722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41725 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41727 * iconv/iconv.h: Fix typo in comment.
41728 * io/fcntl.h: Likewise.
41729 * libio/stdio.h: Likewise.
41730 * posix/spawn.h: Likewise.
41731 * posix/unistd.h: Likewise.
41732 * stdlib/stdlib.h: Likewise.
41733 * time/time.h: Likewise.
41734 * wcsmbs/wchar.h: Likewise.
41736 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41737 open_by_handle): Add.
41738 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41739 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41740 Augment a few comments.
41741 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41742 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41743 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41745 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41746 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41749 * io/fcntl.h (AT_EMPTY_PATH): Define.
41751 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41753 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41754 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41755 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41757 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41758 * Versions.def: Add GLIBC_2.14.
41759 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41762 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41764 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41766 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41768 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41771 * string/test-strncmp.c (do_page_test): New function.
41772 (check2): Likewise.
41773 (test_main): Call check2.
41774 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41776 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41779 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41780 Handle cache information in CPU leaf 4.
41781 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41783 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41786 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41787 character representation.
41788 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41790 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41792 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41793 END(__isnan) to END(__isnanf) to match function entry point/label
41794 EALIGN(__isnanf,...).
41796 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41798 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41800 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41803 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41804 copy from the symbol referenced in the relocation to initialize the
41806 Patch by Piotr Bury <pbury@goahead.com>.
41807 * elf/Makefile: Add rules to build and tst-unique3.
41808 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41809 * elf/tst-unique3.cc: New file.
41810 * elf/tst-unique3.h: New file.
41811 * elf/tst-unique3lib.cc: New file.
41812 * elf/tst-unique3lib2.cc: New file.
41814 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41816 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41818 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41819 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41822 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41824 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41825 to-be-loaded object along a path to loader is ld.so.
41827 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41828 Ulrich Drepper <drepper@gmail.com>
41830 * sysdeps/x86_64/memset.S: After aligning destination, code
41831 branches to different locations depending on the value of
41832 misalignment, when multiarch is enabled. Fix this.
41834 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41836 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41837 Set _x86_64_preferred_memory_instruction for AMD processsors.
41838 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41839 Set bit_Prefer_SSE_for_memop for AMD processors.
41841 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41843 * libio/fmemopen.c (fmemopen): Optimize a bit.
41845 2011-03-03 Andreas Schwab <schwab@redhat.com>
41847 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41849 2011-03-03 Roland McGrath <roland@redhat.com>
41851 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41853 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41855 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41856 __bzero_ultra1 instead of __memset_ultra1.
41858 2011-02-23 Andreas Schwab <schwab@redhat.com>
41859 Ulrich Drepper <drepper@gmail.com>
41862 * include/link.h (struct link_map): Add l_orig_initfini.
41863 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41864 returning unsuccessfully.
41865 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41866 close of a file loaded at startup, restore the original l_initfini
41868 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41869 list, store the pointer.
41870 * elf/Makefile ($(objpfx)noload-mem): New rule.
41871 (noload-ENV): Define.
41872 (tests): Add $(objpfx)noload-mem.
41873 * elf/noload.c: Include <memcheck.h>.
41874 (main): Call mtrace. Close all opened handles.
41876 2011-02-17 Andreas Schwab <schwab@redhat.com>
41879 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41880 dependencies are missing.
41882 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41884 Fix __if_freereq crash: Unlike the generic version which uses free,
41886 * sysdeps/mach/hurd/ifreq.h: New file.
41888 2011-01-27 Petr Baudis <pasky@suse.cz>
41889 Ulrich Drepper <drepper@gmail.com>
41892 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41893 to extend_alloca().
41894 * stdio-common/bug23.c: New file.
41895 * stdio-common/Makefile (tests): Add bug23.
41897 2010-09-28 Andreas Schwab <schwab@redhat.com>
41898 Ulrich Drepper <drepper@gmail.com>
41901 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41902 before performing relro protection. At old place add assertion
41903 to make sure nothing changed.
41905 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41906 Glauber de Oliveira Costa <glommer@gmail.com>
41908 * elf/elf.h: Add new ARM TLS relocs.
41910 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41913 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41915 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41917 * sysdeps/wordsize-64/tst-writev.c: New file.
41919 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41921 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41922 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41923 insns in _dl_start to prevent a TOC reference before relocs are
41926 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41929 * Makeconfig: Remove RANLIB definition.
41930 * Makerules: Don't use RANLIB.
41931 * aclocal.m4: Remove ranlib test.
41932 * configure.in: No need to check for ranlib.
41933 * elf/rtld-Rules: Don't use RANLIB.
41935 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41937 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41939 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41940 inclusion protection macro.
41942 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41943 SIGRTMIN and SIGRTMAX and print information in that case only when
41944 SIGRTMIN is defined.
41946 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41948 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41949 arginfo fn returning -1.
41951 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41952 and thousands string is zero terminated.
41954 2011-02-03 Andreas Schwab <schwab@redhat.com>
41956 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41957 sysdeps/unix/sysv/linux/bits/socket.h.
41959 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41961 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41962 (__CPU_COUNT): Remove old macros.
41963 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41964 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41965 (__CPU_ALLOC, __CPU_FREE): Add macros.
41966 (__sched_cpualloc, __sched_cpufree): Add declarations.
41968 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41970 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41971 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41972 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41973 (readdhstai): Return value of addhstaiX call.
41974 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41975 (addgrbyX): Return value returned by cache_addgr.
41976 (readdgrbyname): Return value returned by addgrbyX.
41977 (readdgrbygid): Likewise.
41978 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41979 (addpwbyX): Return value returned by cache_addpw.
41980 (readdpwbyname): Return value returned by addhstbyX.
41981 (readdpwbyuid): Likewise.
41982 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41983 (addservbyX): Return value returned by cache_addserv.
41984 (readdservbyname): Return value returned by addservbyX:
41985 (readdservbyport): Likewise.
41986 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41987 (addhstbyX): Return value returned by cache_addhst.
41988 (readdhstbyname): Return value returned by addhstbyX.
41989 (readdhstbyaddr): Likewise.
41990 (readdhstbynamev6): Likewise.
41991 (readdhstbyaddrv6): Likewise.
41992 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41993 (readdinitgroups): Return value returned by addinitgroupsX.
41994 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41995 (prune_cache): Keep track of timeout value of re-added entries.
41996 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41997 * nscd/nscd.h: Adjust prototypes of readd* functions.
41999 2011-02-04 Roland McGrath <roland@redhat.com>
42001 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42002 (nis_stats): Likewise.
42003 * nis/nis_modify.c (nis_modify): Likewise.
42004 * nis/nis_remove.c (nis_remove): Likewise.
42005 * nis/nis_add.c (nis_add): Likewise.
42007 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42009 * posix/fnmatch_loop.c: Add some consts.
42011 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42013 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42016 * config.make.in (config-cflags-novzeroupper): Define.
42017 * configure.in: Substitute libc_cv_cc_novzeroupper.
42018 * elf/Makefile (AVX-CFLAGS): Define.
42019 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42020 (CFLAGS-tst-auditmod4a.c): Likewise.
42021 (CFLAGS-tst-auditmod4b.c): Likewise.
42022 (CFLAGS-tst-auditmod6b.c): Likewise.
42023 (CFLAGS-tst-auditmod6c.c): Likewise.
42024 (CFLAGS-tst-auditmod7b.c): Likewise.
42025 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42027 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42029 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42030 function to the callback.
42031 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42033 2011-02-02 Andreas Schwab <schwab@redhat.com>
42035 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42038 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42041 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42043 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42045 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42048 * elf/Makefile: Add rules to build and run new test.
42049 * elf/tst-initorder.c: New file.
42050 * elf/tst-initorder.exp: New file.
42051 * elf/tst-initordera1.c: New file.
42052 * elf/tst-initordera2.c: New file.
42053 * elf/tst-initordera3.c: New file.
42054 * elf/tst-initordera4.c: New file.
42055 * elf/tst-initorderb1.c: New file.
42056 * elf/tst-initorderb2.c: New file.
42057 * elf/tst-order-a1.c: New file.
42058 * elf/tst-order-a2.c: New file.
42059 * elf/tst-order-a3.c: New file.
42060 * elf/tst-order-a4.c: New file.
42061 * elf/tst-order-b1.c: New file.
42062 * elf/tst-order-b2.c: New file.
42063 * elf/tst-order-main.c: New file.
42064 New test case by George Gensure <werkt0@gmail.com>.
42066 2010-10-01 Andreas Schwab <schwab@redhat.com>
42068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42069 decoding ACE if AI_CANONIDN.
42071 2011-01-18 Ulrich Drepper <drepper@gmail.com>
42073 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42075 2011-01-17 Ulrich Drepper <drepper@gmail.com>
42077 * version.h (RELEASE): Bump for 2.13 release.
42078 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42080 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42082 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42084 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42085 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42086 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42087 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42088 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42089 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42091 * posix/getconf.c: Update copyright year.
42092 * catgets/gencat.c: Likewise.
42093 * csu/version.c: Likewise.
42094 * debug/catchsegv.sh: Likewise.
42095 * debug/xtrace.sh: Likewise.
42096 * elf/ldconfig.c: Likewise.
42097 * elf/ldd.bash.in: Likewise.
42098 * elf/sprof.c (print_version): Likewise.
42099 * iconv/iconv_prog.c: Likewise.
42100 * iconv/iconvconfig.c: Likewise.
42101 * locale/programs/locale.c: Likewise.
42102 * locale/programs/localedef.c: Likewise.
42103 * malloc/memusage.sh: Likewise.
42104 * malloc/mtrace.pl: Likewise.
42105 * nscd/nscd.c (print_version): Likewise.
42106 * nss/getent.c: Likewise.
42108 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42109 PF_CAIF, and PF_ALG.
42110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42112 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42114 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42115 (modules-names): Use them.
42116 (ifunc-test-modules, ifunc-pie-tests): Define.
42117 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42118 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42119 (test-extras): Likewise.
42120 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42121 $(compile-command.c).
42122 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42123 (all-built-dso): Define.
42124 (check-textrel.out, check-execstack.out): Depend on it.
42126 * configure.in: Don't override --enable-multi-arch.
42128 2011-01-15 Ulrich Drepper <drepper@gmail.com>
42131 * nscd/hstcache.c (tryagain): Define.
42132 (cache_addhst): Return tryagain not notfound for temporary errors.
42133 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42136 2011-01-14 Ulrich Drepper <drepper@gmail.com>
42139 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42140 to make the syscall.
42141 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42144 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42145 and fall back to matching as normal character if the string ends before
42146 the matching ']' is found. This is what POSIX requires.
42147 * posix/testfnm.c: Adjust test result.
42148 * posix/globtest.sh: Adjust test result. Add new test.
42149 * posix/tst-fnmatch.input: Likewise.
42150 * posix/tst-fnmatch2.c: Add new test.
42152 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42154 * elf/Makefile (check-execstack): Revert last change. Depend on
42156 (check-execstack.h): New target.
42157 (generated): Add check-execstack.h.
42158 * elf/check-execstack.c: Include "check-execstack.h".
42159 (main): Revert last change.
42160 (handle_file): Return zero if GNU_STACK is absent and
42161 DEFAULT_STACK_PERMS doesn't include PF_X.
42163 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42165 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42166 in child fails because the descriptor is already closed.
42167 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42168 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42169 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42172 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42176 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42177 temporary buffer used to handle multi lookups locally.
42178 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42180 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42182 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42185 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42187 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42188 alignment for SSE2.
42190 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42193 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42194 characters. When rounding increased number of integer digits recompute
42196 * stdio-common/tst-grouping.c: New file.
42197 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42199 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42201 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42202 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42204 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42206 * bits/select.h: Likewise.
42208 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42210 * po/ja.po: Update from translation team.
42212 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42215 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42216 implementation just like for lxstat, fxstatat, et al.
42218 2010-12-27 Jim Meyering <meyering@redhat.com>
42221 * posix/regexec.c (build_trtable): Return failure indication upon
42222 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42224 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42227 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42228 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42229 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42230 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42233 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42236 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42237 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42239 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42241 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42242 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42243 script has SORT_BY_INIT_PRIORITY.
42244 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42245 NO_CTORS_DTORS_SECTIONS is defined.
42246 * elf/soinit.c: Likewise.
42247 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42248 NO_CTORS_DTORS_SECTIONS is defined.
42249 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42250 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42251 * sysdeps/sh/init-first.c: Likewise.
42252 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42254 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42256 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42257 always use the slow path.
42259 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42261 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42262 similar rule which adds the sysdep directories to the header search in
42263 order to pick up the correct platform stackinfo.h.
42264 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42265 perform test if it is, otherwise return successfully without testing.
42266 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42267 DEFAULT_STACK_PERMS define in stackinfo.h.
42268 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42269 defined in stackinfo.h.
42270 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42271 DEFAULT_STACK_PERMS defined in stackinfo.h.
42272 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42273 * sysdeps/ia64/stackinfo.h: Likewise.
42274 * sysdeps/s390/stackinfo.h: Likewise.
42275 * sysdeps/sh/stackinfo.h: Likewise.
42276 * sysdeps/sparc/stackinfo.h: Likewise.
42277 * sysdeps/x86_64/stackinfo.h: Likewise.
42278 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42279 PF_X for powerpc64. Retain PF_X for powerpc32.
42281 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42283 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42285 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42286 GETDENTS_64BIT_ALIGNED.
42288 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42290 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42292 2010-12-10 Andreas Schwab <schwab@redhat.com>
42294 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42297 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42298 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42300 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42301 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42303 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42306 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42309 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42311 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42313 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42315 * po/it.po: Update from translation team.
42317 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42319 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42322 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42324 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42326 2010-11-24 Andreas Schwab <schwab@redhat.com>
42328 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42330 (gaih_getanswer_slice): Likewise.
42332 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42336 2010-05-31 Petr Baudis <pasky@suse.cz>
42339 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42340 silently even in the chroot mode.
42342 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42344 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42345 last patch a bit. Pretty printing
42347 2010-05-31 Petr Baudis <pasky@suse.cz>
42350 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42351 initialization of skip_initgroups_dyn.
42353 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42355 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42356 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42358 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42360 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42362 2010-11-11 Andreas Schwab <schwab@redhat.com>
42364 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42365 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42366 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42367 ($(objpfx)tst-fnmatch-mem): New rule.
42368 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42369 * posix/tst-fnmatch.c (main): Call mtrace.
42371 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42374 Support Intel processor model 6 and model 0x2c.
42376 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42378 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42381 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42384 * string/test-strncasecmp.c (check_result): New function.
42385 (do_one_test): Use it.
42386 (check1): New function.
42387 (test_main): Use it.
42388 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42389 Support strcasecmp and strncasecmp.
42391 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42394 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42395 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42397 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42399 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42403 * sysdeps/x86_64/multiarch/bzero.S: New file.
42404 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42405 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42406 * sysdeps/x86_64/multiarch/memset.S: New file.
42407 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42409 Set bit_Prefer_SSE_for_memop for Intel processors.
42410 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42412 (index_Prefer_SSE_for_memop): Define.
42413 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42415 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42417 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42418 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42420 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42423 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42424 (__x86_64_raw_data_cache_size_half): Likewise.
42425 (__x86_64_raw_shared_cache_size): Likewise.
42426 (__x86_64_raw_shared_cache_size_half): Likewise.
42428 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42429 (__x86_64_raw_data_cache_size_half): Likewise.
42430 (__x86_64_raw_shared_cache_size): Likewise.
42431 (__x86_64_raw_shared_cache_size_half): Likewise.
42432 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42433 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42434 and __x86_64_raw_shared_cache_size_half. Round
42435 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42436 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42437 to multiple of 256 bytes.
42439 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42442 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42443 of inacessible symlinks. Verify result of symlink before returning it.
42444 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42445 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42447 2010-10-28 Erich Ritz <erichritz@gmail.com>
42449 * math/math.h (isinf): Fix typo in comment.
42451 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42453 * po/da.po: Update from translation team.
42455 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42457 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42458 is added to the list.
42460 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42461 Ulrich Drepper <drepper@gmail.com>
42463 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42464 the global list here. Move code to...
42465 (_dl_add_to_namespace_list): ...here. New function.
42466 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42467 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42468 * elf/dl-load.c (lose): Don't remove the element from the list.
42469 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42470 (_dl_map_object): Likewise.
42472 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42475 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42476 into all bytes of SSE register.
42477 Patch by Richard Li <richardpku@gmail.com>.
42479 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42482 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42485 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42487 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42488 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42489 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42490 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42495 2010-10-22 Andreas Schwab <schwab@redhat.com>
42497 * include/dlfcn.h (__RTLD_SECURE): Define.
42498 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42499 mode & __RTLD_SECURE instead.
42500 (open_path): Rename preloaded parameter to secure.
42501 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42502 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42503 * elf/dl-deps.c (openaux): Likewise.
42504 * elf/rtld.c (struct map_args): Remove is_preloaded.
42505 (map_doit): Don't use it.
42506 (dl_main): Likewise.
42507 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42508 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42510 2010-09-09 Andreas Schwab <schwab@redhat.com>
42512 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42513 (sysd-rules-targets): Remove duplicates.
42514 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42515 rtld-%.$o dependency.
42517 2010-10-18 Andreas Schwab <schwab@redhat.com>
42519 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42520 _dl_map_object do it.
42522 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42524 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42525 fast fma builtins, define the macros in the C99 standard.
42526 (FP_FAST_FMAF): Likewise.
42527 (FP_FAST_FMAL): Likewise.
42528 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42530 * bits/mathdef.h: Update copyright year.
42531 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42533 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42535 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42536 builtins, define the macros in the C99 standard.
42537 (FP_FAST_FMAF): Likewise.
42538 (FP_FAST_FMAL): Likewise.
42539 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42541 (FP_FAST_FMAF): Likewise.
42543 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42546 * math/libm-test.inc (fma_test): Some new testcases.
42547 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42548 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42549 y and infinite z. Do multiplication by C already in long double.
42550 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42552 y and infinite z. Do bitwise or of inexact bit into u.d.
42553 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42554 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42555 * sysdeps/i386/fpu/s_fma.S: Removed.
42556 * sysdeps/i386/fpu/s_fmal.S: Removed.
42558 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42561 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42562 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42563 computation is not scheduled after fetestexcept. Fix value
42564 of minimum denormal long double.
42566 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42569 * math/libm-test.inc (fma_test): Add some more tests.
42570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42573 2010-10-15 Andreas Schwab <schwab@redhat.com>
42575 * scripts/data/localplt-s390-linux-gnu.data: New file.
42576 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42578 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42581 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42582 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42584 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42586 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42588 if one of x and y is very large and the other is subnormal.
42589 * sysdeps/s390/fpu/s_fmaf.c: New file.
42590 * sysdeps/s390/fpu/s_fma.c: New file.
42591 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42592 * sysdeps/powerpc/fpu/s_fma.S: New file.
42593 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42594 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42595 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42597 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42600 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42602 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42603 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42604 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42605 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42606 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42607 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42608 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42610 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42613 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42614 * posix/bug-regex31.input: Add test case.
42616 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42618 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42619 * posix/bug-regex31.input: New file.
42622 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42623 (parse_sub_exp): Fix last change, use postorder.
42625 * posix/bug-regex31.c: New file.
42626 * posix/Makefile: Add rules to build and run bug-regex31.
42628 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42631 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42634 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42635 to have entries in sys_siglist.
42638 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42641 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42644 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42645 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42646 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42647 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42648 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42649 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42650 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42651 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42652 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42653 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42654 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42655 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42656 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42657 * math/ftestexcept.c (fetestexcept): Likewise.
42658 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42659 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42660 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42661 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42662 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42663 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42664 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42666 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42669 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42672 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42674 * string/bug-strstr1.c: New file.
42675 * string/Makefile: Add rules to build and run bug-strstr1.
42677 2010-10-05 Eric Blake <eblake@redhat.com>
42680 * string/str-two-way.h (two_way_long_needle): Always clear memory
42681 when skipping input due to the shift table.
42683 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42686 * malloc/mcheck.c: Handle large requests.
42689 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42690 for strncmp and strncasecmp.
42691 * string/stratcliff.c: Add tests for strcmp and strncmp.
42692 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42694 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42696 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42699 2010-09-30 Andreas Jaeger <aj@suse.de>
42701 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42702 (CGROUP_SUPER_MAGIC): Define.
42703 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42704 Handle btrfs and cgroup file systems.
42705 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42708 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42710 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42711 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42713 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42716 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42717 trying to locate the ELF header.
42719 2010-09-27 Andreas Schwab <schwab@redhat.com>
42722 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42723 Mask out sign-bit copies when constructing f_fsid.
42725 2010-09-24 Petr Baudis <pasky@suse.cz>
42727 * debug/stack_chk_fail_local.c: Add missing licence exception.
42728 * debug/warning-nop.c: Likewise.
42730 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42732 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42733 implementing getdents64 using getdents syscall, set d_type if
42734 __ASSUME_GETDENTS32_D_TYPE.
42736 2010-09-16 Andreas Schwab <schwab@redhat.com>
42738 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42739 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42741 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42744 * posix/unistd.h: Undo change of feature selection for ftruncate from
42747 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42749 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42752 2010-09-20 Andreas Schwab <schwab@redhat.com>
42754 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42756 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42758 2010-09-14 Andreas Schwab <schwab@redhat.com>
42760 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42761 variables after CHECK_SP call.
42762 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42764 2010-09-13 Andreas Schwab <schwab@redhat.com>
42765 Ulrich Drepper <drepper@redhat.com>
42767 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42768 re-relocationg ld.so.
42769 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42770 _dl_init_paths call.
42771 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42774 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42776 * resolv/res_init.c (__res_vinit): Count the default server we added.
42778 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42779 Ulrich Drepper <drepper@redhat.com>
42782 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42783 (____longjmp_chk): Use %ebx for saving value across system call.
42786 2010-09-06 Andreas Schwab <schwab@redhat.com>
42788 * manual/Makefile: Don't mix pattern rules with normal rules.
42790 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42792 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42794 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42795 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42796 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42797 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42798 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42801 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42804 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42805 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42807 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42809 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42810 * sysdeps/x86_64/addmul_1.S: Likewise.
42811 * sysdeps/x86_64/lshift.S: Likewise.
42812 * sysdeps/x86_64/mul_1.S: Likewise.
42813 * sysdeps/x86_64/rshift.S: Likewise.
42814 * sysdeps/x86_64/sub_n.S: Likewise.
42815 * sysdeps/x86_64/submul_1.S: Likewise.
42817 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42819 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42820 Define __sched_param instead of SCHED_* and sched_param when
42821 <bits/sched.h> is included with __need_schedparam defined.
42822 * bits/sched.h [__need_schedparam]
42823 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42824 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42825 (__defined_schedparam): Define to 1.
42826 (__sched_param): New structure, identical to sched_param.
42827 (__need_schedparam): Undefine.
42829 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42831 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42832 (epoll_create1): Declare.
42834 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42836 2010-08-31 Andreas Schwab <schwab@redhat.com>
42839 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42840 shifting retval into place.
42842 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42844 * nis/rpcsvc/nis.h: Update copyright notice.
42845 * nis/rpcsvc/nis.x: Likewise.
42846 * nis/rpcsvc/nis_callback.h: Likewise.
42847 * nis/rpcsvc/nis_callback.x: Likewise.
42848 * nis/rpcsvc/nis_object.x: Likewise.
42849 * nis/rpcsvc/nis_tags.h: Likewise.
42850 * nis/rpcsvc/yp.h: Likewise.
42851 * nis/rpcsvc/yp.x: Likewise.
42852 * nis/rpcsvc/ypupd.h: Likewise.
42853 * nis/yp_xdr.c: Likewise.
42854 * nis/ypupdate_xdr.c: Likewise.
42856 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42857 mainly the body of pmap_getport. Add parameters to specify timeouts.
42858 (pmap_getport): Use __libc_rpc_getport.
42859 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42860 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42861 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42863 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42868 2010-08-27 Roland McGrath <roland@redhat.com>
42870 * sysdeps/i386/i686/multiarch/Makefile
42871 (CFLAGS-varshift.c): New variable.
42873 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42875 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42876 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42878 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42880 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42882 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42884 * sysdeps/x86_64/strlen.S: Unroll the loop.
42885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42886 strlen-sse2 strlen-sse2-bsf.
42887 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42888 __strlen_no_bsf if bit_Slow_BSF is set.
42889 (__strlen_sse42): Removed.
42890 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42891 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42893 2010-08-25 Roland McGrath <roland@redhat.com>
42895 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42896 * sysdeps/x86_64/multiarch/varshift.c: New file.
42897 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42898 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42899 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42900 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42902 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42904 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42905 strlen-sse2 strlen-sse2-bsf.
42906 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42907 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42908 (__strlen_sse2): Removed.
42909 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42910 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42912 bit_Slow_BSF for Atom.
42913 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42914 (index_Slow_BSF): Define.
42915 (HAS_SLOW_BSF): Define.
42917 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42920 * resolv/res_init.c (__res_vinit): When no server address at all
42921 is given default to loopback.
42923 2010-08-24 Roland McGrath <roland@redhat.com>
42925 * configure.in: Remove config-name.h generation.
42926 * configure: Regenerated.
42927 * config-name.in: File removed.
42928 * scripts/config-uname.sh: New file.
42929 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42930 ($(objdir)config-name.h): New target.
42932 * sunrpc/rpc_parse.h: Avoid nested comment.
42934 2010-08-24 Richard Henderson <rth@redhat.com>
42935 Ulrich Drepper <drepper@redhat.com>
42936 H.J. Lu <hongjiu.lu@intel.com>
42938 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42940 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42941 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42942 _mm_alignr_epi8 with _mm_loadu_si128.
42943 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42944 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42945 (__m128i_shift_right): Removed.
42946 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42947 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42948 * sysdeps/x86_64/multiarch/varshift.h: New file.
42949 * sysdeps/x86_64/multiarch/varshift.S: New file.
42951 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42953 * configure.in: Move assembler checks to before sysdep dir checking.
42955 2010-08-20 Petr Baudis <pasky@suse.cz>
42957 * LICENSES: Sync the sunrpc license.
42959 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42961 * sunrpc/auth_des.c: Update copyright notice once again.
42962 * sunrpc/auth_none.c: Likewise.
42963 * sunrpc/auth_unix.c: Likewise.
42964 * sunrpc/authdes_prot.c: Likewise.
42965 * sunrpc/authuxprot.c: Likewise.
42966 * sunrpc/bindrsvprt.c: Likewise.
42967 * sunrpc/clnt_gen.c: Likewise.
42968 * sunrpc/clnt_perr.c: Likewise.
42969 * sunrpc/clnt_raw.c: Likewise.
42970 * sunrpc/clnt_simp.c: Likewise.
42971 * sunrpc/clnt_tcp.c: Likewise.
42972 * sunrpc/clnt_udp.c: Likewise.
42973 * sunrpc/clnt_unix.c: Likewise.
42974 * sunrpc/des_crypt.c: Likewise.
42975 * sunrpc/des_soft.c: Likewise.
42976 * sunrpc/get_myaddr.c: Likewise.
42977 * sunrpc/getrpcport.c: Likewise.
42978 * sunrpc/key_call.c: Likewise.
42979 * sunrpc/key_prot.c: Likewise.
42980 * sunrpc/openchild.c: Likewise.
42981 * sunrpc/pm_getmaps.c: Likewise.
42982 * sunrpc/pm_getport.c: Likewise.
42983 * sunrpc/pmap_clnt.c: Likewise.
42984 * sunrpc/pmap_prot.c: Likewise.
42985 * sunrpc/pmap_prot2.c: Likewise.
42986 * sunrpc/pmap_rmt.c: Likewise.
42987 * sunrpc/rpc/auth.h: Likewise.
42988 * sunrpc/rpc/auth_unix.h: Likewise.
42989 * sunrpc/rpc/clnt.h: Likewise.
42990 * sunrpc/rpc/des_crypt.h: Likewise.
42991 * sunrpc/rpc/key_prot.h: Likewise.
42992 * sunrpc/rpc/netdb.h: Likewise.
42993 * sunrpc/rpc/pmap_clnt.h: Likewise.
42994 * sunrpc/rpc/pmap_prot.h: Likewise.
42995 * sunrpc/rpc/pmap_rmt.h: Likewise.
42996 * sunrpc/rpc/rpc.h: Likewise.
42997 * sunrpc/rpc/rpc_des.h: Likewise.
42998 * sunrpc/rpc/rpc_msg.h: Likewise.
42999 * sunrpc/rpc/svc.h: Likewise.
43000 * sunrpc/rpc/svc_auth.h: Likewise.
43001 * sunrpc/rpc/types.h: Likewise.
43002 * sunrpc/rpc/xdr.h: Likewise.
43003 * sunrpc/rpc_clntout.c: Likewise.
43004 * sunrpc/rpc_cmsg.c: Likewise.
43005 * sunrpc/rpc_common.c: Likewise.
43006 * sunrpc/rpc_cout.c: Likewise.
43007 * sunrpc/rpc_dtable.c: Likewise.
43008 * sunrpc/rpc_hout.c: Likewise.
43009 * sunrpc/rpc_main.c: Likewise.
43010 * sunrpc/rpc_parse.c: Likewise.
43011 * sunrpc/rpc_parse.h: Likewise.
43012 * sunrpc/rpc_prot.c: Likewise.
43013 * sunrpc/rpc_sample.c: Likewise.
43014 * sunrpc/rpc_scan.c: Likewise.
43015 * sunrpc/rpc_scan.h: Likewise.
43016 * sunrpc/rpc_svcout.c: Likewise.
43017 * sunrpc/rpc_tblout.c: Likewise.
43018 * sunrpc/rpc_util.c: Likewise.
43019 * sunrpc/rpc_util.h: Likewise.
43020 * sunrpc/rpcinfo.c: Likewise.
43021 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43022 * sunrpc/rpcsvc/key_prot.x: Likewise.
43023 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43024 * sunrpc/rpcsvc/mount.x: Likewise.
43025 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43026 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43027 * sunrpc/rpcsvc/rex.x: Likewise.
43028 * sunrpc/rpcsvc/rstat.x: Likewise.
43029 * sunrpc/rpcsvc/rusers.x: Likewise.
43030 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43031 * sunrpc/rpcsvc/spray.x: Likewise.
43032 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43033 * sunrpc/rtime.c: Likewise.
43034 * sunrpc/svc.c: Likewise.
43035 * sunrpc/svc_auth.c: Likewise.
43036 * sunrpc/svc_authux.c: Likewise.
43037 * sunrpc/svc_raw.c: Likewise.
43038 * sunrpc/svc_run.c: Likewise.
43039 * sunrpc/svc_simple.c: Likewise.
43040 * sunrpc/svc_tcp.c: Likewise.
43041 * sunrpc/svc_udp.c: Likewise.
43042 * sunrpc/svc_unix.c: Likewise.
43043 * sunrpc/svcauth_des.c: Likewise.
43044 * sunrpc/xcrypt.c: Likewise.
43045 * sunrpc/xdr.c: Likewise.
43046 * sunrpc/xdr_array.c: Likewise.
43047 * sunrpc/xdr_float.c: Likewise.
43048 * sunrpc/xdr_mem.c: Likewise.
43049 * sunrpc/xdr_rec.c: Likewise.
43050 * sunrpc/xdr_ref.c: Likewise.
43051 * sunrpc/xdr_sizeof.c: Likewise.
43052 * sunrpc/xdr_stdio.c: Likewise.
43054 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43057 2010-08-19 Andreas Schwab <schwab@redhat.com>
43059 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43061 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
43063 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43064 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43065 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43066 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43067 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43068 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43069 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43070 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43071 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43072 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43073 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43074 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43075 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43076 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43078 2010-07-26 Anton Blanchard <anton@samba.org>
43080 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43081 * malloc/arena.c (heap_trim): Likewise.
43083 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43085 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43087 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43088 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43090 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43092 * sysdeps/i386/elf/Makefile: New file.
43094 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43096 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43097 from fanotify_init.
43098 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43099 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43101 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43103 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43105 * sysdeps/multiarch/strcmp.S: Likewise.
43107 2010-08-14 Ulrich Drepper <drepper@redhat.com>
43109 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43110 strncase_l-nonascii.
43111 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43112 Add strncase_l-ssse3.
43113 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43114 * sysdeps/x86_64/strcmp.S: Likewise.
43115 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43116 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43117 * sysdeps/x86_64/strncase.S: New file.
43118 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43119 * sysdeps/x86_64/strncase_l.S: New file.
43120 * string/Makefile (strop-tests): Add strncasecmp.
43121 * string/test-strncasecmp.c: New file.
43123 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43126 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43127 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43129 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43131 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43133 2010-08-12 Ulrich Drepper <drepper@redhat.com>
43135 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43136 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43137 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43139 2010-05-01 Alan Modra <amodra@gmail.com>
43141 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43142 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43143 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43144 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43145 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43146 tidying. Don't tail-call __sigjmp_save for static lib.
43147 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43149 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43150 (CALL_MCOUNT): Add eh info, and nop after bl.
43151 (TAIL_CALL_SYSCALL_ERROR): New macro.
43152 (PSEUDO_RET): Use it.
43153 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43154 Correct save location of integer regs and cr.
43155 (_dl_profile_resolve): Correct cr save location. Delete nops
43156 after bl when SHARED. Reduce cfi size a little by better
43157 placement of cfi directives.
43158 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43159 make a stack frame. Instead use parm save area as a temp.
43160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43161 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43163 Don't make a stack frame for parent, use parm save area.
43164 Increase child stack frame to 112 bytes. Don't save unused reg,
43165 and adjust reg usage. Set up cfi on error recovery and
43166 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43168 (__makecontext): Add dummy nop after jump to exit.
43169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43170 Use correct parm save area and cr save, reduce stack frame.
43171 Correct cfi for possible PSEUDO_RET frame setup.
43172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43173 Branch to local label emitted by PSEUDO_RET rather than
43176 2010-08-12 Andreas Schwab <schwab@redhat.com>
43179 * locale/programs/locale.c (print_assignment): New function.
43180 (show_locale_vars): Use it.
43182 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43184 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43186 (struct statfs64): Likewise.
43187 (_STATFS_F_FLAGS): Define.
43188 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43189 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43190 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43191 (ST_VALID): Define locally.
43192 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43193 __statvfs_getflags, use the provided value.
43194 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43195 __ASSUME_STATFS_F_FLAGS.
43197 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43199 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43200 Add sys/fanotify.h.
43201 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43202 fanotify_mask for GLIBC_2.13.
43203 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43204 fanotify_init and fanotify_mark.
43205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43206 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43208 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43210 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43211 prlimit64 for GLIBC_2.13.
43212 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43217 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43218 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43219 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43220 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43222 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43225 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43226 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43228 * nss/Makefile: Add rules to build and run tst-nss-test1.
43229 * shlib-versions: Add entry for libnss_test1.
43230 * nss/nss_test1.c: New file.
43231 * nss/tst-nss-test1.c: New file.
43233 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43234 (__nss_configure_lookup): Set appropriate entry in
43235 __nss_configure_lookup to true.
43236 * nss/nsswitch.h: Define enum with indeces of databases in
43237 databases and __nss_database_custom arrays. Declare
43238 __nss_database_custom.
43239 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43240 to avoid using nscd when custom rules are installed.
43241 * nss/getXXbyYY_r.c: Likewise.
43242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43244 * nss/nss_files/files-parse.c: Whitespace fixes.
43246 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43249 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43250 * posix/fnmatch_loop.c: Likewise.
43252 2010-07-17 Andi Kleen <ak@linux.intel.com>
43254 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43255 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43256 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43257 * Versions.def [GLIBC_2.13]: Add.
43259 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43261 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43262 Also fail if tpwd after pwuid call is NULL.
43264 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43266 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43267 when converting to ms.
43269 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43271 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43272 EOPNOTSUPP errors with ENOTTY.
43273 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43274 EOPNOTSUPP errors with ENOTTY.
43276 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43278 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43279 Add strcasecmp_l-ssse3.
43280 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43282 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43283 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43284 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43286 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43288 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43290 * string/Makefile (strop-tests): Add strcasecmp.
43291 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43292 strcasecmp_l-nonascii.
43293 (gen-as-const-headers): Add locale-defines.sym.
43294 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43295 * sysdeps/x86_64/strcasecmp.S: New file.
43296 * sysdeps/x86_64/strcasecmp_l.S: New file.
43297 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43298 * sysdeps/x86_64/locale-defines.sym: New file.
43299 * string/test-strcasecmp.c: New file.
43301 * string/test-strcasestr.c: Test both ends of the range of characters.
43302 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43304 2010-07-29 Roland McGrath <roland@redhat.com>
43307 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43309 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43311 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43314 2010-07-27 Andreas Schwab <schwab@redhat.com>
43316 * manual/memory.texi (Malloc Tunable Parameters): Document
43319 2010-07-26 Roland McGrath <roland@redhat.com>
43322 * configure.in (-fgnu89-inline check): Set and substitute
43323 gnu89_inline, not libc_cv_gnu89_inline.
43324 * configure: Regenerated.
43325 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43327 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43329 * string/test-strnlen.c: New file.
43330 * string/Makefile (strop-tests): Add strnlen.
43331 * string/tester.c (test_strnlen): Add a few more test cases.
43332 * string/tst-strlen.c: Better error reporting.
43334 * sysdeps/x86_64/strnlen.S: New file.
43336 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43338 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43339 lower-latency instructions.
43341 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43343 * string/test-strcasestr.c: New file.
43344 * string/test-strstr.c: New file.
43345 * string/Makefile (strop-tests): Add strstr and strcasestr.
43346 * string/str-two-way.h: Don't undefine MAX.
43347 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43349 2010-07-21 Andreas Schwab <schwab@redhat.com>
43351 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43352 strcasestr-nonascii.
43353 (CFLAGS-strcasestr-nonascii.c): Define.
43354 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43355 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43356 Remove unused attribute.
43358 2010-07-20 Roland McGrath <roland@redhat.com>
43360 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43361 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43362 ld.so.cache was broken. With it, there is no way to disable dsocaps
43363 like LD_HWCAP_MASK can disable hwcaps.
43365 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43367 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43369 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43371 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43372 call in strcasestr.
43373 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43374 __strcasestr_sse42_nonascii.
43375 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43376 strcasestr-nonascii.c.
43377 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43379 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43381 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43382 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43383 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43384 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43386 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43388 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43391 2010-07-06 Andreas Schwab <schwab@redhat.com>
43394 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43397 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43399 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43400 _PC_PIPE_BUF using F_GETPIPE_SZ.
43402 2010-07-05 Roland McGrath <roland@redhat.com>
43404 * manual/arith.texi (Rounding Functions): Fix rint description
43405 implicit in round description.
43407 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43409 * elf/Makefile: Fix linking for a few tests to make recent linker
43412 2010-06-30 Andreas Schwab <schwab@redhat.com>
43414 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43415 $(common-objpfx)libc_nonshared.a.
43417 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43419 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43420 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43421 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43422 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43423 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43424 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43425 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43426 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43441 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43442 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43443 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43444 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43445 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43446 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43447 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43448 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43449 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43450 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43451 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43452 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43468 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43470 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43471 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43472 * string/memmove.c (memmove): Renamed to ...
43473 (MEMMOVE): ...this. Default to memmove.
43474 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43475 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43478 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43479 mempcpy-ssse3-back memmove-ssse3-back.
43480 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43481 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43482 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43483 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43484 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43485 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43486 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43487 * sysdeps/x86_64/multiarch/memmove.c: New file.
43488 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43489 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43490 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43491 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43492 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43493 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43495 (index_Fast_Copy_Backward): Define.
43496 (HAS_ARCH_FEATURE): Define.
43497 (HAS_FAST_REP_STRING): Define.
43498 (HAS_FAST_COPY_BACKWARD): Define.
43500 2010-06-21 Andreas Schwab <schwab@redhat.com>
43502 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43503 Restore proper fallback handling.
43505 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43508 * posix/group_member.c (__group_member): Correct checking loop.
43510 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43511 OOM in getpwuid_r correctly. Return error number when the caller
43512 should return, otherwise -1.
43513 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43514 call returning > 0 value.
43515 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43517 2010-06-07 Andreas Schwab <schwab@redhat.com>
43519 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43520 libc_nonshared.a from targets in modules-names.
43522 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43524 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43527 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43529 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43530 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43531 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43532 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43534 2010-06-02 Andreas Schwab <schwab@redhat.com>
43536 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43538 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43540 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43543 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43545 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43546 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43547 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43549 2010-06-14 Roland McGrath <roland@redhat.com>
43551 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43553 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43555 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43556 __REDIRECT followed by __THROW.
43557 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43558 * posix/getopt.h (getopt): Likewise.
43560 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43562 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43563 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43564 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43566 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43567 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43569 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43571 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43573 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43577 Properly check family and model.
43579 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43581 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43583 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43585 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43587 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43589 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43592 2010-05-19 Andreas Schwab <schwab@redhat.com>
43594 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43597 2010-05-21 Andreas Schwab <schwab@redhat.com>
43599 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43600 and internal_recvmmsg.
43601 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43602 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43603 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43604 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43606 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43607 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43608 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43610 2010-05-20 Andreas Schwab <schwab@redhat.com>
43612 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43614 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43616 POWER7 optimizations.
43617 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43618 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43620 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43622 * version.h: Update for 2.13 development version.
43624 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43626 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43627 exceptions. Return 0.
43629 2010-05-07 Roland McGrath <roland@redhat.com>
43631 * elf/ldconfig.c (main): Add a const.
43633 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43635 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43636 (args_options): Add no-idn option.
43637 (ahosts_keys_int): Add idn_flags to ai_flags.
43638 (parse_option): Handle 'i' option to clear idn_flags.
43640 * malloc/malloc.c (_int_free): Possible race in the most recently
43641 added check. Only act on the data if no current modification
43644 See ChangeLog.17 for earlier changes.